Move i486/pthread_spin_trylock.S to pthread_spin_trylock.S
[glibc.git] / ChangeLog
blobb9e5dbc3bfcd69f49df3202f23dc24a765047bfb
1 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
4         * sysdeps/i386/pthread_spin_trylock.S: Here.
5         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
6         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
8 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10         * sysdeps/i386/i486/string-inlines.c: Moved to ...
11         * sysdeps/i386/string-inlines.c: Here.
13 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15         * sysdeps/i386/i486/htonl.S: Moved ...
16         * sysdeps/i386/htonl.S: here.
18 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
21         * sysdeps/i386/bits/atomic.h: Here.
23 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25         * sysdeps/i386/i486/Versions: Removed.
27 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
29         [BZ #2898]
30         * misc/mktemp.c: Add mkdtemp to the link_warning message.
31         Based on patch by Aurelien Jarno.
33 2015-08-26  Stan Shebs  <stanshebs@google.com>
35         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
36         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
38 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
40         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
41         * sysdeps/powerpc/dl-procinfo.c:
42         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
43         feature so it shows when LD_SHOW_AUXV=1.
45 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
47         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
48         (__arch_compare_and_exchange_val_32_acq): Remove and use common
49         definition.  ISA 2.07B no longer requires full sync.
51 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
53         [BZ #18863]
54         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
55         (si_call_addr): Define.
56         (si_syscall): Define.
57         (si_arch): Define.
59 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
61         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
62         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
63         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
64         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
65         (__memset_zero_constant_len_parameter): New.
66         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
67         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
68         (__memset_zero_constant_len_parameter): Don't define if
69         __memset_chk or USE_AS_BZERO are defined.
71         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
72         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
73         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
75         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
76         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
77         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
78         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
79         comments.
80         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
81         -mno-mmx for $(all-rtld-routines).
82         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
83         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
84         i386.
86 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
88         * sysdeps/generic/unwind.h
89         (_Unwind_Word): Use __mode__(__unwind_word__)
90         instead of __mode__(__word__).
91         (_Unwind_Sword): Likewise.
93         * sysdeps/s390/s390-64/utf8-utf16-z9.c
94         (MAX_NEEDED_INPUT): New define.
95         (MAX_NEEDED_OUTPUT): New define.
97         * NEWS: New item for IBM z13 string optimizations.
99         * sysdeps/s390/multiarch/memrchr-c.c: New File.
100         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
101         * sysdeps/s390/multiarch/memrchr.c: Likewise.
102         * sysdeps/s390/multiarch/Makefile
103         (sysdep_routines): Add memrchr functions.
104         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
105         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
107         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
108         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
109         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
110         * sysdeps/s390/multiarch/Makefile
111         (sysdep_routines): Add wmemcmp functions.
112         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
113         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
114         * benchtests/bench-wmemcmp.c: New File.
115         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
117         * sysdeps/s390/multiarch/wmemset-c.c: New File.
118         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
119         * sysdeps/s390/multiarch/wmemset.c: Likewise.
120         * sysdeps/s390/multiarch/Makefile
121         (sysdep_routines): Add wmemset functions.
122         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
123         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
124         * wcsmbs/wmemset.c: Use WMEMSET if defined.
125         * string/test-memset.c: Add wmemset support.
126         * wcsmbs/test-wmemset.c: New File.
127         * wcsmbs/Makefile (strop-tests): Add wmemset.
128         * benchtests/bench-memset.c: Add wmemset support.
129         * benchtests/bench-wmemset.c: New File.
130         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
132         * sysdeps/s390/multiarch/memccpy-c.c: New File.
133         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
134         * sysdeps/s390/multiarch/memccpy.c: Likewise.
135         * sysdeps/s390/multiarch/Makefile
136         (sysdep_routines): Add memccpy functions.
137         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
138         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
139         * string/memccpy.c: Use MEMCCPY if defined.
141         * sysdeps/s390/multiarch/memchr-vx.S: New File.
142         * sysdeps/s390/multiarch/memchr.c: Likewise.
143         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
144         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
145         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
146         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
147         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
148         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
149         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
150         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
151         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
152         and rawmemchr functions.
153         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
154         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
155         and wmemchr.
156         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
157         * string/test-memchr.c: Add wmemchr support.
158         * wcsmbs/test-wmemchr.c: New File.
159         * wcsmbs/Makefile (strop-tests): Add wmemchr.
160         * benchtests/bench-memchr.c: Add wmemchr support.
161         * benchtests/bench-wmemchr.c: New File.
162         * benchtests/Makefile (wcsmbs-bench): wmemchr.
164         * sysdeps/s390/multiarch/strcspn-c.c: New File.
165         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
166         * sysdeps/s390/multiarch/strcspn.c: Likewise.
167         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
168         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
169         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
170         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
171         wcscspn functions.
172         * sysdeps/s390/multiarch/ifunc-impl-list.c
173         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
174         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
175         * string/test-strcspn.c: Add wcscspn support.
176         * wcsmbs/test-wcscspn.c: New File.
177         * wcsmbs/Makefile (strop-tests): Add wcscspn.
178         * benchtests/bench-strcspn.c: Add wcscspn support.
179         * benchtests/bench-wcscspn.c: New File.
180         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
182         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
183         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
184         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
185         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
186         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
187         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
188         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
189         wcspbrk functions.
190         * sysdeps/s390/multiarch/ifunc-impl-list.c
191         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
192         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
193         * string/test-strpbrk.c: Add wcspbrk support.
194         * wcsmbs/test-wcspbrk.c: New File.
195         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
196         * benchtests/bench-strpbrk.c: Add wcspbrk support.
197         * benchtests/bench-wcspbrk.c: New File.
198         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
200         * sysdeps/s390/multiarch/strspn-c.c: New File.
201         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
202         * sysdeps/s390/multiarch/strspn.c: Likewise.
203         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
204         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
205         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
206         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
207         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
208         wcsspn functions.
209         * sysdeps/s390/multiarch/ifunc-impl-list.c
210         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
211         * string/test-strspn.c: Add wcsspn support.
212         * wcsmbs/test-wcsspn.c: New File.
213         * wcsmbs/Makefile (strop-tests): Add wcsspn.
214         * benchtests/bench-strspn.c: Add wcsspn support.
215         * benchtests/bench-wcsspn.c: New File.
216         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
218         * sysdeps/s390/multiarch/strrchr-c.c: New File.
219         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
220         * sysdeps/s390/multiarch/strrchr.c: Likewise.
221         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
222         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
223         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
224         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
225         wcsrchr functions.
226         * sysdeps/s390/multiarch/ifunc-impl-list.c
227         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
228         * benchtests/bench-wcsrchr.c: New File.
229         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
231         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
232         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
233         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
234         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
235         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
236         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
237         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
238         wcschrnul functions.
239         * sysdeps/s390/multiarch/ifunc-impl-list.c
240         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
241         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
242         * string/test-strchr.c: Add wcschrnul support.
243         * wcsmbs/test-wcschrnul.c: New File.
244         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
245         * benchtests/bench-strchr.c: Add wcschrnul support.
246         * benchtests/bench-wcschrnul.c: New File.
247         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
249         * sysdeps/s390/multiarch/strchr-c.c: New File.
250         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
251         * sysdeps/s390/multiarch/strchr.c: Likewise.
252         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
253         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
254         * sysdeps/s390/multiarch/wcschr.c: Likewise.
255         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
256         wcschr functions.
257         * sysdeps/s390/multiarch/ifunc-impl-list.c
258         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
259         * string/strchr.c (STRCHR): Define and use macro.
260         * benchtests/bench-wcschr.c: New File.
261         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
263         * sysdeps/s390/multiarch/strncmp-c.c: New File.
264         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
265         * sysdeps/s390/multiarch/strncmp.c: Likewise.
266         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
267         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
268         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
269         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
270         wcsncmp functions.
271         * sysdeps/s390/multiarch/ifunc-impl-list.c
272         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
273         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
274         * benchtests/bench-strncmp.c: Add wcsncmp support.
275         * benchtests/bench-wcsncmp.c: New File.
276         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
278         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
279         * sysdeps/s390/multiarch/strcmp.c: Likewise.
280         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
281         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
282         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
283         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
284         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
285         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
286         wcscmp functions.
287         * sysdeps/s390/multiarch/ifunc-impl-list.c
288         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
289         * string/strcmp.c (STRCMP): Define and use macro.
290         * benchtests/bench-wcscmp.c: New File.
291         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
292         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
293         instead of _HAVE_STRING_ARCH_memchr.
295         * sysdeps/s390/multiarch/strncat-c.c: New File.
296         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
297         * sysdeps/s390/multiarch/strncat.c: Likewise.
298         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
299         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
300         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
301         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
302         wcsncat functions.
303         * sysdeps/s390/multiarch/ifunc-impl-list.c
304         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
305         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
306         * string/test-strncat.c: Add wcsncat support.
307         * wcsmbs/test-wcsncat.c: New File.
308         * wcsmbs/Makefile (strop-tests): Add wcsncat.
309         * benchtests/bench-strncat.c: Add wcsncat support.
310         * benchtests/bench-wcsncat.c: New File.
311         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
313         * sysdeps/s390/multiarch/strcat-c.c: New File.
314         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
315         * sysdeps/s390/multiarch/strcat.c: Likewise.
316         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
317         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
318         * sysdeps/s390/multiarch/wcscat.c: Likewise.
319         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
320         wcscat functions.
321         * sysdeps/s390/multiarch/ifunc-impl-list.c
322         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
323         * string/strcat.c (STRCAT): Define and use macro.
324         * wcsmbs/wcscat.c: Use WCSCAT if defined.
325         * string/test-strcat.c: Add wcscat support.
326         * wcsmbs/test-wcscat.c: New File.
327         * wcsmbs/Makefile (strop-tests): Add wcscat.
328         * benchtests/bench-strcat.c: Add wcscat support.
329         * benchtests/bench-wcscat.c: New File.
330         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
332         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
333         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
334         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
335         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
336         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
337         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
338         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
339         wcpncpy functions.
340         * sysdeps/s390/multiarch/ifunc-impl-list.c
341         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
342         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
343         * string/test-stpncpy.c: Add wcpncpy support.
344         * wcsmbs/test-wcpncpy.c: New File.
345         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
346         * benchtests/bench-stpncpy.c: Add wcpncpy support.
347         * benchtests/bench-wcpncpy.c: New File.
348         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
350         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
351         * sysdeps/s390/multiarch/strncpy.c: Likewise.
352         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
353         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
354         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
355         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
356         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
357         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
358         wcsncpy functions.
359         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
360         * sysdeps/s390/multiarch/ifunc-impl-list.c
361         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
362         * string/test-strncpy.c: Add wcsncpy support.
363         * wcsmbs/test-wcsncpy.c: New File.
364         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
365         * benchtests/bench-strncpy.c: Add wcsncpy support.
366         * benchtests/bench-wcsncpy.c: New File.
367         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
369         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
370         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
371         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
372         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
373         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
374         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
375         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
376         wcpcpy functions.
377         * string/stpcpy.c: Use STPCPY if defined.
378         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
379         * sysdeps/s390/multiarch/ifunc-impl-list.c
380         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
381         * string/test-stpcpy.c: Add wcpcpy support.
382         * wcsmbs/test-wcpcpy.c: New File.
383         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
384         * benchtests/bench-stpcpy.c: Add wcpcpy support.
385         * benchtests/bench-wcpcpy.c: New File.
386         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
388         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
389         * sysdeps/s390/multiarch/strcpy.c: Likewise.
390         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
391         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
392         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
393         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
394         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
395         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
396         wcscpy functions.
397         * sysdeps/s390/multiarch/ifunc-impl-list.c
398         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
399         * benchtests/bench-wcscpy.c: New File.
400         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
402         * sysdeps/s390/multiarch/strnlen-c.c: New File.
403         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
404         * sysdeps/s390/multiarch/strnlen.c: Likewise.
405         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
406         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
407         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
408         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
409         wcsnlen functions.
410         * sysdeps/s390/multiarch/ifunc-impl-list.c
411         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
412         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
413         * string/test-strnlen.c: Add wcsnlen support.
414         * wcsmbs/test-wcsnlen.c: New File.
415         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
416         * benchtests/bench-strnlen.c: Add wcsnlen support.
417         * benchtests/bench-wcsnlen.c: New File.
418         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
420         * sysdeps/s390/multiarch/Makefile: New File.
421         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
422         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
423         * sysdeps/s390/multiarch/strlen.c: Likewise.
424         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
425         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
426         * sysdeps/s390/multiarch/wcslen.c: Likewise.
427         * string/strlen.c (STRLEN): Define and use macro.
428         * sysdeps/s390/multiarch/ifunc-impl-list.c
429         (IFUNC_VX_IMPL): New macro function.
430         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
431         * benchtests/Makefile (wcsmbs-bench): New variable.
432         (string-bench-all): Added wcsmbs-bench.
433         * benchtests/bench-wcslen.c: New File.
435         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
436         s390_vx_libc_ifunc2): New macro function.
438         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
439         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
440         assembler support.
441         * sysdeps/s390/configure: Regenerated.
443         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
444         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
446         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
447         * sysdeps/s390/dl-procinfo.h: Add vector capability.
448         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
450         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
451         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
452         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
453         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
454         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
455         (memcmp, bcmp): Use __memcmp_default as alias source.
456         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
457         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
458         Rename to __memcmp_default.
459         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
460         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
461         (memcpy): Use __memcpy_default as alias source.
462         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
463         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
464         Rename to __memcpy_default.
465         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
466         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
467         (memset): Use __memset_default as alias source.
468         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
469         * sysdeps/s390/s390-32/memset.S (__memset_g5):
470         Rename to __memset_default.
471         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
472         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
473         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
474         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
475         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
476         (memcmp, bcmp): Use __memcmp_default as alias source.
477         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
478         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
479         Rename to __memcmp_default.
480         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
481         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
482         (memcpy): Use __memcpy_default as alias source.
483         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
484         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
485         Rename to __memcpy_default.
486         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
487         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
488         (memset): Use __memset_default as alias source.
489         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
490         * sysdeps/s390/s390-64/memset.S (__memset_z900):
491         Rename to __memset_default.
492         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
493         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
495         [BZ #18610]
496         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
497         __ieee_instruction_pointer to __unused.
498         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
499         __ieee_instruction_pointer.
500         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
501         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
502         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
503         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
504         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
505         Mark dxc-field as reserved.
507 2015-08-25  Roland McGrath  <roland@hack.frob.com>
509         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
510         if the weak reference is not null.
512 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
514         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
516         [BZ #11214]
517         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
519 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
521         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
522         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
523         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
524         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
525         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
526         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
527         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
528         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
529         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
530         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
531         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
532         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
533         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
534         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
535         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
536         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
537         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
538         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
540 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
542         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
543         register other than r0 for tabort, it has special meaning.
544         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
545         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
546         transaction before starting syscall.
548 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
550         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
552 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
554         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
556         * sysdeps/x86_64/rtld-memcmp.c: Removed.
557         * sysdeps/x86_64/rtld-memset.S: Likewise.
558         * sysdeps/x86_64/rtld-strchr.S: Likewise.
559         * sysdeps/x86_64/rtld-strlen.S: Likewise.
560         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
561         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
563         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
565 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
567         * debug/strcpy_chk.c: Improve performance.
568         * debug/stpcpy_chk.c: Likewise.
569         * sysdeps/x86_64/strcpy_chk.S: Remove.
570         * sysdeps/x86_64/stpcpy_chk.S: Remove.
572         [BZ #18240]
573         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
575 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
577         [BZ #15128]
578         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
579         ifuncmain8.
580         (modules-names): Add ifuncmod8.
581         ($(objpfx)ifuncmain8): New rule.
582         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
583         <cpuid.h>.
584         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
585         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
586         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
587         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
588         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
589         * sysdeps/x86_64/dl-trampoline.h: Likewise.
590         * sysdeps/x86_64/ifuncmain8.c: New file.
591         * sysdeps/x86_64/ifuncmod8.c: Likewise.
592         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
593         Removed.
594         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
595         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
596         Change rtld_savespace_sse to __glibc_unused2.
597         (RTLD_CHECK_FOREIGN_CALL): Removed.
598         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
599         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
600         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
602 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
604         * sysdeps/aarch64/bzero.S (__bzero): Remove.
606 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
608         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
609         Unconditionally set __fpcr to avoid uninialized warning.
610         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
612 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
614         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
615         is corrupt.
617         * malloc/arena.c (arena_get2): Drop unused argument.
618         (arena_lock): Adjust.
619         (arena_get_retry): Likewise.
621 2015-08-24  Andreas Schwab  <schwab@suse.de>
623         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
624         Don't define.
625         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
626         (__ASSUME_IPC64): Don't undef.
627         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
628         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
629         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
630         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
631         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
632         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
633         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
634         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
635         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
636         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
637         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
638         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
639         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
640         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
641         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
642         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
643         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
644         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
645         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
646         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
647         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
649 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
651         * manual/Makefile (install): Only build manual when perl is available.
653 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
655         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
656         '#undef memcpy' by '#undef memchr'.
658 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
660         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
661         memchr not point to the internal __GI_memchr implementation.
663 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
665         * timezone/Makefile (CFLAGS-zdump.c): Remove
666         -Wno-strict-prototypes.
667         (CFLAGS-zic.c): Likewise.
668         (CFLAGS-ialloc.c): Likewise.
669         (CFLAGS-scheck.c): Likewise.
671         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
672         -Wno-error=undef.
674 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
676         * i386/i686/multiarch/strcasestr-c.c: Removed.
677         * x86_64/multiarch/strcasestr.c: Likewise.
678         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
679         Remove strcasestr.
681 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
683         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
685         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
686         variables for high and low parts before possibly modifying them.
688 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
690         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
691         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
692         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
693         of "multiarch/init-arch.h".
694         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
695         * sysdeps/x86/init-arch.h: This.
697 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
699         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
700         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
702 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
704         [BZ #17787]
705         * manual/macros.texi: Add twoexp macro.
706         * manual/filesys.texi: Fix exponents.
707         * manual/llio.texi: Likewise.
708         * manual/stdio.texi: Likewise.
710 2015-08-20  Florian Weimer  <fweimer@redhat.com>
712         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
713         incorrect use.
715 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
717         [BZ #18370]
718         * math/s_csqrt.c (__csqrt): Force underflow exception for results
719         whose real or imaginary part has small absolute value.
720         * math/s_csqrtf.c (__csqrtf): Likewise.
721         * math/s_csqrtl.c (__csqrtl): Likewise.
722         * math/auto-libm-test-in: Add more tests of csqrt.
723         * math/auto-libm-test-out: Regenerated.
724         * sysdeps/i386/fpu/libm-test-ulps: Update.
726 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
728         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
729         __ppc_set_ppr_very_low): New functions.
730         * manual/platform.texi: Add documentation about
731         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
733 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
735         * string/stpncpy.c (stpncpy): Improve performance using
736         __strnlen/memcpy/memset.
738 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
740         [BZ #18796]
741         * scripts/test-installation.pl: Don't add -lmvec to build options if
742         libmvec wasn't built.
744 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
746         [BZ #14341]
747         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
748         case when there is a gap between DT_REL and DT_JMPREL sections.
749         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
750         (LDFLAGS-tst-split-dynreloc): New.
751         (tst-split-dynreloc-ENV): Likewise.
752         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
753         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
755 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
757         [BZ #18822]
758         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
759         attribute_hidden.
760         (__xstat64_conv): Likewise.
761         (__xstat32_conv): Likewise.
763 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
765         [BZ #18822]
766         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
767         Don't load %ebx when calling __setcontext.  Call __setcontext
768         with HIDDEN_JUMPTARGET.
769         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
770         libc_hidden_def.
772 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
774         * sysdeps/i386/i686/Makefile
775         [$(subdir) == string] (sysdep_routines): Moved to ...
776         * sysdeps/i386/Makefile: Here.
777         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
778         * sysdeps/i386/cacheinfo.c: Here.
779         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
780         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
781         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
782         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
784 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
786         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
787         __i586__ is defined.
788         (HAS_I686): Defined to 1 if __i686__ is defined.
790 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
792         * elf/Makefile [$(have-z-execstack) = yes]
793         (CPPFLAGS-tst-execstack.c): New variable.
795         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
796         conditional to [defined UTMPX || _HAVE_UT_TYPE].
797         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
798         UTMPX || _HAVE_UT_TV].
799         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
800         UTMPX || _HAVE_UT_TV - 0].
802 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
804         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
805         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
806         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
808 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
810         * sysdeps/powerpc/dl-procinfo.c:
811         (_dl_powerpc_cap_flags): Added missing strings for some
812         hwcap features.
813         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
815 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
817         Port the 0x7efe...feff pattern to GCC 6.
818         See Steve Ellcey's bug report in:
819         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
820         * string/memrchr.c (MEMRCHR):
821         * string/rawmemchr.c (RAWMEMCHR):
822         * string/strchr.c (strchr):
823         * string/strchrnul.c (STRCHRNUL):
824         Rewrite code to avoid issues with signed shift overflow.
826 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
828         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
829         whether cpuid is available only if HAS_CPUID is 0.
830         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
831         (HAS_I586): Likewise.
832         (HAS_I686): Likewise.
834 2015-08-18  Zack Weinberg  <zackw@panix.com>
836         * misc/Versions (libc): Add GLIBC_2.23.
838 2015-08-18  Alan Modra  <amodra@gmail.com>
840         [BZ #18421]
841         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
842         .Lp__global.
843         (_start): Load %dp via .Lp__global.
844         [!SHARED]: Use .section .rodata.
846 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
848         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
849         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
851 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
853         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
854         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
856 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
858         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
859         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
861 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
863         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
864         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
866 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
868         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
869         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
871 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
873         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
874         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
876 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
878         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
880 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
882         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
883         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
884         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
885         (__ASSUME_LWS_CAS): Delete.
887 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
889         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
890         * sysdeps/hppa/configure: Regenerated.
891         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
892         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
893         * sysdeps/hppa/nptl/tls.h: Likewise.
895 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
897         [BZ #18823]
898         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
899         for scaling up small arguments.
900         * math/s_csqrtf.c (__csqrtf): Likewise.
901         * math/s_csqrtl.c (__csqrtl): Likewise.
902         * math/auto-libm-test-in: Add more tests of csqrt.
903         * math/auto-libm-test-out: Regenerated.
905 2015-08-17  Andreas Schwab  <schwab@suse.de>
907         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
908         version set GLIBC_2.19.
910 2015-08-16  Zack Weinberg  <zackw@panix.com>
912         [BZ #18681]
913         * misc/regexp.h: This interface is no longer supported.
914         Remove all contents, leaving only an #error directive.
915         * misc/regexp.c (loc1, loc2, locs, step, advance):
916         Demote to compatibility symbols.
918 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
920         [BZ #18084]
921         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
922         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
923         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
924         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
925         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
926         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
927         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
928         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
929         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
931 2015-08-15  Zack Weinberg  <zackw@panix.com>
933         [BZ #18795]
934         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
935         buffer length is known to be too large, not if it's known to be
936         small enough.
937         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
938         overflow at runtime, involving a length parameter, twice: once
939         with a compile-time constant length parameter, once without.
941 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
943         [BZ #18824]
944         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
945         scaling x * y up instead of down.
946         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
947         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
948         * math/auto-libm-test-in: Add more tests of fma.
949         * math/auto-libm-test-out: Regenerated.
951 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
953         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
955 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
957         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
958         unnecessary movq.
959         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
960         Likewise.
962 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
964         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
965         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
966         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
967         and tgamma.
968         * math/auto-libm-test-out: Regenerated.
969         * sysdeps/i386/fpu/libm-test-ulps: Update.
970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
972         [BZ #16520]
973         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
974         (__tanh): Force underflow exception for arguments with small
975         absolute value.
976         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
977         (__tanhf): Force underflow exception for arguments with small
978         absolute value.
979         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
980         (__tanhl): Force underflow exception for arguments with small
981         absolute value.
982         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
983         (__tanhl): Force underflow exception for arguments with small
984         absolute value.
985         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
986         (__tanhl): Force underflow exception for arguments with small
987         absolute value.
988         * math/auto-libm-test-in: Add more tests of tanh.
989         * math/auto-libm-test-out: Regenerated.
990         * sysdeps/i386/fpu/libm-test-ulps: Update.
992 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
994         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
995         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
997 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
999         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
1000         <cpuid.h>.
1002 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1004         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
1005         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
1007 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1009         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
1010         Remove $(objpfx)init-arch.o.
1011         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
1012         init-arch.
1013         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
1014         (INIT_ARCH_EXT): Defined as empty.
1015         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
1016         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
1017         __init_cpu_features call.  Replace HAS_XXX with
1018         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1019         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
1020         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
1021         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
1022         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
1023         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1024         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
1025         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
1026         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1027         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
1028         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
1029         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1030         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
1031         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
1032         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1033         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
1034         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
1035         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1036         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1037         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
1038         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
1039         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1040         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
1041         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
1042         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1043         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
1044         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
1045         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1046         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
1047         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
1048         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1049         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
1050         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
1051         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1052         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
1053         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
1055 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1057         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
1058         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1059         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1060         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1061         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
1062         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
1063         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
1064         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
1065         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
1066         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
1067         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
1068         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
1069         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1070         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1071         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1072         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1073         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1074         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1075         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1076         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1077         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1078         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1079         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1080         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1081         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1082         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1083         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1084         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1085         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1086         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1087         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1088         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1089         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1090         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1091         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1092         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1093         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1094         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1095         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1096         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1097         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1098         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1099         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1101 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1103         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
1104         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1105         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1106         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1107         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1108         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
1109         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1110         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
1111         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1112         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1113         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1114         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
1115         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
1116         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
1117         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
1118         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
1119         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
1120         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
1121         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
1122         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
1123         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1124         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
1125         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
1126         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1127         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1128         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
1129         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
1130         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
1131         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1132         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1133         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1134         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1135         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1136         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1137         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1138         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1139         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1140         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1141         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1142         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1143         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1144         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1145         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1147 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1149         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
1150         (dl_platform_init): Call init_cpu_features.
1151         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
1152         * sysdeps/i386/i686/cacheinfo.c
1153         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
1154         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
1155         * sysdeps/i386/i686/multiarch/Versions: Removed.
1156         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
1157         Removed.
1158         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
1159         * sysdeps/unix/sysv/linux/x86/Makefile
1160         (libpthread-sysdep_routines): Remove init-arch.
1161         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
1162         <sysdeps/x86_64/dl-procinfo.c> instead of
1163         sysdeps/generic/dl-procinfo.c>.
1164         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
1165         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
1166         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
1167         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
1168         [$(subdir) == elf] (tests-static): Add
1169         tst-get-cpu-features-static.
1170         * sysdeps/x86/Versions: New file.
1171         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
1172         * sysdeps/x86/cpu-features.c: Likewise.
1173         * sysdeps/x86/cpu-features.h: Likewise.
1174         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
1175         * sysdeps/x86/libc-start.c: Likewise.
1176         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1177         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
1178         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
1179         * sysdeps/x86_64/dl-procinfo.c: Likewise.
1180         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
1181         Assume USE_MULTIARCH is defined and don't check it.
1182         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
1183         (is_amd): Likewise.
1184         (max_cpuid): Likewise.
1185         (intel_check_word): Likewise.
1186         (__cache_sysconf): Don't call __init_cpu_features.
1187         (__x86_preferred_memory_instruction): Removed.
1188         (init_cacheinfo): Don't call __init_cpu_features. Replace
1189         __cpu_features with GLRO(dl_x86_cpu_features).
1190         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
1191         (dl_platform_init): Call init_cpu_features.
1192         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
1193         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
1194         * sysdeps/x86_64/multiarch/Versions: Removed.
1195         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
1196         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
1197         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
1198         Removed.
1199         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
1201 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1203         [BZ #18820]
1204         * libio/Makefile (test-fmemopen-mem): New test.
1205         * libio/test-fmemopen.c (do_bz18820): New test.
1206         * libio/fmemopen.c (__fmemopen): Fix memory leak.
1207         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
1209 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1211         [BZ #16734]
1212         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
1213         (FREE_BUF): Delete.
1214         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
1215         * libio/genops.c (_IO_setb): Use malloc and free directly.
1216         (_IO_default_doallocate, _IO_default_finish): Likewise.
1217         ( _IO_unbuffer_all): Likewise.
1218         ( libc_freeres_fn): Likewise.
1219         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1220         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1221         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
1222         (_IO_wdefault_doallocate): Likewise.
1224 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1226         [BZ #18086]
1227         * sysdeps/posix/nice.c (nice): Restore old errno.
1228         * posix/tst-nice.c (do_test): Add test for BZ #18086.
1230 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
1232         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
1234 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1236         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
1237         __bcopy and add a weak_alias to bcopy.
1238         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
1239         for static build.
1241         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
1242         cleanup macro usage.
1243         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
1244         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
1245         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1246         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
1247         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1248         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
1249         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
1250         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1251         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1252         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
1253         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1254         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
1255         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1256         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
1257         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1258         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
1259         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
1260         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
1261         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1263         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
1264         libc_hidden_def.
1265         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
1267         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
1268         (sysdep_routines): Add strstr-ppc64.
1269         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
1271 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1273         [BZ #18778]
1274         * elf/Makefile (tests): Add Add tst-nodelete2.
1275         (modules-names): Add tst-nodelete2mod.
1276         (tst-nodelete2mod.so-no-z-defs): New.
1277         ($(objpfx)tst-nodelete2): Likewise.
1278         ($(objpfx)tst-nodelete2.out): Likewise.
1279         (LDFLAGS-tst-nodelete2): Likewise.
1280         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
1281         out of loop through all loaded libraries.
1282         * elf/tst-nodelete2.c: New file.
1283         * elf/tst-nodelete2mod.c: Likewise.
1285 2015-08-11  Andreas Schwab  <schwab@suse.de>
1287         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
1288         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
1289         (__openat64_nocancel): Likewise.
1291 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
1293         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
1294         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
1295         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
1296         * math/auto-libm-test-out: Regenerated.
1297         * sysdeps/i386/fpu/libm-test-ulps: Update.
1298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1300 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1302         [BZ #18790]
1303         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
1304         threshold for returning +/- 1.
1305         * math/auto-libm-test-in: Add more tests of tanh.
1306         * math/auto-libm-test-out: Regenerated.
1307         * sysdeps/i386/fpu/libm-test-ulps: Update.
1309 2015-08-10  Andreas Schwab  <schwab@suse.de>
1311         [BZ #18781]
1312         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
1313         MORE_OFLAGS to oflag.
1314         * io/test-lfs.c (do_test): Test openat64.
1316 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1318         [BZ #18789]
1319         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
1320         smaller threshold for returning the argument.
1321         * math/auto-libm-test-in: Add more tests of sinh.
1322         * math/auto-libm-test-out: Regenerated.
1323         * sysdeps/i386/fpu/libm-test-ulps: Update.
1325 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
1327         [BZ #18674]
1328         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
1329         break.
1331 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
1333         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
1334         (generated): Don't add $(addprefix z.,$(tzfiles)).
1336 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1338         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
1339         * scripts/sysd-rules.awk: Likewise.
1341 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1343         * iconvdata/tst-tables.sh: Change echo -n to printf.
1344         * nss/db-Makefile: Likewise.
1345         * posix/tst-getconf.sh: Likewise.
1346         * stdio-common/tst-unbputc.sh: Likewise.
1348 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1350         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
1351         MADV_*_PAGES defines behind this feature check.
1353 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
1355         [BZ #18480]
1356         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
1357         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
1358         Define.
1359         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
1360         LOAD_REGS_5, LOAD_REGS_6): Update.
1361         (INTERNAL_SYSCALL): Update using new LOAD defines.
1362         (INTERNAL_SYSCALL_NCS): Likewise.
1363         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
1365 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1367         [BZ #16734]
1368         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
1370 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1372         [BZ #17905]
1373         * catgets/Makefile (tst-catgets-mem): New test.
1374         * catgets/catgets.c (catopen): Don't use unbounded alloca.
1375         * catgets/open_catalog.c (__open_catalog): Likewise.
1376         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
1378 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
1380         [BZ #18787]
1381         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
1382         clobber registers.
1383         (atomic_compare_and_exchange_val_acq): Use register asms to assign
1384         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
1385         Cast return to __typeof (oldval).
1387 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
1389         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
1390         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
1391         and delete sys/syscall.h include.
1393 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
1395         [BZ #16517]
1396         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
1397         (tan): Force underflow exception for arguments with small absolute
1398         value.
1399         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
1400         (__kernel_tanf): Force underflow exception for arguments with
1401         small absolute value.
1402         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
1403         (__kernel_tanl): Force underflow exception for arguments with
1404         small absolute value.
1405         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
1406         (__kernel_tanl): Force underflow exception for arguments with
1407         small absolute value.
1408         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
1409         (__kernel_tanl): Force underflow exception for arguments with
1410         small absolute value.
1411         * math/auto-libm-test-in: Add more tests of tan.
1412         * math/auto-libm-test-out: Regenerated.
1414 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1416         Fix sysdeps/i386/fpu/s_scalbn.S build
1418         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
1420 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
1422         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1424 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1426         Fix gcrt0.o compilation
1428         When static-start-installed-name is different from
1429         start-installed-name, we must not use the shared objects.
1431         * csu/Makefile
1432         (extra-objs): Add gmon-start.o when building shared library and
1433         $(static-start-installed-name) is different from
1434         $(start-installed-name).
1435         $(objpfx)g$(static-start-installed-name): When building shared
1436         library and $(static-start-installed-name) is different from
1437         $(static-start-installed-name), revert to non-shared rule,
1438         i.e. using $(objpfx)% and gmon-start.o.
1440 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
1442         [BZ #16519]
1443         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
1444         (__ieee754_sinh): Force underflow exception for arguments with
1445         small absolute value.
1446         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
1447         (__ieee754_sinhf): Force underflow exception for arguments with
1448         small absolute value.
1449         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
1450         (__ieee754_sinhl): Force underflow exception for arguments with
1451         small absolute value.
1452         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
1453         (__ieee754_sinhl): Force underflow exception for arguments with
1454         small absolute value.
1455         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
1456         (__ieee754_sinhl): Force underflow exception for arguments with
1457         small absolute value.
1458         * math/auto-libm-test-in: Add more tests of sinh.
1459         * math/auto-libm-test-out: Regenerated.
1460         * sysdeps/i386/fpu/libm-test-ulps: Update.
1462 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1464         * libio/oldfileops.c: Include unistd.h.
1466 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
1468         * stdlib/isomac.c: Include ctype.h.
1470 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
1472         * dirent/tst-seekdir.c (main): Converted to ...
1473         (do_test): ... this.
1474         (TEST_FUNCTION): New macro.
1475         Include test-skeleton.c.
1476         * elf/tst-dlmodcount.c (main): Converted to ...
1477         (do_test): ... this.
1478         (TEST_FUNCTION): New macro.
1479         Include test-skeleton.c.
1480         * elf/tst-order-main.c (main): Converted to ...
1481         (do_test): ... this.
1482         (TEST_FUNCTION): New macro.
1483         Include test-skeleton.c.
1484         * elf/tst-pie2.c (main): Converted to ...
1485         (do_test): ... this.
1486         (TEST_FUNCTION): New macro.
1487         Include test-skeleton.c.
1488         * inet/tst-ether_aton.c (main): Converted to ...
1489         (do_test): ... this.
1490         (TEST_FUNCTION): New macro.
1491         Include test-skeleton.c.
1492         * misc/tst-mntent.c (main): Converted to ...
1493         (do_test): ... this.
1494         (TEST_FUNCTION): New macro.
1495         Include test-skeleton.c.
1496         * misc/tst-tsearch.c (main): Converted to ...
1497         (do_test): ... this.
1498         (TEST_FUNCTION): New macro.
1499         Include test-skeleton.c.
1500         * posix/tst-regexloc.c (main): Converted to ...
1501         (do_test): ... this.
1502         (TEST_FUNCTION): New macro.
1503         Include test-skeleton.c.
1504         * resolv/tst-aton.c (main): Converted to ...
1505         (do_test): ... this.
1506         (TEST_FUNCTION): New macro.
1507         Include test-skeleton.c.
1508         * stdio-common/test-fwrite.c (main): Converted to ...
1509         (do_test): ... this.
1510         (TEST_FUNCTION): New macro.
1511         Include test-skeleton.c.
1512         * stdio-common/tst-ferror.c (main): Converted to ...
1513         (do_test): ... this.
1514         (TEST_FUNCTION): New macro.
1515         Include test-skeleton.c.
1516         * stdio-common/tst-printf.c (main): Converted to ...
1517         (do_test): ... this.
1518         (TEST_FUNCTION): New macro.
1519         Include test-skeleton.c.
1520         * stdio-common/tst-printfsz.c (main): Converted to ...
1521         (do_test): ... this.
1522         (TEST_FUNCTION): New macro.
1523         Include test-skeleton.c.
1524         * stdlib/tst-strtod.c (main): Converted to ...
1525         (do_test): ... this.
1526         (TEST_FUNCTION): New macro.
1527         Include test-skeleton.c.
1528         * string/tst-strlen.c (main): Converted to ...
1529         (do_test): ... this.
1530         (TEST_FUNCTION): New macro.
1531         Include test-skeleton.c.
1532         * string/tst-svc.c (main): Converted to ...
1533         (do_test): ... this.
1534         (TEST_FUNCTION): New macro.
1535         Include test-skeleton.c.
1536         * time/tst-strptime.c (main): Converted to ...
1537         (do_test): ... this.
1538         (TEST_FUNCTION): New macro.
1539         Include test-skeleton.c.
1540         * timezone/tst-timezone.c (main): Converted to ...
1541         (do_test): ... this.
1542         (TEST_FUNCTION): New macro.
1543         Include test-skeleton.c.
1545 2015-08-05  Zack Weinberg  <zackw@panix.com>
1547         * misc/regexp.h: Update comments.
1549 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
1551         [BZ #18635]
1552         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
1553         before return label.
1555 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1557         [BZ #18661]
1558         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
1559         when calling __errno_location.
1560         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
1561         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
1563 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1565         [BZ #18661]
1566         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
1567         (__lll_timedwait_tid): Align stack to 16 bytes when calling
1568         __gettimeofday.
1570 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1572         [BZ #18661]
1573         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1574         (__start_context): Don't use pop to restore %rdi so that stack
1575         is aligned to 16 bytes when calling __setcontext.
1577 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1579         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
1580         only for libc.
1581         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1583 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1585         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
1586         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
1587         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
1589 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1591         * string/memccpy.c (memccpy):
1592         Improve performance by using memchr/memcpy/__mempcpy.
1594 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1596         * string/strncpy.c (strncpy):
1597         Improve performance by using __strnlen/memcpy.
1599 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1601         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1602         Optimize to avoid an unnecessary FPCR read.
1604 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1606         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1607         Optimize to reduce FPCR/FPSR accesses.
1609 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1611         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1612         dead->data[category] != NULL.
1614 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
1616         [BZ #18647]
1617         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1618         and |x| close to 1, use absolute value of x when computing log.
1619         * math/auto-libm-test-in: Add more tests of pow.
1620         * math/auto-libm-test-out: Regenerated.
1622 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1624         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1625         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1626         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1628 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
1630         [BZ #18525]
1631         * locales/km_KH: Remove timezone definition.
1632         * locales/lo_LA: Likewise.
1633         * locales/my_MM: Likewise.
1634         * locales/nan_TW@latin: Likewise.
1635         * locales/th_TH: Likewise.
1636         * locales/uk_UA: Likewise.
1638 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1640         [BZ #18265]
1641         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1642         (wcsncat): Likewise.
1643         (wcscmp): Likewise.
1644         (wcsncmp): Likewise.
1646 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1648         * test-skeleton.c (usage): New function.
1649         (main): Call usage when opt is '?'.
1651 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1653         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1654         before first use.
1656 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1658         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1659         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1660         in there too.
1662 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1664         * version.h (RELEASE): Set to "development".
1665         (VERSION): Set to "2.22.90"
1667         * version.h (RELEASE): Set to "stable".
1668         (VERSION): Set to "2.22"
1669         * include/features.h (__GLIBC_MINOR__): Set to 22.
1671 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1673         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1674         Restructure macro to avoid "value computed is not used" warning.
1675         (atomic_compare_and_exchange_val_acq): Likewise.
1677 2015-08-04  Andreas Schwab  <schwab@suse.de>
1679         [BZ #18635]
1680         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1681         ret.
1682         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1684 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1686         * po/pl.po: Updated translation.
1687         * po/uk.po: Likewise.
1688         * po/fi.po: Likewise.
1689         * po/ko.po: Likewise.
1690         * po/ru.po: Likewise.
1691         * po/vi.po: Likewise.
1693 2015-07-31  Zack Weinberg  <zackw@panix.com>
1695         [BZ #18681]
1696         * regexp.h: Add unconditional #warning stating that this header
1697         will be removed soon.  Revise banner comment to match.
1698         (compile): Consistently use ERROR instead of RETURN to report
1699         errors (partial fix for bz#18681).
1700         * regexp.c: Don't include regexp.h. Remove some unnecessary
1701         declarations.
1703 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1705         * po/libc.pot: Regenerated.
1707 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1709         [BZ #18740]
1710         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1711         float-vlen4-arch-ext-cflags): Removed.
1712         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1713         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1715 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1717         [BZ #14113]
1718         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1719         aligned to __aligned__.
1720         (pthread_cond_t, pthread_rwlock_t): Likewise.
1722 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1724         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1726 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1728         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1729         (struct sigaction): Change sa_flags from a long to an int, and add
1730         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1732 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1734         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1735         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1736         sysdeps/generic/sysdep.h include.
1737         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1738         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1739         sysdeps/hppa/sysdep.h.
1740         (ENTRY, PSEUDO): Undefine before defining.
1742 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1744         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1745         from scratch to use INTERNAL_SYSCALL.
1747 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1749         [BZ #18078]
1750         * scripts/check-localplt.awk: Support alternate relocations.
1751         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1752         sections.
1753         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1754         malloc entries with + REL R_386_GLOB_DAT.
1755         * sysdeps/x86_64/localplt.data: New file.
1757 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1759         [BZ #18731]
1760         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1761         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1762         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1764 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1766         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1768 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1770         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1771         directly in terms of __sync_fetch_and_add and delete (int) cast.
1773 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1775         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1776         the -D_ASM_IA64_CURRENT_H flag.
1778 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1780         [BZ #18641]
1781         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1783 2015-07-27  Andreas Schwab  <schwab@suse.de>
1785         * conform/conformtest.pl (checknamespace): Filter out string
1786         literals while tokenizing.
1788 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1790         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1791         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1792         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1794 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1796         * nptl/tst-join7mod.c: Add #include <string.h>.
1798 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1800         * sysdeps/nios2/libm-test-ulps: Update.
1802 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1804         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1805         Fix order of arguments to the rt_sigprocmask syscall.
1806         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1807         Likewise.
1809 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1811         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1813 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1815         [BZ #18457]
1816         * nptl/Makefile (tests): New test case tst-join7.
1817         (modules-names): New test case module tst-join7mod.
1818         * nptl/tst-join7.c: New file.
1819         * nptl/tst-join7mod.c: New file.
1820         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1821         all translation units in libc.so, libpthread.so and rtld.
1823 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1825         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1827 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1829         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1830         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1831         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1832         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1833         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1834         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1835         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1836         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1837         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1838         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1839         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1840         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1841         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1842         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1843         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1844         implementation.
1846 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1848         [BZ #17711]
1849         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1850         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1851         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1852         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1853         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1854         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1856 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1858         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1859         instead of just saying load lock in the comments.
1861 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1863         * sysdeps/unix/Subdirs: Moved ...
1864         * sysdeps/posix/Subdirs: ... here.
1865         * login/pty.h (struct termios, struct winsize): Add forward decls.
1866         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1867         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1868         * sysdeps/arm/nacl/libc.abilist: Updated.
1869         * sysdeps/nacl/libutil.abilist: New file.
1871         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1872         (SIGWINCH): New macro.
1874         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1875         * sysdeps/arm/nacl/libc.abilist: Add it.
1877 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1879         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1881 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1883         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1884         Swap __glibc_reserved0 and sa_flags order.
1886 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1888         [BZ #18657]
1889         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1890         are pending TLS destructor calls.
1891         * include/link.h (struct link_map): Add concurrency note for
1892         L_TLS_DTOR_COUNT.
1893         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1894         Don't touch the link map flag.  Atomically increment
1895         l_tls_dtor_count.
1896         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1897         Avoid taking the load lock and don't touch the link map flag.
1898         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1899         * stdlib/Makefile (tests): Use it.
1900         * stdlib/tst-tls-atexit.c (do_test): dlopen
1901         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1902         to allow tst-tls-atexit-nodelete test case to use it.
1904 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1906         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1907         to bits/types.h.
1908         (msgqnum_t): New typedef.
1909         (msglen_t): Likewise.
1910         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1911         and msg_qbytes type to msglen_t.
1913 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1915         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1916         pad0 to __glibc_reserved0.
1917         (struct stat64): Likewise.
1919 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1921         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1922         Change sa_flags from a long to an int and add __glibc_reserved0 before
1923         it for padding.
1925 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1927         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1928         anonymous by deleting "siginfo" name.
1930 2015-07-21  Roland McGrath  <roland@hack.frob.com>
1932         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1933         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1934         rather than __nacl_irt_filename.
1935         * sysdeps/nacl/xstat.c (__xstat): Likewise.
1937         * NEWS: New item for arm-nacl port.
1938         * sysdeps/arm/nacl/libc.abilist: New file.
1939         * sysdeps/nacl/ld.abilist: New file.
1940         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1941         * sysdeps/nacl/libanl.abilist: New file.
1942         * sysdeps/nacl/libcrypt.abilist: New file.
1943         * sysdeps/nacl/libdl.abilist: New file.
1944         * sysdeps/nacl/libm.abilist: New file.
1945         * sysdeps/nacl/libpthread.abilist: New file.
1946         * sysdeps/nacl/libresolv.abilist: New file.
1947         * sysdeps/nacl/librt.abilist: New file.
1949 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1951         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1952         __startcontext to initialize the new context.
1953         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1954         up CFI directive to forbid further backtracing.
1956 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1958         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1959         reference.
1960         * charmaps/ANSI_X3.4-1968: Likewise.
1961         * charmaps/BS_4730: Likewise.
1962         * charmaps/BS_VIEWDATA: Likewise.
1963         * charmaps/CP1250: Likewise.
1964         * charmaps/CP1251: Likewise.
1965         * charmaps/CP1252: Likewise.
1966         * charmaps/CP1253: Likewise.
1967         * charmaps/CP1254: Likewise.
1968         * charmaps/CP1255: Likewise.
1969         * charmaps/CP1256: Likewise.
1970         * charmaps/CSN_369103: Likewise.
1971         * charmaps/EBCDIC-DK-NO: Likewise.
1972         * charmaps/GB_1988-80: Likewise.
1973         * charmaps/GREEK-CCITT: Likewise.
1974         * charmaps/GREEK7: Likewise.
1975         * charmaps/INIS-8: Likewise.
1976         * charmaps/ISIRI-3342: Likewise.
1977         * charmaps/ISO_2033-1983: Likewise.
1978         * charmaps/ISO_5427-EXT: Likewise.
1979         * locales/POSIX: Likewise.
1980         * locales/ar_SA: Likewise.
1981         * locales/be_BY: Likewise.
1982         * locales/be_BY@latin: Likewise.
1983         * locales/ca_ES: Likewise.
1984         * locales/cs_CZ: Likewise.
1985         * locales/da_DK: Likewise.
1986         * locales/de_BE: Likewise.
1987         * locales/de_CH: Likewise.
1988         * locales/de_LU: Likewise.
1989         * locales/en_AU: Likewise.
1990         * locales/en_BW: Likewise.
1991         * locales/en_CA: Likewise.
1992         * locales/en_DK: Likewise.
1993         * locales/en_GB: Likewise.
1994         * locales/en_IE: Likewise.
1995         * locales/en_NZ: Likewise.
1996         * locales/en_ZA: Likewise.
1997         * locales/en_ZW: Likewise.
1998         * locales/es_AR: Likewise.
1999         * locales/es_BO: Likewise.
2000         * locales/es_CL: Likewise.
2001         * locales/es_CO: Likewise.
2002         * locales/es_DO: Likewise.
2003         * locales/es_EC: Likewise.
2004         * locales/es_ES: Likewise.
2005         * locales/es_HN: Likewise.
2006         * locales/es_MX: Likewise.
2007         * locales/es_PA: Likewise.
2008         * locales/es_PE: Likewise.
2009         * locales/es_PY: Likewise.
2010         * locales/es_SV: Likewise.
2011         * locales/es_US: Likewise.
2012         * locales/es_UY: Likewise.
2013         * locales/es_VE: Likewise.
2014         * locales/et_EE: Likewise.
2015         * locales/fa_IR: Likewise.
2016         * locales/fo_FO: Likewise.
2017         * locales/fr_CA: Likewise.
2018         * locales/fr_CH: Likewise.
2019         * locales/gv_GB: Likewise.
2020         * locales/he_IL: Likewise.
2021         * locales/hr_HR: Likewise.
2022         * locales/id_ID: Likewise.
2023         * locales/is_IS: Likewise.
2024         * locales/it_CH: Likewise.
2025         * locales/iw_IL: Likewise.
2026         * locales/kl_GL: Likewise.
2027         * locales/ko_KR: Likewise.
2028         * locales/kw_GB: Likewise.
2029         * locales/lg_UG: Likewise.
2030         * locales/lt_LT: Likewise.
2031         * locales/lv_LV: Likewise.
2032         * locales/mi_NZ: Likewise.
2033         * locales/nhn_MX: Likewise.
2034         * locales/nl_BE: Likewise.
2035         * locales/pl_PL: Likewise.
2036         * locales/sk_SK: Likewise.
2037         * locales/sl_SI: Likewise.
2038         * locales/sv_FI: Likewise.
2039         * locales/tl_PH: Likewise.
2040         * locales/tr_TR: Likewise.
2041         * locales/vi_VN: Likewise.
2043 2015-07-21  Khem Raj  <raj.khem@gmail.com>
2045         [BZ #17475]
2046         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
2047         of tu_IN and bh_IN.
2049 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
2051         [BZ #18694]
2052         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
2053         bits/wordsize.h.
2054         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
2056 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2058         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
2059         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
2060         (spawn_thread): New function.
2061         (load): Rename to reg_dtor_and_close.  Move dlopen to...
2062         (do_test): ... here.  Use IS_LOADED to test for its
2063         availability.
2065 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
2067         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2069 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
2071         [BZ #18696]
2072         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
2073         si_addr_bnd.
2074         (si_lower): New.
2075         (si_upper): Likewise.
2077 2015-07-16  David S. Miller  <davem@davemloft.net>
2079         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2081 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2083         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
2084         buffer.
2085         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
2086         fail output information.
2088 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2090         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
2091         and strstr-ppc64..
2092         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2093         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
2094         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
2095         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
2096         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
2098 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2100         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2101         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2102         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2103         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2105 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2107         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2108         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
2109         rtld_hidden_proto.
2110         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
2112 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2114         * tst-nodelete-opened.c (do_test): Add comment to clarify how
2115         the test can fail.
2117         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
2119         [BZ #18676]
2120         * elf/tst-nodelete-opened.c: New test case.
2121         * elf/tst-nodelete-opened-lib.c: New test case module.
2122         * elf/Makefile (tests, modules-names): Use them.
2123         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
2124         early.
2126 2015-07-15  David S. Miller  <davem@davemloft.net>
2128         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
2129         futex-intenal.h
2130         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
2131         * sysdeps/sparc/sparc64/Makefile: Likewise.
2132         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2133         Remove space from macro define.
2134         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
2136 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
2138         [BZ #17475]
2139         * locale/iso-639.def: Update Bhili and Tulu language codes as
2140         per iso639-3.
2142 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
2144         * elf/tst-leaks1.c (main): Converted to ...
2145         (do_test): ... this.
2146         (TEST_FUNCTION): New macro.
2147         Include test-skeleton.c.
2148         * localedata/tst-langinfo.c (main): Converted to ...
2149         (do_test): ... this.
2150         (TEST_FUNCTION): New macro.
2151         Include test-skeleton.c.
2152         * math/test-fpucw.c (main): Converted to ...
2153         (do_test): ... this.
2154         (TEST_FUNCTION): New macro.
2155         Include test-skeleton.c.
2156         * math/test-tgmath.c (main): Converted to ...
2157         (do_test): ... this.
2158         (TEST_FUNCTION): New macro.
2159         Include test-skeleton.c.
2160         * math/test-tgmath2.c (main): Converted to ...
2161         (do_test): ... this.
2162         (TEST_FUNCTION): New macro.
2163         Include test-skeleton.c.
2164         * setjmp/tst-setjmp.c (main): Converted to ...
2165         (do_test): ... this.
2166         (TEST_FUNCTION): New macro.
2167         Include test-skeleton.c.
2168         * stdio-common/tst-sscanf.c (main): Converted to ...
2169         (do_test): ... this.
2170         (TEST_FUNCTION): New macro.
2171         Include test-skeleton.c.
2172         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
2173         (do_test): ... this.
2174         (TEST_FUNCTION): New macro.
2175         Include test-skeleton.c.
2177         * elf/tst-audit9.c (main): Converted to ...
2178         (do_test): ... this.
2179         (TEST_FUNCTION): New macro.
2180         Include test-skeleton.c.
2182 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
2184         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
2186 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2188         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
2189         New variable.
2191 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2193         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2195 2015-07-14  Roland McGrath  <roland@hack.frob.com>
2197         * sysdeps/generic/dl-fileid.h: New file.
2198         * sysdeps/posix/dl-fileid.h: New file.
2199         * sysdeps/nacl/dl-fileid.h: New file.
2200         * include/link.h: Include <dl-fileid.h>.
2201         (struct link_map): Replace l_dev and l_ino with l_file_id.
2202         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
2203         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
2204         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
2206 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2208         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
2210 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2212         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
2213         Add iff $CXX is set.
2214         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
2215         Likewise.
2216         (tst-nodelete-zmodiff): Likewise.
2217         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
2219 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2221         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
2223 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2225         * sysdeps/aarch64/fpu/math_private.h
2226         (define math_opt_barrier): Add AArch64 version.
2227         (math_force_eval): Likewise.
2229 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2231         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
2233 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2235         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
2236         %ld with %jd and cast to intmax_t.
2237         (do_test_length_zero): Likewise.
2239 2015-07-10  Roland McGrath  <roland@hack.frob.com>
2241         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
2243 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
2245         * sysdeps/tile/libm-test-ulps: Regenerated.
2247         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
2248         Comment out the whole function, not just its body.
2250 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2252         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
2253         locks.
2255         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
2257 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2259         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
2260         (sem_assume_only_signals_cause_futex_EINTR): Remove.
2262 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2264         * sysdeps/nptl/futex-internal.h: New file.
2265         * sysdeps/nacl/futex-internal.h: New file.
2266         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
2267         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
2268         error checking.
2269         (setxid_unmark_thread): Likewise.
2270         (__nptl_setxid): Likewise.
2271         (__wait_lookup_done): Likewise.
2272         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
2273         * nptl/nptl-init.c (sighandler_setxid): Likewise.
2274         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2275         * nptl/pthread_once.c (clear_once_control): Likewise.
2276         (__pthread_once_slow): Likewise.
2277         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2278         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
2279         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
2280         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2281         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
2282         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
2283         Likewise.
2284         (__pthread_rwlock_rdlock): Likewise.
2285         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2286         Likewise.
2287         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2288         Likewise.
2289         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2290         Likewise.
2291         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
2292         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
2293         Likewise.
2294         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
2295         __ASSUME_PRIVATE_FUTEX check.
2296         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
2297         Check that shared futexes are supported.
2298         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
2299         wrappers with error checking.
2300         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
2301         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
2302         * nptl/pthread_barrierattr_setpshared.c
2303         (pthread_barrierattr_setpshared): Check that shared futexes are
2304         supported.
2305         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
2306         Likewise.
2307         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
2308         Likewise.
2309         * nptl/sem_init.c (futex_private_if_supported): Remove.
2310         (__new_sem_init): Adapt and check that shared futexes are supported.
2311         * nptl/sem_open.c (sem_open): Likewise.
2312         * nptl/sem_post.c (futex_wake): Remove.
2313         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
2314         (do_futex_wait): Use futex wrappers with error checking.
2315         * nptl/sem_wait.c: Include lowlevellock.h.
2316         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
2317         Use futex_supports_pshared.
2318         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
2319         Use futex wrappers with error checking.
2320         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
2321         Likewise.
2322         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
2323         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
2324         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
2325         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
2326         (futex_wake): Likewise.
2327         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
2328         (do_futex_wait): Use futex wrappers with error checking.
2329         (__new_sem_wait_slow): Update EINTR handling.
2330         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
2332 2015-07-09  Martin Sebor  <msebor@redhat.com>
2334         [BZ #18435]
2335         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2336         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
2337         * nptl/Makefile (test-xfail-tst-once5): Define.
2339 2015-07-09  Roland McGrath  <roland@hack.frob.com>
2341         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
2342         * elf/dl-minimal.c: For readability, reorder some definitions and
2343         introduce more page breaks.  Include <stdio.h>.
2344         (__libc_fatal): New function.
2346         * include/unistd.h: Add rtld_hidden_proto for _exit.
2347         * posix/_exit.c: Add rtld_hidden_def.
2348         * sysdeps/mach/hurd/_exit.c: Likewise.
2349         * sysdeps/nacl/_exit.c: Likewise.
2350         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
2351         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
2353 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
2355         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
2356         bndmov encoding with zero displacement.
2358 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
2359             H.J. Lu  <hongjiu.lu@intel.com>
2361         [BZ #18134]
2362         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
2363         * sysdeps/i386/configure: Regenerated.
2364         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2365         (_dl_runtime_profile): Save and restore Intel MPX return bound
2366         registers when calling _dl_call_pltexit.  Add
2367         PRESERVE_BND_REGS_PREFIX before return.
2368         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
2369         (LRV_BND1_OFFSET): Likewise.
2370         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
2371         lrv_bnd1.
2372         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
2373         typo in bndmov encoding.
2374         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
2375         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
2376         branch instructions to preserve bounds.
2378 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2381         [GLIBC_2.22]: Add fmemopen.
2383 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2385         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
2386         returns an error, also try to use host port from __mach_host_self for
2387         the __vm_wire call.
2388         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
2390 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2392         [BZ #18400]
2393         [BZ #18648]
2394         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
2395         Fix pr_uid and pr_gid members.
2396         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
2397         definition to elf_greg_t.
2399 2015-07-08  Roland McGrath  <roland@hack.frob.com>
2401         [BZ #18383]
2402         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
2403         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
2404         * sysdeps/arm/configure: Regenerated.
2405         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
2406         (test-xfail-tst-tlsalign-static): Variable removed.
2408         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
2409         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
2410         rather than explicit 'ln -s'.
2412         * resolv/rpc/netdb.h: New file.
2413         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
2415 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2417         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
2418         length buffers.
2419         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2420         test-skeleton.c.
2422         [BZ #6544]
2423         [BZ #11216]
2424         [BZ #12836]
2425         [BZ #13151]
2426         [BZ #13152]
2427         [BZ #14292]
2428         * include/stdio.h (fmemopen): Remove hidden prototype.
2429         (__fmemopen): Add new hidden prototype.
2430         * libio/Makefile: Add oldfmemopen object.
2431         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
2432         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
2433         compliance.
2434         * libio/oldfmemopen.c: New file: old fmemopen implementation for
2435         symbol compatibility.
2436         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
2437         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
2438         fmemopen.
2439         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
2440         on append and read mode.
2441         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
2442         fmemopen.
2443         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
2444         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
2445         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
2446         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
2447         Likewise.
2448         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2449         [GLIBC_2.22]: Likewise.
2450         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
2451         Likewise.
2452         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
2453         Likewise.
2454         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2455         [GLIBC_2.22]: Likewise.
2456         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2457         [GLIBC_2.22]: Likewise.
2458         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2459         [GLIBC_2.22]: Likewise.
2460         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2461         [GLIBC_2.22]: Likewise.
2462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2463         [GLIBC_2.22]: Likewise.
2464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2465         [GLIBC_2.22]: Likewise.
2466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2467         [GLIBC_2.22]: Likewise.
2468         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
2469         Likewise.
2470         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
2471         Likewise.
2472         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
2473         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2474         [GLIBC_2.22]: Likewise.
2475         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2476         [GLIBC_2.22]: Likewise.
2477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2478         [GLIBC_2.22]: Likewise.
2479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2480         [GLIBC_2.22]: Likewise.
2481         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
2482         Likewise.
2483         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
2484         Likewise.
2485         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
2486         Likewise.
2487         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
2488         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
2490 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2492         [BZ #18643]
2493         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
2494         IPV6_PATHMTU, and IPV6_DONTFRAG.
2496 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
2498         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
2499         and _IO_UNBUFFERED.
2500         * libio/oldfileops.c: Likewise.
2501         * libio/wfileops.c: Likewise.
2503 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2505         * nscd/selinux.c: Delete selinux/flask.h include.
2507 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2509         [BZ #18641]
2510         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
2511         (putpwent): Likewise.
2512         (getpwnam): Likewise.
2513         (getpwent_r): Likewise.
2514         (getpwuid_r): Likewise.
2515         (getpwnam_r): Likewise.
2516         (fgetpwent_r): Likewise.
2518 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2520         [BZ #18557]
2521         * inet/rcmd.c (__validuser2_sa): Check user first to
2522         short-circuit host check.
2524 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
2525             Mikhail Ilin  <m.ilin@samsung.com>
2527         [BZ #17833]
2528         * elf/Makefile (tests): Add tst-nodelete.
2529         (modules-names): Add tst-nodelete-uniquemod.
2530         (tst-nodelete-uniquemod.so-no-z-defs): New.
2531         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
2532         (tst-nodelete-zmod.so-no-z-defs): Likewise.
2533         ($(objpfx)tst-nodelete): Likewise.
2534         ($(objpfx)tst-nodelete.out): Likewise.
2535         (LDFLAGS-tst-nodelete): Likewise.
2536         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
2537         * elf/dl-close.c (_dl_close_worker): Add a parameter to
2538         implement forced object deletion.
2539         (_dl_close): Pass false to _dl_close_worker.
2540         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
2541         * elf/tst-nodelete.cc: New file.
2542         * elf/tst-nodeletelib.cc: Likewise.
2543         * elf/tst-znodeletelib.cc: Likewise.
2544         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
2546 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2548         [BZ #18508]
2549         * stdlib/Makefile ($(objpfx)tst-makecontext3):
2550         Depend on $(libdl).
2551         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
2552         is not called infinitely times.
2553         (backtrace_helper): New function.
2554         (trace_arg): New struct.
2555         (st1): Enlarge stack size.
2556         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2557         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
2558         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2559         Likewise.
2561 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2563         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2565 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2567         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
2568         Include sys/types.h instead of bits/types.h.
2569         Remove inclusion of bits/wordsize.h.
2571 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2573         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
2574         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
2575         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
2576         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
2577         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
2578         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
2580 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2582         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
2583         link-defines.sym.
2584         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
2585         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
2586         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
2587         and LR_SIZE.
2588         * sysdeps/i386/link-defines.sym: New file.
2590 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2592         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
2593         (modules-names): Add tst-auditmod3a tst-auditmod3b.
2594         ($(objpfx)tst-audit3): New rule.
2595         ($(objpfx)tst-audit3.out): Likewise.
2596         * sysdeps/i386/tst-audit3.c: New file.
2597         * sysdeps/i386/tst-audit3.h: Likewise.
2598         * sysdeps/i386/tst-auditmod3a.c: Likewise.
2599         * sysdeps/i386/tst-auditmod3b.c: Likewise.
2601 2015-07-07  Torvald Riegel  <triegel@redhat.com>
2603         [BZ #18633]
2604         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2605         pointer in C code.
2606         (__strcat_c): Likewise.
2607         (__strcat_g): Likewise.
2609 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
2611         [BZ #18592]
2612         * misc/sbrk.c: Set errno to ENOMEM on overflow.
2614 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2616         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2617         New function.  (__ieee754_sqrtf): New function.
2618         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2619         New function.
2620         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2621         New function.
2623 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2625         * sysdeps/ieee754/support.c: Remove unused file.
2627 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2629         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2630         registers instead of d ones so the layout is kernel abi compatible.
2631         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2632         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2633         Likewise.
2635 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2637         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2639 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2641         [BZ #18619]
2642         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2643         and return argument in case of subnormal argument.
2645 2015-07-01  Martin Sebor  <msebor@redhat.com>
2647         [BZ #18435]
2648         * nptl/Makefile: Add tst-once5.cc.
2649         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2650         Remove macro redefinitions.
2651         * nptl/tst-once5.cc: New test.
2653 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2655         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2657         * sysdeps/arm/libm-test-ulps: Regenerated.
2659         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2660         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2662 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2664         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2665         lll_lock_wait_private and lll_futex_wake probes.
2667         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2668         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2669         Likewise.
2670         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2671         atomic_spin_nop.
2672         * sysdeps/x86_64/bits/atomic.h: Likewise.
2673         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2674         to atomic_spin_nop and move ...
2675         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2676         ... here and ...
2677         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2678         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2679         atomic_spin_nop instead of BUSY_WAIT_NOP.
2680         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2681         Likewise.
2682         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2683         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2684         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2685         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2686         instead of atomic_delay.
2688 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2690         [BZ #18613]
2691         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2692         X_ADJ not X when adjusting exponent.
2693         (__ieee754_gamma_r): Do intermediate computations in
2694         round-to-nearest then adjust overflowing and underflowing results
2695         as needed.
2696         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2697         of X_ADJ not X when adjusting exponent.
2698         (__ieee754_gammaf_r): Do intermediate computations in
2699         round-to-nearest then adjust overflowing and underflowing results
2700         as needed.
2701         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2702         log of X_ADJ not X when adjusting exponent.
2703         (__ieee754_gammal_r): Do intermediate computations in
2704         round-to-nearest then adjust overflowing and underflowing results
2705         as needed.  Use 1.0L not 1.0f as numerator of division.
2706         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2707         log of X_ADJ not X when adjusting exponent.
2708         (__ieee754_gammal_r): Do intermediate computations in
2709         round-to-nearest then adjust overflowing and underflowing results
2710         as needed.  Use 1.0L not 1.0f as numerator of division.
2711         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2712         of X_ADJ not X when adjusting exponent.
2713         (__ieee754_gammal_r): Do intermediate computations in
2714         round-to-nearest then adjust overflowing and underflowing results
2715         as needed.  Use 1.0L not 1.0f as numerator of division.
2716         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2717         to auto-libm-test-in.
2718         (tgamma_test): Use ALL_RM_TEST.
2719         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2720         tests of tgamma with spurious-overflow.
2721         * math/auto-libm-test-out: Regenerated.
2722         * math/gen-libm-have-vector-test.sh: Do not check for START.
2723         * sysdeps/i386/fpu/libm-test-ulps: Update.
2724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2726         [BZ #18612]
2727         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2728         arguments, just return 0.5 times the argument, with underflow
2729         forced as needed.
2730         * math/auto-libm-test-in: Add more tests of j1.
2731         * math/auto-libm-test-out: Regenerated.
2733         [BZ #16559]
2734         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2735         (__ieee754_j1): Force underflow exception for small results.
2736         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2737         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2738         (__ieee754_j1f): Force underflow exception for small results.
2739         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2740         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2741         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2742         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2743         (__ieee754_j1l): Force underflow exception for small results.
2744         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2745         * math/auto-libm-test-in: Add more tests of j1 and jn.
2746         * math/auto-libm-test-out: Regenerated.
2748         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2749         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2750         (PF_MPLS): Likewise.
2751         (AF_IB): Likewise.
2752         (AF_MPLS): Likewise.
2753         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2754         value and macro.
2755         (MS_RMT_MASK): Include MS_LAZYTIME.
2757 2015-06-26  Mel Gorman  <mgorman@suse.de>
2759         [BZ #18502]
2760         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2761         already minimal.
2763 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2765         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2766         (DT_MIPS_NUM): Update.
2767         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2768         DT_MIPS_RLD_MAP_REL.
2770 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2772         [BZ #16559]
2773         [BZ #18602]
2774         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2775         round-to-nearest internally then recompute results that
2776         underflowed to zero in the original rounding mode.
2777         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2778         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2779         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2780         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2781         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2782         * sysdeps/i386/fpu/libm-test-ulps: Update.
2783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2785 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2787         * NEWS: Fixed description of link with vector math library.
2789 2015-06-25  Andreas Schwab  <schwab@suse.de>
2791         [BZ #18549]
2792         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2793         * libio/test-fmemopen.c (do_test): Add test for it.
2795 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2797         [BZ #17841]
2798         * Makeconfig (no-pie-ldflag): New.
2799         (+link): Set to $(+link-pie) if default to PIE.
2800         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2801         * config.make.in (build-pie-default): New.
2802         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2803         is default.  AC_SUBST.
2804         * configure: Regenerated.
2805         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2807 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2809         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2810         to 'unsigned int'.
2812         * resolv/gai_misc.h (struct waitlist): Change type of field
2813         counterp to 'volatile unsigned int *'.
2814         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2815         FUTEXADDR and OLDVAL.
2816         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2817         Give local variable TOTAL type 'volatile unsigned int'.
2818         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2819         * resolv/gai_suspend.c (gai_suspend):
2820         Give local variable CNTR type 'unsigned int'.
2822         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2823         counterp to 'volatile unsigned int *'.
2824         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2825         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2826         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2827         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2828         Give local variable TOTAL type 'volatile unsigned int'.
2829         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2831 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2833         [BZ #18383]
2834         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2835         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2836         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2837         comment for i386/x86-64.
2838         (test-xfail-tst-tlsalign-extern-static): Removed.
2840 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2842         * math/test-double.h: New file.
2843         * math/test-float.h: Likewise.
2844         * math/test-ldouble.h: Likewise.
2845         * math/test-math-inline.h: Likewise.
2846         * math/test-math-no-inline.h: Likewise.
2847         * math/test-math-scalar.h: Likewise.
2848         * math/test-math-vector.h: Likewise.
2849         * math/test-vec-loop.h: Remove file.  Contents moved into
2850         test-math-vector.h.
2851         * math/libm-test.inc (MATHCONST): Do not document macro.
2852         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2853         and test-math-scalar.h.
2854         (FUNC): Remove macro.
2855         (FUNC_TEST): Likewise.
2856         (FLOAT): Likewise.
2857         (MATHCONST): Likewise.
2858         (PRINTF_EXPR): Likewise.
2859         (PRINTF_XEXPR): Likewise.
2860         (PRINTF_NEXPR): Likewise.
2861         (TEST_DOUBLE): Likewise.
2862         (TEST_MATHVEC): Likewise.
2863         (__NO_MATH_INLINES): Likewise.
2864         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2865         and test-math-scalar.h.
2866         (FUNC): Remove macro.
2867         (FUNC_TEST): Likewise.
2868         (FLOAT): Likewise.
2869         (MATHCONST): Likewise.
2870         (PRINTF_EXPR): Likewise.
2871         (PRINTF_XEXPR): Likewise.
2872         (PRINTF_NEXPR): Likewise.
2873         (TEST_FLOAT): Likewise.
2874         (TEST_MATHVEC): Likewise.
2875         (__NO_MATH_INLINES): Likewise.
2876         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2877         and test-math-scalar.h.
2878         (FUNC): Remove macro.
2879         (FUNC_TEST): Likewise.
2880         (FLOAT): Likewise.
2881         (MATHCONST): Likewise.
2882         (PRINTF_EXPR): Likewise.
2883         (PRINTF_XEXPR): Likewise.
2884         (PRINTF_NEXPR): Likewise.
2885         (TEST_DOUBLE): Likewise.
2886         (TEST_MATHVEC): Likewise.
2887         (TEST_INLINE): Likewise.
2888         (__NO_MATH_INLINES): Likewise.
2889         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2890         test-math-scalar.h.
2891         (FUNC): Remove macro.
2892         (FUNC_TEST): Likewise.
2893         (FLOAT): Likewise.
2894         (MATHCONST): Likewise.
2895         (PRINTF_EXPR): Likewise.
2896         (PRINTF_XEXPR): Likewise.
2897         (PRINTF_NEXPR): Likewise.
2898         (TEST_FLOAT): Likewise.
2899         (TEST_MATHVEC): Likewise.
2900         (TEST_INLINE): Likewise.
2901         (__NO_MATH_INLINES): Likewise.
2902         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2903         and test-math-scalar.h.
2904         (FUNC): Remove macro.
2905         (FUNC_TEST): Likewise.
2906         (FLOAT): Likewise.
2907         (MATHCONST): Likewise.
2908         (PRINTF_EXPR): Likewise.
2909         (PRINTF_XEXPR): Likewise.
2910         (PRINTF_NEXPR): Likewise.
2911         (TEST_LDOUBLE): Likewise.
2912         (TEST_MATHVEC): Likewise.
2913         (TEST_INLINE): Likewise.
2914         (__NO_MATH_INLINES): Likewise.
2915         * math/test-ldouble.c: Include test-ldouble.h,
2916         test-math-no-inline.h and test-math-scalar.h.
2917         (FUNC): Remove macro.
2918         (FUNC_TEST): Likewise.
2919         (FLOAT): Likewise.
2920         (MATHCONST): Likewise.
2921         (PRINTF_EXPR): Likewise.
2922         (PRINTF_XEXPR): Likewise.
2923         (PRINTF_NEXPR): Likewise.
2924         (TEST_LDOUBLE): Likewise.
2925         (TEST_MATHVEC): Likewise.
2926         (__NO_MATH_INLINES): Likewise.
2927         * math/test-double-vlen2.h: Include test-double.h,
2928         test-math-no-inline.h and test-math-vector.h.
2929         (FLOAT): Remove macro.
2930         (FUNC): Likewise.
2931         (MATHCONST): Likewise.
2932         (PRINTF_EXPR): Likewise.
2933         (PRINTF_XEXPR): Likewise.
2934         (PRINTF_NEXPR): Likewise.
2935         (TEST_DOUBLE): Likewise.
2936         (TEST_MATHVEC): Likewise.
2937         (__NO_MATH_INLINES): Likewise.
2938         (CNCT): Likewise.
2939         (CONCAT): Likewise.
2940         (WRAPPER_NAME): Likewise.
2941         (WRAPPER_DECL): Likewise.
2942         (WRAPPER_DECL_ff): Likewise.
2943         (WRAPPER_DECL_fFF): Likewise.
2944         (VECTOR_WRAPPER): Likewise.
2945         (VECTOR_WRAPPER_ff): Likewise.
2946         (VECTOR_WRAPPER_fFF): Likewise.
2947         (VEC_LEN): New macro.
2948         * math/test-double-vlen4.h: Include test-double.h,
2949         test-math-no-inline.h and test-math-vector.h.
2950         (FLOAT): Remove macro.
2951         (FUNC): Likewise.
2952         (MATHCONST): Likewise.
2953         (PRINTF_EXPR): Likewise.
2954         (PRINTF_XEXPR): Likewise.
2955         (PRINTF_NEXPR): Likewise.
2956         (TEST_DOUBLE): Likewise.
2957         (TEST_MATHVEC): Likewise.
2958         (__NO_MATH_INLINES): Likewise.
2959         (CNCT): Likewise.
2960         (CONCAT): Likewise.
2961         (WRAPPER_NAME): Likewise.
2962         (WRAPPER_DECL): Likewise.
2963         (WRAPPER_DECL_ff): Likewise.
2964         (WRAPPER_DECL_fFF): Likewise.
2965         (VECTOR_WRAPPER): Likewise.
2966         (VECTOR_WRAPPER_ff): Likewise.
2967         (VECTOR_WRAPPER_fFF): Likewise.
2968         (VEC_LEN): New macro.
2969         * math/test-double-vlen8.h: Include test-double.h,
2970         test-math-no-inline.h and test-math-vector.h.
2971         (FLOAT): Remove macro.
2972         (FUNC): Likewise.
2973         (MATHCONST): Likewise.
2974         (PRINTF_EXPR): Likewise.
2975         (PRINTF_XEXPR): Likewise.
2976         (PRINTF_NEXPR): Likewise.
2977         (TEST_DOUBLE): Likewise.
2978         (TEST_MATHVEC): Likewise.
2979         (__NO_MATH_INLINES): Likewise.
2980         (CNCT): Likewise.
2981         (CONCAT): Likewise.
2982         (WRAPPER_NAME): Likewise.
2983         (WRAPPER_DECL): Likewise.
2984         (WRAPPER_DECL_ff): Likewise.
2985         (WRAPPER_DECL_fFF): Likewise.
2986         (VECTOR_WRAPPER): Likewise.
2987         (VECTOR_WRAPPER_ff): Likewise.
2988         (VECTOR_WRAPPER_fFF): Likewise.
2989         (VEC_LEN): New macro.
2990         * math/test-float-vlen4.h: Include test-float.h,
2991         test-math-no-inline.h and test-math-vector.h.
2992         (FLOAT): Remove macro.
2993         (FUNC): Likewise.
2994         (MATHCONST): Likewise.
2995         (PRINTF_EXPR): Likewise.
2996         (PRINTF_XEXPR): Likewise.
2997         (PRINTF_NEXPR): Likewise.
2998         (TEST_FLOAT): Likewise.
2999         (TEST_MATHVEC): Likewise.
3000         (__NO_MATH_INLINES): Likewise.
3001         (CNCT): Likewise.
3002         (CONCAT): Likewise.
3003         (WRAPPER_NAME): Likewise.
3004         (WRAPPER_DECL): Likewise.
3005         (WRAPPER_DECL_ff): Likewise.
3006         (WRAPPER_DECL_fFF): Likewise.
3007         (VECTOR_WRAPPER): Likewise.
3008         (VECTOR_WRAPPER_ff): Likewise.
3009         (VECTOR_WRAPPER_fFF): Likewise.
3010         (VEC_LEN): New macro.
3011         * math/test-float-vlen8.h: Include test-float.h,
3012         test-math-no-inline.h and test-math-vector.h.
3013         (FLOAT): Remove macro.
3014         (FUNC): Likewise.
3015         (MATHCONST): Likewise.
3016         (PRINTF_EXPR): Likewise.
3017         (PRINTF_XEXPR): Likewise.
3018         (PRINTF_NEXPR): Likewise.
3019         (TEST_FLOAT): Likewise.
3020         (TEST_MATHVEC): Likewise.
3021         (__NO_MATH_INLINES): Likewise.
3022         (CNCT): Likewise.
3023         (CONCAT): Likewise.
3024         (WRAPPER_NAME): Likewise.
3025         (WRAPPER_DECL): Likewise.
3026         (WRAPPER_DECL_ff): Likewise.
3027         (WRAPPER_DECL_fFF): Likewise.
3028         (VECTOR_WRAPPER): Likewise.
3029         (VECTOR_WRAPPER_ff): Likewise.
3030         (VECTOR_WRAPPER_fFF): Likewise.
3031         (VEC_LEN): New macro.
3032         * math/test-float-vlen16.h: Include test-float.h,
3033         test-math-no-inline.h and test-math-vector.h.
3034         (FLOAT): Remove macro.
3035         (FUNC): Likewise.
3036         (MATHCONST): Likewise.
3037         (PRINTF_EXPR): Likewise.
3038         (PRINTF_XEXPR): Likewise.
3039         (PRINTF_NEXPR): Likewise.
3040         (TEST_FLOAT): Likewise.
3041         (TEST_MATHVEC): Likewise.
3042         (__NO_MATH_INLINES): Likewise.
3043         (CNCT): Likewise.
3044         (CONCAT): Likewise.
3045         (WRAPPER_NAME): Likewise.
3046         (WRAPPER_DECL): Likewise.
3047         (WRAPPER_DECL_ff): Likewise.
3048         (WRAPPER_DECL_fFF): Likewise.
3049         (VECTOR_WRAPPER): Likewise.
3050         (VECTOR_WRAPPER_ff): Likewise.
3051         (VECTOR_WRAPPER_fFF): Likewise.
3052         (VEC_LEN): New macro.
3053         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
3054         test-vec-loop.h.
3055         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3056         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3057         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3058         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3059         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3060         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3061         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3063 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3065         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
3066         (__getlogin_r): ... this.
3068 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3070         [BZ #18594]
3071         * math/s_ccosh.c (__ccosh): Compare with least normal value
3072         instead of comparing class with FP_SUBNORMAL.
3073         * math/s_ccoshf.c (__ccoshf): Likewise.
3074         * math/s_ccoshl.c (__ccoshl): Likewise.
3075         * math/s_cexp.c (__cexp): Likewise.
3076         * math/s_cexpf.c (__cexpf): Likewise.
3077         * math/s_cexpl.c (__cexpl): Likewise.
3078         * math/s_csin.c (__csin): Likewise.
3079         * math/s_csinf.c (__csinf): Likewise.
3080         * math/s_csinh.c (__csinh): Likewise.
3081         * math/s_csinhf.c (__csinhf): Likewise.
3082         * math/s_csinhl.c (__csinhl): Likewise.
3083         * math/s_csinl.c (__csinl): Likewise.
3084         * math/s_ctan.c (__ctan): Likewise.
3085         * math/s_ctanf.c (__ctanf): Likewise.
3086         * math/s_ctanh.c (__ctanh): Likewise.
3087         * math/s_ctanhf.c (__ctanhf): Likewise.
3088         * math/s_ctanhl.c (__ctanhl): Likewise.
3089         * math/s_ctanl.c (__ctanl): Likewise.
3090         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
3091         csin, csinh, ctan and ctanh.
3092         * math/auto-libm-test-out: Regenerated.
3093         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
3094         * sysdeps/i386/fpu/libm-test-ulps: Update.
3095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3097 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3099         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
3100         return value is wrong, print the expected value too.
3102 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
3104         [BZ #18585]
3105         * elf/readlib.c (is_gdb_python_file): New.
3106         (process_file): Don't issue errors on filenames with -gdb.py
3107         suffix.
3109 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3111         * math/auto-libm-test-in: Add more tests of csin and csinh.
3112         * math/auto-libm-test-out: Regenerated.
3113         * math/libm-test.inc (csin_test_data): Remove tests moved to
3114         auto-libm-test-in.
3115         (csinh_test_data): Likewise.
3117         [BZ #18593]
3118         * math/s_csin.c (__csin): Negate before rather than after possibly
3119         overflowing multiplication.
3120         * math/s_csinf.c (__csinf): Likewise.
3121         * math/s_csinh.c (__csinh): Likewise.
3122         * math/s_csinhf.c (__csinhf): Likewise.
3123         * math/s_csinhl.c (__csinhl): Likewise.
3124         * math/s_csinl.c (__csinl): Likewise.
3125         * math/auto-libm-test-in: Add some tests of csin and csinh.
3126         * math/auto-libm-test-out: Regenerated.
3127         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
3128         (csinh_test_data): Likewise.
3129         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3131         [BZ #18586]
3132         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
3133         underflow exception for small results.
3135 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
3137         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3138         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
3139         variable and included header.
3140         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
3141         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
3142         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
3143         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
3144         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
3145         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3146         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3147         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
3148         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
3149         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
3150         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
3151         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
3152         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
3153         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
3154         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
3155         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
3157 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3159         [BZ #16526]
3160         [BZ #16538]
3161         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
3162         (__sin): Force underflow exception for arguments with small
3163         absolute value.
3164         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
3165         (__kernel_sinf): Force underflow exception for arguments with
3166         small absolute value.
3167         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
3168         (__kernel_sincosl): Force underflow exception for arguments with
3169         small absolute value.
3170         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
3171         (__kernel_sinl): Force underflow exception for arguments with
3172         small absolute value.
3173         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
3174         (__kernel_sincosl): Force underflow exception for arguments with
3175         small absolute value.
3176         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
3177         (__kernel_sinl): Force underflow exception for arguments with
3178         small absolute value.
3179         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
3180         (__kernel_sinl): Force underflow exception for arguments with
3181         small absolute value.
3182         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
3183         (__kernel_sinf): Force underflow exception for arguments with
3184         small absolute value.
3185         * math/auto-libm-test-in: Add more tests of sin and sincos.
3186         * math/auto-libm-test-out: Regenerated.
3188         [BZ #18245]
3189         [BZ #18583]
3190         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
3191         (__kernel_standard_l): Use feholdexcept and fesetenv around
3192         conversion to double instead of special-casing overflow and
3193         underflow.
3194         * math/libm-test.inc (fmod_test_data): Add more tests.
3195         (remainder_test_data): Likewise.
3196         (sqrt_test_data): Likewise.
3198 2015-06-23  Torvald Riegel  <triegel@redhat.com>
3200         [BZ #17403]
3201         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
3202         atomic_read_barrier, atomic_write_barrier): Define.
3203         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
3204         atomic_read_barrier, atomic_write_barrier): Define.
3206 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3208         * math/Makefile [$(PERL) != no]
3209         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
3210         dependency on libm-test.stmp below the inclusion of Rules.
3212 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
3214         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3215         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
3216         and included header.
3217         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
3218         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
3219         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
3220         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
3221         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
3222         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
3223         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3224         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3225         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
3226         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
3227         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
3228         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
3229         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
3230         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
3231         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
3232         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
3233         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
3234         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
3235         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
3237 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3239         [BZ #18371]
3240         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
3241         intermediate but not final result might underflow.
3242         * math/s_csqrtf.c (__csqrtf): Likewise.
3243         * math/s_csqrtl.c (__csqrtl): Likewise.
3244         * math/auto-libm-test-in: Add more tests of csqrt.
3245         * math/auto-libm-test-out: Regenerated.
3246         * sysdeps/i386/fpu/libm-test-ulps: Update.
3248         [BZ #18219]
3249         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
3250         threshold on absolute value of exponent for which scaling is used.
3251         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3252         * math/auto-libm-test-in: Add more tests of exp2.
3253         * math/auto-libm-test-out: Regenerated.
3255 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
3257         [BZ #17977]
3258         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
3259         when initializing interface list, based on the bug analysis
3260         and the patch proposed by Eric Newton.
3261         * resolv/tst-res_hconf_reorder.c: New test.
3262         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
3263         tst-res_hconf_reorder.
3264         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
3265         and $(shared-thread-library).
3266         (tst-res_hconf_reorder-ENV): New variable.
3268         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
3269         in comment.
3271 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
3273         [BZ #16353]
3274         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
3275         (__expm1): Force underflow exception for arguments with small
3276         absolute value.
3277         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
3278         (__expm1f): Force underflow exception for arguments with small
3279         absolute value.
3280         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
3281         (__expm1): Force underflow exception for arguments with small
3282         absolute value.
3283         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
3284         (__expm1f): Force underflow exception for arguments with small
3285         absolute value.
3286         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3287         Check for small arguments before calling __expm1.
3288         * math/auto-libm-test-in: Do not mark underflow exceptions as
3289         possibly missing for bug 16353.
3290         * math/auto-libm-test-out: Regenerated.
3292 2015-06-22  Andreas Schwab  <schwab@suse.de>
3294         [BZ #18513]
3295         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
3296         PTR queries.
3298 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
3300         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
3302         * string/strcoll_l.c: Remove unused struct element idxnow.
3304 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
3306         [BZ #18569]
3307         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
3308         underflow and return argument in case of subnormal argument.
3309         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3310         Likewise.
3311         * math/auto-libm-test-in: Add more tests of expm1.
3312         * math/auto-libm-test-out: Regenerated.
3314         [BZ #16361]
3315         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3316         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3317         tiny results.
3318         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3319         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3320         tiny results.
3321         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
3322         mark underflow exceptions as possibly missing for bug 16361.
3323         * math/auto-libm-test-out: Regenerated.
3325 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
3327         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
3328         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
3329         Remove variable.
3330         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3331         (test-xfail-XOPEN2K8/utmpx.h/conform).
3333         * conform/conformtest.pl ($xerrors): New variable.
3334         (note_error): New function.
3335         (compiletest): New argument $xfail.  Use not_error.
3336         (runtest): Likewise.
3337         (top level): Handle xfail- lines.  Update calls to compiletest and
3338         runtest.  Handle xfail- and optional- in headers listed with
3339         allow-header.
3340         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
3341         (O_EXEC): Likewise.
3342         (O_SEARCH): Likewise.
3343         * conform/data/stropts.h-data (ioctl): Likewise.
3344         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
3345         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
3346         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
3347         (msghdr.msg_controllen): Likewise.
3348         (cmsghdr.cmsg_len): Likewise.
3349         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
3350         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
3351         variable.
3352         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3353         (test-xfail-XPG4/stropts.h/conform): Likewise.
3354         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3355         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3356         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3357         (test-xfail-UNIX98/stropts.h/conform): Likewise.
3358         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3359         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3360         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3361         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3362         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3363         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3364         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3365         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3366         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3367         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3368         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3369         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3370         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3371         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3372         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3374 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3376         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
3377         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
3378         definitions for proper unfolding of __MATHDECL_VEC.
3380 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3382         * benchtests/bench-strcoll.c:
3383         Include string.h.
3384         (main): Remove unused variable res.
3386 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3388         * timezone/Makefile (%/UTC %/Universal):
3389         Generate test-result files for UTC and Universal.
3391 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3393         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3395 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
3397         [BZ #16350]
3398         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
3399         for arguments with small absolute value.
3400         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
3401         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
3402         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
3403         (__asinh): Force underflow exception for arguments with small
3404         absolute value.
3405         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
3406         (__asinhf): Force underflow exception for arguments with small
3407         absolute value.
3408         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
3409         (__asinhl): Force underflow exception for arguments with small
3410         absolute value.
3411         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
3412         (__asinhl): Force underflow exception for arguments with small
3413         absolute value.
3414         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
3415         (__asinhl): Force underflow exception for arguments with small
3416         absolute value.
3417         * math/auto-libm-test-in: Do not mark underflow exceptions as
3418         possibly missing for bug 16350.
3419         * math/auto-libm-test-out: Regenerated.
3421         * include/bits/ipc.h: Remove file.
3422         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
3423         variable.
3424         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3425         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3426         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3427         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3428         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3429         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3430         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3431         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3432         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3434         * math/auto-libm-test-in: Remove spurious underflow allowance for
3435         tests of cexp.
3436         * math/auto-libm-test-out: Regenerated.
3438         [BZ #18558]
3439         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
3440         unconditional definition.
3441         (MCAST_BLOCK_SOURCE): Likewise.
3442         (MCAST_UNBLOCK_SOURCE): Likewise.
3443         (MCAST_LEAVE_GROUP): Likewise.
3444         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3445         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3446         (MCAST_MSFILTER): Likewise.
3447         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
3448         Remove variable.
3449         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3450         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3451         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3452         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3453         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3455 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
3457         * NEWS: Mention addition of x86_64 vector sincosf.
3458         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
3459         * math/test-float-vlen4.h: Likewise.
3460         * math/test-float-vlen8.h: Likewise.
3461         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3462         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
3463         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3464         * sysdeps/x86_64/fpu/Versions: New versions added.
3465         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3466         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3467         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3468         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
3469         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3470         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
3471         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3472         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
3473         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3474         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
3475         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
3476         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
3477         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
3478         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
3479         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
3480         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
3481         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
3482         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3483         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3484         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3485         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3486         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3487         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3488         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3490         * NEWS: Mention addition of x86_64 vector sincos.
3491         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
3492         * math/math.h (__MATHDECL_VEC): New macro.
3493         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
3494         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
3495         declaration under condition.
3496         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
3497         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
3498         TEST_VEC_LOOP change.
3499         * math/test-double-vlen4.h: Likewise.
3500         * math/test-double-vlen8.h: Likewise.
3501         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
3502         * math/test-float-vlen4.h: Likewise.
3503         * math/test-float-vlen8.h: Likewise.
3504         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3505         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
3506         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3507         * sysdeps/x86_64/fpu/Versions: New versions added.
3508         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3509         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3510         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3511         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
3512         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
3513         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
3514         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
3515         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
3516         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
3517         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
3518         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
3519         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
3520         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
3521         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
3522         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
3523         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
3524         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
3525         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3526         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3527         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3528         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3529         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3530         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3531         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3533         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3534         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3535         redirections for powf.
3536         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3537         * sysdeps/x86_64/fpu/Versions: New versions added.
3538         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3539         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3540         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3541         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
3542         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
3543         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
3544         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
3545         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
3546         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
3547         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
3548         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
3549         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
3550         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
3551         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
3552         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
3553         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
3554         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
3555         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3556         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3557         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3558         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3559         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3560         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3561         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3562         * math/test-float-vlen16.h: Fixed 2 argument macro.
3563         * math/test-float-vlen4.h: Likewise.
3564         * math/test-float-vlen8.h: Likewise.
3565         * NEWS: Mention addition of x86_64 vector powf.
3567 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
3569         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3570         and redefine.
3571         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3572         and redefine.
3573         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
3574         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3575         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3577         [BZ #18553]
3578         * resource/getpriority.c (getpriority): Rename to __getpriority
3579         and define as weak alias of __getpriority.
3580         * resource/setpriority.c (setpriority): Rename to __setpriority
3581         and define as weak alias of __setpriority.
3582         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
3583         __getpriority and define as weak alias of __getpriority.
3584         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
3585         __setpriority and define as weak alias of __setpriority.
3586         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
3587         strong name.
3588         (setpriority): Use __setpriority as strong name.
3589         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
3590         __getpriority and define as weak alias of __getpriority.
3591         * include/sys/resource.h (__getpriority): Declare.  Use
3592         libc_hidden_proto.
3593         (__setpriority): Likewise.
3594         (getpriority): Don't use libc_hidden_proto.
3595         (setpriority): Likewise.
3596         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
3597         getpriority.  Call __setpriority instead of setpriority.
3598         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
3599         Remove variable.
3601         [BZ #18547]
3602         * misc/getttyent.c (getttynam): Rename to __getttynam and define
3603         as weak alias of __getttynam.  Use prototype function definition.
3604         Call __setttyent, __getttyent and __endttyent instead of
3605         setttyent, getttyent and endttyent.
3606         (getttyent): Rename to __getttyent and define as weak alias of
3607         __getttyent.  Call __setttyent instead of setttyent.  Call
3608         __fgets_unlocked instead of fgets_unlocked.
3609         (setttyent): Rename to __setttyent and define as weak alias of
3610         __setttyent.
3611         (endttyent): Rename to __endttyent and define as weak alias of
3612         __endttyent.
3613         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
3614         (__setttyent): Likewise.
3615         (__endttyent): Likewise.
3616         (getttyent): Don't use libc_hidden_proto.
3617         (setttyent): Likewise.
3618         (endttyent): Likewise.
3619         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3620         __endttyent instead of setttyent, getttyent and endttyent.
3621         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3622         Remove variable.
3624         [BZ #18546]
3625         * socket/recv.c (__recv): Use libc_hidden_def.
3626         * socket/socket.c (__socket): Likewise.
3627         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3628         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3629         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3630         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3631         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3632         libc_hidden_def.
3633         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3634         libc_hidden_weak.
3635         * include/sys/socket.h (__socket): Do not use attribute_hidden.
3636         Use libc_hidden_proto.
3637         (__recv): Likewise.
3638         * socket/Versions (libc): Export __recv and __socket at version
3639         GLIBC_PRIVATE.
3640         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3641         instead of recv.
3642         (init_mq_netlink): Call __socket instead of socket.
3643         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3644         Remove variable.
3646         [BZ #18545]
3647         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3648         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3649         hidden_weak.
3650         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3651         define as alias of __mq_timedsend.  Use hidden_weak.
3652         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3653         __mq_timedsend as strong name.
3654         (mq_timedreceive): Use __mq_timedreceive as strong name.
3655         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3656         (__mq_timedreceive): Likewise.
3657         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3658         __mq_timedreceive instead of mq_timedreceive.
3659         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3660         instead of mq_timedsend.
3661         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3662         Remove variable.
3664         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3665         hidden_def and hidden_weak instead of libc_hidden_def and
3666         libc_hidden_weak.
3667         (top level): Refer to hidden_def in comment.
3668         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3669         macro.  Use it instead of libc_hidden_def.
3670         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3671         specify __GI_* name explicitly.
3672         (mq_timedreceive): Likewise.
3673         (mq_setattr): Likewise.
3675         [BZ #18544]
3676         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3677         __pthread_barrier_init and define as weak alias of
3678         __pthread_barrier_init.
3679         * sysdeps/sparc/nptl/pthread_barrier_init.c
3680         (pthread_barrier_init): Likewise.
3681         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3682         __pthread_barrier_wait and define as weak alias of
3683         __pthread_barrier_wait.
3684         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3685         (pthread_barrier_wait): Likewise.
3686         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3687         (pthread_barrier_wait): Likewise.
3688         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3689         (pthread_barrier_wait): Likewise.
3690         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3691         (pthread_barrier_wait): Likewise.
3692         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3693         __pthread_barrier_wait at version GLIBC_PRIVATE.
3694         * include/pthread.h (__pthread_barrier_init): Declare.
3695         (__pthread_barrier_wait): Likewise.
3696         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3697         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3698         (helper_thread): Likewise.
3699         (init_mq_netlink): Call __pthread_barrier_init instead of
3700         pthread_barrier_init.
3702         [BZ #18542]
3703         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3704         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3705         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3706         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3707         vswscanf.
3708         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3709         Remove variable.
3711         [BZ #18540]
3712         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3713         strong alias of _IO_fflush.  Use libc_hidden_def.
3714         * libio/iofflush_u.c (fflush_unlocked): Rename to
3715         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3716         Use libc_hidden_weak.
3717         * include/stdio.h (__fflush_unlocked): Declare.  Use
3718         libc_hidden_proto.
3719         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3720         fflush_unlocked.
3721         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3722         Remove variable.
3724         [BZ #18539]
3725         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3726         define as weak alias of __addseverity.
3727         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3728         Remove variable.
3729         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3730         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3731         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3733         [BZ #18536]
3734         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3735         (__tfind): Likewise.
3736         (__tdelete): Likewise.
3737         (__twalk): Likewise.
3738         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3739         __twalk to GLIBC_PRIVATE.
3740         * include/search.h (__tsearch): Use libc_hidden_proto.
3741         (__tfind): Likewise.
3742         (__tdelete): Likewise.
3743         (__twalk): Likewise.
3744         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3745         Call __tdelete instead of tdelete.
3746         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3747         tfind.  Call __tsearch instead of tsearch.
3748         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3749         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3750         Remove variable.
3751         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3753         [BZ #18534]
3754         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3755         (dprintf): Define as a weak alias of __dprintf, not a strong
3756         alias.
3757         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3758         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3759         dprintf.
3760         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3761         Remove variable.
3762         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3763         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3765         [BZ #18533]
3766         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3767         not a strong alias.
3768         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3769         Remove variable.
3771         [BZ #18532]
3772         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3773         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3774         (in6addr_loopback): Rename to __in6addr_loopback and define as
3775         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3776         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3777         libc_hidden_proto.
3778         (__in6addr_any): Likewise.
3779         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3780         in6addr_any.
3781         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3782         variable.
3783         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3785 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3787         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3788         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3789         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3790         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3791         redirections for pow.
3792         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3793         * sysdeps/x86_64/fpu/Versions: New versions added.
3794         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3795         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3796         build of SSE, AVX2 and AVX512 IFUNC versions.
3797         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3798         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3799         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3800         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3801         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3802         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3803         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3804         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3805         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3806         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3807         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3808         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3809         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3810         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3811         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3812         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3813         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3814         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3815         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3816         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3817         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3818         * NEWS: Mention addition of x86_64 vector pow.
3820         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3821         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3822         redirections for expf.
3823         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3824         * sysdeps/x86_64/fpu/Versions: New versions added.
3825         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3826         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3827         build of SSE, AVX2 and AVX512 IFUNC versions.
3828         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3829         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3830         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3831         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3832         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3833         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3834         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3835         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3836         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3837         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3838         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3839         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3840         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3841         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3842         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3843         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3844         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3845         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3846         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3847         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3848         * NEWS: Mention addition of x86_64 vector expf.
3850         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3851         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3852         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3853         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3854         redirections for exp.
3855         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3856         * sysdeps/x86_64/fpu/Versions: New versions added.
3857         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3858         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3859         build of SSE, AVX2 and AVX512 IFUNC versions.
3860         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3861         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3862         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3863         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3864         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3865         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3866         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3867         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3868         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3869         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3870         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3871         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3872         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3873         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3874         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3875         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3876         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3877         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3878         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3879         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3880         * NEWS: Mention addition of x86_64 vector exp.
3882         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3883         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3884         redirections for logf.
3885         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3886         * sysdeps/x86_64/fpu/Versions: New versions added.
3887         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3888         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3889         build of SSE, AVX2 and AVX512 IFUNC versions.
3890         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3891         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3892         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3893         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3894         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3895         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3896         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3897         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3898         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3899         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3900         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3901         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3902         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3903         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3904         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3905         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3906         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3907         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3908         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3909         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3910         * NEWS: Mention addition of x86_64 vector logf.
3912         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3913         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3914         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3915         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3916         redirections for log.
3917         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3918         * sysdeps/x86_64/fpu/Versions: New versions added.
3919         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3920         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3921         build of SSE, AVX2 and AVX512 IFUNC versions.
3922         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3923         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3924         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3925         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3926         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3927         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3928         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3929         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3930         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3931         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3932         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3933         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3934         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3935         test.
3936         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3937         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3938         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3939         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3940         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3941         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3942         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3943         * NEWS: Mention addition of x86_64 vector log.
3945 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3947         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3948         cfi_adjust_cfa_offset argument.
3949         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3950         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3952         [BZ #18034]
3953         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3954         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3955         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3956         ordering using ldar.
3957         (_dl_tlsdesc_dynamic): Likewise.
3958         (_dl_tlsdesc_return_lazy): Likewise.
3959         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3960         relaxed atomics instead of volatile and synchronize with release store.
3961         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3962         volatile.
3963         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3965 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3967         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3968         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3969         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3970         * sysdeps/x86_64/fpu/Versions: New versions added.
3971         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3972         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3973         build of SSE, AVX2 and AVX512 IFUNC versions.
3974         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3975         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3976         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3977         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3978         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3979         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3980         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3981         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3982         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3983         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3984         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3985         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3986         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3987         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3988         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3989         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3990         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3991         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3992         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3993         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3994         * NEWS: Mention addition of x86_64 vector sinf.
3996 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3998         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3999         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
4000         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
4001         Remove variable.
4002         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4003         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4005 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
4007         [BZ #18530]
4008         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
4009         strong alias of _IO_fputs.  Use libc_hidden_def.
4010         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
4011         and define as weak alias of __fputs_unlocked.  Use
4012         libc_hidden_weak.
4013         * include/stdio.h (__fputs_unlocked): Declare.  Use
4014         libc_hidden_proto.
4015         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
4016         fputs_unlocked.
4018         [BZ #18529]
4019         * resolv/netdb.h [__USE_POSIX]: Change condition to
4020         [__USE_XOPEN2K].
4021         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
4022         not expect.
4023         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
4024         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
4025         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
4026         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
4027         [XPG4 || UNIX98] (AI_ALL): Likewise.
4028         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
4029         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
4030         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
4031         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
4032         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
4033         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
4034         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
4035         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
4036         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
4037         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
4038         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
4039         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
4040         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
4041         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
4042         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
4043         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4044         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4045         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
4046         [XPG4 || UNIX98] (gai_strerror): Likewise.
4047         [XPG4 || UNIX98] (getaddrinfo): Likewise.
4048         [XPG4 || UNIX98] (getnameinfo): Likewise.
4050         [BZ #18528]
4051         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
4052         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
4053         __USE_XOPEN2K8].
4054         (getgrent): Likewise.
4055         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
4056         expect.
4057         [XPG3 || POSIX2008] (endgrent): Likewise.
4058         [XPG3] (setgrent): Likewise.
4059         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
4060         variable.
4061         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4063         [BZ #18527]
4064         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
4065         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
4066         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
4067         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4068         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
4069         * include/unistd.h (__getlogin_r): Declare.  Use
4070         libc_hidden_proto.
4071         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
4072         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
4073         variable.
4074         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4075         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4076         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4078 2015-06-12  Martin Sebor  <msebor@redhat.com>
4080         [BZ #18512]
4081         * Makerules (check-install-supported): New target.
4082         (install): Add check-install-supported as a dependency.
4083         * manual/install.texi (Installing the C Library): Document
4084         that overriding prefix and exec_prefix is not supported.
4085         Mention DESTDIR.
4086         * INSTALL: Regenerate from the above.
4088 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
4090         [BZ #18519]
4091         * posix/Versions (libc): Export __libc_pread at version
4092         GLIBC_PRIVATE.
4093         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
4094         instead of pread.
4095         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
4096         variable.
4098         [BZ #18522]
4099         * misc/efgcvt_r.c
4100         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
4101         (cvt_symbol): Use weak_alias instead of strong_alias.
4102         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
4103         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
4104         Remove variable.
4105         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4106         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4108         [BZ #18520]
4109         * inet/herrno.c (h_errno): Rename to __h_errno.
4110         (__libc_h_errno): Define as alias of __h_errno not h_errno.
4111         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
4112         to __h_errno instead of h_errno.
4113         * nptl/herrno.c (h_errno): Rename to __h_errno.
4114         (__h_errno_location): Refer to __h_errno not h_errno.
4115         * resolv/Versions (h_errno): Rename to __h_errno.
4116         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
4117         Remove variable.
4118         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4120 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
4122         * configure.ac: More strict check for AVX512 assembler support.
4123         * configure: Regenerated.
4125         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
4126         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
4127         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4128         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
4129         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4130         * sysdeps/x86_64/fpu/Versions: New versions added.
4131         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4132         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4133         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4134         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
4135         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
4136         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
4137         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
4138         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
4139         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
4140         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
4141         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
4142         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
4143         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
4144         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
4145         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
4146         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
4147         test.
4148         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4149         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4150         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4151         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4152         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4153         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4154         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4155         * NEWS: Mention addition of x86_64 vector sin.
4157 2015-06-11  Florian Weimer  <fweimer@redhat.com>
4159         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
4160         comment.
4162 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4164         [BZ #18479]
4165         * nptl/pt-interp.c: New file.
4166         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
4167         Add pt-interp.
4168         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
4169         $(common-objpfx)runtime-linker.h.
4171 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
4173         * Makeconfig (+interp): Remove unused variable.
4174         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
4175         only.  Depend on $(common-objpfx)runtime-linker.h instead of
4176         $(elf-objpfx)runtime-linker.h.
4177         ($(elf-objpfx)runtime-linker.h): Rename to
4178         $(common-objpfx)runtime-linker.h and move ...
4179         * Makerules [$(build-shared) = yes]: ... here.
4180         * elf/interp.c: Include <runtime-linker.h> instead of
4181         <elf/runtime-linker.h>.
4183 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4185         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
4186         (__gettimeofday_syscall): Remove vsyscall fallback.
4187         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
4188         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
4189         Add syscall fallback function.
4190         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
4191         if vDSO is not present.
4192         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
4193         fallback function.
4194         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
4195         present.
4196         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
4197         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4199 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
4201         [BZ #18497]
4202         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
4203         of wcscmp.
4204         (wcscmp): Define as weak alias of WCSCMP.
4205         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
4206         wcscoll.
4207         (USE_HIDDEN_DEF): Define.
4208         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
4209         __wcscoll.  Don't use libc_hidden_weak.
4210         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
4211         wcscmp.
4212         * sysdeps/i386/i686/multiarch/wcscmp-c.c
4213         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
4214         __GI_wcscmp.
4215         (weak_alias): Undefine and redefine.
4216         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
4217         __wcscmp and define as weak alias of __wcscmp.
4218         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
4219         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
4220         (__wcscoll): Likewise.
4221         (wcscmp): Don't use libc_hidden_proto.
4222         (wcscoll): Likewise.
4223         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
4224         wcscoll.
4225         * posix/regexec.c (check_node_accept_bytes): Likewise.
4226         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
4227         variable.
4228         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4229         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4231         [BZ #18507]
4232         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
4233         __fstatvfs and define as weak alias of __fstatvfs.  Use
4234         libc_hidden_weak.
4235         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
4236         and define as weak alias of __statvfs.  Use libc_hidden_weak.
4237         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
4238         Define as alias of __fstatvfs, not fstatvfs.
4239         (fstatvfs64): Likewise.
4240         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
4241         Define as alias of __statvfs, not statvfs.
4242         (statvfs64): Likewise.
4243         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
4244         Remove variable.
4246 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4249         (HAVE_GETCPU_VSYSCALL): Define.
4250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4251         (HAVE_GETCPU_VSYSCALL): Likewise.
4252         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
4253         * sysdeps/unix/sysv/linux/sched_getcpu.c
4254         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
4255         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
4256         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
4257         prototype.
4258         * sysdeps/unix/sysv/linux/x86_64/init-first.c
4259         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
4260         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
4261         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
4262         Define.
4263         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
4264         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4265         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
4266         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4268 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
4270         * sysdeps/x86_64/fpu/Makefile: New file.
4271         * sysdeps/x86_64/fpu/Versions: New file.
4272         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
4273         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
4274         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
4275         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
4276         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
4277         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
4278         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
4279         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
4280         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
4281         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
4282         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
4283         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
4284         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
4285         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4286         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4287         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
4288         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
4289         * sysdeps/x86_64/configure.ac: Options for libmvec build.
4290         * sysdeps/x86_64/configure: Regenerated.
4291         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
4292         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
4293         * manual/install.texi (Configuring and compiling): Document
4294         --disable-mathvec.
4295         * INSTALL: Regenerated.
4296         * NEWS: Mention addition of libmvec and x86_64 vector cos.
4298         * math/Makefile: Added rules for vector tests.
4299         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
4300         declaration under condition.
4301         * math/test-double-vlen2.h: New file.
4302         * math/test-double-vlen4.h: New file.
4303         * math/test-double-vlen8.h: New file.
4304         * math/test-vec-loop.h: Added initialization macro.
4305         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
4306         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
4307         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
4308         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
4309         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
4310         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
4311         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
4312         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
4313         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
4314         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
4315         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
4317         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4318         * sysdeps/x86_64/fpu/Versions: New versions added.
4319         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
4320         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
4321         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
4322         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
4323         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
4324         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
4325         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
4326         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
4327         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
4328         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
4329         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
4330         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
4331         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
4332         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4333         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4334         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4335         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
4336         * NEWS: Mention addition of x86_64 vector cosf.
4338         * math/Makefile: Added CFLAGS for new tests.
4339         * math/test-float-vlen16.h: New file.
4340         * math/test-float-vlen4.h: New file.
4341         * math/test-float-vlen8.h: New file.
4342         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
4343         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
4344         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4345         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
4346         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
4347         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
4348         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
4349         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
4350         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
4351         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
4352         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
4354 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
4356         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
4357         * locale/programs/ld-ctype.c: Likewise.
4359 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
4361         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
4362         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
4363         bit_ZMM16_31_state): New macro.
4364         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4365         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
4367 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
4369         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
4371 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
4373         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
4375 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
4377         [BZ #18498]
4378         * libio/memstream.c (open_memstream): Rename to __open_memstream
4379         and define as weak alias of __open_memstream.
4380         * include/stdio.h (__open_memstream): Declare.  Use
4381         libc_hidden_proto.
4382         (open_memstream): Don't use libc_hidden_proto.
4383         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
4384         open_memstream.
4385         * posix/getopt.c (_getopt_internal_r): Likewise.
4386         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
4387         variable.
4388         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4389         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4390         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4392         [BZ #18496]
4393         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
4394         instead of wcrtomb.
4396         [BZ #18483]
4397         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
4398         [__USE_XOPEN2K8].  Remove redundant #endif.
4399         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
4400         Remove redundant #if.
4401         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
4402         Remove variable.
4403         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4404         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4406         [BZ #18495]
4407         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
4408         (__iswlower): Likewise.
4409         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
4410         (__iswlower): Likewise.
4411         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
4412         instead of towlower.
4413         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
4414         instead of iswlower.  Call __towupper instead of towupper.
4415         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
4416         instead of iswalnum.
4418 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4420         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
4421         errors to stderr.
4423 2015-06-05  Florian Weimer  <fweimer@redhat.com>
4425         [BZ #15661]
4426         [BZ #17322]
4427         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4428         Check for overflow properly.  Check for O_APPEND.  Ignore large
4429         file system block sizes.  Add comments about problems.
4430         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
4431         * manual/filesys.texi (Storage Allocation): New node.
4433 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4435         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
4436         cancellable syscalls.
4437         (SYS_ify): Add guard to no redefine it.
4438         (INLINE_SYSCALL): Likewise.
4439         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
4440         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
4441         SYSCALL_CANCEL instead.
4442         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
4443         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4444         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4445         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4446         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4447         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
4448         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
4449         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
4450         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4451         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4452         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
4453         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
4454         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
4455         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
4456         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
4457         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4458         Likewise.
4459         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4460         (__libc_pread64): Likewise.
4461         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
4462         (__libc_preadv): Likewise.
4463         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
4464         (__libc_readv64): Likewise.
4465         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4466         (__libc_pwrite): Likewise.
4467         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4468         (__libc_pwrite64): Likewise.
4469         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
4470         (__libc_pwritev): Likewise.
4471         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
4472         (__libc_pwritev64): Likewise.
4473         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
4474         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4475         (sync_file_range): Likewise.
4476         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
4477         Likewise.
4478         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
4479         Likewise.
4480         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4481         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4482         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4483         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4484         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4485         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4486         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4487         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
4488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4489         Likewise.
4490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4491         (__libc_read64): Likewise.
4492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
4493         Likewise.
4494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
4495         Likewise.
4496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
4497         Likewise.
4498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
4499         Likewise.
4500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4501         (__libc_pread64): Likewise.
4502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
4503         Likewise.
4504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4505         (__libc_pwrite64): Likewise.
4506         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
4507         (sync_file_range): Likewise.
4508         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
4509         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4510         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4511         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
4512         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
4513         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4514         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4515         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
4516         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
4517         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4518         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4519         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4520         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4521         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4522         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
4523         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4524         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4525         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4526         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4527         Likewise.
4528         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
4529         Likewise.
4530         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
4531         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
4532         Likewise.
4533         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
4534         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
4535         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
4536         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
4537         Likewise.
4538         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
4539         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
4540         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
4541         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
4542         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
4544 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
4546         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
4547         Include dl-vdso.
4548         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
4549         Use VDSO routines for gettimeofday, clock_gettime if
4550         available.
4551         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
4552         Declare VDSO symbols.
4553         * sysdeps/unix/sysv/linux/arm/sysdep.h:
4554         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
4555         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4556         * sysdeps/unix/sysv/linux/arm/Versions: Add
4557         __vdso_clock_gettime.
4559 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4561         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
4562         be an inline implementation regardless of library is built within.
4563         (open_not_cancel_2): Likewise.
4564         (__read_nocancel): Likewise.
4565         (__write_nocancel): Likewise.
4566         (openat_not_cancel): Likewise.
4567         (openat_not_cancel_3): Likewise.
4568         (openat64_not_cancel): Likewise.
4569         (openat64_not_cancel_3): Likewise.
4570         (__close_nocancel): Likewise.
4571         (pause_not_cancel): Likewise.
4572         (nanosleep_not_cancel): Likewise.
4573         (sigsuspend_not_cancel): Likewise.
4575 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4577         [BZ #14958]
4578         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
4579         wake-up.
4580         (__pthread_rwlock_rdlock_slow): Likewise.
4581         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4582         Likewise.
4583         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4584         Likewise.
4585         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
4586         * nptl/tst-rwlock16.c: New file.
4587         * nptl/Makefile (tests): Add new test.
4589 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4591         [BZ #18324]
4592         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
4593         missing wake-up of readers.
4594         * nptl/tst-rwlock15.c: New file.
4595         * nptl/Makefile (tests): Add new test.
4597 2015-06-03  Roland McGrath  <roland@hack.frob.com>
4599         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
4600         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4601         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4602         and __nacl_supply_interface_rtld.
4603         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4604         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4605         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4606         Add __nacl_supply_interface_rtld.
4607         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4609 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4611         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4612         isfinite.
4613         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4614         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4616 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4618         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4619         __signbit* with standard C99 macros.
4620         * math/e_exp10l.c: Likewise.
4621         * math/e_exp2l.c: Likewise.
4622         * math/e_scalb.c: Likewise.
4623         * math/e_scalbf.c: Likewise.
4624         * math/e_scalbl.c: Likewise.
4625         * math/s_ldexp.c: Likewise.
4626         * math/s_ldexpf.c: Likewise.
4627         * math/s_ldexpl.c: Likewise.
4628         * math/w_atan2.c: Likewise.
4629         * math/w_atan2f.c: Likewise.
4630         * math/w_atan2l.c: Likewise.
4631         * math/w_cosh.c: Likewise.
4632         * math/w_coshf.c: Likewise.
4633         * math/w_coshl.c: Likewise.
4634         * math/w_exp10.c: Likewise.
4635         * math/w_exp10f.c: Likewise.
4636         * math/w_exp10l.c: Likewise.
4637         * math/w_exp2.c: Likewise.
4638         * math/w_exp2f.c: Likewise.
4639         * math/w_exp2l.c: Likewise.
4640         * math/w_fmod.c: Likewise.
4641         * math/w_fmodf.c: Likewise.
4642         * math/w_fmodl.c: Likewise.
4643         * math/w_hypot.c: Likewise.
4644         * math/w_hypotf.c: Likewise.
4645         * math/w_hypotl.c: Likewise.
4646         * math/w_jnl.c: Likewise.
4647         * math/w_lgamma.c: Likewise.
4648         * math/w_lgamma_r.c: Likewise.
4649         * math/w_lgammaf.c: Likewise.
4650         * math/w_lgammaf_r.c: Likewise.
4651         * math/w_lgammal.c: Likewise.
4652         * math/w_lgammal_r.c: Likewise.
4653         * math/w_pow.c: Likewise.
4654         * math/w_powf.c: Likewise.
4655         * math/w_powl.c: Likewise.
4656         * math/w_remainder.c: Likewise.
4657         * math/w_remainderf.c: Likewise.
4658         * math/w_remainderl.c: Likewise.
4659         * math/w_scalb.c: Likewise.
4660         * math/w_scalbf.c: Likewise.
4661         * math/w_scalbl.c: Likewise.
4662         * math/w_scalbln.c: Likewise.
4663         * math/w_scalblnf.c: Likewise.
4664         * math/w_scalblnl.c: Likewise.
4665         * math/w_sinh.c: Likewise.
4666         * math/w_sinhf.c: Likewise.
4667         * math/w_sinhl.c: Likewise.
4668         * math/w_tgamma.c: Likewise.
4669         * math/w_tgammaf.c: Likewise.
4670         * math/w_tgammal.c: Likewise.
4671         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4672         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4673         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4674         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4675         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4676         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4677         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4678         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4679         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4680         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4681         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4682         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4683         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4684         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4685         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4686         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4687         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4688         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4689         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4690         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4691         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4692         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4693         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4694         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4695         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4696         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4697         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4698         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4699         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4700         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4701         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4702         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4703         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4704         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4705         * stdio-common/printf_fp.c: Likewise.
4706         * stdio-common/printf_fphex.c: Likewise.
4707         * stdio-common/printf_size.c: Likewise.
4709 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4711         [BZ #18470]
4712         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4713         strnlen.
4714         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4715         Remove variable.
4716         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4717         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4718         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4719         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4720         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4721         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4722         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4723         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4724         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4725         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4727         [BZ #18468]
4728         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4729         weak alias of __wmemchr.  Use libc_hidden_weak.
4730         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4731         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4732         instead of wmemchr.
4734 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4736         [BZ #18383]
4737         * elf/tst-tlsalign-extern.c: New file.
4738         * elf/tst-tlsalign-extern-static.c: New file.
4739         * elf/tst-tlsalign-vars.c: New file.
4740         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4741         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4742         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4743         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4744         (test-xfail-tst-tlsalign-extern-static): New variable.
4746 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4748         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4749         Use variable name _sc_err instead of err.
4750         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4751         instead of ret.
4752         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4753         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4754         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4755         (INLINE_SYSCALL): Likewise.
4757         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4758         * include/string.h (__strnlen): Use libc_hidden_proto.
4759         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4760         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4761         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4762         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4763         (libc_hidden_def): Undefine and redefine.
4764         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4765         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4766         __GI_strnlen.
4767         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4768         libc_hidden_def.
4769         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4771         [BZ #18469]
4772         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4773         weak alias of __towlower.  Use libc_hidden_weak.
4774         (towupper): Rename to __towupper and define as weak alias of
4775         __towupper.  Use libc_hidden_weak.
4776         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4777         (__towupper): Likewise.
4778         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4779         __towlower instead of towlower.
4781 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4783         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4784         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4786 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4788         * sysdeps/aarch64/libm-test-ulps: Update.
4790 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4792         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4793         Define.
4794         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4795         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4796         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4797         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4798         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4799         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4800         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4802 2015-06-01  Martin Sebor  <msebor@redhat.com>
4804         [BZ #18116]
4805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4806         (__setcontext): Use extended four-operand version of mtsf whenever
4807         possible.
4808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4809         (__novec_swapcontext): Likewise.
4811 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4813         * benchtests/scripts/compare_bench.py: New file.
4814         * benchtests/scripts/import_bench.py (mean): New function.
4815         (split_list): Likewise.
4816         (do_for_all_timings): Likewise.
4817         (compress_timings): Likewise.
4819         * benchtests/scripts/import_bench.py: New file.
4820         * benchtests/scripts/validate_benchout.py: Import import_bench
4821         instead of jsonschema.
4822         (validate_bench): Remove function.
4823         (main): Use import_bench.
4825 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4827         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4828         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4830 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4832         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4834 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4836         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4837         set THREAD_SELF->tid to a magic value and futex-wake it.
4838         Pass its address to the thread_exit system call.
4839         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4840         bit is clear.
4841         * sysdeps/nacl/lowlevellock.h: New file.
4842         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4844         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4845         Add TIMEOUT to current time, don't subtract it.
4847 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4849         [BZ #2981]
4850         [BZ #18422]
4851         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4852         ($(objpfx)tst-audit2.out): Also depend on
4853         $(objpfx)tst-auditmod9b.so.
4854         * elf/tst-audit2.c: Include <dlfcn.h>.
4855         (calloc_called): New.
4856         (calloc): Allow to be called more than once.
4857         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4859 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4861         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4862         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4864 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4866         * stdlib/monetary.h: Fix comment.
4868 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4870         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4871         Avoid using variables in #defines that might cause shadowing.
4872         (INTERNAL_VSYSCALL_CALL): Likewise.
4874 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4876         * sysdeps/nacl/lll_timedlock_wait.c: New file.
4878         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4879         * nptl/lll_timedlock_wait.c: ... to this new file.
4880         * nptl/Makefile (libpthread-routines): Add it.
4881         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4882         * nptl/lll_timedwait_tid.c: ... to this new file.
4883         * nptl/Makefile (libpthread-routines): Add it.
4884         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4885         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4886         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4887         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4888         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4889         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4890         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4891         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4892         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4893         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4895 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4897         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4898         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4899         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4900         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4901         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4902         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4903         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4904         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4905         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4906         * sysdeps/unix/sysv/linux/tile/sysdep.h
4907         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4908         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4909         using vDSO syscall macro.
4911 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4913         [BZ #17293]
4914         * uk_UA: Fix sorting order for Ukrainian locale
4916 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4918         * stdlib/monetary.h: Fix comment.
4920 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4922         [BZ #18234]
4923         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4924         st_mtim and st_ctim members.
4925         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4926         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4927         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4928         (struct stat64): Likewise.
4929         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4930         (struct stat64): Likewise.
4931         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4932         (struct stat64): Likewise.
4934 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4936         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4937         Define and include sysdep-vdso.h.
4938         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4939         Likewise.
4940         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4941         Likewise.
4942         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4943         Define with VDSO_SYMBOL and use PTR_MANGLE.
4944         (__vdso_clock_gettime): Likewise.
4945         (__vdso_clock_getres): Likewise.
4946         (_libc_vdso_platform_setup): Likewise.
4947         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4948         Likewise.
4949         (_libc_vdso_platform_setup): Likewise.
4950         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4951         Likewise.
4952         (__vdso_clock_gettime): Likewise.
4953         (__vdso_clock_getres): Likewise.
4954         (__vdso_get_tbfreq): Likewise.
4955         (__vdso_getcpu): Likewise.
4956         (__vdso_time): Likewise.
4957         (__vdso_sigtramp_rt64): Likewise.
4958         (__vdso_signtramp32): Likewise.
4959         (__vdso_sigtramp_rt32): Likewise.
4960         (_libc_vdso_platform_setup): Likewise.
4961         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4962         Likewise.
4963         (__vdso_clock_gettime): Likewise.
4964         (__vdso_clock_getres): Likewise.
4965         (_libc_vdso_platform_setup): Likewise.
4966         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4967         Likewise.
4968         (__vdso_clock_gettime): Likewise.
4969         (_libc_vdso_platform_setup): Likewise.
4970         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4971         Likewise.
4972         (__vdso_getcpu): Likewise.
4973         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4974         Use VDSO_SYMBOL macro to define.
4975         (__vdso_clock_gettime): Likewise.
4976         (__vdso_clock_getres): Likewise.
4977         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4978         Likewise.
4979         (__vdso_clock_gettime): Likewise.
4980         (__vdso_clock_getres): Likewise.
4981         (__vdso_get_tbfreq): Likewise.
4982         (__vdso_getcpu): Likewise.
4983         (__vdso_time): Likewise.
4984         (__vdso_sigtramp_rt64): Likewise.
4985         (__vdso_signtramp32): Likewise.
4986         (__vdso_sigtramp_rt32): Likewise.
4987         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4988         Likewise.
4989         (__vdso_clock_gettime): Likewise.
4990         (__vdso_clock_getres): Likewise.
4991         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4992         Likewise.
4993         (__vdso_clock_gettime): Likewise.
4994         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4995         Likewise.
4996         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4997         macro.
4998         (INTERNAL_VSYSCALL): Likewise.
4999         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
5000         Remove macro.
5001         (INTERNAL_VSYSCALL): Likewise.
5002         (INTERNAL_VSYSCALL_NCS): Likewise.
5003         (INTERNAL_VSYSCALL_CALL): New macro.
5004         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5005         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
5006         Likewise.
5007         (INTERNAL_VSYSCALL): Likewise.
5008         (INTERNAL_VSYSCALL_NCS): Likewise.
5009         (INTERNAL_VSYSCALL_CALL): New macro.
5010         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5012         (INLINE_VSYSCALL): Remove macro.
5013         (INTERNAL_VSYSCALL): Remove macro.
5014         (INTERNAL_VSYSCALL_NCS): Remove macro.
5015         (INTERNAL_VSYSCALL_CALL): New macro.
5016         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
5017         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
5018         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5019         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
5020         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5022         (INLINE_VSYSCALL): Remove macro.
5023         (INTERNAL_VSYSCALL): Likewise.
5024         (INTERNAL_VSYSCALL_NCS): Likewise.
5025         (INTERNAL_VSYSCALL_CALL): New macro.
5026         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
5027         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
5028         PTR_DEMANGLE on vDSO pointer.
5029         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5030         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
5031         macro.
5032         (INTERNAL_SYSCALL): Likewise.
5033         (INTERNAL_VSYSCALL_NCS): Remove macro.
5034         (INTERNAL_VSYSCALL_CALL): New macro.
5035         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
5036         Remove macro.
5037         (INTERNAL_VSYSCALL): Likewise.
5038         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
5039         sysdep-vdso.h instead of libc-vdso.h.
5040         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
5041         definition.
5042         (INLINE_VSYSCALL): Likewise.
5043         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
5044         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
5045         definition.
5046         (INLINE_VSYSCALL): Likewise.
5047         (INTERNAL_VSYSCALL): Likewise.
5048         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5049         * sysdeps/unix/sysv/linux/timespec_get.c
5050         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5051         (timespec_get): Use ANSI prototype.
5052         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
5053         and definition for Linux.
5055 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
5057         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
5058         * include/libc-symbols.h: libmvec_hidden_* macro series added.
5060 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
5062         [BZ #2981]
5063         [BZ #18410]
5064         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
5065         for missing DT_PLTRELSZ.
5067 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
5069         Remove obsolete aliases that broke 'locale -a'
5070         [BZ #18412]
5071         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
5072         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
5073         breaking some applications that use 'locale -a' output.
5074         Change the encoding of this file from Latin-1 to ASCII to avoid
5075         other potential problems with people grepping this file.
5077 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5079         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
5080         -fasynchronous-unwind-tables.
5081         (CFLAGS-sendto.c): Likewise.
5082         (CFLAGS-sendmsg.c): Likewise.
5083         (CFLAGS-connect.c): Likewise.
5084         (CFLAGS-recvmsg.c): Likewise.
5085         (CFLAGS-recvfrom.c): Likewise.
5086         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
5087         (SOCKETCALL): New macro: non-cancellable socketcall.
5088         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
5089         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
5090         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
5091         * sysdeps/unix/sysv/linux/accept.c: New file.
5092         * sysdeps/unix/sysv/linux/bind.c: Likewise.
5093         * sysdeps/unix/sysv/linux/connect.c: Likewise.
5094         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
5095         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
5096         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
5097         * sysdeps/unix/sysv/linux/listen.c: Likewise.
5098         * sysdeps/unix/sysv/linux/recv.c: Likewise.
5099         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
5100         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5101         * sysdeps/unix/sysv/linux/send.c: Likewise.
5102         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5103         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
5104         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
5105         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
5106         * sysdeps/unix/sysv/linux/socket.c: Likewise.
5107         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
5108         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
5109         prototype.
5110         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
5111         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5112         instead of __internal_xxx function.
5113         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
5114         prototype.
5115         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
5116         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5117         instead of __internal_xxx function.
5118         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
5119         prototype.
5120         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
5121         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5122         instead of __internal_xxx function.
5123         * sysdeps/unix/sysv/linux/accept.S: Remove file.
5124         * sysdeps/unix/sysv/linux/bind.S: Likewise.
5125         * sysdeps/unix/sysv/linux/connect.S: Likewise.
5126         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
5127         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
5128         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
5129         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
5130         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
5131         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
5132         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
5133         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
5134         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5135         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
5136         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
5137         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
5138         * sysdeps/unix/sysv/linux/listen.S: Likewise.
5139         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
5140         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
5141         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
5142         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
5143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
5144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
5145         * sysdeps/unix/sysv/linux/recv.S: Likewise.
5146         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5147         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5148         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
5149         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5150         * sysdeps/unix/sysv/linux/send.S: Likewise.
5151         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5152         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5153         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
5154         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
5155         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
5156         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
5157         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
5158         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
5159         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
5160         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
5161         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
5162         socketcall is implemented in GLIBC.
5164 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5166         * soft-fp/fmadf4.c: Include <libc-internal.h>.
5167         (__fma): Ignore uninitialized warnings around packing.
5168         * soft-fp/fmasf4.c: Include <libc-internal.h>.
5169         (__fmaf): Ignore uninitialized warnings around packing.
5170         * soft-fp/fmatf4.c: Include <libc-internal.h>.
5171         (__fmal): Ignore uninitialized warnings around packing.
5173         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
5174         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5175         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
5176         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5178         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
5179         switch statement into default case.
5180         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
5182         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
5183         a conditional in forcing "inexact".
5184         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5185         Likewise.
5187 2015-05-22  Roland McGrath  <roland@hack.frob.com>
5189         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5190         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
5191         for each INTERNAL_SYSCALL use.
5193 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5195         [BZ #438]
5196         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
5197         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
5198         variable.
5200         [BZ #18444]
5201         * string/basename.c (basename): Rename to __basename and define as
5202         weak alias of __basename.  Use libc_hidden_weak.
5203         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
5204         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
5205         __basename instead of basename.
5206         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
5207         Remove variable.
5208         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5210 2015-05-18  Florian Weimer  <fweimer@redhat.com>
5212         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
5213         (_IO_JUMPS_FILE_plus): New.
5214         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
5215         _IO_CAST_FIELD_ACCESS.
5216         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
5217         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
5218         * libio/freopen.c (freopen): Likewise.
5219         * libio/freopen64.c (freopen64): Likewise.
5220         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
5221         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
5222         * libio/iofwide.c (_IO_fwide): Likewise.
5223         * libio/memstream.c (open_memstream): Likewise.
5224         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5225         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5226         * libio/oldiopopen.c (_IO_old_popen): Likewise.
5228 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
5230         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
5231         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
5232         NADJ.
5233         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
5234         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
5235         NADJ.
5236         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
5237         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
5238         NADJ.
5240         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
5241         (p == 4) case.
5243         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
5244         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
5245         Remove variable.
5246         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5247         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5248         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5250 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5252         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
5253         Adjust jump table label generation macros.
5255 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5257         * stdio-common/vfprintf.c (vfprintf): Move local variables
5258         args_malloced, specs, specs_malloced, and the code after
5259         do_positional to the printf_positional function.
5260         (printf_positional): New function.
5262 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5264         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
5265         function.
5266         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
5267         STEP4_TABLE, process_arg): Move macro definitions
5268         out of the vfprintf function.  (Cosmetic change only.)
5270 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
5272         * benchtests/Makefile (stdio-common-bench): Define.
5273         (benchset): Add stdio-common-bench.
5274         * sprintf-inputs: New file.
5275         * sprintf-source.c: New file.
5277 2015-05-21  Andreas Schwab  <schwab@suse.de>
5279         [BZ #13028]
5280         [BZ #17053]
5281         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
5282         of struct __res_state.
5283         * resolv/res_send.c (__libc_res_nsend): Likewise.
5284         (get_nsaddr): New function.
5285         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
5286         statp directly.
5288 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
5290         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
5291         -D_POSIX_C_SOURCE=199506L.
5293         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
5295         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
5296         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
5297         Do not mention otherwise.
5298         [POSIX] (_XOPEN_VERSION): Do not expect.
5299         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
5300         [POSIX] (_POSIX2_C_BIND): Likewise.
5301         [POSIX] (_POSIX2_VERSION): Likewise.
5302         [POSIX] (_XOPEN_XPG2): Likewise.
5303         [POSIX] (_XOPEN_XPG3): Likewise.
5304         [POSIX] (_XOPEN_XPG4): Likewise.
5305         [POSIX] (_XOPEN_UNIX): Likewise.
5306         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
5307         [POSIX] (_POSIX_BARRIERS): Likewise.
5308         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
5309         [POSIX] (_POSIX_CPUTIME): Likewise.
5310         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
5311         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
5312         [POSIX] (_POSIX_SHELL): Likewise.
5313         [POSIX] (_POSIX_SPAWN): Likewise.
5314         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
5315         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
5316         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
5317         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
5318         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
5319         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
5320         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
5321         [POSIX] (_XBS5_LP64_OFF64): Likewise.
5322         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
5323         [POSIX] (_POSIX_TIMEOUTS): Likewise.
5324         [POSIX] (_POSIX2_PBS): Likewise.
5325         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
5326         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
5327         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
5328         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
5329         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
5330         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
5331         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
5332         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
5333         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
5334         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
5335         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
5336         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
5337         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
5338         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
5339         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
5340         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
5341         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
5342         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
5343         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
5344         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
5345         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
5346         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
5347         [POSIX] (_SC_2_C_BIND): Likewise.
5348         [POSIX] (_SC_2_C_VERSION): Likewise.
5349         [POSIX] (_SC_2_PBS): Likewise.
5350         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
5351         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
5352         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
5353         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
5354         [POSIX] (_SC_2_PBS_TRACK): Likewise.
5355         [POSIX] (_SC_ATEXIT_MAX): Likewise.
5356         [POSIX] (_SC_BARRIERS): Likewise.
5357         [POSIX] (_SC_BASE): Likewise.
5358         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
5359         [POSIX] (_SC_DEVICE_IO): Likewise.
5360         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
5361         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
5362         [POSIX] (_SC_FD_MGMT): Likewise.
5363         [POSIX] (_SC_FIFO): Likewise.
5364         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
5365         [POSIX] (_SC_FILE_LOCKING): Likewise.
5366         [POSIX] (_SC_FILE_SYSTEM): Likewise.
5367         [POSIX] (_SC_IOV_MAX): Likewise.
5368         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
5369         [POSIX] (_SC_NETWORKING): Likewise.
5370         [POSIX] (_SC_PAGE_SIZE): Likewise.
5371         [POSIX] (_SC_PASS_MAX): Likewise.
5372         [POSIX] (_SC_PIPE): Likewise.
5373         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
5374         [POSIX] (_SC_REGEXP): Likewise.
5375         [POSIX] (_SC_SHELL): Likewise.
5376         [POSIX] (_SC_SIGNALS): Likewise.
5377         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
5378         [POSIX] (_SC_SPIN_LOCKS): Likewise.
5379         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
5380         [POSIX] (_SC_USER_GROUPS): Likewise.
5381         [POSIX] (_SC_USER_GROUPS_R): Likewise.
5382         [POSIX] (_SC_STREAMS): Likewise.
5383         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
5384         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
5385         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
5386         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
5387         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
5388         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
5389         [POSIX] (_PC_FILESIZEBITS): Likewise.
5390         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
5391         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
5392         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
5393         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
5394         [POSIX] (uid_t): Likewise.
5395         [POSIX] (gid_t): Likewise.
5396         [POSIX] (off_t): Likewise.
5397         [POSIX] (pid_t): Likewise.
5398         [POSIX] (cuserid): Allow.
5399         (_SC_2_CHAR_TERM): Require constant.
5400         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
5401         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
5402         variable.
5404 2015-05-20  Roland McGrath  <roland@hack.frob.com>
5406         * sysdeps/nacl/pthread-pids.h: New file.
5407         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
5408         (create_thread): Use __nacl_get_tid to initialize PD->tid.
5410         * nptl/pthread-pids.h: New file.
5411         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
5412         * nptl/nptl-init.c: Include <pthread-pids.h>.
5413         (__pthread_initialize_minimal_internal):
5414         Call __pthread_initialize_pids instead of set_tid_address syscall.
5416         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
5417         * sysdeps/posix/usleep.c: ... here.
5419 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5421         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
5422         call_pselect6 object.
5423         [$(subdir) = io]: Remove call_sync_file_range object.
5424         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
5425         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
5426         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
5427         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
5429 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
5431         * math/s_cproj.c: Add include "math_private.h".
5432         * math/s_cprojf.c: Likewise.
5433         * math/s_cprojl.c: Likewise.
5435 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
5437         [BZ #18244]
5438         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
5439         high mantissa bit when testing whether P is a NaN.
5440         * math/libm-test.inc (remainder_test_data): Add more tests.
5441         (remquo_test_data): Likewise.
5443         [BZ #18049]
5444         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
5445         below -32, return the argument, with underflow if subnormal.
5446         * math/auto-libm-test-in: Add more tests of atanh.
5447         * math/auto-libm-test-out: Regenerated.
5449 2015-05-19  Roland McGrath  <roland@hack.frob.com>
5451         [BZ #18434]
5452         * nptl/tst-sem15.c: New file.
5453         * nptl/Makefile (tests): Add it.
5454         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
5455         s/<</>>/ to fix typo in EOVERFLOW check.
5456         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
5458 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5460         * manual/strings.texi (envz_remove): Fix typo in safety
5461         annotations.
5463 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
5464             Steve Ellcey  <sellcey@imgtec.com>
5466         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
5467         in order to avoid strict alias warnings.
5468         (iruserok_af): Ditto for ra.
5470 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
5472         [BZ #17581]
5473         * malloc/hooks.c
5474         (magicbyte): Convert to a function and avoid returning 0x01.
5475         (mem2mem_check): Avoid using a length byte equal to the magic byte.
5476         (mem2chunk_check): Fix unsigned comparisons to zero.
5477         Hoist defs of sz and magic.
5479 2015-05-19  Richard Henderson  <rth@redhat.com>
5481         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
5483         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5485 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5487         [BZ #16159]
5488         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
5489         * malloc/arena.c (arena_lock): Check if arena is corrupt.
5490         (reused_arena): Find a non-corrupt arena.
5491         (heap_trim): Pass arena to unlink.
5492         * malloc/hooks.c (malloc_check_get_size): Pass arena to
5493         malloc_printerr.
5494         (top_check): Likewise.
5495         (free_check): Likewise.
5496         (realloc_check): Likewise.
5497         * malloc/malloc.c (malloc_printerr): Add arena argument.
5498         (unlink): Likewise.
5499         (munmap_chunk): Adjust.
5500         (ARENA_CORRUPTION_BIT): New macro.
5501         (arena_is_corrupt): Likewise.
5502         (set_arena_corrupt): Likewise.
5503         (sysmalloc): Use mmap if there are no usable arenas.
5504         (_int_malloc): Likewise.
5505         (__libc_malloc): Don't fail if arena_get returns NULL.
5506         (_mid_memalign): Likewise.
5507         (__libc_calloc): Likewise.
5508         (__libc_realloc): Adjust for additional argument to
5509         malloc_printerr.
5510         (_int_free): Likewise.
5511         (malloc_consolidate): Likewise.
5512         (_int_realloc): Likewise.
5513         (_int_memalign): Don't touch corrupt arenas.
5514         * malloc/tst-malloc-backtrace.c: New test case.
5516         * Makefile (summarize-tests): Fix return value on success.
5518         * manual/string.texi (Envz Functions): Add envz_remove.
5520 2015-05-18  Roland McGrath  <roland@hack.frob.com>
5522         * sysdeps/posix/opendir.c: Include <stdbool.h>.
5523         (invalid_name): New function, broken out of ...
5524         (__opendirat): ... here.  Call it.
5525         (need_isdir_precheck): New function, broken out of ...
5526         (__opendirat): ... here.  Call it.
5527         Use __fxstatat64, not __xstatat64.
5528         (opendir_oflags): New function, broken out of ...
5529         (__opendirat): ... here.  Call it.
5530         (opendir_tail): New function, broken out of ...
5531         (__opendirat): ... here.  Call it.
5532         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
5533         opendir_tail, rather than punting to __opendirat.
5534         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
5536 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5538         * .gitignore: Ignore generated *.pyc.
5540 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
5542         * include/stdio.h: Define __need_wint_t.
5543         * test-skeleton.c: Avoid `for' loop initial declaration.
5544         * nptl/tst-initializers1.c: Use test-skeleton.c.
5546 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5548         [BZ #18418]
5549         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
5551 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5553         [BZ #16352]
5554         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
5555         (__ieee754_atanh): Force underflow exception for results with
5556         small absolute value.
5557         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
5558         (__ieee754_atanhf): Force underflow exception for results with
5559         small absolute value.
5560         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
5561         (__ieee754_atanh): Force underflow exception for results with
5562         small absolute value.
5563         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
5564         (__ieee754_atanhf): Force underflow exception for results with
5565         small absolute value.
5566         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
5567         (__ieee754_atanhl): Force underflow exception for results with
5568         small absolute value.
5569         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
5570         (__ieee754_atanhl): Force underflow exception for results with
5571         small absolute value.
5572         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
5573         (__ieee754_atanhl): Force underflow exception for results with
5574         small absolute value.
5575         * math/auto-libm-test-in: Do not allow missing underflow
5576         exceptions from atanh.
5577         * math/auto-libm-test-out: Regenerated.
5579         [BZ #18221]
5580         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
5581         2**-28 as threshold for returning x or +/- 1/x.
5582         * math/auto-libm-test-in: Add more tests of tan.
5583         * math/auto-libm-test-out: Regenerated.
5585         [BZ #18220]
5586         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5587         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
5588         * math/auto-libm-test-in: Add another test of lgamma.
5589         * math/auto-libm-test-out: Regenerated.
5591 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
5593         * stdio-common/printf_fp.c (___printf_fp): Use abs.
5594         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
5595         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
5596         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
5597         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
5598         (ADD2A): Use fabs.  (SUB2A): Use fabs.
5599         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
5600         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5601         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5602         (log1): Use fabs.  (my_log2): Use fabs.
5603         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5604         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5605         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5606         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5607         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5608         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
5609         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
5610         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
5611         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
5612         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5613         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5615 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5617         [BZ #18217]
5618         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5619         as threshold for returning 1 - x.
5620         * math/auto-libm-test-in: Add more tests of erfc.
5621         * math/auto-libm-test-out: Regenerated.
5623 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
5625         [BZ #18196]
5626         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5627         threshold for large arguments.
5628         * math/auto-libm-test-in: Add another test of atan.
5629         * math/auto-libm-test-out: Regenerated.
5631         [BZ #16339]
5632         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5633         (__log1p): Force underflow exception for results with small
5634         absolute value.
5635         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5636         (__log1pf): Force underflow exception for results with small
5637         absolute value.
5638         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5639         (__log1p): Force underflow exception for results with small
5640         absolute value.
5641         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5642         (__log1pf): Force underflow exception for results with small
5643         absolute value.
5644         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5645         (__log1pl): Force underflow exception for results with small
5646         absolute value.
5647         * math/auto-libm-test-in: Do not allow missing underflow
5648         exceptions from log1p.
5649         * math/auto-libm-test-out: Regenerated.
5651 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5652             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5654         [BZ #16704]
5655         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5657 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5659         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5660         (libmvec): New variable.
5661         * configure.ac: Added option for mathvec build.
5662         * configure: Regenerated.
5663         * mathvec/Depend: New file.
5664         * mathvec/Makefile: New file.
5665         * shlib-versions: Added libmvec.
5666         * math/Makefile: Added rule for libm.so installation.
5668         * bits/math-vector.h: New file.
5669         * bits/libm-simd-decl-stubs.h: New header.
5670         * math/Makefile (headers): Added new header
5671         libm-simd-decl-stubs.h.
5672         * math/math.h (__MATHCALL_VEC): New macro.
5674         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5675         for conditions in testing functions.
5676         * math/Makefile: Added call of libm-have-vector-test.sh.
5677         * math/libm-test.inc (HAVE_VECTOR): New macros.
5679         * math/libm-test.inc: START refactored.
5680         * math/test-double.c (TEST_MATHVEC): Add define.
5681         * math/test-float.c: Likewise.
5682         * math/test-idouble.c: Likewise.
5683         * math/test-ifloat.c: Likewise.
5684         * math/test-ildoubl.c: Likewise.
5685         * math/test-ldouble.c: Likewise.
5686         * sysdeps/generic/math-tests-arch.h
5687         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5688         architecture check.
5690         * math/test-double.c (FUNC_TEST): New macro.
5691         * math/test-float.c: Likewise.
5692         * math/test-idouble.c: Likewise.
5693         * math/test-ifloat.c: Likewise.
5694         * math/test-ildoubl.c: Likewise.
5695         * math/test-ldouble.c: Likewise.
5696         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5698 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5700         * sysdeps/nacl/fdopendir.c: New file.
5702         * dirent/scandir-tail.c: New file.
5703         * dirent/scandir64-tail.c: New file.
5704         * dirent/Makefile (routines): Add them.
5705         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5706         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5707         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5708         [!SCANDIR] (SCANDIR_TAIL): New macro.
5709         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5710         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5711         (SCANDIRAT): Macro removed.
5712         (SCANDIR_TAIL): New macro.
5713         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5714         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5715         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5716         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5717         (READDIR): Macro removed.
5718         (SCANDIR_TAIL): New macro.
5719         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5720         (SCANDIR_TAIL): New macro.
5722         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5723         * dirent/scandir-cancel.c: ... to this new file.
5724         * dirent/Makefile (routines): Add it.
5725         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5726         * sysdeps/unix/sysv/linux/i386/scandir64.c
5727         (SKIP_SCANDIR_CANCEL): Macro removed.
5728         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5730         * dirent/tst-scandir.c: New file.
5731         * dirent/tst-scandir64.c: New file.
5732         * dirent/Makefile (tests): Add them.
5734 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5736         [BZ #18409]
5737         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5739 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5741         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5742         list.
5744 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5746         * benchtests/bench-strcoll.c: New benchmark.
5747         * benchtests/Makefile: Generate locales and run benchmark.
5748         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5749         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5750         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5751         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5752         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5753         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5754         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5755         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5756         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5757         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5758         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5759         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5760         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5761         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5762         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5763         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5764         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5765         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5766         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5767         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5768         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5769         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5770         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5771         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5773 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5775         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5776         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5778 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5780         * posix/uname-values.h: New file.
5781         * posix/uname.c: Include that instead of <config-name.h>.
5782         * sysdeps/nacl/uname-values.h: New file.
5783         * sysdeps/arm/nacl/uname-values.h: New file.
5785 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5787         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5788         splitting into fields.
5790 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5792         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5793         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5794         * locale/localeinfo.h: Add enum collation_encoding_type.
5795         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5796         * programs/ld-collate.c (collate_output): Add encoding type info.
5797         * string/strcoll_l.c (STRDIFF): New function.
5798         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5799         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5801 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5803         [BZ #18397]
5804         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5805         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5806         <fpu_control.h> instead of <math/fpu_control.c>.
5807         * sysdeps/mips/mips32/fpu/Makefile: New file.
5809 2015-05-11  Andreas Schwab  <schwab@suse.de>
5811         [BZ #18007]
5812         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5813         nss_endgrent.
5814         (_nss_compat_endgrent): Call nss_endgrent.
5815         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5816         nss_endpwent.
5817         (_nss_compat_endpwent): Call nss_endpwent.
5818         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5819         needent, call nss_setspent only if non-zero.
5820         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5821         (internal_endspent): Don't call nss_endspent.
5822         (_nss_compat_endspent): Call nss_endspent.
5823         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5824         Remove.  All uses removed.
5825         (internal_setent): Remove parameter stayopen, add parameter
5826         stream.  Use it instead of global variable.
5827         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5828         (internal_endent, internal_getent): Add parameter stream.  Use it
5829         instead of global variable.
5830         (CONCAT(_nss_files_end,ENTNAME))
5831         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5832         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5833         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5834         uses removed.
5835         (internal_setent, internal_endent): Add parameter stream.  Use it
5836         instead of global variable.
5837         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5838         stream.
5839         (get_next_alias): Add parameter stream.
5840         (_nss_files_getaliasent_r): Pass global stream.
5841         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5842         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5843         (_nss_files_gethostbyname4_r): Pass local stream to
5844         internal_setent, internal_getent and internal_endent.  Remove
5845         locking.
5847 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5849         * tst-strfmon1.c (tests): Update expected currency symbol.
5851 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5853         * sysdeps/nacl/gethostname.c: New file.
5855 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5857         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5858         and sinh.
5859         * math/auto-libm-test-out: Regenerated.
5860         * sysdeps/i386/fpu/libm-test-ulps: Update.
5861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5863 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5865         [BZ #18125]
5866         * stdlib/tst-setcontext3.c: New file.
5867         * stdlib/tst-setcontext3.sh: New file.
5868         * stdlib/Makefile (tests): Add tst-setcontext3.
5869         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5870         to verify test program created output file.
5871         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5872         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5873         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5874         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5876 2015-05-06  Roland McGrath  <roland@hack.frob.com>
5878         [BZ #18383]
5879         * elf/tst-tlsalign.c: New file.
5880         * elf/tst-tlsalign-static.c: New file.
5881         * elf/tst-tlsalign-lib.c: New file.
5882         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5883         (tests-static): Add tst-tlsalign-static.
5884         (modules-names): Add tst-tlsalign-lib.
5885         (test-xfail-tst-tlsalign): New variable.
5886         (test-xfail-tst-tlsalign-static): New variable.
5888         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5889         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5891 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5893         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5894         csqrt, erfc, sin and sincos.
5895         * math/auto-libm-test-out: Regenerated.
5896         * sysdeps/i386/fpu/libm-test-ulps: Update.
5897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5899 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5901         * sysdeps/aarch64/libm-test-ulps: Update.
5903 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5905         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5906         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5907         * math/auto-libm-test-out: Regenerated.
5908         * sysdeps/i386/fpu/libm-test-ulps: Update.
5909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5911 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5913         [BZ #18265]
5914         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5915         (wcsncpy): Likewise.
5917 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5919         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5920         Assume __ASSUME_FALLOCATE is always true.
5921         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5922         (__posix_fallocate64_l64): Likweise.
5923         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5924         (posix_fallocate): Likewise.
5925         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5926         (__posix_fallocate64_l64): Likewise.
5927         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5928         [!__ASSUME_FALLOCATE]: Add comment.
5930 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5932         * sysdeps/unix/sysv/linux/i386/Makefile
5933         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5934         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5935         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5936         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5937         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5938         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5939         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5941 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5943         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5944         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5945         tgamma.
5946         * math/auto-libm-test-out: Regenerated.
5947         * sysdeps/i386/fpu/libm-test-ulps: Update.
5948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5950 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5952         * math/auto-libm-test-in: Add more tests of tgamma.
5953         * math/auto-libm-test-out: Regenerated.
5954         * sysdeps/i386/fpu/libm-test-ulps: Update.
5955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5957         * math/auto-libm-test-in: Add more tests of tanh.
5958         * math/auto-libm-test-out: Regenerated.
5959         * sysdeps/i386/fpu/libm-test-ulps: Update.
5960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5962         * math/auto-libm-test-in: Add more tests of tan.
5963         * math/auto-libm-test-out: Regenerated.
5964         * sysdeps/i386/fpu/libm-test-ulps: Update.
5965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5967         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5968         * math/auto-libm-test-out: Regenerated.
5969         * sysdeps/i386/fpu/libm-test-ulps: Update.
5970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5972         * math/auto-libm-test-in: Add another test of pow.
5973         * math/auto-libm-test-out: Regenerated.
5974         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5976         * math/auto-libm-test-in: Add more tests of lgamma.
5977         * math/auto-libm-test-out: Regenerated.
5978         * sysdeps/i386/fpu/libm-test-ulps: Update.
5979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5981         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5982         log1p.
5983         * math/auto-libm-test-out: Regenerated.
5984         * sysdeps/i386/fpu/libm-test-ulps: Update.
5985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5987 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5989         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5990         Elf64_Chdr structs and ELFCOMPRESS constants.
5992 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5994         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5995         expm1.
5996         * math/auto-libm-test-out: Regenerated.
5997         * sysdeps/i386/fpu/libm-test-ulps: Update.
5998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6000         * math/auto-libm-test-in: Add more tests of erf and erfc.
6001         * math/auto-libm-test-out: Regenerated.
6002         * sysdeps/i386/fpu/libm-test-ulps: Update.
6003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6005 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6007         * config.h.in (HAVE_AARCH64_BE): Add.
6009 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
6011         * math/auto-libm-test-in: Add more tests of csqrt.
6012         * math/auto-libm-test-out: Regenerated.
6013         * sysdeps/i386/fpu/libm-test-ulps: Update.
6014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6016         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6017         * math/auto-libm-test-out: Regenerated.
6018         * sysdeps/i386/fpu/libm-test-ulps: Update.
6019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6021         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
6023 2015-04-29  Roland McGrath  <roland@hack.frob.com>
6025         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
6026         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
6028         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
6029         (euidaccess, eaccess): Define as weak aliases.
6031         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
6032         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
6033         but __suseconds_t is often 'long int' so some sources assume that
6034         type is being used (e.g. they use %ld to print tv_usec).
6036 2015-04-29  Florian Weimer  <fweimer@redhat.com>
6038         [BZ #18007]
6039         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
6040         (CVE-2014-8121)
6041         * nss/tst-nss-getpwent.c: New file.
6042         * nss/Makefile (tests): Add new test.
6044 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
6046         [BZ #18346]
6047         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
6048         exponents less than 48 as cases where high part of mantissa needs
6049         examining to determine whether argument is integral.
6050         * math/libm-test.inc (round_test_data): Add more tests.
6052 2015-04-28  Mark Wielaard  <mjw@redhat.com>
6054         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
6056 2015-04-27  David S. Miller  <davem@davemloft.net>
6058         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
6059         __tls_get_addr.
6060         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6062 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
6064         [BZ#18333]
6065         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
6067 2015-04-27  Florian Weimer  <fweimer@redhat.com>
6069         [BZ#18333]
6070         * time/tzset.c (parse_tzname): Return error on memory allocation
6071         failure.
6072         * test-skeleton.c (struct temp_name_list): Change type of name
6073         member to non-const.
6074         (add_temp_file): Create a copy of the file name.
6075         (delete_temp_files): Deallocate memory.
6076         (create_temp_file): Add comment.
6078 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6080         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
6081         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
6083 2015-04-24  Roland McGrath  <roland@hack.frob.com>
6085         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
6086         * sysdeps/arm/configure: Regenerated.
6088 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6090         [BZ #17715]
6091         * time/tzfile.c (__tzfile_read): Check for large values of
6092         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
6093         * time/tzset.c (__tzstring_len): New function, based on the old
6094         __tzstring function.
6095         (__tzstring): Call __tzstring_len.
6096         (parse_tzname): New helper function extracted from
6097         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
6098         the input string.
6099         (parse_offset): New helper function extracted from
6100         __tzset_parse_tz.  Replace switch with fallthrough with
6101         initialization before sscanf.
6102         (parse_rule): Likewise.
6103         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
6104         new-style function definition.
6105         * timezone/Makefile (tests): Add tst-tzset.
6106         (tst-tzset.out): Dependencies on time zone files.
6107         (tst-tzset-ENV): Set TZDIR.
6108         (testdata/XT%): Copy crafted time zone files.
6109         * timezone/README: Mention crafted time zone files.
6110         * timezone/testdata/XT1, timezone/testdata/XT2,
6111         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
6112         files.
6113         * timezone/tst-tzset.c: New test.
6115 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6117         * Makeconfig (+gccwarn): Remove -Winline.
6119 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6121         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
6123 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6125         * NEWS: Mention sysconf() cache information support for s390.
6126         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
6128 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
6130         * math/k_casinh.c (__kernel_casinh): Use __copysign.
6131         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
6132         (__nearbyint): Likewise.
6133         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
6134         (copysignl): Likewise.
6136 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
6138         [BZ #18287]
6139         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
6140         based on padding.  (CVE-2015-1781)
6142 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6144         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
6145         libc-vdso.h.
6146         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
6147         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
6148         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
6149         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6150         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6151         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
6152         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
6153         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6154         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6155         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
6156         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6157         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6158         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6159         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
6160         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6161         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
6162         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
6163         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
6164         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
6165         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
6166         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
6167         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
6168         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
6170 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
6172         * stdlib/setenv.c (__add_to_environ):
6173         Dump core quickly if setenv (..., NULL, ...) is called.
6174         This time, do it the right way, and pacify GCC with a pragma.
6176 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6178         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
6179         IMAP->l_prev cannot be null, and #if out the code for the contrary
6180         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
6181         believe that NS (&_dl_ns[NSID]) could point outside the array.
6183         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
6184         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
6185         before using NSID as an index.
6187 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
6189         [BZ #17825]
6190         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
6191         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6192         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6194 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6196         Add preliminary port to Google Native Client on ARM.
6197         * abi-tags (.*-.*-nacl.*): New entry.
6198         * sysdeps/arm/nacl: New directory.
6199         * sysdeps/nacl: New directory.
6201 2015-04-16  David S. Miller  <davem@davemloft.net>
6203         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
6204         lowlevellock-futex.h
6206 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
6208         * sysdeps/tile/configure.ac: New file.
6209         * sysdeps/tile/configure: Regenerated.
6211 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6213         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
6214         conditionals for weak_alias and libc_hidden_weak.
6215         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
6216         libc_hidden_weak and weak_alias.
6217         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
6218         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
6219         and weak_alias for static one.
6221 2015-04-15  David S. Miller  <davem@davemloft.net>
6223         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6225 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6227         [BZ #18206]
6228         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
6229           Use signed comparision instead of substraction to avoid
6230           overflow bug.
6231         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
6232           Take the sign of ret.
6233         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
6234           Do not expect precise return values. Only the sign matters.
6235         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
6236         * wcsmbs/test-wcsncmp.c: New File.
6237         * string/test-strncmp.c: Add wcsncmp support.
6239 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6241         [BZ #6792]
6242         * math/w_log1p.c: New file.
6243         * math/w_log1pf.c: Likewise.
6244         * math/w_log1pl.c: Likewise.
6245         * math/Makefile (libm-calls): Add w_log1p.
6246         * math/s_log1pl.c (log1pl): Remove weak_alias.
6247         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
6248         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
6249         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
6250         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
6251         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
6252         [NO_LONG_DOUBLE] (log1pl): Likewise.
6253         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
6254         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
6255         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
6256         (log1p): Remove long_double_symbol.
6257         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
6258         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
6259         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
6260         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
6261         remove weak_alias for corresponding log1p function.
6262         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
6263         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
6264         * sysdeps/ia64/fpu/w_log1p.c: New file.
6265         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
6266         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
6267         * math/libm-test.inc (log1p_test_data): Add errno expectations.
6269 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
6271         [BZ #18247]
6272         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
6273         decimal exponent by 1.
6274         * stdlib/tst-strtod-round-data: Add more tests.
6275         * stdlib/tst-strtod-round.c (tests): Regenerated.
6277 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
6279         * math/auto-libm-test-in: Add more tests of clog and clog10.
6280         * math/auto-libm-test-out: Regenerated.
6281         * sysdeps/i386/fpu/libm-test-ulps: Update.
6282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6284 2015-04-09  Roland McGrath  <roland@hack.frob.com>
6286         * Makeconfig (module-cppflags): Exclude all .v.i files.
6287         (skip-module-cppflags): Variable removed.
6289         * configure.ac (libc_config_ok): Initialize before reading
6290         preconfigure scripts, not after.
6291         * configure: Regenerated.
6293         * test-skeleton.c (TIMEOUT): Move #define to top level.
6294         (main): Grok environment variable TEST_DIRECT.  If set, print
6295         test expectation details into that file and then behave as if
6296         given --direct.
6298 2015-04-09  Florian Weimer  <fweimer@redhat.com>
6300         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
6301         warning on 32-bit.
6303 2015-04-08  David S. Miller  <davem@davemloft.net>
6305         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6307 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6309         * math/auto-libm-test-in: Add more tests of atanh.
6310         * math/auto-libm-test-out: Regenerated.
6311         * sysdeps/i386/fpu/libm-test-ulps: Update.
6312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6314         * math/auto-libm-test-in: Add more tests of atan.
6315         * math/auto-libm-test-out: Regenerated.
6316         * sysdeps/i386/fpu/libm-test-ulps: Update.
6317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6319 2015-04-08  Florian Weimer  <fweimer@redhat.com>
6321         * elf/pldd.c (main): Rewrite to use struct
6322         scratch_buffer instead of extend_alloca.
6323         * elf/pldd-xx.c (find_maps): Likewise.
6324         * grp/initgroups.c: Include <scratch_buffer.h> instead of
6325         <alloca.h>.
6326         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
6327         scratch_buffer instead of extend_alloca.
6328         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
6329         grp/compat-initgroups.c.
6330         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
6331         Rewrite to use struct scratch_buffer instead of extend_alloca.
6332         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
6333         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6335 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6337         * math/auto-libm-test-in: Add more tests of cbrt.
6338         * math/auto-libm-test-out: Regenerated.
6339         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6341         * math/auto-libm-test-in: Add more tests of cabs.
6342         * math/auto-libm-test-out: Regenerated.
6343         * sysdeps/i386/fpu/libm-test-ulps: Update.
6344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6346         [BZ #18210]
6347         [BZ #18211]
6348         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
6349         (__ieee754_atan2): Set FE_TONEAREST mode for internal
6350         computations.
6351         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
6352         clog10.
6353         * math/auto-libm-test-out: Regenerated.
6354         * sysdeps/i386/fpu/libm-test-ulps: Update.
6355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6357         [BZ #18197]
6358         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
6359         (atan): Set FE_TONEAREST mode for internal computations.
6360         * math/auto-libm-test-in: Add more tests of atan.
6361         * math/auto-libm-test-out: Regenerated.
6363 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
6365         [BZ #17930]
6366         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
6368 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6370         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
6372 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6374         * include/scratch_buffer.h: New file.
6375         * malloc/scratch_buffer_grow.c: Likewise.
6376         * malloc/scratch_buffer_grow_preserve.c: Likewise.
6377         * malloc/scratch_buffer_set_array_size.c: Likewise.
6378         * malloc/tst-scratch_buffer.c: Likewise.
6379         * malloc/Makefile (routines): Add scratch_buffer_grow.
6380         (tests): Add test case.
6381         * malloc/Versions (GLIBC_PRIVATE): Export
6382         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
6383         __libc_scratch_buffer_set_array_size.
6385 2015-04-06  Richard Henderson  <rth@redhat.com>
6387         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
6388         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6390         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
6391         unsigned int before printing.
6393 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6395         [BZ #17596]
6396         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
6397         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6399 2015-04-02  Florian Weimer  <fweimer@redhat.com>
6401         * include/libc-internal.h (libc_max_align_t): Define.
6403 2015-04-02  Andreas Schwab  <schwab@suse.de>
6405         [BZ #16850]
6406         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
6408 2015-04-02  Mel Gorman  <mgorman@suse.de>
6410         [BZ #17195]
6411         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
6412         as well as the main arena.
6414 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6416         [BZ #18185]
6417         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
6418         sharing L2 cache to 2 for Silvermont/Knights Landing.
6420 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6422         [BZ #17711]
6423         * config.make.in (have-protected-data): New.
6424         * configure.ac: Check linker support for protected data symbol.
6425         * configure: Regenerated.
6426         * elf/Makefile (modules-names): Add tst-protected1moda and
6427         tst-protected1modb if $(have-protected-data) is yes.
6428         (tests): Add tst-protected1a and tst-protected1b if
6429         $(have-protected-data) is yes.
6430         ($(objpfx)tst-protected1a): New.
6431         ($(objpfx)tst-protected1b): Likewise.
6432         (tst-protected1modb.so-no-z-defs): Likewise.
6433         * elf/tst-protected1a.c: New file.
6434         * elf/tst-protected1b.c: Likewise.
6435         * elf/tst-protected1mod.h: Likewise.
6436         * elf/tst-protected1moda.c: Likewise.
6437         * elf/tst-protected1modb.c: Likewise.
6439 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6441         [BZ #17711]
6442         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
6443         indicates it is called from do_lookup_x on relocation against
6444         protected data, skip the data definion in the executable from
6445         copy reloc.
6446         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
6447         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
6448         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
6449         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
6450         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
6451         otherwise to 0.
6452         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6453         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
6454         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
6455         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6456         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
6457         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
6459 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
6461         * sysdeps/nptl/pthread.h: Remove duplicate definition of
6462         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
6464 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
6466         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
6467         THREAD_SETMEM_NC.
6468         * sysdeps/x86_64/nptl/tls.h: Ditto.
6470 2015-03-27  Roland McGrath  <roland@hack.frob.com>
6472         * dlfcn/tststatic.c (main): Converted to ...
6473         (do_test): ... this.
6474         (TEST_FUNCTION): New macro.
6475         Include test-skeleton.c.
6477 2015-03-26  Alan Modra  <amodra@gmail.com>
6479         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
6480         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
6481         zero for undefined weak.
6482         (elf_machine_plt_conflict): Similarly.
6484 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6486         * math/auto-libm-test-in: Add more tests of acosh, asinh and
6487         atanh.
6488         * math/auto-libm-test-out: Regenerated.
6489         * sysdeps/i386/fpu/libm-test-ulps: Update.
6490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6492         * math/auto-libm-test-in: Add another test of asin.
6493         * math/auto-libm-test-out: Regenerated.
6494         * sysdeps/i386/fpu/libm-test-ulps: Update.
6495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6497         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
6498         Remove macro.
6499         (LLL_EBX_REG): Likewise.
6500         (LLL_ENTER_KERNEL): Likewise.
6502         * math/auto-libm-test-in: Add more tests of asin.
6503         * math/auto-libm-test-out: Regenerated.
6504         * sysdeps/i386/fpu/libm-test-ulps: Update.
6505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6507         [BZ #18138]
6508         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
6509         libc_do_syscall_args): New structure.
6510         (INTERNAL_SYSCALL_MAIN_0): New macro.
6511         (INTERNAL_SYSCALL_MAIN_1): Likewise.
6512         (INTERNAL_SYSCALL_MAIN_2): Likewise.
6513         (INTERNAL_SYSCALL_MAIN_3): Likewise.
6514         (INTERNAL_SYSCALL_MAIN_4): Likewise.
6515         (INTERNAL_SYSCALL_MAIN_5): Likewise.
6516         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
6517         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
6518         Replace conditional definitions by conditional definitions of ....
6519         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
6520         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
6521         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
6522         (libpthread-sysdep_routines): Add libc-do-syscall.
6523         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
6524         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
6525         to __NR_futex not 240.
6527 2015-03-25  Alan Modra  <amodra@gmail.com>
6529         * NEWS: Advertise TLS optimization.
6530         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
6531         (DT_PPC_NUM): Increment.
6532         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
6533         (CHECK_STATIC_TLS): Use here.
6534         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
6535         TLS descriptors.
6536         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6537         * sysdeps/powerpc/dl-tls.c: New file.
6538         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
6539         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
6540         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
6541         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
6542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
6543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6546 2015-03-25  Alan Modra  <amodra@gmail.com>
6548         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
6549         for overlapping .opd entries" to "support...".
6550         * sysdeps/powerpc/powerpc64/configure: Regenerate
6552 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6554         * math/auto-libm-test-in: Add more tests of acos.
6555         * math/auto-libm-test-out: Regenerated.
6556         * sysdeps/i386/fpu/libm-test-ulps: Update.
6557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6559         * math/auto-libm-test-in: Add more tests of expm1.
6560         * math/auto-libm-test-out: Regenerated.
6561         * sysdeps/i386/fpu/libm-test-ulps: Update.
6562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6564 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
6566         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6567         * math/auto-libm-test-out: Regenerated.
6568         * sysdeps/i386/fpu/libm-test-ulps: Update.
6569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6571         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6574         * math/auto-libm-test-in: Add more tests of log2.
6575         * math/auto-libm-test-out: Regenerated.
6576         * sysdeps/i386/fpu/libm-test-ulps: Update.
6577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6579 2015-03-23  Roland McGrath  <roland@hack.frob.com>
6581         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
6582         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
6583         _IO_IS_APPENDING bit in READ_WRITE instead.
6585 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6587         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6588         (__determine_cpumask_size): Replace extend_alloca with a
6589         variable-length array.  Do not treat res == 0 as an error.
6591 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6593         [BZ #18100]
6594         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
6595         and integer overflow.
6596         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
6597         (main): Add integer overflow tests.
6598         * manual/pattern.texi (Calling Wordexp): Document additional use
6599         for WRDE_SYNTAX.
6601 2015-03-23  Alan Modra  <amodra@gmail.com>
6603         * config.h.in: Remove HAVE_ASM_PPC_REL16.
6604         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6605         and false branch of conditional.
6606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6607         Likewise.
6609 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
6611         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6612         libc-modules.h
6613         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6614         unused declaration of _hurd_intr_rpc_msg_in_trap.
6615         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6616         defined instead of whether it is non-zero.
6617         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6618         input constraint instead of both input and output constraint.  Use ecx
6619         clobber instead of %ecx.
6620         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6621         mutex_unlock): Use a statement expression instead of an expression list.
6622         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6623         type to vm_size_t instead of vm_address_t.
6624         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6625         defined instead of whether it is non-zero.
6626         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6627         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6628         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6629         comparisons with mapaddr.
6630         * nscd/nscd-client.h: Include <time.h>.
6631         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6632         9th parameter to __vm_region instead of int.
6633         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6634         * scripts/check-local-headers.sh (exclude): Add device/,
6635         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6636         cthreads.h.
6638 2015-03-19  Roland McGrath  <roland@hack.frob.com>
6640         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6641         to account for alignment padding.
6642         * sysdeps/arm/memmove.S: Likewise.
6644 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
6646         * sysdeps/unix/sysv/linux/generic/README: New file.
6648 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6650         [BZ #18138]
6651         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6652         (futex_abstimed_wait)
6653         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6654         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6655         of lll_futex_timed_wait.
6657 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6659         [BZ #17542]
6660         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6662 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6664         [BZ #17090]
6665         [BZ #17620]
6666         [BZ #17621]
6667         [BZ #17628]
6668         * NEWS: Update.
6669         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6670         entries with Static TLS too.  Skip entries past the end of the
6671         allocated DTV, from Alan Modra.
6672         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6673         Static TLS DTV entry set up from...
6674         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6675         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6676         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6677         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6678         for Static TLS.
6679         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6680         that the slot we find is associated with the given map before
6681         using its generation count.
6682         * nptl_db/db_info.c: Include ldsodefs.h.
6683         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6684         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6685         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6686         (link_map::l_tls_offset): New struct field.
6687         (dtv_t::counter): Likewise.
6688         (rtld_global): New struct.
6689         (_rtld_global): New rtld variable.
6690         (dl_tls_dtv_slotinfo_list): New rtld global field.
6691         (dtv_slotinfo_list): New struct.
6692         (dtv_slotinfo): Likewise.
6693         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6694         (td_lookup): Rename to...
6695         (td_mod_lookup): ... this.  Use new mod parameter instead of
6696         LIBPTHREAD_SO.
6697         * nptl_db/td_thr_tlsbase.c: Include link.h.
6698         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6699         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6700         addresses even if the DTV is out of date or missing them.
6701         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6702         index zero-length arrays.
6703         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6704         (td_lookup): Make it a macro implemented in terms of...
6705         (td_mod_lookup): ... this declaration.
6706         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6707         (DB_MAIN_VARIABLE): Likewise.
6709 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6711         [BZ #18134]
6712         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6714 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6716         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6718 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6720         [BZ #18128]
6721         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6722         (atomic_add, atomic_increment_and_test)
6723         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6725 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6727         * stdlib/setenv.c (__add_to_environ):
6728         Dump core quickly if setenv (..., NULL, ...) is called.
6730 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6732         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6733         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6734         all the necessary asm magic in one place.
6735         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6736         using those.
6738 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6740         [BZ #14906]
6741         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6742         traced file mtime. Use consistent log message.
6743         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6744         (register_traced_file): Call install_watches. Always set mtime.
6745         (invalidate_cache): Iterate over all trace files. Call install_watches.
6746         (inotify_check_files): Don't inline. Handle watching parent
6747         directories and configuration file movement in and out.
6748         (handle_inotify_events): New function.
6749         (main_loop_poll): Call handle_inotify_events.
6750         (main_loop_epoll): Likewise.
6751         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6752         (struct traced_file): Use array of inotify fds. Add parent directory,
6753         and basename.
6754         (struct database_dyn): Remove unused file_mtime.
6755         (init_traced_file): New inline function.
6756         (define_traced_file): New macro.
6757         * nss/nss_db/db-init.c: Use define_traced_file.
6758         (_nss_db_init): Use init_traced_file.
6759         * nss/nss_files/files-init.c: Use define_traced_file.
6760         (_nss_files_init): Use init_traced_file.
6762 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6764         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6765         [_LIBC]: Do not include <stdlib.h>.
6766         [!_LIBC] (abort): Remove declaration.
6767         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6768         _FP_STATIC_ASSERT instead of conditionally calling abort.
6769         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6770         (_FP_EXTEND_CNAN): Likewise.
6771         (FP_TRUNC): Likewise.
6772         (__FP_CLZ): Likewise.
6773         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6775 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6777         * manual/string.texi (XPG basename): Fix prototype.
6779 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6781         [BZ #18080]
6782         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6783         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6784         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6785         (__setcontext): Likewise.
6786         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6787         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6788         Call rt_sigprocmask syscall one time to set new signal mask
6789         and retrieve the current signal mask instead of two calls.
6790         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6791         (__swapcontext): Likewise.
6792         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6793         * stdlib/tst-setcontext2.c: New file.
6795 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6797         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6799 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6801         [BZ #18093]
6802         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6803         the wrong size.
6805 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6807         [BZ #18043]
6808         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6810 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6812         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6813         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6814         Remove define.
6815         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6816         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6817         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6818         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6819         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6820         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6821         define.
6822         * nptl_db/td_symbol_list.c (td_lookup): Remove
6823         HAVE_ASM_GLOBAL_DOT_NAME code.
6824         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6825         HAVE_ASM_GLOBAL_DOT_NAME check.
6826         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6827         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6828         (DOT_LABEL): Remove define.
6829         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6830         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6831         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6832         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6833         (__TLS_GET_ADDR): Likewise.
6834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6835         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6837 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6839         [BZ #18111]
6840         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6841         (_FPU_SETCW): Initialize cw from fpsr before storing.
6842         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6843         (fesetexceptflag): Rewrite using fpu_control.h.
6844         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6846 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6848         [BZ #18110]
6849         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6850         asms.
6851         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6853 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6855         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6856         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6857         abort.
6858         (_FP_FMA): Likewise.
6859         (_FP_DIV): Likewise.
6861 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6863         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6864         with 0 in that case.
6865         * Makefile (summarize-tests): New canned sequence, factored out of
6866         commands for targets tests and xtests.  Display summary lines that
6867         don't start with PASS: or XFAIL: rather than ones that do start with
6868         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6869         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6870         do start with ERROR: or FAIL:.
6871         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6872         (except for [$(build-shared) = yes]).
6873         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6874         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6875         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6876         * nptl/Makefile: Revert 2015-03-04 changes.
6877         [$(CXX) empty] (tests-unsupported): New variable.
6878         * debug/Makefile: Likewise.
6880         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6881         gnulib file.  Replace __attribute with __attribute__ throughout.
6883 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6885         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6887 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6889         [BZ #18104]
6890         * math/auto-libm-test-in: Add another test of pow.
6891         * math/auto-libm-test-out: Regenerated.
6893 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6895         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6896         $(config-cflags-nofma).
6898 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6900         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6901         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6902         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6903         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6904         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6905         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6906         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6907         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6908         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6909         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6910         Add comment on closing #endif.
6912 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6914         * posix/wordexp.c (CHAR_IN_SET): New macro.
6915         (parse_param): Use it.
6917 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6919         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6921 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6923         [BZ #18043]
6924         * posix/wordexp.c (parse_param): Fix buffer overflow.
6925         * posix/wordexp-test.c (test_case): Add test case.
6927 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6929         [BZ #18042]
6930         * posix/wordexp.c (parse_backtick): Fix off-by-one.
6931         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6933 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6935         [BZ #18043]
6936         * posix/wordexp-test.c (test_case): Add test for BZ #18043
6937         (do_bz18043): Delete.
6938         (at_page_end): New.
6939         (testit): Refactor to have words at the edge of unreadable page.
6941 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6943         [BZ #16734]
6944         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6945         Cleanup read-only streams as well.
6946         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6948 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6950         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6951         <bits/libc-lockP.h>
6953 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6955         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6956         on [__KERNEL__].
6957         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6958         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6959         * soft-fp/op-common.h (_FP_DECL): Likewise.
6961 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6963         * elf/ifuncdep2.c (global): Replace
6964         __attribute__((visibility("protected"))) with
6965         asm (".protected global").
6966         * elf/ifuncmod1.c (global): Likewise.
6967         * elf/ifuncmod5.c (global): Likewise.
6969 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6971         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6972         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6974 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6976         * manual/install.texi (Configuring and compiling):
6977         Document test-wrapper-env-only.
6978         * INSTALL: Regenerated.
6980 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6982         [BZ #18043]
6983         * posix/wordexp.c (parse_param): Fix buffer overflow.
6984         * posix/wordexp-test.c (do_bz18043): Add test case.
6986 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6988         * time/tst-strptime2.c (do_test): Ensure failing tests are
6989         reported correctly.
6990         * time/tst-strptime3.c (do_test): Likewise.
6992 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6994         Fix aio_error thread-safety.
6995         * sysdeps/pthread/aio_error.c: New file
6996         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6997         synchronization.
6999 2015-03-06  Florian Weimer  <fweimer@redhat.com>
7001         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
7002         (group_number, vfprintf): Use it.
7003         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
7004         (JUMP, REF): Use it.
7005         (WORK_BUFFER_SIZE): New enum constant.
7006         (process_arg, vfprintf): Use it.
7008 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
7010         * manual/errno.texi (Error Messages): Complete example function
7011         by adding missing #define.
7012         (program_invocation_name): Add statement indicating GNU
7013         extension and reference which header file declares the variable.
7014         (program_invocation_short_name): Likewise.
7016 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
7018         * manual/errno.texi (Error Messages): Delete strerror ISO C89
7019         compatibility note.
7021 2015-03-05  Roland McGrath  <roland@hack.frob.com>
7023         * Makeconfig (test-wrapper-env-only): New variable.
7024         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
7025         then use that with $(test-wrapper-env-only) rather than using
7026         $(test-wrapper-env) $(run-program-env) $($*-ENV).
7028 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
7030         [BZ #18082]
7031         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
7032         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
7033         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
7034         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
7035         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
7036         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
7037         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
7038         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
7039         Likewise.
7040         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
7041         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
7042         Likewise.
7043         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
7044         Likewise.
7045         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
7046         Likewise.
7047         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
7048         Likewise.
7049         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
7050         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
7051         Likewise.
7052         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
7053         Likewise.
7054         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
7055         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
7057 2015-03-04  Roland McGrath  <roland@hack.frob.com>
7059         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
7060         (ETH_ALEN): New macro.
7061         (struct ether_addr): Use it for length of ether_addr_octet.
7063         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
7064         (setdb): Don't call __nss_configure_lookup for "rpc".
7065         (do_test): Don't call test_rpc.
7066         (output_rpcent, test_rpc): Functions moved ...
7067         * sunrpc/test-rpcent.c: ... to this new file.
7068         * sunrpc/Makefile (tests): Add it.
7070         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
7071         __xpg_sigpause.
7072         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
7073         * nptl/tst-signal6.c: Likewise.
7074         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
7075         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
7077         * configure.ac (libc_cv_cxx_link_ok): New check.
7078         Reset CXX to empty if it fails to link.
7079         * configure: Regenerated.
7080         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
7081         bug-atexit3-lib only if $(CXX) is nonempty.
7082         * nptl/Makefile (tests): Likewise for tst-cancel24.
7083         (tests, tests-static): Likewise for tst-cancel24-static.
7084         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
7085         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
7086         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
7087         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
7089 2015-03-04  Andreas Schwab  <schwab@suse.de>
7091         [BZ #17631]
7092         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
7093         for non-GCC compilers.
7094         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7095         Likewise.
7097 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7099         [BZ #17776]
7100         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
7101         integer before bitwise and assembly operations.
7102         (feclearexcept): Likewise.
7103         * math/test-fenvinline.c: New file.
7104         * math/Makefile: Add test-fenvinline test.
7106 2015-03-03  Alan Modra  <amodra@gmail.com>
7108         [BZ #16512]
7109         * scripts/localplt.awk: Strip off symbol version.
7110         * NEWS: Mention bug fix.
7112 2015-03-02  Roland McGrath  <roland@hack.frob.com>
7114         * sysdeps/pthread/timer_routines.c
7115         (timer_free_list, thread_free_list, thread_active_list): Make static.
7117 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
7119         [BZ #17779]
7120         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7121         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7122         Undefine.
7123         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7124         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7125         Likewise.
7126         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7127         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7128         Likewise.
7130 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
7132         [BZ #18036]
7133         * posix/fnmatch_loop.c (END): Detect invalid pattern.
7134         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
7136 2015-03-02  Andreas Schwab  <schwab@suse.de>
7138         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
7139         variable name.
7141 2015-03-02  Florian Weimer  <fweimer@redhat.com>
7143         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
7144         Return error status.
7146 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
7148         [BZ #15969]
7149         * locale/findlocale.c (_nl_find_locale): Introduce const
7150         version of loc_name and drop unsafe type casts.
7152 2015-02-27  Roland McGrath  <roland@hack.frob.com>
7154         * dlfcn/tststatic2.c (main): Converted to ...
7155         (do_test): ... this.
7156         (TEST_FUNCTION): New macro.
7157         Include test-skeleton.c.
7159 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
7161         [BZ #17711]
7162         * elf/Makefile (tests): Add vismain only if PIE is enabled.
7163         (tests-pie): Add vismain.
7164         (CFLAGS-vismain.c): New.
7165         * elf/vismain.c: Add comments for PIE requirement.
7167 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7169         [BZ #18046]
7170         [BZ #18047]
7171         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
7172         0x1p-56L as threshold for just returning the argument.
7173         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
7174         0x1p-32L as threshold for just returning the argument.
7175         * math/auto-libm-test-in: Add more tests of atanh.
7176         * math/auto-libm-test-out: Regenerated.
7177         * sysdeps/i386/fpu/libm-test-ulps: Update.
7178         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
7180 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
7182         * string/bcopy.c (bcopy): Call memmove for performance.
7184 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
7186         * string/bzero.c (__bzero): Call memset for performance.
7188 2015-02-27  John David Anglin  <dave.anglin@bell.net>
7190         [BZ #18068]
7191         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
7192         to 00100000.
7194 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7196         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
7198 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7200         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
7201         (__kernel_standard): Use CSTR macro when setting exc.name.
7202         * sysdeps/ieee754/Makefile [$(subdir) = math]
7203         (CFLAGS-k_standard.c): Remove variable.
7205         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
7206         setting p and q from "else if" to "else".
7207         (qzero): Likewise.
7208         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
7209         (qone): Likewise.
7210         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
7211         (qzerof): Likewise.
7212         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
7213         (qonef): Likewise.
7214         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
7215         (qzero): Likewise.
7216         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
7217         (qone): Likewise.
7219         [BZ #18038]
7220         [BZ #18039]
7221         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
7222         return pi/2 for arguments below 0x1p-113L.
7223         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
7224         return pi/2 for arguments below 0x1p-106L.
7225         * math/auto-libm-test-in: Add more tests of acos.
7226         * math/auto-libm-test-out: Regenerated.
7228         [BZ #16351]
7229         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
7230         (MO): New macro.
7231         (__ieee754_asin): Force underflow exception for results with small
7232         absolute value.
7233         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
7234         (MO): New macro.
7235         (__ieee754_asinf): Force underflow exception for results with
7236         small absolute value.
7237         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
7238         (__ieee754_asin): Force underflow exception for results with small
7239         absolute value.
7240         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
7241         (__ieee754_asinf): Force underflow exception for results with
7242         small absolute value.
7243         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
7244         (__ieee754_asinl): Force underflow exception for results with
7245         small absolute value.
7246         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
7247         (__ieee754_asinl): Force underflow exception for results with
7248         small absolute value.
7249         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
7250         (__ieee754_asinl): Force underflow exception for results with
7251         small absolute value.
7252         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7253         Include <math.h>.
7254         * math/auto-libm-test-in: Do not mark underflow exceptions as
7255         possibly missing for bug 16351.
7256         * math/auto-libm-test-out: Regenerated.
7258         [BZ #18030]
7259         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
7260         of power of 2 down when low part has opposite sign.
7261         * math/libm-test.inc (logb_test_data): Add more tests.
7263 2015-02-26  Andreas Schwab  <schwab@suse.de>
7265         [BZ #18032]
7266         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
7267         over collating symbol inside a bracket expression.  Minor cleanup.
7268         * posix/tst-fnmatch3.c (do_test): Add test case.
7270 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7272         [BZ #18029]
7273         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
7274         Adjust exponent of power of 2 down when low part has opposite
7275         sign.
7276         * math/libm-test.inc (ilogb_test_data): Add more tests.
7278 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
7280         [BZ #15969]
7281         * locale/findlocale.c (_nl_find_locale): Fix constness error in
7282         the previous change.
7284         [BZ #15969]
7285         * locale/findlocale.c (_nl_find_locale): Retry archive search
7286         after alias expansion.
7288 2015-02-25  Roland McGrath  <roland@hack.frob.com>
7290         * iconv/tst-iconv3.c (main): Converted to ...
7291         (do_test): ... this.
7292         (TEST_FUNCTION): New macro.
7293         Include test-skeleton.c.
7295         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
7296         (convert): Make function static.
7297         (test_unalign): Likewise.  Add const to argument pointee types.
7298         (main): Replace with static function do_test.
7299         Print "Succeeded." only if RET is zero.
7300         (TEST_FUNCTION): New macro.
7301         Include test-skeleton.c.
7303         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
7304         returns a null pointer.
7306 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7308         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
7309         to __memcpy_ppc only for static builds.
7311 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
7313         [BZ #18020]
7314         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
7315         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
7316         * math/auto-libm-test-in: Add more tests of asinh.
7317         * math/auto-libm-test-out: Regenerated.
7318         * sysdeps/i386/fpu/libm-test-ulps: Update.
7319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7321 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
7323         [BZ #15850]
7324         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
7325         and ip6_mtuinfo definitions here.
7326         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
7327         in this define too.  Update comment.
7329 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
7331         * elf/sprof.c (load_shobj): Tweak error message to match others.
7333 2015-02-24  Kevin Easton  <kevin@guarana.org>
7335         [BZ #16145] (partial fix)
7336         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
7337         to reduce lock contention.
7339 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
7341         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
7342         (struct timex): Update time comment.
7343         (ADJ_SETOFFSET): Define.
7345 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7347         [BZ #18019]
7348         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7349         2**56 not 2**28 as threshold for log (2x) formula.
7350         * math/auto-libm-test-in: Add more tests of acosh.
7351         * math/auto-libm-test-out: Regenerated.
7352         * sysdeps/i386/fpu/libm-test-ulps: Update.
7353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7355 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7357         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
7358         parenthesis around the buf assignment.
7359         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
7361 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7363         [BZ #16783]
7364         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
7365         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
7366         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
7367         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7368         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7369         * math/libm-test.inc (scalb_test_data): Add more tests.
7371 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7373         [BZ #17916]
7374         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
7375         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
7377 2015-02-24  Eric Rannaud  <e@nanocritical.com>
7379         [BZ #17523]
7380         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
7381         * io/bits/fcntl2.h (open): Use it.
7382         (openat): Likewise.
7383         * io/open.c (__libc_open): Likewise.
7384         * io/open64.c (__libc_open64): Likewise.
7385         * io/open64_2.c (__open64_2): Likewise.
7386         * io/open_2.c (__open_2): Likewise.
7387         * io/openat.c (__openat): Likewise.
7388         * io/openat64.c (__openat64): Likewise.
7389         * io/openat64_2.c (__openat64_2): Likewise.
7390         * io/openat_2.c (__openat_2): Likewise.
7391         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
7392         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7393         * sysdeps/posix/open64.c (__libc_open64): Likewise.
7394         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7395         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
7396         (__open_nocancel): Likewise.
7397         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
7398         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
7399         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
7401 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7403         [BZ #14841]
7404         * resolv/gethnamaddr.c (getanswer): Skip logging if
7405         RES_USE_DNSSEC is set.
7406         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7408 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7410         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
7412 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
7414         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7415         201304L, for Unicode 7.
7417 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
7419         [BZ #17836]
7420         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
7421         shared library.  Add gmon-start.os otherwise.
7422         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
7423         $(objpfx)gmon-start.os if builing shared library.
7424         ($(objpfx)g$(static-start-installed-name)): Likewise.
7426 2015-02-23  Andreas Schwab  <schwab@suse.de>
7428         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
7430 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
7432         [BZ #17269]
7433         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
7434         (enlarge_userbuf): Likewise.
7436 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
7438         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
7439         * math/atest-exp.c (TIMEOUT): Adjust to 200.
7440         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
7441         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
7443 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
7445         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
7446         expression inside statement expression.
7448 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7450         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
7451         <sysdeps/nptl/lowlevellock.h> and remove macros and
7452         functions that are now defined there.
7453         (SYS_futex): Remove.
7454         (lll_compare_and_swap): Remove.
7455         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
7457 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
7459         [BZ #17999]
7460         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
7461         instead of scandirat.
7462         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
7463         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
7464         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
7465         __scandirat.
7466         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
7467         (__scandirat): Declare.  Use libc_hidden_proto.
7468         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
7469         Remove variable.
7470         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7472 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7474         [BZ #15319]
7475         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
7476         (MO): New macro.
7477         (__ieee754_atan2): For results with small absolute value, force
7478         underflow exception and remove excess range and precision from
7479         return value.
7480         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
7481         (MO): New macro.
7482         (__ieee754_atan2f): For results with small absolute value, force
7483         underflow exception and remove excess range and precision from
7484         return value.
7485         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
7486         (MO): New macro.
7487         (__atan): For results with small absolute value, force underflow
7488         exception and remove excess range and precision from return value.
7489         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
7490         (MO): New macro.
7491         (__atanf): For results with small absolute value, force underflow
7492         exception and remove excess range and precision from return value.
7493         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
7494         <math.h>.
7495         (__ieee754_atan2): Force underflow exception for results with
7496         small absolute value.
7497         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
7498         <math_private.h>.
7499         (atan): Force underflow exception for results with small absolute
7500         value.
7501         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
7502         (__atanf): Force underflow exception for results with small
7503         absolute value.
7504         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
7505         <math.h>.
7506         (__atanl): Force underflow exception for results with small
7507         absolute value.
7508         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
7509         (__atanl): Force underflow exception for results with small
7510         absolute value.
7511         * sysdeps/x86/fpu/bits/mathinline.h
7512         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
7513         (__ieee754_atan2): Only define inline for long double.
7514         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7515         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
7516         * math/auto-libm-test-in: Do not mark underflow exceptions as
7517         possibly missing for bug 15319.  Add more tests of atan2.
7518         * math/auto-libm-test-out: Regenerated.
7519         * math/libm-test.inc (casin_test_data): Do not mark underflow
7520         exceptions as possibly missing for bug 15319.
7521         (casinh_test_data): Likewise.
7522         * sysdeps/i386/fpu/libm-test-ulps: Update.
7524 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
7526         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
7527         * sysdeps/mips/bits/endian.h: Fix comments.
7529 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7531         [BZ #17996]
7532         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
7533         (hdestroy_r): Likewise.
7534         (hsearch_r): Likewise.
7535         (__hcreate_r): Declare and use libc_hidden_proto.
7536         (__hdestroy_r): Likewise.
7537         (__hsearch_r): Likewise.
7538         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
7539         (hcreate): Call __hcreate_r instead of hcreate_r.
7540         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
7541         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
7542         as weak alias of __hcreate_r.
7543         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
7544         __hdestroy_r.
7545         (hsearch_r): Rename to __hsearch_r and define as weak alias of
7546         __hsearch_r.
7547         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
7548         Remove variable.
7549         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7550         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7551         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7552         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7554 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7556         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
7557         arena_lock into a single arena_get.
7559 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
7561         * dl-reloc.c: Inlucde libc-internal.h.
7562         (_dl_try_allocate_static_tls): Call ALIGN_UP.
7563         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
7564         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
7565         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
7566         (grow_heap): Likewise.
7567         * malloc/malloc.c: Include libc-internal.h.
7568         (do_check_malloc): Call powerof2.
7569         (sysmalloc): Use pagesize. Call ALIGN_UP.
7570         (systrim): Use pagesize.
7571         (mremap_chunk): Use pagesize. Call ALIGN_UP.
7572         (__libc_valloc): Use pagesize.
7573         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
7575 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7577         [BZ #17991]
7578         * include/sys/resource.h (__getrlimit64): Declare.  Use
7579         libc_hidden_proto.
7580         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
7581         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
7582         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
7583         getrlimit64.
7584         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
7585         __getrlimit64.
7586         [!getrlimit64] (getrlimit64): Define as weak alias of
7587         __getrlimit64.  Use libc_hidden_weak.
7588         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
7589         using __getrlimit64 not __new_getrlimit64.
7590         (__GI_getrlimit64): Likewise.
7591         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
7592         Likewise.
7593         (__GI_getrlimit64): Likewise.
7594         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
7595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
7596         (getrlimit): Add __getrlimit64 alias.
7597         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
7598         Likewise.
7599         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
7600         Remove variable.
7601         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7602         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7604 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7606         * libio/fileops.c: Add missing sys/mman.h
7607         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7609 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7611         * manual/math.texi (Errors in Math Functions): Clarify goals
7612         regarding inexact and underflow exceptions.
7614 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7616         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7617         * sysdeps/mips/memset.S: Ditto.
7619 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7621         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7623 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7625         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7626         (__v1longjmp): Remove versioned symbol.
7627         (__v1siglongjmp): Remove alias and versioned symbol.
7628         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7629         (__v2siglongjmp): Likewise.
7631 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7633         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7635 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
7637         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7639 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7641         [BZ #17987]
7642         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7643         zero result does not depend on the sign resulting from
7644         subtraction.
7645         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7646         Likewise.
7647         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7648         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7649         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7650         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7651         * math/libm-test.inc (remquo_test_data): Add more tests.
7653 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7655         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7656         Problem reported by J William Piggott.
7658 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7660         [BZ #17978]
7661         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7662         products 4 * y and 2 * y where those would overflow.
7663         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7664         Likewise.
7665         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7666         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7667         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7668         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7669         * math/libm-test.inc (remquo_test_data): Add more tests.
7671         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7673         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7674         [defined _COMPILING_NEWLIB].
7675         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7676         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7678         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7679         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7681 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7683         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7684         acquired.
7686 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7688         [BZ #17792]
7689         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7690         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7691         HOST_STACK_END_ADDR): Likewise.
7693 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7695         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7696         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7697         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7699 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7701         * sysdeps/generic/c++-types.data: New file.
7702         * sysdeps/generic/ld.abilist: New file.
7703         * sysdeps/generic/libBrokenLocale.abilist: New file.
7704         * sysdeps/generic/libanl.abilist: New file.
7705         * sysdeps/generic/libc.abilist: New file.
7706         * sysdeps/generic/libcrypt.abilist: New file.
7707         * sysdeps/generic/libdl.abilist: New file.
7708         * sysdeps/generic/libm.abilist: New file.
7709         * sysdeps/generic/libpthread.abilist: New file.
7710         * sysdeps/generic/libresolv.abilist: New file.
7711         * sysdeps/generic/librt.abilist: New file.
7713 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7715         [BZ #17569]
7716         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7717         Compute absolute value of x as modified by fmod, not original
7718         value of x.
7719         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7720         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7721         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7722         RUN_TEST_ffI_f1_mod8.
7723         (remquo_test_data): Add more tests.
7725 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7727         * sysdeps/init_array/pt-crti.S: New file.
7729 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7731         [BZ #17967]
7732         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7733         __builtin_fmaf instead of relying on contraction of a * b + c.
7735 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7737         [BZ #17969]
7738         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7739         node.
7741 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7743         [BZ #17964]
7744         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7745         __builtin_fma instead of relying on contraction of a * b + c.
7747 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7749         * Makeconfig (ASFLAGS): Add -Werror=undef.
7750         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7751         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7752         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7754         * Makeconfig (after-link): New variable.
7755         (+link-pie, +link-pie-tests): Use it.
7756         (+link-static, +link-static-tests): Likewise.
7757         (+link, +link-tests): Likewise.
7758         * Makerules (build-module, build-module-asneeded): Likewise.
7759         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7760         Likewise.
7761         * elf/Makefile ($(objpfx)ld.so): Likewise.
7763 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7765         [BZ #17965]
7766         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7767         both struct timeval and struct timespec.
7769 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7771         [BZ #16560]
7772         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7773         and redefine.
7774         (__ieee754_exp2l): Do not multiply small fractional parts by
7775         M_LN2l.
7776         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7777         small argument.
7778         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7779         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7780         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7781         * math/auto-libm-test-in: Add more tests of exp2.
7782         * math/auto-libm-test-out: Regenerated.
7784 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7786         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7787         unaligned path.
7789 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7791         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7792         little endian.
7794 2015-02-12  Andreas Schwab  <schwab@suse.de>
7796         [BZ #15790]
7797         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7798         Filter out elision flags from value returned in kind.
7799         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7800         * nptl/tst-pthread-mutexattr.c: New file.
7802 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7804         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7805         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7806         into gnu-gnu, and update comment to refer to abi-tags.
7808 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7810         [BZ #15467]
7811         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7812         (__sincos): Set errno to EDOM for infinite argument.
7813         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7814         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7815         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7816         (__sincosl): Set errno to EDOM for infinite argument.
7817         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7818         (__sincosl): Set errno to EDOM for infinite argument.
7819         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7820         (__sincosl): Set errno to EDOM for infinite argument.
7821         * math/libm-test.inc (sincos_test_data): Test errno setting.
7823 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7825         * string/strxfrm_l.c: Remove #define STRCMP.
7826         * string/strcoll_l.c: Remove #define STRLEN.
7827         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7828         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7830 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7832         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7833         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7834         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7835         * sysdeps/mips/mips64/Makefile: ... here.
7836         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7837         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7838         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7839         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7840         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7841         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7842         * sysdeps/mips/mips64/n64/Implies: Likewise.
7844 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7846         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7847         <sys/time.h>, <string.h>, and <errno.h>.
7848         (dest_offset, dest_address, value, zero): Remove unused variables.
7849         (ldouble): Remove typedef.
7850         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7851         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7852         1).  Fix code style.
7853         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7854         (check): Function removed.
7855         (CHECK): New macro.
7856         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7857         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7858         Don't call set_sigaction_FP and remove_sigaction_FP here.
7859         (ldouble_test): Just use 'long double' as macro argument, no need for
7860         the 'ldouble' typedef.
7861         (do_test): Set up SIGFPE handler at start, using plain signal rather
7862         than sigaction.  Fix code style.
7864 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7866         [BZ #17949]
7867         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7868         jump label.
7870 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7872         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7873         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7875         * sysdeps/powerpc/configure.ac: Remove file.
7876         * sysdeps/powerpc/configure: Likewise.
7878         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7879         [sysdep_routines]: Remove wordcopy-power6 object.
7880         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7881         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7882         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7883         (__memmove_ppc32): Likewise.
7884         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7885         file.
7886         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7887         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7888         Remove preprocessor.
7890         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7891         [sysdep_routines]: Remove wide chars objects.
7892         [wcsmbs]: New rule for wide char objects.
7894         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7895         Remove wordcopy-power6 obejct.
7896         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7897         Use local call for wordcopy and memcpy symbols.
7898         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7899         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7900         implementation for loader.
7901         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7903         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7904         Remove wordcopy-power7 object.
7905         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7906         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7907         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7908         (_wordcopy_fwd_dest_aligned): Likewise.
7909         (_wordcopy_bwd_aligned): Likewise.
7910         (_wordcopy_bwd_dest_aligned): Likewise.
7912         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7913         Rewrite to call __memmove_ppc instead of include default
7914         implementation.
7916         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7917         Remove wide chars objects.
7918         [wcsmbs]: New rule for wide char objects.
7920 2015-02-09  Andreas Schwab  <schwab@suse.de>
7922         [BZ #17912]
7923         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7924         in terms of __O_DIRECTORY.
7926 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7928         * time/getdate.c: Include <stdbool.h>.
7929         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7930         call PTR_MANGLE.
7931         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7932         PTR_DEMANGLE.
7934 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7936         Add ersatz _Static_assert on older C hosts
7937         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7938         pre-C11 C platform that is not known to support _Static_assert.
7940 2015-02-07  Richard Braun  <rbraun@sceen.net>
7942         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7943         sigstate.
7944         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7946 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7948         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7949         priority against unexistent AIO_PRIO_DELTA_MAX.
7950         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7951         instead of int.
7952         * misc/fchflags.c (fchflags): Likewise.
7953         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7954         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7955         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7956         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7957         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7958         Declare macros.
7959         [__USE_MISC] (chflags, fchflags): Declare functions.
7960         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7961         EINVAL when nfds is greater than FD_SETSIZE.
7962         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7963         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7964         45.
7965         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7966         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7967         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7968         MACH_RCV_TIMED_OUT.
7969         * hurd/hurd/signal.h (_hurd_self_sigstate,
7970         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7971         Explicit casts from void *.
7972         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7973         * abi-tags: Rename gnu-gnu os into gnu.
7975         [BZ #4719]
7976         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7977         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7978         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7979         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7980         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7981         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7983         [BZ #17944]
7984         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7985         duplicates ADDR->sun_path with sockaddr LEN limitation.
7986         * sysdeps/mach/hurd/connect.c: Include <string.h>
7987         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7988         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7989         * sysdeps/mach/hurd/sendto.c: Likewise.
7990         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7991         implementing it by hand.
7993 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7995         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7996         Use sfi_breg on ldr.
7997         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7998         Likewise.
8000         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
8001         it's defined.
8002         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
8003         Test SIGSETXID only if it's defined.
8005         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
8007         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
8008         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
8010         * nptl/tst-align2.c: Moved ...
8011         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
8012         * nptl/Makefile (tests): Remove tst-align2.
8013         * sysdeps/unix/sysv/linux/Makefile
8014         [$(subdir) = nptl] (tests): Add tst-align-clone.
8015         * nptl/tst-getpid1.c: Moved ...
8016         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
8017         * nptl/tst-getpid2.c: Moved ...
8018         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
8019         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
8020         * sysdeps/unix/sysv/linux/Makefile
8021         [$(subdir) = nptl] (tests): ... here.
8022         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
8023         * sysdeps/unix/sysv/linux/Makefile
8024         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
8026         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
8027         Drop trailing \n from perror argument.  Use return rather than exit.
8029         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
8030         on [SA_SIGINFO].
8031         * nptl/tst-cancel21.c (do_test): Likewise.
8032         * debug/tst-backtrace6.c: Include <signal.h> first thing.
8033         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
8034         [!SA_SIGINFO]: Make it a stub test.
8036         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
8037         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
8039         * posix/tst-getlogin.c: Move to ...
8040         * login/tst-getlogin.c: ... here.
8041         * posix/Makefile (tests): Move tst-getlogin to ...
8042         * login/Makefile (tests): ... here.
8044         * libio/tst-atime.c (do_test): Move local variables SV and E
8045         inside [ST_NOATIME] conditional.
8047         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
8049         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
8051         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
8052         (wait_code): New function replaces macro.
8053         Call nanosleep rather than syscall.
8055         * nptl/pt-system.c: Rewritten.  Put everything under
8056         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8057         Use IFUNC to redirect when possible.
8059         * nptl/pt-longjmp.c: Rewritten.  Put everything under
8060         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8061         Use IFUNC to redirect when possible.
8063         * nptl/pt-fork.c: Rewritten.  Put everything under
8064         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8065         Use IFUNC to redirect when possible.
8066         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
8068         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
8069         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
8070         unconditionally nowadays.  This included the only reference to
8071         __vdso_clock_gettime that appears outside libc proper.
8072         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
8073         Remove version set (containing only __vdso_clock_gettime).
8074         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
8075         Add attribute_hidden.
8076         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
8077         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
8078         libc_hidden_data_def.
8079         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8080         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8082         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
8083         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
8084         setrpcent, and getrpcport to ...
8085         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
8086         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
8087         getrpcbynumber_r, and getrpcent_r to ...
8088         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
8089         * inet/getrpcbyname.c: Moved ...
8090         * sunrpc/getrpcbyname.c: ... here.
8091         * inet/getrpcbyname_r.c: Moved ...
8092         * sunrpc/getrpcbyname_r.c: ... here.
8093         * inet/getrpcbynumber.c: Moved ...
8094         * sunrpc/getrpcbynumber.c: ... here.
8095         * inet/getrpcbynumber_r.c: Moved ...
8096         * sunrpc/getrpcbynumber_r.c: ... here.
8097         * inet/getrpcent.c: Moved ...
8098         * sunrpc/getrpcent.c: ... here.
8099         * inet/getrpcent_r.c: Moved ...
8100         * sunrpc/getrpcent_r.c: ... here.
8101         * inet/Makefile (routines): Move those to ...
8102         * sunrpc/Makefile (routines): ... here.
8103         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
8104         the $(subdirs) list.
8105         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
8106         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
8107         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
8108         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
8110         * elf/Makefile (routines): Include $(all-dl-routines), not just
8111         $(dl-routines).
8112         (rtld-routines): Likewise.  Use = rather than :=.
8113         * sysdeps/aarch64/Makefile [$(subdir) = elf]
8114         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
8115         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
8116         * sysdeps/arm/Makefile: Likewise.
8117         * sysdeps/i386/Makefile: Likewise.
8118         * sysdeps/x86_64/Makefile: Likewise.
8119         * sysdeps/hppa/Makefile [$(subdir) = elf]
8120         (sysdep_routines, sysdep-rtld-routines): Don't add
8121         $(sysdep-dl-routines) to these.
8122         * sysdeps/ia64/Makefile: Likewise.
8123         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
8124         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
8125         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
8126         Don't add dl-static to these; sysdep-dl-routines alone is enough.
8127         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
8128         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
8129         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
8130         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
8131         * sysdeps/powerpc/Makefile [$(subdir) = elf]
8132         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
8133         these; sysdep-dl-routines alone is enough.
8135 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
8137         [BZ #17932]
8138         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
8139         where multiplication results in zero and third argument is finite
8140         and nonzero.
8141         * math/auto-libm-test-in: Add more tests of fma.
8142         * math/auto-libm-test-out: Regenerated.
8144         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
8145         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
8146         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
8147         (_FP_CMP_EQ): Likewise.
8148         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
8150         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
8151         extra argument CHECK_NAN.  Redefine as wrapper around
8152         _FP_EXTEND_CNAN.
8154 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
8156         * version.h (RELEASE): Set to "stable".
8157         (VERSION): Set to "2.21"
8158         * include/features.h (__GLIBC_MINOR__): Set to 21.
8160         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
8162 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8163             Paul Eggert  <eggert@cs.ucla.edu>
8165         [BZ #16618]
8166         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
8167         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
8168         size in bytes. Store needed elements in wpmax. Use needed size
8169         in bytes for extend_alloca.
8171 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
8173         * manual/install.texi: Latest tested versions are GCC 4.9.2,
8174         binutls 2.25, and texinfo 5.2.
8175         * INSTALL: Regenerate.
8176         * sysdeps/nios2/configure: Regenerate.
8177         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
8178         * manual/contrib.texi: Update.
8179         * po/be.po: Update.
8180         * po/bg.po: Update.
8181         * po/ca.po: Update.
8182         * po/cs.po: Update.
8183         * po/da.po: Update.
8184         * po/de.po: Update.
8185         * po/el.po: Update.
8186         * po/eo.po: Update.
8187         * po/es.po: Update.
8188         * po/fi.po: Update.
8189         * po/fr.po: Update.
8190         * po/gl.po: Update.
8191         * po/hr.po: Update.
8192         * po/hu.po: Update.
8193         * po/ia.po: Update.
8194         * po/id.po: Update.
8195         * po/it.po: Update.
8196         * po/ja.po: Update.
8197         * po/ko.po: Update.
8198         * po/lt.po: Update.
8199         * po/nb.po: Update.
8200         * po/nl.po: Update.
8201         * po/pl.po: Update.
8202         * po/pt_BR.po: Update.
8203         * po/ru.po: Update.
8204         * po/rw.po: Update.
8205         * po/sk.po: Update.
8206         * po/sl.po: Update.
8207         * po/sv.po: Update.
8208         * po/tr.po: Update.
8209         * po/uk.po: Update.
8210         * po/vi.po: Update.
8211         * po/zh_CN.po: Update.
8212         * po/zh_TW.po: Update.
8214         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
8215         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
8216         * sysdeps/hppa/dl-irel.h: Remove #warning.
8217         * sysdeps/hppa/entry.h: Provide prototype for
8218         __canonicalize_funcptr_for_compare and cast argument.
8219         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
8220         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
8221         * sysdeps/hppa/sotruss-lib.c: New file.
8222         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
8223         (atomic_compare_and_exchange_val_acq): Use __typeof__.
8224         (atomic_compare_and_exchange_bool_acq): Likewise.
8225         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
8226         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
8228         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
8229         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
8230         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
8232 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
8234         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
8235         called function in non-PIC case.
8237 2015-01-31  David S. Miller  <davem@davemloft.net>
8239         * sysdeps/sparc/sparc32/bits/atomic.h
8240         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
8241         unlock not after it.
8242         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
8243         volatile register usage warnings from the compiler.
8245         * sysdeps/sparc/nptl/sem_init.c: Delete.
8246         * sysdeps/sparc/nptl/sem_post.c: Delete.
8247         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
8248         * sysdeps/sparc/nptl/sem_wait.c: Delete.
8249         * sysdeps/sparc/sparc32/sem_init.c: New file.
8250         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
8251         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
8252         padding explicitly initialized.
8253         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
8254         padding for in-semaphore spinlock.
8255         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
8256         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
8257         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
8258         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
8259         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
8260         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
8261         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
8262         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
8263         version.
8264         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
8265         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
8267 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8269         [BZ #17801]
8270         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8271         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
8272         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
8273         New.
8274         (index_AVX_Fast_Unaligned_Load): Likewise.
8275         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
8276         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
8277         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
8278         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
8279         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
8280         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
8281         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
8282         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
8283         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
8285 2015-01-29  Andreas Schwab  <schwab@suse.de>
8287         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
8289 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
8291         [BZ #17892]
8292         * nscd/nscd_stat.c (send_stats): Initialize DATA.
8294 2015-01-28  Martin Sebor  <msebor@redhat.com>
8296         * math/README.libm-test: Clarify. Add "How to read the test output."
8298 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
8300         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
8301         Define to 0.
8303 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
8305         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
8306         (__HAVE_64B_ATOMICS): Define to 0.
8308 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8310         [BZ #17885]
8311         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
8312         value to set as new flag.
8314         [BZ #16576]
8315         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
8316         and use _ARCH_PPCSQ instead.
8317         (__ieee754_sqrt): Likewise.
8318         (__ieee754_sqrtf): Likewise.
8319         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
8320         _ARCH_PPCSQ is defined.
8321         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
8322         fsqrt instruction.
8323         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
8324         _ARCH_PPCSQ is defined.
8325         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
8326         fsqrts instruction.
8327         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
8329 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8331         * iconv/loop.c: Suppress array out of bound warning caused by GCC
8332         bug (GCC BZ #64739).
8334 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
8336         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
8337         Mark _retval as used.
8338         (lll_futex_wake_unlock): Likewise.
8339         (lll_futex_timed_wait_requeue_pi): Likewise.
8341         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8342         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
8343         register variables.
8345         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
8346         libm_hidden_def.
8348         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
8349         (__bswap_64): Mark as __always_inline.
8351 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
8353         [BZ #15378]
8354         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
8355         when none of the search directories exist.
8357 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8359         [BZ #17869]
8360         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
8361         power8 in .machine directive.
8363         [BZ #17868]
8364         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
8365         set dependency from opd value.
8367 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8369         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8370         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
8371         architecture.
8373 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8375         [BZ #17870]
8376         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
8377         with uint64_t.
8378         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
8379         (uint64_t) 1.
8380         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
8381         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
8382         Replace 1UL with (uint64_t) 1.
8383         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
8384         int with uint64_t.
8386 2015-01-23  Roland McGrath  <roland@hack.frob.com>
8388         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
8389         (if_freenameindex): Likewise.
8391         * resource/getrlimit64.c: Add missing libc_hidden_def.
8393 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
8395         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
8396         __label__.
8397         (_FP_FMA): Likewise.
8398         (_FP_TO_INT_ROUND): Likewise.
8399         (_FP_FROM_INT): Likewise.
8401 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8403         [BZ #16418]
8404         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
8405         Make code racy and cancel safe.
8407 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
8409         * sysdeps/arm/unwind-resume.h: Fix copyright year.
8410         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
8411         attribution.
8413         * pwd/tst-getpw.c: Rewrite.
8415         [BZ #17702]
8416         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
8417         (modules-names): Add moddummy1 and moddummy2.
8418         ($(objpfx)tst-rec-dlopen): Define.
8419         * dlfcn/moddummy1.c: New file.
8420         * dlfcn/moddummy2.c: New file.
8421         * dlfcn/tst-rec-dlopen.c: New file.
8422         * elf/dl-cache.c (_dl_load_cache_lookup):
8423         Return char*. Copy result with alloca/strcpy/strdup.
8424         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
8425         returns char*. Free cached. If not saving realname
8426         free cached.
8427         * elf/dl-open.c (dl_open_worker): Do not assert that
8428         _r_debug->r_state is RT_CONSISTENT.
8429         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
8430         returns char*.
8432 2015-01-21  Torvald Riegel  <triegel@redhat.com>
8433             Carlos O'Donell  <carlos@redhat.com>
8435         [BZ #12674]
8436         * nptl/sem_waitcommon.c: New file.
8437         * nptl/sem_wait.c: Include sem_waitcommon.c.
8438         (__sem_wait_cleanup, do_futex_wait): Remove.
8439         (__new_sem_wait): Adapt.
8440         (__new_sem_trywait): New function.
8441         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
8442         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
8443         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
8444         (sem_timedwait): Adapt.
8445         * nptl/sem_post.c (__new_sem_post): Adapt.
8446         (futex_wake): New function.
8447         (__old_sem_post): Add release MO fence.
8448         * nptl/sem_open.c (sem_open): Adapt.
8449         * nptl/sem_init.c (__new_sem_init): Adapt.
8450         (futex_private_if_supported): New function.
8451         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
8452         (__old_sem_getvalue): Add using previous code.
8453         * sysdeps/nptl/internaltypes.h: Adapt.
8454         * nptl/tst-sem13.c (do_test): Adapt.
8455         * nptl/tst-sem11.c (main): Adapt.
8456         * nptl/sem_trywait.c: Remove.
8457         * nptl/DESIGN-sem.txt: Remove.
8458         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
8459         (gen-as-const-headers): Remove structsem.sym.
8460         * nptl/structsem.sym: Remove.
8461         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
8462         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
8463         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
8464         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
8465         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
8466         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
8467         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
8468         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
8469         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
8470         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
8471         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
8472         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
8473         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
8474         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
8475         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
8476         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
8477         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
8478         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
8479         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
8480         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
8481         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
8482         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
8484 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
8486         * INSTALL: Regenerated.
8488         * po/libc.pot: Regenerated.
8490 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
8491             Sandra Loosemore  <sandra@codesourcery.com>
8492             Andrew Jenner  <andrew@codesourcery.com>
8493             Joseph Myers  <joseph@codesourcery.com>
8494             Nathan Sidwell  <nathan@codesourcery.com>
8496         * NEWS: Mention new Nios II port.
8497         * sysdeps/nios2/Implies: New file.
8498         * sysdeps/nios2/Makefile: New file.
8499         * sysdeps/nios2/Subdirs: New file.
8500         * sysdeps/nios2/Versions: New file.
8501         * sysdeps/nios2/__longjmp.S: New file.
8502         * sysdeps/nios2/abort-instr.h: New file.
8503         * sysdeps/nios2/backtrace.c: New file.
8504         * sysdeps/nios2/bits/endian.h: New file.
8505         * sysdeps/nios2/bits/fenv.h: New file.
8506         * sysdeps/nios2/bits/link.h: New file.
8507         * sysdeps/nios2/bits/setjmp.h: New file.
8508         * sysdeps/nios2/bsd-_setjmp.S: New file.
8509         * sysdeps/nios2/bsd-setjmp.S: New file.
8510         * sysdeps/nios2/configure: New generated file.
8511         * sysdeps/nios2/configure.ac: New file.
8512         * sysdeps/nios2/crti.S: New file.
8513         * sysdeps/nios2/crtn.S: New file.
8514         * sysdeps/nios2/dl-init.c: New file.
8515         * sysdeps/nios2/dl-machine.h: New file.
8516         * sysdeps/nios2/dl-sysdep.h: New file.
8517         * sysdeps/nios2/dl-tls.h: New file.
8518         * sysdeps/nios2/dl-trampoline.S: New file.
8519         * sysdeps/nios2/gccframe.h: New file.
8520         * sysdeps/nios2/gmp-mparam.h: New file.
8521         * sysdeps/nios2/jmpbuf-offsets.h: New file.
8522         * sysdeps/nios2/jmpbuf-unwind.h: New file.
8523         * sysdeps/nios2/ldsodefs.h: New file.
8524         * sysdeps/nios2/libc-tls.c: New file.
8525         * sysdeps/nios2/libm-test-ulps: New file.
8526         * sysdeps/nios2/machine-gmon.h: New file.
8527         * sysdeps/nios2/math-tests.h: New file.
8528         * sysdeps/nios2/math_private.h: New file.
8529         * sysdeps/nios2/memusage.h: New file.
8530         * sysdeps/nios2/nptl/Makefile: New file.
8531         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
8532         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
8533         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
8534         * sysdeps/nios2/nptl/pthreaddef.h: New file.
8535         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
8536         * sysdeps/nios2/nptl/tls.h: New file.
8537         * sysdeps/nios2/preconfigure: New file.
8538         * sysdeps/nios2/s_fma.c: New file.
8539         * sysdeps/nios2/s_fmaf.c: New file.
8540         * sysdeps/nios2/setjmp.S: New file.
8541         * sysdeps/nios2/sfp-machine.h: New file.
8542         * sysdeps/nios2/sotruss-lib.c: New file.
8543         * sysdeps/nios2/stackguard-macros.h: New file.
8544         * sysdeps/nios2/stackinfo.h: New file.
8545         * sysdeps/nios2/start.S: New file.
8546         * sysdeps/nios2/sysdep.h: New file.
8547         * sysdeps/nios2/tls-macros.h: New file.
8548         * sysdeps/nios2/tst-audit.h: New file.
8549         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
8550         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
8551         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
8552         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
8553         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
8554         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
8555         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
8556         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
8557         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
8558         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
8559         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
8560         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
8561         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
8562         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
8563         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
8564         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
8565         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
8566         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
8567         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
8568         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
8569         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
8570         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
8571         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
8572         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
8573         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
8574         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
8575         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
8576         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
8577         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
8578         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
8579         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
8580         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
8581         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
8582         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
8583         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
8584         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
8585         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
8586         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
8587         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
8588         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
8589         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
8590         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
8591         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
8592         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
8594 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8596         [BZ #17844]
8597         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
8598         (getutent): Use weak_alias in non SHARED case
8599         and default_symbol_version in SHARED case.
8600         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8601         (getutent_r, pututline): Likewise.
8602         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8603         (getutid): Likewise.
8604         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8605         (getutid_r): Likewise.
8606         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8607         (getutline): Likewise.
8608         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8609         (getutline_r): Likewise.
8610         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8611         (updwtmp): Likewise.
8613 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8615         [BZ #17848]
8616         * sysdeps/s390/s390-32/memcmp.S
8617         (memcmp_g5): Rename to __memcmp_g5.
8618         * sysdeps/s390/s390-32/memcpy.S
8619         (memcpy_g5): Rename to __memcpy_g5.
8620         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8621         (memcpy_mvcle) Rename to __memcpy_mvcle.
8622         * sysdeps/s390/s390-32/memset.S
8623         (memset_g5): Rename to __memset_g5.
8624         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8625         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8626         and use prefixed functions.
8627         * sysdeps/s390/s390-32/multiarch/memcmp.S
8628         (memcmp_z196): Rename to __memcmp_z196.
8629         (memcmp_z10): Rename to __memcmp_z10.
8630         (memcmp): Set alias to __memcmp_g5.
8631         (bcmp): Set alias to __memcmp_g5.
8632         * sysdeps/s390/s390-32/multiarch/memcpy.S
8633         (memcpy_z196): Rename to __memcpy_z196.
8634         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8635         (memcpy_z10): Rename to __memcpy_z10.
8636         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8637         (memcpy): Set alias to __memcpy_g5.
8638         * sysdeps/s390/s390-32/multiarch/memset.S
8639         (memset_z196): Rename to __memset_z196.
8640         Jump to __memset_mvcle instead of memset_mvcle.
8641         (memset_z10): Rename to __memset_z10.
8642         Jump to __memset_mvcle instead of memset_mvcle.
8643         (memset_mvcle) Rename to __memset_mvcle.
8644         (memset): Set alias to __memset_g5.
8645         * sysdeps/s390/s390-64/memcmp.S
8646         (memcmp_z900): Rename to __memcmp_z900.
8647         * sysdeps/s390/s390-64/memcpy.S
8648         (memcpy_z900): Rename to __memcpy_z900.
8649         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8650         (memcpy_mvcle) Rename to __memcpy_mvcle.
8651         * sysdeps/s390/s390-64/memset.S
8652         (memset_z900): Rename to __memset_z900.
8653         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8654         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8655         and use prefixed functions.
8656         * sysdeps/s390/s390-64/multiarch/memcmp.S
8657         (memcmp_z196): Rename to __memcmp_z196.
8658         (memcmp_z10): Rename to __memcmp_z10.
8659         (memcmp): Set alias to __memcmp_z900.
8660         (bcmp): Set alias to __memcmp_z900.
8661         * sysdeps/s390/s390-64/multiarch/memcpy.S
8662         (memcpy_z196): Rename to __memcpy_z196.
8663         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8664         (memcpy_z10): Rename to __memcpy_z10.
8665         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8666         (memcpy): Set alias to __memcpy_z900.
8667         * sysdeps/s390/s390-64/multiarch/memset.S
8668         (memset_z196): Rename to __memset_z196.
8669         Jump to __memset_mvcle instead of memset_mvcle.
8670         (memset_z10): Rename to __memset_z10.
8671         Jump to __memset_mvcle instead of memset_mvcle.
8672         (memset_mvcle) Rename to __memset_mvcle.
8673         (memset): Set alias to __memset_z900.
8675 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8677         [BZ #17748]
8678         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8679         __fesetenv instead of fesetenv.
8681 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8683         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8684         macro.
8686 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8688         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8689         regression on LE.
8691         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8692         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8693         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8694         strncmp-power8 object.
8695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8696         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8697         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8698         * NEWS: Update.
8700 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8701             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8703         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8704         trailing byte check.
8706 2015-01-13  David S. Miller  <davem@davemloft.net>
8708         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8710 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8712         * login/logout.c (logout): Use memset rather than bzero.
8713         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8714         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8715         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8716         (_gethtbyaddr): Likewise.
8717         * locale/programs/simple-hash.c (bcopy): Macro removed.
8719 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8721         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8722         Add strcmp-power8 object.
8723         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8724         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8725         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8726         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8727         __strcmp_power8 implementation.
8728         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8729         * NEWS: Update.
8731         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8732         Add strncpy-power8 and stpncpy-power8 objects.
8733         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8734         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8735         implementations.
8736         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8737         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8738         __stpncpy_power8 implementation.
8739         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8740         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8741         __strncpy_power8 implementation.
8742         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8743         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8744         * NEWS: Update.
8746         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8747         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8748         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8750         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8751         strncat-power8 object.
8752         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8753         __strcat_power8 implementation.
8754         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8755         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8756         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8757         optimized strcat for power8.
8759         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8760         strcpy-power8 and stpcpy-power8 objects.
8761         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8762         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8763         implementations.
8764         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8765         multiarch stpcpy implementation for POWER8.
8766         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8767         multiarch strcpy implementation for POWER8.
8768         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8769         __strcpy_power8 function.
8770         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8771         stpcpy for POWER8.
8772         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8773         strcpy for POWER8.
8774         * NEWS: Update.
8776 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8778         [BZ #16009]
8779         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8780         weights and rules. Use do_xfrm_cached if data fits in cache,
8781         do_xfrm otherwise.  Moved former main loop to...
8782         * (do_xfrm_cached): New function.
8783         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8784         find_idx, find_position and stack_push.
8785         * (find_idx): New function.
8786         * (find_position): Likewise.
8787         * localedata/sort-test.sh: Added test run for do_xfrm.
8788         * localedata/xfrm-test.c (main): Added command line option
8789         -nocache to run the test with strings that are too large for
8790         the STRXFRM cache.
8792 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8794         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8795         variable to lll_futex_wake call, not the value itself.
8797 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8799         [BZ #17803]
8800         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8801         twom64.  Adjust value to 0x1p-64L.
8802         (__scalblnl): Only return standard underflowing result for K <=
8803         -64 not K <= -63; adjust exponent for underflowing result by 64
8804         not 63.
8805         * math/libm-test.inc (scalbn_test_data): Add more tests.
8806         (scalbln_test_data): Likewise.
8808         [BZ #17834]
8809         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8810         0x1p63L.
8811         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8812         not HX.
8813         * math/libm-test.inc (scalbn_test_data): Add more tests.
8814         (scalbln_test_data): Likewise.
8816 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8817             Stefani Seibold  <stefani@seibold.net>
8819         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8820         (sysdep_routines): Add dl-vdso here, ...
8821         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8822         (sysdep_routines): ... not here.
8823         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8824         fallback when vDSO is not presented.
8825         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8826         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8827         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8828         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8829         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8830         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8831         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8832         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8833         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8834         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8835         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8836         fallback configurable symbol when vDSO is not available.
8837         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8838         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8839         be able to redefine fallback symbol when vDSO is not available.
8840         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8841         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8843 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8845         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8846         (TLS_INIT_TP): Add tm_capable initialization.
8847         (TLS_DEFINE_INIT_TP): Likewise.
8848         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8849         TCB.
8850         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8851         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8852         calculation.
8853         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8854         transactoion is lock elision is built and TCB tm_capable is set.
8855         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8857         (INTERNAL_SYSCALL_NCS): Likewise.
8858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8859         (INTERNAL_SYSCALL_NCS): Likewise.
8860         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8862         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8863         for powerpc.
8864         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8865         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8866         and remove it for 32 bits case.
8867         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8868         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8869         initialization.
8870         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8871         Disable lock elision with rdlocks if elision is not available.
8873         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8874         (sysdep_routines): Add lock elision objects.
8875         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8876         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8877         [pthread_mutex_t] (__elision): Add field.
8878         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8879         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8880         elision definitions for powerpc.
8881         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8882         implementation of lock elision for powerpc.
8883         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8884         implementation of timed lock elision for powerpc.
8885         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8886         implementation of trylock with lock elision for powerpc.
8887         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8888         implementaion of unlock for lock elision for powerpc.
8889         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8890         automatic enable lock elision for mutexes.
8891         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8892         transaction execution definitions for powerpc.
8893         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8894         definitions.
8895         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8896         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8897         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8898         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8899         * NEWS: Update.
8901 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8903         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8904         for #include of <shm-directory.h>.
8906 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8908         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8909         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8911 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8913         [BZ #17791]
8914         * NEWS: Mention bug fix.
8915         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8916         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8917         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8919 2015-01-09  Torvald Riegel <triegel@redhat.com>
8921         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8923 2015-01-09  Torvald Riegel <triegel@redhat.com>
8925         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8927 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8929         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8930         pointer and cast to uintptr_t.
8932 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8934         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8935         removed.
8936         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8938 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8940         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8941         of 0.
8943 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8945         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8946         <nptl/pthreadP.h> instead.
8947         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8949         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8950         already defined.
8951         [__SIGRTMIN] (init): Function removed.
8952         [__SIGRTMIN] (initialized): Variable removed.
8953         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8954         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8955         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8956         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8957         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8958         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8959         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8960         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8961         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8962         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8963         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8964         * sysdeps/nptl/allocrtsig.c: New file.
8965         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8966         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8967         * sysdeps/generic/testrtsig.h: File removed.
8969         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8970         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8972         * nptl/nptl-init.c (pthread_functions): Conditionalize
8973         .ptr__nptl_setxid initialization on [SIGSETXID].
8975         * sysdeps/nptl/sys/procfs.h: New file.
8976         * nptl_db/Makefile (headers): Add it.
8977         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8979         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8980         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8981         * nptl/pthread_attr_setaffinity.c: Include it.
8982         * nptl/pthread_setattr_default_np.c: Likewise.
8983         * nptl/check-cpuset.h: New file.
8985 2015-01-08  Richard Henderson  <rth@redhat.com>
8987         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8988         (CFLAGS-tst-execstack-prog.c): Likewise.
8989         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8991 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8992             Sandra Loosemore  <sandra@codesourcery.com>
8993             Andrew Jenner  <andrew@codesourcery.com>
8994             Joseph Myers  <joseph@codesourcery.com>
8995             Nathan Sidwell  <nathan@codesourcery.com>
8997         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8998         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8999         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
9000         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
9001         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
9002         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
9003         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
9004         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
9005         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
9006         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
9007         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
9008         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
9009         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
9010         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
9011         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
9012         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
9013         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
9015 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9017         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
9018         timespec struct member in syscall macro.
9019         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9020         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
9021         first timeval struct member in syscall macro.
9022         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
9024 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
9026         [BZ #17748]
9027         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
9028         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
9029         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
9030         __feupdateenv and define as weak alias of __feupdateenv.  Use
9031         libm_hidden_weak.
9032         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
9033         libm_hidden_def.
9034         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
9035         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
9036         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9037         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
9038         libm_hidden_def.
9039         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
9040         __feupdateenv and define as weak alias of __feupdateenv.  Use
9041         libm_hidden_weak.
9042         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
9043         libm_hidden_def.
9044         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
9045         __feupdateenv and define as weak alias of __feupdateenv.  Use
9046         libm_hidden_weak.
9047         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
9048         libm_hidden_def.
9049         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9050         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9051         (__feupdateenv): Likewise.
9052         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
9053         __feupdateenv and define as weak alias of __feupdateenv.  Use
9054         libm_hidden_weak.
9055         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9056         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
9057         libm_hidden_def.
9058         * sysdeps/tile/math_private.h (__feupdateenv): New inline
9059         function.
9060         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
9061         libm_hidden_def.
9062         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
9063         __feupdateenv instead of feupdateenv.
9064         (default_libc_feupdateenv_test): Likewise.
9065         (libc_feresetround_ctx): Likewise.
9067 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9069         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
9070         prototype.
9072 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
9074         * posix/regcomp.c (parse_bracket_exp): Initialize type to
9075         COLL_SYM in a couple of places to avoid uninitialized variable
9076         wanings on tilegx gcc 4.8.2.
9078 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9080         * sysdeps/aarch64/strcpy.S: New file.
9081         * sysdeps/aarch64/stpcpy.S: New file.
9082         * NEWS: Updated.
9084 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9086         * sysdeps/aarch64/strrchr.S: New file.
9087         * NEWS: Updated.
9089 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
9091         [BZ #17658]
9092         * stdlib/setenv.c: Fix memory leak when setting large,
9093         duplicate string.
9095 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
9097         [BZ #17273]
9098         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
9099         and tabs from buffer before parsing fstab entry.
9100         * misc/tst-mntent.c (main): Add test for mount entry with
9101         trailing spaces and tabs.
9103 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
9105         [BZ #17748]
9106         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
9107         * math/fesetround.c (fesetround): Rename to __fesetround and
9108         define as weak alias of __fesetround.  Use libm_hidden_weak.
9109         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
9110         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
9111         * sysdeps/arm/fesetround.c (fesetround): Likewise.
9112         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
9113         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
9114         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
9115         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
9116         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
9117         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
9118         __fesetround_inline.
9119         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
9120         __fesetround_inline instead of __fesetround.
9121         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
9122         __fesetround and define as weak alias of __fesetround.  Use
9123         libm_hidden_weak.  Call __fesetround_inline instead of
9124         __fesetround.
9125         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
9126         __fesetround and define as weak alias of __fesetround.  Use
9127         libm_hidden_weak.
9128         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
9129         Likewise.
9130         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
9131         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9132         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
9133         * sysdeps/tile/math_private.h (__fesetround): New inline function.
9134         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
9135         __fesetround and define as weak alias of __fesetround.  Use
9136         libm_hidden_weak.
9137         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
9138         __fesetround instead of fesetround.
9139         (default_libc_feholdexcept_setround): Likewise.
9140         (libc_feholdsetround_ctx): Likewise.
9141         (libc_feholdsetround_noex_ctx): Likewise.
9143         [BZ #17748]
9144         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
9145         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
9146         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9147         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9148         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9149         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
9150         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9151         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9152         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9153         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9154         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9155         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9156         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9157         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9158         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
9159         libm_hidden_def.
9160         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
9161         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
9162         Likewise.
9163         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9164         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9165         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9166         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9167         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
9168         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9169         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9170         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
9171         __fesetenv instead of fesetenv.
9172         (libc_feresetround_noex_ctx): Likewise.
9173         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9174         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9175         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
9176         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9177         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9178         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9179         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9180         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9181         (__feupdateenv): Likewise.
9182         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9183         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9184         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9185         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
9187 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9189         [BZ #17806]
9190         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
9191         addresses have been freed.
9193 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9195         * resolv/res_init.c (__res_vinit): Improve comments about nserv
9196         and nservall.
9198 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
9200         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
9201         Clean up check_pf allocation pattern. addresses
9203 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9205         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
9206         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
9207         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9208         * nptl/pthread_exit.c (__pthread_exit): Likewise.
9209         * nptl/pthread_join.c (pthread_join): Likewise.
9210         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
9211         * sysdeps/posix/waitid.c (__waitid): Likewise.
9212         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9213         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9214         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9215         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9216         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9217         Likewise.
9218         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9219         (__libc_pread64): Likewise.
9220         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9221         (__libc_pwrite): Likewise.
9222         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9223         (__libc_pwrite64): Likewsie.
9224         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9225         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9226         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9227         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9228         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9229         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9230         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9232         Likewise.
9233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9234         (__libc_pread64): Likewise.
9235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
9236         Likewise.
9237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9238         (__libc_pwrite64): Likewise.
9239         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9240         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9241         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
9242         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9243         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9244         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9245         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
9246         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9247         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9248         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9249         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
9250         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9251         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9252         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
9253         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9254         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9255         Likewise.
9257 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9259         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
9260         (CFLAGS-test-double.c): Likewise.
9261         (CFLAGS-test-ldouble.c): Likewise.
9262         (CPPFLAGS-test-ifloat.c): Likewise.
9263         (CPPFLAGS-test-idouble.c): Likewise.
9264         (CPPFLAGS-test-ildoubl.c): Likewise.
9265         (CFLAGS-test-test-fenv.c): Remove variable.
9266         (CFLAGS-test-misc.c): Likewise.
9268 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
9270         [BZ #17797]
9271         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
9272         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
9273         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
9274         CLOCKS_PER_SEC == 1000000.
9275         * time/clocktest.c (main): Replace %ld with %jd and cast to
9276         intmax_t.
9278 2015-01-05  Roland McGrath  <roland@hack.frob.com>
9280         * sysdeps/generic/unwind-resume.h: New file.
9281         * sysdeps/gnu/unwind-resume.c: Include it.
9282         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
9283         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
9284         argument list.
9285         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
9286         global rather than static.
9287         (_Unwind_Resume): Update user.
9288         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
9289         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
9290         rather than static.  Add __attribute__ ((cold)).
9291         (_Unwind_Resume, __gcc_personality_v0): Update callers.
9292         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
9293         * sysdeps/arm/arm-unwind-resume.S: New file.
9294         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
9295         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
9296         * sysdeps/arm/Makefile [$(subdir) = csu]
9297         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
9298         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9299         Add rt-arm-unwind-resume.
9300         [$(subdir) = nptl]
9301         (libpthread-sysdep_routines, libpthread-shared-only-routines):
9302         Add pt-arm-unwind-resume.
9303         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
9304         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
9306 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9308         [BZ #17748]
9309         * include/fenv.h (__feholdexcept): Declare.  Use
9310         libm_hidden_proto.
9311         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
9312         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
9313         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9314         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
9315         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
9316         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
9317         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
9318         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9319         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
9320         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
9321         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9322         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
9323         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
9324         (feholdexcept): Likewise.
9325         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9326         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9327         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9328         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9329         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
9330         __feholdexcept instead of feholdexcept.
9331         (default_libc_feholdexcept_setround): Likewise.
9333 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9335         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
9336         to avoid using stl/str to align destination.
9338 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9340         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
9342 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9344         [BZ #17796]
9345         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
9346         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
9347         Define as weak alias not strong alias.
9349 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9351         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
9352         bltzal with addiupc.
9353         (RTLD_START): Ditto.
9355 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
9357         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
9358         for __vdso_* functions in declarations.
9359         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
9360         definitions.
9361         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
9362         INTERNAL_VSYSCALL): Use struct return types to check for error.
9364         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
9365         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
9366         function with cast from llround().
9367         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
9368         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9369         Define.
9371 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9373         [BZ #17793]
9374         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
9375         Define as weak alias not strong alias.
9377         [BZ #17635]
9378         * ctype/ctype-c99.c: New file.  isblank implementation moved from
9379         ...
9380         * ctype/ctype-extn.c: ... here.
9381         (__isblank_l): Move to ...
9382         * ctype/ctype-c99_l.c: ... here.  New file.
9383         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
9384         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
9385         Remove variable.
9386         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9387         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9388         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9389         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9390         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9392         [BZ #17777]
9393         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
9394         (posix_fadvise64): Define as weak alias not strong alias.
9395         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9396         (posix_fallocate64): Likewise.
9397         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
9398         Remove variable.
9399         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9400         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9401         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9402         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9403         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9405 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
9407         [BZ #16191]
9408         * NEWS: Mention bug fix.
9409         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
9410         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
9411         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
9412         (HOST_STACK_END_ADDR): Likewise.
9414 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9416         [BZ #17748]
9417         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
9418         * math/fegetround.c (fegetround): Rename to __fegetround and
9419         define as weak alias of __fegetround.  Use libm_hidden_weak.
9420         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
9421         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
9422         * sysdeps/arm/fegetround.c (fegetround): Likewise.
9423         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
9424         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9425         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
9426         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
9427         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
9428         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9429         Undefine after rather than before function definition; use
9430         parentheses around function name in definition.
9431         (__fegetround): Also undefine macro after function definition.
9432         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
9433         __fegetround and define as weak alias of __fegetround.  Use
9434         libm_hidden_weak.  Do not undefine as macro.
9435         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9436         Likewise.
9437         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
9438         __fegetround and define as weak alias of __fegetround.  Use
9439         libm_hidden_weak.
9440         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9441         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9442         * sysdeps/tile/math_private.h (__fegetround): New inline function.
9443         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
9444         __fegetround and define as weak alias of __fegetround.  Use
9445         libm_hidden_weak.
9446         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
9447         __fegetround instead of fegetround.
9449         [BZ #17782]
9450         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
9451         Condition macro definition on [__USE_MISC].
9453         [BZ #17781]
9454         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
9455         (struct sigaction): Change type of sa_flags field to int.
9457         [BZ #17780]
9458         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
9459         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
9460         __glibc_reserved0.
9462         * nptl/version.c (banner): Use single year in copyright notice.
9464         * NEWS: Update copyright dates.
9465         * catgets/gencat.c (print_version): Likewise.
9466         * csu/version.c (banner): Likewise.
9467         * debug/catchsegv.sh: Likewise.
9468         * debug/pcprofiledump.c (print_version): Likewise.
9469         * debug/xtrace.sh (do_version): Likewise.
9470         * elf/ldconfig.c (print_version): Likewise.
9471         * elf/ldd.bash.in: Likewise.
9472         * elf/pldd.c (print_version): Likewise.
9473         * elf/sotruss.sh: Likewise.
9474         * elf/sprof.c (print_version): Likewise.
9475         * iconv/iconv_prog.c (print_version): Likewise.
9476         * iconv/iconvconfig.c (print_version): Likewise.
9477         * locale/programs/locale.c (print_version): Likewise.
9478         * locale/programs/localedef.c (print_version): Likewise.
9479         * login/programs/pt_chown.c (print_version): Likewise.
9480         * malloc/memusage.sh (do_version): Likewise.
9481         * malloc/memusagestat.c (print_version): Likewise.
9482         * malloc/mtrace.pl: Likewise.
9483         * manual/libc.texinfo: Likewise.
9484         * nptl/version.c (banner): Likewise.
9485         * nscd/nscd.c (print_version): Likewise.
9486         * nss/getent.c (print_version): Likewise.
9487         * nss/makedb.c (print_version): Likewise.
9488         * posix/getconf.c (main): Likewise.
9489         * scripts/test-installation.pl: Likewise.
9490         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9492 2015-01-02  Will Newton  <will.newton@linaro.org>
9494         * sysdeps/arm/armv7/configure: Removed.
9495         * sysdeps/arm/armv7/configure.ac: Likewise.
9497 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9499         * All files with FSF copyright notices: Update copyright dates
9500         using scripts/update-copyrights.
9501         * intl/plural.c: Regenerated.
9502         * locale/programs/charmap-kw.h: Likewise.
9503         * locale/programs/locfile-kw.h: Likewise.
9505 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9507         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
9509 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9511         [BZ #17748]
9512         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
9513         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
9514         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9515         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9516         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9517         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
9518         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9519         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
9520         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9521         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9522         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9523         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9524         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9525         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9526         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
9527         libm_hidden_def.
9528         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
9529         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
9530         Likewise.
9531         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9532         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9533         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9534         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9535         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
9536         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9537         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9538         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
9539         __fegetenv instead of fegetenv.
9540         (libc_feholdsetround_noex_ctx): Likewise.
9542 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9544         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
9545         (Elf_MIPS_ABIFlags_v0): New structure.
9546         (EF_MIPS_FP64): Define.
9547         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
9548         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
9549         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
9550         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
9551         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
9552         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
9553         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
9554         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
9555         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
9556         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
9557         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
9558         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
9559         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
9560         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
9561         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
9562         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
9563         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
9564         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
9565         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
9566         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
9567         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
9568         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
9569         field.
9570         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
9571         EF_MIPS_FP64.
9572         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
9573         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
9574         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
9575         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
9576         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
9577         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
9578         * sysdeps/mips/tst-abi-interlink.c: Likewise.
9579         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
9580         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
9581         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
9582         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
9583         record the current FP ABI extension.
9584         (mips-mode-switch): Define to show if kernel headers support mode
9585         switching.
9586         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9587         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
9588         supported SYSV ABI version to 3.
9589         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
9590         feature.
9592 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9593             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9595         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
9596         path.
9597         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
9599 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9601         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9602         __fegetround and redefine to call __fegetround.  Remove condition
9603         on [!__NO_MATH_INLINES].
9604         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9605         function.
9606         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9607         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9608         Remove macro.
9609         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9610         instead of <fenv_libc.h>.
9611         (__llrintl): Call fegetround instead of __fegetround.
9612         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9613         instead of <fenv_libc.h>.
9614         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9615         (__lrintl): Call fegetround instead of __fegetround.
9616         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9617         instead of <fenv_libc.h>.
9618         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9619         (__rintl): Call fegetround instead of __fegetround.
9621 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9623         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9624         arrays.
9626 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9628         [BZ #17775]
9629         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9630         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9631         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9633 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9635         * sysdeps/i386/tls-macros.h: Include <features.h>.
9636         (TLS_LE): Use non-PIC version for GCC >= 5.0.
9637         (TLS_IE): Likewise.
9638         (TLS_LD): Likewise.
9639         (TLS_GD): Likewise.
9640         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9641         define for GCC >= 5.0.
9643 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
9645         * math/test-fenv.c (test_single_exception, set_single_exc,
9646         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9647         feexcp_mask_test, feenable_test, fe_single_test): Add
9648         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9649         case where they are not used.
9650         * math/libm-test.inc: Likewise.
9651         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9652         unused in the absence of FP rounding/exception support.
9653         * stdio-common/tst-printf-round.c: Likewise.
9654         * stdlib/tst-strtod-round.c: Likewise.
9655         * stdlib/tst-strtod-underflow.c: Likewise.
9657 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9659         [BZ #17723]
9660         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9661         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9662         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9663         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9664         libm_hidden_weak.
9665         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9666         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9667         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9668         libm_hidden_def.
9669         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9670         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9671         libm_hidden_weak.
9672         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9673         Likewise.
9674         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9675         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9676         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9677         libm_hidden_weak.
9678         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9679         libm_hidden_def.
9680         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9681         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9682         (__feraiseexcept): Likewise.
9683         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9684         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9685         libm_hidden_weak.
9686         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9687         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9688         libm_hidden_def.
9689         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9690         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9691         Use libm_hidden_def.
9692         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9693         libm_hidden_def.
9694         (feraiseexcept): Define as weak not strong alias.  Use
9695         libm_hidden_weak.
9696         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9697         New inline function.  Factored out of ...
9698         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9699         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9700         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9701         feraiseexcept.
9702         * math/w_acos.c (__acos): Likewise.
9703         * math/w_asin.c (__asin): Likewise.
9704         * math/w_ilogb.c (__ilogb): Likewise.
9705         * math/w_j0.c (y0): Likewise.
9706         * math/w_j1.c (y1): Likewise.
9707         * math/w_jn.c (yn): Likewise.
9708         * math/w_log.c (__log): Likewise.
9709         * math/w_log10.c (__log10): Likewise.
9710         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9711         * sysdeps/aarch64/fpu/math_private.h
9712         (libc_feupdateenv_test_aarch64): Likewise.
9713         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9714         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9715         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9716         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9717         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9718         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9719         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9720         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9721         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9722         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9724 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9726         [BZ #17732]
9727         * io/test-utime.c (main): Replace %ld with %jd and cast to
9728         intmax_t.
9729         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9730         * nptl/tst-mutex5.c: Include <stdint.h>.
9731         (do_test): Replace %ld with %jd and cast to intmax_t.
9732         * posix/tst-regex.c (run_test): Likewise.
9733         (run_test_backwards): Likewise.
9734         * rt/tst-clock.c: Include <stdint.h>.
9735         (clock_test): Replace %ld with %jd and cast to intmax_t.
9736         * rt/tst-cpuclock1.c: Include <stdint.h>.
9737         (do_test): Replace %lu with %ju and cast to uintmax_t.
9738         * rt/tst-cpuclock2.c: Include <stdint.h>.
9739         (do_test): Replace %lu with %ju and cast to uintmax_t.
9740         * rt/tst-mqueue1.c: Include <stdint.h>.
9741         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9742         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9743         intmax_t.
9744         * rt/tst-mqueue4.c (do_test): Likewise.
9745         * rt/tst-timer4.c: Include <stdint.h>.
9746         (check_ts): Replace %ld with %jd and cast to intmax_t.
9747         (do_test): Likewise.
9748         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9749         and cast to intmax_t.
9750         * sysdeps/pthread/tst-timer.c (main): Likewise.
9751         * time/clocktest.c (main): Likewise.
9752         * time/tst-posixtz.c (do_test): Likewise.
9753         * timezone/tst-timezone.c (main): Likewise.
9755 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9756             H.J. Lu  <hongjiu.lu@intel.com>
9758         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9759         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9760         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9761         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9762         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9763         version if bit_Fast_Unaligned_Load is set.
9764         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9765         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9766         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9767         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9768         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9769         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9770         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9771         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9772         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9773         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9774         to 4.
9775         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9776         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9777         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9778         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9780 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9782         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9783         instead of #if to avoid a Wundef warning.
9784         * stdlib/tst-limits.c (do_test): Likewise.
9786         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9787         parallel other exception macros.
9788         (fegetenv): Convert from macro to extern inline so that it applies
9789         retroactively to inline functions already seen by the compiler.
9790         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9792         * posix/Makefile (before-compile): Use $(objpfx) for
9793         posix-conf-vars-def.h.
9795 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9797         * posix/getconf.c (main): Use size_t for type of I.
9798         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9799         NSPEC.
9801         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9802         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9803         * posix/posix-envs.def: Likewise.
9804         * sysdeps/posix/sysconf.c: Likewise.
9805         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9806         (specs): Remove array.
9807         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9808         array.
9810         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9811         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9812         (__sysconf): Use CONF_IS_* macros.
9814         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9815         ($(objpfx)posix-conf-vars-def.h): New target.
9816         * posix/posix-conf-vars.list: New file.
9817         * posix/posix-conf-vars.h: New file.
9818         * posix/confstr.c: Include posix-conf-vars.h.
9819         (confstr): Use CONF_IS_* macros.
9820         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9821         CONF_IS_* macros.
9822         * scripts/gen-posix-conf-vars.awk: New file.
9824 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9826         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9827         fegetround): Add no-op macros to avoid linknamespace issues.
9829         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9830         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9832         * sysdeps/unix/sysv/linux/tile/sysdep.h
9833         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9834         assembly-specific section to avoid a redefinition warning.
9836         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9837         long before casting to pointer to avoid a cast warning.
9839 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9841         * sysdeps/tile/tilegx/Implies: New file.
9843 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9845         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9847 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9849         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9851 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9853         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9854         not define.
9855         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9856         <kernel-features.h>.
9857         (__utimes) [__NR_utimes]: Make code unconditional.
9858         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9859         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9860         (__ASSUME_UTIMES): Do not undefine.
9861         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9862         (__ASSUME_UTIMES): Likewise.
9863         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9864         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9865         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9866         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9868 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9870         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9872 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9874         [BZ #17747]
9875         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9876         alias to weak alias for j0l, y0l.
9877         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9878         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9880         [BZ #17746]
9881         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9882         conversion.
9884 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9886         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9887         to zero if not already defined.
9889 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9891         [BZ #17724]
9892         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9893         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9894         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9895         (char *) casts added.
9896         * sysdeps/ieee754/k_standardf.c: New file.
9897         * sysdeps/ieee754/k_standardl.c: Likewise.
9898         * math/Makefile (libm-support): Remove k_standard.
9899         (libm-calls): Add k_standard.
9901 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9903         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9904         Optimize to avoid an unnecessary FPCR read.
9906 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9908         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9909         Optimize to reduce FPCR/FPSR accesses.
9911 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9913         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9914         Call libc_fetestexcept_aarch64.
9916 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9918         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9919         Call libc_fesetround_aarch64.
9921 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9923         [BZ #17733]
9924         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9925         (__bind): Do not define as weak alias.
9926         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9927         define.
9928         (__getsockname): Do not define as weak alias.
9930 2014-12-22  Will Newton  <will.newton@linaro.org>
9932         * manual/install.texi: Document that we require bison 2.7
9933         or above.
9934         * INSTALL: Regenerate.
9935         * configure.ac: Use AC_CHECK_PROG_VER instead of
9936         AC_PATH_PROG when checking for bison and check for
9937         version 2.7 or above.
9938         * configure: Regenerate.
9940 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9942         [BZ #17745]
9943         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9944         * sysdeps/tile/ffsll.c (ffsll): To here.
9946         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9948 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9950         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9951         if not defined.
9952         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9953         definition.
9954         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9955         hidden ___tls_get_addr.
9956         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9957         hidden __tls_get_addr.
9958         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9959         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9960         Likewise.
9962 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9964         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9965         _dl_init call.
9967 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9969         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9970         from "call _dl_init@PLT".
9971         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9973 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9975         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9976         guarantees.
9978 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9980         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9982 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9984         [BZ #17744]
9985         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9986         strnlen.
9988 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9990         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9991         of multu on MIPSr6.
9992         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9993         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9994         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9995         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9996         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9998 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
10000         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
10001         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
10002         (PTR_SUBU): Use subu for mips32r6/mips64r6.
10003         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
10004         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
10005         mips32r6/mips64r6.
10006         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
10008 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
10010         * string/strncat.c (STRNCAT): Simplify implementation.
10012 2014-12-19  David S. Miller  <davem@davemloft.net>
10014         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
10015         access the quad as both a long double and as a series of 4 words.
10017         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
10018         link_map->l_info array access.
10020 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
10022         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
10024         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
10025         * math/atest-exp2.c (TIMEOUT): Likewise.
10026         * math/atest-sincos.c (TIMEOUT): Likewise.
10028 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10030         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
10031         -Wno-error with -fno-builtin-lround.
10033 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10035         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
10036         Contains futex constants and functions moved over from ...
10037         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
10038         <lowlevellock-futex.h>.
10039         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10040         (lll_timedwait_tid): Add comments and parentheses around macro
10041         arguments.
10043 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10045         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
10046         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
10047         (__lll_private_flag): Remove.
10048         (lll_futex_wait): Likewise.
10049         (lll_futex_timed_wait): Likewise.
10050         (lll_futex_wake): Likewise.
10051         (lll_futex_requeue): Likewise.
10052         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10053         (__lll_timedwait_tid): Spell out argument names.
10054         (lll_timedwait_tid): Add comments and parentheses around macro
10055         arguments.
10056         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
10057         LLL_SHARED and LLL_PRIVATE usable from assembly code.
10059 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10061         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
10062         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10063         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10064         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
10065         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
10066         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
10067         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
10068         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
10069         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
10070         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
10071         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
10072         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
10073         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
10074         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
10075         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
10076         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
10077         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
10078         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
10079         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
10081 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10083         * sysdeps/x86_64/x32/Makefile: New file.
10085 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10087         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
10088         1L with (mp_limb_t) 1.
10090 2014-12-17  Roland McGrath  <roland@hack.frob.com>
10092         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
10093         * nptl/libc_pthread_init.c: ... here.
10094         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
10095         * nptl/register-atfork.c: ... here.
10097         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
10098         Use pthread_sigmask rather than INTERNAL_SYSCALL.
10099         Use assert_perror to check its return value.
10100         (__gai_create_helper_thread): Likewise.
10102         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
10104         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
10106 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
10108         [BZ #17725]
10109         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
10110         __profil_counter.
10111         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
10112         Likewise.
10113         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
10114         Likewise.
10115         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
10116         Likewise.
10117         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
10118         (profil_counter): Likewise.
10119         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
10120         (profil_counter): Likewise.
10121         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
10122         Likewise.
10123         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
10124         Likewise.
10125         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
10126         (profil_counter): Likewise.
10127         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
10128         Likewise.
10129         [!__profil_counter] (profil_counter): Define as weak alias of
10130         __profil_counter.
10131         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
10132         (profil_counter): Rename to __profil_counter.
10133         [!__profil_counter] (profil_counter): Define as weak alias of
10134         __profil_counter.
10135         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
10136         (profil_counter): Rename to __profil_counter.
10137         [!__profil_counter] (profil_counter): Define as weak alias of
10138         __profil_counter.
10139         * sysdeps/posix/profil.c: Update comment referring to
10140         profil_counter.
10141         (__profil): Use __profil_counter instead of profil_counter.
10142         * sysdeps/posix/sprofil.c (profil_counter): Rename to
10143         __profil_counter.  Use __profil_counter_ushort and
10144         __profil_counter_uint in definitions.
10145         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
10146         instead of profil_counter_uint and profil_counter_ushort.
10148         [BZ #17722]
10149         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
10150         define as weak alias of __inet_makeaddr.
10151         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
10152         as weak alias of __inet_addr.
10153         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
10154         as weak alias of __inet_pton.  Use libc_hidden_weak.
10155         * include/arpa/inet.h (__inet_pton): Declare.  Use
10156         libc_hidden_proto.
10157         (inet_makeaddr): Don't use libc_hidden_proto.
10158         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
10159         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
10160         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
10161         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
10162         Remove variable.
10163         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10164         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10166 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
10168         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
10170 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10172         * stdio-common/bug-vfprintf-nargs.c (do_test):
10173         Cast value to intptr_t to avoid format warning
10174         for usage with PRIdPTR printing macro.
10176 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10178         * libio/tst-widetext.c (do_test):
10179         Use format type %td instead of %Zd for ptrdiff_t
10180         in order to avoid format warning.
10182 2014-12-17  Andreas Schwab  <schwab@suse.de>
10184         * nscd/mem.c (gc): Add size_t cast to match printf format.
10186 2014-12-16  Roland McGrath  <roland@hack.frob.com>
10188         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
10189         (init): Apply PTR_MANGLE to pointers before storing them.
10190         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
10191         before using them.
10193 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
10195         [BZ #17719]
10196         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
10197         define as weak alias of __memrchr.
10198         (__memrchr): Do not define as strong alias of memrchr.
10199         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
10200         Remove variable.
10201         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10202         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10203         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10205         [BZ #17717]
10206         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
10207         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
10208         (if_indextoname): Rename to __if_indextoname and define as weak
10209         alias of __if_indextoname.  Use libc_hidden_weak.
10210         (if_freenameindex): Rename to __if_freenameindex and define as
10211         weak alias of __if_freenameindex.
10212         (if_nameindex): Rename to __if_nameindex and define as weak alias
10213         of __if_nameindex.
10214         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
10215         __if_nametoindex and define as weak alias of __if_nametoindex.
10216         Use libc_hidden_weak.
10217         (if_freenameindex): Rename to __if_freenameindex and define as
10218         weak alias of __if_freenameindex.
10219         (if_nameindex): Rename to __if_nameindex and define as weak alias
10220         of __if_nameindex.
10221         (if_indextoname): Rename to __if_indextoname and define as weak
10222         alias of __if_indextoname.  Use libc_hidden_weak.
10223         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
10224         __if_nametoindex and define as weak alias of __if_nametoindex.
10225         Use libc_hidden_weak.
10226         (if_freenameindex): Rename to __if_freenameindex and define as
10227         weak alias of __if_freenameindex.  Use libc_hidden_weak.
10228         (if_nameindex_netlink): Use __if_freenameindex instead of
10229         if_freenameindex.
10230         (if_nameindex): Rename to __if_nameindex and define as weak alias
10231         of __if_nameindex.  Use libc_hidden_weak.
10232         (if_indextoname): Rename to __if_indextoname and define as weak
10233         alias of __if_indextoname.  Use libc_hidden_weak.
10234         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
10235         libc_hidden_proto.
10236         [!_ISOMAC] (__if_freenameindex): Likewise.
10237         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
10238         if_nametoindex.
10239         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
10240         variable.
10241         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10242         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10243         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10244         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10245         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10246         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10247         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10249         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
10250         Remove variable.
10251         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10252         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10254 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10256         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
10257         subscript above bounds'
10259         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
10260         bounds.
10262 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
10264         * libio/tst-fopenloc.c: Use test-skeleton.c.
10266         * stdlib/tst-bsearch.c: Use test-skeleton.c.
10267         (entry): Rename to ITEM.
10268         (do_test, comp): Adjust.
10270         * stdio-common/tst-fseek.c: Use test-skeleton.c.
10272 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10274         * string/tester.c: Include <libc-internal.h>.
10275         (test_memset): Ignore -Wmemset-transposed-args.
10277 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10279         * misc/tst-mntent2.c (do_test): Fix warning.
10281 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10283         * elf/tst-unique4lib.cc(a): Mark as used.
10285 2014-12-16  Florian Weimer  <fweimer@redhat.com>
10287         [BZ #17630]
10288         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
10289         names.
10291 2014-12-16  Allan McRae  <allan@archlinux.org>
10293         * stdio-common/Makefile (tests): Re-add bug26.
10295 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
10297         [BZ #17657]
10298         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
10299         static array.
10301 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
10303         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
10304         (__lll_lock_wait): Likewise.
10305         (__lll_timedlock_wait): Likewise.
10306         (__lll_timedwait_tid): Likewise.
10307         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
10308         (__lll_robust_timedlock_wait): Likewise.
10309         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
10310         (lll_cond_trylock): Likewise.
10311         (__lll_lock): Likewise.
10312         (__lll_robust_lock): Likewise.
10313         (__lll_cond_lock): Likewise.
10314         (lll_robust_cond_lock): Likewise.
10315         (__lll_timedlock): Likewise.
10316         (__lll_robust_timedlock): Likewise.
10317         (__lll_unlock): Likewise.
10318         (__lll_robust_unlock): Likewise.
10319         (lll_wait_tid): Likewise.
10320         (lll_timedwait_tid): Likewise.
10322 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10324         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
10326 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10328         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
10330 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10332         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
10333         * stdio-common/tst-sprintf.c: Likewise.
10335 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10337         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
10339 2014-12-15  Jeff Law  <law@redhat.com>
10341         [BZ #16617]
10342         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
10343         on the heap.  (CVE-2012-3406)
10344         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
10345         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
10346         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
10348 2014-12-15  Will Newton  <will.newton@linaro.org>
10350         * manual/install.texi: Bump required version of texinfo
10351         to 4.7 from 4.5.
10352         * INSTALL: Regenerated.
10353         * configure.ac: Check for makeinfo version 4.7 and above.
10354         * configure: Regenerated.
10356 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10358         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
10359         PREFIX, string constant to insert between directory and name.
10360         * sysdeps/posix/shm_open.c: Update caller.
10361         * sysdeps/posix/shm_unlink.c: Likewise.
10362         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
10363         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
10364         (SEM_SHM_PREFIX): New macro.
10365         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
10366         [$(have-thread-library) = no].
10367         * nptl/Makefile (libpthread-routines): Add shm-directory.
10368         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
10369         * sysdeps/nptl/shm-directory.h: New file.
10370         * sysdeps/posix/shm-directory.c
10371         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
10372         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10373         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
10374         INTERNAL_SYSCALL.
10375         (__where_is_shmfs): Function removed.
10376         (mountpoint, defaultmount, defaultdir, __namedsem_once):
10377         Variables removed.
10378         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
10379         Use SHM_GET_NAME.
10380         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
10382         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
10383         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
10384         unconditional for use inside libpthread.
10385         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
10387 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10389         * nptl/pthread_getaffinity.c: New file.
10390         * nptl/pthread_setaffinity.c: New file.
10391         * nptl/pthread_getname.c: New file.
10392         * nptl/pthread_setname.c: New file.
10394         * nptl/pthread_create.c (START_THREAD_DEFN)
10395         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
10397 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10398             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10400         * resolv/res_send.c (send_vc): Disable warning resplen may
10401         be used uninitialized.
10403 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10405         * nptl/tst-mutex6.c
10406         (ATTR_NULL): New define checks ATTR against NULL.
10407         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
10408         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
10410 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
10412         [BZ #17581]
10413         * malloc/hooks.c
10414         (mem2mem_check): Revert my previous change.
10415         (malloc_check_get_size): Revert my previous change.
10416         (mem2chunk_check): Revert my previous change.
10418 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10420         * sysdeps/posix/shm-directory.c: New file.
10421         * sysdeps/posix/shm-directory.h: New file.
10422         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
10423         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
10424         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
10425         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
10426         Transmute EPERM to EACCES.
10427         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
10428         from ...
10429         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
10430         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
10432 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10434         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
10435         pointer and cast to uintptr_t.
10436         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
10437         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
10438         Add cast to avoid warning.
10439         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
10441 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10443         * nptl/semaphore.h: Move to ...
10444         * sysdeps/pthread/semaphore.h: ... here.
10445         * Makefile (installed-headers): Change nptl/semaphore.h to
10446         sysdeps/pthread/semaphore.h.
10448 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10450         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
10451         generated error format strings.
10453         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
10454         -Wformat-extra-args warnings for scanf formats.
10455         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
10456         test of zero-length format (duh).
10457         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
10458         corner-case scanf format test.
10459         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
10460         generated fprintf format string.
10461         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
10462         corner-case sprintf format tests.
10463         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
10464         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
10465         -Wformat-extra-args warnings throughout.
10466         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
10467         (CFLAGS-scanf4.c): Likewise.
10468         (CFLAGS-scanf7.c): Likewise.
10469         (CFLAGS-tst-sprintf.c): Likewise.
10470         (CFLAGS-tst-printf.c): Likewise.
10471         (CFLAGS-tst-printfsz.c): Likewise.
10473 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10475         * include/cpio.h: New file.
10476         * include/fmtmsg.h: Likewise.
10478         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
10479         corresponding format argument to size_t.
10480         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
10481         arguments.
10482         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
10483         corresponding format argument to size_t.
10484         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
10485         arguments.
10486         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
10487         corresponding format argument to size_t.
10488         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
10489         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
10490         (CFLAGS-tst-mbswcs2.c): Likewise.
10491         (CFLAGS-tst-mbswcs3.c): Likewise.
10492         (CFLAGS-tst-mbswcs4.c): Likewise.
10493         (CFLAGS-tst-mbswcs5.c): Likewise.
10494         (CFLAGS-tst-trans.c): Likewise
10496 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10498         * posix/regexbug1.c (main): Use "%s" format with regerror results,
10499         rather than assuming they won't contain any '%'s.
10501 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
10503         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
10504         inhibit_loop_to_libcall to avoid recursive calls.
10505         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
10506         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
10508 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10510         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
10511         prototype.
10513 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10515         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
10516         integer value instead of boolean.
10518 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10520         * malloc/malloc.c: Fix powerof2 check.
10522 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10524         * locale/programs/locfile.h (maybe_swap_uint32):
10525         Remove inline and add unused attribute.
10527 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10529         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10530         Truncating assembler expression to a .long expression.
10532 2014-12-11  Andreas Schwab  <schwab@suse.de>
10534         * elf/rtld.c (struct map_args): Constify str member.
10535         (do_preload): Constify fname argument.
10537 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10539         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
10540         constants definition.
10542 2014-12-11  Andreas Schwab  <schwab@suse.de>
10544         [BZ #16657]
10545         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
10546         FORCE_ELISION instead of DO_ELISION.
10547         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
10548         Remove.
10549         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
10550         Likewise.
10552         * iconvdata/gconv-modules: Remove duplicate entry.
10554 2014-12-11  Will Newton  <will.newton@linaro.org>
10556         Merge gettext 0.19.3 into intl/.
10558         This involves a number of cosmetic changes to comments
10559         and ANSI function definitions and prototypes throughout
10560         all the files. The gettext copyright header is used but
10561         with the date ranges taken from the glibc copy.
10563         * NEWS: Add gettext merge to 2.21.
10564         * intl/bindtextdom.c: Switch to gettext copyright.
10565         Use ANSI definitions and prototypes.
10566         Use gl_* locking primitives rather than __libc_* ones.
10567         Use __builtin_expect rather than __glibc_likely/unlikely.
10568         * intl/dcgettext.c: Switch to gettext copyright.
10569         Use ANSI definitions and prototypes.
10570         * intl/dcigettext.c: Switch to gettext copyright.
10571         Use ANSI definitions and prototypes.
10572         (INTDIV0_RAISES_SIGFPE): New define.
10573         Use gl_* locking primitives rather than __libc_* ones.
10574         Include eval-plural.h instead of plural-eval.c.
10575         Use __builtin_expect rather than __glibc_likely/unlikely.
10576         * intl/dcngettext.c: Switch to gettext copyright.
10577         Use ANSI definitions and prototypes.
10578         * intl/dgettext.c: Likewise.
10579         * intl/dngettext.c: Likewise.
10580         * intl/plural-eval.c: Renamed to...
10581         * intl/eval-plural.h: ...this.
10582         * intl/explodename.c: Switch to gettext copyright.
10583         Use ANSI definitions and prototypes.
10584         (_nl_explode_name): Use strchr instead of __rawmemchr.
10585         * intl/finddomain.c: Switch to gettext copyright.
10586         Use ANSI definitions and prototypes.
10587         Use gl_* locking primitives rather than __libc_* ones.
10588         (_nl_find_domain): Use malloc rather than alloca for
10589         allocation of temporary locale name.
10590         * intl/gettext.c: Switch to gettext copyright.
10591         Use ANSI definitions and prototypes.
10592         * intl/gettextP.h: Switch to gettext copyright.
10593         Use ANSI definitions and prototypes.
10594         Use gl_* locking primitives rather than __libc_* ones.
10595         * intl/gmo.h: Switch to gettext copyright.
10596         (struct sysdep_string): Move struct segment_pair outside of
10597         struct definition.
10598         * intl/hash-string.c: Use ANSI definitions and prototypes.
10599         * intl/hash-string.h: Switch to gettext copyright.
10600         Use ANSI definitions and prototypes.
10601         * intl/l10nflist.c: Switch to gettext copyright.
10602         Use ANSI definitions and prototypes.
10603         (_nl_normalize_codeset): Avoid integer overflow.
10604         * intl/loadinfo.h: Switch to gettext copyright.
10605         Use ANSI definitions and prototypes.
10606         (LIBINTL_DLL_EXPORTED): New define.
10607         (PATH_SEPARATOR): New define.
10608         * intl/loadmsgcat.c: Switch to gettext copyright.
10609         * intl/localealias.c: Switch to gettext copyright.
10610         Use ANSI definitions and prototypes.
10611         (_nl_expand_alias): Use PATH_SEPARATOR.
10612         * intl/ngettext.c: Switch to gettext copyright.
10613         Use ANSI definitions and prototypes.
10614         * intl/plural-exp.c: Likewise.
10615         * intl/plural-exp.h: Switch to gettext copyright.
10616         Use ANSI definitions and prototypes.
10617         (struct expression): Move definition of enum operator outside
10618         of struct definition.
10619         * intl/plural.c: Regenerate.
10620         * intl/plural.y: Switch to gettext copyright.
10621         Use ANSI definitions and prototypes.
10622         Port to bison 3.0.
10623         * intl/textdomain.c: Switch to gettext copyright.
10624         Use ANSI definitions and prototypes.
10625         Use gl_* locking primitives rather than __libc_* ones.
10627 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
10629         * debug/warning-nop.c: Add used atrribute.
10631 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10633         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10635         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10636         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10637         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10639 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10640             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10642         [BZ #17634]
10643         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10644         Undefine after defining function.  Define as weak alias of
10645         __wcschr.  Use libc_hidden_weak.
10646         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
10647         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10648         (libc_hidden_def): Also define __GI___wcschr alias.
10649         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10650         __wcschr and define as weak alias of __wcschr.
10651         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10652         __wcschr.
10653         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10654         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10655         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10656         libc_hidden_weak.  Do not use libc_hidden_def.
10657         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10658         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10659         __GI___wcschr alias.
10660         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10661         [IS_IN (libc)] (wcschr): Define as macro expanding to
10662         __redirect_wcschr.
10663         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10664         [IS_IN (libc)] (__wcschr_power6): Likewise.
10665         [IS_IN (libc)] (__wcschr_power7): Likewise.
10666         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10667         instead of wcschr.
10668         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10669         __libc_wcschr.
10670         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10671         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10672         __wcschr and define as weak alias of __wcschr.  Use
10673         libc_hidden_builtin_def.
10674         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10675         as weak alias of __wcschr.  Use libc_hidden_weak.
10676         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10677         wcschr.
10678         * time/era.c (_nl_init_era_entries): Likewise.
10679         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10680         variable.
10681         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10682         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10684 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10686         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10687         format for long int variable.
10689 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10691         [BZ #10672]
10692         * manual/search.texi: (Array Sort Function): Remove claim how to make
10693         qsort stable.
10695 2014-12-10  Andreas Schwab  <schwab@suse.de>
10697         [BZ #12847]
10698         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10699         user-controlled locks.
10701 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10703         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10704         register.
10706 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10708         * configure.ac (--disable-werror): New configure option.
10709         (enable_werror): New AC_SUBST.
10710         * configure: Regenerated.
10711         * config.make.in (enable-werror): New variable.
10712         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10713         -Wno-error=undef.
10714         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10715         * manual/install.texi (Configuring and compiling): Document
10716         --disable-werror.
10717         * INSTALL: Regenerated.
10718         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10719         (CFLAGS-tst-chk2.c): Likewise.
10720         (CFLAGS-tst-chk3.c): Likewise.
10721         (CFLAGS-tst-chk4.cc): Likewise.
10722         (CFLAGS-tst-chk5.cc): Likewise.
10723         (CFLAGS-tst-chk6.cc): Likewise.
10724         (CFLAGS-tst-lfschk1.c): Likewise.
10725         (CFLAGS-tst-lfschk2.c): Likewise.
10726         (CFLAGS-tst-lfschk3.c): Likewise.
10727         (CFLAGS-tst-lfschk4.cc): Likewise.
10728         (CFLAGS-tst-lfschk5.cc): Likewise.
10729         (CFLAGS-tst-lfschk6.cc): Likewise.
10731         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10732         (main): Disable -Wdeprecated-declarations around calls to
10733         register_printf_function.
10735         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10736         (do_test): Disable -Wdiv-by-zero around some calls to
10737         fwrite_unlocked and fread_unlocked.
10739         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10740         (DIAG_POP_NEEDS_COMMENT): Likewise.
10741         (_DIAG_STR1): Likewise.
10742         (_DIAG_STR): Likewise.
10743         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10744         * stdio-common/bug21.c: Include <libc-internal.h>.
10745         (do_test): Disable -Wformat around call to sscanf.
10746         * stdio-common/scanf14.c: Include <libc-internal.h>.
10747         (main): Disable -Wformat around some calls to scanf functions.
10749 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10751         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10753 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10755         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10756         stack variable alignment.
10758 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10760         [BZ #17682]
10761         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10762         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10763         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10764         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10765         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10766         __getrlimit instead of getrlimit.
10767         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10768         __gettimeofday instead of gettimeofday.
10769         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10770         Likewise.
10771         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10772         Likewise.
10773         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10774         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10775         Remove variable.
10776         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10777         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10779 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10781         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10782         for wide-character tests.
10784 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10786         * io/openat64.c: #include <libc-internal.h>
10787         (__openat64): Prototypify.  Use ignore_value on MODE.
10788         * io/openat.c: Likewise.
10789         * misc/reboot.c: #include <libc-internal.h>
10790         (reboot): Prototypify.  Use ignore_value on HOWTO.
10791         * misc/ptrace.c: #include <libc-internal.h>
10792         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10794 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10796         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10797         XPG4, UNIX98 and XOPEN2K.
10798         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10799         Remove variable.
10800         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10802 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10804         * libio/fileops.c: Use ISO C style for function definitions.
10805         * libio/iofopen.c: Likewise.
10806         * libio/wfileops.c: Likewise.
10808         [BZ #17653]
10809         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10810         offset on EOF.
10811         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10812         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10813         (fgets_func): Function pointer to fgets and fgetws.
10814         (do_ftell_test): Add test to verify ftell value after read
10815         EOF.
10816         (do_test): Set fgets_func.
10818         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10819         O_TRUNC flag for w and w+ modes.
10820         (do_rewind_test): Likewise.
10821         (do_ftell_test): Likewise.
10822         (do_write_test): Likewise.
10824         [BZ #17647]
10825         * libio/fileops.c (do_ftell): Seek only when there are
10826         unflushed writes.
10827         * libio/wfileops.c (do_ftell_wide): Likewise.
10828         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10829         test case.
10830         (do_one_test): Call it.
10832 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10834         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10835         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10836         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10837         Remove variable.
10838         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10839         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10840         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10842 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10844         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10845         Remove variable.
10846         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10848         [BZ #17668]
10849         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10850         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10851         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10852         __freeifaddrs.  Use libc_hidden_weak.
10853         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10854         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10855         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10856         __freeifaddrs.  Use libc_hidden_weak.
10857         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10858         __getifaddrs and define as weak alias of __getifaddrs.  Use
10859         libc_hidden_weak.
10860         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10861         __freeifaddrs.  Use libc_hidden_weak.
10862         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10863         Remove variable.
10864         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10865         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10867 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10869         [BZ #17601]
10870         * sysdeps/mips/start.S (__start): Use indirect jump to call
10871         __libc_start_main.
10873 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10875         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10877         * nptl/tst-mutex1.c: Include <stdbool.h>.
10878         [!ATTR] (ATTR_NULL): New macro.
10879         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10880         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10881         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10883         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10884         to char *.
10886         [BZ #17665]
10887         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10888         Change conditional to [__USE_MISC].
10890         [BZ #17664]
10891         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10892         fgets_unlocked.
10893         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10894         __fgets_unlocked.
10895         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10896         fgets_unlocked.
10897         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10898         Remove variable.
10899         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10900         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10901         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10902         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10903         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10904         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10905         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10906         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10907         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10909         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10911 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10913         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10914         Remove strpbrk objects.
10915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10916         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10917         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10918         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10919         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10920         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10922         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10923         Remove strcspn objects.
10924         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10925         (__libc_ifunc_impl_list): Remove strcspn implementation.
10926         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10927         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10928         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10929         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10931         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10932         Remove strspn objetcs.
10933         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10934         (__libc_ifunc_impl_list): Remove strspn implementation.
10935         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10936         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10937         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10938         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10940 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10942         [BZ #17581]
10943         * malloc/hooks.c
10944         (mem2mem_check): Add a terminator to the chain of checking blocks.
10945         (malloc_check_get_size): Use it here.
10946         (mem2chunk_check): Ditto.
10948 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10950         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10951         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10953 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10955         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10957         * nptl/nptl-init.c: Include libc-internal.h.
10958         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10960         * elf/ldconfig.c (search_dir): Expand comment.
10962 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10964         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10965         variable.
10966         (linknamespace-symlist-stdlibs-tests): Likewise.
10967         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10968         instead of $(objpfx)symlist-stdlibs.
10969         (linknamespace-libs-isoc): New variable.
10970         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10971         (linknamespace-libs-ISO): New variable.
10972         (linknamespace-libs-ISO99): Likewise.
10973         (linknamespace-libs-ISO11): Likewise.
10974         (linknamespace-libs-XPG3): Likewise.
10975         (linknamespace-libs-XPG4): Likewise.
10976         (linknamespace-libs-POSIX): Likewise.
10977         (linknamespace-libs-UNIX98): Likewise.
10978         (linknamespace-libs-XOPEN2K): Likewise.
10979         (linknamespace-libs-POSIX2008): Likewise.
10980         (linknamespace-libs-XOPEN2K8): Likewise.
10981         ($(objpfx)symlist-stdlibs): Replace by
10982         $(linknamespace-symlist-stdlibs-tests).  Use
10983         $(linknamespace-libs-$*) as set of libraries.
10984         ($(linknamespace-header-tests)): Update dependencies.  Use
10985         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10986         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10987         * conform/linknamespace.pl: Remove comment about considering
10988         definitions of symbols from irrelevant libraries.
10990 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10992         [BZ #13862]
10993         * elf/dl-tls.c: Include <atomic.h>.
10994         (oom): Remove #ifdef SHARED/#endif.
10995         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10996         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10997         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10998         big enough.
10999         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
11000         * nptl/Makefile (tests): Add tst-stack4.
11001         (modules-names): Add tst-stack4mod.
11002         ($(objpfx)tst-stack4): New.
11003         (tst-stack4mod.sos): Likewise.
11004         ($(objpfx)tst-stack4.out): Likewise.
11005         ($(tst-stack4mod.sos)): Likewise.
11006         (clean): Likewise.
11007         * nptl/tst-stack4.c: New file.
11008         * nptl/tst-stack4mod.c: Likewise.
11010 2014-11-27  J. Brown  <jb999@gmx.de>
11012         * sysdeps/x86/bits/string.h: Add recent CPUs.
11014 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
11016         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
11017         sigblock.
11019         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
11020         feof.
11022         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
11023         variable.
11025 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
11027         * nscd/connections.c: Include libc-internal.h because of macro
11028         usage ignore_value.
11030 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11032         * string/bits/string3.h (__warn_memset_zero_len): Don't
11033         declare for gcc newer than 5.0.
11034         (memset): Don't test for zero-length __LEN for gcc newer than
11035         5.0.
11037 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
11039         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
11040         size_t for %zu format.
11042         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
11043         difference, not %ju.
11045 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
11047         * include/libc-internal.h (ignore_value): New macro.
11048         * nscd/connections.c (restart): Wrap calls to setuid and setgid
11049         with ignore_value.
11051         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
11052         definition.
11054         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
11055         pthread_cleanup_push to void *.
11057         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
11058         Undefine.
11060         [BZ #16619]
11061         [BZ #16740]
11062         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
11063         instead of 1L << 52.
11065         * libio/bug-rewind.c (do_test): Check fwscanf return values.
11066         * libio/bug-rewind2.c (do_test): Likewise.
11068         * debug/test-stpcpy_chk-ifunc.c: Remove file.
11069         * debug/test-strcpy_chk-ifunc.c: Likewise.
11070         * wcsmbs/test-wcschr-ifunc.c: Likewise.
11071         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11072         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11073         * wcsmbs/test-wcslen-ifunc.c: Likewise.
11074         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11075         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11076         * Rules [$(multi-arch) = no] (tests): Do not filter out
11077         $(tests-ifunc).
11078         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
11079         * debug/Makefile (tests-ifunc): Remove variable.
11080         (tests): Do not add $(tests-ifunc).
11081         * wcsmbs/Makefile (tests-ifunc): Remove variable.
11082         (tests): Do not add $(tests-ifunc).
11083         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
11084         [TEST_IFUNC]: Remove conditionals.
11085         * string/test-string.h (TEST_IFUNC): Remove macro.
11086         [TEST_IFUNC]: Remove conditionals.
11088         * string/test-strchr.c [!WIDE] (L): New macro.
11089         [WIDE] (L): Likewise.
11090         (check1): Use CHAR instead of char.  Use L on string and character
11091         constants.
11093 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
11095         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
11096         tests.
11097         * sysdeps/powerpc/bits/atomic.h
11098         (__arch_atomic_exchange_and_add_32_acq): Add definition.
11099         (__arch_atomic_exchange_and_add_32_rel): Likewise.
11100         (atomic_exchange_and_add_acq): Likewise.
11101         (atomic_exchange_and_add_rel): Likewise.
11102         * sysdeps/powerpc/powerpc32/bits/atomic.h
11103         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11104         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11105         * sysdeps/powerpc/powerpc64/bits/atomic.h
11106         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11107         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11109 2014-11-26  Torvald Riegel  <triegel@redhat.com>
11111         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
11112         Change synchronization of __sched_fifo_min_prio and
11113         __sched_fifo_max_prio.
11114         * nptl/pthread_mutexattr_getprioceiling.c
11115         (pthread_mutexattr_getprioceiling): Likewise.
11116         * nptl/pthread_mutexattr_setprioceiling.c
11117         (pthread_mutexattr_setprioceiling): Likewise.
11118         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
11119         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11120         Likewise.
11122 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
11124         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
11125         void.
11127 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11129         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
11130         third argument const.
11132 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
11134         fnmatch: work around GCC compiler warning bug with uninit var
11135         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
11136         This works around a bug with x86-64 GCC 4.9.2 and earlier
11137         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
11138         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
11139         used uninitialized in this function [-Wmaybe-uninitialized]".
11141 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11143         * posix/bug-regex31.c (main): Return RES not 0.
11145 2014-11-25  Anton Blanchard <anton@samba.org>
11147         * sysdeps/powerpc/bits/atomic.h
11148         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
11150 2014-11-24  Sterling Augustine  <saugustine@google.com>
11152         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
11154 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
11156         [BZ #17608]
11157         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
11159 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
11161         [BZ #17633]
11162         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
11163         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
11164         variable.
11165         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11166         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11168 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
11170         * string/strncpy.c (strncpy): Improve performance by using memset.
11172 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
11174         * string/strcpy.c (strcpy):
11175         Improve performance by using strlen and memcpy.
11177 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
11179         * string/strcoll_l.c (get_next_seq): __always_inline.
11180         * string/strcoll_l.c (do_compare): __always_inline.
11182 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11184         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
11185         defined.
11186         * include/mqueue.h: Likewise.
11187         * include/stdlib.h: Likewise.
11189         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
11190         (get_null_defines): Adjust.
11191         * sunrpc/Makefile: Adjust comment.
11192         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
11193         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
11194         (CFLAGS-interp.c): Likewise.
11195         (CFLAGS-ldconfig.c): Likewise.
11196         (CPPFLAGS-.os): Likewise.
11197         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11198         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11199         * extra-modules.mk (extra-modules.mk): Likewise.
11200         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
11201         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
11202         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
11203         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
11204         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
11205         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
11206         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
11207         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
11208         * iconvdata/Makefile (CPPFLAGS): Likewise.
11209         (cpp-srcs-left): Add libof for all iconvdata routines.
11210         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
11211         * include/assert.h: Likewise.
11212         * include/ctype.h: Likewise.
11213         * include/errno.h: Likewise.
11214         * include/libc-symbols.h: Likewise.
11215         * include/math.h: Likewise.
11216         * include/netdb.h: Likewise.
11217         * include/resolv.h: Likewise.
11218         * include/stdio.h: Likewise.
11219         * include/stdlib.h: Likewise.
11220         * include/string.h: Likewise.
11221         * include/sys/stat.h: Likewise.
11222         * include/wctype.h: Likewise.
11223         * intl/l10nflist.c: Likewise.
11224         * libidn/idn-stub.c: Likewise.
11225         * libio/libioP.h: Likewise.
11226         * nptl/libc_multiple_threads.c: Likewise.
11227         * nptl/pthreadP.h: Likewise.
11228         * posix/regex_internal.h: Likewise.
11229         * resolv/res_hconf.c: Likewise.
11230         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
11231         * sysdeps/arm/memmove.S: Likewise.
11232         * sysdeps/arm/sysdep.h: Likewise.
11233         * sysdeps/generic/_itoa.h: Likewise.
11234         * sysdeps/generic/symbol-hacks.h: Likewise.
11235         * sysdeps/gnu/errlist.awk: Likewise.
11236         * sysdeps/gnu/errlist.c: Likewise.
11237         * sysdeps/i386/i586/memcpy.S: Likewise.
11238         * sysdeps/i386/i586/memset.S: Likewise.
11239         * sysdeps/i386/i686/memcpy.S: Likewise.
11240         * sysdeps/i386/i686/memmove.S: Likewise.
11241         * sysdeps/i386/i686/mempcpy.S: Likewise.
11242         * sysdeps/i386/i686/memset.S: Likewise.
11243         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11244         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11245         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
11246         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
11247         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11248         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11249         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
11250         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11251         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11252         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11253         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11254         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11255         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11256         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11257         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11258         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11259         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
11260         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
11261         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
11262         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11263         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11264         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11265         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11266         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11267         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11268         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11269         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
11270         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11271         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
11272         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11273         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11274         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11275         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11276         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11277         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11278         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11279         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11280         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11281         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11282         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11283         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11284         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11285         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11286         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11287         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11288         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11289         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
11290         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
11291         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11292         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11293         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11294         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
11295         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
11296         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11297         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11298         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
11299         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11300         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
11301         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
11302         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11303         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11304         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11305         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
11306         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11307         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11308         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
11309         * sysdeps/posix/closedir.c: Likewise.
11310         * sysdeps/posix/opendir.c: Likewise.
11311         * sysdeps/posix/readdir.c: Likewise.
11312         * sysdeps/posix/rewinddir.c: Likewise.
11313         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
11314         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
11315         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11316         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11317         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11318         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
11319         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
11320         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
11321         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11322         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
11323         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
11324         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
11325         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
11326         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
11327         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
11328         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
11329         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
11330         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
11331         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
11332         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
11333         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
11334         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
11335         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
11336         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
11337         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
11338         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
11339         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
11340         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
11341         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
11342         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
11343         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
11344         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
11345         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
11346         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
11347         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
11348         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
11349         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11350         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11351         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
11352         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
11353         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
11354         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
11355         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
11356         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
11357         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
11358         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
11359         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
11360         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
11361         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
11362         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
11363         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
11364         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
11365         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11366         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
11367         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
11368         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
11369         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
11370         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
11371         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
11372         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
11373         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
11374         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
11375         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11376         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
11377         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
11378         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
11379         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
11380         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
11381         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
11382         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
11383         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
11384         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11385         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
11386         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11387         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11388         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
11389         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
11390         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11391         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11392         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
11393         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11394         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11395         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
11396         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
11397         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11398         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
11399         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
11400         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11401         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11402         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11403         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
11404         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
11405         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
11406         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11407         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11408         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
11409         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11410         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11411         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
11412         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
11413         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11414         * sysdeps/unix/alpha/sysdep.S: Likewise.
11415         * sysdeps/unix/alpha/sysdep.h: Likewise.
11416         * sysdeps/unix/make-syscalls.sh: Likewise.
11417         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11418         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11419         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11420         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11421         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11422         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11423         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
11424         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11425         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11426         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
11427         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11428         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11429         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11430         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11431         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11432         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11433         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11434         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11435         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11436         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11437         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11438         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11439         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11440         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11441         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11442         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11443         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11446         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
11447         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11448         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11449         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11450         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11451         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11452         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11453         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11454         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11455         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11456         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11457         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11458         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11459         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11460         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11461         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11462         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11463         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11464         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11465         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11466         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11467         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11468         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11469         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11470         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11471         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11472         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11473         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11474         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11475         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
11476         * sysdeps/x86_64/memcpy.S: Likewise.
11477         * sysdeps/x86_64/memmove.c: Likewise.
11478         * sysdeps/x86_64/memset.S: Likewise.
11479         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
11480         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11481         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11482         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
11483         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11484         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11485         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11486         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11487         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11488         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11489         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11490         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11491         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
11492         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11493         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11494         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
11495         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11496         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11497         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11498         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11499         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
11500         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11501         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11502         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11503         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11504         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11505         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11506         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
11507         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11508         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11509         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
11510         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11511         * sysdeps/x86_64/strcmp.S: Likewise.
11513         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
11515         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
11516         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
11517         * elf/rtld-Rules: Likewise.
11518         * elf/setup-vdso.h: Likewise.
11519         * include/assert.h: Likewise.
11520         * include/bits/stdlib-float.h: Likewise.
11521         * include/errno.h: Likewise.
11522         * include/sys/stat.h: Likewise.
11523         * include/unistd.h: Likewise.
11524         * sysdeps/aarch64/setjmp.S: Likewise.
11525         * sysdeps/alpha/setjmp.S: Likewise.
11526         * sysdeps/arm/__longjmp.S: Likewise.
11527         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
11528         * sysdeps/arm/setjmp.S: Likewise.
11529         * sysdeps/arm/sysdep.h: Likewise.
11530         * sysdeps/generic/_itoa.h: Likewise.
11531         * sysdeps/generic/dl-sysdep.h: Likewise.
11532         * sysdeps/generic/ldsodefs.h: Likewise.
11533         * sysdeps/i386/dl-tls.h: Likewise.
11534         * sysdeps/i386/setjmp.S: Likewise.
11535         * sysdeps/m68k/setjmp.c: Likewise.
11536         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
11537         * sysdeps/mach/hurd/opendir.c: Likewise.
11538         * sysdeps/posix/getcwd.c: Likewise.
11539         * sysdeps/posix/opendir.c: Likewise.
11540         * sysdeps/posix/profil.c: Likewise.
11541         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11542         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11543         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11544         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11545         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11546         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
11547         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11548         * sysdeps/s390/dl-tls.h: Likewise.
11549         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11550         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11551         * sysdeps/sh/sh3/setjmp.S: Likewise.
11552         * sysdeps/sh/sh4/setjmp.S: Likewise.
11553         * sysdeps/unix/alpha/sysdep.h: Likewise.
11554         * sysdeps/unix/arm/sysdep.S: Likewise.
11555         * sysdeps/unix/i386/sysdep.S: Likewise.
11556         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11557         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11558         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11559         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11560         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11561         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11562         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11563         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11564         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11565         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11566         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11567         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11568         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11571         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11572         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11573         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11574         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11575         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11576         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11577         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11578         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11579         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11580         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11581         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11582         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11583         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11584         * sysdeps/x86_64/setjmp.S: Likewise.
11586         * include/math.h: Use IS_IN instead of IS_IN_libm.
11587         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
11588         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11589         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11590         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11591         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11592         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11593         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11594         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11595         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11596         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11597         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
11598         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11599         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
11600         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11601         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11602         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11603         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11604         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11605         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11606         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11607         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11608         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11609         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11610         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11611         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11612         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11613         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11614         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11615         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11616         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11617         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11618         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11619         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11621         Likewise.
11622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11623         Likewise.
11624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11625         Likewise.
11626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11627         Likewise.
11628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11629         Likewise.
11630         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11631         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11632         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11633         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11634         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11635         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11641         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11642         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11643         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11644         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11645         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11646         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11647         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11648         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11649         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11650         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11651         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11652         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11653         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11654         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11656         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11658         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11659         * nptl/pthreadP.h: Likewise.
11660         * nptl_db/structs.def: Likewise.
11661         * sysdeps/arm/sysdep.h: Likewise.
11662         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11663         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11664         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11665         * sysdeps/unix/alpha/sysdep.h: Likewise.
11666         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11667         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11668         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11669         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11670         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11671         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11672         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11673         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11674         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11675         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11676         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11677         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11678         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11679         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11682         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11683         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11684         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11685         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11686         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11687         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11688         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11689         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11690         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11691         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11693         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11694         * nptl/pthreadP.h: Likewise.
11695         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11696         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11697         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11698         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11699         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11700         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11701         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11702         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11703         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11704         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11705         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11706         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11708         Likewise.
11709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11710         Likewise.
11711         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11712         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11713         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11714         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11715         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11716         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11717         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11718         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11720         * dlfcn/dladdr.c: Use IS_IN.
11721         * dlfcn/dladdr1.c: Likewise.
11722         * dlfcn/dlclose.c: Likewise.
11723         * dlfcn/dlerror.c: Likewise.
11724         * dlfcn/dlinfo.c: Likewise.
11725         * dlfcn/dlmopen.c: Likewise.
11726         * dlfcn/dlopen.c: Likewise.
11727         * dlfcn/dlsym.c: Likewise.
11728         * dlfcn/dlvsym.c: Likewise.
11730         * include/ifaddrs.h: Use IS_IN.
11731         * inet/check_pf.c: Likewise.
11732         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11733         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11735         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11736         IS_IN_ldconfig.
11737         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11738         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11740         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11741         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11742         IS_IN (libc).
11744         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11746         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11747         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11748         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11749         * include/libc-symbols.h (IS_IN_LIB): New macro.
11750         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11751         * include/netdb.h: Likewise.
11752         * include/stap-probe.h: Remove all uses of IN_LIB.
11754         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11755         instead of IN_MODULE.
11756         * include/libc-symbols.h (IN_MODULE): Define using
11757         MODULE_NAME.
11758         (PASTE_NAME, PASTE_NAME1): New macros.
11759         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11760         of IN_LIB.
11761         (STAP_PROBE_ASM): Likewise.
11763 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11765         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11766         __mach_init in dlopened libc.
11768 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11770         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11771         * sysdeps/arm/preconfigure: Regenerate.
11773 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11775         * nptl/pthread_create.c (__pthread_create_2_1): Set
11776         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11777         when copying values from IATTR into PD.
11779 2014-11-21  Will Newton  <will.newton@linaro.org>
11780             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11782         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11783         Refactor inline-asm.  Also add comment.
11785         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11786         ElfW macro instead of hardcoded Elf64 types.
11787         (la_aarch64_gnu_pltenter): Likewise.
11788         * sysdeps/aarch64/dl-machine.h
11789         (elf_machine_runtime_setup): Use ElfW(Addr).
11791         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11792         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11793         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11794         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11795         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11796         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11797         (R_AARCH64_TLS_DTPMOD): This.
11798         (R_AARCH64_TLS_DTPREL64): Rename to ...
11799         (R_AARCH64_TLS_DTPREL): This.
11800         (R_AARCH64_TLS_TPREL64): Rename to ...
11801         (R_AARCH64_TLS_TPREL): This.
11802         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11803         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11804         R_AARCH64_TLS_TPREL64.
11805         (elf_machine_rela): Likewise.
11807 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11809         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11810         by setting it to 0.  64b atomics are not supported currently.
11812 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11814         [BZ #16469]
11815         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11816         search domain names.
11818 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11820         [BZ #16469]
11821         * NEWS: Update.
11822         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11823         trailing dot.
11824         * posix/tst-getaddrinfo5.c: New.
11825         * posix/Makefile (tests): Add it.
11827 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11829         [BZ #14498]
11830         * NEWS: Fixed.
11831         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11832         after parsing line but before break_if_match.
11833         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11834         if there is a protocol mismatch.
11836 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11838         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11839         because the potential race is on the user-supplied stream.
11841 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11843         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11844         string literal if not passed a buffer.
11845         * manual/job.texi (ctermid): Update reasoning, note deviation
11846         from posix, suggest mtasurace when not passed a buffer, for
11847         future non-preliminary safety notes.
11849 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11851         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11852         of not passing it a buffer.
11853         Reported by Peng Haitao.
11855 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11857         * manual/Makefile ($(objpfx)stamp-summary): Require
11858         check-safety.sh to pass.
11859         * manual/check-safety.sh: Wish for verification that every
11860         @deftypefn and @deftypefun is followed by a @safety remark.
11862 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11864         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11866         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11867         PTHREAD_CANCEL_ASYNCHRONOUS.
11868         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11869         send SIGCANCEL.
11871         * nptl/default-sched.h: New file.
11872         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11873         * nptl/pthread_create.c: Include it.
11874         (__pthread_create_2_1): Use collect_default_sched instead of making
11875         Linux syscalls here directly.
11877 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11879         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11880         __pthread_once): Use C11 atomics.
11882 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11884         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11886 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11888         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11889         atomic_thread_fence_acquire, atomic_thread_fence_release,
11890         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11891         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11892         atomic_compare_exchange_weak_relaxed,
11893         atomic_compare_exchange_weak_acquire,
11894         atomic_compare_exchange_weak_release,
11895         atomic_exchange_acquire, atomic_exchange_release,
11896         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11897         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11898         atomic_fetch_and_acquire,
11899         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11901 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11903         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11904         USE_ATOMIC_COMPILER_BUILTINS): Define.
11905         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11906         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11907         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11908         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11909         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11910         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11911         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11912         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11913         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11914         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11915         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11916         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11917         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11918         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11919         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11920         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11921         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11922         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11923         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11924         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11925         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11926         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11927         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11928         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11929         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11930         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11931         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11932         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11933         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11934         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11935         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11936         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11937         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11938         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11939         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11940         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11941         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11942         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11943         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11944         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11946 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11948         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11949         the sched_priority value here.  It was already checked when the user
11950         called pthread_attr_setschedparam.
11952         * nptl/tst-bad-schedattr.c: New file.
11953         * nptl/Makefile (tests): Add it.
11955 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11956             Florian Weimer  <fweimer@redhat.com>
11957             Joseph Myers  <joseph@codesourcery.com>
11958             Adam Conrad  <adconrad@0c3.net>
11959             Andreas Schwab  <schwab@suse.de>
11960             Brooks  <bmoses@google.com>
11962         [BZ #17625]
11963         * wordexp-test.c (__dso_handle): Add prototype.
11964         (__register_atfork): Likewise.
11965         (__app_register_atfork): New function.
11966         (registered_forks): New global.
11967         (register_fork): New function.
11968         (test_case): Add 3 new tests for WRDE_CMDSUB.
11969         (main): Call __app_register_atfork.
11970         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11971         fork count is non-zero fail the test.
11972         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11973         is set.
11974         (parse_dollars): Remove check for WRDE_NOCMD.
11975         (parse_dquote): Likewise.
11977 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11979         * Makeconfig (built-modules): List non-library modules to be
11980         built.
11981         (module-cppflags): Include libc-modules.h for
11982         everything except shlib-versions.v.i.
11983         (CPPFLAGS): Use it.
11984         (before-compile): Add libc-modules.h.
11985         ($(common-objpfx)libc-modules.h,
11986         $(common-objpfx)libc-modules.stmp): New targets.
11987         (common-generated): Add libc-modules.h and libc-modules.stmp.
11988         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11989         * include/libc-symbols.h: Don't include libc-modules.h.
11990         * include/libc-modules.h: Remove file.
11991         * scripts/gen-libc-modules.awk: New script to generate
11992         libc-modules.h.
11993         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11994         Depend on libc-modules.stmp.
11996         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11998         * Makeconfig (in-module): Get value of libof set for the
11999         translation unit.
12000         (CPPFLAGS): Use $(in-module).
12001         * Makerules: Don't suffix routine names for nonlib.
12002         * include/libc-modules.h: New file.
12003         * include/libc-symbols.h: Include libc-modules.h
12004         (IS_IN): New macro to replace IS_IN_* macros.
12005         * elf/Makefile: Set libof-* for each routine.
12006         * elf/rtld-Rules: Likewise.
12007         * extra-modules.mk: Likewise.
12008         * iconv/Makefile: Likewise.
12009         * iconvdata/Makefile: Likewise.
12010         * locale/Makefile: Likewise.
12011         * malloc/Makefile: Likewise.
12012         * nss/Makefile: Likewise.
12013         * sysdeps/gnu/Makefile: Likewise.
12014         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
12015         * sysdeps/unix/sysv/linux/Makefile: Likewise.
12016         * sysdeps/s390/s390-64/Makefile: Likewise.
12017         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
12018         CPPFLAGS for nscd instead of nonlib.
12020 2014-11-18  Roland McGrath  <roland@hack.frob.com>
12022         * nptl/createthread.c: New file.
12024         * nptl/createthread.c: Moved ...
12025         * sysdeps/unix/sysv/linux/createthread.c: ... here.
12027         * nptl/createthread.c: Add proper top-line comment.
12028         (do_clone): Folded into ...
12029         (create_thread): ... here.  Take new arguments STOPPED_START and
12030         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
12031         increment __nptl_threads, do event-reporting logic, do
12032         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
12033         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
12034         resource cleanup if sched_setaffinity or sched_setscheduler fails,
12035         just send SIGCANCEL.
12036         * nptl/pthread_create.c: Forward-declare create_thread before
12037         including createthread.c.
12038         (start_thread): Use new macro START_THREAD_DEFN to replace defining
12039         declaration, and new macro START_THREAD_SELF to replace argument.
12040         Remove return statement.
12041         (report_thread_creation): New function.
12042         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
12043         synchronization logic, and __nptl_nthreads increment here, around
12044         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
12045         PD->parent_cancelhandling here, before create_thread.  When
12046         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
12047         __deallocate_stack, and ENOMEM translation here.
12049 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
12051         [BZ #17616]
12052         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
12053         (mptwo): Rename to __mptwo.
12054         (__inv): Use __mptwo instead of mptwo.
12055         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
12056         (mptwo): Rename to __mptwo.
12057         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
12058         of mpone and __mptwo instead of mptwo.
12059         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
12060         instead of mpone.
12061         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12062         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
12063         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
12064         of mpone and __mptwo instead of mptwo.
12065         (__mpranred): Use __mpone instead of mpone.
12066         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
12067         variable.
12068         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12069         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12070         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12071         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12072         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12073         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12074         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12075         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12076         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12077         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12078         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12079         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12080         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12081         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12082         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12083         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12084         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12085         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12086         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12088 2014-11-18  Tom de Vries  <tom@codesoucery.com>
12090         * manual/signal.texi (Primitives Interrupted by Signals): In section,
12091         replace BSD Handler xref with BSD Signal Handling.
12093 2014-11-17  Richard Henderson  <rth@redhat.com>
12095         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
12096         (_FP_PACK_RAW_2): Remove.
12097         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
12098         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
12099         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
12100         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
12101         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
12102         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
12103         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
12104         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
12105         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
12106         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
12107         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
12108         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
12109         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
12110         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
12111         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
12112         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
12114 2014-11-14  Roland McGrath  <roland@hack.frob.com>
12116         * signal/signal.h [__USE_MISC]
12117         (struct sigvec): Remove type.
12118         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
12119         (sigvec): Remove declaration.
12120         * sysdeps/posix/sigvec.c: Moved ...
12121         * signal/sigvec.c: ... here, replacing old file.
12122         (struct sigvec): New type, copied from old signal.h definition.
12123         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
12124         (__sigvec): Convert definition to prototype.
12125         (sigvec): Replace weak_alias with compat_symbol.
12126         * signal/Versions (libc: GLIBC_2.21): New version set.
12127         * include/signal.h: Remove __sigvec declaration.
12128         * sysdeps/unix/bsd/sigvec.c: Remove file.
12129         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
12130         * manual/signal.texi (BSD Handler): Remove subsection.
12131         Move siginterrupt up to ...
12132         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
12133         (Blocking in BSD): Fold subsection into its parent.
12134         * NEWS: Mention sigvec removal.
12136 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12138         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
12139         (DLA_FMS): Make definition conditional only on [__FMA4__].
12140         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
12141         definition.
12143         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
12144         Make definition conditional only on [PROF].
12145         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
12146         definition.
12147         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
12148         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
12150         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
12151         !__GNUC__].
12152         * include/signal.h (__sigpause): Move declaration above call to
12153         libc_hidden_proto.
12154         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
12155         variable.
12156         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12157         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12159 2014-11-14  David S. Miller  <davem@davemloft.net>
12161         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
12162         Define before including <string/memcpy.c> and <string/mempcpy.c>.
12164 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12166         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
12167         * configure: Regenerated.
12168         * manual/install.texi (Tools for Compilation): Document a
12169         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
12170         compiler verified to work.
12171         * INSTALL: Regenerated.
12173         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
12174         redeclare with asm name.
12175         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
12176         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
12177         including <string.h>.
12178         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12179         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
12180         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12181         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
12182         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12183         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12184         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12186 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
12188         * stdlib/strtol.c (__strtol): Use prototype definition.
12190         [BZ #17594]
12191         * stdlib/strtol.c (SYM__): New macro.
12192         (SYM__1): Likewise.
12193         (__strtol): Likewise.
12194         (strtol): Rename to __strtol and define as weak alias of
12195         __strtol.  Use libc_hidden_weak.
12197 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12199         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
12200         Use numbered labels in inline assembly.
12202 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12204         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
12205         Add setjmp LIBC_PROBE.
12206         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
12207         Likewise.
12208         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
12209         Add longjmp, longjmp_target LIBC_PROBE.
12210         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
12211         Likewise.
12213 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12215         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12216         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
12217         to get rid of unused variable warning.
12219 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12221         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
12222         Check for unwind_backtrace ==  NULL only in SHARED case.
12223         (__backchain_backtrace): Compile only in SHARED case.
12224         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
12225         Likewise.
12226         (__backchain_backtrace): Declare as static.
12228 2014-11-12  Roland McGrath  <roland@hack.frob.com>
12230         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
12231         (__libc_multiple_threads_ptr): Variable moved ...
12232         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
12234 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
12236         * conform/GlibcConform.pm: New file.
12237         * conform/conformtest.pl: Use GlibcConform module.
12238         * conform/linknamespace.pl: New file.
12239         * conform/list-header-symbols.pl: Likewise.
12240         * conform/Makefile (linknamespace-symlists-base): New variable.
12241         (linknamespace-symlists-tests): Likewise.
12242         (linknamespace-header-base): Likewise.
12243         (linknamespace-header-tests): Likewise.
12244         (tests-special): Add new tests.
12245         ($(linknamespace-symlists-tests)): New rule.
12246         (linknamespace-libs): New variable.
12247         ($(objpfx)symlist-stdlibs): New rule.
12248         ($(linknamespace-header-tests)): Likewise.
12249         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
12250         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
12251         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
12252         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
12253         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
12254         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
12255         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
12256         (test-xfail-ISO/math.h/linknamespace): Likewise.
12257         (test-xfail-ISO/signal.h/linknamespace): Likewise.
12258         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
12259         (test-xfail-ISO/time.h/linknamespace): Likewise.
12260         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12261         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
12262         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12263         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12264         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12265         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12266         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12267         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
12268         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12269         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12270         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12271         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12272         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
12273         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
12274         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
12275         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12276         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
12277         (test-xfail-XPG3/search.h/linknamespace): Likewise.
12278         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
12279         (test-xfail-XPG3/time.h/linknamespace): Likewise.
12280         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
12281         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12282         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
12283         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
12284         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12285         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12286         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
12287         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
12288         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12289         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
12290         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12291         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12292         (test-xfail-XPG4/search.h/linknamespace): Likewise.
12293         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12294         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
12295         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
12296         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
12297         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
12298         (test-xfail-XPG4/time.h/linknamespace): Likewise.
12299         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
12300         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12301         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
12302         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12303         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12304         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12305         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
12306         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
12307         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12308         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12309         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
12310         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12311         (test-xfail-POSIX/time.h/linknamespace): Likewise.
12312         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
12313         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12314         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12315         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
12316         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12317         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12318         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12319         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12320         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12321         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12322         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
12323         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12324         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12325         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12326         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
12327         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12328         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
12329         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
12330         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12331         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12332         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12333         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12334         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12335         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12336         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
12337         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
12338         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12339         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
12340         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12341         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
12342         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12343         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12344         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12345         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
12346         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12347         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12348         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
12349         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
12350         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
12351         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
12352         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12353         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12354         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
12355         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12356         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
12357         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
12358         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12359         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12360         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12361         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12362         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12363         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12364         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12365         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12366         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12367         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12368         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
12369         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12370         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
12371         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
12372         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
12373         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12374         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12375         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
12376         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12377         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12378         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12379         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12380         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12381         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12382         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12383         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12384         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12385         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12386         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
12387         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12388         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12389         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12390         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
12391         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12392         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
12393         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12394         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12395         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
12396         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12397         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12398         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12399         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12400         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12401         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12402         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12403         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12404         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12405         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12406         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
12407         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12408         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12409         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12411         [BZ #17589]
12412         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
12413         of fgets_unlocked.
12415         [BZ #17585]
12416         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
12417         (memmem): Rename to __memmem and define as weak alias of
12418         __memmem.  Use libc_hidden_weak.
12419         (__memmem): Use libc_hidden_def.
12420         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
12421         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
12422         memmem.
12424         [BZ #17582]
12425         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
12426         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
12427         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
12428         and define as weak alias of __fgets_unlocked.  Use
12429         libc_hidden_weak.
12430         (__fgets_unlocked): Use libc_hidden_def.
12431         * include/stdio.h (__fgets_unlocked): Declare.  Use
12432         libc_hidden_proto.
12433         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
12434         __fgets_unlocked instead of fgets_unlocked.
12435         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
12436         (GET_NPROCS_CONF_PARSER): Likewise.
12437         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
12438         (GET_NPROCS_CONF_PARSER): Likewise.
12440         [BZ #17574]
12441         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
12442         weak alias of __wmemset.  Use libc_hidden_weak.
12443         (__wmemset): Use libc_hidden_def.
12444         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
12445         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
12446         of wmemset.
12448         [BZ #17573]
12449         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
12450         with asm name __mempcpy.
12451         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
12453         [BZ #17572]
12454         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
12455         and define as weak alias of __rawmemchr.
12456         (__rawmemchr): Do not define as strong alias of rawmemchr.
12458         [BZ #17571]
12459         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
12460         alias of __qsort_r.
12461         (qsort): Call __qsort_r instead of qsort_r.
12462         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
12463         (__qsort_r): Declare.  Call libc_hidden_proto.
12464         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
12465         instead of qsort_r.
12466         * nscd/gai.c (__qsort_r): Define to qsort_r.
12467         * posix/tst-rfc3484.c (__qsort_r): Likewise.
12468         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
12469         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
12471         [BZ #17570]
12472         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
12473         define as weak alias of __malloc_info.
12475         [BZ #17584]
12476         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
12477         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12478         (__rewinddir): Use libc_hidden_def.
12479         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
12480         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12481         (__rewinddir): Use libc_hidden_def.
12482         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
12483         weak alias of __rewinddir.  Don't use libc_hidden_def.
12484         (__rewinddir): Use libc_hidden_def.
12485         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
12486         (__rewinddir): Use libc_hidden_proto.
12487         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
12488         rewinddir.
12489         (__getcwd): Use __rewinddir instead of rewinddir.
12491         [BZ #17583]
12492         * libio/fileno.c (fileno): Rename to __fileno and define as weak
12493         alias of __fileno.  Use libc_hidden_weak.
12494         (__fileno): Use libc_hidden_def.
12495         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
12496         * libio/ftello.c (ftello): Rename to __ftello and define as weak
12497         alias of __ftello.
12498         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
12499         __ftello.
12500         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
12501         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
12502         libc_hidden_def.
12503         (fread_unlocked): Don't use libc_hidden_ver.
12504         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
12505         and define as weak alias of __fread_unlocked.  Don't use
12506         libc_hidden_def.
12507         (__fread_unlocked): Use libc_hidden_def.
12508         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
12509         (ftello): Don't use libc_hidden_proto.
12510         (__ftello): Declare.  Use libc_hidden_proto.
12511         (fread_unlocked): Don't use libc_hidden_proto.
12512         (__fread_unlocked): Declare.  Use libc_hidden_proto.
12513         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
12514         and __ftello instead of fileno, fread_unlocked and ftello.
12516 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12518         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
12519         GOT12.
12520         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12521         Likewise.
12522         (_dl_start_user): Likewise.
12523         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
12525 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
12526             Siddhesh Poyarekar  <siddhesh@redhat.com>
12528         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
12529         Move argv and envp down instead of moving argc up.
12530         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
12532 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
12534         [BZ #17506]
12535         * test-skeleton.c (main): Return successful if one of
12536         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
12537         * string/tst-strcoll-overflow.c: Define expected status.
12539 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
12541         [BZ #17475]
12542         * locale/iso-639.def: Define Bhili and Tulu language codes.
12544 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
12546         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
12548 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
12550         [BZ #17555]
12551         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
12553 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
12555         * configure.ac: Updated check of minimal required version to
12556         2.22.
12557         * manual/install.texi (Tools for Compilation): Updated version
12558         number.
12559         * configure: Regenerated.
12560         * INSTALL: Likewise.
12562 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
12564         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
12565         __tls_get_addr.
12567 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
12569         * include/sys/wait.h (__libc_waitpid): Remove declaration.
12570         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
12571         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12572         libc_hidden_weak.
12573         (waitpid): Define as alias of __waitpid.
12574         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
12575         __waitpid.
12576         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12577         libc_hidden_weak.
12578         (waitpid): Define as alias of __waitpid.
12579         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
12580         __libc_waitpid alias.
12581         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
12582         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
12583         Likewise.
12584         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
12585         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
12586         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
12587         alias.
12588         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
12589         __waitpid.
12590         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12591         libc_hidden_weak.
12592         (waitpid): Define as alias of __waitpid.
12594 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
12596         * manual/llio.texi: Add comment that write safety has been
12597         fixed in Linux.
12599         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
12600         (localplt-build-dso): Add elf/ld.so.
12601         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12602         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12603         and free for ld.so.
12604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12605         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12607         Likewise.
12608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12609         Likewise.
12610         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12611         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12612         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12613         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12614         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12615         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12616         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12617         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12618         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12619         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12620         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12622 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
12624         [BZ #14132]
12625         * include/libc-symbols.h (INTUSE): Remove macro.
12626         (INTDEF): Likewise.
12627         (INTVARDEF): Likewise.
12628         (_INTVARDEF): Likewise.
12629         (INTDEF2): Likewise.
12630         (INTVARDEF2): Likewise.
12631         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12632         rtld_hidden_def instead of INTVARDEF.
12633         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12634         (_dl_starting_up_internal): Remove declaration.
12635         (_dl_starting_up): Use rtld_hidden_proto.
12636         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12637         declaration.
12638         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12639         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12640         _dl_starting_up.
12641         * elf/dl-writev.h (_dl_writev): Likewise.
12642         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12643         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12644         _dl_starting_up_internal.
12646 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12648         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12649         test-skeleton.c.
12651 2014-11-05  Will Newton  <will.newton@linaro.org>
12653         * benchtests/Makefile: (bench-malloc): Add malloc thread
12654         scalability benchmark.
12655         * benchtests/bench-malloc-threads.c: New file.
12657 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12659         * sysdeps/aarch64/strchrnul.S: New file.
12661 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12663         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12664         definition.
12665         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12666         Likwise.
12667         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12668         Likewise.
12669         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12670         Likewise.
12671         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12672         Likewise.
12673         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12674         Likewise.
12676 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12678         * catgets/test-gencat.c: Use test-skeleton.c.
12679         * catgets/tst-catgets.c: Likewise.
12680         * csu/tst-empty.c: Likewise.
12681         * elf/tst-audit2.c: Likewise.
12682         * elf/tst-global1.c: Likewise.
12683         * elf/tst-pathopt.c: Likewise.
12684         * elf/tst-piemod1.c: Likewise.
12685         * elf/tst-tls10.c: Likewise.
12686         * elf/tst-tls11.c: Likewise.
12687         * elf/tst-tls12.c: Likewise.
12688         * gnulib/tst-gcc.c: Likewise.
12689         * iconvdata/tst-e2big.c: Likewise.
12690         * iconvdata/tst-loading.c: Likewise.
12691         * iconv/tst-iconv1.c: Likewise.
12692         * iconv/tst-iconv2.c: Likewise.
12693         * inet/test-inet6_opt.c: Likewise.
12694         * inet/tst-gethnm.c: Likewise.
12695         * inet/tst-network.c: Likewise.
12696         * inet/tst-ntoa.c: Likewise.
12697         * intl/tst-codeset.c: Likewise.
12698         * intl/tst-gettext2.c: Likewise.
12699         * intl/tst-gettext3.c: Likewise.
12700         * intl/tst-ngettext.c: Likewise.
12701         * intl/tst-translit.c: Likewise.
12702         * io/test-stat.c: Likewise.
12703         * libio/test-fmemopen.c: Likewise.
12704         * libio/tst-freopen.c: Likewise.
12705         * libio/tst-sscanf.c: Likewise.
12706         * libio/tst-ungetwc1.c: Likewise.
12707         * libio/tst-ungetwc2.c: Likewise.
12708         * libio/tst-widetext.c: Likewise.
12709         * localedata/tst-ctype.c: Likewise.
12710         * localedata/tst-digits.c: Likewise.
12711         * localedata/tst-leaks.c: Likewise.
12712         * localedata/tst-mbswcs1.c: Likewise.
12713         * localedata/tst-mbswcs2.c: Likewise.
12714         * localedata/tst-mbswcs3.c: Likewise.
12715         * localedata/tst-mbswcs4.c: Likewise.
12716         * localedata/tst-mbswcs5.c: Likewise.
12717         * localedata/tst-setlocale.c: Likewise.
12718         * localedata/tst-trans.c: Likewise.
12719         * localedata/tst-wctype.c: Likewise.
12720         * localedata/tst-xlocale1.c: Likewise.
12721         * login/tst-grantpt.c: Likewise.
12722         * malloc/tst-calloc.c: Likewise.
12723         * malloc/tst-malloc.c: Likewise.
12724         * malloc/tst-mallocstate.c: Likewise.
12725         * malloc/tst-mcheck.c: Likewise.
12726         * malloc/tst-mtrace.c: Likewise.
12727         * malloc/tst-obstack.c: Likewise.
12728         * math/atest-exp2.c: Likewise.
12729         * math/atest-exp.c: Likewise.
12730         * math/atest-sincos.c: Likewise.
12731         * math/test-matherr.c: Likewise.
12732         * math/test-misc.c: Likewise.
12733         * math/test-powl.c: Likewise.
12734         * math/tst-definitions.c: Likewise.
12735         * misc/tst-dirname.c: Likewise.
12736         * misc/tst-efgcvt.c: Likewise.
12737         * misc/tst-fdset.c: Likewise.
12738         * misc/tst-hsearch.c: Likewise.
12739         * misc/tst-mntent2.c: Likewise.
12740         * nptl/tst-sem7.c: Likewise.
12741         * nptl/tst-sem8.c: Likewise.
12742         * nptl/tst-sem9.c: Likewise.
12743         * nss/test-netdb.c: Likewise.
12744         * posix/tst-fnmatch.c: Likewise.
12745         * posix/tst-getlogin.c: Likewise.
12746         * posix/tst-gnuglob.c: Likewise.
12747         * posix/tst-mmap.c: Likewise.
12748         * pwd/tst-getpw.c: Likewise.
12749         * resolv/tst-inet_ntop.c: Likewise.
12750         * rt/tst-timer.c: Likewise.
12751         * stdio-common/test-fseek.c: Likewise.
12752         * stdio-common/test-popen.c: Likewise.
12753         * stdio-common/test-vfprintf.c: Likewise.
12754         * stdio-common/tst-cookie.c: Likewise.
12755         * stdio-common/tst-fileno.c: Likewise.
12756         * stdio-common/tst-gets.c: Likewise.
12757         * stdio-common/tst-obprintf.c: Likewise.
12758         * stdio-common/tst-perror.c: Likewise.
12759         * stdio-common/tst-sprintf2.c: Likewise.
12760         * stdio-common/tst-sprintf3.c: Likewise.
12761         * stdio-common/tst-sprintf.c: Likewise.
12762         * stdio-common/tst-swprintf.c: Likewise.
12763         * stdio-common/tst-tmpnam.c: Likewise.
12764         * stdio-common/tst-unbputc.c: Likewise.
12765         * stdio-common/tst-wc-printf.c: Likewise.
12766         * stdlib/tst-environ.c: Likewise.
12767         * stdlib/tst-fmtmsg.c: Likewise.
12768         * stdlib/tst-limits.c: Likewise.
12769         * stdlib/tst-rand48-2.c: Likewise.
12770         * stdlib/tst-rand48.c: Likewise.
12771         * stdlib/tst-random2.c: Likewise.
12772         * stdlib/tst-random.c: Likewise.
12773         * stdlib/tst-strtol.c: Likewise.
12774         * stdlib/tst-strtoll.c: Likewise.
12775         * stdlib/tst-tls-atexit.c: Likewise.
12776         * stdlib/tst-xpg-basename.c: Likewise.
12777         * string/test-ffs.c: Likewise.
12778         * string/tst-bswap.c: Likewise.
12779         * string/tst-inlcall.c: Likewise.
12780         * string/tst-strtok.c: Likewise.
12781         * string/tst-strxfrm.c: Likewise.
12782         * sysdeps/x86_64/tst-audit10.c: Likewise.
12783         * sysdeps/x86_64/tst-audit3.c: Likewise.
12784         * sysdeps/x86_64/tst-audit4.c: Likewise.
12785         * sysdeps/x86_64/tst-audit5.c: Likewise.
12786         * time/tst-ftime_l.c: Likewise.
12787         * time/tst-getdate.c: Likewise.
12788         * time/tst-mktime3.c: Likewise.
12789         * time/tst-mktime.c: Likewise.
12790         * time/tst-posixtz.c: Likewise.
12791         * time/tst-strptime2.c: Likewise.
12792         * time/tst-strptime3.c: Likewise.
12793         * wcsmbs/tst-btowc.c: Likewise.
12794         * wcsmbs/tst-mbrtowc.c: Likewise.
12795         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12796         * wcsmbs/tst-wchar-h.c: Likewise.
12797         * wcsmbs/tst-wcpncpy.c: Likewise.
12798         * wcsmbs/tst-wcrtomb.c: Likewise.
12799         * wcsmbs/tst-wcsnlen.c: Likewise.
12800         * wcsmbs/tst-wcstof.c: Likewise.
12802 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12804         [BZ #14132]
12805         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12806         INTDEF.
12807         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12808         declaration.
12809         (_dl_mcount): Use rtld_hidden_proto.
12810         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12811         _dl_mcount.
12812         * elf/rtld.c (_rtld_global_ro): Likewise.
12814         [BZ #14132]
12815         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12816         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12817         of _dl_init_internal.
12818         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12819         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12820         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12821         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12822         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12823         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12824         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12825         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12826         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12827         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12828         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12829         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12830         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12831         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12832         * sysdeps/tile/dl-start.S (_start): Likewise.
12833         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12834         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12836         [BZ #14132]
12837         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12838         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12839         (rtld_progname): Make macro definition unconditional.
12840         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12841         INTDEF.
12842         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12843         (dl_main): Likewise.
12844         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12845         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12846         instead of _dl_argv_internal.
12847         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12848         __GI__dl_argv instead of INTUSE(_dl_argv).
12849         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12850         __GI__dl_argv instead of _dl_argv_internal.
12852         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12853         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12854         macro.
12855         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12856         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12857         New macro.
12858         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12859         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12860         macro.
12861         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12862         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12864 2014-11-04  Andreas Schwab  <schwab@suse.de>
12866         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12868 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12870         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12871         mtvsrd instruction in binary form.
12873 2014-11-03  Andreas Schwab  <schwab@suse.de>
12875         [BZ #17522]
12876         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12877         for less than MB_LEN_MAX use a local buffer of that size.
12878         * libio/tst-fputws.c: New file.
12879         * libio/Makefile (tests): Add tst-fputws.
12881 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12883         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12884         the size of the fpu_fr.fpu_dregs[] array.
12886 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12888         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12889         (__nanosleep): Do not define as alias.
12890         (nanosleep): Define as alias of __nanosleep.
12891         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12892         __libc_nanosleep name.
12894 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12896         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12897         install.texi in comment.
12899 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12901         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12902         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12903         ... add here and use lwsync or sync ...
12904         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12905         ... and add here using lwsync.
12907 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12909         * elf/dl-machine-reject-phdr.h: New file.
12910         * elf/dl-load.c: #include that.
12911         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12912         if that returned true.
12914 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12916         [BZ #17496]
12917         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12918         gen-as-const-headers chunk.  Add a big scare comment after the last
12919         safe place to touch before-compile.
12921 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12923         * manual/install.texi (Tools for Compilation): Update autoconf
12924         version requirements.
12925         * INSTALL: Regenerated.
12927         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12928         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12929         (__libc_pselect): Likewise.
12931         [BZ #14138]
12932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12937 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12939         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12940         correct barrier instruction.
12941         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12942         Likewise.
12943         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12944         Likewise.
12946 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12948         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12949         after defining inlines.  Instead, just use parens to defeat macro
12950         expansion of __isctype in its declaration.
12952 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12954         * include/sys/uio.h (__libc_readv): Remove declaration.
12955         (__libc_writev): Likewise.
12956         * misc/readv.c (__libc_readv): Rename to __readv.
12957         (__readv): Do not define as alias.
12958         (readv): Define as alias of __readv.
12959         * misc/writev.c (__libc_writev): Rename to __writev.
12960         (__writev): Do not define as alias.
12961         (writev): Define as alias of __writev.
12962         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12963         (__readv): Do not define as alias.
12964         (readv): Define unconditionally as alias of __readv.
12965         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12966         (__writev): Do not define as alias.
12967         (writev): Define unconditionally as alias of __writev.
12968         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12969         name.
12970         (writev): Do not define __libc_writev name.
12972 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12974         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12975         (convert_charseq): New function, broken out of ...
12976         (use_from_charmap): ... here.  Call it.
12977         (use_to_charmap): Use convert_charseq and free instead of duplicating
12978         its code with a variable-length stack struct.
12980 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12982         * include/fcntl.h (__libc_creat): Remove declaration.
12983         * io/creat.c (__libc_creat): Rename to creat.
12984         (creat): Do not define as alias.
12985         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12986         of creat instead of __libc_creat.
12987         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12988         to creat.
12989         (creat): Do not define as alias.
12990         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12991         __libc_creat.
12992         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12993         __libc_creat name.
12994         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12995         Likewise.
12997 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12999         * manual/llio.texi: Add comments discussing why write() may be
13000         considered MT-unsafe on Linux.
13002 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
13004         * dl-load.c (local_strdup): Remove.
13005         (expand_dynamic_string_token): Use __strdup.
13006         (decompose_rpath): Likewise.
13007         (_dl_map_object): Likewise.
13009 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
13011         [BZ #14132]
13012         * sysdeps/generic/unwind-dw2-fde.c
13013         (__register_frame_info_bases_internal): Do not declare.
13014         (__register_frame_info_table_bases_internal): Likewise.
13015         (__deregister_frame_info_bases_internal): Likewise.
13016         (__register_frame_info_bases): Declare and use hidden_proto before
13017         definition.  Use hidden_def instead of INTDEF.
13018         (__register_frame_info_table_bases): Likewise.
13019         (__deregister_frame_info_bases): Likewise.
13020         (__register_frame_info): Do not use INTUSE.
13021         (__register_frame): Likewise.
13022         (__register_frame_info_table): Likewise.
13023         (__register_frame_table): Likewise.
13024         (__deregister_frame_info): Likewise.
13025         (__deregister_frame): Likewise.
13027 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
13029         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13030         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
13031         not undefine.
13032         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
13033         Likewise.
13034         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
13035         Likewise.
13037 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
13039         [BZ #14138]
13040         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
13041         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
13042         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
13043         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
13044         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
13045         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
13046         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
13047         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
13048         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
13049         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
13050         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
13051         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
13052         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
13053         syscall.
13054         (setfsuid): Likewise.
13055         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
13056         (setfsuid): Likewise.
13057         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
13058         (setfsuid): Likewise.
13059         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
13060         Likewise.
13061         (setfsuid): Likewise.
13062         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
13063         (setfsuid): Likewise.
13064         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
13065         Likewise.
13066         (setfsuid): Likewise.
13068 2014-10-27  Andreas Schwab  <schwab@suse.de>
13070         [BZ #17501]
13071         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
13072         check for Slow_SSE4_2 feature bit.
13073         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
13074         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13075         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
13076         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
13078 2014-10-24  Roland McGrath  <roland@hack.frob.com>
13080         * configure.ac: Validate compiler version with a empirical test of
13081         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
13082         $CC -v output.
13083         * configure: Regenerated.
13085         * inet/htons.c (htons): Prototypify.
13086         * inet/htonl.c (htonl): Likewise.
13088 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13090         * string/strncat.c (strncat): Improve performance by using strlen.
13092 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13094         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
13096 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13098         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
13099         Call libc_fetestexcept_aarch64.
13101 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13103         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
13104         Call libc_feholdexcept_aarch64.
13106 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13108         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
13109         Call get_rounding_mode.
13111 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13113         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13114         Simplify logic.
13116 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13118         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
13119         Simplify logic.
13121 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
13123         [BZ #14138]
13124         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
13125         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
13126         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
13127         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
13128         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
13129         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
13130         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
13131         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
13132         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
13133         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
13134         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13135         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
13136         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
13137         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
13138         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
13139         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
13140         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
13141         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
13142         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
13143         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
13144         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
13145         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
13146         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
13147         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
13148         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
13149         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
13150         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
13151         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
13152         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
13153         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
13154         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
13155         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
13156         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
13157         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
13158         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
13159         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
13160         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
13161         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
13162         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
13163         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
13164         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
13165         syscall.
13166         (geteuid): Likewise.
13167         (getgid): Likewise.
13168         (getuid): Likewise.
13169         (getresgid): Likewise.
13170         (getresuid): Likewise.
13171         (getgroups): Likewise.
13172         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
13173         (geteuid): Likewise.
13174         (getgid): Likewise.
13175         (getuid): Likewise.
13176         (getresgid): Likewise.
13177         (getresuid): Likewise.
13178         (getgroups): Likewise.
13179         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
13180         (geteuid): Likewise.
13181         (getgid): Likewise.
13182         (getuid): Likewise.
13183         (getresgid): Likewise.
13184         (getresuid): Likewise.
13185         (getgroups): Likewise.
13186         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
13187         Likewise.
13188         (geteuid): Likewise.
13189         (getgid): Likewise.
13190         (getuid): Likewise.
13191         (getresgid): Likewise.
13192         (getresuid): Likewise.
13193         (getgroups): Likewise.
13194         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
13195         (geteuid): Likewise.
13196         (getgid): Likewise.
13197         (getuid): Likewise.
13198         (getresgid): Likewise.
13199         (getresuid): Likewise.
13200         (getgroups): Likewise.
13201         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
13202         Likewise.
13203         (geteuid): Likewise.
13204         (getgid): Likewise.
13205         (getuid): Likewise.
13206         (getgroups): Likewise.
13208         [BZ #14138]
13209         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
13210         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
13211         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
13212         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13213         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
13214         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
13215         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
13216         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
13217         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
13218         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
13219         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
13220         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
13221         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
13222         __chown.
13223         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
13224         (lchown): Likewise.
13225         (fchown): Likewise.
13226         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
13227         Likewise.
13228         (lchown): Likewise.
13229         (fchown): Likewise.
13230         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
13231         (lchown): Likewise.
13232         (fchown): Likewise.
13233         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
13234         Likewise.
13235         (lchown): Likewise.
13236         (fchown): Likewise.
13238 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13240         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
13241         Simplify logic.
13243 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13245         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13246         Cleanup logic.
13248 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13250         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13251         Remove unused include.
13253 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13255         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
13256         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
13257         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
13258         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
13260 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
13261             Helge Deller <deller@gmx.de>
13263         [BZ #17508]
13264         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
13265         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
13266         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
13268 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
13270         [BZ #14132]
13271         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
13272         Remove macro definition.
13273         (__ashrdi3_v_glibc20): Likewise.
13274         (__lshrdi3_v_glibc20): Likewise.
13275         (__cmpdi2_v_glibc20): Likewise.
13276         (__ucmpdi2_v_glibc20): Likewise.
13277         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
13278         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13279         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13280         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13281         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13282         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
13284 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13286         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
13287         old GNU extension [0] syntax.
13288         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
13289         alloca rather than an array member with variable length.
13290         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
13291         * nscd/nscd.c (invalidate_db): New function, broken out of ...
13292         (parse_opt): ... here.  Likewise use alloca there.
13293         Validate the -i argument before checking for rootness.
13294         (send_shutdown): New function, broken out of ...
13295         (parse_opt): ... here.
13297 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13299         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
13300         macro to get at the _rt_local_ro field.
13301         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
13302         ([PIC] case) or _dl_hwcap ([!PIC] case).
13303         * sysdeps/arm/setjmp.S: Likewise.
13305         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
13306         * sysdeps/arm/configure.ac: New check to define it.
13307         * sysdeps/arm/configure: Regenerated.
13308         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
13309         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
13310         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
13311         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
13312         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
13313         Use move/movt pair instead of a load.
13314         (LDST_GLOBAL): Macro removed.
13315         (LDR_GLOBAL): New macro replaces it.
13316         (LDR_HIDDEN): New macro.
13317         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
13318         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
13320         * setjmp/tst-setjmp-static.c: New file.
13321         * setjmp/Makefile (tests): Add it.
13322         (tests-static): New variable.
13324 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
13326         [BZ #17485]
13327         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
13329 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
13331         [BZ #14132]
13332         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
13334 2014-10-21  Roland McGrath  <roland@hack.frob.com>
13336         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
13338 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13340         * io/fts.c (dirent_not_directory): New function.
13341         (fts_build): Call it.
13343 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13345         * nptl/version.c (__nptl_main): Use normal __write rather than
13346         INTERNAL_SYSCALL.
13347         (banner): Update copyright years.
13349         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
13350         gettimeofday.
13351         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13352         * nptl/pthread_cond_timedwait.c: Likewise.
13353         * nptl/pthread_mutex_timedlock.c: Likewise.
13354         * nptl/sem_timedwait.c: Likewise.
13356         * sysdeps/nptl/bits/libc-lock.h
13357         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13358         (__libc_lock_init_recursive): Return void, not 0.
13359         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
13360         (__libc_rwlock_init): Likewise.
13361         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
13363 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13365         [BZ #15215]
13366         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
13367         (__pthread_once_slow): ... here.
13368         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
13369         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
13371 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13373         [BZ #15215]
13374         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
13375         __PTHREAD_ONCE_FORK_GEN_INCR): New.
13376         * sysdeps/nptl/fork.c (__libc_fork): Use them.
13377         * nptl/pthread_once.c (__pthread_once): Likewise.
13378         Update comments.
13380 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
13382         [BZ #14138]
13383         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
13384         name.
13385         (writev): Use __libc_writev as strong name.
13386         * sysdeps/unix/sysv/linux/readv.c: Remove file.
13387         * sysdeps/unix/sysv/linux/writev.c: Likewise.
13389 2014-10-17  Roland McGrath  <roland@hack.frob.com>
13391         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
13393         * sysdeps/i386/nptl/tls.h
13394         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
13395         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
13396         New macros.
13397         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
13398         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
13399         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
13400         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
13401         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
13402         Call CHECK_THREAD_SYSINFO instead of doing an assert.
13404         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13405         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
13406         on [__NR_futex].
13407         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
13408         broken out of ...
13409         (__pthread_mutex_init): ... here.  Call it.
13410         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
13411         Conditionalize PI cases on [__NR_futex].
13412         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
13413         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
13414         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13416         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
13417         conditional on [SIGSETXID].
13418         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
13419         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
13420         is defined.  Likewise for SIGSETXID.
13421         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
13422         Conditionalize definitions on [SIGSETXID].
13423         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
13424         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
13425         unblocking on [SIGCANCEL].
13427         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
13428         [__NR_set_robust_list].
13430 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13432         * string/strcoll_l.c (get_next_seq): Fix up formatting.
13433         (do_compare): Likewise.
13435 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
13437         [BZ #15884]
13438         * string/strcoll_l.c: Don't include stdio.h.
13439         (coll_seq): Remove members idxarr and rulearr.
13440         (get_next_seq_cached): Remove function.
13441         (get_next_seq): Likewise.
13442         (get_next_seq_nocache): Rename to get_next_seq.
13443         (do_compare): Remove function.
13444         (do_compare_nocache): Rename to do_compare.
13445         (STRCOLL): Remove weight and rules cache.
13447 2014-10-16  Roland McGrath  <roland@hack.frob.com>
13449         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
13450         * sysdeps/arm/sfp-machine.h: ... to here.
13451         * sysdeps/arm/Implies: Remove arm/soft-fp.
13453 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
13455         * conform/data/sys/utsname.h-data (*_t): Allow.
13456         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
13457         [POSIX] (WEXITED): Do not expect constant.
13458         [POSIX] (WSTOPPED): Likewise.
13459         [POSIX] (WNOHANG): Likewise.
13460         [POSIX] (WNOWAIT): Likewise.
13461         [POSIX] (siginfo_t): Do not expect type or elements.
13462         [POSIX] (pid_t): Do not expect type.
13463         [POSIX] (signal.h): Do not allow header.
13464         [POSIX] (sys/resource.h): Likewise.
13465         [POSIX] (si_*): Do not allow pattern.
13466         [POSIX] (W*): Likewise.
13467         [POSIX] (P_*): Likewise.
13468         [POSIX] (BUS_*): Likewise.
13469         [POSIX] (CLD_*): Likewise.
13470         [POSIX] (FPE_*): Likewise.
13471         [POSIX] (ILL_*): Likewise.
13472         [POSIX] (POLL_*): Likewise.
13473         [POSIX] (SEGV_*): Likewise.
13474         [POSIX] (SI_*): Likewise.
13475         [POSIX] (TRAP_*): Likewise.
13476         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
13477         variable.
13479 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13481         [BZ #12926]
13482         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
13483         infinite loop when __recvmsg returns 0.
13485 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
13487         * CANCEL-FCT-WAIVE: Remove file.
13488         * CANCEL-FILE-WAIVE: Likewise.
13490         [BZ #14132]
13491         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
13492         instead of INTVARDEF.
13493         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13494         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
13495         rtld_hidden_data_def instead of INTVARDEF.
13496         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13497         * elf/dl-deps.c (expand_dst): Likewise.
13498         * elf/dl-load.c (_dl_dst_count): Likewise.
13499         (_dl_dst_substitute): Likewise.
13500         (decompose_rpath): Likewise.
13501         (_dl_init_paths): Likewise.
13502         (open_path): Likewise.
13503         (_dl_map_object): Likewise.
13504         * elf/rtld.c (dl_main): Likewise.
13505         (process_dl_audit): Likewise.
13506         (process_envvars): Likewise.
13507         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
13508         Remove declaration.
13509         (__libc_enable_secure): Use rtld_hidden_proto.
13511 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13513         * elf/dl-load.c
13514         (add_path): New function broken out of _dl_rtld_di_serinfo.
13515         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
13517 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13519         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
13520         parentheses around macro arguments.
13521         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
13522         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
13523         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
13524         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
13525         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
13526         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13527         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13528         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
13529         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
13530         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
13531         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
13532         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
13533         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
13534         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
13535         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
13536         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
13537         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
13538         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
13539         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
13540         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
13541         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
13542         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
13543         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
13544         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13545         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13546         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
13547         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
13548         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
13549         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
13550         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
13551         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
13552         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
13553         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
13554         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
13555         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
13556         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
13557         Likewise.
13558         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
13559         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13560         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13561         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
13562         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
13563         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
13564         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
13565         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
13566         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
13567         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
13568         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
13569         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
13570         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
13571         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
13572         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
13573         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13574         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13575         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
13576         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
13577         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
13578         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
13579         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
13580         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
13581         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
13582         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
13583         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
13584         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
13585         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
13586         (_FP_FRAC_SRS_1): Likewise.
13587         (_FP_FRAC_CLZ_1): Likewise.
13588         (_FP_MUL_MEAT_1_imm): Likewise.
13589         (_FP_MUL_MEAT_1_wide): Likewise.
13590         (_FP_MUL_MEAT_1_hard): Likewise.
13591         (_FP_SQRT_MEAT_1): Likewise.
13592         (_FP_FRAC_ASSEMBLE_1): Likewise.
13593         (_FP_FRAC_DISASSEMBLE_1): Likewise.
13594         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
13595         (__FP_CLZ_2): Likewise.
13596         (_FP_MUL_MEAT_2_wide): Likewise.
13597         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13598         (_FP_MUL_MEAT_2_gmp): Likewise.
13599         (_FP_MUL_MEAT_2_120_240_double): Likewise.
13600         (_FP_SQRT_MEAT_2): Likewise.
13601         (_FP_FRAC_ASSEMBLE_2): Likewise.
13602         (_FP_FRAC_DISASSEMBLE_2): Likewise.
13603         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13604         (_FP_FRAC_CLZ_4): Likewise.
13605         (_FP_MUL_MEAT_4_wide): Likewise.
13606         (_FP_MUL_MEAT_4_gmp): Likewise.
13607         (_FP_SQRT_MEAT_4): Likewise.
13608         (_FP_FRAC_ASSEMBLE_4): Likewise.
13609         (_FP_FRAC_DISASSEMBLE_4): Likewise.
13610         * soft-fp/op-common.h (_FP_CMP): Likewise.
13611         (_FP_CMP_EQ): Likewise.
13612         (_FP_CMP_UNORD): Likewise.
13613         (_FP_TO_INT): Likewise.
13614         (_FP_FROM_INT): Likewise.
13615         [!__FP_CLZ] (__FP_CLZ): Likewise.
13616         (_FP_DIV_HELP_imm): Likewise.
13617         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13618         Likewise.
13619         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13620         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13621         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13622         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13623         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13624         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13625         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13626         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13627         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13628         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13629         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13630         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13631         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13632         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13633         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13634         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13635         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13636         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13637         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13638         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13639         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13640         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13641         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13642         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13643         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13644         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13645         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13646         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13647         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13648         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13649         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13650         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13651         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13652         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13653         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13654         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13655         (FP_UNPACK_RAW_SP): Likewise.
13656         (FP_PACK_RAW_S): Likewise.
13657         (FP_PACK_RAW_SP): Likewise.
13658         (FP_UNPACK_S): Likewise.
13659         (FP_UNPACK_SP): Likewise.
13660         (FP_UNPACK_SEMIRAW_S): Likewise.
13661         (FP_UNPACK_SEMIRAW_SP): Likewise.
13662         (FP_PACK_S): Likewise.
13663         (FP_PACK_SP): Likewise.
13664         (FP_PACK_SEMIRAW_S): Likewise.
13665         (FP_PACK_SEMIRAW_SP): Likewise.
13666         (_FP_SQRT_MEAT_S): Likewise.
13667         (FP_CMP_S): Likewise.
13668         (FP_CMP_EQ_S): Likewise.
13669         (FP_CMP_UNORD_S): Likewise.
13670         (FP_TO_INT_S): Likewise.
13671         (FP_FROM_INT_S): Likewise.
13673         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13675         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13676         (FP_EX_INVALID_IMZ): Likewise.
13677         (FP_EX_INVALID_IMZ_FMA): Likewise.
13678         (FP_EX_INVALID_ISI): Likewise.
13679         (FP_EX_INVALID_ZDZ): Likewise.
13680         (FP_EX_INVALID_IDI): Likewise.
13681         (FP_EX_INVALID_SQRT): Likewise.
13682         (FP_EX_INVALID_CVI): Likewise.
13683         (FP_EX_INVALID_VC): Likewise.
13684         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13685         "invalid" exceptions.
13686         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13687         (_FP_ADD_INTERNAL): Likewise.
13688         (_FP_MUL): Likewise.
13689         (_FP_FMA): Likewise.
13690         (_FP_DIV): Likewise.
13691         (_FP_CMP_CHECK_NAN): Likewise.
13692         (_FP_SQRT): Likewise.
13693         (_FP_TO_INT): Likewise.
13694         (FP_EXTEND): Likewise.
13696 2014-10-09  Allan McRae  <allan@archlinux.org>
13698         * po/fr.po: Update French translation from translation project.
13700 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13702         [BZ #14132]
13703         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13704         of INTDEF.
13705         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13706         (__cxa_atexit): Use libc_hidden_proto.
13707         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13709         [BZ #14132]
13710         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13711         declaration.
13712         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13713         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13714         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13715         [!_ISOMAC] (__iswctype_internal): Likewise.
13716         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13717         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13718         alias.
13719         (fcntl): Remove __fcntl_internal alias.
13720         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13721         __connect_internal alias.
13722         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13723         Likewise.
13725         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13726         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13727         FP_DENORM_ZERO.
13728         (_FP_CHECK_FLUSH_ZERO): New macro.
13729         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13730         (_FP_CMP): Likewise.
13731         (_FP_CMP_EQ): Likewise.
13732         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13733         FP_DENORM_ZERO.
13734         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13735         (FP_TRUNC): Likewise.
13737         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13738         treated as invalid conversion, not as normal exponent.
13740         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13741         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13742         (_FP_CMP_EQ): Likewise.
13743         (_FP_CMP_UNORD): Likewise.
13744         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13745         (FP_CMP_EQ_D): Likewise.
13746         (FP_CMP_UNORD_D): Likewise.
13747         * soft-fp/extended.h (FP_CMP_E): Likewise.
13748         (FP_CMP_EQ_E): Likewise.
13749         (FP_CMP_UNORD_E): Likewise.
13750         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13751         (FP_CMP_EQ_Q): Likewise.
13752         (FP_CMP_UNORD_Q): Likewise.
13753         * soft-fp/single.h (FP_CMP_S): Likewise.
13754         (FP_CMP_EQ_S): Likewise.
13755         (FP_CMP_UNORD_S): Likewise.
13756         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13757         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13758         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13759         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13760         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13761         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13762         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13763         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13764         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13765         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13766         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13767         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13768         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13769         to FP_CMP_Q.
13770         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13771         FP_CMP_Q.
13772         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13773         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13774         FP_CMP_EQ_Q.
13775         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13776         FP_CMP_Q.
13777         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13778         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13779         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13780         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13781         FP_CMP_EQ_Q.
13782         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13783         FP_CMP_Q.
13784         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13785         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13786         FP_CMP_EQ_Q.
13787         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13788         FP_CMP_Q.
13789         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13790         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13791         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13792         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13793         FP_CMP_EQ_Q.
13795         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13796         a subnormal result, set the underflow exception if trapping on
13797         underflow is enabled.
13798         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13799         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13800         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13801         redefine to 0.
13802         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13803         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13804         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13805         * soft-fp/extendxftf2.c (__extendxftf2): Use
13806         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13808         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13809         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13810         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13811         FP_HANDLE_EXCEPTIONS.
13812         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13813         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13814         FP_HANDLE_EXCEPTIONS.
13815         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13816         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13817         FP_HANDLE_EXCEPTIONS.
13818         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13819         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13820         FP_HANDLE_EXCEPTIONS.
13822 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13824         [BZ #14132]
13825         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13826         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13827         use INTUSE.
13828         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13829         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13830         Remove alias.
13831         (__adjtimex): Define using libc_hidden_ver.
13832         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13833         Remove declaration.
13834         (ntp_gettime): Call __adjtimex directly.
13835         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13836         Remove declaration.
13837         (ntp_gettimex): Call __adjtimex directly.
13838         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13839         __adjtimex_internal alias.
13841 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13843         [BZ #17460]
13844         * nscd/nscd.c (more_help): Rewrite list of tables collection
13845         using xstrdup and asprintf.
13847         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13849 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13850             Roland McGrath  <roland@hack.frob.com>
13852         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13853         (do_lookup_unique): ... local function 'enter' here; update callers.
13855 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13857         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13858         compat_symbol calls on [SHARED].
13859         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13860         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13861         Remove.
13862         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13863         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13864         (oldsetrlimit): Remove.
13865         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13867         (lchown): New syscall entry.
13868         (oldsetrlimit): Remove.
13869         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13870         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13871         (oldsetrlimit): Remove.
13872         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13874         [BZ #14138]
13875         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13876         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13877         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13878         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13879         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13880         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13881         (fchown): Likewise.
13882         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13883         (fchown): Likewise.
13884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13885         Likewise.
13887 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13889         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13890         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13891         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13892         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13893         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13894         Likewise.
13895         (__old_sem_post): Likewise.
13897 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13899         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13900         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13901         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13902         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13903         Use INLINE_VSYSCALL macro.
13904         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13905         __vdso_clock_gettime.
13906         * sysdeps/unix/sysv/linux/tile/init-first.c
13907         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13908         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13909         __vdso_clock_gettime.
13911         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13912         to set up frame more cleanly.
13914         * sysdeps/tile/memcmp.c: New file.
13916         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13918         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13919         * sysdeps/tile/tilegx/strcasestr.c: New file.
13920         * sysdeps/tile/tilegx/strnlen.c: New file.
13921         * sysdeps/tile/tilegx/strstr.c: New file.
13923         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13925 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13927         * nptl/tst-setuid3.c: Write errors to stdout.
13929 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13931         * elf/dl-deps.c
13932         (preload): New functions broken out of _dl_map_object_deps.
13933         (_dl_map_object_deps):  Remove a nested function. Update call sites.
13935 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
13937         [BZ #14138]
13938         * sysdeps/unix/sysv/linux/execve.c: Remove file.
13939         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13941 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13943         * sysdeps/mips/strcmp.S: New.
13945 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13947         [BZ #14138]
13948         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13949         (linkat): Likewise.
13950         (mkdirat): Likewise.
13951         (readlinkat): Likewise.
13952         (renameat): Likewise.
13953         (symlinkat): Likewise.
13954         (unlinkat): Likewise.
13955         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13956         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13957         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13958         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13959         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13960         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13961         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13963 2014-09-30  Will Newton  <will.newton@linaro.org>
13965         * math/math.h: Define long double math functions if
13966         _LIBC_TEST is defined.
13967         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13969         * localedata/Makefile: Move assignment to tests-special
13970         into an ifdef testing run-built-tests.
13971         * timezone/Makefile: Likewise.
13973 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13975         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13976         with $(BASH) not $(SHELL).
13978 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13979             Matthew LeGendre  <legendre1@llnl.gov>
13981         [BZ #17411]
13982         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13983         l_reloc_result.
13985 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13987         * stdio-common/printf_fp.c
13988         (hack_digit): New function, broken out of ...
13989         (__printf_fp): ... local function here.  Update call sites.
13990         hack_digit now takes an additional parameter that is a pointer
13991         to a struct of the referenced locals.  Those locals moved inside
13992         the struct and references updated.
13994 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13996         * aclocal.m4: Require autoconf 2.69.
13997         * configure: Regenerated.
13998         * sysdeps/aarch64/configure: Likewise.
13999         * sysdeps/alpha/configure: Likewise.
14000         * sysdeps/arm/armv7/configure: Likewise.
14001         * sysdeps/arm/configure: Likewise.
14002         * sysdeps/ia64/configure: Likewise.
14003         * sysdeps/mach/configure: Likewise.
14004         * sysdeps/mips/configure: Likewise.
14005         * sysdeps/s390/configure: Likewise.
14006         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
14007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
14009         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
14010         file.
14011         * sysdeps/ia64/configure.ac: Likewise.
14013 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
14015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
14016         specify symbol version for ld.so.  Do not include entry for
14017         libpthread.
14018         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14019         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14020         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14022         [BZ #14171]
14023         * Makeconfig [$(build-shared) = yes]
14024         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
14025         makefiles.
14026         [$(build-shared) = yes && $(soversions.mk-done) = t]
14027         ($(common-objpfx)gnu/lib-names.h): Remove rule.
14028         [$(build-shared) = yes && $(soversions.mk-done) = t]
14029         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
14030         to Makerules.
14031         [$(build-shared) = yes && $(soversions.mk-done) = t]
14032         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
14033         here.
14034         [$(build-shared) = yes && $(soversions.mk-done) = t]
14035         (common-generated): Don't append gnu/lib-names.h and
14036         gnu/lib-names.stmp here.
14037         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
14038         (lib-names-h-abi): New variable.
14039         [$(build-shared) = yes && $(soversions.mk-done) = t]
14040         (lib-names-stmp-abi): Likewise.
14041         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14042         abi-variants] (before-compile): Append
14043         $(common-objpfx)$(lib-names-h-abi).
14044         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14045         abi-variants] (common-generated): Append gnu/lib-names.h.
14046         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14047         abi-variants] (install-others-nosubdir): Depend on
14048         $(inst_includedir)/$(lib-names-h-abi).
14049         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14050         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
14051         [$(build-shared) = yes && $(soversions.mk-done) = t]
14052         ($(common-objpfx)$(lib-names-h-abi)): New rule.
14053         [$(build-shared) = yes && $(soversions.mk-done) = t]
14054         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
14055         [$(build-shared) = yes && $(soversions.mk-done) = t]
14056         (common-generated): Append $(lib-names-h-abi) and
14057         $(lib-names-stmp-abi).
14058         * scripts/lib-names.awk: Do not handle multi being set.
14059         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
14060         Remove variable.
14061         (abi-lp64_be-ld-soname): Likewise.
14062         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
14063         Likewise.
14064         (abi-hard-ld-soname): Likewise.
14065         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
14066         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
14067         Remove variable.
14068         (abi-o32_hard-ld-soname): Likewise.
14069         (abi-o32_soft_2008-ld-soname): Likewise.
14070         (abi-o32_hard_2008-ld-soname): Likewise.
14071         (abi-n32_soft-ld-soname): Likewise.
14072         (abi-n32_hard-ld-soname): Likewise.
14073         (abi-n32_soft_2008-ld-soname): Likewise.
14074         (abi-n32_hard_2008-ld-soname): Likewise.
14075         (abi-n64_soft-ld-soname): Likewise.
14076         (abi-n64_hard-ld-soname): Likewise.
14077         (abi-n64_soft_2008-ld-soname): Likewise.
14078         (abi-n64_hard_2008-ld-soname): Likewise.
14079         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
14080         Likewise.
14081         (abi-64-v2-ld-soname): Likewise.
14082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
14083         ld.so entries.
14084         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
14085         variable.
14086         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
14087         entry.
14088         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
14089         variable.
14090         (abi-64-ld-soname): Likewise.
14091         (abi-x32-ld-soname): Likewise.
14092         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
14093         entry.
14094         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14096 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
14098         [BZ #14138]
14099         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
14100         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
14101         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
14102         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
14103         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
14104         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
14105         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
14106         syscall entry for GLIBC_2.2 symbol version.
14107         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
14108         Likewise.
14109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14110         (setrlimit): Likewise.
14111         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
14112         Likewise.
14114 2014-09-23  Will Newton  <will.newton@linaro.org>
14116         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
14117         _LINUX_ARM_SYSDEP_H include guard too.
14118         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
14119         define.
14121 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14123         * sysdeps/unix/sysv/linux/eventfd.c:
14124         Make first argument unsigned.
14125         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
14126         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
14128 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
14130         * socket/recvmmsg.c (recvmmsg): Drop const argument.
14131         * socket/sys/socket.h: Likewise
14132         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
14134 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14136         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
14138 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
14140         * time/tst-ftime.c: New test.
14141         * time/Makefile (tests): Add tst-ftime.
14143 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
14145         * soft-fp/extended.h: Fix comment formatting.
14146         * soft-fp/op-1.h: Likewise.
14147         * soft-fp/op-2.h: Likewise.
14148         * soft-fp/op-4.h: Likewise.
14149         * soft-fp/op-8.h: Likewise.
14150         * soft-fp/op-common.h: Likewise.
14151         * soft-fp/soft-fp.h: Likewise.
14153         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
14155 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
14157         [BZ #6652]
14158         * Makeconfig (soversions-default-setname): Remove variable.
14159         ($(common-objpfx)soversions.i): Don't pass default_setname to
14160         soversions.awk.
14161         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
14162         oldest_abi to abi-versions.awk.
14163         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
14164         * config.make.in (oldest-abi): Remove variable.
14165         * configure.ac (--enable-oldest-abi): Remove configure option.
14166         * configure: Regenerated.
14167         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
14168         text.
14169         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
14170         * scripts/soversions.awk: Do not handle default_setname variable.
14171         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
14172         variable.
14173         * sysdeps/mach/hurd/configure: Regenerated.
14174         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
14175         variable.
14176         * sysdeps/unix/sysv/linux/configure: Regenerated.
14178 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14180         * elf/Makefile (CFLAGS-interp.c): Remove.
14181         ($(elf-objpfx)runtime-linker.h): Generate header with linker
14182         path string.
14183         * elf/interp.c: Include generated runtime-linker.h
14185         * Makerules (lib%.so): Don't include $(+interp) in
14186         prerequisites.
14187         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
14188         * dlfcn/eval.c: Remove file.
14190         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
14191         macros.
14193         [BZ #17266]
14194         * misc/sys/cdefs.h: Define __extern_always_inline for clang
14195         4.2 and newer.
14197         [BZ #17370]
14198         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
14200 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14201             Jakub Jelinek  <jakub@redhat.com>
14203         [BZ #17266]
14204         * libio/stdio.h: Check definition of __fortify_function
14205         instead of __extern_always_inline to include bits/stdio2.h.
14206         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
14207         check if __extern_always_inline is defined.
14208         [__USE_MISC || __USE_XOPEN]: Likewise.
14209         [__USE_ISOC99] Likewise.
14210         * misc/sys/cdefs.h (__fortify_function): Define only if
14211         __extern_always_inline is defined.
14212         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
14213         __extern_always_inline and __extern_inline only for g++-4.3
14214         and newer or a compatible gcc.
14216 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
14218         [BZ #17371]
14219         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14220         last change to handle zero prefix length.
14222 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14224         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
14225         _SC_REGEX_VERSION.
14227         * posix/getconf.c (vars): Add _POSIX_IPV6 and
14228         _POSIX_RAW_SOCKETS.
14230 2014-09-13  Allan McRae  <allan@archlinux.org>
14232         * po/ru.po: Update Russian translation from translation project.
14234 2014-09-12  Roland McGrath  <roland@hack.frob.com>
14236         * locale/programs/locale.c (show_locale_vars): Inline local function
14237         into its sole call site.  Clean up some style nits.
14238         (print_item): New function, broken out of ...
14239         (show_info): ... local function here.  Clean up style nits.
14241         * locale/programs/ld-ctype.c (set_one_default): New function, broken
14242         out of ...
14243         (set_class_defaults): ... local function set_default here.
14244         Define set_default as a macro locally to pass constant parameters.
14245         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
14246         rather than a shared local.
14248         * stdlib/rpmatch.c (try): New function, broken out of ...
14249         (rpmatch): ... local function here.  Also, prototypify definition.
14251 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
14253         * scripts/soversions.awk: Do not handle configuration names.
14254         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
14255         vendor and os variables to soversions.awk.
14256         * configure.ac: Do not modify gnu-* host_os.
14257         * configure: Regenerated
14258         * shlib-versions: Remove first column with configuration names.
14259         * nptl/shlib-versions: Likewise.
14260         * nptl_db/shlib-versions: Likewise.
14261         * sysdeps/hppa/shlib-versions: Likewise.
14262         * sysdeps/m68k/shlib-versions: Likewise.
14263         * sysdeps/mach/hurd/shlib-versions: Likewise.
14264         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
14265         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
14266         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
14267         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
14268         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
14269         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
14270         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
14271         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
14272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14273         Likewise.
14274         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14275         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14276         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14277         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14278         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14279         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
14280         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14281         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14284         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
14285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14286         Regenerated.
14287         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
14288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14289         Condition symbol version definitions on [HAVE_ELFV2_ABI].
14291         * shlib-versions: Remove OS-specific entries.  Moved to files in
14292         sysdeps.
14293         * sysdeps/mach/hurd/shlib-versions: New file.
14294         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14296         * nptl/shlib-versions: Remove architecture-specific entries.
14297         Moved to files in sysdeps.
14298         * shlib-versions: Likewise.
14299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
14300         file.
14301         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14302         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14303         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14304         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14306         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
14307         (UDP_NO_CHECK6_RX): Likewise.
14309 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14311         * sysdeps/posix/sysconf.c (__sysconf): Spell
14312         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
14314 2014-08-12  Florian Weimer  <fweimer@redhat.com>
14316         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
14317         loading.
14318         * iconv/Versions (__gconv_transliterate): Export for use from
14319         gconv modules.
14320         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
14321         (struct __gconv_trans_data, __gconv_trans_fct,
14322         __gconv_trans_context_fct, __gconv_trans_query_fct,
14323         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
14324         definitions.
14325         (struct __gconv_step_data): Remove __trans member.
14326         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
14327         longer hidden.  Remove unused trans_data argument.
14328         * iconv/gconv_int.h (struct trans_struct): Remove definition.
14329         (__gconv_translit_find): Remove declaration.
14330         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
14331         prototype.
14332         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
14333         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
14334         trans_data argument.  Add hidden definition.
14335         (__gconv_translit_find): Remove.
14336         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
14337         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
14338         * iconv/skeleton.c: Remove transliteration initialization.
14339         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
14340         __gconv_step_data initialization.
14341         * libio/iofwide.c (__libio_translit_): Remove.
14342         (_IO_fwide): Adjust struct __gconv_step_data initialization.
14343         * wcsmbs/btowc.c (__btowc): Likewise.
14344         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14345         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14346         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14347         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14348         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
14349         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14350         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14351         * wcsmbs/wctob.c (wctob): Likewise.
14353 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14355         [BZ #16194]
14356         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
14357         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
14358         register usage.
14359         * sysdeps/x86/Makefile: Adjust.
14361 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14362             Roland McGrath  <roland@hack.frob.com>
14364         * locale/weight.h: Add include guard.
14365         (findidx): Make static rather than auto; take new parameters
14366         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
14367         * locale/weightwc.h: Likewise.
14368         * posix/fnmatch_loop.c
14369         (FCT): Change type of EXTRA from int32_t to wint_t.
14370         Don't include either header inside the function.
14371         Call FINDIDX rather than findidx, and pass new arguments.
14372         #undef FINDIDX at the end of the file.
14373         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
14374         FINDIDX before including fnmatch_loop.c for the non-wide version.
14375         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
14376         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
14377         for the wide version.
14378         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
14379         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
14380         Pass new arguments to findidx.
14381         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
14382         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
14383         Don't #include it inside the function.  Pass new arguments to findidx.
14384         * posix/regex_internal.h
14385         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
14386         (re_string_elem_size_at): Don't #include it inside the function.
14387         Pass new arguments to findidx.
14388         * string/strcoll_l.c: #include WEIGHT_H at top level.
14389         (get_next_seq): Don't #include it inside the function.
14390         Pass new arguments to findidx.
14391         (get_next_seq_nocache): Likewise.
14392         * string/strxfrm_l.c: #include WEIGHT_H at top level.
14393         (STRXFRM): Don't #include it inside the function.
14394         Pass new arguments to findidx.
14396 2014-09-11  Florian Weimer  <fweimer@redhat.com>
14398         [BZ #17344]
14399         * malloc/malloc.c (unlink): Turn asserts into a call to
14400         malloc_printerr.
14402 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
14404         [BZ #17370]
14405         * libio/wfileops (do_ftell_wide): Free OUT.
14407 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
14409         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
14411 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14413         [BZ #17363]
14414         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
14415         group if the current group is empty.
14417 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14419         * benchtests/bench-memset.c (test_main): Add more test from size
14420         from 32 to 512 bytes.
14421         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14422         Add POWER8 memset object.
14423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14424         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
14425         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
14426         implementation.
14427         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
14428         Likewise.
14429         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
14430         multiarch POWER8 memset optimization.
14431         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
14432         POWER8 memset optimization.
14434         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14435         Remove bzero multiarch objects.
14436         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
14437         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
14438         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
14439         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
14440         Remove define.
14441         [__bzero]: Redefine to specific name.
14442         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
14443         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
14444         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
14445         define.
14446         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14447         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14449 2014-09-10  Florian Weimer  <fweimer@redhat.com>
14451         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
14452         warnings into errors.
14454         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
14455         __cxa_thread_atexit_impl prototype.
14457 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14459         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
14460         Fix capitalization of error message.
14462 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14464         * sysdeps/mips/preconfigure: Modify ABI tests.
14466 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
14468         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
14470 2014-09-07  Roland McGrath  <roland@hack.frob.com>
14471             Carlos O'Donell  <carlos@systemhalted.org>
14473         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
14474         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
14475         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
14476         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
14477         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
14478         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
14479         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
14480         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
14481         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
14482         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
14483         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
14484         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
14485         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
14486         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
14487         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
14488         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
14489         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
14490         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
14491         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
14492         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
14493         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
14494         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
14495         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
14496         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
14497         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
14498         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
14499         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
14500         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
14501         Deconditionalize the code that was previously under [RESET_PID].
14502         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
14503         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
14504         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
14505         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
14506         include sysdep.h.
14508 2014-09-08  Allan McRae  <allan@archlinux.org>
14510         * version.h (RELEASE): Set to "development".
14511         (VERSION): Set to "2.20.90"
14513 2014-09-07  Allan McRae  <allan@archlinux.org
14515         * version.h (RELEASE): Set to "stable".
14516         (VERSION): Set to "2.20"
14517         * include/features.h (__GLIBC_MINOR__): Set to 20.
14519         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
14520         Liebler.
14522         * po/ko.po: Update Korean translation from translation project.
14524 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
14526         [BZ #17354]
14527         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
14528         macro for handling signed relocations.
14530 2014-09-03  Florian Weimer  <fweimer@redhat.com>
14532         [BZ #17325]
14533         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
14534         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
14535         assert.
14536         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
14537         * iconvdata/ibm935.c (BODY): Likewise.
14538         * iconvdata/ibm937.c (BODY): Likewise.
14539         * iconvdata/ibm939.c (BODY): Likewise.
14540         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
14541         assert.
14542         * iconvdata/Makefile (iconv-test.out): Pass module list to test
14543         script.
14544         * iconvdata/run-iconv-test.sh: New test loop for checking for
14545         decoder crashers.
14547 2014-09-02  Khem Raj  <raj.khem@gmail.com>
14549         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
14550         libm_hidden_ver.
14552 2014-09-01  Allan McRae  <allan@archlinux.org>
14554         * po/eo.po: Update Esperanto translation from translation project.
14556         * po/ca.po: Update Catalan translation from translation project.
14558 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14560         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
14561         __proc_dostop call.
14563 2014-08-27  Mark Wielaard  <mjw@redhat.com>
14565         [BZ #17319]
14566         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
14567         to call set_thread_area instead of hand written asm.
14568         (__NR_set_thread_area): Removed define.
14569         (TLS_FLAG_WRITABLE): Likewise.
14570         (__ASSUME_SET_THREAD_AREA): Remove check.
14571         (TLS_EBX_ARG): Remove define.
14572         (TLS_LOAD_EBX): Likewise.
14574 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14576         Simplify atomicity of socket creation in bind.
14578         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
14579         looking up the name after linking the file.
14581 2014-08-27  Allan McRae  <allan@archlinux.org>
14583         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14585 2014-08-26  Florian Weimer  <fweimer@redhat.com>
14587         [BZ #17187]
14588         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
14589         trans_compare, open_translit, __gconv_translit_find):
14590         Remove module loading code.
14592 2014-08-26  Allan McRae  <allan@archlinux.org>
14594         * po/vi.po: Update Vietnamese translation from translation project.
14596         * po/uk.po: Update Ukrainian translation from translation project.
14598         * po/fr.po: Update French translation from translation project.
14600         * po/ru.po: Update Russian translation from translation project.
14602         * po/pl.po: Update Polish translation from translation project.
14604         * po/cs.po: Update Czech translation from translation project.
14606         * po/de.po: Update German translation from translation project.
14608         * po/bg.po: Update Bulgarian translation from translation project.
14610         * po/sv.po: Update Sweedish translation from translation project.
14612         * po/nl.po: Update Dutch translation from translation project.
14614         * po/es.po: Update Spanish translation from translation project.
14616 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14618         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14620         * catgets/Makefile (CPPFLAGS-gencat): Remove.
14621         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14622         (CPPFLAGS-iconvconfig): Likewise.
14623         * timezone/Makefile (CPPFLAGS-zic): Likewise.
14625         * include/libc-symbols.h: Remove unnecessary check for
14626         NOT_IN_libc.
14627         * nptl/pthreadP.h: Likewise.
14628         * sysdeps/aarch64/setjmp.S: Likewise.
14629         * sysdeps/alpha/setjmp.S: Likewise.
14630         * sysdeps/arm/sysdep.h: Likewise.
14631         * sysdeps/i386/setjmp.S: Likewise.
14632         * sysdeps/m68k/setjmp.c: Likewise.
14633         * sysdeps/posix/getcwd.c: Likewise.
14634         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14635         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14636         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14637         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14638         * sysdeps/sh/sh3/setjmp.S: Likewise.
14639         * sysdeps/sh/sh4/setjmp.S: Likewise.
14640         * sysdeps/unix/alpha/sysdep.h: Likewise.
14641         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14642         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14643         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14644         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14647         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14648         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14649         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14650         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14651         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14652         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14653         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14654         * sysdeps/x86_64/setjmp.S: Likewise.
14656 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14658         [BZ #17263]
14659         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14660         <stdint.h>.
14661         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14662         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14664 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14666         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14668         [BZ #17262]
14669         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14670         and __x86_64__ when disabling x87 inline functions.
14672 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14674         [BZ #17259]
14675         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14676         asm statement with __cpuid_count.
14678 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14680         * configure.ac: Change __ehdr_start code to dereference the struct.
14681         Run readelf on the output to look for relocations.
14682         * configure: Regenerated.
14684 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14686         [BZ #17261]
14687         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14688         value to 0.
14689         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14691 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14693         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14695 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14697         [BZ #16892]
14698         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14699         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14701 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14703         * malloc/malloc.c: Fix typo in comment.
14705 2014-08-09  Allan McRae  <allan@archlinux.org>
14707         * Regenerate libc.po.
14709 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14711         * intl/tst-gettext2.sh: Check every lang file for creation.
14713 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14715         * sysdeps/aarch64/fpu/math_private.h
14716         (libc_feholdsetround_noex_aarch64_ctx): New function.
14718 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14720         * sysdeps/arm/armv6/strcpy.S (strcpy):
14721         Fix performance issue in misaligned cases.
14723 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14725         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14726         Move definition from termios.h.
14727         (struct termio): Likewise.
14728         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14729         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14730         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14731         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14732         Likewise.
14733         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14734         Move definition to ioctl-types.h
14735         (struct termio): Likewise.
14736         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14737         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14738         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14739         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14740         Likewise.
14742 2014-08-05  Richard Henderson  <rth@redhat.com>
14744         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14745         exceptions.
14746         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14747         Add fraiseexcpt.
14748         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14749         Use __feraiseexcept.
14750         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14751         Protect libm symbols with IS_IN_libm.
14753         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14755 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14757         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14759 2014-08-04  Will Newton  <will.newton@linaro.org>
14761         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14762         file.
14764 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14766         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14767         variants for each function.
14769 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14771         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14772         appended ...
14773         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14774         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14775         appended ...
14776         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14777         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14778         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14779         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14780         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14781         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14782         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14783         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14784         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14785         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14786         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14787         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14788         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14789         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14790         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14791         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14792         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14793         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14794         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14795         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14796         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14797         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14798         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14799         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14800         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14801         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14802         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14803         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14804         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14805         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14806         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14807         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14808         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14809         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14810         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14811         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14812         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14813         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14814         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14815         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14816         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14817         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14818         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14819         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14820         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14821         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14822         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14823         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14824         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14825         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14826         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14827         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14828         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14829         Update #include.
14830         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14831         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14833 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14835         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14836         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14837         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14838         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14839         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14840         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14842 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14844         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14845         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14846         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14847         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14849 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14851         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14852         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14853         (__libc_vfork): Define function under this name.
14854         (__vfork): Define as an alias.
14855         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14856         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14858 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14860         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14861         that was previously under [RESET_PID].
14862         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14864 2014-08-04  Andreas Schwab  <schwab@suse.de>
14866         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14868 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14870         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14871         (main): Likewise.
14873 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14875         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14877 2014-08-01  Richard Henderon  <rth@redhat.com>
14879         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14880         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14881         typo in exact zero test.
14882         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14883         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14884         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14886 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14888         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14889         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14890         * sysdeps/arm/sysdep.h: ... here.
14891         [!__ASSEMBLER__]: Include <stdint.h>.
14893 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14895         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14896         (HAVE_WCTYPE_H): Likewise.
14897         (HAVE_ISWCTYPE): Likewise.
14898         (ENABLE_NLS): Likewise.
14899         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14900         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14902         * posix/regex_internal.c: Check if DEBUG is defined and is
14903         set.
14905         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14906         (HAVE_MBSRTOWCS): Likewise.
14907         * posix/fnmatch.c: Include string.h unconditionally.
14909 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14911         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14912         reversal.
14914 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14916         * sysdeps/generic/safe-fatal.h: New file.
14917         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14918         * nptl/forward.c: Include it.
14919         (__pthread_unwind): Use __safe_fatal as default action, rather
14920         than a bogus use of INTERNAL_SYSCALL that could never work.
14922         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14923         * configure.ac (libc_cv_builtin_trap): New test.
14924         * configure: Regenerated.
14925         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14926         (ABORT_INSTRUCTION): Define using __builtin_trap.
14928         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14929         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14930         * sysdeps/nptl/nptl-signals.h: New file.
14931         * nptl/pthreadP.h: Include <nptl-signals.h>.
14933 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14935         * sysdeps/s390/s390-64/utf16-utf32-z9.c
14936         (ONE_DIRECTION): Define.
14937         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14938         (ONE_DIRECTION): Define.
14939         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14940         (ONE_DIRECTION): Define.
14942 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14944         * sysdeps/s390/Makefile: Delete file.
14945         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14946         * sysdeps/s390/__longjmp.c: Delete file.
14947         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14948         Remove fields __flags and __reserved.
14949         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14950         and add versioning.
14951         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14952         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14953         * sysdeps/s390/rtld-setjmp.S: Likewise.
14954         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14955         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14956         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14957         * sysdeps/s390/s390-32/setjmp.S: ... here.
14958         Add versioning.
14959         (__sigsetjmp): Remove setting __flags field.
14960         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14961         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14962         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14963         * sysdeps/s390/s390-64/setjmp.S: ... here.
14964         Add versioning.
14965         (__sigsetjmp): Remove setting __flags field.
14966         * sysdeps/s390/setjmp.S: Delete file.
14967         * sysdeps/s390/sigjmp.c: Likewise.
14968         * sysdeps/s390/v1-longjmp.c: Likewise.
14969         * sysdeps/s390/v1-setjmp.h: Likewise.
14970         * sysdeps/s390/v1-sigjmp.c: Likewise.
14971         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14972         Remove v1-longjmp_chk.
14973         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14974         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14975         Include debug/longjmp_chk.c and add versioning.
14976         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14977         Include nptl/pt-longjmp.c and add versioning.
14978         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14979         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14980         Include __longjmp.c.
14981         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14982         Move to ...
14983         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14984         (__getcontext): Remove setting __flags field.
14985         Add versioning.
14986         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14987         Don't restore upper high grps.
14988         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14989         Likewise.
14990         (__swapcontext): Remove setting uc_flags field.
14991         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14992         Delete file.
14993         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14994         Include __longjmp.c.
14995         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14996         Move to ...
14997         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14998         (__getcontext): Remove setting __flags field.
14999         Add versioning.
15000         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
15001         (__swapcontext): Remove setting uc_flags field.
15002         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
15003         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
15004         Remove fields uc_high_gprs and __reserved.
15005         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
15006         New file with reverted content.
15007         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
15008         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
15009         Regenerated.
15010         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
15011         Regenerated.
15013 2014-07-31  Andreas Schwab  <schwab@suse.de>
15015         * config.h.in (HAVE_IFUNC): Define to 0.
15016         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
15017         definedness.
15019 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
15021         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15022         memmove-avx-unaligned, memcpy-avx-unaligned and
15023         mempcpy-avx-unaligned.
15024         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15025         Add tests for AVX memcpy functions.
15026         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
15027         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
15028         memcpy_chk.
15029         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
15030         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
15031         memmove_chk.
15032         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
15033         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
15034         mempcpy_chk.
15035         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
15036         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
15037         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
15039 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15041         [BZ #17213]
15042         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
15043         powerpc64le.
15045 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
15047         [BZ #16839]
15048         * manual/llio.texi: Add section about open file description locks.
15049         * manual/examples/ofdlocks.c: Example of open file description
15050         lock usage.
15051         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
15052         F_OFD_SETLK, and F_OFD_SETLKW.
15054 2014-07-23  Allan McRae  <allan@archlinux.org>
15056         * po/es.po: Update Spanish translation from translation project.
15058 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
15060         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
15062 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
15064         [BZ #17078]
15065         * sysdeps/arm/dl-machine.h (elf_machine_rela)
15066         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
15067         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
15069 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
15071         [BZ #17088]
15072         * math/fesetenv.c (__fesetenv)
15073         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
15074         * math/feupdateenv.c (__feupdateenv)
15075         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
15077         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
15078         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15079         (__ASSUME_SOCKETCALL): Do not define.
15081         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
15082         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
15083         (__ASSUME_SOCKETCALL): Do not define.
15084         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
15085         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15086         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15087         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15088         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15089         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
15090         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15091         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15093         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
15094         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
15095         (__ASSUME_SOCKETCALL): Do not define.
15096         (__ASSUME_IPC64): Define unconditionally.
15097         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15098         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15099         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15100         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15101         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
15102         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15103         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
15104         Likewise.
15106         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
15107         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
15108         (__ASSUME_SOCKETCALL): Do not define.
15109         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
15110         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15111         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15112         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15113         (__ASSUME_REQUEUE_PI): Define unconditionally.
15114         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
15115         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15116         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15117         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
15118         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15119         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15121         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
15122         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
15123         (__ASSUME_SOCKETCALL): Do not define.
15124         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
15125         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15126         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15127         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
15128         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15129         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15131         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
15132         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
15133         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15134         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
15135         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15136         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
15137         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15138         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
15139         (__ASSUME_GETCPU_SYSCALL): Likewise.
15141         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
15142         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
15143         cases for individual architectures.
15144         * sysdeps/gnu/configure: Regenerated.
15145         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
15146         LIBC_SLIBDIR_RTLDDIR.
15147         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
15148         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
15149         LIBC_SLIBDIR_RTLDDIR.
15150         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
15151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
15152         LIBC_SLIBDIR_RTLDDIR.
15153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15154         Regenerated.
15155         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
15156         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
15157         file.
15158         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
15159         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
15160         file.
15161         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
15162         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
15163         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
15164         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
15166         * sysdeps/aarch64/shlib-versions: Move to ...
15167         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
15168         * sysdeps/alpha/shlib-versions: Move to ...
15169         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
15170         * sysdeps/arm/shlib-versions: Move to ...
15171         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
15172         * sysdeps/hppa/shlib-versions: Move all contents except for
15173         libgcc_s entry to ...
15174         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
15175         entry from ...
15176         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
15177         * sysdeps/ia64/shlib-versions: Move to ...
15178         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
15179         entry from ...
15180         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
15181         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
15182         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
15183         * sysdeps/microblaze/shlib-versions: Move to ...
15184         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
15185         * sysdeps/mips/shlib-versions: Move to ...
15186         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
15187         entry from ...
15188         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
15189         * sysdeps/tile/shlib-versions: Move to ...
15190         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
15191         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
15192         from ...
15193         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
15194         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
15195         entry from ...
15196         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
15198 2014-07-17  Will Newton  <will.newton@linaro.org>
15200         * sysdeps/arm/bits/atomic.h
15201         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
15202         (__arch_compare_and_exchange_bool_16_int): Likewise.
15203         (__arch_compare_and_exchange_bool_64_int): Likewise.
15205         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
15206         into an #else block.
15208 2014-07-16  Roland McGrath  <roland@hack.frob.com>
15210         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
15211         just Linux configurations.  Test empirically that the compiler sets
15212         __ARM_EABI__, rather than using the tuple to decide.
15213         * sysdeps/arm/preconfigure: Regenerated.
15214         * sysdeps/unix/sysv/linux/arm/configure: File removed.
15215         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
15216         contents appended ...
15217         * sysdeps/arm/configure.ac: ... here.
15218         * sysdeps/arm/configure: Regenerated.
15220 2014-07-15  Roland McGrath  <roland@hack.frob.com>
15222         * nptl/pthread_kill.c: New file.
15223         * nptl/pthread_sigmask.c: New file.
15224         * nptl/pthread_sigqueue.c: New file.
15226         * sysdeps/nptl/lowlevellock.h: New file.
15227         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
15228         * sysdeps/nptl/lowlevellock-futex.h: New file.
15230         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
15231         Remove dead declarations.
15233 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
15235         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
15236         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
15237         config-cflags-avx2.
15238         * sysdeps/x86_64/configure.ac: Likewise.
15239         * sysdeps/i386/configure: Regenerated.
15240         * sysdeps/x86_64/configure: Likewise.
15241         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15242         memset-avx2 only if config-cflags-avx2 is yes.
15243         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15244         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
15245         defined.
15246         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
15247         only if HAVE_AVX2_SUPPORT is defined.
15248         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15250 2014-07-14  Alan Modra  <amodra@gmail.com>
15252         [BZ #17153]
15253         * elf/elf.h (DT_PPC64_NUM): Correct value.
15254         * NEWS: Add to fixed bug list.
15256 2014-07-13  Jim Meyering  <meyering@fb.com>
15258         [BZ 17150]
15259         regex: don't deref NULL upon heap allocation failure
15260         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
15261         failure in one more place.
15262         To trigger the segfault, configure grep -with-included-regex,
15263         build it, and run these commands:
15264         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
15266 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
15268         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15270 2014-07-11  Richard Henderson  <rth@redhat.com>
15272         * sysdeps/aarch64/libm-test-ulps: Update.
15274 2014-07-10  Florian Weimer  <fweimer@redhat.com>
15276         [BZ #17135]
15277         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
15278         * nptl/allocatestack.c (__nptl_setxid_error): New function.
15279         (__nptl_setxid): Initialize error member.  Call
15280         __nptl_setxid_error.
15281         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
15282         * nptl/descr.h (struct xid_command): Add error member.
15283         * nptl/tst-setuid3.c: New file.
15284         * nptl/Makefile (tests): Add it.
15286 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15288         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
15289         New define.
15290         (__lll_trylock): Use __lll_base_trylock.
15291         (__lll_cond_trylock): Likewise.
15293 2014-07-10  Roland McGrath  <roland@hack.frob.com>
15295         * nptl/pthread_create.c (start_thread): Use atomic_or and
15296         lll_futex_wake directly rather than lll_robust_dead.
15297         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15298         (lll_robust_dead): Macro removed.
15299         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
15300         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15301         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15302         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15303         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15304         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15305         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15306         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15307         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15308         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15309         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15310         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15311         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15312         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15313         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15315         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
15316         Use atomic_compare_and_exchange_val_acq directly rather than
15317         lll_robust_trylock.
15318         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15319         (__lll_robust_trylock, lll_robust_trylock): Removed.
15320         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15321         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15322         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15323         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15324         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15325         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15326         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15327         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15328         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15329         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15330         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15331         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15332         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15333         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15335 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15337         * manual/locale.texi (Locale Names): New section documenting
15338         locale name syntax.  Adjust menu and node chaining accordingly.
15339         (Choosing Locale): Reference Locale Names, Locale Categories.
15340         Mention setting LC_ALL=C.  Reflect that name syntax is now
15341         documented.
15342         (Locale Categories): New section title.  Reference Locale Names.
15343         LC_ALL is an environment variable, but not a category.
15344         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
15345         description, now in Locale Name.  Reference that section.  Locale
15346         name syntax is now documented.
15348 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15350         [BZ #17137]
15351         * locale/findlocale.c (name_present, valid_locale_name): New
15352         functions.
15353         (_nl_find_locale): Use the loc_name variable to store name
15354         candidates.  Call name_present and valid_locale_name to check and
15355         validate locale names.  Return an error if the locale is invalid.
15357 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15359         * locale/setlocale.c (setlocale): Use strdup for allocating
15360         composite name copy.
15362 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15364         Sync up with gnulib.
15365         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
15366         [!_LIBC && ENABLE_NLS]: Include gettext.h.
15367         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
15368         and _GL_ARG_NONNULL.
15369         [USE_UNLOCKED_IO]: Include unlocked-io.h.
15370         [!_LIBC]: Include code for Windows and Cygwin.
15371         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
15372         Include prototype for int strerror_r.
15373         [!_LIBC] (is_open): New function.
15374         (flush_stdout): New function.
15375         (print_errno_message): Use it.
15376         (error): Likewise.
15377         (error_at_line): Likewise.
15378         (error_tail) Add function attribute macros.  Use
15379         __builtin_expect.
15381         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
15383         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
15385         * io/ftw.c: Include sys/param.h unconditionally.
15387         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
15389         [BZ #17125]
15390         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
15391         libc_freeres_ptr.
15392         (freecache): New function to free CACHE on exit.
15394         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
15395         initialization.
15397 2014-07-09  David S. Miller  <davem@davemloft.net>
15399         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15401         * sysdeps/sparc/nptl/internaltypes.h: Delete.
15402         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
15403         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
15404         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
15405         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
15406         * sysdeps/sparc/nptl/sem_init.c: Likewise.
15407         * sysdeps/sparc/nptl/sem_post.c: Likewise.
15408         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
15409         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
15410         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
15411         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
15412         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
15413         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
15415 2014-07-09  Andreas Schwab  <schwab@suse.de>
15417         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
15418         output.
15419         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
15420         (do_test): Likewise.
15422         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15424 2014-07-09  Will Newton  <will.newton@linaro.org>
15426         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
15427         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
15428         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
15429         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
15430         * sysdeps/hppa/start.S (_start): Likewise.
15432 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15434         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
15436         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
15437         defined.
15439 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15441         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
15442         after checking that it is non-NULL.
15444         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
15446 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15448         * sysdeps/powerpc/memmove.c: Remove file.
15449         * sysdeps/powerpc/powerpc32/power4/memcopy.h
15450         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
15451         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15452         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
15453         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
15454         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
15455         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
15456         string memmove instead of removed powerpc one.
15458         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15459         [weak_alias]: Fix compiler warning due trailing data.
15460         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
15461         [weak_alias]: Likewise.
15462         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
15463         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
15465         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15466         (__libc_ifunc_impl_list): Add memmove functions.
15468 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15470         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
15471         Remove code.
15472         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
15473         Likewise
15474         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
15475         Likewise
15476         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
15477         Likewise
15478         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
15479         Likewise
15480         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
15481         Likewise
15482         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
15483         Likewise
15484         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
15485         Likewise
15486         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
15487         Likewise
15488         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
15489         Likewise
15490         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
15491         Likewise
15492         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
15493         Likewise
15494         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
15495         Likewise
15496         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
15497         Likewise
15498         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
15499         Likewise
15500         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
15501         Likewise
15502         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
15503         Likewise
15505 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15507         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
15508         to avoid alignment traps in non-cacheable memory.
15509         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15511         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
15512         multiarch objects.
15513         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
15514         file: multiarch power7 memmove.
15515         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
15516         multiarch default memmove.
15517         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
15518         multiarch memove for powerpc32/power4.
15520         * string/bcopy.c: Use full path to include memmove.c.
15521         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
15522         multiarch objects.
15523         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
15524         bcopy for powerpc64.
15525         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
15526         bcopy for powerpc64.
15527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
15528         and memmove implementations.
15529         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
15530         optimized multiarch memmove for POWER7/powerpc64.
15531         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
15532         default multiarch memmove for powerpc64.
15533         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
15534         multiarch for powerpc64.
15535         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
15536         for POWER7/powerpc64.
15537         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
15538         memmove for POWER7/powerpc64.
15540         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
15541         glibc default one.
15543         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
15544         __ELF_NATIVE_CLASS equal to 64.
15546 2014-07-07  Roland McGrath  <roland@hack.frob.com>
15548         * sysdeps/nptl/lowlevellock.h: File removed.
15550         * NEWS: NPTL is no longer an add-on!
15551         * nptl/internaltypes.h: Moved ...
15552         * sysdeps/nptl/internaltypes.h: ... here.
15553         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
15554         * sysdeps/nptl/fork.c: Likewise.
15555         * sysdeps/nptl/gai_misc.h: Likewise.
15556         * sysdeps/nptl/librt-cancellation.c: Likewise.
15557         * sysdeps/nptl/jmp-unwind.c: Likewise.
15558         * sysdeps/nptl/setxid.h: Likewise.
15559         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
15560         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
15561         * sysdeps/unix/sysv/linux/arm/Implies: New file.
15562         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
15563         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
15564         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
15565         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
15566         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
15567         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
15568         * sysdeps/unix/sysv/linux/mips/Implies: New file.
15569         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
15570         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
15571         * sysdeps/unix/sysv/linux/sh/Implies: New file.
15572         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
15573         * sysdeps/unix/sysv/linux/tile/Implies: New file.
15574         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
15575         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
15576         * nptl/Makeconfig: Moved ...
15577         * sysdeps/nptl/Makeconfig: ... here.
15578         * nptl/configure: File removed.
15579         * nptl/ANNOUNCE: File removed.
15580         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
15581         * sysdeps/unix/sysv/linux/configure: Regenerated.
15583         * nptl/Makefile (routines): Add libc_pthread_init,
15584         libc_multiple_threads, register-atfork and unregister-atfork.
15585         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
15586         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
15587         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
15588         pthread-pi-defines.sym, structsem.sym.
15589         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
15590         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
15591         [$(subdir) = nptl] (tests): Add tst-setgetname.
15592         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
15593         * sysdeps/unix/sysv/linux/sigaction.c: Just include
15594         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
15595         [!LIBC_SIGACTION]: Remove aliases.
15596         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15597         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15598         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15599         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
15600         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15601         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15602         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15603         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15604         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15605         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15606         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15607         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15608         __libc_allocate_rtsig_private.
15609         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15610         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15611         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15612         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15613         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15614         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15615         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15616         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15617         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15618         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15619         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15620         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15621         * nptl/internaltypes.h: ... here.
15622         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15623         * sysdeps/nptl/jmp-unwind.c: ... here.
15624         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15625         * nptl/libc-lowlevellock.c: ... here.
15626         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15627         * nptl/libc_multiple_threads.c: ... here.
15628         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15629         * nptl/libc_pthread_init.c: ... here.
15630         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15631         * nptl/lowlevelbarrier.sym: ... here.
15632         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15633         * nptl/lowlevelcond.sym: ... here.
15634         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15635         * nptl/lowlevellock.c: ... here.
15636         * nptl/lowlevellock.h: Moved ...
15637         * sysdeps/nptl/lowlevellock.h: ... here.
15638         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15639         * nptl/lowlevelrobustlock.c: ... here.
15640         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15641         * nptl/lowlevelrobustlock.sym: ... here.
15642         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15643         * nptl/lowlevelrwlock.sym: ... here.
15644         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15645         * nptl/pt-fork.c: ... here.
15646         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15647         * nptl/pthread-pi-defines.sym: ... here.
15648         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15649         * nptl/pthread_attr_getaffinity.c: ... here.
15650         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15651         * nptl/pthread_attr_setaffinity.c: ... here.
15652         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15653         * nptl/pthread_mutex_cond_lock.c: ... here.
15654         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15655         Update #include.
15656         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15657         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15658         * nptl/pthread_once.c: ... here, replacing old file.
15659         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15660         * nptl/pthread_yield.c: ... here.
15661         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15662         * nptl/register-atfork.c: ... here.
15663         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15664         * nptl/sem_post.c: ... here.
15665         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15666         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15667         * nptl/sem_timedwait.c: ... here.
15668         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15669         * nptl/sem_trywait.c: ... here.
15670         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15671         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15672         * nptl/sem_wait.c: ... here.
15673         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15674         * nptl/structsem.sym: ... here.
15675         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15676         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15677         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15678         * nptl/unregister-atfork.c: ... here.
15679         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15680         * nptl/unwindbuf.sym: ... here.
15681         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15682         * sysdeps/nptl/fork.c: ... here.
15683         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15684         * sysdeps/nptl/fork.h: ... here.
15685         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15686         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15687         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15688         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15689         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15690         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15691         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15692         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15693         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15694         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15695         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15696         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15697         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15698         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15699         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15700         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15701         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15702         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15703         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15704         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15705         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15706         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15707         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15708         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15709         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15710         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15711         * sysdeps/unix/sysv/linux/raise.c: ... here.
15712         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15713         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15714         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15715         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15716         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15717         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15718         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15719         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15720         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15721         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15722         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15723         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15724         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15725         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15726         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15728 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15730         * sysdeps/generic/memcopy.h: Add comment for
15731         MEMCPY_OK_FOR_FWD_MEMMOVE.
15733 2014-07-04  Will Newton  <will.newton@linaro.org>
15735         * string/memchr.c: Merge from gnulib.
15736         [_LIBC]: Remove conditionals.
15737         (__ptr_t): Remove define.
15738         (LONG_MAX_32_BITS): Likewise.
15739         (LONG_MAX): Likewise.
15740         (MEMCHR): Use ANSI prototype and optimize algorithm.
15742         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15744 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15746         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15747         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15749         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15750         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15751         in a bare environment with no <stdlib.h> installed.
15752         * sysdeps/nptl/configure: Regenerated.
15754         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15756         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15757         AC_EGREP_CPP for kernel header checks, so they only succeed if
15758         including <linux/version.h> actually works right.
15759         * sysdeps/unix/sysv/linux/configure: Regenerated.
15761         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15762         value so it's not diagnosed as unused.
15764         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15765         thing) with "ifeq ($(subdir),rt)".
15767 2014-07-03  Richard Henderson  <rth@redhat.com>
15769         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15770         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15771         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15773         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15774         (math_force_eval): New.
15776         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15777         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15779         * sysdeps/alpha/fpu/s_round.c: Remove file.
15780         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15782         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15783         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15784         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15785         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15786         (_dl_start, print_statistics): Likewise.
15787         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15788         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15790         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15791         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15792         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15793         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15794         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15795         (HP_SMALL_TIMING_AVAIL): Define.
15796         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15797         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15798         (HP_SMALL_TIMING_AVAIL): Define.
15799         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15800         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15802         * sysdeps/aarch64/hp-timing.h: New file.
15804         * sysdeps/generic/hp-timing.h: Remove dead comment.
15805         * sysdeps/generic/hp-timing-common.h: New file.
15806         * sysdeps/alpha/hp-timing.h: Include it.
15807         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15808         * sysdeps/i386/i686/hp-timing.h: Likewise.
15809         * sysdeps/ia64/hp-timing.h: Likewise.
15810         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15811         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15812         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15813         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15814         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15815         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15816         (hp_timing_t): New.
15818         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15819         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15820         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15821         * elf/rtld.c (_dl_start_final): Likewise.
15822         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15823         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15824         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15825         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15826         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15827         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15828         (HP_TIMING_DIFF_INIT): Remove.
15829         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15830         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15831         (HP_TIMING_DIFF_INIT): Remove.
15832         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15833         * sysdeps/i386/i686/hp-timing.c: Remove file.
15834         * sysdeps/x86_64/hp-timing.c: Remove file.
15835         * sysdeps/ia64/hp-timing.c: Remove file.
15836         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15837         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15838         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15839         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15841         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15842         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15843         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15844         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15845         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15846         (HP_TIMING_ACCUM): Remove.
15847         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15848         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15849         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15851         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15852         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15853         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15854         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15855         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15856         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15857         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15858         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15860         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15862 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15864         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15866 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15868         Sync up with gettext.
15869         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15870         [_MSC_VER]: Include malloc.h
15871         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15872         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15873         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15874         TEMP_FAILURE_RETRY.  Cast return of alloca.
15875         [!_LIBC] Call gl_rwlock_init.
15876         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15878 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15880         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15881         before checking its value.
15883 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15885         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15887         * debug/memcpy_chk.c: Don't include pagecopy.h.
15888         * debug/mempcpy_chk.c: Likewise.
15889         * string/memcpy.c: Likewise.
15890         * string/memmove.c: Likewise.
15891         * sysdeps/powerpc/memmove.c: Likewise.
15892         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15893         definition of PAGE_COPY_FWD_MAYBE here...
15894         * sysdeps/generic/pagecopy.h: ... from here.
15895         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15897 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15898             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15900         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15901         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15902         optimizations.
15903         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15904         (__libc_ifunc_impl_list): Likewise.
15905         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15906         multiarch strcat for PPC64.
15907         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15908         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15910 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15912         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15914 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15916         * intl/loadmsgcat.c: Remove declaration of
15917         get_sysdep_segment_value.
15918         (get_sysdep_segment_value): Use ISO C style.
15919         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15920         semicolon.  Fix typo and formatting in comment.
15921         (_nl_unload_domain): Use ISO C style.
15923         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15925 2014-07-02  Will Newton  <will.newton@linaro.org>
15927         * malloc/obstack.c: Merge from gnulib master.
15928         [HAVE_CONFIG_H]: Remove conditional code.
15929         [!_LIBC]: Include config.h.
15930         [!ELIDE_CODE]: Don't include inttypes.h, include
15931         stdint.h unconditionally.
15932         (print_and_abort): Mark as _Noreturn.
15933         (_obstack_allocated_p): Mark as __attribute_pure__.
15934         (obstack_free): Rename to __obstack_free.
15935         [!__attribute__]: Remove conditional code.
15936         * malloc/obstack.h: Merge from gnulib master.
15937         [__cplusplus]: Move conditional down.
15938         [!__attribute_pure__]: Define __attribute_pure__ here
15939         if it is not already defined.
15940         (_obstack_memory_used): Mark as __attribute_pure__.
15941         [!__obstack_free]: Define as obstack_free.
15942         [__GNUC__]: Remove check for ancient NeXT gcc.
15944 2014-07-02  Will Newton  <will.newton@linaro.org>
15945             Paul Eggert  <eggert@cs.ucla.edu>
15947         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15949 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15951         * resolv/gethnamaddr.c: Add comment warning that the file is
15952         not maintained.
15954 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15956         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15957         entries.
15959         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15960         entry for aio_cancel and aio_cancel64.
15961         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15962         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15963         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15964         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15965         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15966         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15967         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15968         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15969         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15970         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15971         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15972         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15973         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15975 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15977         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15978         * nptl/pthread_mutex_lock.c: Likewise.
15979         * nptl/pthread_mutex_timedlock.c: Likewise.
15980         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15982 2014-07-01  Richard henderson  <rth@redhat.com>
15984         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15985         (__isnan, __isnanl): Remove.
15986         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15988         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15990 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15992         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15994 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15996         * resolv/nss_dns/dns-host.c (getanswer_r)
15997         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15999 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
16001         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16002         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
16003         undefine.
16004         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
16005         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
16007 2014-07-01  Roland McGrath <roland@hack.frob.com>
16009         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
16010         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
16012         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
16013         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
16015         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
16016         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
16017         ... here.
16018         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
16019         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
16021         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
16022         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
16023         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
16024         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
16026         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
16027         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
16028         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
16029         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
16030         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
16031         Moved ...
16032         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
16033         ... here.
16034         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
16035         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
16036         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
16037         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
16038         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
16039         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
16040         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
16041         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
16042         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
16043         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
16044         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
16045         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
16046         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
16047         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
16048         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
16049         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
16050         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
16051         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
16052         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
16053         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
16054         ... here.
16055         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
16056         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
16057         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
16058         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
16059         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
16060         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
16061         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
16062         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
16064 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
16066         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
16067         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
16068         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
16069         Add sysdep.
16071 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16075 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16077         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16078         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16080         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16082         * sysdeps/arm/libm-test-ulps: Regenerated.
16084 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16085             Roland McGrath <roland@hack.frob.com>
16087         * test-skeleton.c (signal_handler): Kill the whole process group
16088         before killing the child individually.
16089         (main): Report any failure on `setpgid'.
16091 2014-06-30  Roland McGrath  <roland@hack.frob.com>
16093         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
16094         from _TLS_H to _ARM_NPTL_TLS_H.
16095         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
16096         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
16098 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16100         [BZ #16539]
16101         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
16102         (__expm1l): Return argument unchanged when small but not
16103         subnormal.
16105         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
16106         include macro name.
16107         (_FP_UNPACK_RAW_1_P): Likewise.
16108         (_FP_PACK_RAW_1): Likewise.
16109         (_FP_PACK_RAW_1_P): Likewise.
16110         (_FP_MUL_MEAT_1_wide): Likewise.
16111         (_FP_MUL_MEAT_DW_1_hard): Likewise.
16112         (_FP_MUL_MEAT_1_hard): Likewise.
16113         (_FP_DIV_MEAT_1_imm): Likewise.
16114         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
16115         (_FP_DIV_MEAT_1_udiv): Likewise.
16116         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
16117         (_FP_UNPACK_RAW_2): Likewise.
16118         (_FP_UNPACK_RAW_2_P): Likewise.
16119         (_FP_PACK_RAW_2): Likewise.
16120         (_FP_PACK_RAW_2_P): Likewise.
16121         (_FP_MUL_MEAT_DW_2_wide): Likewise.
16122         (_FP_MUL_MEAT_2_wide): Likewise.
16123         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
16124         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16125         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
16126         (_FP_MUL_MEAT_2_gmp): Likewise.
16127         (_FP_DIV_MEAT_2_udiv): Likewise.
16128         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
16129         (_FP_FRAC_SRL_4): Likewise.
16130         (_FP_FRAC_SRST_4): Likewise.
16131         (_FP_FRAC_SRS_4): Likewise.
16132         (_FP_UNPACK_RAW_4): Likewise.
16133         (_FP_UNPACK_RAW_4_P): Likewise.
16134         (_FP_PACK_RAW_4): Likewise.
16135         (_FP_PACK_RAW_4_P): Likewise.
16136         (_FP_MUL_MEAT_DW_4_wide): Likewise.
16137         (_FP_MUL_MEAT_4_wide): Likewise.
16138         (_FP_MUL_MEAT_4_gmp): Likewise.
16139         (umul_ppppmnnn): Likewise.
16140         (_FP_DIV_MEAT_4_udiv): Likewise.
16141         (__FP_FRAC_ADD_4): Likewise.
16142         (__FP_FRAC_SUB_3): Likewise.
16143         (__FP_FRAC_SUB_4): Likewise.
16144         (__FP_FRAC_DEC_3): Likewise.
16145         (__FP_FRAC_DEC_4): Likewise.
16146         (__FP_FRAC_ADDI_4): Likewise.
16147         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
16148         (_FP_FRAC_SRL_8): Likewise.
16149         (_FP_FRAC_SRS_8): Likewise.
16151         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
16152         include macro name.
16153         (FP_UNPACK_RAW_EP): Likewise.
16154         (FP_PACK_RAW_E): Likewise.
16155         (FP_PACK_RAW_EP): Likewise.
16156         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
16157         (_FP_ISSIGNAN): Likewise.
16158         (_FP_ADD_INTERNAL): Likewise.
16159         (_FP_FMA): Likewise.
16160         (_FP_CMP): Likewise.
16161         (_FP_SQRT): Likewise.
16162         (_FP_TO_INT): Likewise.
16163         (_FP_FROM_INT): Likewise.
16164         (FP_EXTEND): Likewise.
16165         (_FP_DIV_MEAT_N_loop): Likewise.
16167 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16169         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
16170         throughout.
16172 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
16174         [BZ #17097]
16175         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
16176         result with correct sign in case of exponents that produce
16177         overflow except for X very close to 1.
16179 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
16181         mktime: merge #if/#ifdef usage from glibc
16182         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
16183         as that works with both Glibc's and Gnulib's style.
16184         See thread starting at Siddhesh Poyarekar's bug report at:
16185         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
16187 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16189         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
16190         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
16191         * sysdeps/tile/tilegx/memmove.c: Remove file.
16193 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16195         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
16196         abi-name definition.
16197         * scripts/soversions.awk: Do not handle or generate ABI lines.
16198         * shlib-versions: Remove ABI entries.
16199         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
16200         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
16202 2014-06-27  Roland McGrath  <roland@hack.frob.com>
16204         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
16205         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
16206         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
16207         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
16208         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
16209         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
16210         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
16211         Moved ...
16212         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16213         ... here.
16214         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
16215         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
16216         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
16217         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
16218         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
16219         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
16220         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
16221         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
16222         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
16223         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
16224         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
16225         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
16226         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
16227         Moved ...
16228         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
16229         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
16230         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
16231         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
16232         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
16233         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
16234         Moved ...
16235         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
16236         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
16237         Moved ...
16238         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
16239         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
16240         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
16241         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
16242         Moved ...
16243         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
16244         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
16245         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
16246         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
16247         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
16248         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
16249         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
16250         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
16251         Moved ...
16252         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
16253         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
16254         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
16255         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
16256         Moved ...
16257         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
16258         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
16259         Moved ...
16260         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
16261         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
16262         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
16263         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
16264         Moved ...
16265         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16266         ... here.
16267         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
16268         Identical file removed.
16269         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
16270         Moved ...
16271         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
16272         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
16273         Identical file removed.
16274         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
16275         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
16276         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
16277         Moved ...
16278         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
16279         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
16280         Identical file removed.
16281         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
16282         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
16283         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
16284         Identical file removed.
16285         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
16286         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
16287         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
16288         Identical file removed.
16289         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
16290         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
16291         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
16292         Identical file removed.
16293         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
16294         Moved ...
16295         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
16296         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
16297         Identical file removed.
16298         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
16299         Moved ...
16300         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
16301         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
16302         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
16303         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
16304         Identical file removed.
16305         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
16306         Moved ...
16307         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
16308         ... here.
16309         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
16310         Identical file removed.
16311         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
16312         Moved ...
16313         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
16314         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
16315         Identical file removed.
16316         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
16317         Moved ...
16318         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
16319         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
16320         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
16321         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
16322         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
16323         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
16324         Moved ...
16325         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
16326         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
16327         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
16329         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
16330         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
16331         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
16332         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
16333         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
16335 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
16337         [BZ #17092]
16338         * nscd/nscd.c (monitor_child): Return exit status of child
16339         instead of return value from wait syscall.
16341 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16343         * configure.ac (libc_commonpagesize): Remove variable.
16344         (libc_relro_required): Likewise.
16345         (libc_cv_z_relro): Remove configure test.
16346         * configure: Regenerated.
16347         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
16348         variable.
16349         (libc_relro_required): Likewise.
16350         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
16351         (libc_relro_required): Likewise.
16352         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
16353         (libc_relro_required): Likewise.
16354         * sysdeps/arm/preconfigure: Regenerated.
16355         * sysdeps/ia64/preconfigure: Remove file.
16356         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
16357         variable.
16358         (libc_relro_required): Likewise.
16360         [BZ #16561]
16361         [BZ #16562]
16362         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
16363         (__ieee754_yn): Set FE_TONEAREST mode internally and then
16364         recompute overflowing results in original rounding mode.
16365         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
16366         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
16367         recompute overflowing results in original rounding mode.
16368         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
16369         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16370         recompute overflowing results in original rounding mode.
16371         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
16372         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16373         recompute overflowing results in original rounding mode.
16374         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
16375         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16376         recompute overflowing results in original rounding mode.
16377         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
16378         (libc_feholdsetround_ctx): New macro.
16379         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
16380         * sysdeps/i386/fpu/libm-test-ulps: Update.
16381         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
16383 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16385         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
16386         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
16387         corresponding .cpsetup call.
16389 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16391         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
16392         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
16393         * sysdeps/arm/Makefile [$(subdir) = csu]
16394         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
16395         (static-only-routines): Add aeabi_read_tp here.
16396         (shared-only-routines): Add libc-aeabi_read_tp here.
16397         (CFLAGS-libc-start.c): Add -fexceptions here.
16398         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
16399         (sysdep_routines, static-only-routines, shared-only-routines):
16400         Don't add to these here.
16401         (CFLAGS-libc-start.c): Likewise.
16403         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
16404         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16405         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
16406         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16407         * sysdeps/arm/Makefile [$(subdir) = rt]
16408         (librt-sysdep_routines, librt-shared-only-routines):
16409         Append rt-aeabi_unwind_cpp_pr1 here.
16410         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
16411         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
16412         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
16413         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16414         Append nptl-aeabi_unwind_cpp_pr1 here.
16415         (tests): Filter out tst-cleanupx4 here.
16416         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
16417         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
16418         Don't do those here.
16420 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16422         * scripts/list-sources.sh: Do not handle ports specially.
16424 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16426         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
16427         * sysdeps/arm/feupdateenv.c: Likewise.
16429         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
16431 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16433         * manual/texinfo.tex: Update to version 2014-05-05.10 with
16434         trailing whitespace removed.
16435         * scripts/config.guess: Update to version 2014-03-23.
16436         * scripts/config.sub: Update to version 2014-05-01
16437         * scripts/install-sh: Update to version 2013-12-25.23.
16438         * scripts/move-if-change: Update from gnulib.
16440 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16442         * debug/memmove_chk.c: Remove pagecopy.h include.
16444 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
16446         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
16447         identical to gnulib mktime.
16449 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16451         * configure.ac: Do not test for machine being rs6000.  Do not test
16452         for powerpc*-*soft.
16453         * configure: Regenerated.
16455         [BZ #11505]
16456         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
16457         test.
16458         * configure: Regenerated.
16459         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
16460         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
16461         Remove configure test.
16462         * sysdeps/arm/configure: Regenerated.
16463         * sysdeps/nptl/configure.ac: Do not check
16464         libc_cv_asm_cfi_directives.
16465         * sysdeps/nptl/configure: Regenerated.
16466         * sysdeps/x86_64/nptl/configure.ac: Remove file.
16467         * sysdeps/x86_64/nptl/configure: Remove generated file.
16468         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
16469         unconditional.
16470         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
16472 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16474         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
16475         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
16476         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
16477         it is defined.
16479         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
16480         instead of whether it is defined.
16481         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
16482         * sysdeps/hppa/dl-machine.h: Likewise.
16483         * sysdeps/ia64/dl-machine.h: Likewise.
16484         * sysdeps/m68k/dl-machine.h: Likewise.
16485         * sysdeps/microblaze/dl-machine.h: Likewise.
16486         * sysdeps/mips/dl-machine.: Likewise.
16487         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16488         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16489         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16490         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16491         * sysdeps/sh/dl-machine.h: Likewise.
16492         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16493         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16494         * sysdeps/tile/dl-machine.h: Likewise.
16495         * sysdeps/x86_64/dl-machine.h: Likewise.
16497         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
16498         code.
16499         (verify_persistent_db): Likewise.
16501 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
16504         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
16505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
16506         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
16507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16508         Moved ...
16509         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16510         ... here.
16511         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
16512         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
16513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
16514         Identical file removed.
16515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
16516         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
16517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
16518         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
16519         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
16520         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
16521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
16522         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
16523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
16524         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
16525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16526         Moved ...
16527         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
16528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
16529         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
16530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
16531         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
16532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16533         Moved ...
16534         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
16535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
16536         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
16537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
16538         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
16539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16540         Identical file removed.
16541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
16542         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
16543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
16544         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
16545         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16546         Moved ...
16547         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16548         ... here.
16549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
16550         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
16551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
16552         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
16553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
16554         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
16555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
16556         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
16557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
16558         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
16559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16560         Moved ...
16561         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
16562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
16563         Moved ...
16564         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
16565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
16566         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
16567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16568         Moved ...
16569         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
16570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
16571         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
16573         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
16574         folded into ...
16575         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
16576         * sysdeps/unix/sysv/linux/s390/Versions
16577         (libpthread: GLIBC_2.19): New version set.
16578         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
16579         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
16580         (librt: GLIBC_2.3.3): New version set.
16581         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
16582         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
16583         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
16584         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
16585         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
16586         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
16587         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
16588         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
16589         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
16590         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
16591         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
16592         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
16593         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
16594         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
16595         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
16596         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
16597         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
16598         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
16599         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
16600         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16601         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16602         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16603         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16604         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16605         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16606         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16607         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16608         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16609         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16610         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16611         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16612         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16613         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16614         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16615         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16616         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16617         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16618         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16619         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16620         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16621         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16622         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16623         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16624         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16625         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16627         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16628         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16629         (__libc_vfork): Define the function under this name.
16630         [!NOT_IN_libc] (__vfork): Make this an alias.
16631         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16632         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16633         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16634         (__libc_vfork): Define the function under this name.
16635         [!NOT_IN_libc] (__vfork): Make this an alias.
16636         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16637         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16638         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16639         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16640         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16641         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16643         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16644         code that was previously under [RESET_PID].
16645         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16646         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16647         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16649         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16650         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16651         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16652         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16653         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16654         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16655         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16656         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16657         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16658         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16659         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16660         Moved ...
16661         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16662         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16663         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16664         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16665         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16666         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16667         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16668         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16669         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16670         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16671         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16672         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16673         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16674         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16675         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16676         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16677         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16678         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16679         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16680         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16681         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16682         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16683         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16684         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16685         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16686         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16687         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16688         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16689         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16691 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16693         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16694         that was previously under [RESET_PID].
16695         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16697 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16699         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16700         not undefine and redefine.
16701         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16702         [O_CLOEXEC]: Make code unconditional.
16703         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16704         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16705         <kernel-features.h>.
16706         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16707         conditional variable definition.
16708         (shm_open) [O_CLOEXEC]: Make code unconditional.
16709         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16710         code.
16712         * configure.ac (USE_REGPARMS): Don't define here.
16713         * configure: Regenerated.
16714         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16715         * sysdeps/i386/configure: Regenerated.
16717         * nptl/createthread.c: Don't include kernel-features.h.
16718         * nptl/pthread_cancel.c: Likewise.
16719         * nptl/pthread_condattr_setclock.c: Likewise.
16720         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16721         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16722         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16723         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16724         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16725         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16726         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16727         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16728         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16729         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16730         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16731         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16732         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16733         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16734         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16735         * nscd/gai.c: Likewise.
16736         * nss/nss_db/db-open.c: Likewise.
16737         * sysdeps/generic/ldsodefs.h: Likewise.
16738         * sysdeps/sh/nptl/tls.h: Likewise.
16739         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16740         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16741         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16742         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16743         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16744         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16745         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16746         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16747         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16748         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16749         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16750         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16751         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16752         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16753         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16754         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16755         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16756         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16757         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16758         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16759         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16760         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16761         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16762         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16763         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16764         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16765         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16766         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16767         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16768         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16769         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16770         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16771         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16772         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16773         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16774         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16775         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16776         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16777         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16778         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16779         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16780         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16781         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16782         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16783         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16784         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16785         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16786         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16787         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16788         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16789         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16790         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16791         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16792         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16793         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16794         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16795         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16796         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16819         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16820         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16821         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16822         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16823         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16824         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16825         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16826         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16827         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16828         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16829         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16830         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16831         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16832         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16833         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16834         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16835         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16836         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16837         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16838         * sysdeps/unix/sysv/linux/system.c: Likewise.
16839         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16840         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16841         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16842         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16843         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16844         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16845         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16847         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16848         * configure: Regenerated.
16849         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16851         * configure.ac (base_machine): Do not set specially for particular
16852         machines here.
16853         * configure: Regenerated.
16854         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16855         settings from configure.ac.
16856         * sysdeps/i386/preconfigure: New file.
16857         * sysdeps/s390/preconfigure: Likewise.
16858         * sysdeps/sh/preconfigure: Likewise.
16859         * sysdeps/sparc/preconfigure: Likewise.
16861 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16863         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16864         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16865         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16866         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16867         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16868         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16869         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16870         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16871         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16872         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16873         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16874         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16875         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16876         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16877         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16878         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16879         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16880         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16881         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16883         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16884         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16885         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16886         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16887         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16888         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16889         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16890         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16891         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16892         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16893         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16894         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16895         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16896         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16897         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16898         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16899         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16900         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16901         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16902         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16903         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16904         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16905         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16906         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16907         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16908         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16909         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16910         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16911         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16912         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16913         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16914         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16915         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16916         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16917         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16918         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16919         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16920         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16922         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16923         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16924         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16925         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16926         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16927         Moved ...
16928         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16929         ... here.
16930         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16931         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16933         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16934         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16935         Moved ...
16936         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16937         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16938         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16939         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16940         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16941         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16942         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16943         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16944         Moved ...
16945         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16947         Moved ...
16948         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16950         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16951         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16952         Moved ...
16953         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16954         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16955         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16957         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16958         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16959         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16961         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16962         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16963         Moved ...
16964         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16965         ... here.
16966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16967         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16969         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16971         Moved ...
16972         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16974         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16975         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16976         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16977         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16978         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16980         Moved ...
16981         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16983         Moved ...
16984         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16985         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16986         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16987         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16988         Moved ...
16989         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16990         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16991         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16993         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16995 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16997         * timezone/checktab.awk: Update from tzcode 2014e.
16998         * timezone/private.h: Likewise.
16999         * timezone/tzfile.h: Likewise.
17000         * timezone/zdump.c: Likewise.
17001         * timezone/zic.c: Likewise.
17003         * sysdeps/unix/sysv/linux/kernel-features.h
17004         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
17005         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
17006         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
17007         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17008         Remove conditional code.
17010 2014-06-25  Will Newton  <will.newton@linaro.org>
17012         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
17013         (_dl_arm_cap_flags): Add HWCAP2 values.
17014         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
17015         (_DL_HWCAP_COUNT): Increase to 37.
17016         (_DL_HWCAP_LAST): New define.
17017         (_DL_HWCAP2_LAST): New define.
17018         (_dl_procinfo): Add support for printing
17019         AT_HWCAP2 entries.
17020         (_dl_string_hwcap): Use _dl_hwcap_string.
17022 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17026 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
17028         * README: Do not mention ports directory.
17030         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
17031         Remove macro.
17032         * sysdeps/unix/sysv/linux/futimes.c: Do not include
17033         <kernel-features.h>.
17034         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
17035         conditional variable definition.
17036         (__futimes): Update comment.
17037         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
17038         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
17040         [BZ #16560]
17041         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
17042         arguments close to 0.
17043         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
17044         Likewise.
17045         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
17046         Likewise.
17047         * math/auto-libm-test-in: Add more tests of exp10.
17048         * math/auto-libm-test-out: Regenerated.
17049         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17051         * sysdeps/unix/sysv/linux/kernel-features.h
17052         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
17053         * sysdeps/unix/sysv/linux/readv.c: Do not include
17054         <kernel-features.h>.
17055         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17056         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17057         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17058         unconditional.
17059         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17060         conditional code.
17061         * sysdeps/unix/sysv/linux/writev.c: Do not include
17062         <kernel-features.h>.
17063         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17064         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17065         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17066         unconditional.
17067         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17068         conditional code.
17070 2014-06-25  Will Newton  <will.newton@linaro.org>
17072         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
17073         comment changes throughout the file.  Remove checks
17074         for HAVE_*_H definitions that are not required.
17075         (__gen_tempname): Call abort if an unknown kind value is
17076         passed.
17078 2014-06-25  Andreas Schwab  <schwab@suse.de>
17080         [BZ #17086]
17081         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
17082         scalbln, scalblnf, scalblnl in libc.
17084 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17086         [BZ #17086]
17087         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
17088         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17089         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17091 2014-06-24  Roland McGrath  <roland@hack.frob.com>
17093         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
17094         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
17095         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
17096         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
17097         Update #include.
17098         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
17099         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
17100         Update #include.
17101         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
17102         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
17103         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
17104         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
17105         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
17106         * sysdeps/x86/bits/pthreadtypes.h: ... here.
17107         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
17108         * sysdeps/x86/bits/semaphore.h: ... here.
17109         * sysdeps/x86/nptl/elide.h: Moved ...
17110         * sysdeps/x86/elide.h: ... here.
17111         * sysdeps/x86_64/nptl/Implies: File removed.
17112         * sysdeps/i386/nptl/Implies: File removed.
17114 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
17116         [BZ #16539]
17117         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
17118         return the argument for normal arguments with exponent below -64.
17119         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17120         Likewise.
17121         * math/auto-libm-test-in: Add another test of expm1.
17122         * math/auto-libm-test-out: Regenerated.
17124         [BZ #16287]
17125         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
17126         calling __erfcl for arguments at least 16.
17127         * math/auto-libm-test-in: Add more tests of erf.
17128         * math/auto-libm-test-out: Regenerated.
17130         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
17131         individual architectures.
17132         * sysdeps/unix/sysv/linux/configure: Regenerated.
17133         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
17134         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
17135         * sysdeps/unix/sysv/linux/powerpc/configure.ac
17136         (ldd_rewrite_script): Define variable.
17137         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
17139         file.
17140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
17141         generated file.
17142         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
17143         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
17144         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
17145         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
17146         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
17147         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
17148         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
17149         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
17151 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17153         [BZ #17084]
17154         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
17155         Rename member __data.d to __data.__elision_data.
17157 2014-06-24  Wilco  <wdijkstr@arm.com>
17159         * NEWS: Add 16918 to fixed bug list.
17161 2014-06-24  Wilco  <wdijkstr@arm.com>
17163         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
17165 2014-06-24  Wilco  <wdijkstr@arm.com>
17167         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
17168         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
17169         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
17170         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
17171         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
17172         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
17173         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
17174         Use _FPU_MASK_RM.
17176 2014-06-24  Wilco  <wdijkstr@arm.com>
17178         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
17180 2014-06-24  Wilco  <wdijkstr@arm.com>
17182         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
17183         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
17184         * sysdeps/arm/fesetround.c (fesetround): Remove space.
17185         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
17187 2014-06-24  Wilco  <wdijkstr@arm.com>
17189         [BZ #16918]
17190         * sysdeps/arm/feupdateenv.c (feupdateenv):
17191         Rewrite to reduce FPSCR accesses and fix return value.
17193 2014-06-24  Wilco  <wdijkstr@arm.com>
17195         * sysdeps/arm/fclrexcpt.c (feclearexcept):
17196         Optimize to avoid unnecessary FPSCR writes.
17197         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
17198         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
17199         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
17200         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
17202 2014-06-24  Wilco  <wdijkstr@arm.com>
17204         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
17205         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
17206         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
17207         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
17208         Call libc_fetestexcept_vfp.
17209         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
17210         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
17211         __SOFTFP__ ifdef so that they can be built for softfp.
17213 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17215         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
17216         argument type signed char.
17218         * Makerules (check-abi): Dump diff of symlist if the test
17219         fails.
17221 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17223         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
17224         using abort.
17226         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17227         Remove unused variable ST.
17229 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17231         [BZ #16354]
17232         [BZ #17061]
17233         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
17234         small arguments before calling __expm1.
17235         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
17236         small arguments before calling __expm1f.
17237         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
17238         small arguments before calling __expm1l.
17239         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17240         Likewise.
17241         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
17242         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
17243         spurious underflow for some cosh tests.
17244         * math/auto-libm-test-out: Regenerated.
17245         * sysdeps/i386/fpu/libm-test-ulps: Update.
17247         [BZ #17050]
17248         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
17249         (__ieee754_y1): Set errno if return value overflows.
17250         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
17251         (__ieee754_y1f): Set errno if return value overflows.
17252         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
17253         (__ieee754_y1l): Set errno if return value overflows.
17254         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
17255         (__ieee754_y1l): Set errno if return value overflows.
17256         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
17257         * math/auto-libm-test-out: Regenerated.
17259         * math/gen-auto-libm-tests.c: Document use of
17260         ignore-zero-inf-sign.
17261         (input_flag_type): Add value flag_ignore_zero_inf_sign.
17262         (input_flags): Add ignore-zero-inf-sign.
17263         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
17264         * math/gen-libm-test.pl (generate_testfile): Handle
17265         ignore-zero-inf-sign.
17266         * math/auto-libm-test-in: Mark some cpow tests with
17267         ignore-zero-inf-sign and some with xfail-rounding.
17268         * math/auto-libm-test-out: Regenerated.
17269         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
17270         * sysdeps/i386/fpu/libm-test-ulps: Update.
17271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17273         [BZ #16315]
17274         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
17275         overflowing or underflowing operations take place with sign of
17276         result.
17277         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17278         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17279         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
17280         (__ieee754_pow): Recompute overflowing and underflowing results in
17281         original rounding mode.
17282         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
17283         (__powl_helper): Allow negative argument X and scale negated value
17284         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
17285         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
17286         overflowing or underflowing operations take place with sign of
17287         result.
17288         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
17289         Include <math.h>.
17290         * math/auto-libm-test-in: Add more tests of pow.
17291         * math/auto-libm-test-out: Regenerated.
17292         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
17293         (pow_tonearest_test_data): Remove.
17294         (pow_test_tonearest): Likewise.
17295         (pow_towardzero_test_data): Likewise.
17296         (pow_test_towardzero): Likewise.
17297         (pow_downward_test_data): Likewise.
17298         (pow_test_downward): Likewise.
17299         (pow_upward_test_data): Likewise.
17300         (pow_test_upward): Likewise.
17301         (main): Don't call removed functions.
17302         * sysdeps/i386/fpu/libm-test-ulps: Update.
17303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17305 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
17308         Moved ...
17309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
17310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17311         Moved ...
17312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
17313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17314         Moved ...
17315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
17316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17317         Moved ...
17318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
17319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17320         File removed.
17321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17322         File removed.
17323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
17324         File removed.
17325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
17326         File removed.
17327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
17328         File removed.
17329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
17330         File removed.
17331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
17332         File removed.
17333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17334         File removed.
17335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
17336         File removed.
17337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17338         File removed.
17339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
17340         File removed.
17341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
17342         File removed.
17343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
17344         Moved ...
17345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
17346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
17347         Moved ...
17348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17349         ... here.
17350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
17351         Moved ...
17352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
17353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
17354         Moved ...
17355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
17356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
17357         Moved ...
17358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
17359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
17360         Moved ...
17361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
17362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
17363         Moved ...
17364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
17365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
17366         Moved ...
17367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
17368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
17369         Moved ...
17370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
17371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
17372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17373         ... here.
17374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
17375         Moved ...
17376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
17377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17378         Moved ...
17379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17380         ... here.
17381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
17382         Moved ...
17383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17384         ... here.
17385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17386         Moved ...
17387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17388         ... here.
17389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17390         Moved ...
17391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
17392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17393         Moved ...
17394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
17395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
17396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
17397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17398         Moved ...
17399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17400         ... here.
17401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17402         Moved ...
17403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17404         ... here.
17405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17406         Moved ...
17407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
17408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17409         Moved ...
17410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
17411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17412         Moved ...
17413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
17414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17415         Moved ...
17416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
17417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17418         Moved ...
17419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17420         ... here.
17421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17422         Moved ...
17423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
17424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17425         Moved ...
17426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
17427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17428         Moved ...
17429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
17430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17431         Moved ...
17432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
17433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
17434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
17435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17436         Moved ...
17437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
17438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17439         Moved ...
17440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
17441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17442         Moved ...
17443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17444         ... here.
17445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17446         Moved ...
17447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17448         ... here.
17449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17450         Moved ...
17451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17452         ... here.
17453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17454         Moved ...
17455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
17456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17457         Moved ...
17458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
17459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17460         Moved ...
17461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
17462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17463         Moved ...
17464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17465         ... here.
17466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17467         Moved ...
17468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17469         ... here.
17470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17471         Moved ...
17472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17473         ... here.
17474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17475         Moved ...
17476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
17477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17478         Moved ...
17479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
17481 2014-06-23  Will Newton  <will.newton@linaro.org>
17482             Wilco  <wdijkstr@arm.com>
17484         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
17485         implementation.  Include get-rounding-mode.h.
17486         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
17487         [!libc_feholdsetround_noex_ctx]: Define
17488         libc_feholdsetround_noex_ctx.
17489         [!libc_feholdsetround_noexf_ctx]: Define
17490         libc_feholdsetround_noexf_ctx.
17491         [!libc_feholdsetround_noexl_ctx]: Define
17492         libc_feholdsetround_noexl_ctx.
17493         (libc_feholdsetround_ctx): New function.
17494         (libc_feresetround_ctx): New function.
17495         (libc_feholdsetround_noex_ctx): New function.
17496         (libc_feresetround_noex_ctx): New function.
17498 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17500         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
17501         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
17502         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
17503         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
17504         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
17505         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
17507         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
17508         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
17509         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
17510         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
17511         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
17512         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
17513         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
17514         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
17515         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
17516         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
17517         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
17518         Moved ...
17519         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17520         ... here.
17521         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
17522         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
17523         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
17524         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
17525         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
17526         Moved ...
17527         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
17528         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
17529         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
17530         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
17531         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
17532         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
17533         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
17534         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
17535         Moved ...
17536         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
17537         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
17538         Moved ...
17539         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
17540         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
17541         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
17542         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
17543         Moved ...
17544         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
17545         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
17546         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
17547         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
17548         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
17549         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
17550         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
17551         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
17552         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
17553         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
17554         Moved ...
17555         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17556         ... here.
17557         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
17558         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
17559         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
17560         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
17561         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
17562         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
17563         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
17564         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
17565         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
17566         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
17567         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
17568         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
17569         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
17570         Moved ...
17571         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
17572         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
17573         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
17574         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
17575         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
17576         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
17577         Moved ...
17578         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
17579         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
17580         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
17581         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
17582         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
17584         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
17585         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
17586         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
17587         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
17588         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
17589         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
17590         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
17591         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
17592         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
17593         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
17594         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
17595         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
17596         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
17597         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17598         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
17599         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
17600         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17601         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17602         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17603         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17604         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17605         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17606         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17607         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17608         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17609         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17610         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17611         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17613 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17615         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17616         (FALLOC_FL_COLLAPSE_RANGE): New macro.
17617         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17618         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17619         (IPV6_PMTUDISC_INTERFACE): Likewise.
17620         (IPV6_PMTUDISC_OMIT): Likewise.
17622 2014-06-23  Andreas Schwab  <schwab@suse.de>
17624         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17625         Remove unused errout label.
17627 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17629         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17630         macro: hardware supports Vector Crypto instructions.
17632 2014-06-23  Will Newton  <will.newton@linaro.org>
17634         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17635         rather than __builtin_expect.
17637         * elf/dl-lookup.c (undefined_msg): Remove variable.
17638         (_dl_lookup_symbol_x): Replace undefined_msg with string
17639         literal.
17641         * elf/dl-lookup.c (do_lookup_unique): New function.
17642         (do_lookup_x): Move STB_GNU_UNIQUE handling code
17643         to a separate function.
17645 2014-06-23  Andreas Schwab  <schwab@suse.de>
17647         [BZ #17079]
17648         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17649         before reading the next line.
17651 2014-06-23  Will Newton  <will.newton@linaro.org>
17653         * test-skeleton.c (signal_handler): Use printf and %m
17654         rather than perror.  Use printf rather than fprintf to
17655         stderr.  Use puts rather than fputs to stderr.
17656         (main): Likewise.
17658 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17660         * nscd/nscd.c (thread_info_t): Remove typedef.
17661         (thread_info): Remove variable.
17663 2014-06-21  Allan McRae  <allan@archlinux.org>
17665         * NEWS: Mention CVE-2014-4043.
17667 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17669         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17670         * nptl/smp.h: ... here.
17672         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17674         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17675         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17676         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17677         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17679         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17680         * nptl/stack-aliasing.h: New file.
17681         * sysdeps/i386/i686/stack-aliasing.h: New file.
17682         * sysdeps/i386/i686/nptl/Makefile: File removed.
17683         * sysdeps/x86_64/stack-aliasing.h: New file.
17684         * sysdeps/x86_64/nptl/Makefile
17685         (CFLAGS-pthread_create.c): Variable removed.
17687         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17688         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17689         old file.
17690         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17691         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17692         old file.
17694 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17696         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17697         (__ASSUME_SIGFRAME_V2): Remove macro.
17698         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17699         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17700         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17701         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17702         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17703         Declare as function.  Remove conditional macro definitions.
17704         (__default_rt_sa_restorer): Likewise.
17705         (__default_sa_restorer_v1): Remove declaration.
17706         (__default_sa_restorer_v2): Likewise.
17707         (__default_rt_sa_restorer_v1): Likewise.
17708         (__default_rt_sa_restorer_v2): Likewise.
17709         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17710         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17711         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17713 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17715         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17716         (libpthread-routines): Add sysdep.
17717         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17718         * sysdeps/unix/sysv/linux/sparc/Versions
17719         (libpthread: GLIBC_2.3.3): New version set.
17720         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17721         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17722         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17723         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17724         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17725         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17726         Moved ...
17727         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17728         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17729         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17730         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17731         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17732         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17733         * sysdeps/sparc/nptl/sem_init.c: ... here.
17734         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17735         * sysdeps/sparc/nptl/sem_post.c: ... here.
17736         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17737         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17738         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17739         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17740         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17741         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17742         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17743         (libpthread-routines): Add cpu_relax.
17744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17745         File removed.
17746         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17747         (librt: GLIBC_2.3.3): New version set.
17748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17749         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17750         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17751         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17752         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17753         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17754         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17755         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17756         Moved ...
17757         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17758         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17759         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17760         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17761         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17762         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17763         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17764         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17765         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17766         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17767         Moved ...
17768         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17769         Update #include.
17770         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17771         Moved ...
17772         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17773         Update #include.
17774         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17775         Moved ...
17776         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17777         Update #include.
17778         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17779         Moved ...
17780         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17781         Update #include.
17782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17783         Moved ...
17784         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17785         Update #include.
17786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17787         Moved ...
17788         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17789         Update #include.
17790         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17791         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17792         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17793         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17794         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17795         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17797         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17799         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17801         Moved ...
17802         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17803         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17804         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17805         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17806         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17808 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17810         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17811         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17812         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17813         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17814         * nscd/nscd.c: Likewise.
17815         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17816         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17817         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17818         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17820         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17821         <kernel-features.h>.
17822         (init_mq_netlink): Remove conditional have_sock_cloexec
17823         definitions.  Remove code conditional on have_sock_cloexec < 0.
17824         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17825         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17826         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17827         <kernel-features.h>.
17828         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17829         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17831 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17833         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17834         Add tests for memset_chk and memset.
17836         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17837         with AVX2_Usable.
17839 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17841         [BZ #16046]
17842         * elf/tst-dl-iter-static.c: New file.
17843         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17845         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17846         error.
17848 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17850         * sysdeps/unix/sysv/linux/kernel-features.h
17851         (__ASSUME_F_GETOWN_EX): Remove macro.
17852         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17853         <kernel-features.h>.
17854         (miss_F_GETOWN_EX): Remove variable or macro.
17855         (do_fcntl): Do not check miss_F_GETOWN_EX.
17856         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17858         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17859         Remove macro.
17860         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17861         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17862         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17864         * sysdeps/unix/sysv/linux/kernel-features.h
17865         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17866         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17867         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17868         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17870 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17872         [BZ #17075]
17873         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17874         Fix calculation of the symbol's value.
17875         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17876         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17877         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17878         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17879         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17880         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17881         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17882         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17883         (modules-names): Add `tst-armtlsdescmod',
17884         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17885         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17886         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17887         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17888         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17889         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17890         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17891         ($(objpfx)tst-armtlsdescloc): New dependency.
17892         ($(objpfx)tst-armtlsdescextnow): Likewise.
17893         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17894         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17895         TLS scheme support.
17896         * sysdeps/arm/configure: Regenerate.
17898 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17900         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17901         (__atfct_seterrno_2): Likewise.
17902         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17903         <kernel-features.h>.
17904         (__ASSUME_ATFCTS): Do not undefine and redefine.
17905         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17906         (__have_atfcts): Remove conditional definition.
17907         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17908         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17909         unreachable if [__ASSUME_ATFCTS].
17910         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17911         not undefine and redefine.
17912         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17913         <kernel-features.h>.
17914         (faccessat) [__NR_faccessat]: Make code unconditional.
17915         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17916         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17917         <kernel-features.h>.
17918         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17919         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17920         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17921         <kernel-features.h>.
17922         (fchownat) [__NR_fchownat]: Make code unconditional.
17923         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17924         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17925         <kernel-features.h>.
17926         (futimesat) [__NR_futimesat]: Make code unconditional.
17927         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17928         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17929         <kernel-features.h>.
17930         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17931         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17932         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17933         <kernel-features.h>.
17934         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17935         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17936         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17937         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17938         <kernel-features.h>.
17939         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17940         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17941         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17942         <kernel-features.h>.
17943         (linkat) [__NR_linkat]: Make code unconditional.
17944         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17945         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17946         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17947         <kernel-features.h>.
17948         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17949         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17950         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17951         <kernel-features.h>.
17952         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17953         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17954         * sysdeps/unix/sysv/linux/openat.c: Do not include
17955         <kernel-features.h>.
17956         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17957         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17958         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17959         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17960         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17961         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17962         <kernel-features.h>.
17963         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17964         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17965         result of INLINE_SYSCALL directly, not via int variable.
17966         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17967         <kernel-features.h>.
17968         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17969         (renameat) [__NR_renameat]: Make code unconditional.
17970         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17971         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17972         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17973         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17974         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17975         (__ASSUME_ATFCTS): Do not undefine and redefine.
17976         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17977         <kernel-features.h>.
17978         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17979         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17980         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17981         <kernel-features.h>.
17982         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17983         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17984         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17985         (__ASSUME_ATFCTS): Do not undefine and redefine.
17986         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17987         <kernel-features.h>.
17988         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17989         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17990         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17991         <kernel-features.h>.
17992         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17993         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17995 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17997         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17999 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
18001         [BZ #17069]
18002         * posix/regcomp.c (parse_reg_exp): Deallocate partially
18003         constructed tree before returning error.
18004         * posix/bug-regexp36.c: Expand test case.
18006 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18008         [BZ #6803]
18009         * math/libm-test.inc (scalbln_test_date):
18010         Add errno expectations.
18011         * math/w_scalblnf.c: New File.
18012         Add wrapper which checks for setting errno to ERANGE.
18013         Add weak_alias for corresponding scalbln function.
18014         * math/w_scalbln.c: Likewise.
18015         * math/w_scalblnl.c: Likewise.
18016         * math/Makefile (libm-calls): Add w_scalbln.
18017         * sysdeps/ieee754/flt-32/s_scalblnf.c:
18018         Remove weak_alias for corresponding scalbln function.
18019         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18020         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18021         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18022         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18023         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18024         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18025         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
18026         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18027         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
18028         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
18029         Remove long_double_symbol for scalblnl function in libm, libc.
18030         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
18031         Add wrapper which checks for setting errno to ERANGE.
18032         Add long_double_symbol for scalblnl function in libm, libc.
18033         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
18034         Remove long_double_symbol for scalblnl in libm.
18035         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
18036         Add wrapper which checks for setting errno to ERANGE.
18037         Add long_double_symbol for scalblnl function in libm.
18038         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
18039         Do not use wrapper because of own implementation.
18041 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
18043         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
18044         3 bytes for __pad1 for x32.
18045         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
18047 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
18048             H.J. Lu  <hongjiu.lu@intel.com>
18050         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
18051         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
18052         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18053         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18054         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18056 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
18058         [BZ #17069]
18059         * posix/regcomp.c (parse_expression): Deallocate partially
18060         constructed tree before returning error.
18061         * posix/Makefile.c (tests): Add bug-regex36.
18062         (generated): Add bug-regex36.mtrace.
18063         (tests-special): Add $(objpfx)bug-regex36-mem.out
18064         (bug-regex36-ENV): New variable.
18065         ($(objpfx)bug-regex36-mem.out): New rule.
18066         * posix/bug-regex36.c: New file.
18068 2014-06-19  Will Newton  <will.newton@linaro.org>
18070         * malloc/malloc.c (systrim): If extra is zero then return
18071         early.
18073 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18075         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
18077 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
18079         * sysdeps/aarch64/strchr.S: New file.
18081 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18083         [BZ #17022]
18084         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
18085         from arguments -2 or below.
18086         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18087         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18089 2014-06-18  Andreas Schwab  <schwab@suse.de>
18091         [BZ #17062]
18092         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
18093         of a bracket expr not to run off the end of the string.
18094         * posix/Makefile (tests): Add tst-fnmatch3.
18095         * posix/tst-fnmatch3.c: New file.
18097 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18099         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
18100         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18101         [$(cross-compiling) = no]: Likewise.
18102         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18103         [$(cross-compiling) = no]: Likewise.
18105 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18107         [BZ #17031]
18108         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
18109         double, adjusted for any remainder from the high double.
18110         * math/libm-test.inc (nearbyint): Add tests.
18111         (rint): Likewise.
18113 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18115         * nptl/sysdeps/powerpc/Makefile: Moved ...
18116         * sysdeps/powerpc/nptl/Makefile: ... here.
18117         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
18118         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
18119         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
18120         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
18121         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
18122         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
18123         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
18124         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
18125         * nptl/sysdeps/powerpc/tls.h: Moved ...
18126         * sysdeps/powerpc/nptl/tls.h: ... here.
18128 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
18130         [BZ #16681]
18131         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
18132         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18133         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
18134         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
18135         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18136         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
18137         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
18138         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18139         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
18141 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
18143         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18145 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
18147         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
18148         defined operator.
18150         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
18151         $TIMEOUTFACTOR.
18153 2014-06-16  Florian Weimer  <fweimer@redhat.com>
18155         [BZ #17058]
18156         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
18157         non-executed part of the test.
18159 2014-06-16  Andreas Schwab  <schwab@suse.de>
18161         * string/bits/string2.h (strdup, strndup): Update feature guard.
18163 2014-06-14  David S. Miller  <davem@davemloft.net>
18165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18167 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
18169         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
18170         that was previously under [RESET_PID].
18171         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
18173         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
18174         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
18175         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
18176         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18177         (__libc_vfork): New strong alias.
18178         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
18180 2014-06-14 Andi Kleen  <ak@linux.intel.com>
18182         * sysdeps/generic/elide.h: New file.
18184 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18186         * Makefile (installed-headers): Adjust path of pthread.h header.
18188 2014-06-13  Roland McGrath  <roland@hack.frob.com>
18190         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
18191         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
18192         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
18193         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
18195         * nptl/sysdeps/s390/Makefile: Moved ...
18196         * sysdeps/s390/nptl/Makefile: ... here.
18197         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
18198         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
18199         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
18200         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
18201         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
18202         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
18203         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
18204         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
18205         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
18206         * sysdeps/s390/nptl/pthreaddef.h: ... here.
18207         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
18208         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
18209         * nptl/sysdeps/s390/tls.h: Moved ...
18210         * sysdeps/s390/nptl/tls.h: ... here.
18212         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
18213         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
18215 2014-06-13  David S. Miller  <davem@davemloft.net>
18217         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
18218         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
18219         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
18220         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
18221         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
18222         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
18223         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
18224         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
18225         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
18226         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
18227         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
18228         Remove RESET_PID cpp guards.
18229         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
18230         Remove RESET_PID cpp guards.
18231         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
18233 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
18235         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
18236         __sp to uintptr_t.
18238 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18240         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
18241         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
18242         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
18243         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
18244         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
18245         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
18246         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
18247         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
18248         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
18249         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
18250         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
18251         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
18252         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
18253         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
18254         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
18255         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
18256         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
18257         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
18258         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
18259         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
18261         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
18262         (pthread_rwlock_rdlock): Add elision.
18263         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
18264         (pthread_rwlock_wrlock): Add elision.
18265         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
18266         (pthread_rwlock_trywrlock): Add elision.
18267         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
18268         (pthread_rwlock_tryrdlock): Add elision.
18269         * nptl/pthread_rwlock_unlock.c: Include elide.h.
18270         (pthread_rwlock_tryrdlock): Add elision unlock.
18271         * nptl/sysdeps/pthread/pthread.h:
18272         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
18273         (PTHREAD_RWLOCK_INITIALIZER,
18274         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
18275         Handle new elision field.
18276         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
18277         * sysdeps/arm/nptl/bits/pthreadtypes.h
18278         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18279         * sysdeps/sh/nptl/bits/pthreadtypes.h
18280         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18281         * sysdeps/tile/nptl/bits/pthreadtypes.h
18282         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18283         * sysdeps/a/nptl/bits/pthreadtypes.h
18284         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18285         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18286         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18287         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18288         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18289         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
18290         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18291         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18292         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18293         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18294         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18295         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18296         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18297         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18298         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18299         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
18300         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18301         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
18302         (elision_init): Set try_xbegin to zero when no RTM.
18303         * sysdeps/x86/nptl/bits/pthreadtypes.h
18304         (pthread_rwlock_t): Change __pad1 to __rwelision.
18305         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18307 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18309         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
18310         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
18311         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
18312         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
18314 2014-06-13  Meador Inge  <meadori@codesourcery.com>
18316         [BZ #16996]
18317         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
18318         that the cached result has been set before returning it.
18320 2014-06-12  Roland McGrath  <roland@hack.frob.com>
18322         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
18323         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
18324         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
18325         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
18326         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
18327         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
18329         * nptl/sysdeps/sparc/Makefile: Moved ...
18330         * sysdeps/sparc/nptl/Makefile: ... here.
18331         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
18332         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
18333         * nptl/sysdeps/sparc/tls.h: Moved ...
18334         * sysdeps/sparc/nptl/tls.h: ... here.
18335         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
18336         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
18337         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
18338         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
18339         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
18340         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
18341         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
18342         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
18343         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
18344         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
18345         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
18346         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
18347         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
18348         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
18349         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
18350         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
18351         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
18352         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
18353         Update #include.
18354         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
18355         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
18356         Update #include.
18357         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
18358         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
18359         Update #include.
18360         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
18361         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
18362         Update #include.
18364         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18366         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
18367         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
18369         * sysdeps/pthread/posix-timer.h: Include <list.h>.
18370         (struct list_links): Type removed.
18371         (struct thread_node, struct timer_node): Replace struct list_links
18372         with struct list_head.
18373         (list_unlink_ip): Likewise.
18374         * sysdeps/pthread/timer_routines.c
18375         (timer_free_list, thread_free_list, thread_active_list): Likewise.
18376         (list_append, list_insbefore): Likewise.
18377         (list_init): Function removed.
18378         (thread_init, init_module): Use INIT_LIST_HEAD instead.
18379         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
18380         * sysdeps/pthread/Makefile: ... here, new file.
18382         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
18383         * sysdeps/nptl/Implies: ... here.
18384         * sysdeps/unix/sysv/linux/Implies: Add nptl.
18385         * nptl/sysdeps/pthread/list.h: Moved ...
18386         * include/list.h: ... here.
18387         * nptl/sysdeps/pthread/createthread.c: Moved ...
18388         * nptl/createthread.c: ... here.
18389         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
18390         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
18391         * nptl/pt-longjmp.c: ... here.
18392         * nptl/sysdeps/pthread/Makefile: Moved ...
18393         * sysdeps/nptl/Makefile: ... here.
18394         * nptl/sysdeps/pthread/Subdirs: Moved ...
18395         * sysdeps/nptl/Subdirs: ... here.
18396         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
18397         * sysdeps/nptl/aio_misc.h: ... here.
18398         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
18399         * sysdeps/nptl/bits/libc-lock.h: ... here.
18400         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
18401         * sysdeps/nptl/bits/libc-lockP.h: ... here.
18402         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
18403         * sysdeps/nptl/bits/stdio-lock.h: ... here.
18404         * nptl/sysdeps/pthread/configure: Moved ...
18405         * sysdeps/nptl/configure: ... here.
18406         * nptl/sysdeps/pthread/configure.ac: Moved ...
18407         * sysdeps/nptl/configure.ac: ... here.
18408         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
18409         * sysdeps/nptl/gai_misc.h: ... here.
18410         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
18411         * sysdeps/nptl/librt-cancellation.c: ... here.
18412         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
18413         * sysdeps/nptl/malloc-machine.h: ... here.
18414         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
18415         * sysdeps/nptl/pthread-functions.h: ... here.
18416         * nptl/sysdeps/pthread/pthread.h: Moved ...
18417         * sysdeps/nptl/pthread.h: ... here.
18418         * nptl/sysdeps/pthread/setxid.h: Moved ...
18419         * sysdeps/nptl/setxid.h: ... here.
18420         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
18421         * sysdeps/nptl/sigfillset.c: ... here.
18422         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
18423         * sysdeps/nptl/tcb-offsets.h: ... here.
18424         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
18425         * sysdeps/nptl/tst-mqueue8x.c: ... here.
18426         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
18427         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
18428         * nptl/sysdeps/pthread/allocalim.h: Moved ...
18429         * sysdeps/pthread/allocalim.h: ... here.
18430         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
18431         * sysdeps/pthread/bits/sigthread.h: ... here.
18432         * nptl/sysdeps/pthread/flockfile.c: Moved ...
18433         * sysdeps/pthread/flockfile.c: ... here.
18434         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
18435         * sysdeps/pthread/ftrylockfile.c: ... here.
18436         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
18437         * sysdeps/pthread/funlockfile.c: ... here.
18438         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
18439         * sysdeps/pthread/posix-timer.h: ... here.
18440         * nptl/sysdeps/pthread/timer_create.c: Moved ...
18441         * sysdeps/pthread/timer_create.c: ... here.
18442         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
18443         * sysdeps/pthread/timer_delete.c: ... here.
18444         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
18445         * sysdeps/pthread/timer_getoverr.c: ... here.
18446         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
18447         * sysdeps/pthread/timer_gettime.c: ... here.
18448         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
18449         * sysdeps/pthread/timer_routines.c: ... here.
18450         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
18451         * sysdeps/pthread/timer_settime.c: ... here.
18452         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
18453         * sysdeps/pthread/tst-timer.c: ... here.
18454         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
18455         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
18457         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
18458         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
18460         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
18461         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
18462         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
18463         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
18464         Update #include target.
18465         * nptl/sysdeps/i386/i686/Makefile: Moved ...
18466         * sysdeps/i386/i686/nptl/Makefile: ... here.
18467         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
18468         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
18469         Update #include target.
18470         * nptl/sysdeps/i386/i686/tls.h: Moved ...
18471         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
18472         * nptl/sysdeps/i386/Makefile: Moved ...
18473         * sysdeps/i386/nptl/Makefile: ... here.
18474         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
18475         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
18476         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
18477         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
18478         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
18479         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
18480         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
18481         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
18482         * sysdeps/i386/nptl/pthreaddef.h: ... here.
18483         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
18484         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
18485         * nptl/sysdeps/i386/tls.h: Moved ...
18486         * sysdeps/i386/nptl/tls.h: ... here.
18488         * sysdeps/sh/Makefile [$(subdir) = csu]
18489         (gen-as-const-headers): Add tcb-offsets.sym.
18490         * nptl/sysdeps/sh/Makefile: File removed.
18491         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
18492         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
18493         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
18494         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
18495         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
18496         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
18497         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
18498         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
18499         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
18500         * sysdeps/sh/nptl/pthreaddef.h: ... here.
18501         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
18502         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
18503         * nptl/sysdeps/sh/tls.h: Moved ...
18504         * sysdeps/sh/nptl/tls.h: ... here.
18505         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
18506         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
18507         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
18508         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
18509         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
18510         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
18511         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
18512         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
18513         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
18514         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
18515         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
18516         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
18517         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
18518         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
18519         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
18520         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
18521         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
18522         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
18523         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
18524         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
18525         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
18526         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
18527         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
18528         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
18529         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
18530         Moved ...
18531         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
18532         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
18533         Moved ...
18534         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
18535         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
18536         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
18537         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
18538         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
18539         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
18540         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
18541         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
18542         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
18543         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
18544         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
18545         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
18546         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
18547         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
18548         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
18549         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
18550         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
18551         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
18552         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
18554 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18556         * posix/spawn_faction_addopen.c: Include string.h.
18558 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18560         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
18561         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
18562         * nptl/sysdeps/x86_64/Makefile: Moved ...
18563         * sysdeps/x86_64/nptl/Makefile: ... here.
18564         * nptl/sysdeps/x86_64/configure: Moved ...
18565         * sysdeps/x86_64/nptl/configure: ... here.
18566         * nptl/sysdeps/x86_64/configure.ac: Moved ...
18567         * sysdeps/x86_64/nptl/configure.ac: ... here.
18568         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
18569         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
18570         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
18571         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
18572         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
18573         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
18574         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
18575         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
18576         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
18577         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
18578         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
18579         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
18580         * nptl/sysdeps/x86_64/tls.h: Moved ...
18581         * sysdeps/x86_64/nptl/tls.h: ... here.
18582         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
18583         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
18584         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
18585         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
18587         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
18589 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18593 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
18595         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
18596         type.
18597         [POSIX] (off_t): Likewise.
18598         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
18599         [POSIX] (S_ISBLK): Require macro.
18600         [POSIX] (S_ISCHR): Likewise.
18601         [POSIX] (S_ISDIR): Likewise.
18602         [POSIX] (S_ISFIFO): Likewise.
18603         [POSIX] (S_ISREG): Likewise.
18604         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18605         optional-macro.
18606         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18607         type.
18608         [POSIX] (time_t): Likewise.
18609         [POSIX] (timer_t): Likewise.
18611 2014-06-11  Florian Weimer  <fweimer@redhat.com>
18613         [BZ #17048]
18614         * posix/spawn_int.h (struct __spawn_action): Make the path string
18615         non-const to support deallocation.
18616         * posix/spawn_faction_addopen.c
18617         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18618         * posix/spawn_faction_destroy.c
18619         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
18620         path in all spawn_do_open actions.
18621         * posix/tst-spawn.c (do_test): Exercise the copy operation in
18622         posix_spawn_file_actions_addopen.
18624 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
18626         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18627         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18628         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18629         conditional code always true.
18630         (__libc_vfork): New alias.
18632 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18634         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18635         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18637         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18639         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18640         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18642         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18643         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18645         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18646         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18648 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18650         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18651         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18652         multiarch strcmp for PPC64.
18653         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18654         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18655         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18656         multiarch optimizations.
18657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18658         (__libc_ifunc_impl_list): Likewise.
18660 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18662         * benchtests/scripts/validate_benchout.py: New script.
18663         * benchtests/Makefile (bench-func): Call it.
18664         * benchtests/scripts/benchout.schema.json: New file.
18666 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18668         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18669         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18670         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18671         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18672         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18673         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18674         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18675         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18676         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18677         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18678         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18679         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18680         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18681         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18682         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18683         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18685         Moved ...
18686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18687         ... here.
18688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18689         Moved ...
18690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18692         Moved ...
18693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18694         ... here.
18695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18696         Moved ...
18697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18698         ... here.
18699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18700         Moved ...
18701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18703         Moved ...
18704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18705         ... here.
18706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18707         Moved ...
18708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18709         ... here.
18710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18711         Moved ...
18712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18714         Moved ...
18715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18716         ... here.
18717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18718         Moved ...
18719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18720         ... here.
18721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18722         Moved ...
18723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18724         ... here.
18725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18726         Moved ...
18727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18729         Moved ...
18730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18731         ... here.
18732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18733         Moved ...
18734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18735         ... here.
18736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18737         Moved ...
18738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18739         ... here.
18740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18741         Moved ...
18742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18744         Moved ...
18745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18746         ... here.
18747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18748         Moved ...
18749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18750         ... here.
18751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18752         Moved ...
18753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18755         Moved ...
18756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18757         ... here.
18758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18759         Moved ...
18760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18762         Moved ...
18763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18765         Moved ...
18766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18767         ... here.
18768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18769         Moved ...
18770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18771         ... here.
18772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18773         Moved ...
18774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18775         ... here.
18776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18777         Moved ...
18778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18780         Moved ...
18781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18782         ... here.
18783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18784         Moved ...
18785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18786         ... here.
18787         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18788         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18789         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18790         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18791         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18792         Moved ...
18793         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18794         ... here.
18795         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18796         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18797         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18798         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18799         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18800         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18801         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18802         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18803         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18804         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18805         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18806         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18807         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18808         Moved ...
18809         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18810         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18811         Moved ...
18812         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18813         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18814         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18815         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18816         Moved ...
18817         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18818         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18819         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18820         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18821         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18822         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18823         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18825 2014-06-10  Wilco  <wdijkstr@arm.com>
18827         * math/test-fenv-return.c: New file.
18828         * math/Makefile: Add new test test-fenv-return.
18830 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18832         [BZ #17042]
18833         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18834         when x - 1 is zero.
18835         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18836         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18837         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18838         0.0L for an argument of 1.0L.
18839         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18840         Likewise.
18841         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18842         value when x - 1 is zero.
18843         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18844         * sysdeps/i386/fpu/libm-test-ulps: Update.
18845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18847 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18849         [BZ #15119]
18850         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18852 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18854         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18855         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18857 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18859         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18860         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18862         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18863         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18865         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18866         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18868         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18869         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18871         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18872         if not already defined.
18873         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18874         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18875         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18876         (TLS_INIT_TP): Use it.
18877         (TLS_DEFINE_INIT_TP): New macro.
18878         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18880 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18882         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18883         constant.
18884         [POSIX] (IXANY): Likewise.
18885         [POSIX] (OLCUC): Likewise.
18886         [POSIX || POSIX2008] (CBAUD): Do not allow.
18887         [POSIX || POSIX2008] (DEFECHO): Likewise.
18888         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18889         [POSIX || POSIX2008] (ECHOKE): Likewise.
18890         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18891         [POSIX || POSIX2008] (EXTA): Likewise.
18892         [POSIX || POSIX2008] (EXTB): Likewise.
18893         [POSIX || POSIX2008] (FLUSHO): Likewise.
18894         [POSIX || POSIX2008] (LOBLK): Likewise.
18895         [POSIX || POSIX2008] (PENDIN): Likewise.
18896         [POSIX || POSIX2008] (SWTCH): Likewise.
18897         [POSIX || POSIX2008] (VDISCARD): Likewise.
18898         [POSIX || POSIX2008] (VDSUSP): Likewise.
18899         [POSIX || POSIX2008] (VLNEXT): Likewise.
18900         [POSIX || POSIX2008] (VREPRINT): Likewise.
18901         [POSIX || POSIX2008] (VSTATUS): Likewise.
18902         [POSIX || POSIX2008] (VWERASE): Likewise.
18903         (B*): Change to B[0123456789]*.
18904         * conform/data/time.h-data [POSIX || UNIX98]
18905         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18906         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18907         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18908         [POSIX] (tm_*): Do not allow.
18910 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18912         * Makefile (install): Don't set LANGUAGE.
18913         * Makefile.in (install): Likewise.
18914         * assert/Makefile (test-assert-ENV): Remove variable.
18915         (test-assert-perr-ENV): Likewise.
18916         * elf/Makefile (neededtest4-ENV): Likewise.
18917         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18918         [$(cross-compiling) = no]: Don't set LANGUAGE.
18919         * io/ftwtest-sh (LANG): Remove variable.
18920         * libio/Makefile (tst-widetext-ENV): Likewise.
18921         * manual/install.texi (Running make install): Don't refer to
18922         environment settings for make install.
18923         * INSTALL: Regenerated.
18924         * nptl/tst-tls6.sh: Don't set LANG.
18925         * posix/globtest.sh (LANG): Remove variable.
18926         * string/Makefile (tester-ENV): Likewise.
18927         (inl-tester-ENV): Likewise.
18928         (noinl-tester-ENV): Likewise.
18929         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18930         [$(cross-compiling) = no]: Don't set LANGUAGE.
18931         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18932         without explicit environment settings.
18934 2014-06-06  Roland McGrath  <roland@hack.frob.com>
18936         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18937         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18938         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18939         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18941 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18943         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18944         other files in the crypt directory.
18945         * crypt/crypt.c: Remove duplicate includes.
18946         * crypt/crypt-entry.c: Likewise.
18947         * crypt/crypt_util.c: Likewise.
18949 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18951         * Makeconfig (run-program-env): New variable.
18952         (run-program-prefix-before-env): Likewise.
18953         (run-program-prefix-after-env): Likewise.
18954         (run-program-prefix): Define in terms of new variables.
18955         (built-program-cmd-before-env): New variable.
18956         (built-program-cmd-after-env): Likewise.
18957         (built-program-cmd): Define in terms of new variables.
18958         (test-program-prefix-before-env): New variable.
18959         (test-program-prefix-after-env): Likewise.
18960         (test-program-prefix): Define in terms of new variables.
18961         (test-program-cmd-before-env): New variable.
18962         (test-program-cmd-after-env): Likewise.
18963         (test-program-cmd): Define in terms of new variables.
18964         * Rules (make-test-out): Use $(run-program-env).
18965         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18966         (help): Do not mention environment variables.  Mention
18967         --timeoutfactor option.
18968         (timeoutfactor): New variable.
18969         (blacklist_exports): Remove function.
18970         (exports): Remove variable.
18971         (command): Do not include ${exports}.
18972         * manual/install.texi (Configuring and compiling): Do not mention
18973         test wrappers preserving environment variables.  Mention that last
18974         assignment to a variable must take precedence.
18975         * INSTALL: Regenerated.
18976         * benchtests/Makefile (run-bench): Use $(run-program-env).
18977         * catgets/Makefile ($(objpfx)test1.cat): Use
18978         $(built-program-cmd-before-env), $(run-program-env) and
18979         $(built-program-cmd-after-env).
18980         ($(objpfx)test2.cat): Do not specify environment variables
18981         explicitly.
18982         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18983         $(run-program-env) and $(built-program-cmd-after-env).
18984         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18985         $(run-program-env) and $(test-program-cmd-after-env).
18986         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18987         explicitly.
18988         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18989         run_program_env and test_program_cmd_after_env arguments.
18990         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18991         * elf/tst-pathopt.sh: Use run_program_env argument.
18992         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18993         $(test-wrapper-env) and $(run-program-env).
18994         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18995         run_program_env arguments.
18996         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18997         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18998         $(test-program-prefix-before-env), $(run-program-env) and
18999         $(test-program-prefix-after-env).
19000         ($(objpfx)tst-gettext2.out): Likewise.
19001         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
19002         run_program_env and test_program_prefix_after_env arguments.
19003         * intl/tst-gettext2.sh: Likewise.
19004         * intl/tst-gettext4.sh: Do not set environment variables
19005         explicitly.
19006         * intl/tst-gettext6.sh: Likewise.
19007         * intl/tst-translit.sh: Likewise.
19008         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
19009         $(test-program-prefix-before-env), $(run-program-env) and
19010         $(test-program-prefix-after-env).
19011         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
19012         run_program_env and test_program_prefix_after_env arguments.
19013         * math/Makefile (run-regen-ulps): Use $(run-program-env).
19014         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
19015         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
19016         explicitly with each use of ${test_wrapper_env}.
19017         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
19018         $(test-program-prefix-before-env), $(run-program-env) and
19019         $(test-program-prefix-after-env).
19020         * posix/tst-getconf.sh: Do not set environment variables
19021         explicitly.
19022         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
19023         run_program_env and test_program_prefix_after_env arguments.
19024         * stdio-common/tst-printf.sh: Do not set environment variables
19025         explicitly.
19026         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
19027         $(test-program-prefix-before-env), $(run-program-env) and
19028         $(test-program-prefix-after-env).
19029         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
19030         run_program_env and test_program_prefix_after_env arguments.
19031         Split $test calls into $test_pre and $test.
19032         * timezone/Makefile (build-testdata): Use
19033         $(built-program-cmd-before-env), $(run-program-env) and
19034         $(built-program-cmd-after-env).
19036 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19038         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
19039         strlen for non SHARED builds.
19041 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19043         * nptl/allocatestack.c (check_list): Inlined function...
19044         (__reclaim_stacks): ... here.
19046 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19048         [BZ #15698]
19049         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19050         memory overrun.
19052 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
19054         * Rules (make-test-out): Include
19055         LOCPATH=$(common-objpfx)localedata in default environment.
19056         * debug/Makefile (tst-chk1-ENV): Remove variable.
19057         (tst-chk2-ENV): Likewise.
19058         (tst-chk3-ENV): Likewise.
19059         (tst-chk4-ENV): Likewise.
19060         (tst-chk5-ENV): Likewise.
19061         (tst-chk6-ENV): Likewise.
19062         (tst-lfschk1-ENV): Likewise.
19063         (tst-lfschk2-ENV): Likewise.
19064         (tst-lfschk3-ENV): Likewise.
19065         (tst-lfschk4-ENV): Likewise.
19066         (tst-lfschk5-ENV): Likewise.
19067         (tst-lfschk6-ENV): Likewise.
19068         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
19069         (tst-iconv7-ENV): Likewise.
19070         * intl/Makefile (LOCPATH-ENV): Likewise.
19071         (tst-codeset-ENV): Likewise.
19072         (tst-gettext3-ENV): Likewise.
19073         (tst-gettext5-ENV): Likewise.
19074         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
19075         (tst-fopenloc-ENV): Likewise.
19076         (tst-fgetws-ENV): Remove variable.
19077         (tst-ungetwc1-ENV): Likewise.
19078         (tst-ungetwc2-ENV): Likewise.
19079         (bug-ungetwc2-ENV): Likewise.
19080         (tst-swscanf-ENV): Likewise.
19081         (bug-ftell-ENV): Likewise.
19082         (tst-fgetwc-ENV): Likewise.
19083         (tst-fseek-ENV): Likewise.
19084         (tst-ftell-partial-wide-ENV): Likewise.
19085         (tst-ftell-active-handler-ENV): Likewise.
19086         (tst-ftell-append-ENV): Likewise.
19087         * posix/Makefile (tst-fnmatch-ENV): Likewise.
19088         (tst-regexloc-ENV): Likewise.
19089         (bug-regex1-ENV): Likewise.
19090         (tst-regex-ENV): Likewise.
19091         (tst-regex2-ENV): Likewise.
19092         (bug-regex5-ENV): Likewise.
19093         (bug-regex6-ENV): Likewise.
19094         (bug-regex17-ENV): Likewise.
19095         (bug-regex18-ENV): Likewise.
19096         (bug-regex19-ENV): Likewise.
19097         (bug-regex20-ENV): Likewise.
19098         (bug-regex22-ENV): Likewise.
19099         (bug-regex23-ENV): Likewise.
19100         (bug-regex25-ENV): Likewise.
19101         (bug-regex26-ENV): Likewise.
19102         (bug-regex30-ENV): Likewise.
19103         (bug-regex32-ENV): Likewise.
19104         (bug-regex33-ENV): Likewise.
19105         (bug-regex34-ENV): Likewise.
19106         (bug-regex35-ENV): Likewise.
19107         (tst-rxspencer-ENV): Likewise.
19108         (tst-rxspencer-no-utf8-ENV): Likewise.
19109         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
19110         (tst-sscanf-ENV): Likewise.
19111         (tst-swprintf-ENV): Likewise.
19112         (tst-swscanf-ENV): Likewise.
19113         (test-vfprintf-ENV): Likewise.
19114         (scanf13-ENV): Likewise.
19115         (bug14-ENV): Likewise.
19116         (tst-grouping-ENV): Likewise.
19117         * stdlib/Makefile (tst-strtod-ENV): Likewise.
19118         (tst-strtod3-ENV): Likewise.
19119         (tst-strtod4-ENV): Likewise.
19120         (tst-strtod5-ENV): Likewise.
19121         (testmb2-ENV): Likewise./
19122         * string/Makefile (tst-strxfrm-ENV): Likewise.
19123         (tst-strxfrm2-ENV): Likewise.
19124         (bug-strcoll1-ENV): Likewise.
19125         (test-strcasecmp-ENV): Likewise.
19126         (test-strncasecmp-ENV): Likewise.
19127         * time/Makefile (tst-strptime-ENV): Likewise.
19128         (tst-ftime_l-ENV): Likewise.
19129         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
19130         (tst-mbrtowc-ENV): Likewise.
19131         (tst-wcrtomb-ENV): Likewise.
19132         (tst-mbrtowc2-ENV): Likewise.
19133         (tst-c16c32-1-ENV): Likewise.
19134         (tst-mbsnrtowcs-ENV): Likewise.
19136 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19138         * manual/resource.texi (How to get information about the memory
19139         subsystem?): Fix typo.
19140         Reported by Peon de la Parra Ivan <peon@keba.com>
19142 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
19144         [BZ #16882]
19145         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
19146         (pthread_spin_lock): Branch out of spin loop to proper location.
19147         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
19148         (pthread_spin_lock): Likewise.
19150         * nptl/tst-spin4.c: New test.
19151         * nptl/Makefile (tests): Add tst-spin4.
19153 2014-06-03  Andreas Schwab  <schwab@suse.de>
19155         [BZ #15946]
19156         * resolv/res_send.c (send_dg): Reload file descriptor after
19157         calling reopen.
19159 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
19161         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19163 2014-06-03  Richard Henderson  <rth@redhat.com>
19165         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
19166         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
19167         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
19168         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
19169         in the SAVE_PID block.
19170         (__libc_vfork): New alias.
19171         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
19173         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
19174         child in registers, not on the stack.  Remove RESET_PID conditionals.
19175         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
19177 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19179         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19181 2014-06-03  Wilco  <wdijkstr@arm.com>
19183         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
19184         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
19185         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19186         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
19187         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
19188         Likewise.
19190 2014-06-03  Wilco  <wdijkstr@arm.com>
19192         * sysdeps/aarch64/fpu/math_private.h
19193         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
19194         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
19195         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
19196         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19197         Fix declarations.
19199 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19201         * crypt/crypt-private.h: Include ufc-crypt.h.
19202         (__b64_from_24bit): Declare extern.
19203         * crypt/crypt_util.c(__b64_from_24bit): New function.
19204         (b64t): New static const variable.
19205         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
19206         (b64t): Remove variable.
19207         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
19208         * crypt/sha256-crypt.c: Include crypt-private.h.
19209         (b64t): Remove variable.
19210         (__sha256_crypt_r): Remove b64_from_24bit and replace
19211         with __b64_from_24bit.
19212         * crypt/sha512-crypt.c: Likewise.
19214 2014-06-02  Roland McGrath  <roland@hack.frob.com>
19216         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
19217         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
19218         Label the code __libc_vfork rather than __vfork.
19219         [!NOT_IN_libc] (vfork): Define as weak alias.
19220         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
19221         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
19222         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
19224 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19226         * malloc/malloc.c (malloc_info): Fix format specifier for
19227         n_mmaps.
19229 2014-06-02  Wilco  <wdijkstr@arm.com>
19231         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
19232         FPCR write.
19234 2014-06-02  Wilco  <wdijkstr@arm.com>
19236         [BZ #17009]
19237         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
19238         Rewrite to reduce FPCR/FPSR accesses.
19240 2014-06-01  David S. Miller  <davem@davemloft.net>
19242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19244 2014-05-31  David S. Miller  <davem@davemloft.net>
19246         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
19247         to occur in round to nearest mode when |x| >= 2.0
19249 2014-05-30  Richard Henderson  <rth@twiddle.net>
19251         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
19252         (PSEUDO_RET_NOERRNO): Remove.
19253         (ret): Don't redefine.
19254         (ret_NOERRNO): Define in terms of ret.
19255         (ret_ERRVAL): Likewise.
19257         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
19258         use of PSEUDO_RET; perform the error check directly.
19260 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
19262         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
19263         with __int128_t.
19265 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19267         * malloc/malloc (malloc_info): Fix formatting.
19269 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19270             Roland McGrath  <roland@hack.frob.com>
19272         * malloc/malloc (malloc_info): Also print mmapped statistics.
19274 2014-05-30  Roland McGrath  <roland@hack.frob.com>
19276         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
19277         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
19279 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
19281         * malloc/malloc.c (malloc_info): Inline mi_arena.
19283 2014-05-29  Richard Henderson  <rth@twiddle.net>
19285         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
19286         Remove comma before expanding ASM_ARGS_##nr.
19287         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
19288         Make _x0 a strict output; make _x8 a strict input; adjust expansion
19289         of ASM_ARGS_##nr.
19290         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
19291         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
19292         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
19293         (ASM_ARGS_1): Add leading comma.
19295         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
19296         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
19297         to __errno_location.
19298         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
19299         Remove the expected plt for __errno_location.
19301         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19302         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
19303         call to __read_tp.
19305         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19306         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
19307         it and break it down.
19308         (DOCARGS_0, DOCARGS_1): Do nothing.
19309         (DOCARGS_2): Update to store into the new stack frame.
19310         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
19311         (UNDOCARGS_1): Update to restore from the new stack frame.
19312         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
19313         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
19315         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19316         (SINGLE_THREAD_P): New parameter for result regno.
19317         (PSEUDO): Update to match; use cbz instead of beq.
19319         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19320         Use ENTRY to define the _nocancel entry point.  Share the syscall
19321         and syscall error check paths with the cancel path.
19322         (PSEUDO_END): New.
19324         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
19325         whitespace; tabs before and after asm mnemonics.
19327 2014-05-29  Eric Wong  <normalperson@yhbt.net>
19329         [BZ #15132]
19330         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19331         Call fstat64 or stat64 internally, depending on arguments passed.
19332         Replace stat buffer argument with file descriptor argument.
19333         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
19334         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19335         Pass fd to __internal_statvfs instead of calling fstat64.
19336         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
19337         Pass fd to __internal_statvfs64 instead of calling fstat64.
19338         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
19339         Pass -1 to __internal_statvfs instead of calling stat64.
19340         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
19341         Pass -1 to __internal_statvfs64 instead of calling stat64.
19343 2014-05-28  Roland McGrath  <roland@hack.frob.com>
19345         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
19346         that was previously under [RESET_PID].
19347         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
19349         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
19350         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
19352 2014-05-27  Roland McGrath  <roland@hack.frob.com>
19354         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
19356         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
19357         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
19359 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
19361         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
19363 2014-05-27  Andreas Schwab  <schwab@suse.de>
19365         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
19366         TLS_INIT_TP macro.
19367         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
19368         * elf/rtld.c (init_tls, dl_main): Likewise.
19369         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
19370         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
19371         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
19372         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
19373         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
19374         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
19375         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
19376         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
19377         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
19378         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
19379         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
19380         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
19381         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
19382         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
19383         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
19384         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
19385         * sysdeps/generic/tls.h: Update description.
19387 2014-05-27  Will Newton  <will.newton@linaro.org>
19389         [BZ #16990]
19390         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
19391         and restore r2 rather than just restoring.
19393 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19395         [BZ #16724]
19396         * libio/tst-ftell-append.c: New test case.
19397         * libio/Makefile (tests): Add test case.
19398         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
19399         append mode.
19400         * libio/wfileops.c (do_ftell_wide): Likewise.
19402 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19406         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
19407         ...
19408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
19409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19410         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
19411         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
19412         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
19413         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
19414         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
19415         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
19416         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19417         Moved ...
19418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
19419         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19420         Moved ...
19421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
19422         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
19423         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
19424         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
19425         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
19426         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
19427         ...
19428         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
19429         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
19430         Moved ...
19431         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
19432         here.
19433         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
19434         ...
19435         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
19436         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
19437         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
19439         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
19440         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
19441         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
19442         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
19444         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
19445         merge into ...
19446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
19447         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
19448         ...
19449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
19450         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
19451         ...
19452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
19453         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19454         Moved ...
19455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
19456         here.
19457         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19458         Moved ...
19459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
19460         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19461         Moved ...
19462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
19464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
19465         conditional [RESET_PID].
19466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
19467         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
19468         removed.
19469         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
19470         removed.
19472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
19473         <tcb-offsets.h>.
19474         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19475         (__libc_vfork): New strong alias.
19476         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
19477         removed.
19478         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
19479         Removed.
19481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
19482         <tcb-offsets.h>.
19483         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
19484         (__libc_vfork): New strong alias.
19485         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
19486         removed.
19487         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
19488         removed.
19490 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
19492         * malloc/malloc.c (mi_arena): New function.
19493         (malloc_info): Remove nested function mi_arena. Call non-nosted
19494         function mi_arena.
19496 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19498         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
19499         by insrwi.
19500         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
19501         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
19502         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
19503         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
19504         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
19505         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
19506         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
19508 2014-05-26  Andreas Schwab  <schwab@suse.de>
19510         [BZ #16984]
19511         * locale/programs/repertoire.c (repertoire_read): Add slash
19512         between I18NPATH element and file name.
19513         * locale/programs/locfile.c (locfile_read): Likewise.
19515 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19517         * nptl/pthread_mutexattr_settype.c
19518         (__pthread_mutexattr_settype):
19519         Disable lock elision for PTHREAD_MUTEX_NORMAL.
19521 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19523         * nptl/tst-mutex5 (do_test):
19524         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
19526 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19528         * benchtests/README: Document 'init' directive.
19529         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
19530         BENCH_INIT.
19531         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
19532         (parse_file): Recognize 'init' directive.
19534 2014-05-26  Kyle McMartin  <kyle@redhat.com>
19536         [BZ #16796]
19537         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
19538         alignment of struct pthread.
19540 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19542         [BZ #16878]
19543         * nscd/netgroupcache.c (addgetnetgrentX): Look for
19544         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19545         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
19546         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19548 2014-05-25  Richard Henderson  <rth@twiddle.net>
19550         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19551         (SINGLE_THREAD_P_PIC): Remove.
19552         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
19553         (SINGLE_THREAD_P_PIC): Remove.
19555         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
19556         branch to syscall error ...
19557         (PSEUDO): ... here.
19558         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
19559         from __local_syscall_error to .Lsyscall_error.
19560         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
19561         (SYSCALL_ERROR): Update label name.
19563         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19564         Do not use DOARGS/UNDOARGS.
19565         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
19566         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
19567         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
19568         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
19569         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
19571         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
19572         block comment.
19574         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
19575         define if !NOT_IN_libc.
19576         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
19577         define with non-default symbol versions.
19579 2014-05-23  Richard Henderson  <rth@twiddle.net>
19581         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
19582         (vfork, __vfork): Define via compat_symbol.
19584         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
19585         [!HAVE_IFUNC] (vfork_compat): Remove.
19586         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19588 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19590         [BZ #16978]
19591         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
19592         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
19593         variable.
19595 2014-05-23  Richard Henderson  <rth@twiddle.net>
19597         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
19598         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
19599         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19600         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19602         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19603         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19604         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19605         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19606         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19607         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19608         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19609         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19610         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19611         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19612         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19613         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19614         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19615         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19616         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19617         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19618         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19619         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19620         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19621         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19622         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19623         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19624         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19625         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19626         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19627         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19628         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19629         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19630         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19631         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19632         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19633         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19634         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19635         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19636         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19637         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19638         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19639         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19640         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19641         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19642         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19643         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19644         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19645         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19646         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19647         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19648         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19649         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19650         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19651         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19652         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19653         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19654         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19655         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19656         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19657         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19659         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19660         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19661         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19662         before exiting on error.
19663         (__libc_vfork): New strong alias.
19664         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19665         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19667         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19668         that was previously under [RESET_PID].
19669         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19671         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19673 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19675         [BZ #16977]
19676         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19677         value when x - 1 is zero.
19678         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19679         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19680         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19681         0.0L for an argument of 1.0L.
19682         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19683         Likewise.
19684         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19685         value when x - 1 is zero.
19686         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19687         * sysdeps/i386/fpu/libm-test-ulps: Update.
19688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19690 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19692         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19693         alphasort and versionsort.
19695 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19697         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19698         macro.
19699         [copysignf]: Likewise.
19701 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19703         * crypt/md5-crypt.c: Fix formatting.
19705 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19707         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19708         (b64_from_24bit): New function.
19710 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19712         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19713         libc_hidden_builtin_def to ifunc.
19714         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19715         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19717 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19719         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19720         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19722 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19724         * nscd/Depend (linuxthreads): Remove.
19725         (nptl): Add.
19726         * resolv/Depend (linuxthreads): Remove.
19727         * rt/Depend (linuxthreads): Remove.
19729         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19730         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19731         $(common-objpfx)elf/.
19732         (link-libc-before-gnulib): Likewise.
19733         (elfobjdir): Remove variable.
19734         * Makefile (install): Use $(elf-objpfx) instead of
19735         $(common-objpfx)elf/.
19736         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19737         $(elfobjdir)/.
19738         (link-libc-deps): Likewise.
19739         ($(common-objpfx)libc.so): Likewise.
19740         ($(common-objpfx)linkobj/libc.so): Likewise.
19741         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19742         instead of $(common-objpfx)elf/.
19743         (symbolic-link-list): Likewise.
19744         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19745         [$(cross-compiling) = no]: Likewise.
19746         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19747         $(elfobjdir)/.
19748         (static-gnulib-arch): Likewise.
19749         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19750         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19751         $(common-objpfx)elf/.
19753 2014-05-21  Richard Henderson  <rth@redhat.com>
19755         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19756         (SINGLE_THREAD_P): Use the correct width load.  Fold
19757         into the ldr offset.
19759         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19760         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19762 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19764         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19765         (libgcc_s_resume): Use __attribute_used__.
19766         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19767         Likewise.
19769 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19771         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19772         optimization when used with float constants.
19774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19776 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19778         [BZ #16915]
19779         * locale/nl_langinfo_l.c: Make direct reference to every
19780         _nl_current_CATEGORY symbol.
19781         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19782         (tests-static): Add tst-langinfo-static.
19783         (tests-special): Add tst-langinfo-static.out.
19784         ($(objpfx)tst-langinfo.out): Redirect output.
19785         ($(objpfx)tst-langinfo-static.out): New.
19786         * localedata/tst-langinfo.sh: Send output to stdout.
19787         * localedata/tst-langinfo-static.c: New file.
19789         [BZ #16965]
19790         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19791         when the shift amount is modulo the limb size.
19793 2014-05-20  Richard Henderson  <rth@redhat.com>
19795         [BZ #16967]
19796         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19797         Change type of sa_flags from unsigned int to int.
19799         [BZ #16966]
19800         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19802         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19804 2014-05-20  Will Newton  <will.newton@linaro.org>
19806         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19807         Test the return value of the system call in the nocancel case.
19809 2014-05-20  Will Newton  <will.newton@linaro.org>
19810             Yvan Roux  <yvan.roux@linaro.org>
19812         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19813         #include of asm/ptrace.h.
19814         (PTRACE_GET_THREAD_AREA): Remove #undef.
19815         (PTRACE_GETHBPREGS): Likewise.
19816         (PTRACE_SETHBPREGS): Likewise.
19817         (struct user_regs_struct): New structure.
19818         (struct user_fpsimd_struct): New structure.
19819         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19820         #include of asm/ptrace.h and second #include of sys/user.h.
19821         (PTRACE_GET_THREAD_AREA): Remove #undef.
19822         (PTRACE_GETHBPREGS): Likewise.
19823         (PTRACE_SETHBPREGS): Likewise.
19824         (ELF_NGREG): Use new struct user_regs_struct.
19825         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19827 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19829         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19830         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19832 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19834         [BZ #16958]
19835         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19836         membar to avoid block loads/stores to overlap previous stores.
19838 2014-05-17  Richard Henderson  <rth@redhat.com>
19840         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19841         Create the __##syscall_name##_nocancel entry point.
19842         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19843         Remove; let the sysdep-cancel.h code create it.
19845 2014-05-17  David S. Miller  <davem@davemloft.net>
19847         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19848         Protect with __USE_GNU.
19849         (TIOCSET_TEMPT): Likewise.
19850         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19851         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19852         these are already provided in bits/ioctl-types.h
19854 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19856         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19857         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19859         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19860         Use wait4 regardless of [__NR_waitpid].
19862 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19864         PR libgcc/60166
19865         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19866         (_FP_NANSIGN_Q): Set the quiet bit.
19868 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19870         * benchtests/Makefile
19871         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19872         not $(common-objpfx)math/libm.so.
19873         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19874         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19875         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19876         $(common-objpfx)dlfcn/libdl.so.
19877         ($(objpfx)tst-audit8): Depend on $(libm), not
19878         $(common-objpfx)math/libm.so.
19879         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19880         not $(common-objpfx)dlfcn/libdl.so.
19881         * math/Makefile
19882         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19883         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19884         [$(build-shared) = yes].
19885         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19886         $(common-objpfx)nptl/libpthread.so.
19887         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19888         $(common-objpfx)math/libm.so$(libm.so-version) or
19889         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19890         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19891         $(common-objpfx)dlfcn/libdl.so.
19892         * setjmp/Makefile (link-libm): Remove variable.
19893         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19894         * stdio-common/Makefile (link-libm): Remove variable.
19895         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19896         * stdlib/Makefile (link-libm): Remove variable.
19897         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19898         ($(objpfx)tst-strtod-round): Likewise.
19899         ($(objpfx)tst-tininess): Likewise.
19900         ($(objpfx)tst-strtod-underflow): Likewise.
19901         ($(objpfx)tst-strtod6): Likewise.
19902         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19903         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19904         $(common-objpfx)dlfcn/libdl.so.
19906 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19908         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19909         BSD terminal modes definitions.
19911 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19913         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19914         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19916         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19917         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19918         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19919         Don't do #include_next.
19920         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19921         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19922         Don't do #include_next.
19923         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19924         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19925         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19926         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19928 2014-05-16  Allan McRae  <allan@archlinux.org>
19930         * po/sv.po: Update Swedish translation from translation project.
19932         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19933         in sed expression.
19935 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
19937         [BZ #16917]
19938         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19939         errno if the TIOCGPTN ioctl fails with an error different than
19940         EINVAL.
19941         * login/tst-ptsname.c: New file.
19942         * login/Makefile (tests): Add tst-ptsname.
19944         [BZ #16943]
19945         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19946         and prlimit64.
19948 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19950         [BZ #16849]
19951         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19952         herrno to return EAI_AGAIN.
19954 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19956         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19957         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19958         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19959         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19960         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19961         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19962         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19963         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19964         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19965         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19966         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19967         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19968         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19969         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19970         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19971         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19972         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19973         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19974         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19975         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19976         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19977         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19978         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19979         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19980         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19981         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19982         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19983         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19984         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19985         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19987         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19988         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19989         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19991         Moved ...
19992         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19993         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19994         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19996         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19997         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19998         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19999         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
20000         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
20001         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
20002         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
20003         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
20004         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
20005         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
20006         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
20007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
20008         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
20009         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
20010         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
20011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
20012         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
20013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
20014         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
20015         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
20016         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
20017         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
20018         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
20019         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20020         Moved ...
20021         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
20022         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
20023         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
20024         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
20025         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
20026         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
20027         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
20028         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
20029         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
20030         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
20031         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
20032         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
20033         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
20034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
20035         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
20036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
20037         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
20038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
20039         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
20040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20041         Moved ...
20042         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
20043         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
20044         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
20046         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
20047         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
20048         (libpthread-sysdep_routines): Add elision-related stuff here instead.
20049         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
20050         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
20051         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
20052         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
20053         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
20054         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
20055         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
20056         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
20057         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
20058         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
20059         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
20060         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
20061         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
20062         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
20063         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
20064         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
20065         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
20066         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
20067         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
20068         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
20069         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
20070         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
20071         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
20072         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
20073         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
20074         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
20075         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
20076         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
20078         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
20079         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
20081         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
20082         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
20083         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
20084         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
20085         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
20086         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
20087         Moved ...
20088         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
20089         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20090         Moved ...
20091         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
20092         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20093         Moved ...
20094         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
20095         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
20096         Moved ...
20097         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
20098         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
20099         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
20100         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20101         Moved ...
20102         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
20103         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
20104         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
20105         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
20106         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
20107         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
20108         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
20109         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20110         Moved ...
20111         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
20112         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20113         Moved ...
20114         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20115         ... here.
20116         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
20117         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
20118         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
20119         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
20120         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20121         Moved ...
20122         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20123         ... here.
20124         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
20125         Moved ...
20126         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
20127         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
20128         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
20129         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
20130         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
20131         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
20132         Moved ...
20133         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
20134         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20135         Moved ...
20136         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
20137         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20138         Moved ...
20139         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
20140         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
20141         Moved ...
20142         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
20143         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
20144         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
20145         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
20146         Moved ...
20147         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
20148         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
20149         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
20150         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
20151         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
20152         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
20153         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
20154         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
20155         Moved ...
20156         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
20157         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20158         Moved ...
20159         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20160         ... here.
20161         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
20162         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
20163         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
20164         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
20165         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20166         Moved ...
20167         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20168         ... here.
20169         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
20170         Moved ...
20171         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
20172         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
20173         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
20174         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
20175         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
20176         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
20177         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
20178         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
20179         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
20180         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
20181         Moved ...
20182         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
20183         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
20184         Moved ...
20185         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
20186         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
20187         Moved ...
20188         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
20189         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
20190         Moved ...
20191         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
20192         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
20193         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
20194         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
20195         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
20196         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
20197         Moved ...
20198         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
20199         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
20200         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
20201         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
20202         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
20203         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
20204         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
20205         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
20206         Moved ...
20207         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
20208         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20209         Moved ...
20210         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20211         ... here.
20212         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
20213         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
20214         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
20215         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
20216         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20217         Moved ...
20218         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20219         ... here.
20220         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
20221         Moved ...
20222         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
20223         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
20224         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
20225         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
20226         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
20227         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
20228         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
20229         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
20230         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
20231         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
20232         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
20234         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
20235         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
20237         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
20238         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
20240         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
20241         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
20242         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
20243         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
20244         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
20245         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
20246         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
20247         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
20248         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
20249         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
20250         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
20251         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
20252         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
20253         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
20254         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
20255         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
20256         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
20257         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
20258         Moved ...
20259         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
20260         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
20261         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
20262         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
20263         Moved ...
20264         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
20265         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
20266         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
20267         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
20268         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
20269         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
20270         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
20271         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
20272         Moved ...
20273         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
20274         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
20275         Moved ...
20276         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
20277         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
20278         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
20279         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
20280         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
20281         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
20282         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
20283         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
20284         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
20285         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
20286         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
20287         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
20288         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
20289         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
20290         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
20291         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
20292         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
20294         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
20295         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
20296         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
20297         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
20298         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
20300         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
20301         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
20302         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
20303         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
20304         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
20305         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
20306         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
20307         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
20308         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
20309         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
20311         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
20312         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
20314         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
20315         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
20316         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
20317         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
20318         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
20319         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
20320         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
20321         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
20322         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
20323         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
20324         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
20325         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
20326         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
20327         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
20328         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
20329         Update #include.
20330         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
20331         Likewise.
20332         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20333         Likewise.
20334         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20335         Likewise.
20336         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20337         Likewise.
20338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
20339         Likewise.
20340         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
20341         Likewise.
20342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
20343         Likewise.
20344         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
20345         Likewise.
20346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
20347         Likewise.
20348         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
20349         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
20350         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
20351         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
20352         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
20353         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
20354         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
20355         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
20356         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
20357         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
20358         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
20359         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
20360         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
20361         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
20362         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
20364         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
20365         that was previously under [RESET_PID].
20366         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20367         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
20368         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
20370         * sysdeps/i386/nptl/Implies: New file.
20371         * sysdeps/x86_64/nptl/Implies: New file.
20372         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
20373         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
20374         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
20375         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
20377         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
20378         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20379         (__libc_vfork): New strong alias.
20380         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
20381         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
20383         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
20384         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20385         (__libc_vfork): New strong alias.
20386         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
20387         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
20389         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
20390         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20391         (__libc_vfork): New strong alias.
20392         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
20393         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
20394         * nptl/pt-vfork.c: New file.
20395         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
20396         (libpthread: GLIBC_2.20): New version set (empty).
20398 2014-05-14  Will Newton  <will.newton@linaro.org>
20400         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
20401         rather than #if.
20403 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20405         [BZ #16564]
20406         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
20407         arguments with exponent 65 or above.
20408         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
20409         arguments 0x1p113L or above.
20410         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
20411         to arguments 0x1p107L or above.
20412         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
20413         positive arguments with exponent 65 or above.
20414         * math/auto-libm-test-in: Add more tests of log1p.
20415         * math/auto-libm-test-out: Regenerated.
20417         [BZ #16928]
20418         * math/s_cacos.c (__cacos): Ensure zero real part of result from
20419         non-finite arguments is +0.
20420         * math/s_cacosf.c (__cacosf): Likewise.
20421         * math/s_cacosl.c (__cacosl): Likewise.
20422         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
20423         * sysdeps/i386/fpu/libm-test-ulps: Update.
20424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20426         [BZ #16927]
20427         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
20428         value.
20429         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
20430         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
20431         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
20432         for explicit high bit of mantissa when testing for argument equal
20433         to 1.
20434         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
20435         * sysdeps/i386/fpu/libm-test-ulps: Update.
20436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20438         [BZ #16516]
20439         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
20440         (__erf): Scale by 16 instead of 8 in potentially underflowing
20441         case.  Ensure exception if result actually underflows.
20442         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
20443         (__erff): Scale by 16 instead of 8 in potentially underflowing
20444         case.  Ensure exception if result actually underflows.
20445         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
20446         (efx8): Remove variable.
20447         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20448         case.  Ensure exception if result actually underflows.
20449         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
20450         (efx8): Remove variable.
20451         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20452         case.  Ensure exception if result actually underflows.
20453         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
20454         (efx8): Remove variable.
20455         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20456         case.  Ensure exception if result actually underflows.
20457         * math/auto-libm-test-in: Add more tests of erf.
20458         * math/auto-libm-test-out: Regenerated.
20460 2014-05-14  Andreas Schwab  <schwab@suse.de>
20462         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
20463         Remove code conditionalized on USE___THREAD.
20465         * config.h.in (HAVE_PT_CHOWN): Define as 0.
20466         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
20467         not definedness.
20469 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20471         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
20472         Define unconditionally.
20473         (__ASSUME_O_CLOEXEC): Likewise.
20474         (__ASSUME_SOCK_CLOEXEC): Likewise.
20475         (__ASSUME_IN_NONBLOCK): Likewise.
20476         (__ASSUME_PIPE2): Likewise.
20477         (__ASSUME_EVENTFD2): Likewise.
20478         (__ASSUME_SIGNALFD4): Likewise.
20479         (__ASSUME_DUP3): Likewise.
20480         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20481         (__ASSUME_DUP3): Do not define.
20482         (__ASSUME_EVENTFD2): Likewise.
20483         (__ASSUME_IN_NONBLOCK): Likewise.
20484         (__ASSUME_O_CLOEXEC): Likewise.
20485         (__ASSUME_PIPE2): Likewise.
20486         (__ASSUME_SIGNALFD4): Likewise.
20487         (__ASSUME_SOCK_CLOEXEC): Likewise.
20488         (__ASSUME_UTIMES): Undefine.
20489         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20490         (__ASSUME_UTIMES): Do not define.
20491         (__ASSUME_O_CLOEXEC): Likewise.
20492         (__ASSUME_SOCK_CLOEXEC): Likewise.
20493         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
20494         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
20495         0x020621].
20496         (__ASSUME_PIPE2): Likewise.
20497         (__ASSUME_EVENTFD2): Likewise.
20498         (__ASSUME_SIGNALFD4): Likewise.
20499         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
20500         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
20501         Do not define.
20502         (__ASSUME_EVENTFD2): Likewise.
20503         (__ASSUME_SIGNALFD4): Likewise.
20504         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20505         (__ASSUME_32BITUIDS): Likewise.
20506         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20507         (__ASSUME_IPC64): Likewise.
20508         (__ASSUME_ST_INO_64_BIT): Likewise.
20509         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
20510         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
20511         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20512         (__ASSUME_UTIMES): Do not define.
20513         (__ASSUME_PSELECT): Likewise.
20514         (__ASSUME_PPOLL): Likewise.
20515         (__ASSUME_O_CLOEXEC): Likewise.
20516         (__ASSUME_SOCK_CLOEXEC): Likewise.
20517         (__ASSUME_IN_NONBLOCK): Likewise.
20518         (__ASSUME_PIPE2): Likewise.
20519         (__ASSUME_EVENTFD2): Likewise.
20520         (__ASSUME_SIGNALFD4): Likewise.
20521         (__ASSUME_DUP3): Likewise.
20522         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20523         (__ASSUME_UTIMES): Likewise.
20524         (__ASSUME_O_CLOEXEC): Likewise.
20525         (__ASSUME_SOCK_CLOEXEC): Likewise.
20526         (__ASSUME_IN_NONBLOCK): Likewise.
20527         (__ASSUME_PIPE2): Likewise.
20528         (__ASSUME_EVENTFD2): Likewise.
20529         (__ASSUME_SIGNALFD4): Likewise.
20530         (__ASSUME_DUP3): Likewise.
20531         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20532         (__ASSUME_UTIMES): Likewise.
20533         (__ASSUME_O_CLOEXEC): Likewise.
20534         (__ASSUME_SOCK_CLOEXEC): Likewise.
20535         (__ASSUME_IN_NONBLOCK): Likewise.
20536         (__ASSUME_PIPE2): Likewise.
20537         (__ASSUME_EVENTFD2): Likewise.
20538         (__ASSUME_SIGNALFD4): Likewise.
20539         (__ASSUME_DUP3): Likewise.
20540         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
20541         Likewise.
20542         (__ASSUME_UTIMES): Likewise.
20543         (__ASSUME_EVENTFD2): Likewise.
20544         (__ASSUME_SIGNALFD4): Likewise.
20545         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20546         (__ASSUME_O_CLOEXEC): Likewise.
20547         (__ASSUME_SOCK_CLOEXEC): Likewise.
20548         (__ASSUME_IN_NONBLOCK): Likewise.
20549         (__ASSUME_PIPE2): Likewise.
20550         (__ASSUME_EVENTFD2): Likewise.
20551         (__ASSUME_SIGNALFD4): Likewise.
20552         (__ASSUME_DUP3): Likewise.
20553         (__ASSUME_UTIMES): Undefine.
20555         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
20556         feclearexcept.  Remove symbol versioning code.
20557         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
20558         symbol versioning code.
20559         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
20560         symbol versioning code.
20561         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
20562         feupdateenv.  Remove symbol versioning code.
20563         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
20564         fegetexceptflag.  Remove symbol versioning code.
20565         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
20566         fesetexceptflag.  Remove symbol versioning code.
20567         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
20568         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
20569         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
20570         (__posix_fadvise64_l32): Remove prototype.
20571         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
20572         code.
20574 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20576         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
20577         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
20578         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
20579         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
20581 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
20583         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
20584         current working directory
20586 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20588         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
20589         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
20590         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
20591         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
20592         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20593         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
20594         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
20595         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
20596         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
20597         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
20598         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
20599         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
20600         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20601         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20602         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20603         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20604         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20605         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20606         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20607         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20608         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20609         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20610         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20611         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20612         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20613         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20614         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20615         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20616         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20617         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20618         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20619         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20620         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20621         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20622         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20623         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20624         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20625         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20626         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20627         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20628         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20629         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20631         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20632         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20634         * sysdeps/unix/sysv/linux/arm/Makefile
20635         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20636         Add rt-aeabi_unwind_cpp_pr1.
20637         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20638         Add nptl-aeabi_unwind_cpp_pr1.
20639         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20640         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20641         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20642         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20643         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20644         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20646         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20647         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20648         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20649         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20651         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20652         Deconditionalize the code that was previously under [RESET_PID].
20653         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20655         * sysdeps/generic/exit-thread.h: New file.
20656         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20657         * include/unistd.h (__exit_thread): Remove declaration.
20658         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20659         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20660         * csu/libc-start.c: Include <exit-thread.h>.
20661         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20662         * nptl/pthread_create.c: Include <exit-thread.h>.
20663         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20664         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20665         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20666         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20667         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20668         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20669         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20670         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20671         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20672         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20673         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20674         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20675         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20676         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20677         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20678         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20679         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20681 2014-05-13  Andreas Schwab  <schwab@suse.de>
20683         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20685 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20687         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20688         (__ASSUME_UTIMES): Do not condition on kernel version.
20689         (__ASSUME_PSELECT): Define unconditionally.
20690         (__ASSUME_PPOLL): Likewise.
20691         (__ASSUME_ATFCTS): Likewise.
20692         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20693         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20694         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20695         (__ASSUME_UTIMENSAT): Define unconditionally.
20696         (__ASSUME_PRIVATE_FUTEX): Likewise.
20697         (__ASSUME_FALLOCATE): Likewise.
20698         (__ASSUME_O_CLOEXEC): Likewise.
20699         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20700         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20701         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20702         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20703         (__ASSUME_IN_NONBLOCK): Likewise.
20704         (__ASSUME_PIPE2): Likewise.
20705         (__ASSUME_EVENTFD2): Likewise.
20706         (__ASSUME_SIGNALFD4): Likewise.
20707         (__ASSUME_DUP3): Likewise.
20708         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20709         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20710         (__ASSUME_AT_RANDOM): Likewise.
20711         (__ASSUME_PREADV): Likewise.
20712         (__ASSUME_PWRITEV): Likewise.
20713         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20714         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20715         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20716         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20717         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20718         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20719         (__ASSUME_O_CLOEXEC): Define unconditionally.
20720         (__ASSUME_PSELECT): Do not undefine conditionally.
20721         (__ASSUME_PPOLL): Likewise.
20722         (__ASSUME_ATFCTS): Likewise.
20723         (__ASSUME_SET_ROBUST_LIST): Likewise.
20724         (__ASSUME_UTIMENSAT): Likewise.
20725         (__ASSUME_FDATASYNC): Define unconditionally.
20726         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20727         (__ASSUME_SIGFRAME_V2): Likewise.
20728         )__ASSUME_EVENTFD2): Likewise.
20729         (__ASSUME_SIGNALFD4): Likewise.
20730         (__ASSUME_PSELECT): Do not undefine conditionally.
20731         (__ASSUME_PPOLL): Likewise.
20732         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20733         (__ASSUME_PSELECT): Define unconditionally.
20734         (__ASSUME_PPOLL): Likewise.
20735         (__ASSUME_O_CLOEXEC): Likewise.
20736         (__ASSUME_SOCK_CLOEXEC): Likewise.
20737         (__ASSUME_IN_NONBLOCK): Likewise.
20738         (__ASSUME_PIPE2): Likewise.
20739         (__ASSUME_EVENTFD2): Likewise.
20740         (__ASSUME_SIGNALFD4): Likewise.
20741         (__ASSUME_DUP3): Likewise.
20742         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20743         (__ASSUME_O_CLOEXEC): Likewise.
20744         (__ASSUME_SOCK_CLOEXEC): Likewise.
20745         (__ASSUME_IN_NONBLOCK): Likewise.
20746         (__ASSUME_PIPE2): Likewise.
20747         (__ASSUME_EVENTFD2): Likewise.
20748         (__ASSUME_SIGNALFD4): Likewise.
20749         (__ASSUME_DUP3): Likewise.
20750         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20751         (__ASSUME_EVENTFD2): Likewise.
20752         (__ASSUME_SIGNALFD4): Likewise.
20753         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20755 2014-05-12  Andreas Schwab  <schwab@suse.de>
20757         [BZ #16932]
20758         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20759         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20760         than maximum RPC packet size.
20761         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20762         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20763         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20764         (_nss_nis_getservbyport_r): Likewise.
20766 2014-05-12  Will Newton  <will.newton@linaro.org>
20768         * malloc/Makefile (tests): Add tst-mallopt.
20769         * malloc/tst-mallopt.c: New file.
20771 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20773         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20774         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20776 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20778         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20779         (tst-tlsmod6.so): Likewise.
20781 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20783         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20785 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20787         [BZ #16064]
20788         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20789         and <dl-procinfo.h>.
20790         (__fegetenv): Save SSE state in envp->__eip if supported.
20791         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20792         envp->__eip if supported.
20793         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20794         and <dl-procinfo.h>.
20795         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20796         __data_offset and __data_selector in environment to 0.  Set SSE
20797         state if supported.
20798         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20799         test-fenv-sse.
20800         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20801         -mfpmath=sse.
20802         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20804 2014-05-09  Will Newton  <will.newton@linaro.org>
20806         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20807         and libc_relro_required for ARM.
20808         * sysdeps/arm/preconfigure: Regenerate.
20810 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20811             Stefan Liebler  <stli@linux.vnet.ibm.com>
20813         * config.make.in (enable-lock-elision): New Makefile variable.
20814         * configure.ac: Likewise.
20815         * configure: Regenerate.
20816         * sysdeps/s390/configure.ac:
20817         Add check for gcc transactions support.
20818         * sysdeps/s390/configure: Regenerate.
20819         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20820         Build elision files if enabled.
20821         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20822         Add lock elision support for s390.
20823         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20824         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20825         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20826         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20827         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20828         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20829         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20830         Likewise.
20831         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20832         Likewise.
20833         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20834         Likewise.
20835         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20836         Likewise.
20837         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20838         (__lll_timedlock_elision, __lll_lock_elision)
20839         (__lll_unlock_elision, __lll_trylock_elision)
20840         (lll_timedlock_elision, lll_lock_elision)
20841         (lll_unlock_elision, lll_trylock_elision): Add.
20842         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20843         (pthread_mutex_t): Add lock elision support for s390.
20845 2014-05-14  Wilco  <wdijkstr@arm.com>
20847         * sysdeps/arm/fclrexcpt.c: Cleanup.
20848         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20849         * sysdeps/arm/feenablxcpt.c: Cleanup.
20850         * sysdeps/arm/fegetenv.c: Cleanup.
20851         * sysdeps/arm/fegetexcept.c: Cleanup.
20852         * sysdeps/arm/fegetround.c: Cleanup.
20853         * sysdeps/arm/feholdexcpt.c: Cleanup.
20854         * sysdeps/arm/fesetenv.c: Cleanup.
20855         * sysdeps/arm/fesetround.c: Cleanup.
20856         * sysdeps/arm/feupdateenv.c: Cleanup.
20857         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20858         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20859         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20860         * sysdeps/arm/ftestexcept.c: Cleanup.
20861         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20862         * sysdeps/arm/setfpucw.c: Cleanup.
20864 2014-05-09  Will Newton  <will.newton@linaro.org>
20866         * sysdeps/arm/armv7/strcmp.S: New file.
20867         * NEWS: Mention addition of ARMv7 optimized strcmp.
20869 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20871         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20872         look for %.ac rather than %.in.
20874         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20875         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20876         * sysdeps/mach/hurd/configure: Regenerated.
20877         * sysdeps/unix/sysv/linux/configure: Regenerated.
20879         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20881 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20883         [BZ# 16922]
20884         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20885         (LONG_SUB): Ditto.
20886         (PTR_SUB): Ditto.
20888 2014-05-07  Andreas Schwab  <schwab@suse.de>
20890         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20891         when skipping over non-matching result from nscd.
20893 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20895         [BZ #16876]
20896         * nptl/sockperf.c (client): Check socket return value.
20898         [BZ #16877]
20899         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20900         nscd security class.
20902 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20904         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20905         * sysdeps/arm/unwind.h: ... here.
20907 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20909         [BZ# 16916]
20910         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20911         Define.
20913 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20915         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20916         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20917         multiarch strncpy for PPC64.
20918         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20919         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20920         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20921         multiarch optimizations.
20922         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20923         (__libc_ifunc_impl_list): Likewise.
20924         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20925         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20926         multiarch stpncpy for PPC64.
20927         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20928         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20930 2014-05-06  Andreas Schwab  <schwab@suse.de>
20932         [BZ #16912]
20933         * gmon/mcount.c (_MCOUNT_DECL): Use
20934         atomic_compare_and_exchange_bool_acq instead of
20935         catomic_compare_and_exchange_bool_acq.
20937 2014-05-05  Roland McGrath  <roland@hack.frob.com>
20939         * elf/Makefile (others, install-bin): Remove pldd.
20940         (pldd-modules): Variable removed.
20941         ($(objpfx)pldd): Target removed.
20942         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20943         (others, install-bin): Append pldd here.
20944         ($(objpfx)pldd): New target.
20946         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20947         to 0, so the first #if test emitted later doesn't see it undefined.
20948         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20949         * sysdeps/gnu/errlist.c: Regenerated.
20951 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20953         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20954         [libc_hidden_builtin_def]: Define to empty value.
20955         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20956         [libc_hidden_builtin_def]: Likewise.
20957         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20958         [libc_hidden_builtin_def]: Likewise.
20959         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20960         [libc_hidden_builtin_def]: Likewise.
20961         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20962         __redirect_memcpy and define ifunc as default hidden symbol.
20963         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20964         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20966 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20968         * locale/iso-4217.def: Reintroduce XDR currency.
20970 2014-05-04  Allan McRae  <allan@archlinux.org>
20972         * po/eo.po: Update Esperanto translation from translation project.
20974 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20976         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20977         and FEATURE_INDEX_MAX to 1.
20978         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20980 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20982         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20983         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20984         * iconvdata/big5.c (ONE_DIRECTION): Define.
20985         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20986         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20987         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20988         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20989         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20990         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20991         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20992         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20993         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20994         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20995         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20996         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20997         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20998         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20999         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
21000         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
21001         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
21002         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
21003         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
21004         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
21005         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
21006         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
21007         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
21008         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
21009         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
21010         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
21011         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
21012         * iconvdata/iso646.c (ONE_DIRECTION): Define.
21013         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
21014         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
21015         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
21016         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
21017         * iconvdata/johab.c (ONE_DIRECTION): Define.
21018         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
21019         * iconvdata/sjis.c (ONE_DIRECTION): Define.
21020         * iconvdata/t.61.c (ONE_DIRECTION): Define.
21021         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
21022         * iconvdata/tscii.c (ONE_DIRECTION): Define.
21023         * iconvdata/uhc.c (ONE_DIRECTION): Define.
21024         * iconvdata/unicode.c (ONE_DIRECTION): Define.
21025         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
21026         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
21027         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
21029 2014-05-01  Roland McGrath  <roland@hack.frob.com>
21031         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
21032         (_IO_JUMPS_OFFSET): Define to 0.
21034         * nptl/sysdeps/pthread/bits/libc-lock.h
21035         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21036         (__libc_lock_define_initialized_recursive): Always define using
21037         initializer.  Modern compilers treat uninitialized (implicit zero) and
21038         explicit zero initializers the same (i.e. put the datum in bss).
21040 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21042         * nscd/nscd-client.h: Include <string.h>.
21044 2014-05-01  David S. Miller  <davem@davemloft.net>
21046         [BZ #16885]
21047         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
21048         multiple zero bytes exist at the end of a string.
21049         Reported by Aurelien Jarno <aurelien@aurel32.net>
21051         * string/test-strcmp.c (check): Add explicit test for situations where
21052         there are multiple zero bytes after the first.
21054 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21056         [BZ #16890]
21057         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
21058         when compiling wprintf.
21059         * stdio-common/tstdiomisc.c (t3): New function.
21060         (main): Call it.
21062 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21064         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
21065         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
21066         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
21067         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
21069 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21071         * stdlib/longlong.h: Updated from GCC.
21073 2014-05-01  Will Newton  <will.newton@linaro.org>
21074             Bernard Ogden  <bernie.ogden@linaro.org>
21076         * NEWS: Update fixed bug list.
21078         [BZ #15119]
21079         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
21081 2014-04-30  David S. Miller  <davem@davemloft.net>
21083         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
21084         (libc_feholdexcept_setround_sparc_ctx): New function.
21085         (libc_fesetenv_sparc_ctx): Likewise.
21086         (libc_feupdateenv_sparc_ctx): Likewise.
21087         (libc_feholdsetround_sparc_ctx): Likewise.
21088         (libc_feholdexcept_setround_ctx): Define.
21089         (libc_feholdexcept_setroundf_ctx): Likewise.
21090         (libc_feholdexcept_setroundl_ctx): Likewise.
21091         (libc_fesetenv_ctx): Likewise.
21092         (libc_fesetenvf_ctx): Likewise.
21093         (libc_fesetenvl_ctx): Likewise.
21094         (libc_feupdateenv_ctx): Likewise.
21095         (libc_feupdateenvf_ctx): Likewise.
21096         (libc_feupdateenvl_ctx): Likewise.
21097         (libc_feresetround_ctx): Likewise.
21098         (libc_feresetroundf_ctx): Likewise.
21099         (libc_feresetroundl_ctx): Likewise.
21100         (libc_feholdsetround_ctx): Likewise.
21101         (libc_feholdsetroundf_ctx): Likewise.
21102         (libc_feholdsetroundl_ctx): Likewise.
21104         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21105         with __USE_GNU instead of XOPEN cpp guards.
21107         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
21108         0.
21110         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21111         with XOPEN cpp guards.
21113 2014-04-30  Julian Brown  <julian@codesourcery.com>
21115         [BZ #16888]
21116         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
21117         handling.
21119 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
21121         [BZ #9894]
21122         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21123         Change to 2.6.32.
21124         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
21125         * sysdeps/unix/sysv/linux/configure: Regenerated.
21126         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
21127         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
21128         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
21129         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
21130         * README: Update reference to required Linux kernel version.
21131         * manual/install.texi (Linux): Update reference to required Linux
21132         kernel headers version.
21133         * INSTALL: Regenerated.
21135         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
21136         header inclusion.
21137         [POSIX] (limits.h): Likewise.
21138         [POSIX] (math.h): Likewise.
21139         [POSIX] (sys/wait.h): Likewise.
21140         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
21141         function.
21142         [POSIX] (stddef.h): Do not allow header inclusion.
21144 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21146         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
21148 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
21150         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21151         Return immediately after lll_futex_wake.
21153 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21155         [BZ #16791]
21156         * nscd/nscd-client.h (datahead_init_common): Initialize entire
21157         structure.
21158         (datahead_init_pos): Call datahead_init_common early.
21159         (datahead_init_neg): Likewise.
21161         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
21162         datahead_init_neg): New functions.
21163         * nscd/aicache.c (addhstaiX): Use them.
21164         * nscd/grpcache.c (cache_addgr): Likewise.
21165         * nscd/hstcache.c (cache_addhst): Likewise.
21166         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21167         * nscd/netgroupcache.c (do_notfound): Likewise.
21168         (addgetnetgrentX): Likewise.
21169         (addinnetgrX): Likewise.
21170         * nscd/pwdcache.c (cache_addpw): Likewise.
21171         * nscd/servicescache.c (cache_addserv): Likewise.
21173 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21174             Atsushi Onoe  <atsushi@onoe.org>
21176         [BZ #14308]
21177         [BZ #12994]
21178         [BZ #13651]
21179         * resolv/res_query.c (__libc_res_nsearch): Return if at least
21180         one response is valid.
21181         * resolv/res_send.c (send_dg): Check for validity of other
21182         response if the current response is a referral.
21184 2014-04-29  Steve Ellcey  <sellcey@mips.com>
21186         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
21188 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
21190         [BZ #16823]
21191         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
21192         Always divide by positive zero when computing -Inf result.
21193         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21194         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21196 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21198         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
21199         FPSCR if value do not change.
21200         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21201         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
21202         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21203         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21204         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
21205         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
21206         function.
21208 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
21210         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
21211         * sysdeps/unix/sysv/linux/hppa: Move directory from
21212         ports/systeps/unix/sysv/linux/hppa.
21213         * README: Update listing for hppa-*-linux-gnu.
21215 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
21217         [BZ #16754]
21218         * manual/stdio.texi (Hook functions): Fix types of stream hook
21219         functions.
21220         [BZ #16854]
21221         * socket/sys/socket.h: Fix typo in comment.
21223 2014-04-28  Wilco  <wdijkstr@arm.com>
21225         * sysdeps/arm/fenv_private.h: New file.
21226         * sysdeps/arm/math_private.h: New file.
21227         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
21229 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
21231         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
21232         with __int128_t.
21233         (La_x86_64_retval): Likewise.
21235 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
21237         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
21238         fpsr if value didn't change.
21239         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
21240         to fpcr if value didn't change.
21241         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
21242         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
21243         fpsr or fpcr if value didn't change.
21244         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21245         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
21246         fpcr if value didn't change.
21247         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
21248         to fpsr if value didn't change.
21250 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21252         * nptl/tst-sem3.c: Use test-skeleton.c
21253         (main): Rename to do_test.  Use return instead of
21254         exit.
21255         * nptl/tst-sem4.c: Use test-skeleton.c
21256         (main): Rename to do_test.
21258 2014-04-22  David S. Miller  <davem@davemloft.net>
21260         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
21261         (struct sigaction): New struct member __glibc_reserved0, change
21262         type of sa_flags to int.
21264 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
21266         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
21267         (COUNT_LEADING_ZEROS_0): Define for AArch64.
21269 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21271         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
21272         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
21274 2014-04-22  Will Newton  <will.newton@linaro.org>
21275             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
21277         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
21278         (__longjmp): Add longjmp and longjmp_target SystemTap
21279         probes.
21280         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
21281         (__sigsetjmp): Add setjmp SystemTap probe.
21283 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
21285         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
21286         match manual order.
21288 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21290         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
21292         * sysdeps/powerpc/fpu/fenv_private.h
21293         (libc_feholdexcept_setroundl_ctx): Define to
21294         libc_feholdexcept_setround_ppc_ctx.
21295         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
21296         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
21297         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
21298         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
21300 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21302         * sysdeps/aarch64/math-tests.h: New file.
21304 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
21306         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
21307         New.
21308         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21309         Check and set bit_AVX2_Usable.
21310         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
21311         macro.
21312         (bit_AVX2): Likewise.
21313         (index_AVX2_Usable): Likewise.
21314         (CPUID_AVX2): Likewise.
21315         (HAS_AVX2): Likewise.
21317 2014-04-17  Will Newton  <will.newton@linaro.org>
21319         * manual/setjmp.texi (System V contexts): Add note that
21320         calling setcontext on a context created by a call to a
21321         signal handler is undefined.  Update text to note that
21322         setcontext from a signal handler is possible but not
21323         recommended.
21325         [BZ #16629]
21326         * stdlib/tst-setcontext.c: Include signal.h.
21327         (main): Check that the signal stack before and
21328         after swapcontext is the same.
21330         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
21331         Re-implement to restore registers in user code and avoid
21332         rt_sigreturn system call.
21334 2014-04-17  Wilco  <wdijkstr@arm.com>
21336         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
21337         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
21338         * math/test-fenv.c: Skip exception trap tests on targets which only
21339         support non-stop mode.
21341 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21342             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21344         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
21345         (libc_feholdsetround_aarch64_ctx)
21346         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
21347         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
21348         (libc_feresetround_ctx, libc_feresetroundf_ctx)
21349         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
21350         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
21351         (libc_feresetround_noexl_ctx): Define.
21353 2014-04-16  Richard Henderson  <rth@redhat.com>
21355         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
21357         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
21358         unwind tables.
21360         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
21361         const from the non-libc, non-ldso copy.
21363         * sysdeps/alpha/libm-test-ulps: Regenerate.
21365 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
21366             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21368         * sysdeps/aarch64/fpu/math_private.h: New file.
21370 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21372         * sysdeps/aarch64/libm-test-ulps: Regenerate.
21374 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
21376         [BZ #16275]
21377         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
21378         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
21379         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
21380         Intel MPX bound registers before _dl_profile_fixup.
21381         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
21382         registers after _dl_profile_fixup.  Save and restore bound
21383         registers bnd0/bnd1 when calling _dl_call_pltexit.
21384         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
21385         (LR_BND_OFFSET): Likewise.
21386         (LRV_BND0_OFFSET): Likewise.
21387         (LRV_BND1_OFFSET): Likewise.
21389 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21391         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
21392         to...
21393         * sysdeps/mach/hurd/i386/tls.h: ... here.
21394         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
21395         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
21396         fields.
21398 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21400         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
21402 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21404         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21406 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21408         [BZ #14770]
21409         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
21410         * sysdeps/s390/configure: Regenerate.
21412         [BZ #16824]
21413         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
21414         Set round-to-nearest internally to reduce error accumulation.
21416 2014-04-16  Alan Modra  <amodra@gmail.com>
21418         [BZ #16740]
21419         [BZ #16619]
21420         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
21421         * math/libm-test.inc (frexp_test_data): Add tests.
21422         * NEWS: Update fixed bug list.
21424 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21426         * benchtests/Makefile: Depend on libraries in build directory.
21427         (bench-math): Separate out math tests.
21428         (bench-pthread): Separate out pthread tests.
21429         (bench): Include math and pthread tests.
21431 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
21433         [BZ #16831]
21434         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
21435         _dl_debug_initialize.
21437         * configure.ac: Remove SELinux header check.
21438         * configure: Regenerate.
21439         * nscd/selinux.c (perms): Array of const char* to permission names.
21440         (nscd_request_avc_has_perm): Call security_deny_unknown to find
21441         default policy. Call string_to_security_class and string_to_av_perm to
21442         translate strings. Enforce default policy and call avs_has_perm with
21443         results of translated strings.
21445 2014-04-13  David S. Miller  <davem@davemloft.net>
21447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21449 2014-04-12  Allan McRae  <allan@archlinux.org>
21451         [BZ #16838]
21452         * manual/string.texi (Collation Functions): Fix qsort argument
21453         order in example.
21454         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21456 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
21458         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
21459         Make the test a no-op if there are no exceptions defined.
21461 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21463         * elf/Makefile (tests): make tst-dlopen-aout conditional on
21464         enable-hardcoded-path-in-tests
21466 2014-04-11  Will Newton  <will.newton@linaro.org>
21468         * benchtests/Makefile (extra-objs): Add json-lib.o.
21469         (bench-func): Tidy up JSON output.
21470         * benchtests/bench-skeleton.c: Include json-lib.h.
21471         (main): Use JSON library functions to do output of
21472         benchmark results.
21473         * benchtests/bench-timing-type.c (main): Output the
21474         timing type simply, leaving formatting to the user.
21475         * benchtests/json-lib.c: New file.
21476         * benchtests/json-lib.h: Likewise.
21478 2014-04-11  Torvald Riegel  <triegel@redhat.com>
21480         [BZ #15215]
21481         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
21482         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
21483         memory barriers.  Add comments.
21484         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
21485         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
21486         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
21487         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
21488         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
21489         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
21491 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21493         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
21494         * sysdeps/s390/s390-64/configure.ac: ... this ...
21495         * sysdeps/s390/configure.ac: ... to here.
21496         * sysdeps/s390/s390-32/configure: Delete file.
21497         * sysdeps/s390/s390-64/configure: Delete file.
21498         * sysdeps/s390/configure: Regenerate.
21500 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
21502         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
21504 2014-04-11  Will Newton  <will.newton@linaro.org>
21506         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
21507         to zero if it is not defined elsewhere.  (mtrim): Test
21508         the value of MALLOC_DEBUG with #if rather than #ifdef.
21510 2014-04-10 Torvald Riegel  <triegel@redhat.com>
21512         * benchtests/pthread_once-inputs: New file.
21513         * benchtests/pthread_once-source.c: New file.
21514         * benchtests/README: Update documentation.
21516 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21517             H.J. Lu  <hongjiu.lu@intel.com>
21519         [BZ #16275]
21520         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
21521         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
21522         * sysdeps/x86_64/configure: Regenerated.
21523         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
21524         macro.
21525         (REGISTER_SAVE_RAX): Likewise.
21526         (REGISTER_SAVE_RCX): Likewise.
21527         (REGISTER_SAVE_RDX): Likewise.
21528         (REGISTER_SAVE_RSI): Likewise.
21529         (REGISTER_SAVE_RDI): Likewise.
21530         (REGISTER_SAVE_R8): Likewise.
21531         (REGISTER_SAVE_R9): Likewise.
21532         (REGISTER_SAVE_BND0): Likewise.
21533         (REGISTER_SAVE_BND1): Likewise.
21534         (REGISTER_SAVE_BND2): Likewise.
21535         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
21536         bound registers when calling _dl_fixup.
21538 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21540         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
21541         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
21542         of its definition.
21543         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
21544         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
21545         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
21546         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
21547         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
21548         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
21549         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
21551 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
21553         [BZ #15514]
21554         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
21555         pathconf(_PC_NAME_MAX).
21557 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21559         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
21560         Remove macro usage.
21561         (__PTHREAD_SPINS): Move definition to ...
21562         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21563         (__PTHREAD_SPINS): ... here.
21564         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21565         (__PTHREAD_SPIN): Likewise.
21566         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
21567         (__PTHREAD_SPIN): Likewise.
21568         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
21569         (__PTHREAD_SPIN): Likewise.
21570         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
21571         (__PTHREAD_SPIN): Likewise.
21572         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
21573         (__PTHREAD_SPIN): Likewise.
21574         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
21575         (__PTHREAD_SPIN): Likewise.
21576         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
21577         (__PTHREAD_SPIN): Likewise.
21578         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
21579         (__PTHREAD_SPIN): Likewise.
21580         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21581         (__PTHREAD_SPIN): Likewise.
21582         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21583         (__PTHREAD_SPIN): Likewise.
21584         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21585         (__PTHREAD_SPIN): Likewise.
21586         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
21587         (__PTHREAD_SPIN): Likewise.
21589         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
21590         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
21591         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
21592         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
21593         imply folder.
21594         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
21595         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
21596         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
21597         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
21598         correct imply path.
21599         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
21600         strlen symbol for non multi-arch builds.
21601         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21602         missing hidden_def and weak_alias.
21604 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
21606         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21608 2014-04-07  Will Newton  <will.newton@linaro.org>
21610         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21611         and contents.  [!_LIBC] Remove #ifndef and contents.
21612         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
21613         * string/memccpy.c (__memccpy): Use ANSI prototype.
21614         * string/memfrob.c (memfrob): Likewise.
21615         * string/strcoll.c (STRCOLL): Likewise.
21616         * string/strlen.c (strlen): Likewise.
21617         * string/strtok.c (STRTOK): Likewise.
21618         * string/strcat.c: Remove unused #include of memcopy.h.
21619         (strcat): Use ANSI prototype.
21620         * string/strchr.c: Remove unused #include of memcopy.h.
21621         (strchr): Use ANSI prototype.
21622         * string/strcmp.c: Remove unused #include of memcopy.h.
21623         (strcmp): Use ANSI prototype.
21624         * string/strcpy.c: Remove unused #include of memcopy.h.
21625         (strcpy): Use ANSI prototype.
21627 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21629         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21630         * config.make.in (config-extra-cppflags): Set it from
21631         libc_extra_cppflags.
21632         * configure.ac (libc_extra_cflags): Make it accumulate over
21633         configure fragments.
21634         (libc_extra_cppflags): New flag.
21635         * configure. Regenerate.
21636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21637         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21638         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21641         [BZ #16815]
21642         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21643         result for FE_DOWNWARD rounding mode.
21644         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21645         Likewise.
21646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21648 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21650         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21651         in function argument name.
21653 2014-04-03  David Svoboda  <svoboda@cert.org>
21655         [BZ #5666]
21656         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21657         explicitly.
21659 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21661         * elf/dl-unmap-segments.h: New file.
21662         * sysdeps/generic/ldsodefs.h
21663         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21664         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21665         * elf/dl-fptr.c: Likewise.
21666         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21667         * sysdeps/aarch64/tlsdesc.c: Likewise.
21668         * sysdeps/arm/tlsdesc.c: Likewise.
21669         * sysdeps/i386/tlsdesc.c: Likewise.
21670         * sysdeps/tile/dl-runtime.c: Likewise.
21671         * sysdeps/x86_64/tlsdesc.c: Likewise.
21672         * elf/dl-load.h: New file.
21673         * elf/dl-load.c: Include it.
21674         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21675         Macros moved to dl-load.h.
21676         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21677         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21678         Use _dl_unmap_segments in place of __munmap.
21679         Break out segment-mapping loop into ...
21680         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21682 2014-04-03  Will Newton  <will.newton@linaro.org>
21684         * elf/dl-lookup.c (do_lookup_x): Remove comment
21685         referring to nested function and move variable
21686         declarations down to before first use.
21688 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21690         [BZ #16799]
21691         [BZ #16800]
21692         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21693         with 0 numerator.
21694         * math/s_catanf.c (__catanf): Likewise.
21695         * math/s_catanh.c (__catanh): Likewise.
21696         * math/s_catanhf.c (__catanhf): Likewise.
21697         * math/s_catanhl.c (__catanhl): Likewise.
21698         * math/s_catanl.c (__catanl): Likewise.
21699         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21700         by positive zero when computing -Inf result.
21701         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21702         (catanh_test): Likewise.
21703         * sysdeps/i386/fpu/libm-test-ulps: Update.
21704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21706         [BZ #16789]
21707         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21708         instead of using underflowing value in computing result.
21709         * math/s_clog10.c (__clog10): Likewise.
21710         * math/s_clog10f.c (__clog10f): Likewise.
21711         * math/s_clog10l.c (__clog10l): Likewise.
21712         * math/s_clogf.c (__clogf): Likewise.
21713         * math/s_clogl.c (__clogl): Likewise.
21714         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21715         (clog10_test): Likewise.
21716         * sysdeps/i386/fpu/libm-test-ulps: Update.
21717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21719 2014-04-02  Alan Modra  <amodra@gmail.com>
21721         [BZ #16739]
21722         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21723         output when value is near a power of two.  Use int64_t for lx and
21724         remove casts.  Use decimal rather than hex exponent constants.
21725         Don't use long double multiplication when double will suffice.
21726         * math/libm-test.inc (nextafter_test_data): Add tests.
21727         * NEWS: Add 16739 and 16786 to bug list.
21729         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21731         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21733 2014-04-01  Will Newton  <will.newton@linaro.org>
21735         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21736         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21738 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21740         [BZ #13347]
21741         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21742         * nptl/tst-setuid2.c: New file.
21743         * nptl/Makefile (xtests): Add tst-setuid2.
21745 2014-04-01  Alan Modra  <amodra@gmail.com>
21747         [BZ #16786]
21748         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21750 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21752         [BZ #6803]
21753         [BZ #6804]
21754         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21755         set errno as appropriate.
21756         * math/w_scalbf.c (__scalbf): Likewise.
21757         * math/w_scalbl.c (__scalbl): Likewise.
21758         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21759         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21760         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21761         Add more NaN tests.
21763         [BZ #16349]
21764         * math/w_atan2.c: Include <errno.h>.
21765         (__atan2): Set errno for result underflowing to zero.
21766         * math/w_atan2f.c: Include <errno.h>.
21767         (__atan2f): Set errno for result underflowing to zero.
21768         * math/w_atan2l.c: Include <errno.h>.
21769         (__atan2l): Set errno for result underflowing to zero.
21770         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21771         tests.
21772         * math/auto-libm-test-out: Regenerated.
21774 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21776         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21777         Encode instruction correctly in little endian.
21778         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21779         Likewise.
21780         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21781         Likewise.
21782         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21783         Likewise.
21784         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21785         Likewise.
21787 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21789         [BZ #9894]
21790         * sysdeps/unix/sysv/linux/kernel-features.h
21791         [__sparc__ && !__arch64__ && !__sparc_v9__]
21792         (__ASSUME_SET_ROBUST_LIST): Do not define.
21793         [__sparc__ && !__arch64__ && !__sparc_v9__]
21794         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21795         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21796         Likewise.
21797         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21798         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21799         (__ASSUME_REQUEUE_PI): Likewise.
21800         (__ASSUME_SET_ROBUST_LIST): Likewise.
21801         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21802         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21803         Undefine.
21804         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21805         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21806         Likewise.
21807         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21808         Likewise.
21809         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21810         Likewise.
21811         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21812         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21813         Undefine.
21814         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21815         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21816         Likewise.
21818         [BZ #16648]
21819         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21820         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21821         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21823 2014-03-31  Will Newton  <will.newton@linaro.org>
21825         * benchtests/Makefile (bench): Add ffs and ffsll to list
21826         of tests.
21827         * benchtests/ffs-inputs: New file.
21828         * benchtests/ffsll-inputs: Likewise.
21830 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21832         [BZ #16770]
21833         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21834         too large before casting to int.
21835         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21836         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21837         * math/libm-test.inc (scalb_test_data): Add more tests.
21839 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21841         * benchtests/Makefile (DETAILED_OPT): New make option.
21842         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21843         set.
21844         * benchtests/bench-skeleton.c: Include stdbool.h.
21845         (main): Store and print timings per input.
21846         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21847         member to each argument value.
21848         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21849         (_print_arg_data): Initialize per-input timing to 0.
21851         * benchtests/Makefile (timing-type): New binary.
21852         (bench-clean): Also remove bench-timing-type.
21853         (bench): New target for timing-type.
21854         (bench-func): Print output in JSON format.
21855         * benchtests/bench-skeleton.c (main): Print output in JSON
21856         format.
21857         * benchtests/bench-timing-type.c: New file.
21858         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21859         (TIMING_PRINT_STATS): Remove.
21860         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21861         name separately.
21863         * benchtests/bench-modf.c: Remove.
21864         * benchtests/modf-inputs: New inputs file.
21866 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21868         [BZ #16362]
21869         * math/s_clog10.c (M_PI_LOG10E): New macro.
21870         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21871         imaginary parts are 0.
21872         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21873         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21874         imaginary parts are 0.
21875         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21876         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21877         imaginary parts are 0.
21878         * math/libm-test.inc (clog10_test_data): Update expected results
21879         for when real and imaginary parts are 0.
21881 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21883         * elf/dl-load.c: Finish conversion of __builtin_expect into
21884         __glibc_{un}likely.
21886 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21888         [BZ #16348]
21889         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21890         1+x for argument with exponent below -67.
21891         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21892         Likewise.
21893         * math/auto-libm-test-in: Add more tests of exp.
21894         * math/auto-libm-test-out: Regenerated.
21896 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21898         [BZ #16759]
21899         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21900         (nscd_getnetgrent): Use it.
21902         [BZ #16760]
21903         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21904         of stpcpy.
21906 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21908         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21909         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21910         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21911         (lll_robust_unlock): Remove out of line section. Use cfi
21912         intrinsics.
21913         (LLL_STUB_UNWIND_INFO*): Remove.
21914         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21915         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21916         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21917         (lll_robust_unlock): Remove out of line section. Use cfi
21918         intrinsics.
21919         (LLL_STUB_UNWIND_INFO*): Remove.
21921 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21923         [BZ #16758]
21924         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21925         blank values.
21927 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21929         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21931 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
21933         [BZ #16198]
21934         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21935         fnstenv.
21936         * math/test-fenv-preserve.c: New file.
21937         * math/Makefile (tests): Add test-fenv-preserve.
21939 2014-03-26  Will Newton <will.newton@linaro.org>
21941         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21943 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21945         * scripts/versionlist.awk: Partition the version sets and emit all
21946         GLIBC_* (sorted) before all others (sorted).
21948 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21950         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21951         GLIBC_2.2.5 version.
21953 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21955         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21956         calls.
21958         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21959         previous change.
21961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21963 2014-03-25  Andreas Schwab  <schwab@suse.de>
21965         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21966         label to be used after in6ailist is initialized.
21968 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21970         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21971         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21973 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21975         [BZ #16357]
21976         [BZ #16599]
21977         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21978         min_plus_half.
21979         (fp_formats): Update initializers.
21980         (init_fp_formats): Initialize new field.
21981         (output_for_one_input_case): Allow underflow for results up to
21982         min_plus_half.
21983         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21984         * math/auto-libm-test-in: Don't mark some underflows from asin and
21985         atanh as spurious.
21986         * math/auto-libm-test-out: Regenerated.
21987         * sysdeps/i386/fpu/libm-test-ulps: Update.
21988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21990 2014-03-25  Andreas Schwab  <schwab@suse.de>
21992         * libio/Makefile (tst-ftell-partial-wide-ENV)
21993         (tst-ftell-active-handler-ENV): Define.
21995 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21997         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21999 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22001         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
22003 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
22005         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
22006         * sysdeps/x86_64/fpu/multiarch/e_exp.c
22007         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22009 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22011         [BZ #16634]
22012         * elf/dl-load.c (open_verify): Add mode parameter.
22013         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
22014         (open_path): Change from boolean 'secure' to complete flag 'mode'
22015         (_dl_map_object): Adjust.
22016         * elf/Makefile (tests): Add tst-dlopen-aout.
22017         * elf/tst-dlopen-aout.c: New test.
22019 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
22021         [BZ #16714]
22022         * sysdeps/unix/sysv/linux/s390/bits/stat.h
22023         (struct stat): Rename member pad0 to __glibc_reserved0.
22025         [BZ #16712]
22026         * sysdeps/s390/s390-32/bits/wordsize.h
22027         (__WORDSIZE32_SIZE_ULONG): New define.
22028         * sysdeps/s390/s390-64/bits/wordsize.h
22029         (__WORDSIZE32_SIZE_ULONG): Likewise.
22030         * sysdeps/generic/stdint.h (SIZE_MAX):
22031         Define as UL if __WORDSIZE32_SIZE_ULONG.
22033         [BZ #16713]
22034         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
22035         (__glibc_reserved0): New variable.
22036         (sa_flags): Change type to int.
22038         * posix/Makefile (before-compile): Use += before-compile instead
22039         of a :=.
22041         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22042         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22044 2014-03-20  Andreas Schwab  <schwab@suse.de>
22046         [BZ #16743]
22047         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
22048         non-matching result from nscd.
22050 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22052         * scripts/bench.py: Moved to ...
22053         * benchtests/scripts/bench.py: ... here.
22054         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
22056 2014-03-24  Andreas Schwab  <schwab@suse.de>
22058         [BZ #16002]
22059         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
22060         alloca_account and account alloca use for struct in6ailist.
22062 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
22064         [BZ #16284]
22065         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
22066         rounding mode to recompute results that overflow to infinity or
22067         underflow to zero.
22068         * math/auto-libm-test-in: Don't mark tests as expected to fail for
22069         bug 16284.
22070         * math/auto-libm-test-out: Regenerated.
22071         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
22072         (ccosh_test): Likewise.
22073         (csin_test_data): Use plus_oflow.
22074         (csin_test): Use ALL_RM_TEST.
22075         (csinh_test_data): Use plus_oflow.
22076         (csinh_test): Use ALL_RM_TEST.
22077         * sysdeps/i386/fpu/libm-test-ulps: Update.
22078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22080 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
22082         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
22083         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
22084         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
22086         [BZ #16731]
22087         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
22088         when x - 1 is zero.
22089         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
22090         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
22091         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22092         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
22093         argument is 1.
22094         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
22095         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
22096         zero.
22097         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
22098         * sysdeps/i386/fpu/libm-test-ulps: Update.
22099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22101 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22103         * scripts/bench.pl: Remove file.
22104         * scripts/bench.py: New benchmark script.
22105         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
22106         * benchtests/README: Mention python dependency.
22107         * scripts/pylintrc: New file.
22108         * scripts/pylint: New file.
22110         * bits/mathdef.h: Use #ifdef instead of #if.
22111         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
22112         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22113         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
22114         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22115         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
22116         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22118 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22119             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22121         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
22122         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
22123         and strpbrk-ppc64 objects.
22124         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22125         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
22126         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
22127         multiarch strpbrk for POWER7.
22128         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
22129         multiarch strpbrk for PPC64.
22130         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
22131         ifunc selector.
22132         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
22133         strpbrk for POWER7.
22135 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22137         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
22138         (atan_test): Likewise.
22139         (atanh_test_data): Use NO_TEST_INLINE for two tests.
22140         (atanh_test): Use ALL_RM_TEST.
22141         (atan2_test_data): Likewise.
22142         (cabs_test): Likewise.
22143         (cacosh_test): Likewise.
22144         (carg_test): Likewise.
22145         (casin_test): Likewise.
22146         (casinh_test): Likewise.
22147         (cbrt_test): Likewise.
22148         (csqrt_test): Likewise.
22149         (erf_test): Likewise.
22150         (erfc_test): Likewise.
22151         (pow10_test): Likewise.
22152         (exp2_test): Likewise.
22153         (hypot_test): Likewise.
22154         (j0_test): Likewise.
22155         (j1_test): Likewise.
22156         (lgamma_test): Likewise.
22157         (gamma_test): Likewise.
22158         (sincos_test): Likewise.
22159         (tanh_test): Likewise.
22160         (y0_test): Likewise.
22161         (y1_test): Likewise.
22162         * sysdeps/i386/fpu/libm-test-ulps: Update.
22163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22165 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22167         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
22168         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
22169         and strcspn-ppc64 objects.
22170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22171         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
22172         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
22173         multiarch strcspn for POWER7.
22174         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
22175         multiarch strcspn for PPC64.
22176         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
22177         ifunc selector.
22178         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
22179         strcspn for POWER7.
22181 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22183         * math/gen-libm-test.pl (generate_testfile): Expect only function
22184         name as argument to AUTO_TESTS_* and pass results for all rounding
22185         modes to parse_args.
22186         (parse_auto_input): Separate inputs of automatic tests from
22187         outputs before storing in %auto_tests.
22188         * math/libm-test.inc (acos_test_data): Update call to
22189         AUTO_TESTS_f_f.
22190         (acos_test): Use ALL_RM_TEST.
22191         (acos_tonearest_test_data): Remove.
22192         (acos_test_tonearest): Likewise.
22193         (acos_towardzero_test_data): Likewise.
22194         (acos_test_towardzero): Likewise.
22195         (acos_downward_test_data): Likewise.
22196         (acos_test_downward): Likewise.
22197         (acos_upward_test_data): Likewise.
22198         (acos_test_upward): Likewise.
22199         (acosh_test_data): Update call to AUTO_TESTS_f_f.
22200         (asin_test_data): Likewise.
22201         (asin_test): Use ALL_RM_TEST.
22202         (asin_tonearest_test_data): Remove.
22203         (asin_test_tonearest): Likewise.
22204         (asin_towardzero_test_data): Likewise.
22205         (asin_test_towardzero): Likewise.
22206         (asin_downward_test_data): Likewise.
22207         (asin_test_downward): Likewise.
22208         (asin_upward_test_data): Likewise.
22209         (asin_test_upward): Likewise.
22210         (asinh_test_data): Update call to AUTO_TESTS_f_f.
22211         (atan_test_data): Likewise.
22212         (atanh_test_data): Likewise.
22213         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
22214         (cabs_test_data): Update call to AUTO_TESTS_c_f.
22215         (carg_test_data): Likewise.
22216         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
22217         (ccos_test_data): Update call to AUTO_TESTS_c_c.
22218         (ccosh_test_data): Likewise.
22219         (cexp_test_data): Likewise.
22220         (clog_test_data): Likewise.
22221         (clog10_test_data): Likewise.
22222         (cos_test_data): Update call to AUTO_TESTS_f_f.
22223         (cos_test): Use ALL_RM_TEST.
22224         (cos_tonearest_test_data): Remove.
22225         (cos_test_tonearest): Likewise.
22226         (cos_towardzero_test_data): Likewise.
22227         (cos_test_towardzero): Likewise.
22228         (cos_downward_test_data): Likewise.
22229         (cos_test_downward): Likewise.
22230         (cos_upward_test_data): Likewise.
22231         (cos_test_upward): Likewise.
22232         (cosh_test_data): Update call to AUTO_TESTS_f_f.
22233         (cosh_test): Use ALL_RM_TEST.
22234         (cosh_tonearest_test_data): Remove.
22235         (cosh_test_tonearest): Likewise.
22236         (cosh_towardzero_test_data): Likewise.
22237         (cosh_test_towardzero): Likewise.
22238         (cosh_downward_test_data): Likewise.
22239         (cosh_test_downward): Likewise.
22240         (cosh_upward_test_data): Likewise.
22241         (cosh_test_upward): Likewise.
22242         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
22243         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
22244         (ctan_test_data): Likewise.
22245         (ctan_test): Use ALL_RM_TEST.
22246         (ctan_tonearest_test_data): Remove.
22247         (ctan_test_tonearest): Likewise.
22248         (ctan_towardzero_test_data): Likewise.
22249         (ctan_test_towardzero): Likewise.
22250         (ctan_downward_test_data): Likewise.
22251         (ctan_test_downward): Likewise.
22252         (ctan_upward_test_data): Likewise.
22253         (ctan_test_upward): Likewise.
22254         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
22255         (ctanh_test): Use ALL_RM_TEST.
22256         (ctanh_tonearest_test_data): Remove.
22257         (ctanh_test_tonearest): Likewise.
22258         (ctanh_towardzero_test_data): Likewise.
22259         (ctanh_test_towardzero): Likewise.
22260         (ctanh_downward_test_data): Likewise.
22261         (ctanh_test_downward): Likewise.
22262         (ctanh_upward_test_data): Likewise.
22263         (ctanh_test_upward): Likewise.
22264         (erf_test_data): Update call to AUTO_TESTS_f_f.
22265         (erfc_test_data): Likewise.
22266         (exp_test_data): Likewise.
22267         (exp_test): Use ALL_RM_TEST.
22268         (exp_tonearest_test_data): Remove.
22269         (exp_test_tonearest): Likewise.
22270         (exp_towardzero_test_data): Likewise.
22271         (exp_test_towardzero): Likewise.
22272         (exp_downward_test_data): Likewise.
22273         (exp_test_downward): Likewise.
22274         (exp_upward_test_data): Likewise.
22275         (exp_test_upward): Likewise.
22276         (exp10_test_data): Update call to AUTO_TESTS_f_f.
22277         (exp10_test): Use ALL_RM_TEST.
22278         (exp10_tonearest_test_data): Remove.
22279         (exp10_test_tonearest): Likewise.
22280         (exp10_towardzero_test_data): Likewise.
22281         (exp10_test_towardzero): Likewise.
22282         (exp10_downward_test_data): Likewise.
22283         (exp10_test_downward): Likewise.
22284         (exp10_upward_test_data): Likewise.
22285         (exp10_test_upward): Likewise.
22286         (exp2_test_data): Update call to AUTO_TESTS_f_f.
22287         (expm1_test_data): Likewise.
22288         (expm1_test): Use ALL_RM_TEST.
22289         (expm1_tonearest_test_data): Remove.
22290         (expm1_test_tonearest): Likewise.
22291         (expm1_towardzero_test_data): Likewise.
22292         (expm1_test_towardzero): Likewise.
22293         (expm1_downward_test_data): Likewise.
22294         (expm1_test_downward): Likewise.
22295         (expm1_upward_test_data): Likewise.
22296         (expm1_test_upward): Likewise.
22297         (fma_test_data): Update call to AUTO_TESTS_fff_f.
22298         (fma_test): Use ALL_RM_TEST.
22299         (fma_towardzero_test_data): Remove.
22300         (fma_test_towardzero): Likewise.
22301         (fma_downward_test_data): Likewise.
22302         (fma_test_downward): Likewise.
22303         (fma_upward_test_data): Likewise.
22304         (fma_test_upward): Likewise.
22305         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
22306         (j0_test_data): Update call to AUTO_TESTS_f_f.
22307         (j1_test_data): Likewise.
22308         (jn_test_data): Update call to AUTO_TESTS_if_f.
22309         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
22310         (log_test_data): Update call to AUTO_TESTS_f_f.
22311         (log10_test_data): Likewise.
22312         (log1p_test_data): Likewise.
22313         (log2_test_data): Likewise.
22314         (pow_test_data): Update call to AUTO_TESTS_ff_f.
22315         (pow_tonearest_test_data): Likewise.
22316         (sin_test_data): Update call to AUTO_TESTS_f_f.
22317         (sin_test): Use ALL_RM_TEST.
22318         (sin_tonearest_test_data): Remove.
22319         (sin_test_tonearest): Likewise.
22320         (sin_towardzero_test_data): Likewise.
22321         (sin_test_towardzero): Likewise.
22322         (sin_downward_test_data): Likewise.
22323         (sin_test_downward): Likewise.
22324         (sin_upward_test_data): Likewise.
22325         (sin_test_upward): Likewise.
22326         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
22327         (sinh_test_data): Update call to AUTO_TESTS_f_f.
22328         (sinh_test): Use ALL_RM_TEST.
22329         (sinh_tonearest_test_data): Remove.
22330         (sinh_test_tonearest): Likewise.
22331         (sinh_towardzero_test_data): Likewise.
22332         (sinh_test_towardzero): Likewise.
22333         (sinh_downward_test_data): Likewise.
22334         (sinh_test_downward): Likewise.
22335         (sinh_upward_test_data): Likewise.
22336         (sinh_test_upward): Likewise.
22337         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
22338         (sqrt_test): Use ALL_RM_TEST.
22339         (sqrt_tonearest_test_data): Remove.
22340         (sqrt_test_tonearest): Likewise.
22341         (sqrt_towardzero_test_data): Likewise.
22342         (sqrt_test_towardzero): Likewise.
22343         (sqrt_downward_test_data): Likewise.
22344         (sqrt_test_downward): Likewise.
22345         (sqrt_upward_test_data): Likewise.
22346         (sqrt_test_upward): Likewise.
22347         (tan_test_data): Update call to AUTO_TESTS_f_f.
22348         (tan_test): Use ALL_RM_TEST.
22349         (tan_tonearest_test_data): Remove.
22350         (tan_test_tonearest): Likewise.
22351         (tan_towardzero_test_data): Likewise.
22352         (tan_test_towardzero): Likewise.
22353         (tan_downward_test_data): Likewise.
22354         (tan_test_downward): Likewise.
22355         (tan_upward_test_data): Likewise.
22356         (tan_test_upward): Likewise.
22357         (tanh_test_data): Update call to AUTO_TESTS_f_f.
22358         (tgamma_test_data): Likewise.
22359         (y0_test_data): Likewise.
22360         (y1_test_data): Likewise.
22361         (yn_test_data): Update call to AUTO_TESTS_if_f.
22362         (main): Do not call removed functions.
22364 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22366         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
22367         (ldexp_test_data): Remove.
22368         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
22369         scalbn_test_data.
22370         (scalb_test): Use ALL_RM_TEST.
22372 2014-03-19  Andreas Schwab  <schwab@suse.de>
22374         * nscd/nscd.service: Also invalidate netgroup cache on reload.
22376 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22378         [BZ #16649]
22379         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22380         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
22381         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
22382         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22383         (__ASSUME_PREADV): Undefine.
22384         (__ASSUME_PWRITEV): Likewise.
22386 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22388         * bits/mman-linux.h: Add comment about non-Linux use.
22389         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
22390         bits/mman-linux.h resting place.
22392         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
22393         * bits/mman-linux.h: ... here.
22395 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22397         * conform/conformtest.pl: Add standard definition when calling C
22398         preprocessor on data files.
22399         (checknamespace): Remove unused variable.
22401 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22403         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
22404         minus_oflow, plus_uflow and minus_uflow in expected results.
22405         * math/libm-test.inc (scalbn_test_data): Add more tests of
22406         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
22407         minus_uflow.
22408         (scalbn_test): Use ALL_RM_TEST.
22409         (scalbln_test_data): Add more tests of negative arguments.  Use
22410         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
22411         (scalbln_test): Use ALL_RM_TEST.
22413 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22415         * scripts/abilist.awk: Ignore symbols marked with .hidden.
22417 2014-03-18  Will Newton  <will.newton@linaro.org>
22419         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
22420         inaccurate comment.
22422 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22424         * Makerules [!subdir] (check-abi): Exit with error status if a
22425         test failed.
22427 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22429         * math/libm-test.inc (nearbyint_test_data): Include all tests used
22430         for rint.  Include results for all rounding modes.
22431         (nearbyint_test): Use ALL_RM_TEST.
22432         (rint_test_data): Include all tests used for nearbyint.
22434 2014-03-17  Will Newton  <will.newton@linaro.org>
22436         * nptl/sysdeps/pthread/pthread.h: Revert previous
22437         change.
22439         * sysdeps/generic/ldsodefs.h: Revert previous
22440         change.
22442         * libio/genops.c: Revert previous change.
22443         * libio/libioP.h: Likewise.
22444         * stdio-common/vfprintf.c: Likewise.
22446         * sysdeps/generic/math_private.h: Revert previous
22447         change.
22449         * sysdeps/generic/math_private.h: Check whether
22450         HAVE_RM_CTX is defined with #ifdef rather
22451         than #if.
22453         * argp/argp-fmtstream.h: Check whether
22454         __STRICT_ANSI__ is defined with #ifdef rather
22455         than #if.
22456         * argp/argp.h: Likewise.
22458         * libio/genops.c: Check whether
22459         _IO_JUMPS_OFFSET is defined with #ifdef rather
22460         than #if.
22461         * libio/libioP.h: Likewise.
22462         * stdio-common/vfprintf.c: Likewise.
22464         * sysdeps/generic/ldsodefs.h: Check whether
22465         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
22466         than #if.
22468         * nptl/sysdeps/pthread/pthread.h: Check
22469         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
22470         its value.
22472 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22474         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
22475         setting O_APPEND.
22476         * libio/tst-ftell-active-handler.c (do_append_test): Add a
22477         test case.
22479         [BZ #16680]
22480         * libio/fileops.c (_IO_file_open): Seek to end of file but
22481         don't cache the offset.
22482         (get_file_offset): Remove function.
22483         (do_ftell): Use cached offset when available.
22484         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
22485         don't cache the offset.
22486         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
22487         case.
22488         (do_one_test): Call it.
22489         (do_ftell_test): Fix up expected old offset for a+ mode.
22490         * libio/wfileops.c (do_ftell_wide): Used cached offset when
22491         available.
22493         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
22494         up test status with function return status.
22495         (do_write_test): Likewise.
22496         (do_append_test): Likewise.
22498         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
22499         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
22500         Remove.
22502 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22504         * math/gen-libm-test.pl (parse_args): Handle results specified for
22505         each rounding mode separately.
22506         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
22507         tests and results from lrint_tonearest_test_data,
22508         lrint_towardzero_test_data, lrint_downward_test_data and
22509         lrint_upward_test_data.
22510         (lrint_test): Use ALL_RM_TEST.
22511         (lrint_tonearest_test_data): Remove.
22512         (lrint_test_tonearest): Likewise.
22513         (lrint_towardzero_test_data): Likewise.
22514         (lrint_test_towardzero): Likewise.
22515         (lrint_downward_test_data): Likewise.
22516         (lrint_test_downward): Likewise.
22517         (lrint_upward_test_data): Likewise.
22518         (lrint_test_upward): Likewise.
22519         (llrint_test_data): Merge in per-rounding-mode tests and results
22520         from llrint_tonearest_test_data, llrint_towardzero_test_data,
22521         llrint_downward_test_data and llrint_upward_test_data.
22522         (llrint_test): Use ALL_RM_TEST.
22523         (llrint_tonearest_test_data): Remove.
22524         (llrint_test_tonearest): Likewise.
22525         (llrint_towardzero_test_data): Likewise.
22526         (llrint_test_towardzero): Likewise.
22527         (llrint_downward_test_data): Likewise.
22528         (llrint_test_downward): Likewise.
22529         (llrint_upward_test_data): Likewise.
22530         (llrint_test_upward): Likewise.
22531         (rint_test_data): Merge in per-rounding-mode tests and results
22532         from rint_tonearest_test_data, rint_towardzero_test_data,
22533         rint_downward_test_data and rint_upward_test_data.  Add
22534         per-rounding-mode results for tests not in those arrays.
22535         (rint_test): Use ALL_RM_TEST.
22536         (rint_tonearest_test_data): Remove.
22537         (rint_test_tonearest): Likewise.
22538         (rint_towardzero_test_data): Likewise.
22539         (rint_test_towardzero): Likewise.
22540         (rint_downward_test_data): Likewise.
22541         (rint_test_downward): Likewise.
22542         (rint_upward_test_data): Likewise.
22543         (rint_test_upward): Likewise.
22544         (main): Don't call removed functions.
22546 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22548         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
22549         "Compiled on ..." crapola.  It is anti-useful.
22551 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
22553         * scripts/evaluate-test.sh: Handle fourth argument to determine
22554         whether test run should stop on failure.
22555         * Makeconfig (stop-on-test-failure): New variable.
22556         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
22557         $(stop-on-test-failure).
22558         * Makefile (tests): Give a summary of results from testing and
22559         exit with failure status if they include an ERROR or FAIL.
22560         (xtests): Likewise.
22561         * manual/install.texi (Configuring and compiling): Mention
22562         stop-on-test-failure=y.
22563         * INSTALL: Regenerated.
22565 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22567         * scripts/versionlist.awk: New file.
22568         * Makerules [$(build-shared) = yes]
22569         (postclean-generated): Add Versions.def, not Versions.def.v and
22570         Versions.def.v.i.
22571         ($(common-objpfx)Versions.def.v.i): Target removed.
22572         ($(common-objpfx)Versions.def): New target.
22573         ($(common-objpfx)Versions.all): Depend on that rather that
22574         $(common-objpfx)Versions.def.v.
22575         * Versions.def: File removed.
22577         * Makeconfig (+gccwarn): Add -Wundef.
22578         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
22579         a dl-sysdep.h breaking its contract.
22580         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
22581         * include/stackinfo.h: New file.
22582         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
22583         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
22584         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
22585         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22586         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
22587         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
22588         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22589         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22590         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22591         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22592         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22593         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
22594         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22595         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22596         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22598 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22600         [BZ #16707]
22601         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22602         implementation.
22603         * math/libm-test.inc (round_test_data): Add more tests.
22605         [BZ #16706]
22606         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22607         implementation.
22608         * math/libm-test.inc (nearbyint_test_data): Add more tests.
22610         [BZ #16701]
22611         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22612         implementation.
22613         * math/libm-test.inc (ceil_test_data): Add more tests.
22615         * math/libm-test.inc (trunc_test_data): Add more tests related to
22616         BZ#16414.
22618 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22620         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22621         with #if rather than #ifdef.
22622         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22624 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
22626         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22627         first.  Disable AVX-512 GCC support if assembler doesn't support
22628         it.
22629         * sysdeps/x86_64/configure: Regenerated.
22631 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
22633         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22634         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22635         (__old_pthread_attr_setstack): Likewise.
22636         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22637         [!_STACK_GROWS_DOWN]: Likewise.
22639 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22641         * config.make.in (have-bash2): Delete.
22642         * configure.ac (libc_cv_have_bash2): Delete.
22643         * configure: Regenerate.
22644         * elf/Makefile (common-ldd-rewrite): Rename to ...
22645         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
22646         (sh-ldd-rewrite): Delete.
22647         (bash-ldd-rewrite): Delete.
22648         (have-bash2): Delete checks.
22649         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22650         ldd-rewrite.
22652         * config.make.in (have-ksh): Delete.
22653         (KSH): Delete.
22654         * configure.ac (libc_cv_have_ksh): Delete.
22655         * configure: Regenerate.
22657         * elf/Makefile: Delete $(have-ksh) check.
22658         ($(objpfx)sotruss): Change KSH to BASH.
22659         * elf/sotruss.ksh: Rename to ...
22660         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22661         function style to match POSIX.  Drop ksh vim mode setting.
22663         * manual/time.texi (Specifying the Time Zone with TZ): Change
22664         Tuesday to Thursday.
22666         * debug/tst-longjmp_chk2.c: Update header comment.
22667         (stackoverflow_handler): Add comment.  Call assert on pass value.
22669 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22671         [BZ #16194]
22672         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22673         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22674         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22675         (La_x86_64_vector): Add zmm.
22676         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22677         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22678         ($(objpfx)tst-audit10): New target.
22679         ($(objpfx)tst-audit10.out): Likewise.
22680         (tst-audit10-ENV): New.
22681         (AVX512-CFLAGS): Likewise.
22682         (CFLAGS-tst-audit10.c): Likewise.
22683         (CFLAGS-tst-auditmod10a.c): Likewise.
22684         (CFLAGS-tst-auditmod10b.c): Likewise.
22685         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22686         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22687         * sysdeps/x86_64/configure: Regenerated.
22688         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22689         AVX-512 zmm register support.
22690         (_dl_x86_64_save_sse): Likewise.
22691         (_dl_x86_64_restore_sse): Likewise.
22692         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22693         size vector registers.
22694         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22695         (ZMM_SIZE): Likewise.
22696         * sysdeps/x86_64/tst-audit10.c: New file.
22697         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22698         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22700 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22702         * configure.ac (HAVE_EHDR_START): New check.
22703         * configure: Regenerated.
22704         * config.h.in (HAVE_EHDR_START): New #undef.
22705         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22706         assuming the lowest-addressed segment maps the start of the file.
22708 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22710         * INSTALL: Regenerated.
22712 2014-03-13  Will Newton  <will.newton@linaro.org>
22714         * manual/setjmp.texi (System V contexts): Improve
22715         clarity and grammar of documentation.
22717 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22719         [BZ #16381]
22720         * elf/Makefile (tests): Add tst-pie2.
22721         (tests-pie): Add tst-pie2.
22722         * elf/tst-pie2.c: New file.
22723         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22724         for ET_EXEC.
22725         * elf/rtld.c (map_doit): Load executable as lt_executable.
22726         (dl_main): Likewise.
22728 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22730         [BZ #16642]
22731         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22732         (__ASSUME_PSELECT): Undefine.
22734 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22736         [BZ #16689]
22737         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22738         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22739         static build.
22740         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22741         selector for static builds.
22743 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22745         [BZ #16695]
22746         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22747         key in the buffer.
22749 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22751         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22752         IFUNC selector for static builds.
22754 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22756         * sysdeps/mips/math_private.h [__mips_hard_float]
22757         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22758         libc_feresetround_mips_ctx.
22759         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22760         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22761         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22763         [BZ #16677]
22764         * math/s_nextafter.c (__nextafter): Do not return value from
22765         overflowing computation.
22766         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22767         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22768         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22769         Likewise.
22770         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22771         Likewise.
22772         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22773         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22775 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22777         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22778         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22779         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22780         the new mov targetting sp.
22782 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22784         [BZ #16683]
22785         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22786         Define it for static builds as well.
22787         (NO_BZERO_IMPL): Likewise.
22789 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22791         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22792         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22793         multiarch strspn for PPC64.
22794         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22795         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22796         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22797         (__libc_ifunc_impl_list): Likewise.
22798         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22799         multiarch optimizations
22800         * string/strspn.c (strspn): Using macro to redefine symbol name.
22802 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22803             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22805         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22806         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22807         multiarch strncat for PPC64.
22808         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22809         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22810         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22811         (__libc_ifunc_impl_list): Likewise.
22812         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22813         multiarch optimizations
22815 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22817         [BZ #16639]
22818         * nscd/nscd.service: Make service type forking.
22820 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22822         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22823         sign in non default rounding modes.
22824         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22826 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22828         * math/libm-test.inc (ALL_RM_TEST): New macro.
22829         (ceil_test): Use ALL_RM_TEST.
22830         (cimag_test): Likewise.
22831         (conj_test): Likewise.
22832         (copysign_test): Likewise.
22833         (cproj_test): Likewise.
22834         (creal_test): Likewise.
22835         (fabs_test): Likewise.
22836         (floor_test): Likewise.
22837         (fmax_test): Likewise.
22838         (fmin_test): Likewise.
22839         (fmod_test): Likewise.
22840         (fpclassify_test): Likewise.
22841         (frexp_test): Likewise.
22842         (ilogb_test): Likewise.
22843         (isfinite_test): Likewise.
22844         (finite_test): Likewise.
22845         (isgreater_test): Likewise.
22846         (isgreaterequal_test): Likewise.
22847         (isinf_test): Likewise.
22848         (isless_test): Likewise.
22849         (islessequal_test): Likewise.
22850         (islessgreater_test): Likewise.
22851         (isnan_test): Likewise.
22852         (isnormal_test): Likewise.
22853         (issignaling_test): Likewise.
22854         (isunordered_test): Likewise.
22855         (logb_test): Likewise.
22856         (logb_downward_test_data): Remove.
22857         (logb_test_downward): Likewise.
22858         (lround_test): Use ALL_RM_TEST.
22859         (llround_test): Likewise.
22860         (modf_test): Likewise.
22861         (nexttoward_test): Likewise.
22862         (remainder_test): Likewise.
22863         (drem_test): Likewise.
22864         (remainder_tonearest_test_data): Likewise.
22865         (remainder_test_tonearest): Likewise.
22866         (drem_test_tonearest): Likewise.
22867         (remainder_towardzero_test_data): Likewise.
22868         (remainder_test_towardzero): Likewise.
22869         (drem_test_towardzero): Likewise.
22870         (remainder_downward_test_data): Likewise.
22871         (remainder_test_downward): Likewise.
22872         (drem_test_downward): Likewise.
22873         (remainder_upward_test_data): Likewise.
22874         (remainder_test_upward): Likewise.
22875         (drem_test_upward): Likewise.
22876         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22877         (round_test): Use ALL_RM_TEST.
22878         (signbit_test): Likewise.
22879         (trunc_test): Likewise.
22880         (significand_test): Likewise.
22881         (main): Don't call removed functions.
22883 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22885         [BZ #16674]
22886         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22887         || __USE_XOPEN2K8].
22888         (ILL_ILLOPN): Likewise.
22889         (ILL_ILLADR): Likewise.
22890         (ILL_ILLTRP): Likewise.
22891         (ILL_PRVOPC): Likewise.
22892         (ILL_PRVREG): Likewise.
22893         (ILL_COPROC): Likewise.
22894         (ILL_BADSTK): Likewise.
22895         (FPE_INTDIV): Likewise.
22896         (FPE_INTOVF): Likewise.
22897         (FPE_FLTDIV): Likewise.
22898         (FPE_FLTOVF): Likewise.
22899         (FPE_FLTUND): Likewise.
22900         (FPE_FLTRES): Likewise.
22901         (FPE_FLTINV): Likewise.
22902         (FPE_FLTSUB): Likewise.
22903         (SEGV_MAPERR): Likewise.
22904         (SEGV_ACCERR): Likewise.
22905         (BUS_ADRALN): Likewise.
22906         (BUS_ADRERR): Likewise.
22907         (BUS_OBJERR): Likewise.
22908         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22909         (TRAP_TRACE): Likewise.
22910         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22911         __USE_XOPEN2K8].
22912         (CLD_KILLED): Likewise.
22913         (CLD_DUMPED): Likewise.
22914         (CLD_TRAPPED): Likewise.
22915         (CLD_STOPPED): Likewise.
22916         (CLD_CONTINUED): Likewise.
22917         (POLL_IN): Likewise.
22918         (POLL_OUT): Likewise.
22919         (POLL_MSG): Likewise.
22920         (POLL_ERR): Likewise.
22921         (POLL_PRI): Likewise.
22922         (POLL_HUP): Likewise.
22923         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22924         Likewise.
22925         (ILL_ILLOPN): Likewise.
22926         (ILL_ILLADR): Likewise.
22927         (ILL_ILLTRP): Likewise.
22928         (ILL_PRVOPC): Likewise.
22929         (ILL_PRVREG): Likewise.
22930         (ILL_COPROC): Likewise.
22931         (ILL_BADSTK): Likewise.
22932         (FPE_INTDIV): Likewise.
22933         (FPE_INTOVF): Likewise.
22934         (FPE_FLTDIV): Likewise.
22935         (FPE_FLTOVF): Likewise.
22936         (FPE_FLTUND): Likewise.
22937         (FPE_FLTRES): Likewise.
22938         (FPE_FLTINV): Likewise.
22939         (FPE_FLTSUB): Likewise.
22940         (SEGV_MAPERR): Likewise.
22941         (SEGV_ACCERR): Likewise.
22942         (BUS_ADRALN): Likewise.
22943         (BUS_ADRERR): Likewise.
22944         (BUS_OBJERR): Likewise.
22945         (BUS_MCEERR_AR): Likewise.
22946         (BUS_MCEERR_AO): Likewise.
22947         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22948         (TRAP_TRACE): Likewise.
22949         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22950         __USE_XOPEN2K8].
22951         (CLD_KILLED): Likewise.
22952         (CLD_DUMPED): Likewise.
22953         (CLD_TRAPPED): Likewise.
22954         (CLD_STOPPED): Likewise.
22955         (CLD_CONTINUED): Likewise.
22956         (POLL_IN): Likewise.
22957         (POLL_OUT): Likewise.
22958         (POLL_MSG): Likewise.
22959         (POLL_ERR): Likewise.
22960         (POLL_PRI): Likewise.
22961         (POLL_HUP): Likewise.
22962         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22963         (ILL_ILLOPN): Likewise.
22964         (ILL_ILLADR): Likewise.
22965         (ILL_ILLTRP): Likewise.
22966         (ILL_PRVOPC): Likewise.
22967         (ILL_PRVREG): Likewise.
22968         (ILL_COPROC): Likewise.
22969         (ILL_BADSTK): Likewise.
22970         (FPE_INTDIV): Likewise.
22971         (FPE_INTOVF): Likewise.
22972         (FPE_FLTDIV): Likewise.
22973         (FPE_FLTOVF): Likewise.
22974         (FPE_FLTUND): Likewise.
22975         (FPE_FLTRES): Likewise.
22976         (FPE_FLTINV): Likewise.
22977         (FPE_FLTSUB): Likewise.
22978         (SEGV_MAPERR): Likewise.
22979         (SEGV_ACCERR): Likewise.
22980         (BUS_ADRALN): Likewise.
22981         (BUS_ADRERR): Likewise.
22982         (BUS_OBJERR): Likewise.
22983         (BUS_MCEERR_AR): Likewise.
22984         (BUS_MCEERR_AO): Likewise.
22985         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22986         (TRAP_TRACE): Likewise.
22987         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22988         __USE_XOPEN2K8].
22989         (CLD_KILLED): Likewise.
22990         (CLD_DUMPED): Likewise.
22991         (CLD_TRAPPED): Likewise.
22992         (CLD_STOPPED): Likewise.
22993         (CLD_CONTINUED): Likewise.
22994         (POLL_IN): Likewise.
22995         (POLL_OUT): Likewise.
22996         (POLL_MSG): Likewise.
22997         (POLL_ERR): Likewise.
22998         (POLL_PRI): Likewise.
22999         (POLL_HUP): Likewise.
23000         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
23001         Likewise.
23002         (ILL_ILLOPN): Likewise.
23003         (ILL_ILLADR): Likewise.
23004         (ILL_ILLTRP): Likewise.
23005         (ILL_PRVOPC): Likewise.
23006         (ILL_PRVREG): Likewise.
23007         (ILL_COPROC): Likewise.
23008         (ILL_BADSTK): Likewise.
23009         (ILL_BADIADDR): Likewise.
23010         (ILL_BREAK): Likewise.
23011         (FPE_INTDIV): Likewise.
23012         (FPE_INTOVF): Likewise.
23013         (FPE_FLTDIV): Likewise.
23014         (FPE_FLTOVF): Likewise.
23015         (FPE_FLTUND): Likewise.
23016         (FPE_FLTRES): Likewise.
23017         (FPE_FLTINV): Likewise.
23018         (FPE_FLTSUB): Likewise.
23019         (FPE_DECOVF): Likewise.
23020         (FPE_DECDIV): Likewise.
23021         (FPE_DECERR): Likewise.
23022         (FPE_INVASC): Likewise.
23023         (FPE_INVDEC): Likewise.
23024         (SEGV_MAPERR): Likewise.
23025         (SEGV_ACCERR): Likewise.
23026         (SEGV_PSTKOVF): Likewise.
23027         (BUS_ADRALN): Likewise.
23028         (BUS_ADRERR): Likewise.
23029         (BUS_OBJERR): Likewise.
23030         (BUS_MCEERR_AR): Likewise.
23031         (BUS_MCEERR_AO): Likewise.
23032         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23033         (TRAP_TRACE): Likewise.
23034         (TRAP_BRANCH): Likewise.
23035         (TRAP_HWBKPT): Likewise.
23036         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23037         __USE_XOPEN2K8].
23038         (CLD_KILLED): Likewise.
23039         (CLD_DUMPED): Likewise.
23040         (CLD_TRAPPED): Likewise.
23041         (CLD_STOPPED): Likewise.
23042         (CLD_CONTINUED): Likewise.
23043         (POLL_IN): Likewise.
23044         (POLL_OUT): Likewise.
23045         (POLL_MSG): Likewise.
23046         (POLL_ERR): Likewise.
23047         (POLL_PRI): Likewise.
23048         (POLL_HUP): Likewise.
23049         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
23050         (ILL_ILLOPN): Likewise.
23051         (ILL_ILLADR): Likewise.
23052         (ILL_ILLTRP): Likewise.
23053         (ILL_PRVOPC): Likewise.
23054         (ILL_PRVREG): Likewise.
23055         (ILL_COPROC): Likewise.
23056         (ILL_BADSTK): Likewise.
23057         (FPE_INTDIV): Likewise.
23058         (FPE_INTOVF): Likewise.
23059         (FPE_FLTDIV): Likewise.
23060         (FPE_FLTOVF): Likewise.
23061         (FPE_FLTUND): Likewise.
23062         (FPE_FLTRES): Likewise.
23063         (FPE_FLTINV): Likewise.
23064         (FPE_FLTSUB): Likewise.
23065         (SEGV_MAPERR): Likewise.
23066         (SEGV_ACCERR): Likewise.
23067         (BUS_ADRALN): Likewise.
23068         (BUS_ADRERR): Likewise.
23069         (BUS_OBJERR): Likewise.
23070         (BUS_MCEERR_AR): Likewise.
23071         (BUS_MCEERR_AO): Likewise.
23072         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23073         (TRAP_TRACE): Likewise.
23074         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23075         __USE_XOPEN2K8].
23076         (CLD_KILLED): Likewise.
23077         (CLD_DUMPED): Likewise.
23078         (CLD_TRAPPED): Likewise.
23079         (CLD_STOPPED): Likewise.
23080         (CLD_CONTINUED): Likewise.
23081         (POLL_IN): Likewise.
23082         (POLL_OUT): Likewise.
23083         (POLL_MSG): Likewise.
23084         (POLL_ERR): Likewise.
23085         (POLL_PRI): Likewise.
23086         (POLL_HUP): Likewise.
23087         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
23088         (ILL_ILLOPN): Likewise.
23089         (ILL_ILLADR): Likewise.
23090         (ILL_ILLTRP): Likewise.
23091         (ILL_PRVOPC): Likewise.
23092         (ILL_PRVREG): Likewise.
23093         (ILL_COPROC): Likewise.
23094         (ILL_BADSTK): Likewise.
23095         (FPE_INTDIV): Likewise.
23096         (FPE_INTOVF): Likewise.
23097         (FPE_FLTDIV): Likewise.
23098         (FPE_FLTOVF): Likewise.
23099         (FPE_FLTUND): Likewise.
23100         (FPE_FLTRES): Likewise.
23101         (FPE_FLTINV): Likewise.
23102         (FPE_FLTSUB): Likewise.
23103         (SEGV_MAPERR): Likewise.
23104         (SEGV_ACCERR): 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         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23113         __USE_XOPEN2K8].
23114         (CLD_KILLED): Likewise.
23115         (CLD_DUMPED): Likewise.
23116         (CLD_TRAPPED): Likewise.
23117         (CLD_STOPPED): Likewise.
23118         (CLD_CONTINUED): Likewise.
23119         (POLL_IN): Likewise.
23120         (POLL_OUT): Likewise.
23121         (POLL_MSG): Likewise.
23122         (POLL_ERR): Likewise.
23123         (POLL_PRI): Likewise.
23124         (POLL_HUP): Likewise.
23125         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
23126         (ILL_ILLOPN): Likewise.
23127         (ILL_ILLADR): Likewise.
23128         (ILL_ILLTRP): Likewise.
23129         (ILL_PRVOPC): Likewise.
23130         (ILL_PRVREG): Likewise.
23131         (ILL_COPROC): Likewise.
23132         (ILL_BADSTK): Likewise.
23133         (FPE_INTDIV): Likewise.
23134         (FPE_INTOVF): Likewise.
23135         (FPE_FLTDIV): Likewise.
23136         (FPE_FLTOVF): Likewise.
23137         (FPE_FLTUND): Likewise.
23138         (FPE_FLTRES): Likewise.
23139         (FPE_FLTINV): Likewise.
23140         (FPE_FLTSUB): Likewise.
23141         (SEGV_MAPERR): Likewise.
23142         (SEGV_ACCERR): Likewise.
23143         (BUS_ADRALN): Likewise.
23144         (BUS_ADRERR): Likewise.
23145         (BUS_OBJERR): Likewise.
23146         (BUS_MCEERR_AR): Likewise.
23147         (BUS_MCEERR_AO): Likewise.
23148         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23149         (TRAP_TRACE): Likewise.
23150         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23151         __USE_XOPEN2K8].
23152         (CLD_KILLED): Likewise.
23153         (CLD_DUMPED): Likewise.
23154         (CLD_TRAPPED): Likewise.
23155         (CLD_STOPPED): Likewise.
23156         (CLD_CONTINUED): Likewise.
23157         (POLL_IN): Likewise.
23158         (POLL_OUT): Likewise.
23159         (POLL_MSG): Likewise.
23160         (POLL_ERR): Likewise.
23161         (POLL_PRI): Likewise.
23162         (POLL_HUP): Likewise.
23163         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
23164         (ILL_ILLOPN): Likewise.
23165         (ILL_ILLADR): Likewise.
23166         (ILL_ILLTRP): Likewise.
23167         (ILL_PRVOPC): Likewise.
23168         (ILL_PRVREG): Likewise.
23169         (ILL_COPROC): Likewise.
23170         (ILL_BADSTK): Likewise.
23171         (ILL_DBLFLT): Likewise.
23172         (ILL_HARDWALL): 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/x86/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         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
23242         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23244         [BZ #16670]
23245         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
23246         before #include of <time.h>.
23247         [!__USE_XOPEN2K] (__need_timespec): Likewise.
23248         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
23249         (test-xfail-UNIX98/sched.h/conform): Likewise.
23251 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23253         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
23254         error absence of trapping exception support.
23255         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23257 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
23259         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
23260         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
23261         * timezone/Makefile (testdata): Move definition above include of
23262         Rules.
23263         (test-zones): New variable.
23264         (tests-special): Add zone files.
23265         (build-testdata): Use $(evaluate-test).
23267         * elf/Makefile (tests-special): Rename tests to end with .out.
23268         ($(objpfx)noload-mem): Likewise.
23269         ($(objpfx)tst-leaks1-mem): Likewise.
23270         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
23271         * iconv/Makefile (xtests-special): Change test-iconvconfig to
23272         $(objpfx)test-iconvconfig.out.
23273         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
23274         set -e inside subshell and redirect output to file.
23275         * iconvdata/Makefile (generated): Rename tests to end with .out.
23276         Correct type.
23277         (tests-special): Rename tests to end with .out.
23278         ($(objpfx)mtrace-tst-loading): Likewise.
23279         * intl/Makefile (generated): Likewise.
23280         (tests-special): Likewise.
23281         ($(objpfx)mtrace-tst-gettext): Likewise.
23282         * misc/Makefile (generated): Likewise.
23283         (tests-special): Likewise.
23284         ($(objpfx)tst-error1-mem): Likewise.
23285         * nptl/Makefile (tests-special): Likewise.
23286         ($(objpfx)tst-stack3-mem): Likewise.
23287         (generated): Likewise.
23288         * posix/Makefile (generated): Likewise.
23289         (tests-special): Likewise.
23290         (xtests-special): Likewise.
23291         ($(objpfx)tst-fnmatch-mem): Likewise.
23292         ($(objpfx)bug-regex2-mem): Likewise.
23293         ($(objpfx)bug-regex14-mem): Likewise.
23294         ($(objpfx)bug-regex21-mem): Likewise.
23295         ($(objpfx)bug-regex31-mem): Likewise.
23296         ($(objpfx)tst-vfork3-mem): Likewise.
23297         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23298         ($(objpfx)tst-pcre-mem): Likewise.
23299         ($(objpfx)tst-boost-mem): Likewise.
23300         ($(objpfx)bug-ga2-mem): Likewise.
23301         ($(objpfx)bug-glob2-mem): Likewise.
23302         * resolv/Makefile (generate): Likewise.
23303         (tests-special): Likewise.
23304         (xtests-special): Likewise.
23305         (generated): Likewise.
23306         ($(objpfx)mtrace-tst-leaks): Likewise.
23307         ($(objpfx)mtrace-tst-leaks2): Likewise.
23309         * scripts/merge-test-results.sh: New file.
23310         * Makefile (tests-special-notdir): New variable.
23311         (tests): Run merge-test-results.sh.
23312         (xtests): Likewise.
23313         * Rules (tests-special-notdir): New variable.
23314         (xtests-special-notdir): Likewise.
23315         (tests): Run merge-test-results.sh
23316         (xtests): Likewise.
23318         * Makeconfig (test-xfail-name): New variable.
23319         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
23320         compute variable name for expected failures.
23321         * conform/Makefile (conformtest-headers-data): New variable.
23322         (conformtest-standards): Likewise.
23323         (conformtest-headers-ISO): Likewise.
23324         (conformtest-headers-ISO99): Likewise.
23325         (conformtest-headers-ISO11): Likewise.
23326         (conformtest-headers-POSIX): Likewise.
23327         (conformtest-headers-XPG3): Likewise.
23328         (conformtest-headers-XPG4): Likewise.
23329         (conformtest-headers-UNIX98): Likewise.
23330         (conformtest-headers-XOPEN2K): Likewise.
23331         (conformtest-headers-POSIX2008): Likewise.
23332         (conformtest-headers-XOPEN2K8): Likewise.
23333         (conformtest-header-list-base): Likewise.
23334         (conformtest-header-list-tests): Likewise.
23335         (conformtest-header-base): Likewise.
23336         (conformtest-header-tests): Likewise.
23337         (tests-special): Add $(conformtest-header-list-tests).  If
23338         [$(fast-check) && !$(cross-compiling)], add
23339         $(conformtest-header-tests) instead of
23340         $(objpfx)run-conformtest.out.
23341         (generated): Add $(conformtest-header-list-base).  If
23342         [$(fast-check) && !$(cross-compiling)], add
23343         $(conformtest-header-base).  Remove previous setting.
23344         ($(conformtest-header-list-tests)): New target.
23345         (test-xfail-run-conformtest): Remove variable.
23346         ($(objpfx)run-conformtest.out): Remove target.
23347         (test-xfail-ISO11/complex.h/conform): New variable.
23348         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23349         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23350         (test-xfail-XPG3/varargs.h/conform): Likewise.
23351         (test-xfail-XPG4/varargs.h/conform): Likewise.
23352         (test-xfail-UNIX98/varargs.h/conform): Likewise.
23353         (test-xfail-XPG4/ndbm.h/conform): Likewise.
23354         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
23355         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
23356         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
23357         (test-xfail-XPG3/fcntl.h/conform): Likewise.
23358         (test-xfail-XPG3/ftw.h/conform): Likewise.
23359         (test-xfail-XPG3/grp.h/conform): Likewise.
23360         (test-xfail-XPG3/langinfo.h/conform): Likewise.
23361         (test-xfail-XPG3/limits.h/conform): Likewise.
23362         (test-xfail-XPG3/pwd.h/conform): Likewise.
23363         (test-xfail-XPG3/search.h/conform): Likewise.
23364         (test-xfail-XPG3/signal.h/conform): Likewise.
23365         (test-xfail-XPG3/stdio.h/conform): Likewise.
23366         (test-xfail-XPG3/stdlib.h/conform): Likewise.
23367         (test-xfail-XPG3/string.h/conform): Likewise.
23368         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
23369         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
23370         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
23371         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
23372         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
23373         (test-xfail-XPG3/sys/types.h/conform): Likewise.
23374         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
23375         (test-xfail-XPG3/termios.h/conform): Likewise.
23376         (test-xfail-XPG3/time.h/conform): Likewise.
23377         (test-xfail-XPG3/unistd.h/conform): Likewise.
23378         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
23379         (test-xfail-XPG4/fcntl.h/conform): Likewise.
23380         (test-xfail-XPG4/langinfo.h/conform): Likewise.
23381         (test-xfail-XPG4/netdb.h/conform): Likewise.
23382         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
23383         (test-xfail-XPG4/signal.h/conform): Likewise.
23384         (test-xfail-XPG4/stdio.h/conform): Likewise.
23385         (test-xfail-XPG4/stdlib.h/conform): Likewise.
23386         (test-xfail-XPG4/stropts.h/conform): Likewise.
23387         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
23388         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
23389         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
23390         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
23391         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
23392         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
23393         (test-xfail-XPG4/sys/time.h/conform): Likewise.
23394         (test-xfail-XPG4/sys/types.h/conform): Likewise.
23395         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
23396         (test-xfail-XPG4/termios.h/conform): Likewise.
23397         (test-xfail-XPG4/ucontext.h/conform): Likewise.
23398         (test-xfail-XPG4/unistd.h/conform): Likewise.
23399         (test-xfail-XPG4/utmpx.h/conform): Likewise.
23400         (test-xfail-POSIX/sched.h/conform): Likewise.
23401         (test-xfail-POSIX/signal.h/conform): Likewise.
23402         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23403         (test-xfail-POSIX/tar.h/conform): Likewise.
23404         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
23405         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
23406         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
23407         (test-xfail-UNIX98/netdb.h/conform): Likewise.
23408         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
23409         (test-xfail-UNIX98/sched.h/conform): Likewise.
23410         (test-xfail-UNIX98/signal.h/conform): Likewise.
23411         (test-xfail-UNIX98/stdio.h/conform): Likewise.
23412         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
23413         (test-xfail-UNIX98/stropts.h/conform): Likewise.
23414         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
23415         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
23416         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
23417         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
23418         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
23419         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
23420         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
23421         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
23422         (test-xfail-UNIX98/unistd.h/conform): Likewise.
23423         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
23424         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
23425         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
23426         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
23427         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
23428         (test-xfail-XOPEN2K/math.h/conform): Likewise.
23429         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
23430         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
23431         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
23432         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
23433         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
23434         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
23435         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
23436         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
23437         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
23438         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
23439         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
23440         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
23441         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
23442         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
23443         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
23444         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23445         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
23446         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
23447         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
23448         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
23449         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
23450         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
23451         (test-xfail-POSIX2008/signal.h/conform): Likewise.
23452         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
23453         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
23454         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
23455         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
23456         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
23457         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
23458         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23459         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
23460         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
23461         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
23462         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
23463         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
23464         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
23465         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
23466         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
23467         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
23468         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
23469         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
23470         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
23471         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
23472         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23473         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23474         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
23475         (conformtest-cc-flags): Likewise.
23476         ($(conformtest-header-tests): New target.
23477         * conform/check-header-lists.sh: New file.
23478         * conform/run-conformtest.sh: Remove.
23480         * conform/conformtest.pl: Allow ' and \ in values given for
23481         constants.
23482         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
23483         inclusion.
23484         [POSIX] (sys/types.h): Likewise.
23485         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
23486         inclusion.
23487         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
23488         inclusion.
23489         * conform/data/signal.h-data (SIGIO): Remove expectation.
23490         [XPG3] (SIGBUS): Do not expect.
23491         [POSIX || XPG3] (SIGPOLL): Likewise.
23492         [POSIX || XPG3] (SIGPROF): Likewise.
23493         [POSIX || XPG3] (SIGSYS): Likewise.
23494         [XPG3] (SIGTRAP): Likewise.
23495         [POSIX || XPG3] (SIGURG): Likewise.
23496         [POSIX || XPG3] (SIGVTALRM): Likewise.
23497         [POSIX || XPG3] (SIGXCPU): Likewise.
23498         [POSIX || XPG3] (SIGXFSZ): Likewise.
23499         [POSIX] (SA_SIGINFO): Expect.
23500         [XPG3] (siginfo_t): Do not expect type or contents.
23501         [POSIX] (si_pid): Do not expect element.
23502         [POSIX] (si_uid): Likewise.
23503         [POSIX] (si_addr): Likewise.
23504         [POSIX] (si_status): Likewise.
23505         [POSIX] (si_band): Likewise.
23506         [XPG4] (si_value): Likewise.
23507         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
23508         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
23509         [POSIX || XPG3] (ILL_ILLADR): Likewise.
23510         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
23511         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
23512         [POSIX || XPG3] (ILL_PRVREG): Likewise.
23513         [POSIX || XPG3] (ILL_COPROC): Likewise.
23514         [POSIX || XPG3] (ILL_BADSTK): Likewise.
23515         [POSIX || XPG3] (FPE_INTDIV): Likewise.
23516         [POSIX || XPG3] (FPE_INTOVF): Likewise.
23517         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
23518         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
23519         [POSIX || XPG3] (FPE_FLTUND): Likewise.
23520         [POSIX || XPG3] (FPE_FLTRES): Likewise.
23521         [POSIX || XPG3] (FPE_FLTINV): Likewise.
23522         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
23523         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
23524         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
23525         [POSIX || XPG3] (BUS_ADRALN): Likewise.
23526         [POSIX || XPG3] (BUS_ADRERR): Likewise.
23527         [POSIX || XPG3] (BUS_OBJERR): Likewise.
23528         [POSIX || XPG3] (CLD_EXITED): Likewise.
23529         [POSIX || XPG3] (CLD_KILLED): Likewise.
23530         [POSIX || XPG3] (CLD_DUMPED): Likewise.
23531         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
23532         [POSIX || XPG3] (CLD_STOPPED): Likewise.
23533         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
23534         [POSIX || XPG3] (POLL_IN): Likewise.
23535         [POSIX || XPG3] (POLL_OUT): Likewise.
23536         [POSIX || XPG3] (POLL_MSG): Likewise.
23537         [POSIX || XPG3] (POLL_ERR): Likewise.
23538         [POSIX || XPG3] (POLL_PRI): Likewise.
23539         [POSIX || XPG3] (POLL_HUP): Likewise.
23540         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
23541         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
23542         (SIG*): Do not allow.
23543         [XPG3] (si_*): Likewise.
23544         [XPG3] (SI_*): Likewise.
23545         [XPG3 || XPG4] (sigev_*): Likewise.
23546         [XPG3 || XPG4] (SIGEV_*): Likewise.
23547         [XPG3 || XPG4] (sival_*): Likewise.
23548         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
23549         [POSIX || XPG3] (BUS_*): Likewise.
23550         [POSIX || XPG3] (CLD_*): Likewise.
23551         [POSIX || XPG3] (FPE_*): Likewise.
23552         [POSIX || XPG3] (ILL_*): Likewise.
23553         [POSIX || XPG3] (POLL_*): Likewise.
23554         [POSIX || XPG3] (SEGV_*): Likewise.
23555         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
23556         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
23557         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
23558         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
23559         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
23560         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
23561         Specify type and value.
23562         (TVERSLEN): Likewise.
23563         (REGTYPE): Likewise.
23564         (AREGTYPE): Likewise.
23565         (LNKTYPE): Likewise.
23566         (SYMTYPE): Likewise.
23567         (CHRTYPE): Likewise.
23568         (BLKTYPE): Likewise.
23569         (DIRTYPE): Likewise.
23570         (FIFOTYPE): Likewise.
23571         (CONTTYPE): Likewise.
23572         (TSUID): Likewise.
23573         (TSGID): Likewise.
23574         (TSVTX): Likewise.
23575         (TUREAD): Likewise.
23576         (TUWRITE): Likewise.
23577         (TUEXEC): Likewise.
23578         (TGREAD): Likewise.
23579         (TGWRITE): Likewise.
23580         (TGEXEC): Likewise.
23581         (TOREAD): Likewise.
23582         (TOWRITE): Likewise.
23583         (TOEXEC): Likewise.
23584         [POSIX] (TSVTX): Expect constant.
23586 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
23588         * Makefile (tests): Change dependencies to ....
23589         (tests-special): ... additions to this variable.
23590         (tests): Depend on $(tests-special).
23591         * Makerules (check-abi-list): New variable.
23592         (check-abi): Depend on $(check-abi-list).
23593         [$(subdir) = elf] (tests-special): Add
23594         $(objpfx)check-abi-libc.out.
23595         [$(build-shared) = yes && subdir] (tests-special): Add
23596         $(check-abi-list).
23597         [$(build-shared) = yes && subdir] (tests): Do not depend on
23598         check-abi.
23599         * Rules (tests): Depend on $(tests-special).
23600         (xtests): Depend on $(xtests-special).
23601         * catgets/Makefile (tests): Change dependencies to ....
23602         (tests-special): ... additions to this variable.
23603         * conform/Makefile (tests): Change dependencies to ....
23604         (tests-special): ... additions to this variable.
23605         * elf/Makefile (tests): Change dependencies to ....
23606         (tests-special): ... additions to this variable.
23607         * grp/Makefile (tests): Change dependencies to ....
23608         (tests-special): ... additions to this variable.
23609         * iconv/Makefile (xtests): Change dependencies to ....
23610         (xtests-special): ... additions to this variable.
23611         * iconvdata/Makefile (tests): Change dependencies to ....
23612         (tests-special): ... additions to this variable.
23613         * intl/Makefile (tests): Change dependencies to ....
23614         (tests-special): ... additions to this variable.  Also add
23615         $(objpfx)tst-gettext.out.
23616         * io/Makefile (tests): Change dependencies to ....
23617         (tests-special): ... additions to this variable.
23618         * libio/Makefile (tests): Change dependencies to ....
23619         (tests-special): ... additions to this variable.
23620         * malloc/Makefile (tests): Change dependencies to ....
23621         (tests-special): ... additions to this variable.
23622         * misc/Makefile (tests): Change dependencies to ....
23623         (tests-special): ... additions to this variable.
23624         * nptl/Makefile (tests): Change dependencies to ....
23625         (tests-special): ... additions to this variable.
23626         * nptl_db/Makefile (tests): Change dependencies to ....
23627         (tests-special): ... additions to this variable.
23628         * posix/Makefile (tests): Change dependencies to ....
23629         (tests-special): ... additions to this variable.
23630         (xtests): Change dependencies to ....
23631         (xtests-special): ... additions to this variable.
23632         * resolv/Makefile (tests): Change dependencies to ....
23633         (tests-special): ... additions to this variable.
23634         (xtests): Change dependencies to ....
23635         (xtests-special): ... additions to this variable.
23636         * stdio-common/Makefile (tests): Change dependencies to ....
23637         (tests-special): ... additions to this variable.
23638         (do-tst-unbputc): Remove target.
23639         (do-tst-printf): Likewise.
23640         * stdlib/Makefile (tests): Change dependencies to ....
23641         (tests-special): ... additions to this variable.
23642         * string/Makefile (tests): Change dependencies to ....
23643         (tests-special): ... additions to this variable.
23644         * sysdeps/x86/Makefile (tests): Change dependencies to ....
23645         (tests-special): ... additions to this variable.
23647         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23648         whole file.
23649         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23650         whole file.
23651         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23652         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23654         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23655         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23656         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23657         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23658         * conform/data/libgen.h-data [XPG3]: Likewise.
23659         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23660         * conform/data/ndbm.h-data [XPG3]: Likewise.
23661         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23662         * conform/data/netdb.h-data [XPG3]: Likewise.
23663         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23664         * conform/data/poll.h-data [XPG3]: Likewise.
23665         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23666         * conform/data/strings.h-data [XPG3]: Likewise.
23667         * conform/data/stropts.h-data [XPG3]: Likewise.
23668         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23669         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23670         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23671         Likewise.
23672         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23673         * conform/data/sys/time.h-data [XPG3]: Likewise.
23674         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23675         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23676         * conform/data/sys/un.h-data [XPG3]: Likewise.
23677         * conform/data/syslog.h-data [XPG3]: Likewise.
23678         * conform/data/ucontext.h-data [XPG3]: Likewise.
23679         * conform/data/utmpx.h-data [XPG3]: Likewise.
23680         * conform/data/varargs.h-data [UNIX98]: Enable file.
23682         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23684         * math/libm-test.inc (struct test_f_f_data): Move expected results
23685         into structure for each rounding mode.
23686         (struct test_ff_f_data): Likewise.
23687         (struct test_ff_f_data_nexttoward): Likewise.
23688         (struct test_fi_f_data): Likewise.
23689         (struct test_fl_f_data): Likewise.
23690         (struct test_if_f_data): Likewise.
23691         (struct test_fff_f_data): Likewise.
23692         (struct test_c_f_data): Likewise.
23693         (struct test_f_f1_data): Likewise.
23694         (struct test_fF_f1_data): Likewise.
23695         (struct test_ffI_f1_data): Likewise.
23696         (struct test_c_c_data): Likewise.
23697         (struct test_cc_c_data): Likewise.
23698         (struct test_f_i_data): Likewise.
23699         (struct test_ff_i_data): Likewise.
23700         (struct test_f_l_data): Likewise.
23701         (struct test_f_L_data): Likewise.
23702         (struct test_fFF_11_data): Likewise.
23703         (RM_): New macro.
23704         (RM_FE_DOWNWARD): Likewise.
23705         (RM_FE_TONEAREST): Likewise.
23706         (RM_FE_TOWARDZERO): Likewise.
23707         (RM_FE_UPWARD): Likewise.
23708         (RUN_TEST_LOOP_f_f): Update references to expected results.
23709         (RUN_TEST_LOOP_2_f): Likewise.
23710         (RUN_TEST_LOOP_fff_f): Likewise.
23711         (RUN_TEST_LOOP_c_f): Likewise.
23712         (RUN_TEST_LOOP_f_f1): Likewise.
23713         (RUN_TEST_LOOP_fF_f1): Likewise.
23714         (RUN_TEST_LOOP_fI_f1): Likewise.
23715         (RUN_TEST_LOOP_ffI_f1): Likewise.
23716         (RUN_TEST_LOOP_c_c): Likewise.
23717         (RUN_TEST_LOOP_cc_c): Likewise.
23718         (RUN_TEST_LOOP_f_i): Likewise.
23719         (RUN_TEST_LOOP_f_i_tg): Likewise.
23720         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23721         (RUN_TEST_LOOP_f_b): Likewise.
23722         (RUN_TEST_LOOP_f_b_tg): Likewise.
23723         (RUN_TEST_LOOP_f_l): Likewise.
23724         (RUN_TEST_LOOP_f_L): Likewise.
23725         (RUN_TEST_LOOP_fFF_11): Likewise.
23726         * math/gen-libm-test.pl (parse_args): Output four copies of
23727         expected results for each test.
23729         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23730         (__ASSUME_UTIMES): Remove.
23731         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23732         (__ASSUME_UTIMES): Likewise.
23734         * math/gen-auto-libm-tests.c: Update comment on output format.
23735         (output_for_one_input_case): Generate before-rounding and
23736         after-rounding information as conditions on output flags not
23737         floating-point format.
23738         * math/auto-libm-test-out: Regenerated.
23739         * math/gen-libm-test.pl (cond_value): New function.
23740         (or_cond_value): Use cond_value.
23741         (generate_testfile): Handle conditional exceptions.
23743 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23745         * math/libm-test.inc (max_valid_error): New variable.
23746         (init_max_error): Take new argument specifying whether function
23747         results are exactly determined.  Set max_valid_error and bound
23748         other variables for errors based on this argument.
23749         (set_max_error): Do not record results above max_valid_error.
23750         (check_float_internal): Only accept errors of up to 0.5ulps if
23751         also at most max_valid_error.
23752         (START): Take new argument EXACT and pass it to init_max_error.
23753         (acos_test): Update call to START.
23754         (acos_test_tonearest): Likewise.
23755         (acos_test_towardzero): Likewise.
23756         (acos_test_downward): Likewise.
23757         (acos_test_upward): Likewise.
23758         (acosh_test): Likewise.
23759         (asin_test): Likewise.
23760         (asin_test_tonearest): Likewise.
23761         (asin_test_towardzero): Likewise.
23762         (asin_test_downward): Likewise.
23763         (asin_test_upward): Likewise.
23764         (asinh_test): Likewise.
23765         (atan_test): Likewise.
23766         (atanh_test): Likewise.
23767         (atan2_test): Likewise.
23768         (cabs_test): Likewise.
23769         (cacos_test): Likewise.
23770         (cacosh_test): Likewise.
23771         (carg_test): Likewise.
23772         (casin_test): Likewise.
23773         (casinh_test): Likewise.
23774         (catan_test): Likewise.
23775         (catanh_test): Likewise.
23776         (cbrt_test): Likewise.
23777         (ccos_test): Likewise.
23778         (ccosh_test): Likewise.
23779         (ceil_test): Likewise.
23780         (cexp_test): Likewise.
23781         (cimag_test): Likewise.
23782         (clog_test): Likewise.
23783         (clog10_test): Likewise.
23784         (conj_test): Likewise.
23785         (copysign_test): Likewise.
23786         (cos_test): Likewise.
23787         (cos_test_tonearest): Likewise.
23788         (cos_test_towardzero): Likewise.
23789         (cos_test_downward): Likewise.
23790         (cos_test_upward): Likewise.
23791         (cosh_test): Likewise.
23792         (cosh_test_tonearest): Likewise.
23793         (cosh_test_towardzero): Likewise.
23794         (cosh_test_downward): Likewise.
23795         (cosh_test_upward): Likewise.
23796         (cpow_test): Likewise.
23797         (cproj_test): Likewise.
23798         (creal_test): Likewise.
23799         (csin_test): Likewise.
23800         (csinh_test): Likewise.
23801         (csqrt_test): Likewise.
23802         (ctan_test): Likewise.
23803         (ctan_test_tonearest): Likewise.
23804         (ctan_test_towardzero): Likewise.
23805         (ctan_test_downward): Likewise.
23806         (ctan_test_upward): Likewise.
23807         (ctanh_test): Likewise.
23808         (ctanh_test_tonearest): Likewise.
23809         (ctanh_test_towardzero): Likewise.
23810         (ctanh_test_downward): Likewise.
23811         (ctanh_test_upward): Likewise.
23812         (erf_test): Likewise.
23813         (erfc_test): Likewise.
23814         (exp_test): Likewise.
23815         (exp_test_tonearest): Likewise.
23816         (exp_test_towardzero): Likewise.
23817         (exp_test_downward): Likewise.
23818         (exp_test_upward): Likewise.
23819         (exp10_test): Likewise.
23820         (exp10_test_tonearest): Likewise.
23821         (exp10_test_towardzero): Likewise.
23822         (exp10_test_downward): Likewise.
23823         (exp10_test_upward): Likewise.
23824         (pow10_test): Likewise.
23825         (exp2_test): Likewise.
23826         (expm1_test): Likewise.
23827         (expm1_test_tonearest): Likewise.
23828         (expm1_test_towardzero): Likewise.
23829         (expm1_test_downward): Likewise.
23830         (expm1_test_upward): Likewise.
23831         (fabs_test): Likewise.
23832         (fdim_test): Likewise.
23833         (floor_test): Likewise.
23834         (fma_test): Likewise.
23835         (fma_test_towardzero): Likewise.
23836         (fma_test_downward): Likewise.
23837         (fma_test_upward): Likewise.
23838         (fmax_test): Likewise.
23839         (fmin_test): Likewise.
23840         (fmod_test): Likewise.
23841         (fpclassify_test): Likewise.
23842         (frexp_test): Likewise.
23843         (hypot_test): Likewise.
23844         (ilogb_test): Likewise.
23845         (isfinite_test): Likewise.
23846         (finite_test): Likewise.
23847         (isgreater_test): Likewise.
23848         (isgreaterequal_test): Likewise.
23849         (isinf_test): Likewise.
23850         (isless_test): Likewise.
23851         (islessequal_test): Likewise.
23852         (islessgreater_test): Likewise.
23853         (isnan_test): Likewise.
23854         (isnormal_test): Likewise.
23855         (issignaling_test): Likewise.
23856         (isunordered_test): Likewise.
23857         (j0_test): Likewise.
23858         (j1_test): Likewise.
23859         (jn_test): Likewise.
23860         (ldexp_test): Likewise.
23861         (lgamma_test): Likewise.
23862         (gamma_test): Likewise.
23863         (lrint_test): Likewise.
23864         (lrint_test_tonearest): Likewise.
23865         (lrint_test_towardzero): Likewise.
23866         (lrint_test_downward): Likewise.
23867         (lrint_test_upward): Likewise.
23868         (llrint_test): Likewise.
23869         (llrint_test_tonearest): Likewise.
23870         (llrint_test_towardzero): Likewise.
23871         (llrint_test_downward): Likewise.
23872         (llrint_test_upward): Likewise.
23873         (log_test): Likewise.
23874         (log10_test): Likewise.
23875         (log1p_test): Likewise.
23876         (log2_test): Likewise.
23877         (logb_test): Likewise.
23878         (logb_test_downward): Likewise.
23879         (lround_test): Likewise.
23880         (llround_test): Likewise.
23881         (modf_test): Likewise.
23882         (nearbyint_test): Likewise.
23883         (nextafter_test): Likewise.
23884         (nexttoward_test): Likewise.
23885         (pow_test): Likewise.
23886         (pow_test_tonearest): Likewise.
23887         (pow_test_towardzero): Likewise.
23888         (pow_test_downward): Likewise.
23889         (pow_test_upward): Likewise.
23890         (remainder_test): Likewise.
23891         (drem_test): Likewise.
23892         (remainder_test_tonearest): Likewise.
23893         (drem_test_tonearest): Likewise.
23894         (remainder_test_towardzero): Likewise.
23895         (drem_test_towardzero): Likewise.
23896         (remainder_test_downward): Likewise.
23897         (drem_test_downward): Likewise.
23898         (remainder_test_upward): Likewise.
23899         (drem_test_upward): Likewise.
23900         (remquo_test): Likewise.
23901         (rint_test): Likewise.
23902         (rint_test_tonearest): Likewise.
23903         (rint_test_towardzero): Likewise.
23904         (rint_test_downward): Likewise.
23905         (rint_test_upward): Likewise.
23906         (round_test): Likewise.
23907         (scalb_test): Likewise.
23908         (scalbn_test): Likewise.
23909         (scalbln_test): Likewise.
23910         (signbit_test): Likewise.
23911         (sin_test): Likewise.
23912         (sin_test_tonearest): Likewise.
23913         (sin_test_towardzero): Likewise.
23914         (sin_test_downward): Likewise.
23915         (sin_test_upward): Likewise.
23916         (sincos_test): Likewise.
23917         (sinh_test): Likewise.
23918         (sinh_test_tonearest): Likewise.
23919         (sinh_test_towardzero): Likewise.
23920         (sinh_test_downward): Likewise.
23921         (sinh_test_upward): Likewise.
23922         (sqrt_test): Likewise.
23923         (sqrt_test_tonearest): Likewise.
23924         (sqrt_test_towardzero): Likewise.
23925         (sqrt_test_downward): Likewise.
23926         (sqrt_test_upward): Likewise.
23927         (tan_test): Likewise.
23928         (tan_test_tonearest): Likewise.
23929         (tan_test_towardzero): Likewise.
23930         (tan_test_downward): Likewise.
23931         (tan_test_upward): Likewise.
23932         (tanh_test): Likewise.
23933         (tgamma_test): Likewise.
23934         (trunc_test): Likewise.
23935         (y0_test): Likewise.
23936         (y1_test): Likewise.
23937         (yn_test): Likewise.
23938         (significand_test): Likewise.
23940         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23941         individual tests in comment.
23942         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23943         (prev_max_error): New variable.
23944         (prev_real_max_error): Likewise.
23945         (prev_imag_max_error): Likewise.
23946         (compare_ulp_data): Don't refer to test names in comment.
23947         (find_test_ulps): Remove function.
23948         (find_function_ulps): Likewise.
23949         (find_complex_function_ulps): Likewise.
23950         (init_max_error): Take function name as argument.  Look up ulps
23951         for that function.
23952         (print_ulps): Remove function.
23953         (print_max_error): Use prev_max_error instead of calling
23954         find_function_ulps.
23955         (print_complex_max_error): Use prev_real_max_error and
23956         prev_imag_max_error instead of calling find_complex_function_ulps.
23957         (check_float_internal): Take max_ulp parameter instead of calling
23958         find_test_ulps.  Don't call print_ulps.
23959         (check_float): Update call to check_float_internal.
23960         (check_complex): Update calls to check_float_internal.
23961         (START): Pass argument to init_max_error.
23962         * math/gen-libm-test.pl (%results): Don't include "kind"
23963         information.
23964         (parse_ulps): Don't handle ulps of individual tests.
23965         (print_ulps_file): Likewise.
23966         (output_ulps): Likewise.
23967         * math/README.libm-test: Update.
23968         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23969         individual tests.
23970         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23971         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23972         * sysdeps/arm/libm-test-ulps: Likewise.
23973         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23974         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23975         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23976         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23977         * sysdeps/microblaze/libm-test-ulps: Likewise.
23978         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23979         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23980         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23981         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23982         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23983         * sysdeps/sh/libm-test-ulps: Likewise.
23984         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23985         * sysdeps/tile/libm-test-ulps: Likewise.
23986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23988 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23990         * math/libm-test.inc (print_complex_max_error): Check separately
23991         whether real and imaginary errors are within allowed range and
23992         pass 0 to print_complex_function_ulps instead of value within
23993         allowed range.
23995 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23997         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23998         formatting.
23999         (get_handles_fopen): Likewise.
24000         (do_write_test): Likewise.
24002         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
24004         * libio/fileops.c (do_ftell): Use cached offset when
24005         available.
24006         * libio/iofwide.c (do_ftell_wide): Likewise.
24007         * libio/iofdopen.c (_IO_new_fdopen): Don't use
24008         _IO_file_attach.
24009         * libio/wfileops.c (_IO_fwide): Don't cache offset.
24011         [BZ #16532]
24012         * libio/libioP.h (get_file_offset): New function.
24013         * libio/fileops.c (get_file_offset): Likewise.
24014         (do_ftell): Likewise.
24015         (_IO_new_file_seekoff): Split out ftell logic.
24016         * libio/wfileops.c (do_ftell_wide): Likewise.
24017         (_IO_wfile_seekoff): Split out ftell logic.
24018         * libio/tst-ftell-active-handler.c: New test case.
24019         * libio/Makefile (tests): Add it.
24021 2014-03-03  Roland McGrath  <roland@hack.frob.com>
24023         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
24024         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
24026 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24028         [BZ #16639]
24029         * nscd/connections.c (nscd_init): Call do_exit.
24030         (start_threads): Call do_exit and notify_parent.
24031         (begin_drop_privileges): Call do_exit.
24032         (finish_drop_privileges): Likewise.
24033         * nscd/selinux.c (preserve_capabilities): Likewise.
24034         (install_real_capabilities): Likewise.
24035         (nscd_selinux_enabled): Likewise.
24036         (avc_create_thread): Likewise.
24037         (avc_alloc_lock): Likewise.
24038         (nscd_avc_init): Likewise.
24039         * nscd/nscd.c (parent_fd): New static variable.
24040         (main): Create a pipe between parent and child processes.
24041         Skip closing parent_fd.
24042         (monitor_child): New function.
24043         (do_exit): Likewise.
24044         (notify_parent): Likewise.
24045         * nscd/nscd.h (notify_parent): Likewise.
24046         (do_exit): Likewise.
24048 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
24050         * malloc/malloc.c (__libc_calloc): Revert last change.
24052 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24054         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24056 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24058         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
24059         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
24060         implementation.
24061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24062         (__libc_ifunc_impl_list): Likewise.
24063         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
24064         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
24065         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
24066         * string/strrchr.c: Define STRRCHR.
24068 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
24070         * benchtest/bench-strtok.c (simple_strtok): Delete.
24071         (strtok_string): Use as benchmark.
24072         * string/strtok (STRTOK): New macro.
24074 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
24076         * manual/threads.texi: Add header and standard comments to all
24077         functions.
24079         * elf/dl-lookup.c (check_match): New function.
24080         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
24081         (do_lookup_x): Remove nested function check_match. Use non-nested
24082         function check_match.
24084 2014-02-28  Roland McGrath  <roland@hack.frob.com>
24086         * csu/Makefile (generated, before-compile): Use += rather than =.
24087         * catgets/Makefile (generated, generated-dirs): Likewise.
24088         * debug/Makefile (generated): Likewise.
24089         * dlfcn/Makefile (generated): Likewise.
24090         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
24091         * iconvdata/Makefile (before-compile, generated): Likewise.
24092         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
24093         * libio/Makefile (generated): Likewise.
24094         * malloc/Makefile (generated): Likewise.
24095         * manual/Makefile (generated, generated-dirs): Likewise.
24096         * misc/Makefile (generated): Likewise.
24097         * posix/Makefile (generated): Likewise.
24098         * resolv/Makefile (generated): Likewise.
24099         * sunrpc/Makefile (generated, generated-dirs): Likewise.
24100         * timezone/Makefile (generated, generated-dirs): Likewise.
24102         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
24104 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24106         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24107         power8 implementation.
24108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
24109         file: POWER8 llround ifunc implementation.
24110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24111         (__lllround): Add POWER8 implementation.
24112         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
24113         POWER8 llround implementation.
24115         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
24116         power8 implementation.
24117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
24118         file: POWER8 llrint ifunc implementation.
24119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
24120         Add POWER8 implementation.
24121         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
24122         POWER8 llrint implementation.
24124         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
24125         power8 implementation.
24126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
24127         file: POWER8 finite ifunc implementation.
24128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
24129         Add POWER8 implementation.
24130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
24131         Likewise.
24132         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
24133         POWER8 finite implementation.
24134         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
24136         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
24137         power8 implementation.
24138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
24139         file: POWER8 isinf ifunc implementation.
24140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
24141         POWER8 implementation.
24142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
24143         Likewise.
24144         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
24145         isinf implementation.
24146         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
24148         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24149         (INIT_ARCH): Add hwcap2 initialization.
24150         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24151         power8 implementation.
24152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
24153         file: POWER8 isnan ifunc implementation.
24154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
24155         POWER8 implementation.
24156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
24157         Likewise.
24158         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
24159         isnan implementation.
24160         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
24162 2014-02-27  Joey Ye  <joey.ye@arm.com>
24164         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24165         (_FP_NANFRAC_Q): Set to zero.
24167 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24169         [BZ #16623]
24170         * math/auto-libm-test-in: New test inputs.
24171         * math/auto-libm-test-out: Regenerate.
24172         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
24173         and DA.
24174         (__cos): Likewise.
24175         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24177 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
24179         * scripts/evaluate-test.sh: Take new argument indicating whether
24180         failure is expected.
24181         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
24182         indicating whether failure is expected.
24183         * conform/Makefile (test-xfail-run-conformtest): New variable.
24184         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
24185         level.
24186         * posix/Makefile (test-xfail-annexc): New variable.
24187         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
24189 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
24191         * argp/Makefile: Include Makeconfig immediately after defining
24192         subdir.
24193         * assert/Makefile: Likewise.
24194         * benchtests/Makefile: Likewise.
24195         * catgets/Makefile: Likewise.
24196         * conform/Makefile: Likewise.
24197         * crypt/Makefile: Likewise.
24198         * csu/Makefile: Likewise.
24199         (all): Remove target.
24200         * ctype/Makefile: Include Makeconfig immediately after defining
24201         subdir.
24202         * debug/Makefile: Likewise.
24203         * dirent/Makefile: Likewise.
24204         * dlfcn/Makefile: Likewise.
24205         * gmon/Makefile: Likewise.
24206         * gnulib/Makefile: Likewise.
24207         * grp/Makefile: Likewise.
24208         * gshadow/Makefile: Likewise.
24209         * hesiod/Makefile: Likewise.
24210         * hurd/Makefile: Likewise.
24211         (all): Remove target.
24212         * iconvdata/Makefile: Include Makeconfig immediately after
24213         defining subdir.
24214         * inet/Makefile: Likewise.
24215         * intl/Makefile: Likewise.
24216         * io/Makefile: Likewise.
24217         * libio/Makefile: Likewise.
24218         (all): Remove target.
24219         * locale/Makefile: Include Makeconfig immediately after defining
24220         subdir.
24221         * login/Makefile: Likewise.
24222         * mach/Makefile: Likewise.
24223         (all): Remove target.
24224         * malloc/Makefile: Include Makeconfig immediately after defining
24225         subdir.
24226         (all): Remove target.
24227         * manual/Makefile: Include Makeconfig immediately after defining
24228         subdir.
24229         * math/Makefile: Likewise.
24230         * misc/Makefile: Likewise.
24231         * nis/Makefile: Likewise.
24232         * nss/Makefile: Likewise.
24233         * po/Makefile: Likewise.
24234         (all): Remove target.
24235         * posix/Makefile: Include Makeconfig immediately after defining
24236         subdir.
24237         * pwd/Makefile: Likewise.
24238         * resolv/Makefile: Likewise.
24239         * resource/Makefile: Likewise.
24240         * rt/Makefile: Likewise.
24241         * setjmp/Makefile: Likewise.
24242         * shadow/Makefile: Likewise.
24243         * signal/Makefile: Likewise.
24244         * socket/Makefile: Likewise.
24245         * soft-fp/Makefile: Likewise.
24246         * stdio-common/Makefile: Likewise.
24247         * stdlib/Makefile: Likewise.
24248         * streams/Makefile: Likewise.
24249         * string/Makefile: Likewise.
24250         * sunrpc/Makefile: Likewise.
24251         (all): Remove target.
24252         * sysvipc/Makefile: Include Makeconfig immediately after defining
24253         subdir.
24254         * termios/Makefile: Likewise.
24255         * time/Makefile: Likewise.
24256         * timezone/Makefile: Likewise.
24257         (all): Remove target.
24258         * wcsmbs/Makefile: Include Makeconfig immediately after defining
24259         subdir.
24260         * wctype/Makefile: Likewise.
24262 2014-02-26  Steve Ellcey  <sellcey@mips.com>
24264         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
24265         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
24266         (libc_feholdexcept_setround_mips): Ditto.
24267         (libc_feholdsetround): New.
24268         (libc_feholdsetroundf): New.
24269         (libc_feholdsetroundl): New.
24270         (libc_feupdateenv_test_mips): New.
24271         (libc_feupdateenv_test): New.
24272         (libc_feupdateenv_testf): New.
24273         (libc_feupdateenv_testl): New.
24274         (libc_feresetround): New.
24275         (libc_feresetroundf): New.
24276         (libc_feresetroundl): New.
24277         (libc_fetestexcept_mips): New.
24278         (libc_fetestexcept): New.
24279         (libc_fetestexceptf): New.
24280         (libc_fetestexceptl): New.
24281         (HAVE_RM_CTX): New.
24282         (libc_feholdexcept_setround_mips_ctx): New.
24283         (libc_feholdexcept_setround_ctx): New.
24284         (libc_feholdexcept_setroundf_ctx): New.
24285         (libc_feholdexcept_setroundl_ctx): New.
24286         (libc_fesetenv_mips_ctx): New.
24287         (libc_fesetenv_ctx): New.
24288         (libc_fesetenv_ctxf): New.
24289         (libc_fesetenv_ctxl): New.
24290         (libc_feupdateenv_mips_ctx): New.
24291         (libc_feupdateenv_ctx): New.
24292         (libc_feupdateenvf_ctx): New.
24293         (libc_feupdateenvl_ctx): New.
24294         (libc_feholdsetround_mips_ctx): New.
24295         (libc_feholdsetround_ctx): New.
24296         (libc_feholdsetroundf_ctx): New.
24297         (libc_feholdsetroundl_ctx): New.
24298         (libc_feresetround_mips_ctx): New.
24299         (libc_feresetround_ctx): New.
24300         (libc_feresetroundf_ctx): New.
24301         (libc_feresetroundl_ctx): New.
24303 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
24305         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
24307         * manual/ipc.texi: New file.
24308         * manual/Makefile (chapters): Add ipc.
24309         * manual/job.texi: Add "Inter-Process Communication" to next.
24310         * manual/process.texi: Add "Inter-Process Communication" to prev.
24312 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24316 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
24318         * malloc/malloc.c (__libc_calloc): Simplify implementation.
24320         * manual/arith.texi: Fix spaces after sentences.
24321         * manual/charset.texi: Likewise.
24322         * manual/errno.texi: Likewise.
24323         * manual/install.texi: Likewise.
24324         * manual/llio.texi: Likewise.
24325         * manual/locale.texi: Likewise.
24326         * manual/maint.texi: Likewise.
24327         * manual/math.texi: Likewise.
24328         * manual/memory.texi: Likewise.
24329         * manual/message.texi: Likewise.
24330         * manual/probes.texi: Likewise.
24331         * manual/resource.texi: Likewise.
24332         * manual/signal.texi: Likewise.
24333         * manual/socket.texi: Likewise.
24334         * manual/stdio.texi: Likewise.
24335         * manual/string.texi: Likewise.
24336         * manual/time.texi: Likewise.
24337         * manual/users.texi: Likewise.
24339 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
24341         [BZ #16632]
24342         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
24343         _DEFAULT_SOURCE is defined.
24345 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
24346             Carlos O'Donell  <carlos@redhat.com>
24348         [BZ #16613]
24349         * elf/dl-tls.c (_dl_count_modids): New function.
24350         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
24351         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
24352         audit library and increment generation counter.
24353         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
24354         * elf/tst-audit9.c: New file.
24355         * elf/tst-auditmod9a.c: New file.
24356         * elf/tst-auditmod9b.c: New file.
24357         * elf/Makefile: Add rules to build and run tst-audit9.
24359 2014-02-25  Florian Weimer  <fweimer@redhat.com>
24361         [BZ #15347]
24362         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
24364 2014-02-25  Will Newton  <will.newton@linaro.org>
24366         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
24367         (__longjmp): Restore sp and lr before restoring callee
24368         saved registers.  Add longjmp and longjmp_target
24369         SystemTap probe point.
24370         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
24371         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
24372         Define to zero to match jmpbuf layout.
24373         * sysdeps/arm/setjmp.S: Include stap-probe.h.
24374         (__sigsetjmp): Save sp and lr before saving callee
24375         saved registers.  Add setjmp SystemTap probe point.
24377 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24379         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24381 2014-02-24  Andreas Schwab  <schwab@suse.de>
24383         [BZ #15804]
24384         * elf/pldd.c (wait_for_ptrace_stop): New function.
24385         (main): Call it after attaching.
24387 2014-02-22  Roland McGrath  <roland@hack.frob.com>
24389         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
24390         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
24391         Versions files is now verboten.
24392         * hurd/Versions (libc: GLIBC_2.0):
24393         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
24394         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
24395         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
24396         * mach/Versions: Likewise.
24398         * csu/Versions: Remove unused %include.
24399         * resolv/Versions: Likewise.
24401 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
24403         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
24404         ($(objpfx)check-local-headers.out): Likewise.
24405         ($(objpfx)begin-end-check.out): Likewise.
24406         * Makerules (check-abi-%.out): Likewise.
24407         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
24408         ($(objpfx)test2.cat): Likewise.
24409         ($(objpfx)de/libc.cat): Likewise.
24410         ($(objpfx)test-gencat.out): Likewise.
24411         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
24412         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
24413         ($(objpfx)noload-mem): Likewise.
24414         ($(objpfx)tst-pathopt.out): Likewise.
24415         ($(objpfx)tst-rtld-load-self.out): Likewise.
24416         ($(objpfx)tst-array1-cmp.out): Likewise.
24417         ($(objpfx)tst-array1-static-cmp.out): Likewise.
24418         ($(objpfx)tst-array2-cmp.out): Likewise.
24419         ($(objpfx)tst-array3-cmp.out): Likewise.
24420         ($(objpfx)tst-array4-cmp.out): Likewise.
24421         ($(objpfx)tst-array5-cmp.out): Likewise.
24422         ($(objpfx)tst-array5-static-cmp.out): Likewise.
24423         ($(objpfx)check-textrel.out): Likewise.
24424         ($(objpfx)check-execstack.out): Likewise.
24425         ($(objpfx)check-localplt.out): Likewise.
24426         ($(objpfx)order2-cmp.out): Likewise.
24427         ($(objpfx)tst-leaks1-mem): Likewise.
24428         ($(objpfx)tst-leaks1-static-mem): Likewise.
24429         ($(objpfx)tst-initorder-cmp.out): Likewise.
24430         ($(objpfx)tst-initorder2-cmp.out): Likewise.
24431         ($(objpfx)tst-unused-dep.out): Likewise.
24432         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
24433         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
24434         * iconv/Makefile (test-iconvconfig): Likewise.
24435         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
24436         ($(objpfx)iconv-test.out): Likewise.
24437         ($(objpfx)tst-tables.out): Likewise.
24438         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
24439         ($(objpfx)tst-gettext.out): Likewise.
24440         ($(objpfx)tst-translit.out): Likewise.
24441         ($(objpfx)tst-gettext2.out): Likewise.
24442         ($(objpfx)tst-gettext4.out): Likewise.
24443         ($(objpfx)tst-gettext6.out): Likewise.
24444         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
24445         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
24446         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
24447         ($(objpfx)tst-fopenloc-mem.out): Likewise.
24448         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
24449         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
24450         * posix/Makefile ($(objpfx)globtest.out): Likewise.
24451         ($(objpfx)wordexp-tst.out): Likewise.
24452         ($(objpfx)annexc.out): Likewise.
24453         ($(objpfx)tst-fnmatch-mem): Likewise.
24454         ($(objpfx)bug-regex2-mem): Likewise.
24455         ($(objpfx)bug-regex14-mem): Likewise.
24456         ($(objpfx)bug-regex21-mem): Likewise.
24457         ($(objpfx)bug-regex31-mem): Likewise.
24458         ($(objpfx)tst-vfork3-mem): Likewise.
24459         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24460         ($(objpfx)tst-pcre-mem): Likewise.
24461         ($(objpfx)tst-boost-mem): Likewise.
24462         ($(objpfx)tst-getconf.out): Likewise.
24463         ($(objpfx)bug-ga2-mem): Likewise.
24464         ($(objpfx)bug-glob2-mem): Likewise.
24465         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
24466         ($(objpfx)mtrace-tst-leaks2): Likewise.
24467         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
24468         ($(objpfx)tst-printf.out): Likewise.
24469         ($(objpfx)tst-setvbuf1.out): Likewise.
24470         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
24471         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
24472         ($(objpfx)tst-fmtmsg.out): Likewise.
24473         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
24474         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
24476         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
24477         * bits/sigaction.h [__USE_MISC]: Likewise.
24478         * bits/waitstatus.h: Update #endif comments.
24479         * ctype/ctype.h: Likewise.
24480         * dirent/dirent.h: Likewise.
24481         [__USE_MISC]: Remove redundant conditionals.
24482         * grp/grp.h: Update #endif comments.
24483         [__USE_GNU]: Remove redundant conditionals.
24484         [__USE_MISC]: Likewise.
24485         * inet/netinet/in.h [__USE_GNU]: Likewise.
24486         * io/sys/stat.h [__USE_MISC]: Likewise.
24487         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
24488         * libio/bits/stdio.h: Update #endif comments.
24489         [__USE_MISC]: Remove redundant conditionals.
24490         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
24491         * libio/stdio.h: Update #endif comments.
24492         [__USE_MISC]: Remove redundant conditionals.
24493         * math/bits/math-finite.h [__USE_MISC]: Likewise.
24494         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
24495         * math/math.h: Update #else and #endif comments.
24496         [__USE_MISC]: Remove redundant conditionals.
24497         * misc/sys/uio.h: Update #endif comments.
24498         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
24499         * posix/glob.h [__USE_MISC]: Likewise.
24500         * posix/sys/types.h: Update #endif comments.
24501         [__USE_MISC]: Remove redundant conditionals.
24502         * posix/sys/wait.h: Update #endif comments.
24503         [__USE_MISC]: Remove redundant conditionals.
24504         * posix/unistd.h: Update #endif comments.
24505         [__USE_MISC]: Remove redundant conditionals.
24506         * pwd/pwd.h [__USE_GNU]: Likewise.
24507         [__USE_MISC]: Likewise.
24508         * resolv/netdb.h [__USE_GNU]: Likewise.
24509         * signal/signal.h: Update #endif comments.
24510         [__USE_MISC]: Remove redundant conditionals.
24511         * stdlib/stdlib.h: Update #else and #endif comments.
24512         [__USE_MISC]: Remove redundant conditionals.
24513         [__USE_GNU]: Likewise.
24514         * string/bits/string2.h [__USE_MISC]: Likewise.
24515         * string/string.h: Update #endif comments.
24516         [__USE_MISC]: Remove redundant conditionals.
24517         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
24518         Likewise.
24519         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
24520         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
24521         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
24522         Likewise.
24523         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
24524         Likewise.
24525         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
24526         comments.
24527         [__USE_MISC]: Remove redundant conditionals.
24528         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
24529         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
24530         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
24531         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
24532         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
24533         Likewise.
24534         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
24535         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
24536         Likewise.
24537         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
24538         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
24539         Likewise.
24540         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
24541         Likewise.
24542         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
24543         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
24544         Likewise.
24545         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
24546         Likewise.
24547         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
24548         * sysdeps/x86/bits/string.h: Update #endif comments.
24549         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
24550         conditionals.
24551         * time/sys/time.h: Update #endif comments.
24552         * time/time.h: Likewise.
24553         [__USE_MISC]: Remove redundant conditionals.
24555 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
24557         [BZ #16600]
24558         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
24560 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
24562         * Versions.def (librt): Add GLIBC_2.17.
24564 2014-02-21  Adam Conrad  <adconrad@0c3.net>
24566         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
24567         synonym for _SYS_AUXV_H to allow direct inclusion.
24568         * sysdeps/sparc/bits/hwcap.h: Likewise.
24569         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
24570         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
24571         * sysdeps/sparc/sysdep.h: Likewise.
24573 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24575         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
24577 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24579         * benchtests/bench-strrchr.c: Print length instead of position.
24581 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
24583         [BZ #16611]
24584         * sysdeps/unix/sysv/linux/kernel-features.h
24585         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
24586         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24587         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
24588         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
24589         Likewise.
24590         [__i386__ || __powerpc__ || __sh__ || __sparc__]
24591         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24592         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
24593         (__ASSUME_SENDMMSG): Define instead of using previous
24594         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
24595         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24596         (__ASSUME_SENDMMSG_SYSCALL): Define.
24597         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24598         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
24599         Likewise.
24600         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24601         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24602         Likewise.
24603         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24604         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24605         Likewise.
24606         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24607         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24608         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24609         [__ASSUME_SENDMMSG]: Change conditionals to
24610         [__ASSUME_SENDMMSG_SOCKETCALL].
24611         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24612         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24613         Define.
24614         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24615         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24616         Likewise.
24617         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24618         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24619         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24620         [!__ASSUME_SENDMMSG]: Change conditional to
24621         [!__ASSUME_SENDMMSG_SOCKETCALL].
24622         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24623         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24624         Define.
24626         [BZ #16610]
24627         * sysdeps/unix/sysv/linux/kernel-features.h
24628         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24629         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24630         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24631         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24632         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24633         [__i386__ || __sparc__]
24634         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24635         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24636         (__ASSUME_RECVMMSG): Define instead of using previous
24637         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24638         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24639         (__ASSUME_RECVMMSG_SYSCALL): Define.
24640         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24641         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24642         Likewise.
24643         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24644         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24645         Likewise.
24646         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24647         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24648         Likewise.
24649         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24650         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24651         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24652         [__ASSUME_RECVMMSG]: Change condition to
24653         [__ASSUME_RECVMMSG_SOCKETCALL].
24654         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24655         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24656         Define.
24657         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24658         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24659         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24660         Likewise.
24661         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24662         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24663         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24664         [!__ASSUME_RECVMMSG]: Change condition to
24665         [!__ASSUME_RECVMMSG_SOCKETCALL].
24666         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24667         (__ASSUME_RECVMMSG_SYSCALL): Define.
24669         [BZ #16609]
24670         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24671         __powerpc__ || __s390__ || __sh__ || __sparc__]
24672         (__ASSUME_SOCKETCALL): Define.
24673         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24674         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24675         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24676         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24677         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24678         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24679         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24680         (__ASSUME_ACCEPT4): Define instead of using previous
24681         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24682         __powerpc__ || __sparc__ || __s390__)] condition.
24683         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24684         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24685         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24686         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24687         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24688         [!__ASSUME_ACCEPT4]: Change condition to
24689         [!__ASSUME_ACCEPT4_SOCKETCALL].
24690         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24691         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24692         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24693         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24694         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24695         __ASSUME_ACCEPT4_SYSCALL.
24696         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24697         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24698         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24699         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24700         __ASSUME_ACCEPT4_SYSCALL.
24701         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24702         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24703         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24704         [__ASSUME_ACCEPT4]: Change condition to
24705         [__ASSUME_ACCEPT4_SOCKETCALL].
24706         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24707         (__ASSUME_SOCKETCALL): Define.
24708         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24709         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24710         (__ASSUME_SOCKETCALL): Define.
24711         (__ASSUME_ACCEPT4): Remove.
24712         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24713         Define.
24714         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24715         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24716         Likewise.
24717         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24718         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24720         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24721         macro.
24722         (HWCAP_ARM_LPAE): Likewise.
24723         (HWCAP_ARM_EVTSTRM): Likewise.
24724         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24725         Add vpfd32, lpae and evtstrm.
24726         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24727         Increase to 22.
24729 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24731         * math/auto-libm-test-in: Add tests of clog10.
24732         * math/auto-libm-test-out: Regenerated.
24733         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24734         * sysdeps/i386/fpu/libm-test-ulps: Update.
24735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24737 2014-02-18  Andreas Schwab  <schwab@suse.de>
24739         [BZ #16574]
24740         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24741         Store non-zero if the second buffer was newly allocated.
24742         (send_dg): Likewise.
24743         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24744         to send_vc and send_dg.
24745         (res_nsend): Pass NULL for ansp2_malloced.
24746         * resolv/res_query.c (__libc_res_nquery): Add parameter
24747         answerp2_malloced and pass it down to __libc_res_nsend.
24748         (res_nquery): Pass additional NULL to __libc_res_nquery.
24749         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24750         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24751         second answer buffer if answerp2_malloced was set.
24752         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24753         (__libc_res_nquerydomain): Add parameter
24754         answerp2_malloced and pass it down to __libc_res_nquery.
24755         (res_nquerydomain): Pass additional NULL to
24756         __libc_res_nquerydomain.
24757         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24758         additional NULL to __libc_res_nsend and __libc_res_nquery.
24759         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24760         additional NULL to __libc_res_nsearch.
24761         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24762         parameter of __libc_res_nsearch to check for separately allocated
24763         second buffer.
24764         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24765         __libc_res_nquery.
24766         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24767         additional NULL to __libc_res_nquery.
24768         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24769         __libc_res_nsearch.
24770         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24771         * include/resolv.h: Update prototypes of __libc_res_nquery,
24772         __libc_res_nsearch, __libc_res_nsend.
24774 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24776         * math/auto-libm-test-in: Add tests of fma.
24777         * math/auto-libm-test-out: Regenerated.
24778         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24779         (fma_towardzero_test_data): Likewise.
24780         (fma_downward_test_data): Likewise.
24781         (fma_upward_test_data): Likewise.
24782         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24783         mpc_mode.
24784         (rounding_modes): Add values for new field.
24785         (func_calc_method): Add value mpfr_fff_f.
24786         (func_calc_desc): Add mpfr_fff_f union field.
24787         (test_function): Add field exact_args.
24788         (FUNC): Add macro argument EXACT_ARGS.
24789         (FUNC_mpfr_f_f): Update call to FUNC.
24790         (FUNC_mpfr_f_f): Likewise.
24791         (FUNC_mpfr_ff_f): Likewise.
24792         (FUNC_mpfr_if_f): Likewise.
24793         (FUNC_mpc_c_f): Likewise.
24794         (FUNC_mpc_c_c): Likewise.
24795         (test_functions): Add fma.  Update calls to FUNC.
24796         (handle_input_arg): Add argument exact_args.
24797         (add_test): Update call to handle_input_arg.
24798         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24799         (output_for_one_input_case): Update call to calc_generic_results.
24800         Recalculate exact zero results in each rounding mode.
24802         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24803         non-negative before setting low bit.
24804         * math/auto-libm-test-in: Mark one asin test possibly having
24805         spurious underflow.
24806         * math/auto-libm-test-out: Regenerated.
24807         * sysdeps/i386/fpu/libm-test-ulps: Update.
24808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24810 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24812         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24813         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24814         ports/sysdeps/unix/sysv/linux/microblaze.
24815         * README: Add missing listing for microblaze*-*-linux-gnu.
24817 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24819         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24820         duplicate code
24822 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24824         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24825         * sysdeps/unix/sysv/linux/ia64: Move directory from
24826         ports/sysdeps/unix/sysv/linux/ia64.
24827         * README: Update listing for ia64-*-linux-gnu.
24829 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24830             Joseph Myers  <joseph@codesourcery.com>
24832         * Makeconfig (test-name): New variable.
24833         (evaluate-test): Likewise.
24834         * Makerules (do-test-clean): Remove .test-result files.
24835         (common-mostlyclean): Likewise.
24836         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24837         * scripts/evaluate-test.sh: New file.
24839 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24841         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24842         separate $(objpfx)tst-fopenloc-cmp.out and
24843         $(objpfx)tst-fopenloc-mem.out targets.
24844         (tests): Update dependencies.
24845         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24846         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24847         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24848         (tst-rxspencer-no-utf8-ARGS): New variable.
24849         (tst-rxspencer-no-utf8-ENV): Likewise.
24850         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24851         instead of $(objpfx)tst-rxspencer-mem.
24852         ($(objpfx)tst-rxspencer-mem): Change target to
24853         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24854         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24855         * posix/tst-rxspencer-no-utf8.c: New file.
24857         * elf/Makefile ($(objpfx)order.out): Remove rule.
24858         [$(run-built-tests) = yes] (tests): Depend on
24859         $(objpfx)order-cmp.out.
24860         ($(objpfx)order-cmp.out): New rule.
24861         [$(run-built-tests) = yes] (tests): Depend on
24862         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24863         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24864         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24865         $(objpfx)tst-array5-static-cmp.out.
24866         ($(objpfx)tst-array1.out): Remove rule.
24867         ($(objpfx)tst-array1-cmp.out): New rule.
24868         ($(objpfx)tst-array1-static.out): Remove rule.
24869         ($(objpfx)tst-array1-static-cmp.out): New rule.
24870         ($(objpfx)tst-array2.out): Remove rule.
24871         ($(objpfx)tst-array2-cmp.out): New rule.
24872         ($(objpfx)tst-array3.out): Remove rule.
24873         ($(objpfx)tst-array3-cmp.out): New rule.
24874         ($(objpfx)tst-array4.out): Remove rule.
24875         ($(objpfx)tst-array4-cmp.out): New rule.
24876         ($(objpfx)tst-array5.out): Remove rule.
24877         ($(objpfx)tst-array5-cmp.out): New rule.
24878         ($(objpfx)tst-array5-static.out): Remove rule.
24879         ($(objpfx)tst-array5-static-cmp.out): New rule.
24880         [$(run-built-tests) = yes] (tests): Depend on
24881         $(objpfx)order2-cmp.out.
24882         ($(objpfx)order2.out): Remove rule.
24883         ($(objpfx)order2-cmp.out): New rule.
24884         ($(objpfx)tst-initorder.out): Remove rule.
24885         [$(run-built-tests) = yes] (tests): Depend on
24886         $(objpfx)tst-initorder-cmp.out.
24887         ($(objpfx)tst-initorder-cmp.out): New rule.
24888         ($(objpfx)tst-initorder2.out): Remove rule.
24889         [$(run-built-tests) = yes] (tests): Depend on
24890         $(objpfx)tst-initorder2-cmp.out.
24891         ($(objpfx)tst-initorder2-cmp.out): New rule.
24892         [$(run-built-tests) = yes] (tests): Depend on
24893         $(objpfx)tst-unused-dep-cmp.out.
24894         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24895         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24896         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24897         on $(objpfx)tst-setvbuf1-cmp.out.
24898         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24899         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24900         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24901         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24902         ($(objpfx)tst-svc.out): Remove rule.
24903         ($(objpfx)tst-svc-cmp.out): New rule.
24905 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24907         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24908         * ctype/ctype.h [__USE_MISC]: Likewise.
24909         * dirent/dirent.h [__USE_MISC]: Likewise.
24910         * grp/grp.h [__USE_MISC]: Likewise.
24911         * io/fcntl.h [__USE_MISC]: Likewise.
24912         * io/sys/stat.h [__USE_MISC]: Likewise.
24913         * libio/stdio.h [__USE_MISC]: Likewise.
24914         * posix/unistd.h [__USE_MISC]: Likewise.
24915         * pwd/pwd.h [__USE_MISC]: Likewise.
24916         * stdlib.h [__USE_MISC]: Likewise.
24917         * string/bits/string2.h [__USE_MISC]: Likewise.
24918         * string/string.h [__USE_MISC]: Likewise.
24919         * time/time.h [__USE_MISC]: Likewise.
24921 2014-02-13  Andreas Schwab  <schwab@suse.de>
24923         [BZ #16574]
24924         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24925         second answer buffer if it was separately allocated.
24927 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24929         * sysdeps/mips/math-tests.h: Include <features.h>.
24930         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24931         (ROUNDING_TESTS_long_double): Do not define.
24932         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24933         (EXCEPTION_TESTS_long_double): Likewise.
24934         * sysdeps/mips/mips64/libm-test-ulps: Update.
24936         * include/features.h (__USE_BSD): Remove macro definitions.
24937         (__USE_SVID): Likewise.
24938         (_BSD_SOURCE): Likewise.
24939         (_SVID_SOURCE): Likewise.
24940         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24941         from definition of _DEFAULT_SOURCE.
24942         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24943         [_DEFAULT_SOURCE].
24944         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24945         * bits/mman.h [__USE_BSD]: Likewise.
24946         * bits/termios.h [__USE_BSD]: Likewise.
24947         * bits/waitstatus.h [__USE_BSD]: Likewise.
24948         * ctype/ctype.h [__USE_SVID]: Likewise.
24949         * dirent/dirent.h [__USE_BSD]: Likewise.
24950         * grp/grp.h [__USE_SVID]: Likewise.
24951         [__USE_BSD]: Likewise.
24952         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24953         * io/fcntl.h [__USE_BSD]: Likewise.
24954         * io/ftw.h [__USE_BSD]: Likewise.
24955         * io/sys/stat.h [__USE_BSD]: Likewise.
24956         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24957         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24958         * libio/stdio.h [__USE_SVID]: Likewise.
24959         [__USE_BSD]: Likewise.
24960         * math/math.h [__USE_SVID]: Likewise.
24961         [__USE_BSD]: Likewise.
24962         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24963         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24964         * misc/search.h [__USE_SVID]: Likewise.
24965         * misc/sys/mman.h [__USE_BSD]: Likewise.
24966         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24967         * misc/sys/uio.h [__USE_BSD]: Likewise.
24968         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24969         * posix/glob.h [__USE_BSD]: Likewise.
24970         * posix/regex.h [__USE_BSD]: Likewise.
24971         * posix/sys/types.h [__USE_BSD]: Likewise.
24972         [__USE_SVID]: Likewise.
24973         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24974         * posix/sys/wait.h [__USE_BSD]: Likewise.
24975         [__USE_SVID]: Likewise.
24976         * posix/unistd.h [__USE_BSD]: Likewise.
24977         [__USE_SVID]: Likewise.
24978         * pwd/pwd.h [__USE_SVID]: Likewise.
24979         * resolv/netdb.h [__USE_BSD]: Likewise.
24980         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24981         * signal/signal.h [__USE_BSD]: Likewise.
24982         [__USE_SVID]: Likewise.
24983         * socket/sys/socket.h [__USE_BSD]: Likewise.
24984         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24985         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24986         [__USE_SVID]: Likewise.
24987         * string/bits/string2.h [__USE_BSD]: Likewise.
24988         [__USE_SVID]: Likewise.
24989         * string/bits/string3.h [__USE_BSD]: Likewise.
24990         * string/endian.h [__USE_BSD]: Likewise.
24991         * string/string.h [__USE_SVID]: Likewise.
24992         [__USE_BSD]: Likewise.
24993         * string/strings.h [__USE_BSD]: Likewise.
24994         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24995         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24996         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24997         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24998         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24999         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
25000         Likewise.
25001         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
25002         Likewise.
25003         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
25004         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
25005         Likewise.
25006         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
25007         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
25008         Likewise.
25009         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
25010         Likewise.
25011         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
25012         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
25013         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
25014         Likewise.
25015         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
25016         Likewise.
25017         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
25018         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
25019         * termios/termios.h [__USE_BSD]: Likewise.
25020         * time/sys/time.h [__USE_BSD]: Likewise.
25021         * time/time.h [__USE_BSD]: Likewise.
25022         [__USE_SVID]: Likewise.
25024         * Makefile (subdir_targets): Remove subdir_lint.out.
25026         * stdio-common/Makefile (do-tst-unbputc): Remove target.
25027         (do-tst-printf): Likewise.
25028         (tests): Depend directly on $(objpfx)tst-unbputc.out and
25029         $(objpfx)tst-printf.out.
25031         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
25033         * Makerules (check-abi-%): Change target to
25034         $(objpfx)check-abi-%.out.
25035         (check-abi target): Update dependencies.
25036         (check-abi-pattern variable): Redirect output of diff to $@.
25037         (check-abi variable): Likewise.
25038         * elf/Makefile (check-abi): Update dependencies.
25040         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
25041         unused.
25042         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
25043         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
25044         subnormal range.
25045         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
25046         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
25047         value has largest subnormal exponent.
25048         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
25049         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
25050         * sysdeps/aarch64/soft-fp/sfp-machine.h
25051         (_FP_TININESS_AFTER_ROUNDING): New macro.
25052         * sysdeps/alpha/soft-fp/sfp-machine.h
25053         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25054         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25055         Likewise.
25056         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
25057         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25058         * sysdeps/mips/soft-fp/sfp-machine.h
25059         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25060         * sysdeps/powerpc/soft-fp/sfp-machine.h
25061         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25062         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25063         Likewise.
25064         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25065         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25066         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25067         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25068         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25069         Likewise.
25071 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
25073         [BZ #16545]
25074         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
25075         model 1.
25077 2014-02-12  Richard Henderson  <rth@redhat.com>
25079         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
25080         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
25081         * sysdeps/unix/sysv/linux/alpha: Move directory from
25082         ports/sysdeps/unix/sysv/linux/alpha.
25083         * README: Update listing for alpha-*-linux-gnu.
25085 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
25087         * include/features.h: Update comment documenting feature test
25088         macros.
25089         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
25090         _DEFAULT_SOURCE.
25091         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
25092         (_SVID_SOURCE): Likewise.
25093         (_DEFAULT_SOURCE): Update description of default features.
25094         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
25095         with _GNU_SOURCE.
25096         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
25097         (S_ISVTX): Likewise.
25098         * manual/math.texi (Mathematical Constants): Likewise.
25099         * manual/signal.texi (Interrupted Primitives): Likewise.
25100         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
25101         * math/test-matherr.c (_SVID_SOURCE): Do not define.
25102         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
25103         Don't refer to _SVID_SOURCE in warning text.
25105         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25107         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
25108         already defined.
25109         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
25110         * sysdeps/mips/dl-lookup.c: Remove.
25111         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
25113 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25115         [BZ #16447]
25116         * math/auto-libm-test-in: Add testcase for expl.
25117         * math/auto-libm-test-out: Regenerate.
25118         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
25119         calculation of unsafe.
25120         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
25122 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25124         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
25125         * sysdeps/unix/sysv/linux/aarch64: Move directory from
25126         ports/sysdeps/unix/sysv/linux/aarch64.
25127         * README: Update listing for aarch64*-*-linux-gnu.
25129 2014-02-11  Will Newton  <will.newton@linaro.org>
25131         * manual/probes.texi (Mathematical Function Probes): Use
25132         "triggered" instead of "hit".
25134         * manual/probes.texi (Internal Probes): Add documentation
25135         of setjmp, longjmp and longjmp_target probes.
25137         * include/stap-probe.h: Add comment about probe argument
25138         format.
25140         * malloc/mtrace.c (attribute_hidden): Remove unused macro
25141         definition.  (tr_where, tr_freehook, tr_mallochook,
25142         tr_reallochook, tr_memalignhook): Use ANSI protoype.
25144 2014-02-11  David S. Miller  <davem@davemloft.net>
25146         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
25147         processing int_tests.
25149 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
25151         * sysdeps/mips: Move directory from ports/sysdeps/mips.
25152         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
25153         * sysdeps/unix/sysv/linux/mips: Move directory from
25154         ports/sysdeps/unix/sysv/linux/mips.
25155         * README: Update listing for mips-*-linux-gnu and
25156         mips64-*-linux-gnu.
25158 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
25160         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
25161         * sysdeps/unix/sysv/linux/m68k: Move directory from
25162         ports/sysdeps/unix/sysv/linux/m68k.
25163         * README: Update listing for m68k-*-linux-gnu.
25165 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
25167         * sysdeps/tile: Move directory from ports/sysdeps/tile.
25168         * sysdeps/unix/sysv/linux/generic: Move directory from
25169         ports/sysdeps/unix/sysv/linux/generic.
25170         * sysdeps/unix/sysv/linux/tile: Move directory from
25171         ports/sysdeps/unix/sysv/linux/tile.
25172         * README: Update listing for tile*-*-linux-gnu.
25174 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
25176         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
25177         __builtin_expect.
25178         * benchtests/bench-memmem.c (simple_memmem): Likewise.
25179         * catgets/open_catalog.c (__open_catalog): Likewise.
25180         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
25181         * debug/confstr_chk.c: Likewise.
25182         * debug/fread_chk.c (__fread_chk): Likewise.
25183         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
25184         * debug/getgroups_chk.c: Likewise.
25185         * debug/mbsnrtowcs_chk.c: Likewise.
25186         * debug/mbsrtowcs_chk.c: Likewise.
25187         * debug/mbstowcs_chk.c: Likewise.
25188         * debug/memcpy_chk.c: Likewise.
25189         * debug/memmove_chk.c: Likewise.
25190         * debug/mempcpy_chk.c: Likewise.
25191         * debug/memset_chk.c: Likewise.
25192         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25193         * debug/strcat_chk.c (__strcat_chk): Likewise.
25194         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
25195         * debug/strncat_chk.c (__strncat_chk): Likewise.
25196         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
25197         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
25198         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
25199         * debug/wcpncpy_chk.c: Likewise.
25200         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25201         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
25202         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
25203         * debug/wcsncpy_chk.c: Likewise.
25204         * debug/wcsnrtombs_chk.c: Likewise.
25205         * debug/wcsrtombs_chk.c: Likewise.
25206         * debug/wcstombs_chk.c: Likewise.
25207         * debug/wmemcpy_chk.c: Likewise.
25208         * debug/wmemmove_chk.c: Likewise.
25209         * debug/wmempcpy_chk.c: Likewise.
25210         * debug/wmemset_chk.c: Likewise.
25211         * dirent/scandirat.c (SCANDIRAT): Likewise.
25212         * dlfcn/dladdr1.c (dladdr1): Likewise.
25213         * dlfcn/dladdr.c (dladdr): Likewise.
25214         * dlfcn/dlclose.c (dlclose_doit): Likewise.
25215         * dlfcn/dlerror.c (__dlerror): Likewise.
25216         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
25217         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
25218         * dlfcn/dlopen.c (dlopen_doit): Likewise.
25219         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
25220         * dlfcn/dlsym.c (dlsym_doit): Likewise.
25221         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
25222         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
25223         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
25224         Likewise.
25225         * elf/dl-conflict.c: Likewise.
25226         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25227         * elf/dl-dst.h: Likewise.
25228         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
25229         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
25230         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25231         * elf/dl-init.c (call_init, _dl_init): Likewise.
25232         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
25233         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
25234         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
25235         Likewise.
25236         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
25237         Likewise.
25238         * elf/dl-minimal.c (__libc_memalign): Likewise.
25239         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
25240         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25241         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
25242         * elf/dl-sym.c (do_sym): Likewise.
25243         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
25244         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
25245         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
25246         * elf/dl-writev.h (_dl_writev): Likewise.
25247         * elf/ldconfig.c (search_dir): Likewise.
25248         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
25249         (dl_main): Likewise.
25250         * elf/setup-vdso.h (setup_vdso): Likewise.
25251         * grp/compat-initgroups.c (compat_call): Likewise.
25252         * grp/fgetgrent.c (fgetgrent): Likewise.
25253         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
25254         * grp/putgrent.c (putgrent): Likewise.
25255         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25256         Likewise.
25257         * hurd/hurdinit.c: Likewise.
25258         * iconvdata/8bit-gap.c (struct): Likewise.
25259         * iconvdata/ansi_x3.110.c : Likewise.
25260         * iconvdata/big5.c : Likewise.
25261         * iconvdata/big5hkscs.c : Likewise.
25262         * iconvdata/cp1255.c: Likewise.
25263         * iconvdata/cp1258.c : Likewise.
25264         * iconvdata/cp932.c : Likewise.
25265         * iconvdata/euc-cn.c: Likewise.
25266         * iconvdata/euc-jisx0213.c : Likewise.
25267         * iconvdata/euc-jp.c: Likewise.
25268         * iconvdata/euc-jp-ms.c : Likewise.
25269         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
25270         * iconvdata/gb18030.c : Likewise.
25271         * iconvdata/gbbig5.c (const): Likewise.
25272         * iconvdata/gbgbk.c: Likewise.
25273         * iconvdata/gbk.c : Likewise.
25274         * iconvdata/ibm1364.c : Likewise.
25275         * iconvdata/ibm930.c : Likewise.
25276         * iconvdata/ibm932.c: Likewise.
25277         * iconvdata/ibm933.c : Likewise.
25278         * iconvdata/ibm935.c : Likewise.
25279         * iconvdata/ibm937.c : Likewise.
25280         * iconvdata/ibm939.c : Likewise.
25281         * iconvdata/ibm943.c: Likewise.
25282         * iconvdata/iso_11548-1.c: Likewise.
25283         * iconvdata/iso-2022-cn.c : Likewise.
25284         * iconvdata/iso-2022-cn-ext.c : Likewise.
25285         * iconvdata/iso-2022-jp-3.c: Likewise.
25286         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
25287         * iconvdata/iso-2022-kr.c : Likewise.
25288         * iconvdata/iso646.c (gconv_end): Likewise.
25289         * iconvdata/iso_6937-2.c : Likewise.
25290         * iconvdata/iso_6937.c : Likewise.
25291         * iconvdata/iso8859-1.c: Likewise.
25292         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
25293         * iconvdata/shift_jisx0213.c : Likewise.
25294         * iconvdata/sjis.c : Likewise.
25295         * iconvdata/t.61.c : Likewise.
25296         * iconvdata/tcvn5712-1.c : Likewise.
25297         * iconvdata/tscii.c: Likewise.
25298         * iconvdata/uhc.c : Likewise.
25299         * iconvdata/unicode.c (gconv_end): Likewise.
25300         * iconvdata/utf-16.c (gconv_end): Likewise.
25301         * iconvdata/utf-32.c (gconv_end): Likewise.
25302         * iconvdata/utf-7.c (base64): Likewise.
25303         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
25304         * iconv/gconv_close.c (__gconv_close): Likewise.
25305         * iconv/gconv_open.c (__gconv_open): Likewise.
25306         * iconv/gconv_simple.c (internal_ucs4_loop_single)
25307         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
25308         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
25309         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
25310         (ucs4le_internal_loop_single): Likewise.
25311         * iconv/iconv.c (iconv): Likewise.
25312         * iconv/iconv_close.c: Likewise.
25313         * iconv/loop.c (SINGLE): Likewise.
25314         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
25315         * include/atomic.h: Likewise.
25316         * inet/inet6_option.c (option_alloc): Likewise.
25317         * intl/bindtextdom.c (set_binding_values): Likewise.
25318         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
25319         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
25320         * intl/localealias.c (read_alias_file): Likewise.
25321         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25322         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
25323         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
25324         * libio/fmemopen.c (fmemopen): Likewise.
25325         * libio/iofgets.c (_IO_fgets): Likewise.
25326         * libio/iofgets_u.c (fgets_unlocked): Likewise.
25327         * libio/iofgetws.c (fgetws): Likewise.
25328         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25329         * libio/iogetdelim.c (_IO_getdelim): Likewise.
25330         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
25331         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
25332         * locale/findlocale.c (_nl_find_locale): Likewise.
25333         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
25334         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
25335         Likewise.
25336         * locale/setlocale.c (setlocale): Likewise.
25337         * login/programs/pt_chown.c (main): Likewise.
25338         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
25339         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
25340         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
25341         (mmap, mmap64, mremap, munmap): Likewise.
25342         * math/e_exp2l.c: Likewise.
25343         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
25344         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
25345         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
25346         * math/s_catan.c (__catan): Likewise.
25347         * math/s_catanf.c (__catanf): Likewise.
25348         * math/s_catanh.c (__catanh): Likewise.
25349         * math/s_catanhf.c (__catanhf): Likewise.
25350         * math/s_catanhl.c (__catanhl): Likewise.
25351         * math/s_catanl.c (__catanl): Likewise.
25352         * math/s_ccosh.c (__ccosh): Likewise.
25353         * math/s_ccoshf.c (__ccoshf): Likewise.
25354         * math/s_ccoshl.c (__ccoshl): Likewise.
25355         * math/s_cexp.c (__cexp): Likewise.
25356         * math/s_cexpf.c (__cexpf): Likewise.
25357         * math/s_cexpl.c (__cexpl): Likewise.
25358         * math/s_clog10.c (__clog10): Likewise.
25359         * math/s_clog10f.c (__clog10f): Likewise.
25360         * math/s_clog10l.c (__clog10l): Likewise.
25361         * math/s_clog.c (__clog): Likewise.
25362         * math/s_clogf.c (__clogf): Likewise.
25363         * math/s_clogl.c (__clogl): Likewise.
25364         * math/s_csin.c (__csin): Likewise.
25365         * math/s_csinf.c (__csinf): Likewise.
25366         * math/s_csinh.c (__csinh): Likewise.
25367         * math/s_csinhf.c (__csinhf): Likewise.
25368         * math/s_csinhl.c (__csinhl): Likewise.
25369         * math/s_csinl.c (__csinl): Likewise.
25370         * math/s_csqrt.c (__csqrt): Likewise.
25371         * math/s_csqrtf.c (__csqrtf): Likewise.
25372         * math/s_csqrtl.c (__csqrtl): Likewise.
25373         * math/s_ctan.c (__ctan): Likewise.
25374         * math/s_ctanf.c (__ctanf): Likewise.
25375         * math/s_ctanh.c (__ctanh): Likewise.
25376         * math/s_ctanhf.c (__ctanhf): Likewise.
25377         * math/s_ctanhl.c (__ctanhl): Likewise.
25378         * math/s_ctanl.c (__ctanl): Likewise.
25379         * math/w_pow.c: Likewise.
25380         * math/w_powf.c: Likewise.
25381         * math/w_powl.c: Likewise.
25382         * math/w_scalb.c (sysv_scalb): Likewise.
25383         * math/w_scalbf.c (sysv_scalbf): Likewise.
25384         * math/w_scalbl.c (sysv_scalbl): Likewise.
25385         * misc/error.c (error_tail): Likewise.
25386         * misc/pselect.c (__pselect): Likewise.
25387         * nis/nis_callback.c (__nis_create_callback): Likewise.
25388         * nis/nis_call.c (__nisfind_server): Likewise.
25389         * nis/nis_creategroup.c (nis_creategroup): Likewise.
25390         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
25391         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
25392         * nis/nis_getservlist.c (nis_getservlist): Likewise.
25393         * nis/nis_lookup.c (nis_lookup): Likewise.
25394         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
25395         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
25396         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
25397         * nis/nis_xdr.c (xdr_endpoint): Likewise.
25398         * nis/nss_compat/compat-grp.c (getgrent_next_file)
25399         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
25400         * nis/nss_compat/compat-initgroups.c (add_group)
25401         (internal_getgrent_r): Likewise.
25402         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
25403         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
25404         * nis/nss_compat/compat-spwd.c (getspent_next_file)
25405         (internal_getspnam_r): Likewise.
25406         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
25407         (_nss_nis_getaliasbyname_r): Likewise.
25408         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
25409         (_nss_nis_getntohost_r): Likewise.
25410         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
25411         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
25412         (_nss_nis_getgrgid_r): Likewise.
25413         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
25414         (internal_nis_gethostent_r, internal_gethostbyname2_r)
25415         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
25416         (_nss_nis_gethostbyname4_r): Likewise.
25417         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
25418         (initgroups_netid): Likewise.
25419         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
25420         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
25421         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
25422         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
25423         (_nss_nis_getprotobynumber_r): Likewise.
25424         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
25425         (_nss_nis_getsecretkey): Likewise.
25426         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
25427         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
25428         (_nss_nis_getpwuid_r): Likewise.
25429         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
25430         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
25431         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
25432         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
25433         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
25434         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
25435         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
25436         Likewise.
25437         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
25438         (_nss_nisplus_getntohost_r): Likewise.
25439         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
25440         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
25441         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
25442         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
25443         Likewise.
25444         * nis/nss_nisplus/nisplus-initgroups.c
25445         (_nss_nisplus_initgroups_dyn): Likewise.
25446         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
25447         (_nss_nisplus_getnetbyaddr_r): Likewise.
25448         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
25449         (_nss_nisplus_getprotobynumber_r): Likewise.
25450         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
25451         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
25452         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
25453         Likewise.
25454         * nis/nss_nisplus/nisplus-service.c
25455         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
25456         (_nss_nisplus_getservbyport_r): Likewise.
25457         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
25458         (_nss_nisplus_getspnam_r): Likewise.
25459         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
25460         Likewise.
25461         * nscd/aicache.c (addhstaiX): Likewise.
25462         * nscd/cache.c (cache_search, prune_cache): Likewise.
25463         * nscd/connections.c (register_traced_file, send_ro_fd)
25464         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
25465         (main_loop_epoll): Likewise.
25466         * nscd/grpcache.c (addgrbyX): Likewise.
25467         * nscd/hstcache.c (addhstbyX): Likewise.
25468         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25469         * nscd/mem.c (gc, mempool_alloc): Likewise.
25470         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
25471         (addinnetgrX): Likewise.
25472         * nscd/nscd-client.h (__nscd_acquire_maplock)
25473         (__nscd_drop_map_ref): Likewise.
25474         * nscd/nscd_getai.c (__nscd_getai): Likewise.
25475         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25476         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
25477         Likewise.
25478         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
25479         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25480         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
25481         (__nscd_get_map_ref): Likewise.
25482         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
25483         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
25484         Likewise.
25485         * nscd/pwdcache.c (addpwbyX): Likewise.
25486         * nscd/selinux.c (preserve_capabilities): Likewise.
25487         * nscd/servicescache.c (addservbyX): Likewise.
25488         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
25489         * posix/fnmatch.c (fnmatch): Likewise.
25490         * posix/getopt.c (_getopt_internal_r): Likewise.
25491         * posix/glob.c (glob, glob_in_dir): Likewise.
25492         * posix/wordexp.c (exec_comm_child): Likewise.
25493         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
25494         (getanswer_r, gaih_getanswer_slice): Likewise.
25495         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
25496         * resolv/res_init.c: Likewise.
25497         * resolv/res_mkquery.c (res_nmkquery): Likewise.
25498         * resolv/res_query.c (__libc_res_nquery): Likewise.
25499         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
25500         Likewise.
25501         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
25502         * stdio-common/perror.c (perror): Likewise.
25503         * stdio-common/printf_fp.c (___printf_fp): Likewise.
25504         * stdio-common/tmpnam.c (tmpnam): Likewise.
25505         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25506         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25507         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25508         Likewise.
25509         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25510         * stdlib/putenv.c (putenv): Likewise.
25511         * stdlib/setenv.c (__add_to_environ): Likewise.
25512         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25513         * stdlib/strtol_l.c (INTERNAL): Likewise.
25514         * string/memmem.c (memmem): Likewise.
25515         * string/strerror.c (strerror): Likewise.
25516         * string/strnlen.c (__strnlen): Likewise.
25517         * string/test-memmem.c (simple_memmem): Likewise.
25518         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
25519         * sunrpc/pm_getport.c (__get_socket): Likewise.
25520         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
25521         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
25522         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
25523         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
25524         Likewise.
25525         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25526         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25527         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
25528         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
25529         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
25530         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
25531         Likewise.
25532         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
25533         Likewise.
25534         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25535         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25536         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25537         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25538         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25539         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
25540         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25541         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
25542         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
25543         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
25544         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25545         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
25546         Likewise.
25547         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
25548         Likewise.
25549         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
25550         Likewise.
25551         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
25552         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25553         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
25554         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
25555         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25556         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
25557         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25558         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
25559         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
25560         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
25561         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
25562         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25563         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25564         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
25565         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25566         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25567         Likewise.
25568         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
25569         Likewise.
25570         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
25571         Likewise.
25572         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
25573         Likewise.
25574         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25575         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25576         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
25577         Likewise.
25578         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
25579         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
25580         * sysdeps/posix/opendir.c (__opendirat): Likewise.
25581         * sysdeps/posix/sleep.c: Likewise.
25582         * sysdeps/posix/tempname.c: Likewise.
25583         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
25584         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25585         Likewise.
25586         * sysdeps/powerpc/powerpc32/dl-machine.h
25587         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
25588         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25589         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25590         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
25591         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
25592         Likewise.
25593         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
25594         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
25595         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25596         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
25597         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25598         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
25599         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
25600         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25601         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25602         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
25603         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25604         (elf_machine_lazy_rel): Likewise.
25605         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25606         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25607         (elf_machine_lazy_rel): Likewise.
25608         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25609         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25610         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25611         * sysdeps/unix/grantpt.c (grantpt): Likewise.
25612         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25613         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25614         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25615         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25616         Likewise.
25617         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25618         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25619         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25620         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25621         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25622         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25623         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25624         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25625         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25626         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25627         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25628         Likewise.
25629         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25630         (__posix_fallocate64_l64): Likewise.
25631         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25632         (posix_fallocate): Likewise.
25633         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25634         Likewise.
25635         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25636         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25637         (getifaddrs_internal): Likewise.
25638         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25639         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25640         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25641         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25642         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25643         (__posix_fallocate64_l64): Likewise.
25644         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25645         Likewise.
25646         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25647         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25648         (__get_clockfreq): Likewise.
25649         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25650         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25651         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25652         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25653         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25654         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25655         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25656         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25657         Likewise.
25658         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25659         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25660         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25661         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25662         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25663         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25664         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25665         Likewise.
25666         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25667         (posix_fallocate): Likewise.
25668         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25669         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25670         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25671         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25672         (elf_machine_rela, elf_machine_rela_relative)
25673         (elf_machine_lazy_rel): Likewise.
25674         * time/asctime.c (asctime_internal): Likewise.
25675         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25676         * time/tzset.c (__tzset_parse_tz): Likewise.
25677         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25678         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25679         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25680         * wcsmbs/wcsmbsload.h: Likewise.
25682         [BZ #15894]
25683         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25685         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25686         (arena_get2): Remove THREAD_STATS conditionals.
25687         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25688         (__malloc_stats, int): Likewise.
25690 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25692         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25693         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25695         * manual/setjmp.texi: Fix typos/grammar errors.
25697         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25698         Only return early when n is <= 0.  Delete unused return statement.
25700         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25701         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25702         * debug/tst-longjmp_chk3.c: New file.
25704         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25705         (test_main): Replace code with set_fortify_handler call.
25706         * debug/test-strcpy_chk.c: Likewise.
25707         * debug/tst-chk1.c: Likewise.
25708         * debug/tst-longjmp_chk.c: Likewise.
25709         * test-skeleton.c: Include fcntl.h & paths.h
25710         (set_fortify_handler): Define.
25712         * debug/tst-longjmp_chk.c: Add header comment and include
25713         ../test-skeleton.c.
25714         (do_test): Mark static.
25715         (TEST_FUNCTION): Define.
25717         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25718         (IP_PMTUDISC_INTERFACE): Likewise.
25719         (IP_MULTICAST_IF): Likewise.
25720         (IP_MULTICAST_TTL): Likewise.
25721         (IP_MULTICAST_LOOP): Likewise.
25722         (IP_ADD_MEMBERSHIP): Likewise.
25723         (IP_DROP_MEMBERSHIP): Likewise.
25724         (IP_UNBLOCK_SOURCE): Likewise.
25725         (IP_BLOCK_SOURCE): Likewise.
25726         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25727         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25728         (IP_MSFILTER): Likewise.
25729         (MCAST_JOIN_GROUP): Likewise.
25730         (MCAST_BLOCK_SOURCE): Likewise.
25731         (MCAST_UNBLOCK_SOURCE): Likewise.
25732         (MCAST_LEAVE_GROUP): Likewise.
25733         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25734         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25735         (MCAST_MSFILTER): Likewise.
25736         (IP_MULTICAST_ALL): Likewise.
25737         (IP_UNICAST_IF): Likewise.
25739         * timezone/Makefile: Delete $(have-ksh) check.
25740         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25741         * timezone/tzselect.ksh: Add +x mode bits.
25743         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25744         (ANON_INODE_FS_MAGIC): Likewise.
25745         (BDEVFS_MAGIC): Likewise.
25746         (BINFMTFS_MAGIC): Likewise.
25747         (BTRFS_TEST_MAGIC): Likewise.
25748         (CRAMFS_MAGIC_WEND): Likewise.
25749         (DEBUGFS_MAGIC): Likewise.
25750         (ECRYPTFS_SUPER_MAGIC): Likewise.
25751         (EXT3_SUPER_MAGIC): Likewise.
25752         (EXT4_SUPER_MAGIC): Likewise.
25753         (FUTEXFS_SUPER_MAGIC): Likewise.
25754         (HOSTFS_SUPER_MAGIC): Likewise.
25755         (HUGETLBFS_MAGIC): Likewise.
25756         (MINIX3_SUPER_MAGIC): Likewise.
25757         (MTD_INODE_FS_MAGIC): Likewise.
25758         (NILFS_SUPER_MAGIC): Likewise.
25759         (OPENPROM_SUPER_MAGIC): Likewise.
25760         (PIPEFS_MAGIC): Likewise.
25761         (PSTOREFS_MAGIC): Likewise.
25762         (QNX6_SUPER_MAGIC): Likewise.
25763         (RAMFS_MAGIC): Likewise.
25764         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25765         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25766         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25767         (SECURITYFS_MAGIC): Likewise.
25768         (SELINUX_MAGIC): Likewise.
25769         (SMACK_MAGIC): Likewise.
25770         (SOCKFS_MAGIC): Likewise.
25771         (SQUASHFS_MAGIC): Likewise.
25772         (STACK_END_MAGIC): Likewise.
25773         (TMPFS_MAGIC): Likewise.
25774         (USBDEVICE_SUPER_MAGIC): Likewise.
25775         (V9FS_MAGIC): Likewise.
25776         (XENFS_SUPER_MAGIC): Likewise.
25777         (CRAMFS_MAGIC): Fix typo in comment.
25778         (EXT2_SUPER_MAGIC): Update comment.
25779         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25781 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25783         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25784         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25785         * sysdeps/unix/sysv/linux/arm: Move directory from
25786         ports/sysdeps/unix/sysv/linux/arm.
25787         * README: Update listing for arm-*-linux-gnueabi.
25789         * README: Remove mention of am33.
25791 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25793         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25794         than the comma operator, to avoid "rhs of comma has no effect"
25795         compiler warnings.
25796         (__sigfillset, __sigandset, __sigorset): Likewise.
25797         * include/signal.h (__sigemptyset): Likewise.
25798         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25800 2014-02-07  Allan McRae  <allan@archlinux.org>
25802         * version.h (RELEASE): Set to "development".
25803         (VERSION): Set to "2.19.90"
25804         * NEWS: Add 2.20 section.
25806 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25808         [BZ #16529]
25809         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25811 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25813         * manual/contrib.texi: Update entry for Carlos O'Donell,
25814         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25816 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25818         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25820         * sysdeps/unix/sysv/linux/kernel-features.h
25821         [__LINUX_KERNEL_VERSION >= 0x020621]
25822         (__ASSUME_PROC_PID_TASK_COMM): Define.
25824 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25826         [BZ #16398]
25827         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25828         conversion when destination buffer does not have enough space.
25829         * libio/tst-ftell-partial-wide.c: New test case.
25830         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25832         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25833         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25834         Leonard and Allan McRae.
25836 2014-02-04  David S. Miller  <davem@davemloft.net>
25838         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25839         32-bit.
25841 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25844         New file
25845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25846         New file
25847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25848         New file.
25849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25850         New file.
25851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25852         New file.
25853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25854         New file.
25855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25856         New file.
25857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25858         New file.
25859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25860         New file.
25861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25862         New file.
25863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25864         New file.
25865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25866         New file.
25867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25868         New file.
25870 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25872         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25873         * shlib-versions: Likewise.
25875 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25876             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25878         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25879         (abilist-pattern): New variable, set to %-le.abilist.
25881         * Makerules (abilist-pattern): New variable.
25882         (vpath): Use $(abilist-pattern) in place of %.abilist.
25883         (check-abi-% pattern rule): Likewise.
25884         (check-abi, update-abi): Likewise.
25886 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25888         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25890 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25892         * manual/startup.texi: Add next, previous, and top entries for
25893         the `Program Arguments' and `Environment Variables' nodes.
25895 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25897         * manual/macros.texi: Add comments before MTASC-safety macros.
25899         * manual/users.texi: Document MTASC-safety properties.
25901         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25902         (pthread_getspecific, pthread_setspecific): Format with
25903         @deftypefun, and add @safety note.
25904         * manual/signal.texi: Move comments that analyze the above
25905         functions to their home place.
25907 2014-02-03  Allan McRae  <allan@archlinux.org>
25909         * po/sl.po: Update Slovenian translation from translation project.
25911 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25913         * manual/time.texi (timegm): Add missing blank after @c.
25914         Reported by Joseph Myers <joseph@codesourcery.com>.
25916 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25918         * manual/check-safety.sh: New.
25919         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25921         * manual/terminal.texi: Document MTASC-safety properties.
25923         * manual/filesys.texi: Document MTASC-safety properties.
25925         * manual/errno.texi: Document MTASC-safety properties.
25927         * manual/intro.texi: Document safety identifiers and
25928         conditionals.
25930         * manual/string.texi (wcstok): Fix prototype.
25931         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25933         * manual/time.texi: Document MTASC-safety properties.
25935         * manual/string.texi: Document MTASC-safety properties.
25937         * manual/threads.texi: Document MTASC-safety properties.
25939         * manual/stdio.texi: Document MTASC-safety properties.
25941         * manual/syslog.texi: Document MTASC-safety properties.
25943         * manual/sysinfo.texi: Document MTASC-safety properties.
25945         * manual/startup.texi: Document MTASC-safety properties.
25947         * manual/socket.texi: Document MTASC-safety properties.
25949         * manual/signal.texi: Document MTASC-safety properties.
25951 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25953         * manual/setjmp.texi: Document MTASC-safety properties.
25955         * manual/search.texi: Document MTASC-safety properties.
25957         * manual/resource.texi: Document MTASC-safety properties.
25959         * manual/process.texi: Document MTASC-safety properties.
25961         * manual/platform.texi: Document MTASC-safety properties.
25963         * manual/pipe.texi: Document MTASC-safety properties.
25965         * manual/pattern.texi: Document MTASC-safety properties.
25967         * manual/message.texi: Document MTASC-safety properties.
25969         [BZ #12751]
25970         * manual/memory.texi: Document MTASC-safety properties.
25972         * manual/math.texi: Document MTASC-safety properties.
25974         * manual/locale.texi: Document MTASC-safety properties.
25976         * manual/llio.texi: Document MTASC-safety properties.
25978         * manual/libdl.texi: New.
25980         * manual/lang.texi: Document MTASC-safety properties.
25982         * manual/job.texi: Document MTASC-safety properties.
25984         * manual/getopt.texi: Document MTASC-safety properties.
25986         * manual/ctype.texi: Document MTASC-safety properties.
25988 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25990         [BZ #16046]
25991         * csu/libc-tls.c (static_map): Remove variable.
25992         (__libc_setup_tls): Use main executable's link map for TLS data.
25993         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25994         casing for LM_ID_BASE and GL(dl_nns).
25995         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25996         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25997         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25998         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25999         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
26000         member.
26001         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
26002         l_phnum members.
26004 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
26006         * manual/debug.texi: Document MTASC-safety properties.
26008 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
26010         [BZ #16510]
26011         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
26012         of __x86_64__ when disabling x87 inline functions.
26014 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
26016         * manual/charset.texi: Document MTASC-safety properties.
26018         * manual/crypt.texi: Document MTASC-safety properties.
26020         * manual/conf.texi: Document MTASC-safety properties.
26022         * manual/arith.texi: Document MTASC-safety properties.
26024         * manual/argp.texi: Document MTASC-safety properties.
26026         * manual/macros.texi: Introduce macros to document multi
26027         thread, asynchronous signal and asynchronous cancellation
26028         safety properties.
26029         * manual/intro.texi: Introduce the properties themselves.
26031 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26033         * sysdeps/sh/sh4/Makefile: New file.
26035 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
26037         * math/gen-libm-test.pl ($srcdir): New variable.
26038         ($auto_input): Use it.
26040 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26042         [BZ #16506]
26043         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
26044         access beyond array bounds when parsing netgroups file.
26046         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
26047         the old buffer before realloc.
26049 2014-01-27  Allan McRae  <allan@archlinux.org>
26051         * po/fr.po: Update French translation from translation project.
26053 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26055         * sysdeps/sh/libm-test-ulps: Regenerate.
26057 2014-01-24  David S. Miller  <davem@davemloft.net>
26059         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
26061 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26063         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
26064         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
26066 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26068         [BZ #16474]
26069         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
26070         string pointers after reallocation.
26072 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26074         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
26075         __SH4A__ instead of __SH_FPU_ANY__.
26077 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26079         * sysdeps/sh/fpu_control.h: New file.
26080         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
26081         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
26082         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
26083         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
26084         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
26085         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
26086         * sysdeps/sh/sys/ucontext.h: Remove.
26087         * sysdeps/sh/sys: Remove directory.
26089 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26091         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
26092         s390/sys/ucontext.h.
26093         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
26094         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
26096 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
26098         [BZ #15605]
26099         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
26101 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26103         [BZ#16431]
26104         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26105         Adjust the vDSO correctly for internal calls.
26106         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
26108 2014-01-20  Allan McRae  <allan@archlinux.org>
26110         * po/ca.po: Update Catalan translation from translation project.
26112 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
26114         * sysdeps/s390/sotruss-lib.c: New file.
26116 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26118         [BZ#16430]
26119         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
26120         (__GI___gettimeofday): Alias for a different internal symbol to avoid
26121         local calls issues by not having a PLT stub required for IFUNC calls.
26122         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
26124 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
26126         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
26127         * math/test-fpucw-static.c: Likewise.
26129 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26131         [BZ #16453]
26132         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
26134 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26136         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
26137         implementation for powerpc.
26139 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
26141         [BZ #14782]
26142         * sysdeps/posix/system.c (__libc_system): Do not enable
26143         asynchronous cancellation.
26145 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26147         [BZ #16427]
26148         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
26149         handling only for numbers special also in the IEEE case.
26151 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26153         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26155 2014-01-11  Allan McRae  <allan@archlinux.org>
26157         * po/bg.po: Update Bulgarian translation from translation project.
26159         * po/de.po: Update German translation from translation project.
26161 2014-01-10  Roland McGrath  <roland@hack.frob.com>
26163         * sysdeps/generic/gcc-compat.h: New file.
26165 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26167         * benchtests/asin-inputs: Correct slow inputs.
26168         * benchtests/acos-inputs: Likewise.
26170 2014-01-10  Allan McRae  <allan@archlinux.org>
26172         * po:sv.po: Update Swedish translation from translation project.
26174         * po/vi.po: Update Vietnamese translation from translation project.
26176         * po/eo.po: Update Esperanto translation from translation project.
26178         * po/cs.po: Update Czech translation from translation project.
26180         * po/nl.po: Update Dutch translation from translation project.
26182         * po/pl.po: Update Polish translation from translation project.
26184         * po/ru.po: Update Russian translation from translation project.
26186         * po/uk.po: Update Ukrainian translation from translation project.
26188 2014-01-08  Brooks Moses  <bmoses@google.com>
26190         * elf/dl-load.c: Fix comment typo.
26192 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
26194         * po/header.pot: Rename to...
26195         * po/pot.header: ... this.
26196         * po/Makefile: Use pot.header.
26198 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
26199             Maxim Kuvyrkov  <maxim@kugelworks.com>
26201         [BZ #16394]
26202         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
26203         SRC and DEST against LEN.
26205 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26207         [BZ #16414]
26208         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
26209         implementation.
26210         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
26212 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26216 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
26218         [BZ #16408]
26219         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
26220         for large positive arguments.
26222 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
26224         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26226         * math/auto-libm-test-in: Mark various tests with
26227         xfail-rounding:ldbl-128ibm.
26228         * math/auto-libm-test-out: Regenerated.
26230         [BZ #16407]
26231         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26232         Increase overflow threshold.
26234 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
26236         [BZ #14286]
26237         * stdio-common/vfprintf.c: Check for integer overflow.
26239 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26241         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
26242         the first argument and return value of __tls_get_addr_internal.
26244 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26246         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
26247         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
26249 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26251         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
26252         * sysdeps/s390/rtld-global-offsets.sym: New file.
26253         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
26254         GLIBC_2.19 symbol.
26255         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
26256         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
26257         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26258         ... this.
26259         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
26260         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26261         ... this.
26262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26263         Regenerate.
26264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26265         Regenerate.
26266         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
26267         halfs of GPRs for high_gprs contexts.
26268         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
26269         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
26270         field.
26271         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
26272         uc_flags field.
26273         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
26274         64 bit versions:
26275         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
26276         for high GPRs (uc_high_gprs) and for future extensions
26277         (__reserved).
26278         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
26279         for future extensions (__reserved).
26280         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
26281         64 bit versions:
26282         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
26283         SC_HIGHGPRS offset definition.
26284         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
26285         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
26287         * Versions.def: Add GLIBC_2.19 for libpthread.
26288         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
26289         siglongjmp for libpthread with GLIBC_2.19 symver.
26290         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
26291         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
26292         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
26293         * sysdeps/s390/__longjmp.c: New file.
26294         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
26295         * sysdeps/s390/longjmp.c: New file.
26296         * sysdeps/s390/setjmp.S: New file.
26297         * sysdeps/s390/sigjmp.S: New file.
26298         * sysdeps/s390/v1-longjmp.c: New file.
26299         * sysdeps/s390/v1-setjmp.h: New file.
26300         * sysdeps/s390/v1-sigjmp.c: New file.
26301         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
26302         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
26303         GLIBC_2.19 version.
26304         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
26305         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
26306         versioned symbols for ____longjmp_chk.
26307         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26308         Likewise.
26309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26310         Regenerate.
26311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26312         Regenerate.
26313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26314         Regenerate.
26315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26316         Regenerate.
26317         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
26318         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
26319         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
26320         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
26321         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
26322         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
26323         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
26324         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
26325         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
26326         * sysdeps/s390/rtld-__longjmp.c: New file.
26327         * sysdeps/s390/rtld-setjmp.S: New file.
26329 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
26331         [BZ #16400]
26332         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26333         Return -__logl (x) for small positive arguments without evaluating
26334         a polynomial.
26336 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
26338         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
26339         Rename to ...
26340         (__ptrace_peeksiginfo_args): ... this.
26341         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26342         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26343         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26345 2014-01-06  Allan McRae  <allan@archlinux.org>
26347         * inet/netinet/in.h: Fix typo in comment.
26349 2014-01-05  Andreas Jaeger  <aj@suse.de>
26351         * sysdeps/i386/fpu/libm-test-ulps: Update.
26353 2014-01-05  Allan McRae  <allan@archlinux.org>
26355         * po/libc.pot: Regenerated.
26357         * malloc/memusagestat.c: Fix gettext call formatting.
26359 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
26361         * nscd/nscd.c: Improve usage() output.
26363 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
26365         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
26366         * sysdeps/unix/sysv/linux/configure: Regenerated.
26367         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
26368         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
26370 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26372         [BZ #16390]
26373         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26374         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
26376 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26378         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
26379         extra tokens at end of #undef directive.
26380         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26381         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26382         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26384 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26386         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26388         * math/auto-libm-test-in: Mark various tests with
26389         xfail-rounding:ldbl-128ibm.
26390         * math/auto-libm-test-out: Regenerated.
26392 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
26394         [BZ #16386]
26395         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
26396         numbers with subnormal high part when calculating exponent.
26398         [BZ #16385]
26399         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
26400         fabs.
26402         [BZ #16384]
26403         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
26404         M_LN2l.
26405         (__ieee754_acoshl): Use __log1pl not __log1p.
26407 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
26409         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
26410         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
26411         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
26412         (grow_heap, heap_trim, _int_new_arena, get_free_list)
26413         (reused_arena, arena_get2): Convert to GNU style.
26414         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
26415         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
26416         (memalign_check, __malloc_set_state): Likewise.
26417         * malloc/mallocbug.c (main): Likewise.
26418         * malloc/malloc.c (__malloc_assert, malloc_init_state)
26419         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
26420         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
26421         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
26422         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
26423         (__posix_memalign, malloc_info): Likewise.
26424         * malloc/malloc.h: Likewise.
26425         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
26426         (mallochook, memalignhook, reallochook, mabort): Likewise.
26427         * malloc/mcheck.h: Likewise.
26428         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
26429         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
26430         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
26431         * malloc/morecore.c (__default_morecore): Likewise.
26432         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
26433         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
26434         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
26435         (print_and_abort): Likewise.
26436         * malloc/obstack.h: Likewise.
26437         * malloc/set-freeres.c (__libc_freeres): Likewise.
26438         * malloc/tst-mallocstate.c (main): Likewise.
26439         * malloc/tst-mtrace.c (main): Likewise.
26440         * malloc/tst-realloc.c (do_test): Likewise.
26442 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26444         [BZ #16366]
26445         * nscd/netgroupcache.c (do_notfound): New function.
26446         (addgetnetgrentX): Use it.
26448         [BZ # 16365]
26449         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
26450         NSS_STATUS_NOTFOUND.
26452 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
26454         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26457 2014-01-01  Allan McRae  <allan@archlinux.org>
26459         * scripts/update-copyrights: Update configure input file suffix.
26461         * NEWS: Update copyright year.
26462         * catgets/gencat.c: Likewise.
26463         * csu/version.c: Likewise.
26464         * debug/catchsegv.sh: Likewise.
26465         * debug/pcprofiledump.c: Likewise.
26466         * debug/xtrace.sh: Likewise.
26467         * elf/ldconfig.c: Likewise.
26468         * elf/ldd.bash.in: Likewise.
26469         * elf/pldd.c: Likewise.
26470         * elf/sotruss.ksh: Likewise.
26471         * elf/sprof.c: Likewise.
26472         * iconv/iconv_prog.c: Likewise.
26473         * iconv/iconvconfig.c: Likewise.
26474         * locale/programs/locale.c: Likewise.
26475         * locale/programs/localedef.c: Likewise.
26476         * login/programs/pt_chown.c: Likewise.
26477         * malloc/memusage.sh: Likewise.
26478         * malloc/memusagestat.c: Likewise.
26479         * malloc/mtrace.pl: Likewise.
26480         * manual/libc.texinfo: Likewise.
26481         * nscd/nscd.c: Likewise.
26482         * nss/getent.c: Likewise.
26483         * nss/makedb.c: Likewise.
26484         * posix/getconf.c: Likewise.
26485         * scripts/test-installation.pl: Likewise.
26487         * All files with FSF copyright notices: Update copyright dates
26488         using scripts/update-copyrights.
26489         * intl/plural.c: Regenerated.
26490         * locale/programs/charmap-kw.h: Likewise.
26491         * locale/programs/locfile-kw.h: Likewise.
26493 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
26495         * sysdeps/unix/sysv/linux/configure: Regenerated.
26496         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
26497         the linux/fanotify.h header.
26498         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
26499         HAVE_LINUX_FANOTIFY_H is defined.
26501 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26503         * benchtests/cos-inputs: New inputs.
26504         * benchtests/sin-inputs: Likewise.
26506         * benchtests/atan-inputs: New inputs. Fix name of multiple
26507         precision fallback inputs.
26509         * benchtests/atanh-inputs: New inputs.
26510         * benchtests/tanh-inputs: Likewise.
26512         * benchtests/acosh-inputs: New inputs.
26513         * benchtests/asinh-inputs: Likewise.
26515         * benchtests/cosh-inputs: New inputs.
26516         * benchtests/sinh-inputs: Likewise.
26518         * benchtests/acos-inputs: Add more inputs.
26519         * benchtests/asin-inputs: Likewise.
26521 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
26523         [BZ #16375]
26524         * manual/arith.texi: Fix spelling.
26525         * manual/charset.texi: Likewise.
26526         * manual/errno.texi: Likewise.
26527         * manual/filesys.texi: Likewise.
26528         * manual/lang.texi: Likewise.
26529         * manual/llio.texi: Likewise.
26530         * manual/locale.texi: Likewise.
26531         * manual/message.texi: Likewise.
26532         * manual/resource.texi: Likewise.
26533         * manual/search.texi: Likewise.
26534         * manual/setjmp.texi: Likewise.
26535         * manual/stdio.texi: Likewise.
26536         * manual/string.texi: Likewise.
26537         * manual/sysinfo.texi: Likewise.
26538         * manual/time.texi: Likewise.
26540 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
26542         * po/sl.po: New file.
26544 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
26546         * .gitignore: Add core/.gdbinit/.gdb_history.
26548 2013-12-27  Allan McRae  <allan@archlinux.org>
26550         [BZ #16369]
26551         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
26552         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
26554 2013-12-24  Brooks Moses  <bmoses@google.com>
26556         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
26557         all compilers that claim C++98 compliance, not just GCC.
26558         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26559         Likewise.
26561 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26563         * NEWS: Restore accidentally deleted bug-fix entries.
26565 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26566             Ondřej Bílka  <neleai@seznam.cz>
26568         [BZ #15073]
26569         * malloc/malloc.c (_int_free): Perform sanity check only if we
26570         have_lock.
26572 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
26574         [BZ #12986]
26575         * manual/stdio.texi (String Input Conversions): Clarify that character
26576         classes are not supported.
26578 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26582 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
26584         [BZ #16337]
26585         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26586         Calculate results for small negative arguments directly rather
26587         than using reflection formula with special underflow handling.
26589         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26590         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
26591         sysdeps/unix/bsd/bsd4.4/syscalls.list.
26592         (fchflags): Likewise.
26593         (revoke): Likewise.
26594         (setlogin): Likewise.
26595         (sigaltstack): Likewise.
26596         (wait4): Likewise.
26597         (sigblock): Remove.
26598         (sigsetmask): Likewise.
26599         (wait3): Likewise.
26600         (waitpid): Likewise.
26601         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26602         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26603         file.
26604         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26605         * sysdeps/unix/bsd/Makefile: ... here.
26606         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26607         * sysdeps/unix/bsd/Versions: ... here.
26608         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26609         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26610         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26611         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26612         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26613         * sysdeps/unix/bsd/sigblock.c: ... here.
26614         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26615         * sysdeps/unix/bsd/sigsetmask.c: ... here.
26616         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26617         * sysdeps/unix/bsd/sigvec.c: ... here.
26618         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26619         * sysdeps/unix/bsd/tcdrain.c: ... here.
26620         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26621         * sysdeps/unix/bsd/tcgetattr.c: ... here.
26622         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26623         * sysdeps/unix/bsd/tcsetattr.c: ... here.
26624         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26625         * sysdeps/unix/bsd/wait.c: ... here.
26626         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26627         * sysdeps/unix/bsd/wait3.c: ... here.
26628         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26629         * sysdeps/unix/bsd/waitpid.c: ... here.
26631 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
26633         [BZ #16356]
26634         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26635         round-to-nearest for [!USE_AS_EXPM1L].
26636         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26637         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
26638         more tests of exp and exp10.  Expect some exp10 tests to miss
26639         exceptions or fail in directed rounding modes.
26640         * math/auto-libm-test-out: Regenerated.
26641         * math/libm-test.inc (exp10_tonearest_test_data): New array.
26642         (exp10_test_tonearest): New function.
26643         (exp10_towardzero_test_data): New array.
26644         (exp10_test_towardzero): New function.
26645         (exp10_downward_test_data): New array.
26646         (exp10_test_downward): New function.
26647         (exp10_upward_test_data): New array.
26648         (exp10_test_upward): New function.
26649         (main): Call the new functions.
26650         * sysdeps/i386/fpu/libm-test-ulps: Update.
26651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26653 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26655         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26656         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26657         * math/auto-libm-test-out: Regenerated.
26658         * math/libm-test.inc (acosh_test_data): Add more tests.
26659         (atanh_test_data): Likewise.
26660         (ceil_test_data): Likewise.
26661         (copysign_test_data): Likewise.
26662         * sysdeps/i386/fpu/libm-test-ulps: Update.
26663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26665         * timezone/checktab.awk: Update from tzcode 2013i.
26666         * timezone/private.h: Likewise.
26667         * timezone/scheck.c: Likewise.
26668         * timezone/tzfile.h: Likewise.
26669         * timezone/tzselect.ksh: Likewise.
26670         * timezone/zdump.c: Likewise.
26671         * timezone/zic.c: Likewise.
26673         * math/auto-libm-test-in: Add tests of cpow.
26674         * math/auto-libm-test-out: Regenerated.
26675         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26676         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26677         mpc_cc_c.
26678         (func_calc_desc): Add mpc_cc_c union field.
26679         (test_functions): Add cpow.
26680         (special_fill_2pi): New function.
26681         (special_real_inputs): Add 2pi.
26682         (calc_generic_results): Handle mpc_cc_c.
26683         * sysdeps/i386/fpu/libm-test-ulps: Update.
26684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26686         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26687         csqrt, ctan and ctanh.
26688         * math/auto-libm-test-out: Regenerated.
26689         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26690         (TEST_COND_x86): Likewise.
26691         (ccos_test_data): Use AUTO_TESTS_c_c.
26692         (ccosh_test_data): Likewise.
26693         (cexp_test_data): Likewise.
26694         (clog_test_data): Likewise.
26695         (csqrt_test_data): Likewise.
26696         (ctan_test_data): Likewise.
26697         (ctan_tonearest_test_data): Likewise.
26698         (ctan_towardzero_test_data): Likewise.
26699         (ctan_downward_test_data): Likewise.
26700         (ctan_upward_test_data): Likewise.
26701         (ctanh_test_data): Likewise.
26702         (ctanh_tonearest_test_data): Likewise.
26703         (ctanh_towardzero_test_data): Likewise.
26704         (ctanh_downward_test_data): Likewise.
26705         (ctanh_upward_test_data): Likewise.
26706         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26707         mpc_c_c.
26708         (func_calc_desc): Add mpc_c_c union field.
26709         (FUNC_mpc_c_c): New macro.
26710         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26711         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26712         ctanh.
26713         (special_fill_min_subnorm_p120): New function.
26714         (special_real_inputs): Add min_subnorm_p120.
26715         (calc_generic_results): Handle mpc_c_c.
26716         * sysdeps/i386/fpu/libm-test-ulps: Update.
26717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26719 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26721         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26722         (do_sin_slow): New functions.
26723         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26724         (cslow2, csloww1, csloww2): Use the new functions.
26726         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26727         Use M to change sign of result instead of X.  Assume X is
26728         positive.
26729         (csloww1): Likewise.
26730         (__sin): Adjust.
26731         (__cos): Adjust.
26733         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26734         arguments A and DA.
26735         (__sin): Adjust.
26736         (__cos): Likewise.
26738         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26739         (__cos): Likewise.
26740         (sloww1): Don't adjust sign of DX.
26741         (csloww1): Likewise.
26742         (sloww2): Use X directly and don't adjust sign of DX.
26743         (csloww2): Likewise.
26745 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26747         * math/auto-libm-test-in: Add tests of cabs and carg.
26748         * math/auto-libm-test-out: Regenerated.
26749         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26750         (carg_test_data): Likewise.
26751         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26752         mpc_c_f.
26753         (func_calc_desc): Add mpc_c_f union field.
26754         (test_functions): Add cabs and carg.
26755         (calc_generic_results): Handle mpc_c_f.
26757         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26758         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26759         as a macro and a compat symbol.
26760         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26761         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26762         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26763         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26764         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26765         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26766         not use .hidden.
26767         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26768         Likewise.
26769         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26770         Likewise.
26771         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26772         Likewise.
26773         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26774         Likewise.
26775         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26776         Likewise.
26777         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26778         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26779         from GLIBC_2.3.2.
26781 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26785 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26787         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26788         trailing whitespace removed.
26789         * scripts/config.guess: Update to version 2013-11-29.
26790         * scripts/config.sub: Update to version 2013-10-01.
26792         * math/auto-libm-test-in: Add tests of sincos.
26793         * math/auto-libm-test-out: Regenerated.
26794         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26795         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26796         mpfr_f_11.
26797         (func_calc_desc): Add mpfr_f_11 union field.
26798         (test_functions): Add sincos.
26799         (calc_generic_results): Handle mpfr_f_11.
26800         * sysdeps/i386/fpu/libm-test-ulps: Update.
26801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26803 2013-12-19  Andreas Schwab  <schwab@suse.de>
26805         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26806         CALL_MCOUNT.
26807         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26808         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26809         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26811 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26813         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26814         * sysdeps/i386/fpu/libm-test-ulps: Update.
26815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26817         [BZ #16293]
26818         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26819         round-to-nearest mode when using frndint.
26820         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26821         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26822         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26823         Likewise.
26824         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26825         sinh test to fail.
26826         * math/auto-libm-test-out: Regenerated.
26827         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26828         (TEST_COND_x86): Likewise.
26829         (expm1_tonearest_test_data): New array.
26830         (expm1_test_tonearest): New function.
26831         (expm1_towardzero_test_data): New array.
26832         (expm1_test_towardzero): New function.
26833         (expm1_downward_test_data): New array.
26834         (expm1_test_downward): New function.
26835         (expm1_upward_test_data): New array.
26836         (expm1_test_upward): New function.
26837         (main): Run the new test functions.
26838         * sysdeps/i386/fpu/libm-test-ulps: Update.
26839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26841         * include/features.h: Update comment documenting feature test
26842         macros.  Mention _DEFAULT_SOURCE in comment.
26843         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26844         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26845         _BSD_SOURCE and _SVID_SOURCE.
26846         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26847         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26848         !_SVID_SOURCE]: Likewise.
26849         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26850         (__USE_POSIX_IMPLICITLY): Define.
26851         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26852         (_POSIX_SOURCE): Undefine and redefine.
26853         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26854         (_POSIX_C_SOURCE): Likewise.
26855         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26856         (Feature Test Macros): Update documentation of default features.
26858 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26860         * benchtests/Makefile: Add bench-strtok.
26861         * benchtests/bench-strtok.c: New file: strtok benchtest.
26863 2013-12-19  Allan McRae  <allan@archlinux.org>
26865         * manual/install.texi: Suppress menu for plain text output.
26866         * INSTALL: Regenerated.
26868 2013-12-18  Brooks Moses  <bmoses@google.com>
26870         [BZ #15846]
26871         * misc/getauxval.c: Include errno.h.
26872         (__getauxval): Set errno to ENOENT if the requested type is not
26873         found.
26874         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26875         don't declare with __attribute_const__.
26876         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26877         * manual/startup.texi: Document that getauxval sets errno.
26879 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26881         * math/auto-libm-test-in: Add tests of jn and yn.
26882         * math/auto-libm-test-out: Regenerated.
26883         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26884         (yn_test_data): Likewise.
26885         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26886         mpfr_if_f.
26887         (func_calc_desc): Add mpfr_if_f union field.
26888         (FUNC_mpfr_if_f): New macro.
26889         (test_functions): Add jn and yn.
26890         (calc_generic_results): Assert type of second input for
26891         mpfr_ff_f.  Handle mpfr_if_f.
26892         (output_for_one_input_case): Disable all checking for arguments
26893         fitting floating-point types in case of an integer argument.
26894         * sysdeps/i386/fpu/libm-test-ulps: Update.
26895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26898         Don't expect fegetround reference in libm.so.
26900 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26902         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26903         $(config-cflags-nofma).
26905 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26907         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26908         * math/auto-libm-test-out: Regenerated.
26910         [BZ #16338]
26911         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26912         to determine exponent and adjust argument to have exponent of -1.
26913         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26914         log2.
26915         * math/auto-libm-test-out: Regenerated.
26916         * sysdeps/i386/fpu/libm-test-ulps: Update.
26917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26919 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26921         * manual/probes.texi: Remove cases when per-thread arenas are
26922         disabled.
26924 2013-12-18  Andreas Schwab  <schwab@suse.de>
26926         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26927         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26928         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26929         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26930         * sysdeps/i386/i686/multiarch/Makefile: Update.
26931         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26933 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26935         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26936         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26938 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26940         [BZ #15968]
26941         Support TZ transition times < 00:00:00.
26942         This is needed for version-3 tz-format files; it supports time
26943         stamps past 2037 for America/Godthab (the only entry in the tz
26944         database for which this change is relevant).
26945         * manual/time.texi (TZ Variable): Document transition times
26946         from -167:59:59 through -00:00:01.
26947         * time/tzset.c (tz_rule): Time of day is now signed.
26948         (__tzset_parse_tz): Parse negative time of day.
26950         Document TZ transition times >= 25:00:00.
26951         * manual/time.texi (TZ Variable): Document transition times from
26952         25:00:00 through 167:59:59.  These are already supported, and this
26953         support will help with version-3 tz-format files.
26955         * manual/time.texi (TZ Variable): Modernize North America example
26956         to reflect current (i.e., 2007-and-later) daylight saving rules.
26958         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26960 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26962         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26963         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26964         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26965         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26966         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26967         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26968         * sysdeps/unix/bsd/clock.c: Likewise.
26969         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26970         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26971         * sysdeps/unix/bsd/init-posix.c: Likewise.
26972         * sysdeps/unix/bsd/poll.c: Likewise.
26973         * sysdeps/unix/bsd/ptsname.c: Likewise.
26974         * sysdeps/unix/bsd/seekdir.c: Likewise.
26975         * sysdeps/unix/bsd/setegid.c: Likewise.
26976         * sysdeps/unix/bsd/seteuid.c: Likewise.
26977         * sysdeps/unix/bsd/setgid.c: Likewise.
26978         * sysdeps/unix/bsd/setrgid.c: Likewise.
26979         * sysdeps/unix/bsd/setruid.c: Likewise.
26980         * sysdeps/unix/bsd/setsid.c: Likewise.
26981         * sysdeps/unix/bsd/setuid.c: Likewise.
26982         * sysdeps/unix/bsd/sigaction.c: Likewise.
26983         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26984         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26985         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26986         * sysdeps/unix/bsd/telldir.c: Likewise.
26987         * sysdeps/unix/bsd/times.c: Likewise.
26988         * sysdeps/unix/bsd/usleep.c: Likewise.
26990         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26991         ($(objpfx)libbsd-compat.a): Remove rule.
26993         * include/features.h (__FAVOR_BSD): Do not define.
26994         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26995         features conflicting with POSIX.
26996         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26997         (_BSD_SOURCE): Remove description of not being a subset of other
26998         feature test macros.
26999         * manual/job.texi (getpgrp): Do not document BSD version.
27000         (getpgid): Do not document by reference to BSD getpgrp.
27001         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
27002         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
27003         * signal/signal.h [__FAVOR_BSD]: Likewise.
27004         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
27005         instead of making contents conditional on [__FAVOR_BSD].
27006         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
27008 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27012 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
27014         [BZ #16314]
27015         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
27016         values below 2**-450, not 2**-500.
27017         * math/auto-libm-test-in: Don't allow spurious underflow from
27018         hypot.
27019         * math/auto-libm-test-out: Regenerated.
27021         [BZ #16316]
27022         [BZ #16330]
27023         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
27024         values of ha and hb and sort them after adjusting subnormal
27025         arguments.
27026         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27027         Likewise.
27028         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
27029         values of ea and eb and sort them after adjusting subnormal
27030         arguments.
27031         * math/auto-libm-test-in: Do not expect some hypot tests of
27032         subnormals to fail.  Add more hypot tests.
27033         * math/auto-libm-test-out: Regenerated.
27035 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27037         [BZ #13304]
27038         * sysdeps/sh/s_fma.c: New file.
27039         * sysdeps/sh/s_fmaf.c: New file.
27040         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
27041         version.
27042         * sysdeps/sh/Implies: Add sh/soft-fp.
27044 2013-12-16  Roland McGrath  <roland@hack.frob.com>
27046         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
27047         level of indirection to members `objname', `errstring', `malloced'.
27048         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
27049         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
27050         it as the __longjmp argument (just pass 1 instead).
27051         (_dl_catch_error): Initialize C with argument pointers and address of
27052         volatile local ERRCODE rather than copying values out of C at return.
27054 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
27056         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
27057         * math/auto-libm-test-out: Regenerated.
27058         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
27059         (hypot_test_data): Likewise.
27060         (pow_test_data): Likewise.
27061         (pow_tonearest_test_data): Likewise.
27062         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27063         mpfr_ff_f.
27064         (func_calc_desc): Add mpfr_ff_f union field.
27065         (FUNC_mpfr_ff_f): New macro.
27066         (test_functions): Add atan2, hypot and pow.
27067         (special_fill_min): New function.
27068         (special_fill_minus_min): Likewise.
27069         (special_fill_min_subnorm): Likewise.
27070         (special_fill_minus_min_subnorm): Likewise.
27071         (special_real_inputs): Add min, -min, min_subnorm and
27072         -min_subnorm.
27073         (calc_generic_results): Handle mpfr_ff_f.
27074         * sysdeps/i386/fpu/libm-test-ulps: Update.
27075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27077 2013-12-16  Will Newton  <will.newton@linaro.org>
27079         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
27080         (Aligned Memory Blocks): Add documentation for aligned_alloc
27081         and suggest it as an alternative to posix_memalign.
27082         (Hooks for Malloc): Document __memalign_hook is also called
27083         for aligned_alloc.  (Summary of Malloc): Add summary for
27084         aligned alloc.  Document __memalign_hook is also called
27085         for aligned_alloc.
27087 2013-12-16  Will Newton  <will.newton@linaro.org>
27089         * manual/memory.texi (Malloc Examples): Clarify default
27090         alignment documentation.  Suggest posix_memalign rather
27091         than memalign or valloc.
27092         (Aligned Memory Blocks): Remove suggestion to use memalign
27093         or valloc.  Remove obsolete comment about BSD.
27094         Document memalign errno values and mark the function obsolete.
27095         Document posix_memalign returned error codes.  Mark valloc
27096         as obsolete.  (Hooks for Malloc): __memalign_hook is also
27097         called for posix_memalign and valloc.
27098         (Summary of Malloc): Add posix_memalign to function summary.
27099         __memalign_hook is also called for posix_memalign and valloc.
27101 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27103         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
27104         TAYLOR_SIN.
27105         (__sin): Adjust.
27106         (__cos): Likewise.
27107         (sloww): Use mynumber union.  Expand ternary operator into
27108         if-else statements.
27109         (cslow): use mynumber union.
27111 2013-12-16  Allan McRae  <allan@archlinux.org>
27113         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
27114         * configure: Regenerated.
27116         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
27118         [BZ #14120]
27119         * configure.ac: Added --enable-maintainer-mode. Check for
27120         autoconf when enabled.
27121         * configure: Regenerated.
27123         * nscd/nscd.service: New file.
27124         * nscd/nscd.tmpfiles: New file.
27126 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
27128         [BZ #12100]
27129         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
27130         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
27131         * sysdeps/x86_64/multiarch/strstr.c: ... here.
27132         (strstr): Add __strstr_sse2_unaligned ifunc.
27133         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
27134         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
27135         (strcasestr): Remove __strcasestr_sse42 ifunc.
27136         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
27137         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27138         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27140 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27142         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
27143         * sysdeps/sh/bits/fenv.h: ... here.
27144         * sysdeps/sh/sh4/fpu/bits: Remove directory.
27146 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27148         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
27150         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
27151         hypotf multiarch implementations.
27152         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
27153         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
27154         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
27155         multiarch hypot for PPC64.
27156         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
27157         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
27158         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
27159         multiarch hypotf for PPC64.
27161         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
27162         modff multiarch implementations.
27163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
27164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
27165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
27166         multiarch modf for PPC64.
27167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
27168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
27169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
27170         multiarch modff for PPC64.
27172         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
27173         and logl multiarch implementations.
27174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
27175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
27176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
27177         multiarch logb for PPC64.
27178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
27179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
27180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
27181         multiarch logb for PPC64.
27182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
27183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
27184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
27185         multiarch logb for PPC64.
27187         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
27188         isinff multiarch implementation.
27189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
27190         file.
27191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
27192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
27193         multiarch isinf for PPC64.
27194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
27195         file.
27196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
27197         multiarch isinff for PPC64.
27199         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
27200         finitef multiarch implementation.
27201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
27202         file.
27203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
27204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
27205         multiarch finite for PPC64.
27206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
27207         file.
27208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
27209         multiarch finitef for PPC64.
27211         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
27212         lrint multiarch implementation.
27213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
27214         file.
27215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
27216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
27217         multiarch llrint for PPC64.
27218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
27219         multiarch lrint for PPC64.
27221         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
27222         copysignf multiarch implementation.
27223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
27224         file.
27225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
27226         file.
27227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
27228         multiarch copysign for PPC64.
27229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
27230         multiarch copysignf for PPC64.
27232         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
27233         multiarch implementation.
27234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
27235         file.
27236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
27237         file.
27238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
27239         file.
27240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
27241         file.
27242         multiarch llround for PPC64.
27243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
27244         multiarch trunc for PPC64.
27245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
27246         multiarch truncf for PPC64.
27248         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
27249         multiarch implementation.
27250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
27251         file.
27252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
27253         file.
27254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
27255         file.
27256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
27257         file.
27258         multiarch llround for PPC64.
27259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
27260         multiarch round for PPC64.
27261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
27262         multiarch roundf for PPC64.
27264         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
27265         multiarch implementation.
27266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
27267         file.
27268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
27269         file.
27270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
27271         file.
27272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
27273         file.
27274         multiarch llround for PPC64.
27275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
27276         multiarch floor for PPC64.
27277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
27278         multiarch floorf for PPC64.
27280         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
27281         multiarch implementation.
27282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
27283         file.
27284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
27285         file.
27286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
27287         file.
27288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
27289         file.
27290         multiarch llround for PPC64.
27291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
27292         multiarch ceil for PPC64.
27293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
27294         multiarch ceilf for PPC64.
27296         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
27297         multiarch implementation.
27298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
27299         file.
27300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
27301         file.
27302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
27303         file.
27304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
27305         multiarch llround for PPC64.
27306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
27307         multiarch lround for PPC64.
27309         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
27310         multiarch implementation.
27311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
27312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
27313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
27314         file.
27315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
27316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
27317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
27318         multiarch isnan for PPC64.
27319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
27320         multiarch isnanf for PPC64.
27322         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
27323         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
27324         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
27325         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
27326         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
27327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
27329         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
27330         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27331         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27332         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27334         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
27335         multiarch implementations.
27336         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27337         (__libc_ifunc_impl_list): Likewise.
27338         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27339         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
27340         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
27341         multiarch stpcpy for PPC64.
27343         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
27344         multiarch implementations.
27345         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27346         (__libc_ifunc_impl_list): Likewise.
27347         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
27348         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
27349         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
27350         multiarch strcpy for PPC64.
27352         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
27353         redefine function name.
27354         (_wordcopy_fwd_dest_aligned): Likewise.
27355         (_wordcopy_bwd_aligned): Likewise.
27356         (_wordcopy_bwd_dest_aligned): Likewise.
27357         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
27358         multiarch implementations.
27359         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27360         (__libc_ifunc_impl_list): Likewise.
27361         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
27362         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
27363         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
27364         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
27365         multiarch wcscpy for PPC64.
27367         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
27368         multiarch implementations.
27369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27370         (__libc_ifunc_impl_list): Likewise.
27371         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
27372         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
27373         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
27374         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
27375         multiarch wcscpy for PPC64.
27377         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
27378         multiarch implementations.
27379         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27380         (__libc_ifunc_impl_list): Likewise.
27381         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
27382         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
27383         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
27384         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
27385         multiarch wcsrchr for PPC64.
27387         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
27388         multiarch implementations.
27389         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27390         (__libc_ifunc_impl_list): Likewise.
27391         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
27392         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
27393         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
27394         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
27395         multiarch wcschr for PPC64.
27397         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
27398         multiarch implementations.
27399         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27400         (__libc_ifunc_impl_list): Likewise.
27401         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
27402         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
27403         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
27404         multiarch strchrnul for PPC64.
27406         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
27407         implementations.
27408         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27409         (__libc_ifunc_impl_list): Likewise.
27410         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
27411         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
27412         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
27413         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
27414         strchr for PPC64.
27416         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
27417         implementations.
27418         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27419         (__libc_ifunc_impl_list): Likewise.
27420         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
27421         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
27422         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
27423         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
27424         strncmp for PPC64.
27426         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
27427         multiarch implementations.
27428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27429         (__libc_ifunc_impl_list): Likewise.
27430         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
27431         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
27432         strncasecmp for PPC64.
27433         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
27434         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
27435         multiarch strncasecmp_l for PPC64.
27437         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
27438         multiarch implementations.
27439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27440         (__libc_ifunc_impl_list): Likewise.
27441         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
27442         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
27443         multiarch strcasecmp for PPC64.
27444         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
27445         file.
27446         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
27447         multiarch strcasecmp_l for PPC64.
27449         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
27450         implementations.
27451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27452         (__libc_ifunc_impl_list): Likewise.
27453         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
27454         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
27455         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
27456         strnlen for PPC64.
27458         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
27459         implementations.
27460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27461         (__libc_ifunc_impl_list): Likewise.
27462         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
27463         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
27464         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
27465         strlen for PPC64.
27467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
27468         implementations.
27469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27470         (__libc_ifunc_impl_list): Likewise.
27471         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
27472         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
27473         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
27474         rawmemrchr for PPC64.
27476         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
27477         implementation.
27478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27479         (__libc_ifunc_impl_list): Likewise.
27480         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
27481         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
27482         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
27483         memrchr for PPC64.
27485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
27486         implementation.
27487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27488         (__libc_ifunc_impl_list): Likewise.
27489         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
27490         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
27491         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
27492         memchr for PPC64.
27494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
27495         implementation.
27496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27497         (__libc_ifunc_impl_list): Likewise.
27498         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
27499         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
27500         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
27501         mempcpy for PPC64.
27503         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
27504         avoid cretion of __bzero symbol.
27505         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
27506         Likewise.
27507         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
27508         Likewise.
27509         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
27510         Likewise.
27511         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
27512         multiarch implementations.
27513         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27514         (__libc_ifunc_impl_list): Likewise.
27515         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
27516         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
27517         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
27518         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
27519         bzero for PPC32.
27520         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
27521         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
27522         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
27523         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
27524         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
27525         memset for PPC64.
27526         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
27528         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
27529         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
27530         implementations.
27531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27532         (__libc_ifunc_impl_list): Likewise.
27533         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
27534         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
27535         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
27536         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
27537         memcmp for PPC64.
27539         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
27540         multiarch for POWER/PPC64.
27541         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27542         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
27543         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
27544         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
27545         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
27546         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
27547         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
27548         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
27549         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
27550         memcpy for PPC64.
27552         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
27553         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
27554         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
27555         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
27556         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
27557         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
27558         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
27559         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
27560         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
27561         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
27562         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
27563         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
27564         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
27565         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
27566         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
27567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
27568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
27569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
27570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
27571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
27572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
27573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
27575 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27577         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
27579 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27581         * benchtests/Makefile (bench): Add exp2 and log2.
27582         (LDLIBS-bench-exp2): Add -lm.
27583         (LDLIBS-bench-log2): Likewise.
27584         * benchtests/exp2-inputs: New inputs file.
27585         * benchtests/log2-inputs: New inputs file.
27586         * benchtests/log-inputs: Add new inputs.
27587         * benchtests/tan-inputs: Likewise.
27589 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27591         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
27592         definition...
27593         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
27594         (csloww2): ... from here.
27596         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
27597         instead of structures.
27598         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
27599         (POLYNOMIAL): Likewise.
27600         (TAYLOR_SLOW): Likewise.
27601         (__sin): Likewise.
27602         (__cos): Likewise.
27603         (slow1): Likewise.
27604         (slow2): Likewise.
27605         (sloww): Likewise.
27606         (sloww1); Likewise.
27607         (sloww2): Likewise.
27608         (bsloww1): Likewise.
27609         (bsloww2): Likewise.
27610         (cslow2): Likewise.
27611         (csloww): Likewise.
27612         (csloww1): Likewise.
27613         (csloww2): Likewise.
27615 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
27617         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27618         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27619         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27620         * malloc/hooks.c (realloc_check): Likewise.
27622         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27623         * malloc/arena.c: Remove PER_THREAD conditional.
27624         [!PER_THREAD]: Remove code.
27625         (ptmalloc_unlock_all2): Likewise.
27626         (ptmalloc_init): Likewise.
27627         (_int_new_arena): Likewise.
27628         (arena_get2): Likewise.
27629         * malloc/hooks.c (__malloc_get_state): Likewise.
27630         (__malloc_set_state): Likewise.
27631         * malloc/malloc.c: Likewise.
27632         (struct malloc_state): Likewise.
27633         (struct malloc_par): Likewise.
27634         (__libc_realloc): Likewise.
27635         (__libc_mallopt): Likewise.
27637 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27639         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27641 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
27643         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27644         macro to a function.  Check for zero perturb_byte.
27645         (_int_malloc, _int_free): Remove zero perturb_byte checks.
27647         * malloc/malloc.c: (force_reg): Remove.
27648         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27649         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27650         force_reg by atomic_forced_read.
27651         * malloc/arena.c (ptmalloc_init): Likewise.
27652         * malloc/hooks.c (top_check): Likewise.
27654 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27658 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27660         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27662 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27664         * math/auto-libm-test-in: Add tests of lgamma.
27665         * math/auto-libm-test-out: Regenerated.
27666         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27667         (M_LOG_2_SQRT_PIl): Likewise.
27668         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27669         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27670         mpfr_f_f1.
27671         (func_calc_desc): Add mpfr_f_f1 union field.
27672         (ARGS1): New macro.
27673         (ARGS2): Likewise.
27674         (ARGS3): Likewise.
27675         (ARGS4): Likewise.
27676         (RET1): Likewise.
27677         (RET2): Likewise.
27678         (CALC): Likewise.
27679         (FUNC): Likewise.
27680         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27681         (test_functions): Add lgamma.
27682         (calc_generic_results): Handle mpfr_f_f1.
27683         * sysdeps/i386/fpu/libm-test-ulps: Update.
27684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27686 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27688         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27689         __mpn_add_n for PowerPC64/POWER7.
27690         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27691         __mpn_sub_n for PowerPC64/POWER7.
27693         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27694         __mpn_addmul_1 for PowerPC64.
27695         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27696         __mpn_submul_1 for PowerPC64.
27697         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27698         for PowerPC64.
27699         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27700         for PowerPC64.
27702 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27704         [BZ #15089]
27705         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27707 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27709         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27711         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27712         add multiarch folders.
27713         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27714         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27715         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27716         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27717         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27718         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27719         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27720         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27721         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27722         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27723         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27732         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27734         New file.
27735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27736         New file.
27737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27738         multiarch __ieee754_hypot for PowerPC32.
27739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27740         New file.
27741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27742         New file.
27743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27744         multiarch __ieee754_hypotf for PowerPC32.
27746         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27747         long_double_symbol only if __logbl is defined.
27748         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27749         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27750         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27751         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27752         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27753         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27754         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27755         path for implementation.
27756         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27757         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27759         logb, and logbl multiarch implementations for PowerPC32.
27760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27761         file.
27762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27763         file.
27764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27765         multiarch logb for PowerPC32.
27766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27767         file.
27768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27769         file.
27770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27771         multiarch logbf for PowerPC32.
27772         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27774         file.
27775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27776         multiarch logbl implementation for PowerPC32.
27778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27779         and modff multiarch implementations.
27780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27781         New file.
27782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27783         New file.
27784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27785         multiarch modf for PowerPC32.
27786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27787         New file.
27788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27789         New file.
27790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27791         multiarch modff for PowerPC32.
27793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27794         and lrintf multiarch implementations.
27795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27796         New file.
27797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27798         New file.
27799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27800         multiarch lrint for PowerPC32.
27801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27802         file: multiarch lrintf for PowerPC32.
27804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27805         and lroundf multiarch implementations.
27806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27807         New file.
27808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27809         New file.
27810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27811         New file.
27812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27813         multiarch lround for PowerPC32.
27814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27815         file: multiarch lroundf for PowerPC32.
27817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27818         copysign and copysignf multiarch implementations.
27819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27820         New file.
27821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27822         New file.
27823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27824         file: multiarch copysign for PowerPC32.
27825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27826         file: multiarch copysignf for PowerPC32.
27828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27829         and truncf multiarch implementations.
27830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27831         New file.
27832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27833         file.
27834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27835         multiarch trunc for PowerPC32.
27836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27837         New file.
27838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27839         New file.
27840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27841         multiarch truncf for PowerPC32.
27843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27844         and roundf multiarch implementations.
27845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27846         New file.
27847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27848         file.
27849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27850         multiarch round for PowerPC32.
27851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27852         New file.
27853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27854         New file.
27855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27856         multiarch roundf for PowerPC32.
27858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27859         and floorf multiarch implementations.
27860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27861         New file.
27862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27863         file.
27864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27865         multiarch floor for PowerPC32.
27866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27867         New file.
27868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27869         New file.
27870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27871         multiarch floorf for PowerPC32.
27873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27874         and ceilf multiarch implementations.
27875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27876         New file.
27877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27878         file.
27879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27880         multiarch ceil for PowerPC32.
27881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27882         New file.
27883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27884         file.
27885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27886         multiarch ceilf for PowerPC32.
27888         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27889         is defined.
27890         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27891         FINITEF is defined.
27892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27893         and finitef multiarch implementations.
27894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27895         New file.
27896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27897         file.
27898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27899         multiarch finite for PowerPC32.
27900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27901         New file.
27902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27903         file: multiarch finitef for PowerPC32.
27905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27906         and isinff multiarch implementations.
27907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27908         file.
27909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27910         file.
27911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27912         multiarch isinf for PowerPC32.
27913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27914         New file.
27915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27916         multiarch isinff for PowerPC32.
27918         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27919         alias when __isnan is defined.
27920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27921         and isnanf multiarch implementations.
27922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27923         file.
27924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27925         file.
27926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27927         file.
27928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27929         file.
27930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27931         multiarch isnan for PowerPC32.
27932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27933         New file.
27934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27935         New file.
27936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27937         multiarch isnanf for PowerPC32.
27939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27940         and sqrtf multiarch implementations.
27941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27942         file.
27943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27944         file.
27945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27946         multiarch sqrt for PowerPC32.
27947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27948         file.
27949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27950         file.
27951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27952         multiarch sqrtf for PowerPC32.
27954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27955         and llroundf multiarch implementations.
27956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27957         New file.
27958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27959         New file.
27960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27961         New file.
27962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27963         file: multiarch llround for PowerPC32.
27964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27965         file: multiarch llroundf for PowerPC32.
27967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27968         multiarch PowerPC32 fpu implementations.
27969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27970         New file.
27971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27972         New file.
27973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27974         multiarch llrint for PowerPC32.
27975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27976         New file.
27977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27978         New file.
27979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27980         file.
27982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27984         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27985         file.
27986         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27987         file.
27988         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27989         file.
27990         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27991         multiarch wordcopy for PPC32.
27992         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27993         wordcopy objects.
27994         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27995         (__libc_ifunc_impl_list): Likewise.
27996         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27997         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27998         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27999         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
28000         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
28001         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
28003         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
28004         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
28005         file.
28006         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
28007         file.
28008         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
28009         file.
28010         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
28011         multiarch wcscpy for PPC32.
28012         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28013         multiarch objects.
28014         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28015         (__libc_ifunc_impl_list): Likewise.
28016         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28017         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28018         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
28019         sysdeps/powerpc/power6/wcscpy.c.
28021         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
28022         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
28023         file.
28024         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
28025         file.
28026         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
28027         file.
28028         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
28029         multiarch wcsrchr for PPC32.
28030         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28031         multiarch objects.
28032         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28033         (__libc_ifunc_impl_list): Likewise.
28034         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28035         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28036         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
28037         sysdeps/powerpc/power6/wcsrchr.c.
28039         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
28040         file.
28041         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
28042         file.
28043         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
28044         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
28045         multiarch wcschr for PPc32.
28046         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28047         multiarch objects.
28048         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28049         (__libc_ifunc_impl_list): Likewise.
28050         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
28051         * sysdeps/powerpc/power6/wcschr.c: ... to here.
28052         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
28053         sysdeps/powerpc/power6/wcschr.c.
28055         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
28056         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
28057         file.
28058         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
28059         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
28060         file: multiarch strchr for PPC32.
28061         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
28062         multiarch objects.
28063         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28064         (__libc_ifunc_impl_list): Likewise.
28066         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
28067         name.
28068         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
28069         file.
28070         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
28071         file.
28072         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
28073         multiarch strchrnul for PPC32.
28074         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
28075         multiarch objects.
28076         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28077         (__libc_ifunc_impl_list): Likewise.
28079         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
28080         file.
28081         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
28082         multiarch strncasecmp for PPC32.
28083         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
28084         file.
28085         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
28086         multiarch strncasecmp_l for PPC32.
28087         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
28088         strncasecmp multiarch objects.
28089         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28090         (__libc_ifunc_impl_list): Likewise.
28092         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
28093         file.
28094         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
28095         multiarch strncasecmp for PPC32.
28096         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28097         New file.
28098         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
28099         multiarch strcasecmp_l for PPC32.
28100         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
28101         multiarch objects.
28102         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28103         (__libc_ifunc_impl_list): Likewise.
28105         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
28106         file.
28107         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
28108         file.
28109         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
28110         multiarch strncmp for PPC32.
28111         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
28112         multiarch objects.
28113         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28114         (__libc_ifunc_impl_list): Likewise.
28116         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
28117         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
28118         file.
28119         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
28120         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
28121         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
28122         multiarch objects.
28123         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28124         (__libc_ifunc_impl_list): Likewise.
28126         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
28127         file.
28128         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
28129         file.
28130         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
28131         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
28132         multiarch objects.
28133         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28134         (__libc_ifunc_impl_list): Likewise.
28136         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
28137         file.
28138         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
28139         file.
28140         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
28141         multiarch rawmemchr for PPC32.
28142         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
28143         multiarch objects.
28144         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28145         (__libc_ifunc_impl_list): Likewise.
28147         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
28148         file.
28149         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
28150         file.
28151         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
28152         file: memrchr multiarch for PPC32.
28153         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
28154         multiarch objects.
28155         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28156         (__libc_ifunc_impl_list): Likewise.
28158         * string/memchr.c (__memchr): Using macro to redefine symbol name.
28159         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
28160         file.
28161         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
28162         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
28163         multiarch memchr for PPC32.
28164         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
28165         multiarch objects.
28166         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28167         (__libc_ifunc_impl_list): Likewise.
28169         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
28170         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
28171         file.
28172         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
28173         file.
28174         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
28175         file: multiarch mempcpy for PPC32.
28176         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
28177         multiarch objects.
28178         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28179         (__libc_ifunc_impl_list): Likewise.
28181         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
28182         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
28183         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
28184         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
28185         multiarch bzero for PPC32.
28186         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
28187         file.
28188         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
28189         file.
28190         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
28191         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
28192         file: multiarch memset for PPC32.
28193         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
28194         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
28195         memset multiarch objects.
28196         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28197         (__libc_ifunc_impl_list): Likewise.
28199         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
28200         file.
28201         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
28202         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
28203         memcmp for PPC32.
28204         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
28205         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
28206         multiarch objects.
28207         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28208         (__libc_ifunc_impl_list): Likewise.
28210         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
28211         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
28212         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
28213         file.
28214         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
28215         file.
28216         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
28217         file.
28218         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
28219         multiarch memcpy for PPC32.
28220         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
28221         multiarch objects.
28222         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28223         (__libc_ifunc_impl_list): Likewise.
28225         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
28226         support multiarch for POWER/PPC32.
28227         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
28228         Likewise.
28229         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
28231         Implies file to make multiarch folder appers before the fpu and
28232         default folder for power4 configuration.
28234 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28236         * scripts/bench.pl: Append volatile keyword to type.
28238 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28240         * sysdeps/sh/sotruss-lib.c: New file.
28241         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
28243 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28247 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
28249         [BZ #6810]
28250         * math/w_tgamma.c: Include <errno.h>.
28251         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
28252         * math/w_tgammaf.c: Include <errno.h>.
28253         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
28254         * math/w_tgammal.c: Include <errno.h>.
28255         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
28256         * math/auto-libm-test-in: Do not allow missing errno on tgamma
28257         underflow.  Add more tgamma tests.
28258         * math/auto-libm-test-out: Regenerated.
28259         * sysdeps/i386/fpu/libm-test-ulps: Update.
28260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28262         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
28263         sin, sinh, tan, tanh, tgamma, y0 and y1.
28264         * math/auto-libm-test-out: Regenerated.
28265         * math/libm-test.inc (TEST_COND_x86_64): New macro.
28266         (TEST_COND_x86): Likewise.
28267         (M_E2l): Remove macro.
28268         (M_E3l): Likewise.
28269         (M_2_SQRT_PIl): Likewise.
28270         (M_SQRT_PIl): Likewise.
28271         (M_1_DIV_El): Likewise.
28272         (log_test_data): Use AUTO_TESTS_f_f.
28273         (log10_test_data): Likewise.
28274         (log1p_test_data): Likewise.
28275         (log2_test_data): Likewise.
28276         (sin_test_data): Likewise.
28277         (sin_tonearest_test_data): Likewise.
28278         (sin_towardzero_test_data): Likewise.
28279         (sin_downward_test_data): Likewise.
28280         (sin_upward_test_data): Likewise.
28281         (sinh_test_data): Likewise.
28282         (sinh_tonearest_test_data): Likewise.
28283         (sinh_towardzero_test_data): Likewise.
28284         (sinh_downward_test_data): Likewise.
28285         (sinh_upward_test_data): Likewise.
28286         (tan_test_data): Likewise.
28287         (tan_tonearest_test_data): Likewise.
28288         (tan_towardzero_test_data): Likewise.
28289         (tan_downward_test_data): Likewise.
28290         (tan_upward_test_data): Likewise.
28291         (tanh_test_data): Likewise.
28292         (tgamma_test_data): Likewise.
28293         (y0_test_data): Likewise.
28294         (y1_test_data): Likewise.
28295         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
28296         (special_real_inputs): Add pi/4.
28297         * sysdeps/i386/fpu/libm-test-ulps: Update.
28298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28300 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28302         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
28303         "longjmp_target" static probes.
28304         (__longjmp): Rename to __longjmp_symbol.
28305         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28306         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
28307         on which longjmp to generate.
28308         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28309         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
28310         probe.
28311         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28312         (__sigjmp_save): Rename to __sigjmp_save_symbol.
28313         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28314         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
28315         and __sigjmp_save_symbol based on which sigsetjmp to generated.
28316         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
28317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
28318         __longjmp_symbol based on which __longjmp to generate.
28319         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
28320         probe.
28321         (setjmp): Rename to setjmp_symbol.
28322         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28323         (_setjmp): Rename to _setjmp_symbol.
28324         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28325         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
28326         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
28327         which setjmp to generate.
28328         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
28329         "longjmp_target" static probes.
28331 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28333         * benchtests/README: Add note about output arguments.
28334         * benchtests/bench-sincos.c: Remove file.
28335         * benchtests/sincos-inputs: New file.
28336         * scripts/bench.pl: Identify output arguments and define
28337         static variables for them.
28339         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
28341         [BZ #15941]
28342         * Makefile (INSTALL): Add install-plain.texi as the primary
28343         dependency.
28344         * manual/install-plain.texi: New file.
28345         * manual/install.texi: Include node directive only for
28346         non-plaintext output.
28348 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
28350         * stdlib/longlong.h: Update from GCC.
28352         [BZ #6807]
28353         [BZ #15901]
28354         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
28355         * math/w_j0f.c (y0f): Likewise.
28356         * math/w_j0l.c (__y0l): Likewise.
28357         * math/w_j1.c (y1): Likewise.
28358         * math/w_j1f.c (y1f): Likewise.
28359         * math/w_j1l.c (__y1l): Likewise
28360         * math/w_jn.c (yn): Likewise.
28361         * math/w_jnf.c (ynf): Likewise.
28362         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
28363         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
28364         value for Bessel function domain errors outside _SVID_ mode.
28365         Adjust sign of return value for yn (negative integer, 0).
28366         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
28367         by zero in return for negative x and set sign appropriately for
28368         negative n.
28369         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
28370         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28371         * math/libm-test.inc (y0_test_data): Add more tests and adjust
28372         expectations in error cases.
28373         (y1_test_data): Likewise.
28374         (yn_test_data): Likewise.
28375         * sysdeps/i386/fpu/libm-test-ulps: Update.
28376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28378 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28380         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
28381         "64" to "64-v1".  Add "64-v2".
28382         (abi-64-options): Rename to ...
28383         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
28384         (abi-64-condition): Rename to ...
28385         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
28386         (abi-64-ld-soname): Rename to ...
28387         (abi-64-v1-ld-soname): ... this.
28388         (abi-64-v2-options): Define.
28389         (abi-64-v2-condition): Likewise.
28390         (abi-64-v2-ld-soname): Likewise.
28391         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
28392         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
28393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
28394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
28395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
28397 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28398             Alan Modra  <amodra@gmail.com>
28400         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
28401         New versions for use with the ELFv2 ABI.
28402         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
28403         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
28404         declaration.
28405         (struct La_ppc64v2_retval): Likewise.
28406         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
28407         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
28408         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
28409         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
28410         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
28411         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28412         Do not save or restore CR.
28413         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
28414         (_dl_profile_resolve): Do no save or restore CR.  Support extended
28415         return values for ELFv2 ABI.  Fix location of FPR return registers.
28416         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
28417         updated values for _CALL_ELF == 2.
28418         (La_regs, La_retval, int_retval): Likewise.
28420 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28422         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
28423         (FRAME_MIN_SIZE_PARM): Likewise.
28424         (FRAME_BACKCHAIN): Likewise.
28425         (FRAME_CR_SAVE): Likewise.
28426         (FRAME_LR_SAVE): Likewise.
28427         (FRAME_TOC_SAVE): Likewise.
28428         (FRAME_PARM_SAVE): Likewise.
28429         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
28430         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
28431         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28432         (call_mcount_parm_offset): New macro.
28433         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
28434         (PROF): Use symbolic stack frame offsets.
28435         (TAIL_CALL_SYSCALL_ERROR): Likewise.
28436         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
28437         Redefine in terms of FRAME_MIN_SIZE.
28438         (_dl_runtime_resolve): Use symbolic stack frame offsets.
28439         (_dl_profile_resolve): Likewise.  Update comment.
28440         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
28441         symbols stack frame offsets.
28442         (__sigsetjmp): Likewise.
28443         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
28444         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
28445         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
28446         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
28448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
28449         (FRAME_BACKCHAIN): Remove.
28450         (FRAME_CR_SAVE): Likewise.
28451         (FRAME_LR_SAVE): Likewise.
28452         (FRAME_COMPILER_DW): Likewise.
28453         (FRAME_LINKER_DW): Likewise.
28454         (FRAME_TOC_SAVE): Likewise.
28455         (FRAME_PARM_SAVE): Likewise.
28456         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
28457         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
28458         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
28460         (CHECK_SP): Use symbolic stack frame offsets.
28461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
28462         zone" instead of caller's parameter save area for temp storage.
28463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28464         Likewise.  Also, use symbolic stack frame offsets.
28465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
28466         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
28467         our own stack frame instead of the caller's.
28468         (__socket): Use symbolic stack frame offsets.
28470 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28471             Alan Modra  <amodra@gmail.com>
28473         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
28474         Define.
28475         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
28476         (PPC64_LOCAL_ENTRY_OFFSET): Define.
28477         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
28478         New function.
28479         (elf_machine_fixup_plt): Call it.
28480         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
28481         reloc arguments.
28482         (elf_machine_rela): Update call to elf_machine_plt_conflict.
28483         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28484         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
28485         r2 before calling target.
28487 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28488             Alan Modra  <amodra@gmail.com>
28490         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
28491         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
28492         versions of macros to support ELFv2 ABI.
28493         (LOCALENTRY): New macro.
28494         (ENTRY, EALIGN): Use it.
28495         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
28496         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
28497         fall through into ENTRY entry point.
28498         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
28499         Only define if _CALL_ELF != 2.
28501         (elf_machine_matches_host): Verify ABI version matches.
28502         (RTLD_START): Use LOCALENTRY.
28503         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
28504         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
28505         (PLT_ENTRY_WORDS): New macro.
28506         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
28507         (elf_machine_runtime_setup): Support ELFv2 ABI.
28508         (elf_machine_fixup_plt): Likewise.
28509         (elf_machine_plt_conflict): Likewise.
28510         (resolve_ifunc): Likewise.
28511         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
28512         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28513         Likewise.
28514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
28515         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
28516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28517         (makecontext): Support ELFv2 ABI.
28518         * elf/elf.h (EF_PPC64_ABI): Define.
28520 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28522         * sysdeps/powerpc/powerpc64/sysdep.h
28523         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
28524         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
28525         (ENTRY) [ASSEMBLER]: ... but instead here ...
28526         (EALIGN) [ASSEMBLER]: ... and here.
28527         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
28528         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
28529         (ENTRY_2) [!ASSEMBLER]: Use it.
28530         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
28531         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
28532         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28533         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
28534         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
28535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
28536         Use PPC64_LOAD_FUNCPTR.
28538         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
28540 2013-12-04  Alan Modra  <amodra@gmail.com>
28542         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
28543         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
28544         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
28545         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
28547         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
28548         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
28549         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
28550         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
28551         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
28552         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
28554 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28557         (__makecontext): Fix incorrect CFI when backtracing out of
28558         context created via makecontext.
28559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
28560         (__setcontext): Fix incorrect CFI during switch to new context.
28561         (__novec_setcontext): Likewise.
28563 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28565         [BZ #4772]
28566         * time/strptime_l.c (__strptime_internal): Allow modifiers
28567         in strptime.
28568         * time/tst-strptime.c (day_tests): Add testcase.
28570 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28572         * scripts/bench.pl: Skip over blank lines.
28574 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
28576         [BZ #926]
28577         * manual/time.texi (Calendar Time): Clarify what timezone functions
28578         use.
28580 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28584 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28586         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
28587         implementation.
28588         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28589         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28590         * debug/memset_chk.c (__memset_chk): Likewise.
28591         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
28592         * debug/strncpy_chk.c: Likewise.
28594 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28596         [BZ #15268]
28597         [BZ #15425]
28598         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
28599         (__ieee754_exp): For possibly underflowing results, check size of
28600         result and force underflow exception if required.
28601         * math/auto-libm-test-in: Add more tests of exp.
28602         * math/auto-libm-test-out: Regenerated.
28603         * sysdeps/i386/fpu/libm-test-ulps: Update.
28604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28606         [BZ #16283]
28607         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28608         * math/w_exp2f.c (__exp2f): Likewise.
28609         * math/w_exp2l.c (__exp2l): Likewise.
28610         * math/auto-libm-test-in: Do not allow missing errno on exp2
28611         underflow.
28612         * math/auto-libm-test-out: Regenerated.
28614 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
28616         [BZ #16274]
28617         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28618         handle filename validation.
28619         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28620         (do_open): Delete.
28622 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28624         [BZ #6786]
28625         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28626         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28627         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28628         <float.h>.
28629         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28630         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28631         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28632         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28633         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28634         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28635         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28636         * math/auto-libm-test-in: Don't allow missing errno from erfc.
28637         Add more erfc tests.
28638         * math/auto-libm-test-out: Regenerated.
28639         * sysdeps/i386/fpu/libm-test-ulps: Update.
28640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28642         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28643         exp2, expm1, j0 and j1.
28644         * math/auto-libm-test-out: Regenerated.
28645         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28646         (erfc_test_data): Likewise.
28647         (exp_test_data): Likewise.
28648         (exp_tonearest_test_data): Likewise.
28649         (exp_towardzero_test_data): Likewise.
28650         (exp_downward_test_data): Likewise.
28651         (exp_upward_test_data): Likewise.
28652         (exp10_test_data): Likewise.
28653         (exp2_test_data): Likewise.
28654         (expm1_test_data): Likewise.
28655         (j0_test_data): Likewise.
28656         (j1_test_data): Likewise.
28657         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28658         (input_flag_type): Add flag_xfail_rounding.
28659         (input_flags): Add xfail-rounding.
28660         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28661         (output_for_one_input_case): Handle flag_xfail_rounding.
28662         * sysdeps/i386/fpu/libm-test-ulps: Update.
28663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28665 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28667         [BZ #16289]
28668         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28669         division by 0.
28671 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28673         [BZ #16195]
28674         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28675         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28676         (STAP_PROBE0): New macro.
28677         (STAP_PROBE1): Likewise.
28678         (STAP_PROBE2): Likewise.
28679         (STAP_PROBE3): Likewise.
28680         (STAP_PROBE4): Likewise.
28682 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28684         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28686 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28688         * benchtests/Makefile (bench): Add sqrt.
28689         (LDLIBS-bench-sqrt): New.
28690         * benchtests/sqrt-input: New.
28692 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28694         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28695         (GAIH_EAI): Likewise.
28696         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28697         (gaih_inet): Likewise.
28698         (getaddrinfo): Don't use GAIH_EAI.
28700         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28701         (struct gaih): Remove definition.
28703 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28705         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28706         Use HERRNOP directly.
28708 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28712 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28714         * math/gen-auto-libm-tests.c (test_functions): Add more
28715         single-argument functions.
28716         (special_fill_pi_2): New function.
28717         (special_fill_minus_pi_2): Likewise.
28718         (special_fill_pi_6): Likewise.
28719         (special_fill_minus_pi_6): Likewise.
28720         (special_fill_pi_3): Likewise.
28721         (special_fill_2pi_3): Likewise.
28722         (special_fill_e): Likewise.
28723         (special_fill_1_e): Likewise.
28724         (special_fill_e_minus_1): Likewise.
28725         (special_real_inputs): Add more special inputs.
28726         (output_for_one_input_case): Do not require ERANGE on underflow to
28727         zero if round-to-nearest result does not underflow to zero, unless
28728         exact results required.
28729         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28730         atan, atanh, cbrt, cos and cosh.
28731         * math/auto-libm-test-out: Regenerated.
28732         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28733         (acos_tonearest_test_data): Likewise.
28734         (acos_towardzero_test_data): Likewise.
28735         (acos_downward_test_data): Likewise.
28736         (acos_upward_test_data): Likewise.
28737         (acosh_test_data): Likewise.
28738         (asin_test_data): Likewise.
28739         (asin_tonearest_test_data): Likewise.
28740         (asin_towardzero_test_data): Likewise.
28741         (asin_upward_test_data): Likewise.
28742         (asinh_test_data): Likewise.
28743         (atan_test_data): Likewise.
28744         (atanh_test_data): Likewise.
28745         (cbrt_test_data): Likewise.
28746         (cos_test_data): Likewise.
28747         (cos_tonearest_test_data): Likewise.
28748         (cos_towardzero_test_data): Likewise.
28749         (cos_downward_test_data): Likewise.
28750         (cos_upward_test_data): Likewise.
28751         (cosh_test_data): Likewise.
28752         (cosh_tonearest_test_data): Likewise.
28753         (cosh_towardzero_test_data): Likewise.
28754         (cosh_downward_test_data): Likewise.
28755         (cosh_upward_test_data): Likewise.
28756         * sysdeps/i386/fpu/libm-test-ulps: Update.
28757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28759 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28761         [BZ #6787]
28762         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28763         * math/w_exp10f.c (__exp10f): Likewise.
28764         * math/w_exp10l.c (__exp10l): Likewise.
28765         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28766         errno settings in existing tests.
28768         [BZ #14032]
28769         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28770         precision control set to double precision.
28771         * sysdeps/i386/fpu/w_sqrt.c: New file.
28772         * math/auto-libm-test-in: Add more tests.
28773         * math/auto-libm-test-out: Update.
28775         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28776         (sqrt_test_tonearest): New function.
28777         (sqrt_towardzero_test_data): New variable.
28778         (sqrt_test_towardzero): New function.
28779         (sqrt_downward_test_data): New variable.
28780         (sqrt_test_downward): New function.
28781         (sqrt_upward_test_data): New variable.
28782         (sqrt_test_upward): New function.
28783         (main): Call the new functions.
28785         * math/gen-auto-libm-tests.c: New file.
28786         * math/auto-libm-test-in: Likewise.
28787         * math/auto-libm-test-out: New generated file.
28788         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28789         variables.
28790         (%beautify): Add generated representations of zero.
28791         (top level): Set $auto_input and call parse_auto_input.
28792         (beautify): Remove trailing "f" from hex float constants.
28793         (parse_args): Handle XFAIL_TEST.
28794         (convert_condition): New function.
28795         (or_value): Likewise.
28796         (or_cond_value): Likewise.
28797         (generate_testfile): Handle AUTO_TESTS_* lines.
28798         (parse_auto_input): New function.
28799         * math/libm-test.inc (XFAIL_TEST): New macro.
28800         (ERRNO_UNCHANGED): Update value.
28801         (ERRNO_EDOM): Likewise.
28802         (ERRNO_ERANGE): Likewise.
28803         (IGNORE_RESULT): Likewise.
28804         (TEST_COND_flt_32): New macro.
28805         (TEST_COND_dbl_64): Likewise.
28806         (TEST_COND_ldbl_96_intel): Likewise.
28807         (TEST_COND_ldbl_96_m68k): Likewise.
28808         (TEST_COND_ldbl_128): Likewise.
28809         (TEST_COND_ldbl_128ibm): Likewise.
28810         (TEST_COND_long32): Likewise.
28811         (TEST_COND_long64): Likewise.
28812         (TEST_COND_before_rounding): Likewise.
28813         (TEST_COND_after_rounding): Likewise.
28814         (enable_test): Handle XFAIL_TEST flag.
28815         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28816         with finite results.
28817         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28818         auto-libm-test-out.
28820 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28821             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28823         [BZ #16214]
28824         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28825         __tls_get_addr_internal instead of __tls_get_offset in order to
28826         avoid GOT pointer dependency.  Make rtld export
28827         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28828         __tls_get_addr since we are a __tls_get_offset platform.
28829         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28830         GOT pointer being set up before.
28831         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28833 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28835         * manual/math.texi (Errors in Math Functions): Document accuracy
28836         goals.
28838         [BZ #15004]
28839         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28840         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28841         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28842         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28843         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28844         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28845         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28846         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28847         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28848         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28849         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28850         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28851         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28852         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28853         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28854         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28856         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28857         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28858         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28859         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28860         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28861         Likewise.
28862         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28863         Likewise.
28864         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28865         Likewise.
28866         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28867         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28868         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28869         atomic-feupdateenv and flt-rounds.
28870         * sysdeps/powerpc/nofpu/Versions (libc): Add
28871         __atomic_feholdexcept, __atomic_feclearexcept,
28872         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28873         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28874         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28875         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28876         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28877         here.
28878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28879         Update.
28881         * manual/arith.texi (FP Exceptions): Document that exceptions may
28882         not be raised when matherr is used.
28883         (Math Error Reporting): Document overflow in directed rounding
28884         modes.  Document that errno may not be set when finite values are
28885         returned on overflow.  Document intent to set errno on underflow
28886         only for underflow to zero.
28888         [BZ #16271]
28889         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28890         round-to-nearest then adjust result for other rounding modes.
28891         * include/fenv.h (fegetround): Use libm_hidden_proto.
28892         * math/fegetround.c (fegetround): Use libm_hidden_def.
28893         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28894         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28895         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28896         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28897         Likewise.
28898         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28899         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28900         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28901         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28903 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28905         [BZ #16077]
28906         * nss/Versions (libnss_files): Add
28907         _nss_files_gethostbyname3_r.
28908         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28909         New function.
28910         (HOST_DB_LOOKUP): Remove macro.
28911         (_nss_files_gethostbyname_r): Implement function without the
28912         HOST_DB_LOOKUP macro.
28913         (_nss_files_gethostbyname2_r): Likewise.
28915 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28917         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28919 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28921         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28922         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28923         warning.
28925 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28927         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28928         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28929         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28930         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28931         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28932         __fe_nomask_env_priv and attribute_hidden.
28933         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28934         (libc_feupdateenv_test_ppc): Likewise.
28935         (libc_feresetround_ppc): Likewise.
28936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28937         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28938         compat_symbol macro.
28939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28940         (__fe_nomask_env): Likewise.
28941         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28943 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28945         * string/Makefile: Remove ifunc tests.
28946         * string/test-string.h: Define TEST_IFUNC.
28947         * string/test-bcopy-ifunc.c: Remove.
28948         * string/test-bzero-ifunc.c: Likewise.
28949         * string/test-memccpy-ifunc.c: Likewise.
28950         * string/test-memchr-ifunc.c: Likewise.
28951         * string/test-memcmp-ifunc.c: Likewise.
28952         * string/test-memcpy-ifunc.c: Likewise.
28953         * string/test-memmem-ifunc.c: Likewise.
28954         * string/test-memmove-ifunc.c: Likewise.
28955         * string/test-mempcpy-ifunc.c: Likewise.
28956         * string/test-memrchr-ifunc.c: Likewise.
28957         * string/test-memset-ifunc.c: Likewise.
28958         * string/test-rawmemchr-ifunc.c: Likewise.
28959         * string/test-stpcpy-ifunc.c: Likewise.
28960         * string/test-stpncpy-ifunc.c: Likewise.
28961         * string/test-strcasecmp-ifunc.c: Likewise.
28962         * string/test-strcasestr-ifunc.c: Likewise.
28963         * string/test-strcat-ifunc.c: Likewise.
28964         * string/test-strchr-ifunc.c: Likewise.
28965         * string/test-strchrnul-ifunc.c: Likewise.
28966         * string/test-strcmp-ifunc.c: Likewise.
28967         * string/test-strcpy-ifunc.c: Likewise.
28968         * string/test-strcspn-ifunc.c: Likewise.
28969         * string/test-strlen-ifunc.c: Likewise.
28970         * string/test-strncasecmp-ifunc.c: Likewise.
28971         * string/test-strncat-ifunc.c: Likewise.
28972         * string/test-strncmp-ifunc.c: Likewise.
28973         * string/test-strncpy-ifunc.c: Likewise.
28974         * string/test-strnlen-ifunc.c: Likewise.
28975         * string/test-strpbrk-ifunc.c: Likewise.
28976         * string/test-strrchr-ifunc.c: Likewise.
28977         * string/test-strspn-ifunc.c: Likewise.
28978         * string/test-strstr-ifunc.c: Likewise.
28980 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28982         * benchtests/Makefile: Remove ifunc tests.
28983         * benchtests/bench-string.h: Define TEST_IFUNC.
28984         * benchtests/bench-bcopy-ifunc.c: Remove.
28985         * benchtests/bench-bzero-ifunc.c: Likewise.
28986         * benchtests/bench-memccpy-ifunc.c: Likewise.
28987         * benchtests/bench-memchr-ifunc.c: Likewise.
28988         * benchtests/bench-memcmp-ifunc.c: Likewise.
28989         * benchtests/bench-memcpy-ifunc.c: Likewise.
28990         * benchtests/bench-memmem-ifunc.c: Likewise.
28991         * benchtests/bench-memmove-ifunc.c: Likewise.
28992         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28993         * benchtests/bench-memrchr-ifunc.c: Likewise.
28994         * benchtests/bench-memset-ifunc.c: Likewise.
28995         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28996         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28997         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28998         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28999         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
29000         * benchtests/bench-strcasestr-ifunc.c: Likewise.
29001         * benchtests/bench-strcat-ifunc.c: Likewise.
29002         * benchtests/bench-strchr-ifunc.c: Likewise.
29003         * benchtests/bench-strchrnul-ifunc.c: Likewise.
29004         * benchtests/bench-strcmp-ifunc.c: Likewise.
29005         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
29006         * benchtests/bench-strcpy-ifunc.c: Likewise.
29007         * benchtests/bench-strcspn-ifunc.c: Likewise.
29008         * benchtests/bench-strlen-ifunc.c: Likewise.
29009         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
29010         * benchtests/bench-strncat-ifunc.c: Likewise.
29011         * benchtests/bench-strncmp-ifunc.c: Likewise.
29012         * benchtests/bench-strncpy-ifunc.c: Likewise.
29013         * benchtests/bench-strnlen-ifunc.c: Likewise.
29014         * benchtests/bench-strpbrk-ifunc.c: Likewise.
29015         * benchtests/bench-strrchr-ifunc.c: Likewise.
29016         * benchtests/bench-strsep-ifunc.c: Likewise.
29017         * benchtests/bench-strspn-ifunc.c: Likewise.
29018         * benchtests/bench-strstr-ifunc.c: Likewise.
29020 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29022         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
29024 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29026         * resolv/netdb.h: Use __glibc_reserved instead __unused.
29027         * rt/aio.h: Likewise.
29028         * sysdeps/gnu/bits/utmp.h: Likewise.
29029         * sysdeps/gnu/bits/utmpx.h: Likewise.
29030         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29031         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
29032         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
29033         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
29034         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
29035         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
29036         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
29037         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
29038         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
29039         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
29040         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
29041         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
29042         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
29043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
29044         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29045         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
29046         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
29047         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
29048         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
29049         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
29050         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
29051         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
29052         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
29053         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29054         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
29055         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29056         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
29057         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
29058         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
29059         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
29060         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
29061         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
29062         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
29063         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29064         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
29065         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
29066         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
29067         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
29068         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
29069         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
29070         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
29071         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29073 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
29075         [BZ #16245]
29076         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
29077         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
29079 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
29081         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
29082         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29083         Likewise.
29085 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29087         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
29088         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
29089         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
29090         (__fesetround): Remove define.
29091         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
29092         rounding and exceptions handling.
29093         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
29094         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
29095         (__fe_nomask_env): Likewise.
29096         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
29097         __fegetround instead of fegetround.
29098         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29099         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
29101 2013-11-21  Roland McGrath  <roland@hack.frob.com>
29103         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
29104         it's there.
29106         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
29108 2013-11-21  Meador Inge  <meadori@codesourcery.com>
29110         [BZ #11157]
29111         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
29112         (encrypt_r): Likewise.
29113         * malloc/obstack.h (obstack_free): Likewise.
29114         * posix/unistd.h (encrypt): Likewise.
29116 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
29118         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
29119         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
29120         DL_CALL_DT_FINI() that call the functions directly.
29121         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
29122         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
29123         * elf/dl-fini.c: Likewise.
29125 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
29127         * malloc/hooks.c (memalign_check): Add alignment rounding.
29128         * malloc/malloc.c (_mid_memalign): New function.
29129         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
29130         Implement by calling _mid_memalign.
29131         * manual/probes.texi (Memory Allocation Probes): Remove
29132         memory_valloc_retry and memory_pvalloc_retry.
29134 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29136         * locale/programs/locarchive.c (open_archive): Add const
29137         qualifier to ARCHIVEFNAME and copy default fname to
29138         DEFAULT_FNAME.
29140         [BZ #15601]
29141         * libio/tst-widetext.input: Rename Oriya to Odia.
29142         * locale/iso-639.def: Likewise.
29144         * manual/probes.texi (Mathematical Function Probes): Add
29145         documentation for sin, cos, asin and acos probes.
29146         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
29147         (__sin32): Add slowasin probe.
29148         (__cos32): Add slowacos probe.
29149         (__mpsin): Add slowsin probe.
29150         (__mpcos): Add slowcos probe.
29152 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
29154         [BZ #15483]
29155         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
29156         thread-local __sim_exceptions_thread and global
29157         __sim_exceptions_global.
29158         (__sim_disabled_exceptions): Change to thread-local
29159         __sim_disabled_exceptions_thread and global
29160         __sim_disabled_exceptions_global.
29161         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29162         and global __sim_round_mode_global.
29163         (__simulate_exceptions): Use thread-local floating-point state and
29164         set global state from it as needed.
29165         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
29166         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
29167         __sim_round_mode_thread.
29168         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
29169         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
29170         and global __sim_exceptions_global.
29171         (__sim_disabled_exceptions): Change to thread-local
29172         __sim_disabled_exceptions_thread and global
29173         __sim_disabled_exceptions_global.
29174         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29175         and global __sim_round_mode_global.
29176         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
29177         (SIM_SET_GLOBAL): Likewise.
29178         * sysdeps/powerpc/soft-fp/sfp-machine.h
29179         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
29180         __sim_round_mode_thread.
29181         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
29182         __sim_disabled_exceptions_thread.
29183         (__sim_exceptions): Change to __sim_exceptions_thread.
29184         (__sim_disabled_exceptions): Change to
29185         __sim_disabled_exceptions_thread.
29186         (__sim_round_mode): Change to __sim_round_mode_thread.
29187         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
29188         thread-local floating-point state and set global state from it as
29189         needed.
29190         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
29191         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
29192         (__sim_disabled_exceptions): Remove extern declaration.
29193         (feenableexcept): Use thread-local floating-point state and set
29194         global state from it as needed.
29195         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
29196         extern declaration.
29197         (__sim_disabled_exceptions): Likewise.
29198         (__sim_round_mode): Likewise.
29199         (__fegetenv): Use thread-local floating-point state.
29200         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
29201         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29202         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
29203         floating-point state and set global state from it as needed.
29204         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
29205         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29206         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
29207         Likewise.
29208         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29209         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
29210         Likewise.
29211         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
29212         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
29213         Use __sim_round_mode_thread.
29214         * math/test-fenv-tls.c: New file.
29215         * math/Makefile (tests): Add test-fenv-tls.
29216         ($(objpfx)test-fenv-tls): Depend on
29217         $(common-objpfx)nptl/libpthread.so.
29219 2013-11-19  Andreas Schwab  <schwab@suse.de>
29221         * locale/programs/locale.c (show_info): Decode wordarray elements.
29222         * locale/categories.def (LC_MONETARY): Add element for
29223         _NL_MONETARY_CRNCYSTR.
29224         * locale/C-monetary.c (conversion_rate): New variable.
29225         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
29226         element.
29228 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
29230         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
29231         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
29233 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
29235         * elf/Makefile (tst-auxv): New test.
29236         * elf/tst-auxv.c: New
29237         * elf/rtld.c (dl_main): Adjust AT_EXECFN
29239 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
29241         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
29242         (hidden_proto): Caller changed.
29243         (hidden_tls_proto): New macro.
29244         (libc_hidden_tls_proto): Likewise.
29245         (rtld_hidden_tls_proto): Likewise.
29246         (libm_hidden_tls_proto): Likewise.
29247         (libresolv_hidden_tls_proto): Likewise.
29248         (librt_hidden_tls_proto): Likewise.
29249         (libdl_hidden_tls_proto): Likewise.
29250         (libnss_files_hidden_tls_proto): Likewise.
29251         (libnsl_hidden_tls_proto): Likewise.
29252         (libnss_nisplus_hidden_tls_proto): Likewise.
29253         (libutil_hidden_tls_proto): Likewise.
29255 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
29257         [BZ #10253]
29258         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
29259         (decompose_rpath): Defer expansion to fillin_rpath.
29260         (_dl_init_paths): Pass linkmap to fillin_rpath.
29262 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29264         * benchtests/Makefile: Add strsep.
29265         * benchtests/bench-strsep.c: New file: strsep benchtest.
29266         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
29268 2013-11-18  Andreas Schwab  <schwab@suse.de>
29270         * locale/programs/locale.c (show_info) [case byte]: Check for
29271         '\377' instead of '\177'.
29272         * locale/C-monetary.c (not_available): Always use "\377".
29273         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
29274         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
29275         detect unavailable sign_posn locale elements.
29276         * locale/localeconv.c (__localeconv): For grouping and
29277         mon_grouping handle "\177" and "\377" like no grouping.
29278         (INT_ELEM): New macro.  Use it to set all numeric members.
29279         * locale/programs/ld-monetary.c (monetary_read)
29280         <tok_mon_grouping>: Normalize single -1 to the empty string.
29281         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
29282         Likewise.
29284 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29286         [BZ #16055]
29287         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
29288         when we match (nil).
29289         * stdio-common/tst-sscanf.c (struct test): Add testcase.
29291 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
29293         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
29294         (NO_TEST_INLINE): Update value.
29295         (ERRNO_UNCHANGED): Likewise.
29296         (ERRNO_EDOM): Likewise.
29297         (ERRNO_ERANGE): Likewise.
29298         (IGNORE_RESULT): Likewise.
29299         (check_float_internal): Check signs of NaN results if
29300         TEST_NAN_SIGN used.
29301         (check_complex): Pass TEST_NAN_SIGN flag through to second
29302         check_float_internal call.
29303         (copysign_test_data): Add tests with quiet NaNs as second
29304         argument.  Use TEST_NAN_SIGN.
29305         (fabs_test_data): Add test of negative quiet NaN argument.  Use
29306         TEST_NAN_SIGN.
29307         (signbit_test_data): Add tests of quiet NaN argument.
29308         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
29310         * math/gen-libm-test.pl (show_exceptions): Take extra argument
29311         $ignore_result.
29312         (parse_args): Handle function results specified as IGNORE.
29313         * math/libm-test.inc (IGNORE_RESULT): New macro.
29314         (check_float_internal): Do not check numerical result if flag
29315         IGNORE_RESULT set.
29316         (check_complex): Pass through IGNORE_RESULT to second
29317         check_float_internal call.
29318         (check_int): Do not check numerical result if flag IGNORE_RESULT
29319         set.
29320         (check_long): Likewise.
29321         (check_bool): Likewise.
29322         (check_longlong): Likewise.
29323         (lrint_test_data): Add tests of infinite and NaN arguments.
29324         (lrint_tonearest_test_data): Likewise.
29325         (lrint_towardzero_test_data): Likewise.
29326         (lrint_downward_test_data): Likewise.
29327         (lrint_upward_test_data): Likewise.
29328         (llrint_test_data): Likewise.
29329         (llrint_tonearest_test_data): Likewise.
29330         (llrint_towardzero_test_data): Likewise.
29331         (llrint_downward_test_data): Likewise.
29332         (llrint_upward_test_data): Likewise.
29333         (lround_test_data): Likewise.
29334         (llround_test_data): Likewise.
29336         * math/libm-test.inc (NO_TEST_INLINE): New macro.
29337         (ERRNO_UNCHANGED): Update value.
29338         (ERRNO_EDOM): Likewise.
29339         (ERRNO_ERANGE): Likewise.
29340         (NO_TEST_INLINE_FLOAT): New macro.
29341         (NO_TEST_INLINE_DOUBLE): Likewise.
29342         (enable_test): New function.
29343         (RUN_TEST_f_f): Check enable_test before running test.
29344         (RUN_TEST_2_f): Likewise.
29345         (RUN_TEST_fff_f): Likewise.
29346         (RUN_TEST_c_f): Likewise.
29347         (RUN_TEST_f_f1): Likewise.
29348         (RUN_TEST_fF_f1): Likewise.
29349         (RUN_TEST_fI_f1): Likewise.
29350         (RUN_TEST_ffI_f1): Likewise.
29351         (RUN_TEST_c_c): Likewise.
29352         (RUN_TEST_cc_c): Likewise.
29353         (RUN_TEST_f_i): Likewise.
29354         (RUN_TEST_f_i_tg): Likewise.
29355         (RUN_TEST_ff_i_tg): Likewise.
29356         (RUN_TEST_f_b): Likewise.
29357         (RUN_TEST_f_b_tg): Likewise.
29358         (RUN_TEST_f_l): Likewise.
29359         (RUN_TEST_f_L): Likewise.
29360         (RUN_TEST_fFF_11): Likewise.
29361         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
29362         conditionals.
29363         (cosh_test_data): Likewise.
29364         (exp_test_data): Likewise.
29365         (expm1_test_data): Likewise.
29366         (hypot_test_data): Likewise.
29367         (pow_test_data): Likewise.
29368         (sinh_test_data): Likewise.
29369         (tanh_test_data): Likewise.
29370         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
29371         flags argument.
29373         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
29374         tests with quiet NaN input and output.
29375         (acosh_test_data): Likewise.
29376         (asin_test_data): Likewise.
29377         (asinh_test_data): Likewise.
29378         (atan_test_data): Likewise.
29379         (atanh_test_data): Likewise.
29380         (atan2_test_data): Likewise.
29381         (cbrt_test_data): Likewise.
29382         (cos_test_data): Likewise.
29383         (cosh_test_data): Likewise.
29384         (erf_test_data): Likewise.
29385         (erfc_test_data): Likewise.
29386         (exp_test_data): Likewise.
29387         (exp10_test_data): Likewise.
29388         (exp2_test_data): Likewise.
29389         (expm1_test_data): Likewise.
29390         (hypot_test_data): Likewise.
29391         (j0_test_data): Likewise.
29392         (j1_test_data): Likewise.
29393         (jn_test_data): Likewise.
29394         (lgamma_test_data): Likewise.
29395         (log_test_data): Likewise.
29396         (log10_test_data): Likewise.
29397         (log1p_test_data): Likewise.
29398         (log2_test_data): Likewise.
29399         (pow_test_data): Likewise.
29400         (scalb_test_data): Likewise.
29401         (sin_test_data): Likewise.
29402         (sincos_test_data): Likewise.
29403         (sinh_test_data): Likewise.
29404         (tan_test_data): Likewise.
29405         (tanh_test_data): Likewise.
29406         (tgamma_test_data): Likewise.
29407         (y0_test_data): Likewise.
29408         (y1_test_data): Likewise.
29409         (yn_test_data): Likewise.
29411         [BZ #16167]
29412         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
29413         argument being NaN and avoid computations with second argument in
29414         that case.
29415         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29416         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29417         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29419 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
29421         * locale/iso-639.def: Add Chitwani Tharu (the).
29423 2013-11-14  Andreas Schwab  <schwab@suse.de>
29425         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
29426         word instead of empty string.
29428 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29431         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
29432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29433         (__fe_nomask_env): Likewise.
29435 2013-11-13  Steve Ellcey  <sellcey@mips.com>
29437         * benchtests/bench-timing.h: Include time.h.
29439 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
29441         [BZ #15997]
29442         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
29443         to 3.4.0 for x32.
29444         * sysdeps/unix/sysv/linux/configure: Regenerated.
29446 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
29448         [BZ #16151]
29449         * stdlib/strtod_l.c (round_and_return): Do not consider
29450         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
29451         exponent one less than half the least subnormal exponent.
29452         * stdlib/test-strtod-round-data: Add more tests.
29453         * stdlib/tst-strtod-round.c (tests): Regenerated.
29455 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29457         [BZ #14143]
29458         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
29459         (__fe_mask_env): Likewise.
29460         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
29461         libm_hidden_proto and add function prototype.
29462         (__fe_mask_env): Add function prototype.
29463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29464         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
29465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29466         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
29467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29468         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
29470 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29472         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
29473         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
29475 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29477         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
29478         of htab_find_slot().
29480 2013-11-11  David S. Miller  <davem@davemloft.net>
29482         [BZ #16150]
29483         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
29484         symbol in the non-vis3 case in static builds.
29485         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
29486         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
29487         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
29488         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
29490 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
29492         [BZ #387]
29493         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
29494         it is empty.
29496 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29498         * benchtests/Makefile: Add bench-strtod.
29499         * benchtests/bench-strtod.c: New file: strtod benchtest
29501 2013-11-11  Andreas Schwab  <schwab@suse.de>
29503         [BZ #16153]
29504         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
29505         terminating NUL in key length.
29507 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29509         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29510         Add artificial ODP entry for vDSO symbol for PPC64.
29511         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
29512         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29514 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29516         [BZ #15374]
29517         * nss/getent.c (services_keys): Recognize services starting with digit.
29519 2013-11-06  David S. Miller  <davem@davemloft.net>
29521         [BZ #15985]
29522         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
29523         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
29525 2013-11-06  Will Newton  <will.newton@linaro.org>
29527         * manual/memory.texi (Malloc Examples): Remove register
29528         keyword from examples.
29530 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
29532         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
29534 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
29536         [BZ #6981]
29537         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
29538         depending on [__GCC_IEC_559 > 0].
29539         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
29540         depending on [__GCC_IEC_559_COMPLEX > 0].
29542 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
29544         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
29545         to iso-639.def.
29547 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
29549         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
29551 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
29553         [BZ #16112]
29554         * malloc/malloc (malloc_info): Do not handle first bin as
29555         special case.
29557 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
29559         * locale/iso-639.def: Add Central Nahuatl (nhn).
29561 2013-11-01  Bruno Haible  <bruno@clisp.org>
29563         [BZ #7003]
29564         * manual/math.texi (BSD Random): Specify range upper bound as
29565         in POSIX.
29567 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
29569         * locale/iso-639.def: Add Meadow Mari (mhr).
29571 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
29573         [BZ #14752], [BZ #15763]
29574         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
29575         Validate name.
29576         * rt/tst_shm.c: Add test for escaping directory.
29578 2013-10-31  Andreas Schwab  <schwab@suse.de>
29580         [BZ #15917]
29581         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
29582         followed by 'x' as part of digit sequence.
29583         * stdio-common/tst-sscanf.c (double_tests2): New tests.
29585 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
29587         [BZ #16037]
29588         * configure.ac: allow GNU Make 4.0 and greater.
29589         * configure: Regenerated.
29591 2013-10-30  Will Newton  <will.newton@linaro.org>
29593         [BZ #16038]
29594         * malloc/hooks.c (memalign_check): Limit alignment to the
29595         maximum representable power of two.
29596         * malloc/malloc.c (__libc_memalign): Likewise.
29597         * malloc/tst-memalign.c (do_test): Add test for very
29598         large alignment values.
29599         * malloc/tst-posix_memalign.c (do_test): Likewise.
29601 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29603         [BZ #11087]
29604         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29605         (munmap_chunk): Likewise.
29606         (mremap_chunk): Likewise.
29608 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29610         [BZ #15799]
29611         * stdlib/div.c (div): Remove obsolete code.
29612         * stdlib/ldiv.c (ldiv): Likewise.
29613         * stdlib/lldiv.c (lldiv): Likewise.
29615 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29617         [BZ #16071]
29618         * nss/nss_files/files-XXX.c (get_contents_ret): New
29619         enumerator.
29620         (get_contents): New function.
29621         (internal_getent): Use it.  Expand size of LINEBUFLEN.
29623 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
29625         * configure.in: Moved to ...
29626         * configure.ac: ... here. Change reference to configure.in
29627         to configure.ac.
29628         * sysdeps/arm/preconfigure.ac: ... here.
29629         configure.in to configure.ac.
29630         * sysdeps/gnu/configure.in: Moved to ...
29631         * sysdeps/gnu/configure.ac: ... here.
29632         * sysdeps/i386/configure.in: Moved to ...
29633         * sysdeps/i386/configure.ac: ... here.
29634         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29635         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29636         * sysdeps/mach/configure.in: Moved to ...
29637         * sysdeps/mach/configure.ac: ... here.
29638         * sysdeps/mach/hurd/configure.in: Moved to ...
29639         * sysdeps/mach/hurd/configure.ac: ... here.
29640         * sysdeps/powerpc/configure.in: Moved to ...
29641         * sysdeps/powerpc/configure.ac: ... here.
29642         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29643         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29644         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29645         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29646         * sysdeps/s390/s390-32/configure.in: Moved to ...
29647         * sysdeps/s390/s390-32/configure.ac: ... here.
29648         * sysdeps/s390/s390-64/configure.in: Moved to ...
29649         * sysdeps/s390/s390-64/configure.ac: ... here.
29650         * sysdeps/sh/configure.in: Moved to ...
29651         * sysdeps/sh/configure.ac: ... here.
29652         * sysdeps/sparc/configure.in: Moved to ...
29653         * sysdeps/sparc/configure.ac: ... here.
29654         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29655         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29656         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29657         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29658         * sysdeps/x86_64/configure.in: Moved to ...
29659         * sysdeps/x86_64/configure.ac: ... here.
29660         * sysdeps/x86_64/preconfigure.in: Moved to ...
29661         * sysdeps/x86_64/preconfigure.ac: ... here.
29662         * aclocal.m4: Change reference to configure.in to configure.ac.
29663         * config.h.in: Likewise.
29664         * manual/install.texi: Likewise.
29665         * manual/maint.texi: Likewise.
29666         * Makefile: Likewise.
29667         * malloc/Makefile: Likewise.
29668         * nscd/Makefile: Likewise.
29669         * Makeconfig: Change reference to configure.in and
29670         preconfigure.in to configure.ac and preconfigure.ac
29671         respectively.
29672         * INSTALL: Regenerated.
29673         * configure: Likewise.
29674         * sysdeps/gnu/configure: Likewise.
29675         * sysdeps/i386/configure: Likewise.
29676         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29677         * sysdeps/mach/configure: Likewise.
29678         * sysdeps/mach/hurd/configure: Likewise.
29679         * sysdeps/powerpc/configure: Likewise.
29680         * sysdeps/powerpc/powerpc32/configure: Likewise.
29681         * sysdeps/powerpc/powerpc64/configure: Likewise.
29682         * sysdeps/s390/s390-32/configure: Likewise.
29683         * sysdeps/s390/s390-64/configure: Likewise.
29684         * sysdeps/sh/configure: Likewise.
29685         * sysdeps/sparc/configure: Likewise.
29686         * sysdeps/unix/sysv/linux/configure: Likewise.
29687         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29688         * sysdeps/x86_64/configure: Likewise.
29689         * sysdeps/x86_64/preconfigure: Likewise.
29691 2013-10-29  Andreas Schwab  <schwab@suse.de>
29693         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29695 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29697         * benchtests/pow-inputs: Add new inputs.
29699         * benchtests/exp-inputs: Add new inputs.
29701         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29702         conditional check for return value.
29703         (__cos32): Likewise.
29705 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29707         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29708         to provide a boost for large inputs with word alignment.
29709         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29710         implementation based on optimized PPC64 strcpy.
29711         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29712         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29713         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29714         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29716 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29718         [BZ #2801]
29719         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29721 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29723         [BZ #14876]
29724         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29725         * time/tst-strptime.c (day_tests): Add testcase.
29727 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29729         [BZ #14029]
29730         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29732 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29734         [BZ #16074]
29735         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29736         MAP_FAILED on error.
29738 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29740         [BZ #16072]
29741         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29742         heap for large requests.
29744 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29746         [BZ #9954]
29747         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29748         result if the result has no associated interface.
29749         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29750         interface for all 127.X.Y.Z addresses.
29752 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29754         * locale/iso-639.def: Add Ligurian (lij)
29756 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29758         [BZ #15825]
29759         * sunrpc/rpc_main.c: Document rpcgen -5.
29761 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29763         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29765 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29767         [BZ #10278]
29768         * posix/glob.c: Match only directories when trailing slash is present.
29769         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29770         (main): Add testcase.
29772 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29774         [BZ #15670]
29775         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29777 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29779         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29780         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29781         AUTH_DES and cindex for FIPS 140-2.
29782         (DES Encryption): Add cindex FIPS 46-3.
29784         * locale/locarchive.h (struct locarhandle): Add fname.
29785         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29786         if an optional argument was specified to --list-archive,
29787         otherwise NULL.
29788         * locale/programs/locarchive.c (show_archive_content): Take new
29789         argument fname and pass it via ah.fname to open_archive.
29790         * locale/programs/localedef.h: Update decl.
29791         (open_archive): If AH->fname is non-null, open that file
29792         rather than the default file name, and don't ignore ENOENT.
29793         (create_archive): Set AH.fname to NULL.
29794         (delete_locales_from_archive): Likewise.
29795         (add_locales_to_archive): Likewise.
29796         * locale/programs/locfile.c (write_all_categories): Likewise.
29798 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29799             Aldy Hernandez  <aldyh@redhat.com>
29801         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29802         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29803         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29804         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29805         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29806         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29807         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29808         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29809         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29810         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29811         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29812         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29813         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29814         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29815         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29816         Likewise.
29817         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29818         Likewise.
29819         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29820         Likewise.
29821         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29822         Likewise.
29823         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29824         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29825         Likewise.
29826         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29827         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29828         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29829         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29830         Likewise.
29831         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29832         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29833         * sysdeps/powerpc/preconfigure: Likewise.
29834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29835         Likewise.
29836         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29837         Replace contents of file by #include of <fenv_libc.h>.
29838         * sysdeps/powerpc/soft-fp/sfp-machine.h
29839         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29840         and <sys/prctl.h>.
29841         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29842         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29843         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29844         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29845         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29846         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29847         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29848         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29849         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29850         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29851         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29852         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29854         Allow copysignl PLT reference to be missing.
29856 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29857             Joseph Myers  <joseph@codesourcery.com
29859         [BZ #15948]
29860         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29861         single character.
29862         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29864 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29866         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29867         * elf/tst-tls1.c: Likewise.
29868         * elf/tst-tls10.h: Likewise.
29869         * elf/tst-tls14.c: Likewise.
29870         * elf/tst-tls2.c: Likewise.
29871         * elf/tst-tls3.c: Likewise.
29872         * elf/tst-tls4.c: Likewise.
29873         * elf/tst-tls5.c: Likewise.
29874         * elf/tst-tls6.c: Likewise.
29875         * elf/tst-tls7.c: Likewise.
29876         * elf/tst-tls8.c: Likewise.
29877         * elf/tst-tls9.c: Likewise.
29878         * elf/tst-tlsmod1.c: Likewise.
29879         * elf/tst-tlsmod13.c: Likewise.
29880         * elf/tst-tlsmod13a.c: Likewise.
29881         * elf/tst-tlsmod14a.c: Likewise.
29882         * elf/tst-tlsmod16a.c: Likewise.
29883         * elf/tst-tlsmod16b.c: Likewise.
29884         * elf/tst-tlsmod2.c: Likewise.
29885         * elf/tst-tlsmod3.c: Likewise.
29886         * elf/tst-tlsmod4.c: Likewise.
29887         * elf/tst-tlsmod5.c: Likewise.
29888         * elf/tst-tlsmod6.c: Likewise.
29890 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29892         [BZ #12486]
29893         * malloc/malloc.c: remove checks for statistics.
29895 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29897         [BZ #15277]
29898         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29899         * inet/tst-network.c: Add testcase.
29901 2013-10-17  Andreas Schwab  <schwab@suse.de>
29903         [BZ #15218]
29904         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29905         to determine canonical name.
29907 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29909         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29910         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29911         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29912         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29913         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29914         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29915         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29916         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29917         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29918         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29919         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29920         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29921         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29922         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29923         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29924         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29925         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29926         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29927         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29928         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29929         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29930         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29931         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29932         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29933         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29934         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29935         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29936         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29937         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29938         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29939         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29940         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29941         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29942         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29943         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29944         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29945         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29946         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29947         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29948         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29949         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29950         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29951         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29952         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29953         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29954         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29955         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29956         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29957         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29958         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29959         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29960         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29961         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29962         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29963         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29964         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29965         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29966         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29968 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29970         [BZ #16041]
29971         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29972         make result into a quiet NaN.
29974 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29976         * soft-fp/adddf3.c: Fix horizontal whitespace.
29977         * soft-fp/addsf3.c: Likewise.
29978         * soft-fp/addtf3.c: Likewise.
29979         * soft-fp/divdf3.c: Likewise.
29980         * soft-fp/divsf3.c: Likewise.
29981         * soft-fp/divtf3.c: Likewise.
29982         * soft-fp/double.h: Likewise.
29983         * soft-fp/eqdf2.c: Likewise.
29984         * soft-fp/eqsf2.c: Likewise.
29985         * soft-fp/eqtf2.c: Likewise.
29986         * soft-fp/extenddftf2.c: Likewise.
29987         * soft-fp/extended.h: Likewise.
29988         * soft-fp/extendsfdf2.c: Likewise.
29989         * soft-fp/extendsftf2.c: Likewise.
29990         * soft-fp/extendxftf2.c: Likewise.
29991         * soft-fp/fixdfdi.c: Likewise.
29992         * soft-fp/fixdfsi.c: Likewise.
29993         * soft-fp/fixdfti.c: Likewise.
29994         * soft-fp/fixsfdi.c: Likewise.
29995         * soft-fp/fixsfsi.c: Likewise.
29996         * soft-fp/fixsfti.c: Likewise.
29997         * soft-fp/fixtfdi.c: Likewise.
29998         * soft-fp/fixtfsi.c: Likewise.
29999         * soft-fp/fixtfti.c: Likewise.
30000         * soft-fp/fixunsdfdi.c: Likewise.
30001         * soft-fp/fixunsdfsi.c: Likewise.
30002         * soft-fp/fixunsdfti.c: Likewise.
30003         * soft-fp/fixunssfdi.c: Likewise.
30004         * soft-fp/fixunssfsi.c: Likewise.
30005         * soft-fp/fixunssfti.c: Likewise.
30006         * soft-fp/fixunstfdi.c: Likewise.
30007         * soft-fp/fixunstfsi.c: Likewise.
30008         * soft-fp/fixunstfti.c: Likewise.
30009         * soft-fp/floatdidf.c: Likewise.
30010         * soft-fp/floatdisf.c: Likewise.
30011         * soft-fp/floatditf.c: Likewise.
30012         * soft-fp/floatsidf.c: Likewise.
30013         * soft-fp/floatsisf.c: Likewise.
30014         * soft-fp/floatsitf.c: Likewise.
30015         * soft-fp/floattidf.c: Likewise.
30016         * soft-fp/floattisf.c: Likewise.
30017         * soft-fp/floattitf.c: Likewise.
30018         * soft-fp/floatundidf.c: Likewise.
30019         * soft-fp/floatundisf.c: Likewise.
30020         * soft-fp/floatunditf.c: Likewise.
30021         * soft-fp/floatunsidf.c: Likewise.
30022         * soft-fp/floatunsisf.c: Likewise.
30023         * soft-fp/floatunsitf.c: Likewise.
30024         * soft-fp/floatuntidf.c: Likewise.
30025         * soft-fp/floatuntisf.c: Likewise.
30026         * soft-fp/floatuntitf.c: Likewise.
30027         * soft-fp/fmadf4.c: Likewise.
30028         * soft-fp/fmasf4.c: Likewise.
30029         * soft-fp/fmatf4.c: Likewise.
30030         * soft-fp/gedf2.c: Likewise.
30031         * soft-fp/gesf2.c: Likewise.
30032         * soft-fp/getf2.c: Likewise.
30033         * soft-fp/ledf2.c: Likewise.
30034         * soft-fp/lesf2.c: Likewise.
30035         * soft-fp/letf2.c: Likewise.
30036         * soft-fp/muldf3.c: Likewise.
30037         * soft-fp/mulsf3.c: Likewise.
30038         * soft-fp/multf3.c: Likewise.
30039         * soft-fp/negdf2.c: Likewise.
30040         * soft-fp/negsf2.c: Likewise.
30041         * soft-fp/negtf2.c: Likewise.
30042         * soft-fp/op-1.h: Likewise.
30043         * soft-fp/op-2.h: Likewise.
30044         * soft-fp/op-4.h: Likewise.
30045         * soft-fp/op-8.h: Likewise.
30046         * soft-fp/op-common.h: Likewise.
30047         * soft-fp/quad.h: Likewise.
30048         * soft-fp/single.h: Likewise.
30049         * soft-fp/soft-fp.h: Likewise.
30050         * soft-fp/sqrtdf2.c: Likewise.
30051         * soft-fp/sqrtsf2.c: Likewise.
30052         * soft-fp/sqrttf2.c: Likewise.
30053         * soft-fp/subdf3.c: Likewise.
30054         * soft-fp/subsf3.c: Likewise.
30055         * soft-fp/subtf3.c: Likewise.
30056         * soft-fp/truncdfsf2.c: Likewise.
30057         * soft-fp/trunctfdf2.c: Likewise.
30058         * soft-fp/trunctfsf2.c: Likewise.
30059         * soft-fp/trunctfxf2.c: Likewise.
30060         * soft-fp/unorddf2.c: Likewise.
30061         * soft-fp/unordsf2.c: Likewise.
30062         * soft-fp/unordtf2.c: Likewise.
30064 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
30066         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
30067         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
30069 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
30071         * elf/dl-libc.c: Clear initfini list after freeing.
30073 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
30075         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
30076         * soft-fp/addsf3.c: Likewise.
30077         * soft-fp/addtf3.c: Likewise.
30078         * soft-fp/divdf3.c: Likewise.
30079         * soft-fp/divsf3.c: Likewise.
30080         * soft-fp/divtf3.c: Likewise.
30081         * soft-fp/double.h: Likewise.
30082         * soft-fp/eqdf2.c: Likewise.
30083         * soft-fp/eqsf2.c: Likewise.
30084         * soft-fp/eqtf2.c: Likewise.
30085         * soft-fp/extenddftf2.c: Likewise.
30086         * soft-fp/extended.h: Likewise.
30087         * soft-fp/extendsfdf2.c: Likewise.
30088         * soft-fp/extendsftf2.c: Likewise.
30089         * soft-fp/extendxftf2.c: Likewise.
30090         * soft-fp/fixdfdi.c: Likewise.
30091         * soft-fp/fixdfsi.c: Likewise.
30092         * soft-fp/fixdfti.c: Likewise.
30093         * soft-fp/fixsfdi.c: Likewise.
30094         * soft-fp/fixsfsi.c: Likewise.
30095         * soft-fp/fixsfti.c: Likewise.
30096         * soft-fp/fixtfdi.c: Likewise.
30097         * soft-fp/fixtfsi.c: Likewise.
30098         * soft-fp/fixtfti.c: Likewise.
30099         * soft-fp/fixunsdfdi.c: Likewise.
30100         * soft-fp/fixunsdfsi.c: Likewise.
30101         * soft-fp/fixunsdfti.c: Likewise.
30102         * soft-fp/fixunssfdi.c: Likewise.
30103         * soft-fp/fixunssfsi.c: Likewise.
30104         * soft-fp/fixunssfti.c: Likewise.
30105         * soft-fp/fixunstfdi.c: Likewise.
30106         * soft-fp/fixunstfsi.c: Likewise.
30107         * soft-fp/fixunstfti.c: Likewise.
30108         * soft-fp/floatdidf.c: Likewise.
30109         * soft-fp/floatdisf.c: Likewise.
30110         * soft-fp/floatditf.c: Likewise.
30111         * soft-fp/floatsidf.c: Likewise.
30112         * soft-fp/floatsisf.c: Likewise.
30113         * soft-fp/floatsitf.c: Likewise.
30114         * soft-fp/floattidf.c: Likewise.
30115         * soft-fp/floattisf.c: Likewise.
30116         * soft-fp/floattitf.c: Likewise.
30117         * soft-fp/floatundidf.c: Likewise.
30118         * soft-fp/floatundisf.c: Likewise.
30119         * soft-fp/floatunsidf.c: Likewise.
30120         * soft-fp/floatunsisf.c: Likewise.
30121         * soft-fp/floatuntidf.c: Likewise.
30122         * soft-fp/floatuntisf.c: Likewise.
30123         * soft-fp/floatuntitf.c: Likewise.
30124         * soft-fp/fmadf4.c: Likewise.
30125         * soft-fp/fmasf4.c: Likewise.
30126         * soft-fp/fmatf4.c: Likewise.
30127         * soft-fp/gedf2.c: Likewise.
30128         * soft-fp/gesf2.c: Likewise.
30129         * soft-fp/getf2.c: Likewise.
30130         * soft-fp/ledf2.c: Likewise.
30131         * soft-fp/lesf2.c: Likewise.
30132         * soft-fp/letf2.c: Likewise.
30133         * soft-fp/muldf3.c: Likewise.
30134         * soft-fp/mulsf3.c: Likewise.
30135         * soft-fp/multf3.c: Likewise.
30136         * soft-fp/negdf2.c: Likewise.
30137         * soft-fp/negsf2.c: Likewise.
30138         * soft-fp/negtf2.c: Likewise.
30139         * soft-fp/op-1.h: Likewise.
30140         * soft-fp/op-2.h: Likewise.
30141         * soft-fp/op-4.h: Likewise.
30142         * soft-fp/op-8.h: Likewise.
30143         * soft-fp/op-common.h: Likewise.
30144         * soft-fp/quad.h: Likewise.
30145         * soft-fp/single.h: Likewise.
30146         * soft-fp/soft-fp.h: Likewise.
30147         * soft-fp/sqrtdf2.c: Likewise.
30148         * soft-fp/sqrtsf2.c: Likewise.
30149         * soft-fp/sqrttf2.c: Likewise.
30150         * soft-fp/subdf3.c: Likewise.
30151         * soft-fp/subsf3.c: Likewise.
30152         * soft-fp/subtf3.c: Likewise.
30153         * soft-fp/truncdfsf2.c: Likewise.
30154         * soft-fp/trunctfdf2.c: Likewise.
30155         * soft-fp/trunctfsf2.c: Likewise.
30156         * soft-fp/trunctfxf2.c: Likewise.
30157         * soft-fp/unorddf2.c: Likewise.
30158         * soft-fp/unordsf2.c: Likewise.
30159         * soft-fp/unordtf2.c: Likewise.
30161 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
30163         [BZ #15672]
30164         * misc/error.c (error_tail): Fix possible buffer overflow.
30166 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
30168         [BZ #13028]
30169         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
30170         address.
30172 2013-10-14  P. J. McDermott  <pj@pehjota.net>
30174         [BZ #832]
30175         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
30176         testing pipefail option.
30178 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30180         * soft-fp/double.h: Indent preprocessor directives inside #if.
30181         * soft-fp/extended.h: Likewise.
30182         * soft-fp/op-2.h: Likewise.
30183         * soft-fp/op-4.h: Likewise.
30184         * soft-fp/op-common.h: Likewise.
30185         * soft-fp/quad.h: Likewise.
30186         * soft-fp/single.h: Likewise.
30187         * soft-fp/soft-fp.h: Likewise.
30189 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
30191         * iconv/iconv_prog.c: Fix typos.
30192         * stdio-common/psiginfo-data.h: Likewise.
30194 2013-10-12   Reuben Thomas <rrt@sc3d.org>
30196         [BZ #15764]
30197         * locale/setlocale.c: Fix typo.
30199 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30201         [BZ #16036]
30202         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
30203         signaling NaN arguments.
30204         * soft-fp/unordsf2.c (__unordsf2): Likewise.
30205         * soft-fp/unordtf2.c (__unordtf2): Likewise.
30207         [BZ #14910]
30208         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
30209         unordered operands.
30210         * soft-fp/gesf2.c (__gesf2): Likewise.
30211         * soft-fp/getf2.c (__getf2): Likewise.
30212         * soft-fp/ledf2.c (__ledf2): Likewise.
30213         * soft-fp/lesf2.c (__lesf2): Likewise.
30214         * soft-fp/letf2.c (__letf2): Likewise.
30216         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
30217         * soft-fp/eqsf2.c (__eqsf2): Likewise.
30218         * soft-fp/eqtf2.c (__eqtf2): Likewise.
30219         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
30220         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
30221         * soft-fp/fixdfti.c (__fixdfti): Likewise.
30222         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
30223         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
30224         * soft-fp/fixsfti.c (__fixsfti): Likewise.
30225         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
30226         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
30227         * soft-fp/fixtfti.c (__fixtfti): Likewise.
30228         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
30229         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
30230         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
30231         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
30232         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
30233         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
30234         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
30235         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
30236         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
30237         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
30238         * soft-fp/floatdisf.c (__floatdisf): Likewise.
30239         * soft-fp/floatsisf.c (__floatsisf): Likewise.
30240         * soft-fp/floattidf.c (__floattidf): Likewise.
30241         * soft-fp/floattisf.c (__floattisf): Likewise.
30242         * soft-fp/floattitf.c (__floattitf): Likewise.
30243         * soft-fp/floatundidf.c (__floatundidf): Likewise.
30244         * soft-fp/floatundisf.c (__floatundisf): Likewise.
30245         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
30246         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
30247         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
30248         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
30249         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
30250         * soft-fp/gesf2.c (__gesf2): Likewise.
30251         * soft-fp/getf2.c (__getf2): Likewise.
30252         * soft-fp/ledf2.c (__ledf2): Likewise.
30253         * soft-fp/lesf2.c (__lesf2): Likewise.
30254         * soft-fp/letf2.c (__letf2): Likewise.
30256         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
30257         Undefine and redefine.
30258         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
30259         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
30260         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
30261         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
30262         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30263         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
30264         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30265         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
30266         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30267         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
30268         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30269         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
30270         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30271         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
30272         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30274         [BZ #16032]
30275         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
30276         without decrementing exponent if mantissa >= that for the
30277         denominator, not >.
30278         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
30279         denominator, not >.  Decrement exponent in < case instead of
30280         incrementing in >= case.
30281         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
30282         without decrementing exponent if mantissa >= that for the
30283         denominator, not >.
30285         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
30286         computing saturated result for unsigned overflow.
30288 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30289             Jeff Law  <law@redhat.com>
30291         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
30292         (atan2Mp): Add systemtap probe marker.
30293         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
30294         (__ieee754_log): Add systemtap probe marker.
30295         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
30296         (atanMp): Add systemtap probe marker.
30297         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
30298         (tanMp): Add systemtap probe marker.
30299         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
30300         (__slowexp): Add systemtap probe marker.
30301         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
30302         (__slowpow): Add systemtap probe marker.
30303         * manual/probes.texi: Document probes.
30305 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
30307         [BZ #15362]
30308         * libio/fileops.c (_IO_new_file_write): Return count of bytes
30309         written.
30310         (_IO_new_file_xsputn): Don't return EOF if nothing has been
30311         written.
30312         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
30313         written to buffer but not flushed.
30314         * libio/iofwrite_u.c:  Likewise.
30315         * libio/iopadn.c:  Return bytes returned even if EOF was
30316         encountered.
30317         * libio/iowpadn.c:  Likewise.
30318         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
30319         if _IO_padn does not write the whole buffer.
30320         [!COMPILE_WPRINTF] (PAD): Likewise.
30322 2013-10-10  David S. Miller  <davem@davemloft.net>
30324         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
30325         directory block.
30327 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30329         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
30330         instead of FSF address.
30331         * soft-fp/fixdfti.c: Likewise.
30332         * soft-fp/fixsfti.c: Likewise.
30333         * soft-fp/fixtfti.c: Likewise.
30334         * soft-fp/fixunsdfti.c: Likewise.
30335         * soft-fp/fixunssfti.c: Likewise.
30336         * soft-fp/fixunstfti.c: Likewise.
30337         * soft-fp/floattidf.c: Likewise.
30338         * soft-fp/floattisf.c: Likewise.
30339         * soft-fp/floattitf.c: Likewise.
30340         * soft-fp/floatuntidf.c: Likewise.
30341         * soft-fp/floatuntisf.c: Likewise.
30342         * soft-fp/floatuntitf.c: Likewise.
30343         * soft-fp/trunctfxf2.c: Likewise.
30345         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
30346         * soft-fp/fixdfti.c: Likewise.
30347         * soft-fp/fixsfti.c: Likewise.
30348         * soft-fp/fixtfti.c: Likewise.
30349         * soft-fp/fixunsdfti.c: Likewise.
30350         * soft-fp/fixunssfti.c: Likewise.
30351         * soft-fp/fixunstfti.c: Likewise.
30352         * soft-fp/floattidf.c: Likewise.
30353         * soft-fp/floattisf.c: Likewise.
30354         * soft-fp/floattitf.c: Likewise.
30355         * soft-fp/floatuntidf.c: Likewise.
30356         * soft-fp/floatuntisf.c: Likewise.
30357         * soft-fp/floatuntitf.c: Likewise.
30358         * soft-fp/trunctfxf2.c: Likewise.
30360 2013-10-10  David S. Miller  <davem@davemloft.net>
30362         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30364 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
30366         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30367         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
30368         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
30369         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
30370         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
30371         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
30372         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
30374         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
30375         for NaNs before doing comparisons on argument.
30376         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30377         Likewise.
30379 2013-10-10  Will Newton  <will.newton@linaro.org>
30381         * malloc/hooks.c (memalign_check): Ensure the value of bytes
30382         passed to _int_memalign does not overflow.
30384 2013-10-10  Torvald Riegel  <triegel@redhat.com>
30386         * scripts/bench.pl: Add include-sources directive.
30387         * benchtests/README: Update documentation.
30389 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30391         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
30392         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
30393         instead of FP_INIT_ROUNDMODE.
30394         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
30395         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
30397         [BZ #16034]
30398         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
30399         copy class of input value.
30400         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
30401         not handle exceptions.
30402         * soft-fp/negsf2.c (__negsf2): Likewise.
30403         * soft-fp/negtf2.c (__negtf2): Likewise.
30404         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
30406 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
30408         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
30409         semicolon.  From Linux kernel.
30411 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
30413         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
30415 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
30417         [BZ #156]
30418         * manual/socket.texi: Added statement about buffer
30419         for gethostbyname2_r.
30421 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
30423         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
30424         Use .p2align directive instead, throughout.
30425         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30426         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30427         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
30428         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30429         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30430         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30431         * sysdeps/x86_64/strchr.S: Likewise.
30432         * sysdeps/x86_64/strrchr.S: Likewise.
30434 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30436         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
30438         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
30440         * sysdeps/generic/math_private.h (__mpsin1): Remove
30441         declaration.
30442         (__mpcos1): Likewise.
30443         (__mpsin): New argument __range_reduce.
30444         (__mpcos): Likewise.
30445         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30446         (slow): Use __mpsin and __mpcos.
30447         (slow1): Likewise.
30448         (slow2): Likewise.
30449         (sloww): Likewise.
30450         (sloww1): Likewise.
30451         (sloww2): Likewise.
30452         (bsloww): Likewise.
30453         (bsloww1): Likewise.
30454         (bsloww2): Likewise.
30455         (cslow2): Likewise.
30456         (csloww): Likewise.
30457         (csloww1): Likewise.
30458         (csloww2): Likewise.
30459         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
30460         range_reduce.  Merge in __mpsin1.
30461         (__mpcos): Likewise.
30462         (__mpsin1): Remove.
30463         (__mpcos1): Likewise.
30465 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
30467         * locale/loadlocale.c (_nl_intern_locale_data): Use
30468         LOCFILE_ALIGNED_P.
30469         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
30470         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
30471         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
30472         obstack data is appropriately aligned.
30473         (obstack_int32_grow_fast): Likewise.
30474         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
30475         * locale/programs/locfile.c (add_locale_uint32): Likewise.
30476         (add_locale_uint32_array): Likewise.
30478 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30480         * benchtests/Makefile: Remove ARGLIST and RET variables.
30481         ($(objpfx)bench-%.c): Pass only function name to the script.
30482         * benchtests/README: Update documentation.
30483         * benchtests/acos-inputs: Add new directives.
30484         * benchtests/acosh-inputs: Likewise.
30485         * benchtests/asin-inputs: Likewise.
30486         * benchtests/asinh-inputs: Likewise.
30487         * benchtests/atan-inputs: Likewise.
30488         * benchtests/atanh-inputs: Likewise.
30489         * benchtests/cos-inputs: Likewise.
30490         * benchtests/cosh-inputs: Likewise.
30491         * benchtests/exp-inputs: Likewise.
30492         * benchtests/log-inputs: Likewise.
30493         * benchtests/pow-inputs: Likewise.
30494         * benchtests/rint-inputs: Likewise.
30495         * benchtests/sin-inputs: Likewise.
30496         * benchtests/sinh-inputs: Likewise.
30497         * benchtests/tan-inputs: Likewise.
30498         * benchtests/tanh-inputs: Likewise.
30499         * scripts/bench.pl: Add support for new directives.
30501 2013-10-07  Alan Modra  <amodra@gmail.com>
30503         * README: Fix careless merge.
30505 2013-10-05  Alan Modra  <amodra@gmail.com>
30507         * NEWS: Mention powerpc64le support and bugs fixed.
30508         * README: Both big-endian and little-endian powerpc64 supported.
30510 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30512         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
30513         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
30514         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
30515         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
30517 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
30519         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
30520         match prototype.
30522 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
30524         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
30525         Move -mhard-float appending from
30526         ports/sysdeps/powerpc/powerpc32/Makefile.
30527         [$(with-fp) = yes] (ASFLAGS): Likewise.
30528         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
30529         * sysdeps/powerpc/nofpu: Move directory from
30530         ports/sysdeps/powerpc/nofpu.
30531         * sysdeps/powerpc/soft-fp: Move directory from
30532         ports/sysdeps/powerpc/soft-fp.
30533         * sysdeps/powerpc/powerpc32/405: Move directory from
30534         ports/sysdeps/powerpc/powerpc32/405.
30535         * sysdeps/powerpc/powerpc32/440: Move directory from
30536         ports/sysdeps/powerpc/powerpc32/440.
30537         * sysdeps/powerpc/powerpc32/464: Move directory from
30538         ports/sysdeps/powerpc/powerpc32/464.
30539         * sysdeps/powerpc/powerpc32/476: Move directory from
30540         ports/sysdeps/powerpc/powerpc32/476.
30541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
30542         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
30543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
30544         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
30545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
30546         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
30547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
30548         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
30549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
30550         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
30551         * README: Update for powerpc-*-linux-gnu software floating point
30552         support in libc.
30554         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
30555         case to powerpc/powerpc32*.
30556         * sysdeps/unix/sysv/linux/configure: Regenerated.
30558         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
30559         (_FPU_MASK_OM): Define as 0x04.
30560         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
30561         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
30562         0x00c10080.
30563         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
30564         0x0000003c.
30565         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
30567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
30568         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30569         getcontext_e500.
30570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
30571         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30572         setcontext_e500.
30573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
30574         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
30575         and setcontext_e500.
30577 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
30579         * locale/iso-3166.def: Update iso-1366.def and related occurrences
30581 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30583         * manual/threads.texi (Default Thread Attributes): Fix typo.
30585 2013-10-04  Will Newton  <will.newton@linaro.org>
30587         * malloc/Makefile: Add tst-memalign.
30588         * malloc/tst-memalign.c: New file.
30590         * malloc/tst-posix_memalign.c: Add comments.
30591         (do_test): Add comments and call free on all potentially
30592         allocated pointers. Add space after cast.
30594         * malloc/tst-pvalloc.c: Add comments.
30595         (do_test): Add comments and call free on all potentially
30596         allocated pointers. Remove duplicate check for NULL pointer.
30597         Add space after cast.
30599         * malloc/tst-valloc.c: Add comments.
30600         (do_test): Add comments and call free on all potentially
30601         allocated pointers. Remove duplicate check for NULL pointer.
30602         Add space after cast.
30604 2013-10-04  Alan Modra  <amodra@gmail.com>
30606         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30607         Use stdint types in rather than __attribute__((mode())).
30608         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30610 2013-10-04  Alan Modra  <amodra@gmail.com>
30612         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30613         Correct handling of unaligned relocs for little-endian.
30614         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30616 2013-10-04  Alan Modra  <amodra@gmail.com>
30618         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30619         * configure: Regenerate.
30620         * nptl/shlib-versions: Powerpc*le starts at 2.18.
30621         * shlib-versions: Likewise.
30623 2013-10-04  Alan Modra  <amodra@gmail.com>
30625         * string/tester.c (test_memrchr): Increment reported test cycle.
30627 2013-10-04  Alan Modra  <amodra@gmail.com>
30629         * string/test-memcpy.c (do_one_test): When reporting errors, print
30630         string address and don't overrun end of string.
30632 2013-10-04  Alan Modra  <amodra@gmail.com>
30634         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30635         insrdi.  Make better use of reg selection to speed exit slightly.
30636         Schedule entry path a little better.  Remove useless "are we done"
30637         checks on entry to main loop.  Handle wrapping around zero address.
30638         Correct main loop count.  Handle single left-over word from main
30639         loop inline rather than by using loop_small.  Remove extra word
30640         case in loop_small caused by wrong loop count.  Add little-endian
30641         support.
30642         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30643         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
30644         cache hint.
30645         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30646         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30647         support.  Avoid rlwimi.
30648         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30650 2013-10-04  Alan Modra  <amodra@gmail.com>
30652         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30653         insrdi.  Formatting.
30654         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30655         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30656         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30657         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30658         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30659         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30661 2013-10-04  Alan Modra  <amodra@gmail.com>
30663         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30664         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30665         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30666         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30667         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30668         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30669         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30670         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30671         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30672         use of regs.  Use power7 mtocrf.  Tidy function tails.
30674 2013-10-04  Alan Modra  <amodra@gmail.com>
30676         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30677         Formatting.  Consistently use rXXX register defines or rN defines.
30678         Use early exit labels that avoid restoring unused non-volatile regs.
30679         Make cr field use more consistent with rWORDn compares.  Rename
30680         regs used as shift registers for unaligned loop, using rN defines
30681         for short lifetime/multiple use regs.
30682         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30683         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30684         addi 1,1,64 to pop stack frame.  Simplify return value code.
30685         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30687 2013-10-04  Alan Modra  <amodra@gmail.com>
30689         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30690         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30691         rather than rlwimi.
30692         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30693         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30694         little-endian support.  Correct typos.
30695         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30696         rather than rlwimi.
30697         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30698         in loop and entry code to keep "and." results.
30699         (strchr): Add little-endian support.  Comment.  Move cntlzd
30700         earlier in tail.
30701         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30703 2013-10-04  Alan Modra  <amodra@gmail.com>
30705         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30706         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30707         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30708         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30710 2013-10-04  Alan Modra  <amodra@gmail.com>
30712         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30713         (rTMP): Define as r11.
30714         (strcmp): Add little-endian support.  Optimise tail.
30715         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30716         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30717         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30718         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30719         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30720         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30721         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30723 2013-10-04  Alan Modra  <amodra@gmail.com>
30725         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30726         little-endian support.  Remove unnecessary "are we done" tests.
30727         Handle "s" wrapping around zero and extremely large "size".
30728         Correct main loop count.  Handle single left-over word from main
30729         loop inline rather than by using small_loop.  Correct comments.
30730         Delete "zero" tail, use "end_max" instead.
30731         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30733 2013-10-04  Alan Modra  <amodra@gmail.com>
30735         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30736         support.  Don't branch over align.
30737         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30738         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30739         support.  Rearrange tmp reg use to suit.  Comment.
30740         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30742 2013-10-04  Alan Modra  <amodra@gmail.com>
30744         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30746 2013-10-04  Alan Modra  <amodra@gmail.com>
30748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30749         conditional form of branch and link when obtaining pc.
30750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30752 2013-10-04  Alan Modra  <amodra@gmail.com>
30754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30755         HIWORD/LOWORD.
30756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30759 2013-10-04  Alan Modra  <amodra@gmail.com>
30761         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30762         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30763         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30764         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30765         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30766         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30767         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30768         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30769         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30770         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30772 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30773             Alistair Popple <alistair@ozlabs.au.ibm.com>
30774             Alan Modra <amodra@gmail.com>
30776         [BZ #15723]
30777         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30778         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30779         _dl_hwcap access for little-endian.
30780         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30781         destroy vmx regs when saving unaligned.
30782         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30783         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30784         destroy vmx regs when saving unaligned.
30786 2013-10-04  Alan Modra  <amodra@gmail.com>
30788         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30789         Don't use a union to pack hi/low value.
30791 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30793         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30794         for little-endian.
30795         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30796         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30797         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30798         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30799         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30801 2013-10-04  Alan Modra  <amodra@gmail.com>
30803         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30804         constants to usual value for .cst8 section, and remove redundant
30805         high address load.
30806         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30807         constant for 0x1p52.  Load little-endian words of double from
30808         correct stack offsets.
30810 2013-10-04  Alan Modra  <amodra@gmail.com>
30812         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30813         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30814         words of double from correct stack offsets.
30815         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30816         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30817         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30818         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30819         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30820         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30821         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30822         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30823         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30824         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30825         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30826         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30827         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30828         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30829         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30830         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30831         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30833 2013-10-04  Alan Modra  <amodra@gmail.com>
30835         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30836         64-bit int/double union.
30837         (_FPU_SETCW): Likewise.
30838         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30839         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30841 2013-10-04  Alan Modra  <amodra@gmail.com>
30843         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30844         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30846 2013-10-04  Alan Modra  <amodra@gmail.com>
30848         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30849         use vector int constants.
30850         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30852 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30854         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30855         array with long long.
30856         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30857         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30858         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30859         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30860         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30861         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30862         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30863         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30864         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30865         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30866         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30867         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30868         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30870 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30872         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30873         (__signbit): Likewise.  Correct for little-endian.
30874         (__signbitl): Call __signbit.
30875         (lrint): Correct for little-endian.
30876         (lrintf): Call lrint.
30878 2013-10-04  Alan Modra  <amodra@gmail.com>
30880         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30881         union 32-bit int array member with 64-bit int array.
30882         (t515, tm256): Double rather than long double.
30883         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30885 2013-10-04  Alan Modra  <amodra@gmail.com>
30887         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30888         Delete.
30889         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30890         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30891         version of math_ldbl.h.
30893 2013-10-04  Alan Modra  <amodra@gmail.com>
30895         [BZ #15734], [BZ #15735]
30896         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30897         all uses of ieee875 long double macros and unions.  Simplify test
30898         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30899         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30900         normalize after ldbl_extract_mantissa, and don't add hidden bit
30901         already handled.  Don't treat low word of ieee854 mantissa like
30902         low word of IBM long double and mask off bit when testing for
30903         zero.
30904         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30905         all uses of ieee875 long double macros and unions.  Simplify tests
30906         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30907         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30908         two1022, instead use their values.  Recognise that tests for large
30909         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30910         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30911         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30912         test for 0.0L and nan.  Correct negation.
30913         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30914         ieee875 long double macros and unions.  Correct output for large
30915         magnitude x.  Correct absolute value calculation.
30916         (__erfcl): Likewise.
30917         * math/libm-test.inc: Add tests for errors discovered in IBM long
30918         double versions of fmodl, remainderl, erfl and erfcl.
30920 2013-10-04  Alan Modra  <amodra@gmail.com>
30922         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30923         all uses of ieee854 long double macros and unions.  Simplify tests
30924         for long doubles that are fully specified by the high double.
30925         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30926         Likewise.
30927         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30928         Remove dead code too.
30929         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30930         (__ieee754_ynl): Likewise.
30931         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30932         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30933         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30934         Remove dead code too.
30935         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30936         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30937         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30938         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30939         Simplify.
30940         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30941         Simplify.
30942         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30943         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30944         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30945         Comment on variable precision.
30946         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30947         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30948         Likewise.
30949         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30950         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30951         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30952         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30953         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30955 2013-10-04  Alan Modra  <amodra@gmail.com>
30957         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30958         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30959         all uses of ieee854 long double macros and unions.
30960         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30961         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30962         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30963         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30964         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30965         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30966         Likewise.
30967         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30968         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30969         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30970         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30971         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30972         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30973         Simplify sign and nan test too.
30974         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30975         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30976         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30977         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30978         Likewise.
30979         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30980         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30981         Likewise.
30982         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30983         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30984         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30985         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30986         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30987         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30989 2013-10-04  Alan Modra  <amodra@gmail.com>
30991         * stdio-common/printf_size.c (__printf_size): Don't use
30992         union ieee854_long_double in fpnum union.
30993         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30994         signbit macro to retrieve sign from long double.
30995         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30996         retrieve sign from long double.
30997         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30998         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30999         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
31000         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31001         * math/test-misc.c (main): Don't use union ieee854_long_double.
31003 2013-10-04  Alan Modra  <amodra@gmail.com>
31005         [BZ #15680]
31006         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
31007         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
31008         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
31009         calculation.  Remove unnecessary test for denormal exponent.
31010         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
31011         Correct handling of denormals.  Avoid undefined shift behaviour.
31012         Correct normalisation of low mantissa when low double is denormal.
31013         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
31014         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
31015         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
31016         Correct normalisation of low mantissa.  Test for overflow of high
31017         mantissa and normalise.
31018         (ldbl_nearbyint): Use more readable constant for two52.
31019         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
31020         (__mpn_construct_long_double): Fix test for overflow of high
31021         mantissa and correct normalisation.  Avoid undefined shift.
31023 2013-10-04  Alan Modra  <amodra@gmail.com>
31025         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31026         (union ibm_extended_long_double): Define as an array of ieee754_double.
31027         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
31028         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
31029         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
31030         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31031         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31032         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
31033         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31034         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31035         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31036         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
31037         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31039 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
31041         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
31042         page size instead of calling getpagesize.
31044         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
31045         (LOCFILE_ALIGN_MASK): Likewise.
31046         (LOCFILE_ALIGN_UP): Likewise.
31047         (LOCFILE_ALIGNED_P): Likewise.
31048         * locale/programs/ld-collate.c (collate_output): Use the new
31049         macros instead of __alignof__ (int32_t).
31050         * locale/weight.h (findidx): Likewise.
31052 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
31054         [BZ #431]
31055         * manual/string.texi: Fix strncat and wcsncat.
31057 2013-10-03  Brooks Moses  <bmoses@google.com>
31059         [BZ #15915]
31060         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
31061         * Makerules: ...here, and adjust associated comments.
31063 2013-10-02  Will Newton  <will.newton@linaro.org>
31065         * malloc/Makefile: Add tst-pvalloc.
31066         * malloc/tst-pvalloc.c: New file.
31068 2013-10-02  Will Newton  <will.newton@linaro.org>
31070         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
31071         improve test coverage.
31073 2013-10-02  Will Newton  <will.newton@linaro.org>
31075         * malloc/Makefile: Add tst-posix_memalign.
31076         * malloc/tst-posix_memalign.c: New file.
31078 2013-10-01  Eric Blake  <eblake@redhat.com>
31080         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
31081         Use __THROWNL rather than __THROW on static functions.
31083 2013-09-30  Petr Machata  <pmachata@redhat.com>
31085         * elf/elf.h (R_AARCH64_ABS16): New macro.
31086         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
31087         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
31088         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
31089         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
31090         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
31091         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
31092         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
31093         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
31094         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
31095         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
31096         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
31097         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
31098         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
31099         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
31100         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
31101         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
31102         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
31103         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
31104         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
31105         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
31106         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
31107         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
31108         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
31109         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
31110         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
31111         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
31112         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
31113         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
31114         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
31115         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
31116         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
31117         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
31118         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
31119         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
31120         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
31121         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
31122         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
31123         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
31124         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
31125         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
31126         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
31127         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
31128         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
31129         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
31130         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
31131         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
31132         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
31133         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
31134         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
31135         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
31136         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
31137         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
31138         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
31139         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
31140         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
31141         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
31142         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
31143         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
31144         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
31145         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
31146         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
31147         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
31148         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
31149         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
31150         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
31151         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
31152         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
31153         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
31154         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
31155         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
31156         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
31157         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
31158         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
31159         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
31160         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
31161         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
31162         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
31163         (R_AARCH64_TLSDESC_LDR): Likewise.
31164         (R_AARCH64_TLSDESC_ADD): Likewise.
31165         (R_AARCH64_TLSDESC_CALL): Likewise.
31167 2013-09-30  Andreas Schwab  <schwab@suse.de>
31169         [BZ #15048]
31170         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
31171         the nss database lookup.
31172         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31173         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31175 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
31177         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
31179 2013-09-28  P. J. McDermott  <pj@pehjota.net>
31181         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
31182         ${Bash-specific parameter/pattern/string} parameter expansion.
31183         * sysdeps/unix/make-syscalls.sh: Likewise.
31185 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31187         * sysdeps/sh/stackguard-macros.h: New file.
31189 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
31191         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31192         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
31193         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
31194         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
31195         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31196         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
31198 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31200         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
31201         Fix thread ID register.
31203 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
31205         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
31206         [POSIX || UNIX98]: Require rather than permitting all symbols from
31207         <time.h>.
31208         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
31209         element of struct sched_param.
31210         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
31211         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
31212         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
31213         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
31214         constant.
31216 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
31218         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
31219         argument calculation.
31221 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31223         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
31224         Expect macro.
31225         [POSIX] (pthread_attr_t): Do not require type.
31226         [POSIX] (pthread_cond_t): Likewise.
31227         [POSIX] (pthread_condattr_t): Likewise.
31228         [POSIX] (pthread_key_t): Likewise.
31229         [POSIX] (pthread_mutex_t): Likewise.
31230         [POSIX] (pthread_mutexattr_t): Likewise.
31231         [POSIX] (pthread_once_t): Likewise.
31232         [POSIX] (pthread_t): Likewise.
31233         [POSIX-based standards] (pthread_atfork): Expect function.
31235 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31236             Richard Sandiford  <richard@codesourcery.com>
31238         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
31239         (swap_endianness_p): New extern variable.
31240         (set_big_endian): New inline function.
31241         (maybe_swap_uint32): Likewise.
31242         (maybe_swap_uint32_array): Likewise.
31243         (maybe_swap_uint32_obstack): Likewise.
31244         * locale/programs/locfile.c: Include <stdbool.h>.
31245         (swap_endianness_p): New variable.
31246         (add_locale_uint32): Call maybe_swap_uint32.
31247         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
31248         (write_locale_data): Call maybe_swap_uint32_array.
31249         * locale/programs/ld-collate.c (obstack_int32_grow): Call
31250         maybe_swap_uint32.
31251         (obstack_int32_grow_fast): Likewise.
31252         (output_weightwc): Call maybe_swap_uint32_obstack.
31253         (collate_output): Likewise.
31254         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
31255         (OPT_LITTLE_ENDIAN): Likewise.
31256         (options): Add --little-endian and --big-endian options.
31257         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
31258         * locale/programs/locarchive.c: Include "locfile.h".
31259         (GET): New macro.
31260         (SET): Likewise.
31261         (INC): Likewise.
31262         (create_archive): Use the new macros to access fields of
31263         structures directly mapped from or written to locale archives.
31264         (oldlocrecentcmp): Likewise.
31265         (enlarge_archive): Likewise.
31266         (insert_name): Likewise.
31267         (add_alias): Likewise.
31268         (add_locale): Likewise.
31269         (delete_locales_from_archive): Likewise.
31270         (show_archive_content): Likewise.
31271         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
31272         locale data.
31274 2013-09-24  Roland McGrath  <roland@hack.frob.com>
31276         * manual/freemanuals.texi: Updated from (newly) canonical copy at
31277         http://www.gnu.org/doc/freemanuals.texi.
31278         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
31280 2013-09-24  Will Newton  <will.newton@linaro.org>
31282         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
31283         macro.
31285 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
31287         * locale/hashval.h (compute_hashval): Interpret bytes of key as
31288         unsigned char.
31290 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
31292         * manual/threads.texi (POSIX Threads): Fix a typo.
31294 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31296         [BZ #14547]
31297         * string/tst-strcoll-overflow.c: New test case.
31298         * string/Makefile (xtests): Add tst-strcoll-overflow.
31299         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
31300         cache if string sizes may cause integer overflow.
31302         [BZ #14547]
31303         * string/strcoll_l.c (coll_seq): New members rule, idx,
31304         save_idx and back_us.
31305         (get_next_seq_nocache): New function.
31306         (do_compare_nocache): New function.
31307         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
31308         when malloc fails.
31310 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
31312         [BZ #15754]
31313         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
31314         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
31315         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
31317         [BZ #15754]
31318         * elf/Makefile (tests): Add tst-ptrguard1.
31319         (tests-static): Add tst-ptrguard1-static.
31320         (tst-ptrguard1-ARGS): Define.
31321         (tst-ptrguard1-static-ARGS): Define.
31322         * elf/tst-ptrguard1.c: New file.
31323         * elf/tst-ptrguard1-static.c: New file.
31324         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
31325         * sysdeps/i386/stackguard-macros.h: Likewise.
31326         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31327         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31328         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31329         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31330         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31331         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31333 2013-09-23  Hector Marco  <hecmargi@upv.es>
31334             Ismael Ripoll  <iripoll@disca.upv.es>
31335             Carlos O'Donell  <carlos@redhat.com>
31337         [BZ #15754]
31338         * sysdeps/generic/stackguard-macros.h: Define
31339         __pointer_chk_guard_local and POINTER_CHK_GUARD.
31340         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
31341         Define __pointer_chk_guard_local.
31342         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
31343         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
31345 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
31347         [BZ #15859]
31348         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
31350 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
31352         * include/string.h (__ffs): Declare as hidden.
31353         * string/ffs.c (__ffs): Define as hidden.
31354         * sysdeps/i386/ffs.c (__ffs): Likewise.
31355         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
31356         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
31357         * sysdeps/s390/ffs.c (__ffs): Likewise.
31358         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
31360 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
31362         * NEWS: Mention malloc probes.
31364         * malloc/arena.c (new_heap): New memory_heap_new probe.
31365         (grow_heap): New memory_heap_more probe.
31366         (shrink_heap): New memory_heap_less probe.
31367         (heap_trim): New memory_heap_free probe.
31368         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
31369         (systrim): New memory_sbrk_less probe.
31370         * manual/probes.texi: Document them.
31372         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
31373         * manual/probes.texi: Document it.
31375         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
31376         (__libc_realloc): Add memory_realloc_retry probe.
31377         (__libc_memalign): Add memory_memalign_retry probe.
31378         (__libc_valloc): Add memory_valloc_retry probe.
31379         (__libc_pvalloc): Add memory_pvalloc_retry probe.
31380         (__libc_calloc): Add memory_calloc_retry probe.
31381         * manual/probes.texi: Document them.
31383         * malloc/arena.c (get_free_list): Add probe
31384         memory_arena_reuse_free_list.
31385         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
31386         and memory_arena_reuse.
31387         (arena_get2) [!PER_THREAD]: Likewise.
31388         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
31389         memory_arena_reuse_realloc.
31390         * manual/probes.texi: Document them.
31392         * malloc/malloc.c (__libc_free): Add
31393         memory_mallopt_free_dyn_thresholds probe.
31394         (__libc_mallopt): Add multiple memory_mallopt probes.
31395         * manual/probes.texi: Document them.
31397         * malloc/malloc.c: Include stap-probe.h.
31398         (__libc_mallopt): Add memory_mallopt probe.
31399         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
31400         * manual/probes.texi: New.
31401         * manual/Makefile (chapters): Add probes.
31402         * manual/threads.texi: Set next node.
31404 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
31406         [BZ #15963, #13985]
31407         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
31408         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
31409         Add `Chinese' to `nan' entry name.
31411 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31413         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
31414         (POLYNOMIAL): Likewise.
31415         (TAYLOR_SINCOS): Likewise.
31416         (TAYLOR_SLOW): Likewise.
31417         (__sin): Use TAYLOR_SINCOS.
31418         (__cos): Likewise.
31419         (slow): Use TAYLOR_SLOW.
31420         (sloww): Likewise.
31421         (bsloww): Likewise.
31422         (csloww): Likewise.
31424 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31426         * stdlib/strtod_l.c: Fix buffer overrun.
31428 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31430         * benchtests/Makefile (bench): Add sincos.
31431         * benchtests/bench-sincos.c: New file.
31433         * math/libm-test.inc (cos_test_data): New test inputs.
31434         (sin_test_data): Likewise.
31436         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
31437         macro.
31438         (__sin): Use it.
31439         (__cos): Likewise.
31440         (slow1): Likewise.
31441         (slow2): Likewise.
31442         (sloww1): Likewise.
31443         (sloww2): Likewise.
31444         (bsloww1): Likewise.
31445         (bsloww2): Likewise.
31446         (cslow2): Likewise.
31447         (csloww1): Likewise.
31448         (csloww2): Likewise.
31450         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
31451         function.
31452         (__sin): Use it.
31453         (__cos): Likewise.
31455         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
31456         gotos.
31457         (__cos): Likewise.
31459 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
31461         * config.h.in (HAVE_MIPS_NAN2008): New macro.
31462         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
31463         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
31464         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
31465         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
31466         * elf/cache.c (print_entry): Handle the new cache flags.
31468 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31469             Aldy Hernandez  <aldyh@redhat.com>
31471         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
31472         Change condition to [_SOFT_FLOAT].
31473         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
31474         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
31475         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
31476         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
31477         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
31478         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
31479         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
31480         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
31481         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
31482         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
31483         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
31484         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
31485         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
31486         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
31487         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
31488         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
31489         declaration.
31491 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31493         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
31494         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31495         (__longjmp): Use LOAD_GP to load saved GPRs.
31496         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
31497         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31498         (__sigsetjmp): Use SAVE_GP to save GPRs.
31500         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
31501         Do not append -msoft-float.
31502         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
31504 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31506         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
31508 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
31510         [BZ #15966]
31511         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
31512         (_FPU_GETCW): Use initial "__" on variable and field names but not
31513         on macro parameter name.
31514         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
31515         parentheses around reference to macro parameter.
31517 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
31519         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
31520         prototype.
31521         (ctype_startup): Use uint32_t in cast and sizeof for
31522         ctype->charnames.
31524 2013-09-11  Jia Liu  <proljc@gmail.com>
31526         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
31527         __daddr_t_defined.
31528         [__FreeBSD__]: Likewise.
31530 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
31532         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31533         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
31534         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
31535         (strchr): Remove __strchr_sse42 ifunc selection.
31536         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
31537         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
31539 2013-09-11  Will Newton  <will.newton@linaro.org>
31541         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
31542         parameter to RES. Remove hardcoded 1000 value.
31543         * benchtests/bench-skeleton.c (main): Pass RES parameter
31544         to TIMING_INIT and multiply result by 1000.
31546 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31550 2013-09-11  Andreas Schwab  <schwab@suse.de>
31552         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31553         if not defined.
31554         (O_TMPFILE) [__USE_GNU]: Define.
31555         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
31556         Define.
31558 2013-09-11  Will Newton  <will.newton@linaro.org>
31560         [BZ #15857]
31561         * malloc/malloc.c (__libc_memalign): Check the value of bytes
31562         does not overflow.
31564 2013-09-11  Will Newton  <will.newton@linaro.org>
31566         [BZ #15856]
31567         * malloc/malloc.c (__libc_valloc): Check the value of bytes
31568         does not overflow.
31570 2013-09-11  Will Newton  <will.newton@linaro.org>
31572         [BZ #15855]
31573         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
31574         does not overflow.
31576 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
31578         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
31579         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31580         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31581         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31582         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31584 2013-09-10  Allan McRae  <allan@archlinux.org>
31586         [BZ #15748]
31587         * manual/arith.texi (Parsing of Floats): Clarify
31588         cross-reference.
31590         [BZ #15849]
31591         * manual/install.texi (Running make install): Mention
31592         --enable-pt-chown.
31593         * INSTALL: Regenerated.
31595 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
31597         * csu/init-first.c (_init): Remove the !SHARED condition around
31598         FPU control word initialization.
31599         * elf/dl-support.c (_dl_fpu_control): New variable.
31600         (_dl_aux_init) <AT_FPUCW>: Initialize it.
31601         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31602         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31603         * math/test-fpucw-static.c: New file.
31604         * math/test-fpucw-ieee.c: New file.
31605         * math/test-fpucw-ieee-static.c: New file.
31606         * math/Makefile (tests): Add `test-fpucw-ieee' and
31607         `$(tests-static)'.
31608         (tests-static): New variable.
31609         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31610         dependency to...
31611         [($(build-shared),yes)]
31612         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31613         ... this.
31614         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31615         New dependency.
31617 2013-09-09  Allan McRae  <allan@archlinux.org>
31619         [BZ #15939]
31620         * manual/string.texi (Collation Functions): Fix typo in
31621         strcoll example.
31622         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31624         [BZ #15893]
31625         * stdlib/isomac.c (get_null_defines): Fix memory leak.
31627         [BZ #15892]
31628         * libio/memstream.c (open_memstream): Fix memory leak.
31629         * libio/wmemstream.c (open_wmemstream): Likewise.
31631         [BZ #15895]
31632         * nscd/netgroupcache.c: Fix nesting of ifdefs.
31634 2013-09-09  Will Newton  <will.newton@linaro.org>
31636         * malloc/Makefile: Add tst-realloc to tests.
31637         * malloc/tst-realloc.c: New file.
31639 2013-09-09  Allan McRae  <allan@archlinux.org>
31641         [BZ #15844]
31642         * COPYING: Update from GNU website to fix FSF address.
31643         * COPYING.LIB: Likewise.
31645 2013-09-06  David S. Miller  <davem@davemloft.net>
31647         * po/zh_TW.po: Update Chinese (traditional) translation from
31648         translation project.
31650 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31651             Joseph Myers  <joseph@codesourcery.com>
31653         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31654         "localeinfo.h".
31655         (obstack_chunk_alloc): New macro.
31656         (obstack_chunk_free): Likewise.
31657         (record_offset): New function.
31658         (init_locale_data): Likewise.
31659         (align_locale_data): Likewise.
31660         (add_locale_empty): Likewise.
31661         (add_locale_raw_data): Likewise.
31662         (add_locale_raw_obstack): Likewise.
31663         (add_locale_string): Likewise.
31664         (add_locale_wstring): Likewise.
31665         (add_locale_uint32): Likewise.
31666         (add_locale_uint32_array): Likewise.
31667         (add_locale_char): Likewise.
31668         (start_locale_structure): Likewise.
31669         (end_locale_structure): Likewise.
31670         (start_locale_prelude): Likewise.
31671         (end_locale_prelude): Likewise.
31672         (write_locale_data): Take locale_file structure rather than an
31673         iovec.
31674         * locale/programs/locfile.h: Include "obstack.h".
31675         (struct locale_file): Change to store locale file contents instead
31676         of header.
31677         (init_locale_data): New prototype.
31678         (align_locale_data): Likewise.
31679         (add_locale_empty): Likewise.
31680         (add_locale_raw_data): Likewise.
31681         (add_locale_raw_obstack): Likewise.
31682         (add_locale_string): Likewise.
31683         (add_locale_wstring): Likewise.
31684         (add_locale_uint32): Likewise.
31685         (add_locale_uint32_array): Likewise.
31686         (add_locale_char): Likewise.
31687         (start_locale_structure): Likewise.
31688         (end_locale_structure): Likewise.
31689         (start_locale_prelude): Likewise.
31690         (end_locale_prelude): Likewise.
31691         (write_locale_data): Update prototype.
31692         * locale/programs/3level.h (struct TABLE): Remove result field.
31693         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31694         Use new locale_file interface.
31695         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31696         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31697         * locale/programs/ld-address.c (address_output): Use new
31698         locale_file interface.
31699         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31700         NO_ADD_LOCALE.
31701         (collate_finish): Don't call collseq_table_finalize.
31702         (collate_output): Use new locale_file interface.
31703         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31704         in file.
31705         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31706         (TABLE): Move defines earlier in file.
31707         (ELEMENT): Likewise.
31708         (DEFAULT): Likewise.
31709         (wctrans_table_add): Move macro and inline function earlier in
31710         file.
31711         (struct wctype_table): Move type earlier in file.
31712         (add_locale_wctype_table): New static prototype.
31713         (struct locale_ctype_t): Use logical types instead of struct iovec
31714         pointers for members.
31715         (ctype_output): Use new locale_file interface.
31716         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31717         new locale_file interface.
31718         (allocate_arrays): Update for use of new locale_file interface.
31719         * locale/programs/ld-identification.c (identification_output): Use
31720         new locale_file interface.
31721         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31722         * locale/programs/ld-messages.c (messages_output): Likewise.
31723         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31724         * locale/programs/ld-name.c (name_output): Likewise.
31725         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31726         * locale/programs/ld-paper.c (paper_output): Likewise.
31727         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31728         * locale/programs/ld-time.c (time_output): Likewise.
31730 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31732         * benchtests/Makefile: Add memrchr benchmark.
31733         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31734         benchmark as memrchr.
31735         * benchtests/bench-memrchr-ifunc.c: New file.
31736         * benchtests/bench-memrchr.c: New file.
31738 2013-09-06   Will Newton  <will.newton@linaro.org>
31740         * benchtests/Makefile (string-bench): Add memcpy.
31742 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31743             Cong Wang  <amwang@redhat.com>
31745         [BZ #15850]
31746         * sysdeps/unix/sysv/linux/bits/in.h
31747         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31748         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31749         before __USE_KERNEL_IPV6_DEFS uses.
31750         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31751         IPPROTO_BEETPH.
31752         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31753         sockaddr_in6, or ipv6_mreq.
31755 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31757         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31758         memory access for final bytes in some large inputs.
31759         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31761 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31763         * string/test-memrchr.c: New file.
31764         * string/test-memrchr-ifunc.c: New file.
31765         * string/Makefile: Add new memrchr testcase.
31767 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31769         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31770         fanotify_init returns EPERM.
31772 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31774         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31775         errors.
31776         (top level): Treat second token from macro or constant entries for
31777         allowed headers as allowed.
31778         * include/complex.h: Condition internal declarations on
31779         [!_ISOMAC].
31780         * include/fenv.h: Condition include of <stdbool.h> and internal
31781         declarations on [!_ISOMAC].
31783 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31785         [BZ #15923]
31786         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31788 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31790         * configure.in (--enable-versioning): Remove configure option.
31791         (libc_cv_asm_symver_directive): Remove configure test.
31792         (libc_cv_ld_version_script_option): Likewise.
31793         (VERSIONING): Remove variable and AC_SUBST.
31794         (DO_VERSIONING): Remove AC_DEFINE.
31795         * configure: Regenerated.
31796         * config.h.in (DO_VERSIONING): Remove macro.
31797         * Makerules [$(versioning) = yes]: Change conditionals to
31798         [$(build-shared) = yes].
31799         * config.make.in (versioning): Remove variable.
31800         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31801         [$(build-shared) = yes].
31802         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31803         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31804         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31805         [$(build-shared) = yes].
31806         * extra-lib.mk [$(versioning) = yes]: Likewise.
31807         * hurd/Makefile [$(versioning) = yes]: Likewise.
31808         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31809         [SHARED].
31810         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31811         [SHARED].
31812         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31813         [SHARED && !NO_HIDDEN].
31814         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31815         [SHARED].
31816         [SHARED && DO_VERSIONING]: Likewise..
31817         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31818         [$(build-shared) = yes].
31819         * manual/install.texi (--disable-versioning): Remove
31820         documentation.
31821         * INSTALL: Regenerated.
31822         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31823         to [SHARED].
31824         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31825         [$(build-shared) = yes].
31826         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31827         * sysdeps/i386/i686/multiarch/strstr-c.c
31828         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31829         [SHARED && !NO_HIDDEN].
31830         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31831         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31832         * sysdeps/powerpc/powerpc32/dl-machine.c
31833         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31834         * sysdeps/powerpc/powerpc32/sysdep.h
31835         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31836         to [SHARED && PIC && !NO_HIDDEN].
31837         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31838         conditional to [SHARED].
31840 2013-09-04   Will Newton  <will.newton@linaro.org>
31842         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31843         * benchtests/bench-string.h: Include bench-timing.h instead
31844         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31845         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31846         call to HP_TIMING_DIFF_INIT.
31847         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31848         instead of hp-timing.h macros.
31849         * benchtests/bench-memchr.c: Likewise.
31850         * benchtests/bench-memcmp.c: Likewise.
31851         * benchtests/bench-memcpy.c: Likewise.
31852         * benchtests/bench-memmem.c: Likewise.
31853         * benchtests/bench-memmove.c: Likewise.
31854         * benchtests/bench-memset.c: Likewise.
31855         * benchtests/bench-rawmemchr.c: Likewise.
31856         * benchtests/bench-strcasecmp.c: Likewise.
31857         * benchtests/bench-strcasestr.c: Likewise.
31858         * benchtests/bench-strcat.c: Likewise.
31859         * benchtests/bench-strchr.c: Likewise.
31860         * benchtests/bench-strcmp.c: Likewise.
31861         * benchtests/bench-strcpy.c: Likewise.
31862         * benchtests/bench-strcpy_chk.c: Likewise.
31863         * benchtests/bench-strlen.c: Likewise.
31864         * benchtests/bench-strncasecmp.c: Likewise.
31865         * benchtests/bench-strncat.c: Likewise.
31866         * benchtests/bench-strncmp.c: Likewise.
31867         * benchtests/bench-strncpy.c: Likewise.
31868         * benchtests/bench-strnlen.c: Likewise.
31869         * benchtests/bench-strpbrk.c: Likewise.
31870         * benchtests/bench-strrchr.c: Likewise.
31871         * benchtests/bench-strspn.c: Likewise.
31872         * benchtests/bench-strstr.c: Likewise.
31874 2013-09-04  Will Newton  <will.newton@linaro.org>
31876         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31878 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31880         [BZ #15427]
31881         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31882         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31883         * math/libm-test.inc (lgamma_test_data): Add more tests.
31884         * sysdeps/i386/fpu/libm-test-ulps: Update.
31885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31887 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31889         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31890         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31891         Add ifunc.
31892         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31893         Add strcmp-sse2-unaligned
31894         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31896 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31898         * Versions.def (libc): Add GLIBC_2.19.
31900 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31902         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31903         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31905 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31907         [BZ #14155]
31908         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31909         intermediate calculations in recurrence.
31910         (__ieee754_ynf): Likewise.
31911         * math/libm-test.inc (jn_test_data): Do not allow spurious
31912         underflow exception.  Add more tests.
31913         (yn_test_data): Add more tests.
31914         * sysdeps/i386/fpu/libm-test-ulps: Update.
31915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31917 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31919         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31921 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31923         * csu/init-first.c: Fix then/than typos.
31924         * locale/programs/ld-collate.c: Likewise.
31925         * locale/programs/linereader.h: Likewise.
31926         * manual/charset.texi: Likewise.
31927         * manual/filesys.texi: Likewise.
31928         * manual/stdio.texi: Likewise.
31929         * manual/string.texi: Likewise.
31930         * stdlib/fmtmsg.c: Likewise.
31931         * sysdeps/i386/stpncpy.S: Likewise.
31932         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31933         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31934         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31935         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31937 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31939         * elf/dl-open.c: Fix typos.
31940         * iconvdata/gbbig5.c: Likewise.
31941         * iconvdata/iso-2022-jp.c: Likewise.
31942         * iconv/gconv_int.h: Likewise.
31943         * iconv/loop.c: Likewise.
31944         * nis/rpcsvc/nis.h: Likewise.
31945         * resolv/ns_name.c: Likewise.
31946         * stdio-common/vfscanf.c: Likewise.
31947         * streams/stropts.h: Likewise.
31948         * sunrpc/rpc_thread.c: Likewise.
31949         * sysdeps/i386/strpbrk.S: Likewise.
31950         * sysdeps/ieee754/k_standard.c: Likewise.
31951         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31952         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31953         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31954         * sysdeps/mach/hurd/profil.c: Likewise.
31955         * sysdeps/s390/dl-procinfo.h: Likewise.
31956         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31957         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31958         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31959         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31960         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31962 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31964         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31965         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31967 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31969         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31970         aix specific files.
31971         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31972         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31973         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31974         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31975         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31976         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31977         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31978         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31980 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31981             Roland McGrath  <roland@hack.frob.com>
31983         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31984         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31986 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31988         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31989         __executable_start symbol instead of _start.
31991 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31993         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31994         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31995         Move macros to...
31996         * sysdeps/gnu/ldsodefs.h: ... this new file.
31998         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31999         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
32000         instead of ELFOSABI_LINUX.
32002         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
32003         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
32004         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
32005         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
32006         Likewise.
32007         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
32008         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
32009         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
32010         Likewise.
32011         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32012         (ibm_extended_long_double): Add ieee_nan member.
32013         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
32014         (do_test): New function.
32016         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
32017         TEST_TRUNC.
32018         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
32019         functions, renamed from truncdfsf_test, trunctfsf_test,
32020         trunctfdf_test.
32021         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
32022         functions.
32023         (do_test): Run all these.
32025 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
32027         * argp/argp-help.c: Fix typos.
32028         * argp/argp-parse.c: Likewise.
32029         * debug/backtracesyms.c: Likewise.
32030         * elf/elf.h: Likewise.
32031         * malloc/malloc.c: Likewise.
32032         * nis/nis_print.c: Likewise.
32033         * resolv/res_comp.c: Likewise.
32034         * stdlib/stdlib.h: Likewise.
32035         * sunrpc/clnt_tcp.c: Likewise.
32036         * sunrpc/clnt_udp.c: Likewise.
32037         * sunrpc/clnt_unix.c: Likewise.
32038         * sysdeps/unix/bsd/ptsname.c: Likewise.
32039         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32040         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
32041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
32042         Likewise.
32043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
32044         Likewise.
32045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32046         Likewise.
32047         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32049 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32051         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
32052         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32054 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
32056         [BZ #15897]
32057         * dlfcn/Makefile (tests): Add bug-dl-leaf.
32058         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
32059         ($(objpfx)bug-dl-leaf): New rule.
32060         ($(objpfx)bug-dl-leaf.so): Likewise.
32061         ($(objpfx)bug-dl-leaf.out): Likewise.
32062         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
32063         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
32064         * dlfcn/bug-dl-leaf.c: New test.
32065         * dlfcn/bug-dl-leaf-lib.c: Likewise.
32066         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
32067         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
32068         (dlclose): Likewise.
32069         (dlmopen): Likewise.
32071 2013-08-27  Roland McGrath  <roland@hack.frob.com>
32073         * include/netdb.h [!_ISOMAC]:
32074         Don't include <tls.h>.
32075         (h_errno, __libc_h_errno): Move declaration and macros out of
32076         [_LIBC_REENTRANT].
32078         * include/resolv.h [_RESOLV_H_]:
32079         Don't include <tls.h>.
32080         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
32081         * resolv/res_libc.c: Don't include <tls.h>.
32082         (_res): Use __attribute__ ((nocommon)) in place of
32083         __attribute__ ((section (".bss"))).
32085         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
32086         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
32088         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
32090         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
32091         only under [SIOCGIFCONF && SIOCGIFNETMASK].
32093         * resolv/res_mkquery.c: Include <sys/time.h>.
32095         * inet/ifreq.c: Moved to ...
32096         * sysdeps/unix/ifreq.c: ... here.
32097         * inet/ifreq.c: New file, true stub version.
32099         * socket/sa_len.c: New file.
32100         * socket/Makefile (aux): Add it.
32101         * sysdeps/unix/sysv/linux/Makefile
32102         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
32103         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
32104         and #include <socket/sa_len.c>.
32105         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
32106         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
32108         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
32109         * bits/socket.h: ... here.
32111         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
32112         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
32113         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
32115 2013-08-27  Andreas Schwab  <schwab@suse.de>
32117         [BZ #15736]
32118         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
32119         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
32120         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
32121         * string/test-strcasecmp.c (test_main): Run tests in several
32122         locales.
32123         * string/test-strncasecmp.c (test_main): Likewise.
32125         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
32126         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
32127         to __strcasecmp_nonascii and __strncasecmp_nonascii.
32128         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
32129         (__strncasecmp_ssse3) [PIC]: Likewise.
32131 2013-08-26  Roland McGrath  <roland@hack.frob.com>
32133         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
32135         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
32136         instead of explicitly declaring xdecrypt.
32137         * nis/nss_nis/nis-publickey.c: Likewise.
32139 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32141         [BZ #15890]
32142         * nscd/aicache.c: Include res_hconf.h.
32143         (addhstaiX): Initialize res_hconf.
32145 2013-08-26  Andreas Schwab  <schwab@suse.de>
32147         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
32148         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
32150 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32152         * nscd/aicache.c (addhstaiX): Fix indentation.
32154 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
32156         * configure.ac: Quote $build_pt_chown test.
32157         * configure: Regenerated.
32159 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
32161         [BZ #15532]
32162         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
32163         * math/s_cexpf.c (__cexpf): Likewise.
32164         * math/s_cexpl.c (__cexpl): Likewise.
32165         * math/libm-test.inc (cexp_test_data): Correct expected return
32166         value for NaN + i0.  Add another test.
32168 2013-08-22  David S. Miller  <davem@davemloft.net>
32170         * po/ca.po: Update Catalan translation from translation project.
32171         * po/uk.po: Add Ukrainian translations from translation project.
32173 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
32175         [BZ #15797]
32176         * math/s_fdim.c (__fdim): Check for infinite arguments if result
32177         is infinite, not alongside NaN test.
32178         * math/s_fdimf.c (__fdimf): Likewise.
32179         * math/s_fdiml.c (__fdiml): Likewise.
32180         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
32181         errno is unchanged.
32183 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
32185         * argp/argp-help.c: Fix typos.
32186         * crypt/speeds.c: Likewise.
32187         * csu/check_fds.c: Likewise.
32188         * elf/dl-load.c: Likewise.
32189         * elf/dl-open.c: Likewise.
32190         * elf/reldep3.c: Likewise.
32191         * elf/reldep.c: Likewise.
32192         * elf/sprof.c: Likewise.
32193         * iconv/iconv_charmap.c: Likewise.
32194         * iconv/skeleton.c: Likewise.
32195         * iconv/strtab.c: Likewise.
32196         * io/lockf64.c: Likewise.
32197         * libio/libioP.h: Likewise.
32198         * resolv/gai_notify.c: Likewise.
32199         * resolv/ns_name.c: Likewise.
32200         * resolv/ns_samedomain.c: Likewise.
32201         * resolv/res_send.c: Likewise.
32202         * stdlib/random.c: Likewise.
32203         * sunrpc/rpc/xdr.h: Likewise.
32204         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
32205         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32206         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32207         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32208         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32209         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32210         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32211         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32212         * sysdeps/mach/hurd/check_fds.c: Likewise.
32213         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32214         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32215         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32216         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32217         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32218         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32219         * sysdeps/pthread/aio_notify.c: Likewise.
32220         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
32221         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
32222         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
32223         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32224         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
32226 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32228         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
32229         version if bit_Slow_SSE4_2 is set.
32230         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32231         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32233 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32235         [BZ #15867]
32236         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
32237         trampoline stack frame information.
32238         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
32239         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
32240         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
32241         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
32242         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
32243         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32244         (_libc_vdso_platform_setup): Initialize the signal trampolines.
32245         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
32246         sa_flags value.
32247         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
32248         interrupting a syscall and set with option SA_SIGINFO.
32250 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32252         [BZ #15531]
32253         * math/s_cproj.c (__cproj): Only return an infinity if one part of
32254         argument is infinite.
32255         * math/s_cprojf.c (__cprojf): Likewise.
32256         * math/s_cprojl.c (__cprojl): Likewise.
32257         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
32258         * math/libm-test.inc (cproj_test_data): Add more tests.
32260         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
32262         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
32263         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
32264         size.  Use __ffs to determine corresponding shift.
32266 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32267             Roland McGrath  <roland@hack.frob.com>
32269         * Makefile (INSTALL): Remove trailing blank lines from output of
32270         makeinfo.
32272 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32274         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
32275         Align 32 bit compat elf_greg to 8 bytes.
32277 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
32279         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
32281 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32283         * string/strcoll_l.c (coll_seq): New structure.
32284         (get_next_seq_cached): New function.
32285         (get_next_seq): New function.
32286         (do_compare): New function.
32287         (STRCOLL): Use GNU style definition.  Simplify implementation
32288         by using get_next_seq, get_next_seq_cached and do_compare.
32290 2013-08-16  Florian Weimer  <fweimer@redhat.com>
32292         [BZ #14699]
32293         CVE-2013-4237
32294         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
32295         member.
32296         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
32297         member.
32298         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
32299         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
32300         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
32301         conditional.
32302         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
32303         GETDENTS_64BIT_ALIGNED.
32304         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32305         * manual/filesys.texi (Reading/Closing Directory): Document
32306         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
32307         strongly.
32308         * manual/conf.texi (Limits for Files): Add portability note to
32309         NAME_MAX, PATH_MAX.
32310         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
32312 2013-08-13  Andreas Schwab  <schwab@suse.de>
32314         [BZ #15749]
32315         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
32316         of fabs.
32317         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
32318         LDBL_MAX_EXP >= 16384]: Add tests for it.
32320 2013-08-12  David S. Miller  <davem@davemloft.net>
32322         * version.h (RELEASE): Set to "development".
32323         (VERSION): Set to "2.18.90".
32324         * NEWS: Add 2.19 section.
32326 2013-08-03  David S. Miller  <davem@davemloft.net>
32328         * po/ko.po: Update Korean translation from translation project.
32330 2013-08-01  David S. Miller  <davem@davemloft.net>
32332         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
32333         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
32334         Bilka.
32336 2013-07-30  David S. Miller  <davem@davemloft.net>
32338         * po/fr.po: Update French translation from translation project.
32340 2013-07-28  David S. Miller  <davem@davemloft.net>
32342         * po/cs.po: Update Czech translation from translation project.
32344         * po/sv.po: Update Swedish translation from translation project.
32346 2013-07-27  David S. Miller  <davem@davemloft.net>
32348         * po/eo.po: Update Esperanto translation from translation project.
32350         * po/vi.po: Update Vietnamese translation from translation project.
32352         * po/de.po: Update German translation from translation project.
32354 2013-07-26  David S. Miller  <davem@davemloft.net>
32356         * po/bg.po: Update Bulgarian translation from translation project.
32358         * po/nl.po: Update Dutch translation from translation project.
32359         * po/pl.po: Update Polish translation from translation project.
32360         * po/ru.po: Update Russian translation from translation project.
32362 2013-07-24  David S. Miller  <davem@davemloft.net>
32364         * po/libc.pot: Update.
32366 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32368         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
32369         variable page size.
32370         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
32371         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
32372         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
32374 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32376         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
32378 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32379             Andreas Schwab  <schwab@suse.de>
32380             Roland McGrath  <roland@hack.frob.com>
32381             Joseph Myers  <joseph@codesourcery.com>
32382             Carlos O'Donell  <carlos@redhat.com>
32384         [BZ #15755]
32385         * config.h.in: Define HAVE_PT_CHOWN.
32386         * config.make.in (build-pt-chown): New variable.
32387         * configure.in (--enable-pt_chown): New configure option.
32388         * configure: Regenerate.
32389         * login/Makefile: Include Makeconfig.  Build pt_chown only if
32390         build-pt-chown is enabled.
32391         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
32392         pt_chown to fix pty ownership.
32393         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
32394         CLOSE_ALL_FDS.
32395         * manual/install.texi (Configuring and compiling): Mention
32396         --enable-pt_chown. Add @findex for grantpt.
32397         * INSTALL: Regenerate.
32399 2013-07-20  David S. Miller  <davem@davemloft.net>
32401         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
32402         difference between 32-bit and 64-bit.
32404 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
32406         [BZ #15711]
32407         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
32408         Avoid system header dependency with -ffreestanding.
32409         ($(objpfx)bits/syscall%d): Likewise.
32411 2013-07-13  David S. Miller  <davem@davemloft.net>
32413         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
32414         underflows from atanl/atan2l due to bug 15319.
32415         (casinh_test_data): Likewise.
32417 2013-07-07  David S. Miller  <davem@davemloft.net>
32419         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32421 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
32423         * sysdeps/i386/fpu/libm-test-ulps: Update.
32424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32426 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32428         * configure.in (--enable-lock-elision): Fix message text.
32429         * INSTALL: Regenerate.
32430         * configure: Regenerate.
32432 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32434         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32436 2013-07-03  Andreas Jaeger  <aj@suse.de>
32438         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
32439         define.
32440         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
32441         (ptrace_peeksiginfo_args): Add.
32442         (__ptrace_peeksiginfo_flags): Add.
32443         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32444         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32445         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32447 2013-07-03  Allan McRae  <allan@archlinux.org>
32449         * sysdeps/i386/fpu/libm-test-ulps: Update.
32451 2013-07-02  David S. Miller  <davem@davemloft.net>
32453         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32455 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
32457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32459 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32461         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32464 2013-07-02  Andi Kleen <ak@linux.intel.com>
32466         * config.h.in (ENABLE_LOCK_ELISION): Add.
32467         * configure.in (--enable-lock-elision): Add option.
32468         * manual/install.texi: Document --enable lock elision.
32469         * configure: Regenerate
32470         * INSTALL: Regenerate.
32472 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
32474         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
32475         SSE4.2 strcasecmp for libc.a.
32476         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32478 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32480         [BZ #13304]
32481         * soft-fp/op-common.h (_FP_FMA): New macro.
32482         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
32483         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
32484         (_FP_MUL_MEAT_1_imm): ... here.
32485         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
32486         (_FP_MUL_MEAT_1_wide): ... here.
32487         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
32488         (_FP_MUL_MEAT_1_hard): ... here.
32489         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
32490         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
32491         (_FP_MUL_MEAT_2_wide): ... here.
32492         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
32493         (_FP_MUL_MEAT_2_wide_3mul): ... here.
32494         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
32495         (_FP_MUL_MEAT_2_gmp): ... here.
32496         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
32497         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
32498         (_FP_MUL_MEAT_4_wide): ... here.
32499         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
32500         (_FP_MUL_MEAT_4_gmp): ... here.
32501         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
32502         (_FP_WFRACBITS_DW_S): Likewise.
32503         (_FP_WFRACXBITS_DW_S): Likewise.
32504         (_FP_HIGHBIT_DW_S): Likewise.
32505         (FP_FMA_S): Likewise.
32506         (_FP_FRAC_HIGH_DW_S): Likewise.
32507         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
32508         (_FP_WFRACBITS_DW_D): Likewise.
32509         (_FP_WFRACXBITS_DW_D): Likewise.
32510         (_FP_HIGHBIT_DW_D): Likewise.
32511         (FP_FMA_D): Likewise.
32512         (_FP_FRAC_HIGH_DW_D): Likewise.
32513         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
32514         (_FP_WFRACBITS_DW_E): Likewise.
32515         (_FP_WFRACXBITS_DW_E): Likewise.
32516         (_FP_HIGHBIT_DW_E): Likewise.
32517         (FP_FMA_E): Likewise.
32518         (_FP_FRAC_HIGH_DW_E): Likewise.
32519         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
32520         (_FP_WFRACBITS_DW_Q): Likewise.
32521         (_FP_WFRACXBITS_DW_Q): Likewise.
32522         (_FP_HIGHBIT_DW_Q): Likewise.
32523         (FP_FMA_Q): Likewise.
32524         (_FP_FRAC_HIGH_DW_Q): Likewise.
32525         * soft-fp/fmasf4.c: New file.
32526         * soft-fp/fmadf4.c: Likewise.
32527         * soft-fp/fmatf4.c: Likewise.
32529 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32531         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32532         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
32533         Silvermont.
32534         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
32535         macro.
32536         (index_Slow_SSE4_2): Likewise.
32537         (index_Prefer_PMINUB_for_stringop): Likewise.
32538         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
32539         bit_Slow_SSE4_2 is set.
32540         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32541         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32543 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32545         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
32546         rtld_global._dl_hwcap2.
32547         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
32548         POWER8.
32549         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
32550         POWER8 feature descriptions defined in _dl_hwcap2.
32551         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
32552         string handling for POWER8 feature bits.
32553         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
32554         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
32555         _dl_powerpc_cap_flags.
32556         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
32557         * sysdeps/powerpc/rtld-global-offsets.sym
32558         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
32559         _dl_hwcap2 in the rtld_global_ro structure.
32561 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32563         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
32564         hardware capabilities in support of AT_HWCAP2.
32565         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
32566         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
32567         GLRO(dl_hwcap2).
32568         (_dl_show_auxv): Add support for calling _dl_procinfo to display
32569         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
32570         explicitly the unknown a_type display mechanism is used.
32571         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
32572         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
32573         struct member.
32574         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
32575         to macro prototype for AT_HWCAP2 support.
32576         * sysdeps/i386/dl-procinfo.h: Likewise.
32577         * sysdeps/s390/dl-procinfo.h: Likewise.
32578         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
32579         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
32580         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
32581         return -1 for unknown a_type display fallback.
32582         * sysdeps/sparc/dl-procinfo.h: Likewise.
32583         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
32584         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
32586 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
32588         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
32589         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
32591 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
32593         [BZ #12492]
32594         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
32595         mprotect making __stack_prot writable.
32597 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
32598             Joseph Myers  <joseph@codesourcery.com>
32600         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32601         as being properly aligned.
32603 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
32605         * dlfcn/modstatic5.c: New file.
32606         * dlfcn/tststatic5.c: New file.
32607         * dlfcn/Makefile (tests): Add tststatic5.
32608         (tests-static): Likewise.
32609         (modules-names): Add modstatic5.
32610         (tststatic5-ENV): New variable.
32611         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32613         [BZ #15022]
32614         * elf/dl-support.c (_dl_main_map): New variable.
32615         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32616         (_dl_nns, _dl_load_adds): Set to 1.
32617         (_dl_initial_searchlist): Refer to _dl_main_map.
32618         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32619         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32620         call to _dl_get_origin.
32621         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32622         around call_map.
32623         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32624         * dlfcn/modstatic3.c: New file.
32625         * dlfcn/tststatic3.c: New file.
32626         * dlfcn/tststatic4.c: New file.
32627         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32628         (tests-static): Likewise.
32629         (modules-names): Add modstatic3.
32630         (tststatic3-ENV, tststatic4-ENV): New variables.
32631         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32632         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32634 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
32636         * configure.in (CC): Require GCC version 4.4 or later.
32637         * configure: Regenerated.
32638         * manual/install.texi (Tools for Compilation): Update GCC version
32639         requirement.
32640         * INSTALL: Regenerated.
32642 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32644         [BZ #15674]
32645         * string/test-memcmp.c (check2): New.
32646         (main): Call check2.
32648         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32650 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32652         [BZ #15022]
32653         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32654         over to...
32655         (dl_open_worker) [!SHARED]: ... here.
32657 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32659         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32661 2013-06-25  Richard Henderson  <rth@redhat.com>
32663         * locale/programs/locarchive.c: Include <libc-internal.h>
32665 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32667         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32668         trailing whitespace removed.
32670 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32672         [BZ #10283]
32673         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32674         * locale/programs/locarchive.c: Include libc-mmap.h.
32675         (prepare_address_space): Take two new outputs (the mmap base and len).
32676         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32677         values.
32678         (create_archive): Declare new mmap base and len values for
32679         prepare_address_space, and store the result in ah.
32680         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32681         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32682         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32683         Declare new mmap base and len values for
32684         prepare_address_space, and store the result in new_ah.
32685         (open_archive): Declare new mmap base and len values for
32686         prepare_address_space, and store the result in ah.
32687         (close_archive): If ah->mmap_base is not NULL, use that and
32688         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32689         * sysdeps/generic/libc-mmap.h: New file.
32691 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32693         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32694         (ALIGN_UP): Likewise.
32695         (PTR_ALIGN_DOWN): Likewise.
32696         (PTR_ALIGN_UP): Likewise.
32698 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32700         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32701         entry mapped to PPC_PLATFORM_POWER8.
32702         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32703         POWER8.
32704         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32705         (_dl_string_platform): Add case for exporting platform position for
32706         POWER8.
32707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32708         search path to sysdeps/powerpc/powerpc32/power8 directory.
32709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32710         search path to sysdeps/powerpc/powerpc64/power8 directory.
32711         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32712         power7 directories.
32713         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32714         power7 directories.
32716 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32718         * INSTALL: Regenerate.
32720         * nscd/connections.c (nscd_init): Fix comment.
32722 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32724         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32726         [BZ #15667]
32727         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32728         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32730 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32732         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32733         DL_DST_REQ_STATIC.
32734         (DL_DST_REQ_STATIC): Remove macro.
32736 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32738         [BZ #7006]
32739         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32740         with a shift of 0 bits.
32742 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32744         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32745         $(tststatic-ENV).
32747 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32749         [BZ #15655]
32750         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32752 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32754         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32755         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32756         accepts -fno-tree-loop-distribute-patterns.
32757         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32758         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32759         recursive call.
32760         * string/memset.c (memset): Likewise.
32761         * string/test-memmove.c (simple_memmove): Disable loop transformation
32762         to library calls.
32763         * string/test-memset.c (simple_memset): Likewise.
32764         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32765         * benchtests/bench-memset.c (simple_memset): Likewise.
32766         * configure: Regenerated.
32768 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32770         * math/test-misc.c (main): Ignore fesetround failure when failures
32771         of subsequent rounding tests would be ignored.
32773         [BZ #15654]
32774         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32775         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32776         * math/fegetenv.c (__fegetenv): Return 0.
32777         * math/fegetexcept.c (fegetexcept): Return 0.
32778         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32779         FE_TONEAREST.
32780         * math/feholdexcpt.c (feholdexcept): Return 0.
32781         * math/fesetenv.c (__fesetenv): Return 0.
32782         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32783         argument FE_TONEAREST.
32784         * math/feupdateenv.c (__feupdateenv): Return 0.
32785         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32787 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32789         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32790         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32791         ($(objpfx)rtld-%.os rules): Use them.
32793 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32795         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32796         fields.
32798 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32800         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32801         length of target pattern, then descending length of dependency pattern.
32802         * configure.in (AWK): Require gawk 3.1.2 or newer.
32803         * manual/install.texi (Tools for Compilation): Say that we do.
32804         * configure: Regenerated.
32806         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32807         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32808         * scripts/sysd-rules.awk: ... this new script.
32809         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32810         than a glob-style pattern.
32812 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32814         * math/test-misc.c (main): Do not treat incorrectly rounded
32815         conversions as failure unless ROUNDING_TESTS passes.
32817 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32819         [BZ #15631]
32820         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32821         restore exception state around main square root computation, then
32822         check for inexactness explicitly.
32824         * math/libm-test.inc (fma_test_data): Add another test.
32826 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32828         * manual/threads.texi (Non-POSIX Extensions): New document
32829         node.  Document pthread_getattr_default_np and
32830         pthread_setattr_default_np.
32832         * Versions.def (libpthread): Add GLIBC_2.18.
32833         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32835         Likewise.
32836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32837         Likewise.
32838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32839         Likewise.
32840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32841         Likewise.
32842         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32843         Likewise.
32844         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32845         Likewise.
32846         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32847         Likewise.
32848         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32849         Likewise.
32850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32851         Likewise.
32853 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32855         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32856         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32858 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32859             H.J. Lu  <hjl.tools@gmail.com>
32861         [BZ #15627]
32862         * sysdeps/x86_64/rtld-memset.c: Remove file.
32863         * sysdeps/x86_64/rtld-memset.S: New file.
32865 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32867         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32868         (test_in_one_mode): Take arguments for whether the rounding mode
32869         is supported for each floating-point type.
32870         (do_test): Pass new arguments to test_in_one_mode using
32871         ROUNDING_TESTS.
32873 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32875         * posix/tst-waitid.c (do_test): Distinguish different instances of
32876         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32877         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32878         before entering the kernel for waitpid.
32880 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32882         * NEWS: Fix note on clock function precision.  Text by Roland
32883         McGrath.
32885 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32887         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32888         it into place only when and if the sanity check passes.
32890 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32892         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32893         output for whether conversion result is exact.  Take argument
32894         indicating whether type is IBM long double.
32895         (round_for_all): Change need_exact field to ibm_ld.
32896         * stdlib/tst-strtod-round.c (struct exactness): New type.
32897         (struct test): Change bool ld_ok field to struct exactness exact.
32898         (TEST): Update all definitions for change to field.
32899         (tests): Regenerate array contents.
32900         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32901         field value.  Check for IBM long double here.
32902         (do_test): Update calls to test_in_one_mode.
32904 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32906         [BZ #12515]
32907         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32908         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32910 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32912         [BZ #15605]
32913         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32914         generated by the compiler on loop optimizations.
32915         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32916         general definitions.
32918 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32920         * math/bug-nextafter.c: Include <math-tests.h>.
32921         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32922         the relevant type.
32923         * math/bug-nexttoward.c: Include <math-tests.h>.
32924         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32925         the relevant type.
32926         * math/test-misc.c: Include <math-tests.h>.
32927         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32928         the relevant type.
32930 2013-06-12  Andreas Jaeger  <aj@suse.de>
32932         * po/ia.po: Update Interlingua translation from translation
32933         project.
32935 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32937         * include/fenv.h: Include stdbool.h.
32938         (struct rm_ctx): New structure.
32939         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32940         Define macro.
32941         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32942         (SET_RESTORE_ROUNDF): Likewise.
32943         (SET_RESTORE_ROUNDL): Likewise.
32944         (SET_RESTORE_ROUND_NOEX): Likewise.
32945         (SET_RESTORE_ROUND_NOEXF): Likewise.
32946         (SET_RESTORE_ROUND_NOEXL): Likewise.
32947         (SET_RESTORE_ROUND_53BIT): Likewise.
32948         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32949         (libc_feresetround_noexf_ctx): Likewise.
32950         (libc_feresetround_noexl_ctx): Likewise.
32951         (libc_feholdsetround_53bit_ctx): Likewise.
32952         (libc_feresetround_53bit_ctx): Likewise.
32953         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32954         (libc_feholdexcept_setround_sse_ctx): New function.
32955         (libc_fesetenv_sse_ctx): Likewise.
32956         (libc_feupdateenv_sse_ctx): Likewise.
32957         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32958         (libc_feholdexcept_setround_387_ctx): Likewise.
32959         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32960         (libc_feholdsetround_387_prec_ctx): Likewise.
32961         (libc_feholdsetround_387_ctx): Likewise.
32962         (libc_feholdsetround_387_53bit_ctx): Likewise.
32963         (libc_feholdsetround_sse_ctx): Likewise.
32964         (libc_feresetround_sse_ctx): Likewise.
32965         (libc_feresetround_387_ctx): Likewise.
32966         (libc_feupdateenv_387_ctx): Likewise.
32967         (libc_feholdexcept_setroundf_ctx): Define macro.
32968         (libc_fesetenvf_ctx): Likewise.
32969         (libc_feupdateenvf_ctx): Likewise.
32970         (libc_feholdsetroundf_ctx): Likewise.
32971         (libc_feresetroundf_ctx): Likewise.
32972         (libc_feholdexcept_setround_ctx): Likewise.
32973         (libc_fesetenv_ctx): Likewise.
32974         (libc_feupdateenv_ctx): Likewise.
32975         (libc_feholdsetround_ctx): Likewise.
32976         (libc_feresetround_ctx): Likewise.
32977         (libc_feholdexcept_setroundl_ctx): Likewise.
32978         (libc_feupdateenvl_ctx): Likewise.
32979         (libc_feholdsetroundl_ctx): Likewise.
32980         (libc_feresetroundl_ctx): Likewise.
32981         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32982         (libc_feresetround_53bit_ctx): Likewise.
32984 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32986         * locale/iso-639.def: Convert to UTF-8.
32988 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32990         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32991         (EXCEPTION_TESTS_double): Likewise.
32992         (EXCEPTION_TESTS_long_double): Likewise.
32993         (EXCEPTION_TESTS): Likewise.
32994         * math/libm-test.inc (test_exceptions): Only test exceptions if
32995         EXCEPTION_TESTS (FLOAT).
32997 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32999         * benchtests/Makefile (string-bench): Add strcpy_chk and
33000         stpcpy_chk.
33001         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
33002         * benchtests/bench-stpcpy_chk.c: New file.
33003         * benchtests/bench-strcpy_chk-ifunc.c: New file.
33004         * benchtests/bench-strcpy_chk.c: New file.
33005         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
33006         code.
33007         (do_test): Likewise.
33009 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33011         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
33012         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
33013         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
33014         with tabs where appropriate.
33015         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
33016         dl-procinfo.h.
33017         [PPC_PLATFORM_PPC440]: Likewise.
33018         [PPC_PLATFORM_PPC464]: Likewise.
33019         [PPC_PLATFORM_PPC476]: Likewise.
33020         (_dl_string_platform): Add support for detecting ppc405, ppc440,
33021         ppc464, and ppc476 platform strings merging from ports/
33022         dl-procinfo.h.
33024 2013-06-11  Andreas Schwab  <schwab@suse.de>
33026         [BZ #14991]
33027         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
33028         (from_ucs4_idx): Regenerate.
33029         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
33030         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
33031         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
33032         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
33033         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
33034         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
33035         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
33036         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
33037         from FROM_LOOP and TO_LOOP specific macros.
33038         (BODY): Handle combining characters.
33039         * iconvdata/BIG5HKSCS.irreversible: Update.
33040         * iconvdata/BIG5HKSCS.precomposed: New file.
33041         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
33042         characters.
33043         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
33045 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33047         * include/sys/time.h: Fix indentation and add copyright header.
33049         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
33050         (do_test): Likewise.
33051         * string/test-memchr.c (do_one_test): Likewise.
33052         (do_test): Likewise.
33053         * string/test-memcmp.c (do_one_test): Likewise.
33054         (do_test): Likewise.
33055         * string/test-memcpy.c (do_one_test): Likewise.
33056         (do_test): Likewise.
33057         * string/test-memmem.c (do_one_test): Likewise.
33058         (do_test): Likewise.
33059         (do_random_tests): Likewise.
33060         * string/test-memmove.c (do_one_test): Likewise.
33061         (do_test): Likewise.
33062         * string/test-memset.c (do_one_test): Likewise.
33063         (do_test): Likewise.
33064         * string/test-rawmemchr.c (do_one_test): Likewise.
33065         (do_test): Likewise.
33066         * string/test-strcasecmp.c (do_one_test): Likewise.
33067         (do_test): Likewise.
33068         * string/test-strcasestr.c (do_one_test): Likewise.
33069         (do_test): Likewise.
33070         * string/test-strcat.c (do_one_test): Likewise.
33071         (do_test): Likewise.
33072         * string/test-strchr.c (do_one_test): Likewise.
33073         (do_test): Likewise.
33074         * string/test-strcmp.c (do_one_test): Likewise.
33075         (do_test): Likewise.
33076         * string/test-strcpy.c (do_one_test): Likewise.
33077         (do_test): Likewise.
33078         * string/test-string.h: Likewise.
33079         (test_init): Likewise.
33080         * string/test-strlen.c (do_one_test): Likewise.
33081         (do_test): Likewise.
33082         * string/test-strncasecmp.c (do_one_test): Likewise.
33083         (do_test): Likewise.
33084         * string/test-strncat.c (do_one_test): Likewise.
33085         (do_test): Likewise.
33086         * string/test-strncmp.c (do_one_test): Likewise.
33087         (do_test_limit): Likewise.
33088         (do_test): Likewise.
33089         * string/test-strncpy.c (do_one_test): Likewise.
33090         (do_test): Likewise.
33091         * string/test-strnlen.c (do_one_test): Likewise.
33092         (do_test): Likewise.
33093         * string/test-strpbrk.c (do_one_test): Likewise.
33094         (do_test): Likewise.
33095         * string/test-strrchr.c (do_one_test): Likewise.
33096         (do_test): Likewise.
33097         * string/test-strspn.c (do_one_test): Likewise.
33098         (do_test): Likewise.
33099         * string/test-strstr.c (do_one_test): Likewise.
33100         (do_test): Likewise.
33102         * benchtests/Makefile (string-bench): Add string benchmarks.
33103         * benchtests/bench-bcopy-ifunc.c: New file.
33104         * benchtests/bench-bcopy.c: New file.
33105         * benchtests/bench-bzero-ifunc.c: New file.
33106         * benchtests/bench-bzero.c: New file.
33107         * benchtests/bench-memccpy-ifunc.c: New file.
33108         * benchtests/bench-memccpy.c: New file.
33109         * benchtests/bench-memchr-ifunc.c: New file.
33110         * benchtests/bench-memchr.c: New file.
33111         * benchtests/bench-memcmp-ifunc.c: New file.
33112         * benchtests/bench-memcmp.c: New file.
33113         * benchtests/bench-memmem-ifunc.c: New file.
33114         * benchtests/bench-memmem.c: New file.
33115         * benchtests/bench-memmove-ifunc.c: New file.
33116         * benchtests/bench-memmove.c: New file.
33117         * benchtests/bench-mempcpy-ifunc.c: New file.
33118         * benchtests/bench-mempcpy.c: New file.
33119         * benchtests/bench-memset-ifunc.c: New file.
33120         * benchtests/bench-memset.c: New file.
33121         * benchtests/bench-rawmemchr-ifunc.c: New file.
33122         * benchtests/bench-rawmemchr.c: New file.
33123         * benchtests/bench-stpcpy-ifunc.c: New file.
33124         * benchtests/bench-stpcpy.c: New file.
33125         * benchtests/bench-stpncpy-ifunc.c: New file.
33126         * benchtests/bench-stpncpy.c: New file.
33127         * benchtests/bench-strcasecmp-ifunc.c: New file.
33128         * benchtests/bench-strcasecmp.c: New file.
33129         * benchtests/bench-strcasestr-ifunc.c: New file.
33130         * benchtests/bench-strcasestr.c: New file.
33131         * benchtests/bench-strcat-ifunc.c: New file.
33132         * benchtests/bench-strcat.c: New file.
33133         * benchtests/bench-strchr-ifunc.c: New file.
33134         * benchtests/bench-strchr.c: New file.
33135         * benchtests/bench-strchrnul-ifunc.c: New file.
33136         * benchtests/bench-strchrnul.c: New file.
33137         * benchtests/bench-strcmp-ifunc.c: New file.
33138         * benchtests/bench-strcmp.c: New file.
33139         * benchtests/bench-strcpy-ifunc.c: New file.
33140         * benchtests/bench-strcpy.c: New file.
33141         * benchtests/bench-strcspn-ifunc.c: New file.
33142         * benchtests/bench-strcspn.c: New file.
33143         * benchtests/bench-strlen-ifunc.c: New file.
33144         * benchtests/bench-strlen.c: New file.
33145         * benchtests/bench-strncasecmp-ifunc.c: New file.
33146         * benchtests/bench-strncasecmp.c: New file.
33147         * benchtests/bench-strncat-ifunc.c: New file.
33148         * benchtests/bench-strncat.c: New file.
33149         * benchtests/bench-strncmp-ifunc.c: New file.
33150         * benchtests/bench-strncmp.c: New file.
33151         * benchtests/bench-strncpy-ifunc.c: New file.
33152         * benchtests/bench-strncpy.c: New file.
33153         * benchtests/bench-strnlen-ifunc.c: New file.
33154         * benchtests/bench-strnlen.c: New file.
33155         * benchtests/bench-strpbrk-ifunc.c: New file.
33156         * benchtests/bench-strpbrk.c: New file.
33157         * benchtests/bench-strrchr-ifunc.c: New file.
33158         * benchtests/bench-strrchr.c: New file.
33159         * benchtests/bench-strspn-ifunc.c: New file.
33160         * benchtests/bench-strspn.c: New file.
33161         * benchtests/bench-strstr-ifunc.c: New file.
33162         * benchtests/bench-strstr.c: New file.
33164         * benchtests/Makefile: Disable parallel execution of targets.
33165         (string-bench): Add memcpy.
33166         (benchset): New variable to store a list of benchmark sets.
33167         (bench-func): Renamed from bench.
33168         (bench-set): New target.
33169         (bench): Depend on bench-func and bench-set.
33170         * benchtests/README: Add section on benchmark sets.
33171         * benchtests/bench-memcpy-ifunc.c: New file.
33172         * benchtests/bench-memcpy.c: New file.
33173         * benchtests/bench-string.h: New file.
33175 2013-06-11  Andreas Schwab  <schwab@suse.de>
33177         [BZ #15577]
33178         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
33179         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
33180         values in the triple.
33181         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
33182         terminator in the group key.
33184 2013-06-11  Andreas Jaeger  <aj@suse.de>
33186         * po/zh_TW.po: Update Chinese (traditional) translation from
33187         translation project.
33189 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33191         * include/time.h (__clock_gettime): Add libc_hidden_proto.
33192         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
33193         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
33194         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33195         (clock_getcpuclockid): Likewise.
33196         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
33197         Add weak_alias and libc_hidden_def.
33198         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
33199         * rt/clock_gettime.c (clock_gettime): Rename to
33200         __clock_gettime.  Add weak_alias and libc_hidden_def.
33201         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
33202         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
33203         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
33204         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
33205         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
33206         Likewise.
33207         * rt/clock_settime.c (clock_settime): Rename to
33208         __clock_settime.  Add weak_alias and libc_hidden_def.
33209         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
33211 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
33213         * mach/err_boot.sub: Remove trailing whitespace.
33214         * mach/err_ipc.sub: Likewise.
33215         * mach/err_mach.sub: Likewise.
33217         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
33218         (ROUNDING_TESTS_double): Likewise.
33219         (ROUNDING_TESTS_long_double): Likewise.
33220         (ROUNDING_TESTS): Likewise.
33221         * math/libm-test.inc: Include <math-tests.h>.
33222         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
33223         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33224         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33225         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33227 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33229         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
33230         of assigning.
33232 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
33234         * sysdeps/gnu/errlist.awk: Do not generate space at end of
33235         otherwise empty TRANS lines.
33236         * sysdeps/gnu/errlist.c: Regenerated.
33238         * catgets/gencat.c (error_print): Use (void) in function
33239         definition.
33240         * crypt/crypt_util.c (__init_des): Likewise.
33241         * crypt/speeds.c (Stop): Likewise.
33242         (main): Likewise.
33243         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
33244         * inet/ruserpass.c (token): Likewise.
33245         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
33246         * intl/localealias.c (extend_alias_table): Likewise.
33247         * intl/plural-exp.c (init_germanic_plural): Likewise.
33248         * libio/fcloseall.c (__fcloseall): Likewise.
33249         * libio/genops.c (_IO_flush_all): Likewise.
33250         (_IO_flush_all_linebuffered): Likewise.
33251         (_IO_cleanup): Likewise.
33252         (_IO_iter_begin): Likewise.
33253         (_IO_iter_end): Likewise.
33254         (_IO_list_lock): Likewise.
33255         (_IO_list_unlock): Likewise.
33256         (_IO_list_resetlock): Likewise.
33257         * libio/getchar.c (getchar): Likewise.
33258         * libio/getchar_u.c (getchar_unlocked): Likewise.
33259         * libio/getwchar.c (getwchar): Likewise.
33260         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
33261         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
33262         * login/getpt.c (__getpt): Likewise.
33263         * login/tst-utmp.c (main): Likewise.
33264         * malloc/hooks.c (__malloc_check_init): Likewise.
33265         * malloc/malloc.c (__malloc_stats): Likewise.
33266         * malloc/mtrace.c (tr_break): Likewise.
33267         (mtrace): Likewise.
33268         (muntrace): Likewise.
33269         * misc/fstab.c (endfsent): Likewise.
33270         * misc/getclktck.c (__getclktck): Likewise.
33271         * misc/getdtsz.c (__getdtablesize): Likewise.
33272         * misc/gethostid.c (gethostid): Likewise.
33273         * misc/getpagesize.c (__getpagesize): Likewise.
33274         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
33275         (__get_nprocs): Likewise.
33276         (__get_phys_pages): Likewise.
33277         (__get_avphys_pages): Likewise.
33278         * misc/getttyent.c (getttyent): Likewise.
33279         (setttyent): Likewise.
33280         (endttyent): Likewise.
33281         * misc/getusershell.c (getusershell): Likewise.
33282         (endusershell): Likewise.
33283         (setusershell): Likewise.
33284         (initshells): Likewise.
33285         * misc/hsearch.c (__hdestroy): Likewise.
33286         * misc/sync.c (sync): Likewise.
33287         * misc/syslog.c (closelog_internal): Likewise.
33288         (closelog): Likewise.
33289         * misc/ttyslot.c (ttyslot): Likewise.
33290         * misc/vhangup.c (vhangup): Likewise.
33291         * posix/fork.c (__fork): Likewise.
33292         * posix/getegid.c (__getegid): Likewise.
33293         * posix/geteuid.c (__geteuid): Likewise.
33294         * posix/getgid.c (__getgid): Likewise.
33295         * posix/getpid.c (__getpid): Likewise.
33296         * posix/getppid.c (__getppid): Likewise.
33297         * posix/getuid.c (__getuid): Likewise.
33298         * posix/pause.c (pause): Likewise.
33299         * posix/setpgrp.c (setpgrp): Likewise.
33300         * posix/setsid.c (__setsid): Likewise.
33301         * posix/test-vfork.c (noop): Likewise.
33302         * resolv/gethnamaddr.c (_endhtent): Likewise.
33303         (_gethtent): Likewise.
33304         (ht_endhostent): Likewise.
33305         (gethostent): Likewise.
33306         (dns_service): Likewise.
33307         * stdlib/drand48.c (drand48): Likewise.
33308         * stdlib/lrand48.c (lrand48): Likewise.
33309         * stdlib/mrand48.c (mrand48): Likewise.
33310         * stdlib/rand.c (rand): Likewise.
33311         * stdlib/random.c (__random): Likewise.
33312         * stdlib/setenv.c (clearenv): Likewise.
33313         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
33314         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
33315         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
33316         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
33317         (__get_nprocs): Likewise.
33318         (__get_phys_pages): Likewise.
33319         (__get_avphys_pages): Likewise.
33320         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
33321         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
33322         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
33323         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
33324         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
33325         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
33326         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
33327         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
33328         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
33329         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
33330         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
33331         * sysdeps/mach/hurd/sync.c (sync): Likewise.
33332         * sysdeps/posix/clock.c (clock): Likewise.
33333         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
33334         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
33335         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
33336         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33337         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
33338         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33339         (__get_nprocs_conf): Likewise.
33340         (__get_phys_pages): Likewise.
33341         (__get_avphys_pages): Likewise.
33342         * time/clock.c (clock): Likewise.
33343         * time/tzset.c (__tzname_max): Likewise.
33345 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
33347         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
33348         (__bswap_32): Do not use "register".
33349         * crypt/crypt.c (_ufc_doit_r): Likewise.
33350         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33351         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33352         * gmon/gmon.c (__monstartup): Likewise.
33353         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
33354         * hurd/hurdmalloc.c (more_memory): Likewise.
33355         (malloc): Likewise.
33356         (free): Likewise.
33357         (realloc): Likewise.
33358         (malloc_fork_prepare): Likewise.
33359         (malloc_fork_parent): Likewise.
33360         (malloc_fork_child): Likewise.
33361         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
33362         (_svcauth_des): Likewise.
33363         * inet/inet_lnaof.c (inet_lnaof): Likewise.
33364         * inet/inet_net.c (inet_network): Likewise.
33365         * inet/inet_netof.c (inet_netof): Likewise.
33366         * inet/rcmd.c (__validuser2_sa): Likewise.
33367         * io/fts.c (fts_open): Likewise.
33368         (fts_load): Likewise.
33369         (fts_close): Likewise.
33370         (fts_read): Likewise.
33371         (fts_children): Likewise.
33372         (fts_build): Likewise.
33373         (fts_stat): Likewise.
33374         (fts_sort): Likewise.
33375         (fts_alloc): Likewise.
33376         (fts_lfree): Likewise.
33377         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
33378         (_IO_file_xsgetn): Likewise.
33379         (_IO_file_xsgetn_mmap): Likewise.
33380         * libio/iofopncook.c (_IO_cookie_read): Likewise.
33381         (_IO_cookie_write): Likewise.
33382         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
33383         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
33384         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
33385         * malloc/obstack.c (_obstack_begin): Likewise.
33386         (_obstack_begin_1): Likewise.
33387         (_obstack_newchunk): Likewise.
33388         (_obstack_allocated_p): Likewise.
33389         (obstack_free): Likewise.
33390         (_obstack_memory_used): Likewise.
33391         * misc/getttyent.c (getttynam): Likewise.
33392         (getttyent): Likewise.
33393         (skip): Likewise.
33394         (value): Likewise.
33395         * misc/getusershell.c (initshells): Likewise.
33396         * misc/syslog.c (__vsyslog_chk): Likewise.
33397         * misc/ttyslot.c (ttyslot): Likewise.
33398         * nis/nis_hash.c (__nis_hash): Likewise.
33399         * posix/fnmatch_loop.c (FCT): Likewise.
33400         * posix/getconf.c (print_all): Likewise.
33401         (main): Likewise.
33402         * posix/getopt.c (exchange): Likewise.
33403         * posix/glob.c (globfree): Likewise.
33404         (prefix_array): Likewise.
33405         (__glob_pattern_type): Likewise.
33406         * resolv/arpa/nameser.h (NS_GET16): Likewise.
33407         (NS_GET32): Likewise.
33408         (NS_PUT16): Likewise.
33409         (NS_PUT32): Likewise.
33410         * resolv/gethnamaddr.c (getanswer): Likewise.
33411         (gethostbyname2): Likewise.
33412         (gethostbyaddr): Likewise.
33413         (_gethtent): Likewise.
33414         (_gethtbyname2): Likewise.
33415         (_gethtbyaddr): Likewise.
33416         * resolv/ns_print.c (dst_s_get_int16): Likewise.
33417         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33418         * resolv/res_init.c (__res_vinit): Likewise.
33419         (net_mask): Likewise.
33420         * resolv/res_mkquery.c (outchar): Likewise.
33421         (PRINT): Likewise.
33422         * stdio-common/printf_fp.c (outchar): Likewise.
33423         (PRINT): Likewise.
33424         * stdio-common/printf_fphex.c (outchar): Likewise.
33425         (PRINT): Likewise.
33426         * stdio-common/printf_size.c (outchar): Likewise.
33427         (PRINT): Likewise.
33428         * stdio-common/test_rdwr.c (main): Likewise.
33429         * stdio-common/tfformat.c (matches): Likewise.
33430         * stdio-common/vfprintf.c (outchar): Likewise.
33431         (printf_unknown): Likewise.
33432         (buffered_vfprintf): Likewise.
33433         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33434         * stdio-common/xbug.c (AppendToBuffer): Likewise.
33435         (ReadFile): Likewise.
33436         * stdlib/qsort.c (SWAP): Likewise.
33437         (_quicksort): Likewise.
33438         * stdlib/setenv.c (__add_to_environ): Likewise.
33439         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33440         * stdlib/strtol_l.c (__strtol_l): Likewise.
33441         * stdlib/tst-strtod.c (main): Likewise.
33442         * stdlib/tst-strtol.c (main): Likewise.
33443         * stdlib/tst-strtoll.c (main): Likewise.
33444         * string/bits/string2.h (__strcmp_cc): Likewise.
33445         (__strcmp_cg): Likewise.
33446         (__strcspn_c1): Likewise.
33447         (__strcspn_c2): Likewise.
33448         (__strcspn_c3): Likewise.
33449         (__strspn_c1): Likewise.
33450         (__strspn_c2): Likewise.
33451         (__strspn_c3): Likewise.
33452         (__strsep_1c): Likewise.
33453         (__strsep_2c): Likewise.
33454         (__strsep_3c): Likewise.
33455         * string/memccpy.c (__memccpy): Likewise.
33456         * string/stpcpy.c (__stpcpy): Likewise.
33457         * string/strcmp.c (strcmp): Likewise.
33458         * string/strrchr.c (strrchr): Likewise.
33459         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
33460         Likewise.
33461         * sysdeps/mach/hurd/getcwd.c
33462         (_hurd_canonicalize_directory_name_internal): Likewise.
33463         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
33464         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
33465         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
33466         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
33467         Likewise, in both definitions.
33468         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
33469         definitions.
33470         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
33471         64] (__bswap_64): Likewise.
33472         * time/test_time.c (main): Likewise.
33473         * time/tzfile.c (__tzfile_read): Likewise.
33474         (__tzfile_compute): Likewise.
33475         * time/tzset.c (__tzset_parse_tz): Likewise.
33476         (tzset_internal): Likewise.
33477         (compute_change): Likewise.
33478         * wcsmbs/wcscat.c (__wcscat): Likewise.
33479         * wcsmbs/wcschr.c (wcschr): Likewise.
33480         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
33481         * wcsmbs/wcscspn.c (wcscspn): Likewise.
33482         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
33483         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
33484         * wcsmbs/wcsspn.c (wcsspn): Likewise.
33485         * wcsmbs/wcsstr.c (wcsstr): Likewise.
33486         * wcsmbs/wmemchr.c (wmemchr): Likewise.
33487         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33488         * wcsmbs/wmemset.c (wmemset): Likewise.
33490 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
33492         * scripts/config.guess: Update to version 2013-05-16.
33493         * scripts/config.sub: Update to version 2013-04-24.
33494         * scripts/install-sh: Update to version 2011-11-20.07.
33495         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
33496         * scripts/move-if-change: Update to version 2012-01-06 07:23.
33498 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
33500         * debug/fgetws_u_chk.c: Fix leading whitespaces.
33501         * elf/sln.c: Likewise.
33502         * hurd/hurd/ioctl.h: Likewise.
33503         * hurd/hurdmalloc.c: Likewise.
33504         * hurd/xattr.c: Likewise.
33505         * include/shlib-compat.h: Likewise.
33506         * inet/ruserpass.c: Likewise.
33507         * libio/iofgets_u.c: Likewise.
33508         * libio/iofgetws_u.c: Likewise.
33509         * locale/programs/ld-identification.c: Likewise.
33510         * locale/programs/ld-time.c: Likewise.
33511         * mach/msg-destroy.c: Likewise.
33512         * nss/nss_files/files-netgrp.c: Likewise.
33513         * resolv/res_data.c: Likewise.
33514         * soft-fp/op-1.h: Likewise.
33515         * soft-fp/op-2.h: Likewise.
33516         * soft-fp/op-4.h: Likewise.
33517         * soft-fp/op-common.h: Likewise.
33518         * stdio-common/printf_fphex.c: Likewise.
33519         * stdlib/strtod_l.c: Likewise.
33520         * sunrpc/rpc/clnt.h: Likewise.
33521         * sysdeps/generic/framestate.c: Likewise.
33522         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33523         * sysdeps/i386/bsd-setjmp.S: Likewise.
33524         * sysdeps/i386/__longjmp.S: Likewise.
33525         * sysdeps/i386/setjmp.S: Likewise.
33526         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33527         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33528         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33529         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33530         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33531         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33532         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33533         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33534         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33535         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33536         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33537         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33538         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33539         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33540         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33541         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33542         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33543         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
33544         * sysdeps/ieee754/support.c: Likewise.
33545         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33546         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
33547         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
33548         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
33549         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
33550         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
33551         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
33552         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
33553         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
33554         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
33555         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
33556         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
33557         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
33558         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
33559         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
33560         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
33561         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33564 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
33566         * posix/transbug.c: Remove executable mode.
33568 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
33570         * crypt/speeds.c: Remove trailing whitespace.
33571         * dlfcn/default.c: Likewise.
33572         * elf/ifuncdep2.c: Likewise.
33573         * elf/ifuncmain1.c: Likewise.
33574         * elf/ifuncmain1vis.c: Likewise.
33575         * elf/testobj.h: Likewise.
33576         * elf/tst-stackguard1.c: Likewise.
33577         * gmon/sys/gmon.h: Likewise.
33578         * hurd/hurdmsg.c: Likewise.
33579         * hurd/new-fd.c: Likewise.
33580         * hurd/ports-get.c: Likewise.
33581         * iconvdata/ibm1008_420.c: Likewise.
33582         * inet/tst-getni1.c: Likewise.
33583         * inet/tst-getni2.c: Likewise.
33584         * libio/ioungetc.c: Likewise.
33585         * libio/wfiledoalloc.c: Likewise.
33586         * manual/libm-err-tab.pl: Likewise.
33587         * math/w_dremf.c: Likewise.
33588         * misc/ftruncate.c: Likewise.
33589         * posix/bug-glob2.c: Likewise.
33590         * posix/tst-pcre.c: Likewise.
33591         * posix/wait4.c: Likewise.
33592         * resolv/README: Likewise.
33593         * resolv/res_debug.h: Likewise.
33594         * resolv/tst-inet_ntop.c: Likewise.
33595         * setjmp/bug269-setjmp.c: Likewise.
33596         * soft-fp/extended.h: Likewise.
33597         * soft-fp/op-1.h: Likewise.
33598         * soft-fp/op-2.h: Likewise.
33599         * soft-fp/op-4.h: Likewise.
33600         * soft-fp/op-8.h: Likewise.
33601         * soft-fp/testit.c: Likewise.
33602         * stdio-common/bug16.c: Likewise.
33603         * stdlib/random.c: Likewise.
33604         * sunrpc/rpcsvc/rquota.x: Likewise.
33605         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33606         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33607         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33608         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33609         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33610         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33611         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33612         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33613         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33614         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33615         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33616         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33617         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33618         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33619         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33620         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33621         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33622         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33623         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33624         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33625         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33626         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33627         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33628         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33629         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33630         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33631         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33632         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33633         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33634         * sysdeps/ieee754/s_lib_version.c: Likewise.
33635         * sysdeps/mach/hurd/check_fds.c: Likewise.
33636         * sysdeps/mach/hurd/getsockname.c: Likewise.
33637         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33638         * sysdeps/mach/hurd/recvfrom.c: Likewise.
33639         * sysdeps/powerpc/bits/link.h: Likewise.
33640         * sysdeps/powerpc/dl-procinfo.c: Likewise.
33641         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33642         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33643         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33644         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33645         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33646         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33647         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33648         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33649         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33650         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33651         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33652         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33653         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33654         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33655         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33656         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33657         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33658         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33659         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33660         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33661         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33662         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33663         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33664         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33665         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33666         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33667         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33668         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33669         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33670         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33671         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33672         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33673         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33674         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33675         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33676         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33677         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33678         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33679         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33680         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33681         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33682         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33683         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33684         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33685         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33686         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33687         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33688         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33689         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33690         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33691         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33692         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33693         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33694         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33695         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33696         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33697         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33698         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33699         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33700         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33701         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33702         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33703         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33704         * sysdeps/powerpc/sysdep.h: Likewise.
33705         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33706         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33707         * sysdeps/sh/dl-trampoline.S: Likewise.
33708         * sysdeps/sh/memset.S: Likewise.
33709         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33710         * sysdeps/sh/strlen.S: Likewise.
33711         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33712         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33713         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33714         * sysdeps/sparc/sparc32/rem.S: Likewise.
33715         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33716         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33717         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33718         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33719         * sysdeps/sparc/sparc32/urem.S: Likewise.
33720         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33721         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33722         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33723         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33724         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33725         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33726         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33727         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33728         * sysdeps/unix/bsd/times.c: Likewise.
33729         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33730         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33734         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33735         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33736         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33737         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33738         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33739         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33740         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33741         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33742         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33743         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33744         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33745         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33746         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33747         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33748         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33749         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33750         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33751         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33752         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33753         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33754         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33755         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33756         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33757         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33758         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33759         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33760         * sysdeps/x86_64/strcspn.S: Likewise.
33762 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33764         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33765         generated file.  Regenerate properly from gen-translit.pl.
33766         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33767         locale/C-translit.h.
33769 2013-06-05  Andreas Schwab  <schwab@suse.de>
33771         [BZ #15100]
33772         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33773         week as 6 instead of -1.
33774         * time/tst-strptime.c (day_tests): Add test case.
33776 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33778         * sysdeps/generic/math_private.h
33779         (libc_feholdexcept_setround_53bit): Replace with
33780         libc_feholdsetround_53bit.
33781         (libc_feupdateenv_53bit): Replace with
33782         libc_feresetround_53bit.
33783         (SET_RESTORE_ROUND_53BIT): Adjust.
33785 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33787         * string/test-strchrnul.c: Add copyright header.
33789         * posix/tst-getaddrinfo4.c: Increase test timeout.
33791 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33793         [BZ #15536]
33794         * math/libm-test.inc (MAX_EXP): Remove
33795         (MIN_EXP): Define.
33796         (ulp): Use MIN_EXP - MANT_DIG.
33797         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33799 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33801         * po/be.po: Revert last change.
33802         * po/zh_CN.po: Likewise.
33803         * po/header.pot: Likewise.
33805 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33807         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33808         link-libc-deps to empty as target-specific variable.
33809         * Makerules (link-libc-args): New variable.
33810         (libc-for-link): Likewise.
33811         (link-libc-deps): Likewise.
33812         (lib%.so): Depend on $(link-libc-deps).  Link with
33813         $(link-libc-args).
33814         (build-module): Link with $(link-libc-args).
33815         (build-module-asneeded): Likewise.
33816         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33817         list of objects.
33818         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33819         target-specific variable.
33820         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33821         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33822         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33823         libc.
33824         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33825         libc and ld.so.
33826         ($(objpfx)libpcprofile.so): Likewise.
33827         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33828         libc_nonshared.a.
33829         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33830         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33831         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33832         $(link-libc-deps).
33833         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33834         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33835         * login/Makefile ($(objpfx)libutil.so): Likewise.
33836         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33837         * math/Makefile ($(objpfx)libm.so): Likewise.
33838         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33839         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33840         variable instead of depending directly on libc.
33841         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33842         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33843         $(link-libc-deps).
33844         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33845         libc.
33846         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33847         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33848         ($(objpfx)libanl.so): Likewise.
33849         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33850         ld.so.
33851         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33852         $(link-libc-deps).
33853         * sysdeps/i386/fpu/Makefile: Remove file.
33854         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33855         ($(objpfx)libm.so): Remove dependency on ld.so.
33857 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33859         [BZ # 15553]
33860         * nis/yp_xdr.c (XDRMAXNAME): Define.
33861         (XDRMAXRECORD): Define.
33862         (xdr_domainname): Use XDRMAXNAME.
33863         (xdr_mapname): Likewise.
33864         (xdr_peername): Likewise.
33865         (xdr_keydat): Use XDRMAXRECORD.
33866         (xdr_valdat): Likewise.
33868 2013-05-30  Jeff Law  <law@redhat.com>
33870         [BZ #14256]
33871         * manual/errno.texi (ESTALE): Update to account for more than
33872         just NFS file systems.
33873         * sysdeps/gnu/errlist.c: Regenerated.
33875 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33877         [BZ #15465]
33878         * elf/Makefile (tests): Add tst-null-argv.
33879         (modules-names):  Add tst-null-argv-lib.
33880         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33881         (tst-null-argv-ENV): Set environment for tst-null-argv.
33882         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33883         (RTLD_PROGNAME): New macro.
33884         * elf/tst-null-argv.c: New test case.
33885         * elf/tst-null-argv-lib.c: Library for test case.
33886         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33887         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33888         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33889         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33890         * elf/dl-init.c (call_init): Likewise.
33891         (_dl_init): Likewise.
33892         * elf/dl-load.c (print_search_path): Likewise.
33893         (_dl_map_object): Likewise.
33894         * elf/dl-lookup.c (do_lookup_x): Likewise.
33895         (add_dependency): Likewise.
33896         (_dl_lookup_symbol_x): Likewise.
33897         (_dl_debug_bindings): Likewise.
33898         * elf/dl-open.c (_dl_show_scope): Likewise.
33899         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33900         * elf/dl-version.c (match_symbol): Likewise.
33901         (_dl_check_map_versions): Likewise.
33902         * elf/rtld.c (dl_main): Likewise.
33903         (print_unresolved): Use RTLD_PROGNAME.
33904         (print_missing_version): Likewise.
33905         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33906         (elf_machine_rela): Likewise.
33907         * sysdeps/powerpc/powerpc32/dl-machine.c
33908         (__process_machine_rela): Likewise.
33909         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33910         Likewise.
33911         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33912         Likewise.
33913         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33914         Likewise.
33915         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33916         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33917         Likewise.
33918         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33919         Likewise.
33920         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33922 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33924         * po/be.po: Add descriptive title.
33925         * po/zh_CN.po: Likewise.
33926         * po/header.pot: Likewise.
33928 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33930         * locale/programs/locarchive.c (create_archive): Inlucde fname in
33931         error message.
33932         (enlarge_archive): Likewise.
33934 2013-05-28  Ben North  <ben@redfrontdoor.org>
33936         * manual/arith.texi (frexp): It is the magnitude of the return
33937         value which lies in [0.5, 1), not the return value itself.
33939 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33941         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33943 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33945         * stdio-common/bug26.c (main): Correct fscanf template.
33947         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33948         declare _dl_skip_args.
33950         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33951         Don't declare.
33953         * manual/platform.texi: Add missing @end deftypefun.
33955 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33957         [BZ #15529]
33958         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33959         bit of mantissa of 2^16382.
33960         * math/libm-test.inc (hypot_test_data): Add more tests.
33962         * math/libm-test.inc: Add drem and pow10 to list of tested
33963         functions.
33964         (pow10_test): New function.
33965         (drem_test): Likewise.
33966         (drem_test_tonearest): Likewise.
33967         (drem_test_towardzero): Likewise.
33968         (drem_test_downward): Likewise.
33969         (drem_test_upward): Likewise.
33970         (main): Call the new functions.
33972         * math/libm-test.inc (finite_test_data): Remove.
33973         (finite_test): Run tests from isfinite_test_data.
33974         (gamma_test_data): Remove.
33975         (gamma_test): Run tests from lgamma_test_data.
33976         * sysdeps/i386/fpu/libm-test-ulps: Update.
33977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33979 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33981         * manual/platform.texi: Add PowerPC PPR function set documentation.
33982         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33983         implementation.
33985 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33987         * math/libm-test.inc (MAX_EXP): Define.
33988         (ULPDIFF): Define.
33989         (ulp): New function.
33990         (check_float_internal): Use ULPDIFF.
33991         (cpow_test): Disable failing test.
33992         (check_ulp): Test ulp() implemetnation.
33993         (main): Call check_ulp before starting tests.
33995 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33997         * math/gen-libm-test.pl (generate_testfile): Do not handle
33998         START_DATA and END_DATA.
33999         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
34000         END_DATA.
34001         (acos_tonearest_test_data): Likewise.
34002         (acos_towardzero_test_data): Likewise.
34003         (acos_downward_test_data): Likewise.
34004         (acos_upward_test_data): Likewise.
34005         (acosh_test_data): Likewise.
34006         (asin_test_data): Likewise.
34007         (asin_tonearest_test_data): Likewise.
34008         (asin_towardzero_test_data): Likewise.
34009         (asin_downward_test_data): Likewise.
34010         (asin_upward_test_data): Likewise.
34011         (asinh_test_data): Likewise.
34012         (atan_test_data): Likewise.
34013         (atanh_test_data): Likewise.
34014         (atan2_test_data): Likewise.
34015         (cabs_test_data): Likewise.
34016         (cacos_test_data): Likewise.
34017         (cacosh_test_data): Likewise.
34018         (carg_test_data): Likewise.
34019         (casin_test_data): Likewise.
34020         (casinh_test_data): Likewise.
34021         (catan_test_data): Likewise.
34022         (catanh_test_data): Likewise.
34023         (cbrt_test_data): Likewise.
34024         (ccos_test_data): Likewise.
34025         (ccosh_test_data): Likewise.
34026         (ceil_test_data): Likewise.
34027         (cexp_test_data): Likewise.
34028         (cimag_test_data): Likewise.
34029         (clog_test_data): Likewise.
34030         (clog10_test_data): Likewise.
34031         (conj_test_data): Likewise.
34032         (copysign_test_data): Likewise.
34033         (cos_test_data): Likewise.
34034         (cos_tonearest_test_data): Likewise.
34035         (cos_towardzero_test_data): Likewise.
34036         (cos_downward_test_data): Likewise.
34037         (cos_upward_test_data): Likewise.
34038         (cosh_test_data): Likewise.
34039         (cosh_tonearest_test_data): Likewise.
34040         (cosh_towardzero_test_data): Likewise.
34041         (cosh_downward_test_data): Likewise.
34042         (cosh_upward_test_data): Likewise.
34043         (cpow_test_data): Likewise.
34044         (cproj_test_data): Likewise.
34045         (creal_test_data): Likewise.
34046         (csin_test_data): Likewise.
34047         (csinh_test_data): Likewise.
34048         (csqrt_test_data): Likewise.
34049         (ctan_test_data): Likewise.
34050         (ctan_tonearest_test_data): Likewise.
34051         (ctan_towardzero_test_data): Likewise.
34052         (ctan_downward_test_data): Likewise.
34053         (ctan_upward_test_data): Likewise.
34054         (ctanh_test_data): Likewise.
34055         (ctanh_tonearest_test_data): Likewise.
34056         (ctanh_towardzero_test_data): Likewise.
34057         (ctanh_downward_test_data): Likewise.
34058         (ctanh_upward_test_data): Likewise.
34059         (erf_test_data): Likewise.
34060         (erfc_test_data): Likewise.
34061         (exp_test_data): Likewise.
34062         (exp_tonearest_test_data): Likewise.
34063         (exp_towardzero_test_data): Likewise.
34064         (exp_downward_test_data): Likewise.
34065         (exp_upward_test_data): Likewise.
34066         (exp10_test_data): Likewise.
34067         (exp2_test_data): Likewise.
34068         (expm1_test_data): Likewise.
34069         (fabs_test_data): Likewise.
34070         (fdim_test_data): Likewise.
34071         (finite_test_data): Likewise.
34072         (floor_test_data): Likewise.
34073         (fma_test_data): Likewise.
34074         (fma_towardzero_test_data): Likewise.
34075         (fma_downward_test_data): Likewise.
34076         (fma_upward_test_data): Likewise.
34077         (fmax_test_data): Likewise.
34078         (fmin_test_data): Likewise.
34079         (fmod_test_data): Likewise.
34080         (fpclassify_test_data): Likewise.
34081         (frexp_test_data): Likewise.
34082         (gamma_test_data): Likewise.
34083         (hypot_test_data): Likewise.
34084         (ilogb_test_data): Likewise.
34085         (isfinite_test_data): Likewise.
34086         (isgreater_test_data): Likewise.
34087         (isgreaterequal_test_data): Likewise.
34088         (isinf_test_data): Likewise.
34089         (isless_test_data): Likewise.
34090         (islessequal_test_data): Likewise.
34091         (islessgreater_test_data): Likewise.
34092         (isnan_test_data): Likewise.
34093         (isnormal_test_data): Likewise.
34094         (issignaling_test_data): Likewise.
34095         (isunordered_test_data): Likewise.
34096         (j0_test_data): Likewise.
34097         (j1_test_data): Likewise.
34098         (jn_test_data): Likewise.
34099         (ldexp_test_data): Likewise.
34100         (lgamma_test_data): Likewise.
34101         (lrint_test_data): Likewise.
34102         (lrint_tonearest_test_data): Likewise.
34103         (lrint_towardzero_test_data): Likewise.
34104         (lrint_downward_test_data): Likewise.
34105         (lrint_upward_test_data): Likewise.
34106         (llrint_test_data): Likewise.
34107         (llrint_tonearest_test_data): Likewise.
34108         (llrint_towardzero_test_data): Likewise.
34109         (llrint_downward_test_data): Likewise.
34110         (llrint_upward_test_data): Likewise.
34111         (log_test_data): Likewise.
34112         (log10_test_data): Likewise.
34113         (log1p_test_data): Likewise.
34114         (log2_test_data): Likewise.
34115         (logb_test_data): Likewise.
34116         (logb_downward_test_data): Likewise.
34117         (lround_test_data): Likewise.
34118         (llround_test_data): Likewise.
34119         (modf_test_data): Likewise.
34120         (nearbyint_test_data): Likewise.
34121         (nextafter_test_data): Likewise.
34122         (nexttoward_test_data): Likewise.
34123         (pow_test_data): Likewise.
34124         (pow_tonearest_test_data): Likewise.
34125         (pow_towardzero_test_data): Likewise.
34126         (pow_downward_test_data): Likewise.
34127         (pow_upward_test_data): Likewise.
34128         (remainder_test_data): Likewise.
34129         (remainder_tonearest_test_data): Likewise.
34130         (remainder_towardzero_test_data): Likewise.
34131         (remainder_downward_test_data): Likewise.
34132         (remainder_upward_test_data): Likewise.
34133         (remquo_test_data): Likewise.
34134         (rint_test_data): Likewise.
34135         (rint_tonearest_test_data): Likewise.
34136         (rint_towardzero_test_data): Likewise.
34137         (rint_downward_test_data): Likewise.
34138         (rint_upward_test_data): Likewise.
34139         (round_test_data): Likewise.
34140         (scalb_test_data): Likewise.
34141         (scalbn_test_data): Likewise.
34142         (scalbln_test_data): Likewise.
34143         (signbit_test_data): Likewise.
34144         (sin_test_data): Likewise.
34145         (sin_tonearest_test_data): Likewise.
34146         (sin_towardzero_test_data): Likewise.
34147         (sin_downward_test_data): Likewise.
34148         (sin_upward_test_data): Likewise.
34149         (sincos_test_data): Likewise.
34150         (sinh_test_data): Likewise.
34151         (sinh_tonearest_test_data): Likewise.
34152         (sinh_towardzero_test_data): Likewise.
34153         (sinh_downward_test_data): Likewise.
34154         (sinh_upward_test_data): Likewise.
34155         (sqrt_test_data): Likewise.
34156         (tan_test_data): Likewise.
34157         (tan_tonearest_test_data): Likewise.
34158         (tan_towardzero_test_data): Likewise.
34159         (tan_downward_test_data): Likewise.
34160         (tan_upward_test_data): Likewise.
34161         (tanh_test_data): Likewise.
34162         (tgamma_test_data): Likewise.
34163         (trunc_test_data): Likewise.
34164         (y0_test_data): Likewise.
34165         (y1_test_data): Likewise.
34166         (yn_test_data): Likewise.
34167         (significand_test_data): Likewise.
34169         * math/gen-libm-test.pl (@functions): Remove variable.
34170         (generate_testfile): Don't handle START and END lines.
34171         * math/libm-test.inc (START): New macro.
34172         (END): Likewise.
34173         (END_COMPLEX): Likewise.
34174         (acos_test): Use END macro without arguments.
34175         (acos_test_tonearest): Likewise.
34176         (acos_test_towardzero): Likewise.
34177         (acos_test_downward): Likewise.
34178         (acos_test_upward): Likewise.
34179         (acosh_test): Likewise.
34180         (asin_test): Likewise.
34181         (asin_test_tonearest): Likewise.
34182         (asin_test_towardzero): Likewise.
34183         (asin_test_downward): Likewise.
34184         (asin_test_upward): Likewise.
34185         (asinh_test): Likewise.
34186         (atan_test): Likewise.
34187         (atanh_test): Likewise.
34188         (atan2_test): Likewise.
34189         (cabs_test): Likewise.
34190         (cacos_test): Use END_COMPLEX macro without arguments.
34191         (cacosh_test): Likewise.
34192         (carg_test): Use END macro without arguments.
34193         (casin_test): Use END_COMPLEX macro without arguments.
34194         (casinh_test): Likewise.
34195         (catan_test): Likewise.
34196         (catanh_test): Likewise.
34197         (cbrt_test): Use END macro without arguments.
34198         (ccos_test): Use END_COMPLEX macro without arguments.
34199         (ccosh_test): Likewise.
34200         (ceil_test): Use END macro without arguments.
34201         (cexp_test): Use END_COMPLEX macro without arguments.
34202         (cimag_test): Use END macro without arguments.
34203         (clog_test): Use END_COMPLEX macro without arguments.
34204         (clog10_test): Likewise.
34205         (conj_test): Likewise.
34206         (copysign_test): Use END macro without arguments.
34207         (cos_test): Likewise.
34208         (cos_test_tonearest): Likewise.
34209         (cos_test_towardzero): Likewise.
34210         (cos_test_downward): Likewise.
34211         (cos_test_upward): Likewise.
34212         (cosh_test): Likewise.
34213         (cosh_test_tonearest): Likewise.
34214         (cosh_test_towardzero): Likewise.
34215         (cosh_test_downward): Likewise.
34216         (cosh_test_upward): Likewise.
34217         (cpow_test): Use END_COMPLEX macro without arguments.
34218         (cproj_test): Likewise.
34219         (creal_test): Use END macro without arguments.
34220         (csin_test): Use END_COMPLEX macro without arguments.
34221         (csinh_test): Likewise.
34222         (csqrt_test): Likewise.
34223         (ctan_test): Likewise.
34224         (ctan_test_tonearest): Likewise.
34225         (ctan_test_towardzero): Likewise.
34226         (ctan_test_downward): Likewise.
34227         (ctan_test_upward): Likewise.
34228         (ctanh_test): Likewise.
34229         (ctanh_test_tonearest): Likewise.
34230         (ctanh_test_towardzero): Likewise.
34231         (ctanh_test_downward): Likewise.
34232         (ctanh_test_upward): Likewise.
34233         (erf_test): Use END macro without arguments.
34234         (erfc_test): Likewise.
34235         (exp_test): Likewise.
34236         (exp_test_tonearest): Likewise.
34237         (exp_test_towardzero): Likewise.
34238         (exp_test_downward): Likewise.
34239         (exp_test_upward): Likewise.
34240         (exp10_test): Likewise.
34241         (exp2_test): Likewise.
34242         (expm1_test): Likewise.
34243         (fabs_test): Likewise.
34244         (fdim_test): Likewise.
34245         (finite_test): Likewise.
34246         (floor_test): Likewise.
34247         (fma_test): Likewise.
34248         (fma_test_towardzero): Likewise.
34249         (fma_test_downward): Likewise.
34250         (fma_test_upward): Likewise.
34251         (fmax_test): Likewise.
34252         (fmin_test): Likewise.
34253         (fmod_test): Likewise.
34254         (fpclassify_test): Likewise.
34255         (frexp_test): Likewise.
34256         (gamma_test): Likewise.
34257         (hypot_test): Likewise.
34258         (ilogb_test): Likewise.
34259         (isfinite_test): Likewise.
34260         (isgreater_test): Likewise.
34261         (isgreaterequal_test): Likewise.
34262         (isinf_test): Likewise.
34263         (isless_test): Likewise.
34264         (islessequal_test): Likewise.
34265         (islessgreater_test): Likewise.
34266         (isnan_test): Likewise.
34267         (isnormal_test): Likewise.
34268         (issignaling_test): Likewise.
34269         (isunordered_test): Likewise.
34270         (j0_test): Likewise.
34271         (j1_test): Likewise.
34272         (jn_test): Likewise.
34273         (ldexp_test): Likewise.
34274         (lgamma_test): Likewise.
34275         (lrint_test): Likewise.
34276         (lrint_test_tonearest): Likewise.
34277         (lrint_test_towardzero): Likewise.
34278         (lrint_test_downward): Likewise.
34279         (lrint_test_upward): Likewise.
34280         (llrint_test): Likewise.
34281         (llrint_test_tonearest): Likewise.
34282         (llrint_test_towardzero): Likewise.
34283         (llrint_test_downward): Likewise.
34284         (llrint_test_upward): Likewise.
34285         (log_test): Likewise.
34286         (log10_test): Likewise.
34287         (log1p_test): Likewise.
34288         (log2_test): Likewise.
34289         (logb_test): Likewise.
34290         (logb_test_downward): Likewise.
34291         (lround_test): Likewise.
34292         (llround_test): Likewise.
34293         (modf_test): Likewise.
34294         (nearbyint_test): Likewise.
34295         (nextafter_test): Likewise.
34296         (nexttoward_test): Likewise.
34297         (pow_test): Likewise.
34298         (pow_test_tonearest): Likewise.
34299         (pow_test_towardzero): Likewise.
34300         (pow_test_downward): Likewise.
34301         (pow_test_upward): Likewise.
34302         (remainder_test): Likewise.
34303         (remainder_test_tonearest): Likewise.
34304         (remainder_test_towardzero): Likewise.
34305         (remainder_test_downward): Likewise.
34306         (remainder_test_upward): Likewise.
34307         (remquo_test): Likewise.
34308         (rint_test): Likewise.
34309         (rint_test_tonearest): Likewise.
34310         (rint_test_towardzero): Likewise.
34311         (rint_test_downward): Likewise.
34312         (rint_test_upward): Likewise.
34313         (round_test): Likewise.
34314         (scalb_test): Likewise.
34315         (scalbn_test): Likewise.
34316         (scalbln_test): Likewise.
34317         (signbit_test): Likewise.
34318         (sin_test): Likewise.
34319         (sin_test_tonearest): Likewise.
34320         (sin_test_towardzero): Likewise.
34321         (sin_test_downward): Likewise.
34322         (sin_test_upward): Likewise.
34323         (sincos_test): Likewise.
34324         (sinh_test): Likewise.
34325         (sinh_test_tonearest): Likewise.
34326         (sinh_test_towardzero): Likewise.
34327         (sinh_test_downward): Likewise.
34328         (sinh_test_upward): Likewise.
34329         (sqrt_test): Likewise.
34330         (tan_test): Likewise.
34331         (tan_test_tonearest): Likewise.
34332         (tan_test_towardzero): Likewise.
34333         (tan_test_downward): Likewise.
34334         (tan_test_upward): Likewise.
34335         (tanh_test): Likewise.
34336         (tgamma_test): Likewise.
34337         (trunc_test): Likewise.
34338         (y0_test): Likewise.
34339         (y1_test): Likewise.
34340         (yn_test): Likewise.
34341         (significand_test): Likewise.
34343 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
34345         [BZ #15381]
34346         * libio/genops.c (_IO_no_init): Initialize wide struct info.
34348 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34350         [BZ #14894]
34351         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
34352         __ppc_mdoio and __ppc_mdoom.
34353         * manual/platform.texi: Document new functions __ppc_yield,
34354         __ppc_mdoio and __ppc_mdoom.
34356 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
34358         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
34359         (main): Mention "tls" pseudo-hwcap is legacy.
34360         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
34362 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34364         * math/gen-libm-test.pl (parse_args): Output only string of
34365         arguments as text for test name, not full call or descriptions of
34366         tests for extra outputs.
34367         (generate_testfile): Do not pass function name to parse_args.
34368         Generate this_func variable from START.
34369         * math/libm-test.inc (struct test_f_f_data): Rename test_name
34370         field to arg_str.
34371         (struct test_ff_f_data): Likewise.
34372         (test_ff_f_data_nexttoward): Likewise.
34373         (struct test_fi_f_data): Likewise.
34374         (struct test_fl_f_data): Likewise.
34375         (struct test_if_f_data): Likewise.
34376         (struct test_fff_f_data): Likewise.
34377         (struct test_c_f_data): Likewise.
34378         (struct test_f_f1_data): Likewise.  Remove field extra_name.
34379         (struct test_fF_f1_data): Likewise.
34380         (struct test_ffI_f1_data): Likewise.
34381         (struct test_c_c_data): Rename test_name field to arg_str.
34382         (struct test_cc_c_data): Likewise.
34383         (struct test_f_i_data): Likewise.
34384         (struct test_ff_i_data): Likewise.
34385         (struct test_f_l_data): Likewise.
34386         (struct test_f_L_data): Likewise.
34387         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
34388         and extra2_name.
34389         (COMMON_TEST_SETUP): New macro.
34390         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
34391         (COMMON_TEST_CLEANUP): Likewise.
34392         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
34393         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
34394         macros.
34395         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
34396         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
34397         macros.
34398         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
34399         (RUN_TEST_fff_f): Take argument string.  Call new setup and
34400         cleanup macros.
34401         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
34402         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
34403         macros.
34404         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
34405         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
34406         macros.
34407         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34408         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
34409         cleanup macros.
34410         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34411         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
34412         cleanup macros.
34413         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34414         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
34415         cleanup macros.
34416         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34417         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
34418         macros.
34419         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
34420         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
34421         macros.
34422         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
34423         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
34424         macros.
34425         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
34426         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
34427         cleanup macros.
34428         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
34429         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
34430         cleanup macros.
34431         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
34432         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
34433         macros.
34434         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
34435         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
34436         cleanup macros.
34437         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
34438         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
34439         macros.
34440         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
34441         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
34442         macros.
34443         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
34444         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
34445         cleanup macros.
34446         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
34448 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
34450         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
34451         to _sifields.sigfault.
34452         (si_addr_lsb): Define new macro.
34453         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34454         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34455         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
34457 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
34459         [BZ #15441]
34460         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
34461         returns -1.
34462         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
34463         null return -1.
34464         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
34465         loading the domain.
34467 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34469         * math/gen-libm-test.pl (parse_args): Do not include expected
34470         result in test name.
34471         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
34472         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34473         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34474         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34475         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34478 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34480         * benchtests/Makefile: Sort function entries.
34482         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
34483         tanh, asinh, acosh, atanh.
34484         * benchtests/acos-inputs: New file.
34485         * benchtests/acosh-inputs: New file.
34486         * benchtests/asin-inputs: New file.
34487         * benchtests/asinh-inputs: New file.
34488         * benchtests/atanh-inputs: New file.
34489         * benchtests/cosh-inputs: New file.
34490         * benchtests/log-inputs: New file.
34491         * benchtests/sinh-inputs: New file.
34492         * benchtests/tanh-inputs: New file.
34494 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
34496         [BZ #15339]
34497         * posix/tst-getaddrinfo4.c: New test.
34498         * posix/Makefile (tests): Add it.
34500 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34502         [BZ #15339]
34503         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
34504         when no services were used.
34505         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
34506         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
34508 2013-05-21  Andreas Schwab  <schwab@suse.de>
34510         [BZ #15014]
34511         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
34512         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
34513         successful.
34514         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
34515         redundant variable declarations and reallocation of buffer when
34516         parsing as IPv6 address.  Always set NSS status when called from
34517         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
34518         buffer too small.  Correct computation of needed size.
34519         * nss/Makefile (tests): Add test-digits-dots.
34520         * nss/test-digits-dots.c: New test.
34522 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34524         * benchtests/Makefile: Remove instructions for adding
34525         benchmark tests.
34526         * benchtests/README: New file to explain how to execute and
34527         enhance the benchmark tests.
34529 2013-05-21  Andreas Schwab  <schwab@suse.de>
34531         [BZ #15493]
34532         * setjmp/Makefile (tests): Add tst-sigsetjmp.
34533         * setjmp/tst-sigsetjmp.c: New test.
34535 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34537         * sysdeps/x86_64/memset.S (memset): New implementation.
34538         (__bzero): Likewise.
34539         (__memset_tail): New function.
34541 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34543         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
34544         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
34545         __memcpy_sse2_unaligned ifunc selection.
34546         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34547         Add memcpy-sse2-unaligned.S.
34548         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34549         Add: __memcpy_sse2_unaligned.
34551 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
34553         [BZ #15490]
34554         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34555         math_force_eval before restoring floating-point envrionment.
34556         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
34557         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34558         Likewise.
34559         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
34560         <math_private.h>.
34561         (__nearbyintl): Use math_force_eval before restoring
34562         floating-point environment.
34563         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
34565         * math/gen-libm-test.pl (special_functions): Remove.
34566         (parse_args): Don't handle TEST_extra.  Handle functions with no
34567         return value.
34568         * math/libm-test.inc (struct test_sincos_data): Replace with
34569         struct test_fFF_11_data.
34570         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
34571         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
34572         (sincos_test_data): Change element type to struct
34573         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
34574         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
34575         RUN_TEST_LOOP_sincos.
34576         * math/README.libm-test: Don't mention special handling of
34577         individual functions.
34578         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
34579         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34580         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34581         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34582         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34585         * math/gen-libm-test.pl (get_variable): Remove function.
34586         (parse_args): Don't show pointer parameters to call in test
34587         names.  Use "extra output N" in test names for extra outputs
34588         rather than naming variables.
34590 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
34592         [BZ #15488]
34593         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
34594         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
34595         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
34596         double tests.
34597         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
34598         disable.
34599         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
34600         check_long_double.
34602         * math/gen-libm-test.pl (@tests): Remove variable.
34603         ($count): Likewise.
34604         (new_test): Remove function.
34605         (show_exceptions): New function.
34606         (special_functions): Use show_exceptions instead of new_test.
34607         (parse_args): Likewise.
34608         (generate_testfile): Pass only function name in generated call to
34609         print_max_error or print_complex_max_error.
34610         (get_ulps): Do not handle complex tests specially.
34611         (output_test): Rename to ...
34612         (get_all_ulps_for_test): ... this.  Return a string rather than
34613         printing to a file.  Require ulps to be present.
34614         (output_ulps): Generate arrays rather than #defines.
34615         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34616         (struct ulp_data): New type.
34617         (BUILD_COMPLEX_ULP): Remove macro.
34618         (compare_ulp_data): New function.
34619         (find_ulps): Likewise.
34620         (find_test_ulps): Likewise.
34621         (find_function_ulps): Likewise.
34622         (find_complex_function_ulps): Likewise.
34623         (print_max_error): Determine allowed ulps using
34624         find_function_ulps.
34625         (print_complex_max_error): Determine allowed ulps using
34626         find_complex_function_ulps.
34627         (check_float_internal): Determine max ulps using find_test_ulps.
34628         (check_float): Do not take max_ulp parameter.  Update call to
34629         check_float_internal.
34630         (check_complex): Likewise.
34631         (check_int): Do not take max_ulp parameter.
34632         (check_long): Likewise.
34633         (check_bool): Likewise.
34634         (check_longlong): Likewise.
34635         (struct test_f_f_data): Remove max_ulp field.
34636         (struct test_ff_f_data): Likewise.
34637         (struct test_ff_f_data_nexttoward): Likewise.
34638         (struct test_fi_f_data): Likewise.
34639         (struct test_fl_f_data): Likewise.
34640         (struct test_if_f_data): Likewise.
34641         (struct test_fff_f_data): Likewise.
34642         (struct test_c_f_data): Likewise.
34643         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34644         (struct test_fF_f1_data): Likewise.
34645         (struct test_ffI_f1_data): Likewise.
34646         (struct test_c_c_data): Remove max_ulp field.
34647         (struct test_cc_c_data): Likewise.
34648         (struct test_f_i_data): Likewise.
34649         (struct test_ff_i_data): Likewise.
34650         (struct test_f_l_data): Likewise.
34651         (struct test_f_L_data): Likewise.
34652         (struct test_sincos_data): Likewise.
34653         (RUN_TEST_f_f): Do not handle ulps.
34654         (RUN_TEST_LOOP_f_f): Likewise.
34655         (RUN_TEST_2_f): Likewise.
34656         (RUN_TEST_LOOP_2_f): Likewise.
34657         (RUN_TEST_fff_f): Likewise.
34658         (RUN_TEST_LOOP_fff_f): Likewise.
34659         (RUN_TEST_c_f): Likewise.
34660         (RUN_TEST_LOOP_c_f): Likewise.
34661         (RUN_TEST_f_f1): Likewise.
34662         (RUN_TEST_LOOP_f_f1): Likewise.
34663         (RUN_TEST_fF_f1): Likewise.
34664         (RUN_TEST_LOOP_fF_f1): Likewise.
34665         (RUN_TEST_fI_f1): Likewise.
34666         (RUN_TEST_LOOP_fI_f1): Likewise.
34667         (RUN_TEST_ffI_f1): Likewise.
34668         (RUN_TEST_LOOP_ffI_f1): Likewise.
34669         (RUN_TEST_c_c): Likewise.
34670         (RUN_TEST_LOOP_c_c): Likewise.
34671         (RUN_TEST_cc_c): Likewise.
34672         (RUN_TEST_LOOP_cc_c): Likewise.
34673         (RUN_TEST_f_i): Likewise.
34674         (RUN_TEST_LOOP_f_i): Likewise.
34675         (RUN_TEST_f_i_tg): Likewise.
34676         (RUN_TEST_LOOP_f_i_tg): Likewise.
34677         (RUN_TEST_ff_i_tg): Likewise.
34678         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34679         (RUN_TEST_f_b): Likewise.
34680         (RUN_TEST_LOOP_f_b): Likewise.
34681         (RUN_TEST_f_b_tg): Likewise.
34682         (RUN_TEST_LOOP_f_b_tg): Likewise.
34683         (RUN_TEST_f_l): Likewise.
34684         (RUN_TEST_LOOP_f_l): Likewise.
34685         (RUN_TEST_f_L): Likewise.
34686         (RUN_TEST_LOOP_f_L): Likewise.
34687         (RUN_TEST_sincos): Likewise.
34688         (RUN_TEST_LOOP_sincos): Likewise.
34690 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34692         [BZ #15480]
34693         [BZ #15485]
34694         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34695         main case of finite arguments, set rounding mode to FE_TONEAREST
34696         and discard exceptions.
34697         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34698         exceptions.
34699         (remainder_tonearest_test_data): New variable.
34700         (remainder_test_tonearest): New function.
34701         (remainder_towardzero_test_data): New variable.
34702         (remainder_test_towardzero): New function.
34703         (remainder_downward_test_data): New variable.
34704         (remainder_test_downward): New function.
34705         (remainder_upward_test_data): New variable.
34706         (remainder_test_upward): New function.
34707         (main): Call the new test functions.
34709         * math/libm-test.inc (struct test_f_f1_data): Remove field
34710         extra_init.
34711         (struct test_fF_f1_data): Likewise.
34712         (struct test_ffI_f1_data): Likewise.
34713         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34714         based on value of EXTRA_EXPECTED.
34715         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34716         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34717         EXTRA_VAR based on value of EXTRA_EXPECTED.
34718         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34719         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34720         EXTRA_VAR based on value of EXTRA_EXPECTED.
34721         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34722         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34723         EXTRA_VAR based on value of EXTRA_EXPECTED.
34724         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34725         * math/gen-libm-test.pl (parse_args): Don't output initializers
34726         for extra output values.
34728         * math/libm-test.inc (check_int): Expect result to be exactly
34729         equal to expected value and do not handle ulps.
34730         (check_long): Likewise.
34731         (check_longlong): Likewise.
34733         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34734         exceptions.
34735         (cimag_test_data): Likewise.
34736         (conj_test_data): Likewise.
34737         (copysign_test_data): Likewise.
34738         (cproj_test_data): Likewise.
34739         (creal_test_data): Likewise.
34740         (fabs_test_data): Likewise.
34741         (fdim_test_data): Likewise.
34742         (finite_test_data): Likewise.
34743         (floor_test_data): Likewise.
34744         (fmax_test_data): Likewise.
34745         (fmin_test_data): Likewise.
34746         (fmod_test_data): Likewise.
34747         (fpclassify_test_data): Likewise.
34748         (frexp_test_data): Likewise.
34749         (ilogb_test_data): Likewise.
34750         (isfinite_test_data): Likewise.
34751         (isgreater_test_data): Likewise.
34752         (isgreaterequal_test_data): Likewise.
34753         (isinf_test_data): Likewise.
34754         (isless_test_data): Likewise.
34755         (islessequal_test_data): Likewise.
34756         (islessgreater_test_data): Likewise.
34757         (isnan_test_data): Likewise.
34758         (isnormal_test_data): Likewise.
34759         (issignaling_test_data): Likewise.
34760         (isunordered_test_data): Likewise.
34761         (ldexp_test_data): Likewise.
34762         (lrint_test_data): Likewise.
34763         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34764         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34765         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34766         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34767         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34768         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34769         test input.
34770         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34771         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34772         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34773         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34774         that test input.
34775         (lrint_downward_test_data): Test for "inexact" exceptions.
34776         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34777         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34778         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34779         test input.
34780         (lrint_upward_test_data): Test for "inexact" exceptions.
34781         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34782         test input.
34783         (llrint_test_data): Test for "inexact" exceptions.
34784         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34785         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34786         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34787         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34788         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34789         (llrint_downward_test_data): Test for "inexact" exceptions.
34790         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34791         (llrint_upward_test_data): Test for "inexact" exceptions.
34792         (logb_test_data): Likewise.
34793         (logb_downward_test_data): Likewise.
34794         (nextafter_test_data): Likewise.
34795         (nexttoward_test_data): Likewise.
34796         (remainder_test_data): Likewise.
34797         (remquo_test_data): Likewise.
34798         (scalbn_test_data): Likewise.
34799         (scalbln_test_data): Likewise.
34800         (signbit_test_data): Likewise.
34801         (sqrt_test_data): Likewise.
34802         (significand_test_data): Likewise.
34804 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34806         [BZ #15424]
34807         * benchtests/bench-modf.c (struct args): Mark arg0 as
34808         volatile.
34809         * scripts/bench.pl: Mark members of struct args as volatile.
34811 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34813         [BZ # 15497]
34814         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34815         negative infinity on POWER6 or lower.
34816         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34818 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34820         [BZ #15442]
34821         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34822         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34823         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34824         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34825         (_FP_SETQNAN): New macro.
34826         (_FP_SETQNAN_SEMIRAW): Likewise.
34827         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34828         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34829         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34830         (FP_EXTEND): Use _FP_FRAC_SNANP.
34831         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34832         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34833         into account.
34834         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34835         New macro.
34836         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34837         Likewise.
34839 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34841         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34842         with DIVIDE_BY_ZERO_EXCEPTION.
34843         (gamma_test_data): Likewise.
34844         (lgamma_test_data): Likewise.
34845         (log_test_data): Likewise.
34846         (log10_test_data): Likewise.
34847         (log2_test_data): Likewise.
34848         (tgamma_test_data): Likewise.
34850         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34851         (acos_test_tonearest): Likewise.
34852         (acos_test_towardzero): Likewise.
34853         (acos_test_downward): Likewise.
34854         (acos_test_upward): Likewise.
34855         (acosh_test): Likewise.
34856         (asin_test): Likewise.
34857         (asin_test_tonearest): Likewise.
34858         (asin_test_towardzero): Likewise.
34859         (asin_test_downward): Likewise.
34860         (asin_test_upward): Likewise.
34861         (asinh_test): Likewise.
34862         (atan_test): Likewise.
34863         (atanh_test): Likewise.
34864         (atan2_test): Likewise.
34865         (cabs_test): Likewise.
34866         (cacos_test): Likewise.
34867         (cacosh_test): Likewise.
34868         (casin_test): Likewise.
34869         (casinh_test): Likewise.
34870         (catan_test): Likewise.
34871         (catanh_test): Likewise.
34872         (cbrt_test): Likewise.
34873         (ccos_test): Likewise.
34874         (ccosh_test): Likewise.
34875         (cexp_test): Likewise.
34876         (clog_test): Likewise.
34877         (clog10_test): Likewise.
34878         (cos_test): Likewise.
34879         (cos_test_tonearest): Likewise.
34880         (cos_test_towardzero): Likewise.
34881         (cos_test_downward): Likewise.
34882         (cos_test_upward): Likewise.
34883         (cosh_test): Likewise.
34884         (cosh_test_tonearest): Likewise.
34885         (cosh_test_towardzero): Likewise.
34886         (cosh_test_downward): Likewise.
34887         (cosh_test_upward): Likewise.
34888         (cpow_test): Likewise.
34889         (csin_test): Likewise.
34890         (csinh_test): Likewise.
34891         (csqrt_test): Likewise.
34892         (ctan_test): Likewise.
34893         (ctan_test_tonearest): Likewise.
34894         (ctan_test_towardzero): Likewise.
34895         (ctan_test_downward): Likewise.
34896         (ctan_test_upward): Likewise.
34897         (ctanh_test): Likewise.
34898         (ctanh_test_tonearest): Likewise.
34899         (ctanh_test_towardzero): Likewise.
34900         (ctanh_test_downward): Likewise.
34901         (ctanh_test_upward): Likewise.
34902         (erf_test): Likewise.
34903         (erfc_test): Likewise.
34904         (exp_test): Likewise.
34905         (exp_test_tonearest): Likewise.
34906         (exp_test_towardzero): Likewise.
34907         (exp_test_downward): Likewise.
34908         (exp_test_upward): Likewise.
34909         (exp10_test): Likewise.
34910         (exp2_test): Likewise.
34911         (expm1_test): Likewise.
34912         (fmod_test): Likewise.
34913         (gamma_test): Likewise.
34914         (hypot_test): Likewise.
34915         (j0_test): Likewise.
34916         (j1_test): Likewise.
34917         (jn_test): Likewise.
34918         (lgamma_test): Likewise.
34919         (log_test): Likewise.
34920         (log10_test): Likewise.
34921         (log1p_test): Likewise.
34922         (log2_test): Likewise.
34923         (logb_test_downward): Likewise.
34924         (pow_test): Likewise.
34925         (pow_test_tonearest): Likewise.
34926         (pow_test_towardzero): Likewise.
34927         (pow_test_downward): Likewise.
34928         (pow_test_upward): Likewise.
34929         (remainder_test): Likewise.
34930         (remquo_test): Likewise.
34931         (sin_test): Likewise.
34932         (sin_test_tonearest): Likewise.
34933         (sin_test_towardzero): Likewise.
34934         (sin_test_downward): Likewise.
34935         (sin_test_upward): Likewise.
34936         (sincos_test): Likewise.
34937         (sinh_test): Likewise.
34938         (sinh_test_tonearest): Likewise.
34939         (sinh_test_towardzero): Likewise.
34940         (sinh_test_downward): Likewise.
34941         (sinh_test_upward): Likewise.
34942         (sqrt_test): Likewise.
34943         (tan_test): Likewise.
34944         (tan_test_tonearest): Likewise.
34945         (tan_test_towardzero): Likewise.
34946         (tan_test_downward): Likewise.
34947         (tan_test_upward): Likewise.
34948         (tanh_test): Likewise.
34949         (tgamma_test): Likewise.
34950         (y0_test): Likewise.
34951         (y1_test): Likewise.
34952         (yn_test): Likewise.
34954         * math/gen-libm-test.pl (adjust_arg): Remove function.
34955         (special_function): Remove argument $in_func.  Only handle
34956         generating output for tables of tests, not inside functions.
34957         (parse_args): Likewise.
34958         (generate_testfile): Remove variable $in_func.  Update call to
34959         parse_args.
34960         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34961         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34962         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34963         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34964         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34965         (MAX_VALUE_INIT): Rename macro to max_value.
34966         (MIN_VALUE_INIT): Rename macro to min_value.
34967         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34968         (plus_zero): Remove variable.
34969         (minus_zero): Likewise.
34970         (plus_infty): Likewise.
34971         (minus_infty): Likewise.
34972         (qnan_value): Likewise.
34973         (max_value): Likewise.
34974         (min_value): Likewise.
34975         (min_subnorm_value): Likewise.
34977 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34979         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34980         uint64_t or uint32_t usage.
34981         * crypt/sha256-block.c: Likewise.
34982         * crypt/sha256-crypt.c: Likewise.
34983         * crypt/sha256.c: Likewise.
34984         * crypt/sha512-block.c: Likewise.
34985         * crypt/sha512-crypt.c: Likewise.
34986         * crypt/sha512.c: Likewise.
34987         * debug/backtrace-tst.c: Likewise.
34988         * debug/pcprofiledump.c: Likewise.
34989         * elf/cache.c: Likewise.
34990         * elf/dl-cache.c: Likewise.
34991         * elf/dl-misc.c: Likewise.
34992         * elf/dl-profile.c: Likewise.
34993         * elf/dl-support.c: Likewise.
34994         * elf/ldconfig.c: Likewise.
34995         * elf/sprof.c: Likewise.
34996         * iconv/dummy-repertoire.c: Likewise.
34997         * iconv/iconv_charmap.c: Likewise.
34998         * iconv/skeleton.c: Likewise.
34999         * iconvdata/8bit-generic.c: Likewise.
35000         * iconvdata/cp737.h: Likewise.
35001         * iconvdata/cp775.h: Likewise.
35002         * iconvdata/ibm1008.h: Likewise.
35003         * iconvdata/ibm1025.h: Likewise.
35004         * iconvdata/ibm1046.h: Likewise.
35005         * iconvdata/ibm1097.h: Likewise.
35006         * iconvdata/ibm1112.h: Likewise.
35007         * iconvdata/ibm1122.h: Likewise.
35008         * iconvdata/ibm1123.h: Likewise.
35009         * iconvdata/ibm1124.h: Likewise.
35010         * iconvdata/ibm1129.h: Likewise.
35011         * iconvdata/ibm1130.h: Likewise.
35012         * iconvdata/ibm1132.h: Likewise.
35013         * iconvdata/ibm1133.h: Likewise.
35014         * iconvdata/ibm1137.h: Likewise.
35015         * iconvdata/ibm1140.h: Likewise.
35016         * iconvdata/ibm1141.h: Likewise.
35017         * iconvdata/ibm1142.h: Likewise.
35018         * iconvdata/ibm1143.h: Likewise.
35019         * iconvdata/ibm1144.h: Likewise.
35020         * iconvdata/ibm1145.h: Likewise.
35021         * iconvdata/ibm1146.h: Likewise.
35022         * iconvdata/ibm1147.h: Likewise.
35023         * iconvdata/ibm1148.h: Likewise.
35024         * iconvdata/ibm1149.h: Likewise.
35025         * iconvdata/ibm1153.h: Likewise.
35026         * iconvdata/ibm1154.h: Likewise.
35027         * iconvdata/ibm1155.h: Likewise.
35028         * iconvdata/ibm1156.h: Likewise.
35029         * iconvdata/ibm1157.h: Likewise.
35030         * iconvdata/ibm1158.h: Likewise.
35031         * iconvdata/ibm1160.h: Likewise.
35032         * iconvdata/ibm1161.h: Likewise.
35033         * iconvdata/ibm1162.h: Likewise.
35034         * iconvdata/ibm1163.h: Likewise.
35035         * iconvdata/ibm1164.h: Likewise.
35036         * iconvdata/ibm1166.h: Likewise.
35037         * iconvdata/ibm1167.h: Likewise.
35038         * iconvdata/ibm12712.h: Likewise.
35039         * iconvdata/ibm1390.h: Likewise.
35040         * iconvdata/ibm1399.h: Likewise.
35041         * iconvdata/ibm16804.h: Likewise.
35042         * iconvdata/ibm4517.h: Likewise.
35043         * iconvdata/ibm4899.h: Likewise.
35044         * iconvdata/ibm4909.h: Likewise.
35045         * iconvdata/ibm4971.h: Likewise.
35046         * iconvdata/ibm5347.h: Likewise.
35047         * iconvdata/ibm803.h: Likewise.
35048         * iconvdata/ibm856.h: Likewise.
35049         * iconvdata/ibm901.h: Likewise.
35050         * iconvdata/ibm902.h: Likewise.
35051         * iconvdata/ibm9030.h: Likewise.
35052         * iconvdata/ibm9066.h: Likewise.
35053         * iconvdata/ibm921.h: Likewise.
35054         * iconvdata/ibm922.h: Likewise.
35055         * iconvdata/ibm9448.h: Likewise.
35056         * iconvdata/isiri-3342.h: Likewise.
35057         * iconvdata/jis0201.h: Likewise.
35058         * include/link.h: Likewise.
35059         * include/netdb.h: Likewise.
35060         * inet/check_native.c: Likewise.
35061         * inet/check_pf.c: Likewise.
35062         * inet/getipv4sourcefilter.c: Likewise.
35063         * inet/getnameinfo.c: Likewise.
35064         * inet/getsourcefilter.c: Likewise.
35065         * inet/htonl.c: Likewise.
35066         * inet/setipv4sourcefilter.c: Likewise.
35067         * inet/setsourcefilter.c: Likewise.
35068         * inet/test-inet6_opt.c: Likewise.
35069         * inet/tst-network.c: Likewise.
35070         * locale/C-collate.c: Likewise.
35071         * locale/C-ctype.c: Likewise.
35072         * locale/C-time.c: Likewise.
35073         * locale/C-translit.h: Likewise.
35074         * locale/loadarchive.c: Likewise.
35075         * locale/programs/3level.h: Likewise.
35076         * locale/programs/charmap.c: Likewise.
35077         * locale/programs/charmap.h: Likewise.
35078         * locale/programs/ld-address.c: Likewise.
35079         * locale/programs/ld-collate.c: Likewise.
35080         * locale/programs/ld-ctype.c: Likewise.
35081         * locale/programs/ld-identification.c: Likewise.
35082         * locale/programs/ld-measurement.c: Likewise.
35083         * locale/programs/ld-messages.c: Likewise.
35084         * locale/programs/ld-monetary.c: Likewise.
35085         * locale/programs/ld-name.c: Likewise.
35086         * locale/programs/ld-numeric.c: Likewise.
35087         * locale/programs/ld-paper.c: Likewise.
35088         * locale/programs/ld-telephone.c: Likewise.
35089         * locale/programs/ld-time.c: Likewise.
35090         * locale/programs/linereader.c: Likewise.
35091         * locale/programs/locale.c: Likewise.
35092         * locale/programs/locarchive.c: Likewise.
35093         * locale/programs/locfile.h: Likewise.
35094         * locale/programs/repertoire.c: Likewise.
35095         * locale/programs/simple-hash.c: Likewise.
35096         * locale/programs/simple-hash.h: Likewise.
35097         * malloc/memusage.c: Likewise.
35098         * malloc/memusagestat.c: Likewise.
35099         * nis/nis_defaults.c: Likewise.
35100         * nis/nis_hash.c: Likewise.
35101         * nis/nis_print.c: Likewise.
35102         * nis/nis_xdr.c: Likewise.
35103         * nscd/connections.c: Likewise.
35104         * nscd/hstcache.c: Likewise.
35105         * nscd/nscd_gethst_r.c: Likewise.
35106         * nscd/nscd_getserv_r.c: Likewise.
35107         * nscd/nscd_helper.c: Likewise.
35108         * nscd/servicescache.c: Likewise.
35109         * nss/makedb.c: Likewise.
35110         * nss/nss_db/db-XXX.c: Likewise.
35111         * nss/nss_db/db-initgroups.c: Likewise.
35112         * nss/nss_db/db-netgrp.c: Likewise.
35113         * nss/nss_files/files-network.c: Likewise.
35114         * nss/nss_files/files-parse.c: Likewise.
35115         * posix/bug-regex5.c: Likewise.
35116         * posix/fnmatch_loop.c: Likewise.
35117         * posix/regcomp.c: Likewise.
35118         * posix/regexec.c: Likewise.
35119         * posix/tst-rfc3484-2.c: Likewise.
35120         * posix/tst-rfc3484-3.c: Likewise.
35121         * posix/tst-rfc3484.c: Likewise.
35122         * resolv/nss_dns/dns-canon.c: Likewise.
35123         * resolv/nss_dns/dns-network.c: Likewise.
35124         * resolv/res_init.c: Likewise.
35125         * resolv/res_mkquery.c: Likewise.
35126         * resolv/tst-aton.c: Likewise.
35127         * stdlib/cxa_atexit.c: Likewise.
35128         * stdlib/cxa_finalize.c: Likewise.
35129         * stdlib/gen-fpioconst.c: Likewise.
35130         * stdlib/strtol_l.c: Likewise.
35131         * string/tst-endian.c: Likewise.
35132         * sunrpc/auth_des.c: Likewise.
35133         * sunrpc/clnt_udp.c: Likewise.
35134         * sunrpc/rtime.c: Likewise.
35135         * sunrpc/svcauth_des.c: Likewise.
35136         * sunrpc/xdr.c: Likewise.
35137         * sunrpc/xdr_intXX_t.c: Likewise.
35138         * sunrpc/xdr_rec.c: Likewise.
35139         * sysdeps/generic/ldconfig.h: Likewise.
35140         * sysdeps/generic/ldsodefs.h: Likewise.
35141         * sysdeps/generic/memusage.h: Likewise.
35142         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35143         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
35144         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
35145         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35146         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35147         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35148         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35149         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35150         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35151         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35152         * sysdeps/posix/getaddrinfo.c: Likewise.
35153         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35154         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35155         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35156         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35157         * sysdeps/powerpc/test-gettimebase.c: Likewise.
35158         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35159         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
35160         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
35161         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35162         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
35163         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35164         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35165         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
35166         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
35167         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
35168         * sysdeps/x86_64/dl-tls.h: Likewise.
35169         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
35170         * time/alt_digit.c: Likewise.
35171         * time/era.c: Likewise.
35172         * wcsmbs/tst-c16c32-1.c: Likewise.
35174 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35176         * math/libm-test.inc (struct test_sincos_data): New type.
35177         (RUN_TEST_LOOP_sincos): New macro.
35178         (sincos_test_data): New variable.
35179         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
35181 2013-05-16  Richard Henderson  <rth@redhat.com>
35183         * math/atest-exp2.c (LIMB64): New macro.
35184         (CONSTSZ): New macro.
35185         (mp_exp1, mp_exp_m1, mp_log2): New variables.
35186         (hexdig): Move ...
35187         (print_mpn_fp): ... to function scope.
35188         (read_mpn_hex): Remove.
35189         (get_log2): Remove.
35190         (exp2_mpn): Use mp_log2.
35191         (main): Use mp_exp1.
35193 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35195         * math/libm-test.inc: Remove comment about not testing "inexact"
35196         exceptions.
35197         (INEXACT_EXCEPTION): New macro.
35198         (NO_INEXACT_EXCEPTION): Likewise.
35199         (INVALID_EXCEPTION_OK): Update value.
35200         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35201         (OVERFLOW_EXCEPTION_OK): Likewise.
35202         (UNDERFLOW_EXCEPTION_OK): Likewise.
35203         (IGNORE_ZERO_INF_SIGN): Likewise.
35204         (ERRNO_UNCHANGED): Likewise.
35205         (ERRNO_EDOM): Likewise.
35206         (ERRNO_ERANGE): Likewise.
35207         (test_exceptions): Handle testing "inexact" exceptions.
35208         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
35209         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
35210         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
35211         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
35212         INEXACT_EXCEPTION.
35213         (rint_towardzero_test_data): Likewise.
35214         (rint_downward_test_data): Likewise.
35215         (rint_upward_test_data): Likewise.
35217         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
35218         with OVERFLOW_EXCEPTION.
35219         (exp10_test_data): Likewise.
35220         (exp2_test_data): Likewise.
35221         (expm1_test_data): Likewise.
35222         (lgamma_test_data): Likewise.
35223         (pow_test_data): Likewise.
35224         (tgamma_test_data): Likewise.
35225         (yn_test_data): Remove duplicate test of overflow.
35227         * math/libm-test.inc (struct test_cc_c_data): New type.
35228         (RUN_TEST_LOOP_cc_c): New macro.
35229         (cpow_test_data): New variable.
35230         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
35232         * math/libm-test.inc (struct test_f_L_data): New type.
35233         (RUN_TEST_LOOP_f_L): New macro.
35234         (llrint_test_data): New variable.
35235         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
35236         (llrint_tonearest_test_data): New variable.
35237         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
35238         (llrint_towardzero_test_data): New variable.
35239         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
35240         (llrint_downward_test_data): New variable.
35241         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
35242         (llrint_upward_test_data): New variable.
35243         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
35244         (llround_test_data): New variable.
35245         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
35247 2013-05-13  Peter Collingbourne  <pcc@google.com>
35249         * math/atest-exp2.c (get_log2): Remove const attribute.
35251 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35253         * math/libm-test.inc (struct test_f_l_data): New type.
35254         (RUN_TEST_LOOP_f_l): New macro.
35255         (lrint_test_data): New variable.
35256         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
35257         (lrint_tonearest_test_data): New variable.
35258         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
35259         (lrint_towardzero_test_data): New variable.
35260         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
35261         (lrint_downward_test_data): New variable.
35262         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
35263         (lrint_upward_test_data): New variable.
35264         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
35265         (lround_test_data): New variable.
35266         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
35268 2013-05-15  Peter Collingbourne  <pcc@google.com>
35270         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
35271         (EXTRACT_WORDS64) Use where appropriate.
35272         (INSERT_WORDS64) Likewise.
35274         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
35275         constraints with x constraints.
35276         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
35278         * malloc/obstack.c (_obstack_compat): Add initializer.
35280 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
35282         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
35283         si_trapno and add si_addr_lsb to _sifields.sigfault.
35284         (si_trapno): Remove macro.
35285         (si_addr_lsb): Define new macro.
35286         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35288 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35290         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
35291         instead of TEST_f_l.
35292         (llrint_test_tonearest): Likewise.
35293         (llrint_test_towardzero): Likewise.
35294         (llrint_test_downward): Likewise.
35295         (llrint_test_upward): Likewise.
35296         (llround_test): Likewise.
35298         * math/libm-test.inc (struct test_f_i_data): Add comment.
35299         (RUN_TEST_LOOP_f_b): New macro.
35300         (RUN_TEST_LOOP_f_b_tg): Likewise.
35301         (finite_test_data): New variable.
35302         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
35303         (isfinite_test_data): New variable.
35304         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35305         (isinf_test_data): New variable.
35306         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35307         (isnan_test_data): New variable.
35308         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35309         (isnormal_test_data): New variable.
35310         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35311         (issignaling_test_data): New variable.
35312         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35313         (signbit_test_data): New variable.
35314         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35316         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
35317         with INVALID_EXCEPTION.
35318         (acosh_test_data): Likewise.
35319         (asin_test_data): Likewise.
35320         (atanh_test_data): Likewise.
35321         (fmod_test_data): Likewise.
35322         (log_test_data): Likewise.
35323         (log10_test_data): Likewise.
35324         (log2_test_data): Likewise.
35325         (pow_test_data): Likewise.
35326         (sqrt_test_data): Likewise.
35327         (y0_test_data): Likewise.
35328         (y1_test_data): Likewise.
35329         (yn_test_data): Likewise.
35331         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
35332         function contents.
35334         * math/libm-test.inc (struct test_ff_i_data): New type.
35335         (RUN_TEST_LOOP_ff_i_tg): New macro.
35336         (isgreater_test_data): New variable.
35337         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35338         (isgreaterequal_test_data): New variable.
35339         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35340         (isless_test_data): New variable.
35341         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35342         (islessequal_test_data): New variable.
35343         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35344         (islessgreater_test_data): New variable.
35345         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35346         (isunordered_test_data): New variable.
35347         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35349 2013-05-14  David S. Miller  <davem@davemloft.net>
35351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35353 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
35355         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
35357         * math/libm-test.inc (struct test_fF_f1_data): Change type of
35358         extra_test to int.
35359         (struct test_f_i_data): Change type of max_ulp to int.
35361         * math/libm-test.inc (test_ffI_f1_data): New type.
35362         (RUN_TEST_LOOP_ffI_f1): New macro.
35363         (remquo_test_data): New variable.
35364         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
35366         * setjmp/tst-setjmp-fp.c: New file.
35367         * setjmp/Makefile (tests): Add tst-setjmp-fp.
35368         (link-libm): New variable.
35369         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
35371         * math/libm-test.inc (struct test_f_i_data): New type.
35372         (RUN_TEST_LOOP_f_i): New macro.
35373         (RUN_TEST_LOOP_f_i_tg): Likewise.
35374         (fpclassify_test_data): New variable.
35375         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
35376         (ilogb_test_data): New variable.
35377         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
35379         * math/libm-test.inc (scalbln_test): Correct function name in END
35380         call.
35382         * math/libm-test.inc (struct test_f_f1_data): Add comment.
35383         (RUN_TEST_LOOP_fI_f1): New macro.
35384         (frexp_test_data): New variable.
35385         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
35387         * math/libm-test.inc (struct test_fF_f1_data): New type.
35388         (RUN_TEST_LOOP_fF_f1): New macro.
35389         (modf_test_data): New variable.
35390         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
35392         * math/libm-test.inc (struct test_f_f1_data): New type.
35393         (RUN_TEST_LOOP_f_f1): New macro.
35394         (gamma_test_data): New variable.
35395         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35396         (lgamma_test_data): New variable.
35397         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35399 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
35401         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
35402         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
35403         (main): Comment "tls" pseudo-hwcap.
35405 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
35407         * math/libm-test.inc (struct test_fl_f_data): New type.
35408         (RUN_TEST_LOOP_fl_f): New variable.
35409         (scalbln_test_data): New variable.
35410         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
35412         * math/libm-test.inc (struct test_fi_f_data): New type.
35413         (RUN_TEST_LOOP_fi_f): New macro.
35414         (ldexp_test_data): New variable.
35415         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
35416         (scalbn_test_data): New variable.
35417         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
35419         * math/libm-test.inc (struct test_c_f_data): New type.
35420         (RUN_TEST_LOOP_c_f): New macro.
35421         (cabs_test_data): New variable.
35422         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
35423         (carg_test_data): New variable.
35424         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
35425         (cimag_test_data): New variable.
35426         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
35427         (creal_test_data): New variable.
35428         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
35430         * math/libm-test.inc (struct test_if_f_data): New type.
35431         (RUN_TEST_LOOP_if_f): New macro.
35432         (jn_test_data): New variable.
35433         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
35434         (yn_test_data): New variable.
35435         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
35437         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
35439 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35441         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
35442         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
35444 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35446         * benchtests/Makefile (CPPFLAGS-nonlib): Add
35447         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
35448         (bench-deps): Add bench-timing.h.
35449         * benchtests-bench-skeleton.c: Include bench-timing.h.
35450         (main): Use TIMING_* macros instead of clock_gettime.
35451         * benchtests/bench-timing.h: New file.
35453         [BZ #14582]
35454         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
35455         Renamed from _LIB_VERSION.
35456         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
35458 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
35460         * math/libm-test.inc (struct test_fff_f_data): New type.
35461         (RUN_TEST_LOOP_fff_f): New macro.
35462         (fma_test_data): New variable.
35463         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
35464         (fma_towardzero_test_data): New variable.
35465         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
35466         (fma_downward_test_data): New variable.
35467         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
35468         (fma_upward_test_data): New variable.
35469         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
35471         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
35472         (struct test_c_c_data): New type.
35473         (RUN_TEST_LOOP_c_c): New macro.
35474         (cacos_test_data): New variable.
35475         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
35476         (cacosh_test_data): New variable.
35477         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
35478         (casin_test_data): New variable.
35479         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
35480         (casinh_test_data): New variable.
35481         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
35482         (catan_test_data): New variable.
35483         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
35484         (catanh_test_data): New variable.
35485         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
35486         (ccos_test_data): New variable.
35487         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
35488         (ccosh_test_data): New variable.
35489         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
35490         (cexp_test_data): New variable.
35491         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
35492         (clog_test_data): New variable.
35493         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
35494         (clog10_test_data): New variable.
35495         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
35496         (conj_test_data): New variable.
35497         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
35498         (cproj_test_data): New variable.
35499         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
35500         (csin_test_data): New variable.
35501         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
35502         (csinh_test_data): New variable.
35503         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
35504         (csqrt_test_data): New variable.
35505         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
35506         (ctan_test_data): New variable.
35507         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
35508         (ctan_tonearest_test_data): New variable.
35509         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35510         (ctan_towardzero_test_data): New variable.
35511         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35512         (ctan_downward_test_data): New variable.
35513         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35514         (ctan_upward_test_data): New variable.
35515         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35516         (ctanh_test_data): New variable.
35517         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
35518         (ctanh_tonearest_test_data): New variable.
35519         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35520         (ctanh_towardzero_test_data): New variable.
35521         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35522         (ctanh_downward_test_data): New variable.
35523         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35524         (ctanh_upward_test_data): New variable.
35525         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35526         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
35527         of BUILD_COMPLEX.
35529         * math/libm-test.inc (struct test_ff_f_data): New type.
35530         (struct test_ff_f_data_nexttoward): Likewise.
35531         (RUN_TEST_LOOP_2_f): New macro.
35532         (RUN_TEST_LOOP_ff_f): Likewise.
35533         (atan2_test_data): New variable.
35534         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
35535         (copysign_test_data): New variable.
35536         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
35537         (fdim_test_data): New variable.
35538         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
35539         (fmax_test_data): New variable.
35540         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
35541         (fmin_test_data): New variable.
35542         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
35543         (fmod_test_data): New variable.
35544         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
35545         (hypot_test_data): New variable.
35546         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
35547         (nextafter_test_data): New variable.
35548         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
35549         (nexttoward_test_data): New variable.
35550         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
35551         (pow_test_data): New variable.
35552         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
35553         (pow_tonearest_test_data): New variable.
35554         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
35555         (pow_towardzero_test_data): New variable.
35556         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
35557         (pow_downward_test_data): New variable.
35558         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
35559         (pow_upward_test_data): New variable.
35560         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
35561         (remainder_test_data): New variable.
35562         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
35563         (scalb_test_data): New variable.
35564         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
35565         * sysdeps/i386/fpu/libm-test-ulps: Update.
35567 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
35569         * math/libm-test.inc (fma_test): Use max_value instead of local
35570         variable fltmax.
35571         (nextafter_test): Likewise.
35573         * math/libm-test.inc (acos_towardzero_test_data): New variable.
35574         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35575         (acos_downward_test_data): New variable.
35576         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35577         (acos_upward_test_data): New variable.
35578         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35579         (acosh_test_data): New variable.
35580         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
35581         (asin_test_data): New variable.
35582         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
35583         (asin_tonearest_test_data): New variable.
35584         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35585         (asin_towardzero_test_data): New variable.
35586         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35587         (asin_downward_test_data): New variable.
35588         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35589         (asin_upward_test_data): New variable.
35590         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35591         (asinh_test_data): New variable.
35592         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
35593         (atan_test_data): New variable.
35594         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
35595         (atanh_test_data): New variable.
35596         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
35597         (cbrt_test_data): New variable.
35598         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
35599         (ceil_test_data): New variable.
35600         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35601         (cos_test_data): New variable.
35602         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35603         (cos_tonearest_test_data): New variable.
35604         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35605         (cos_towardzero_test_data): New variable.
35606         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35607         (cos_downward_test_data): New variable.
35608         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35609         (cos_upward_test_data): New variable.
35610         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35611         (cosh_test_data): New variable.
35612         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35613         (cosh_tonearest_test_data): New variable.
35614         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35615         (cosh_towardzero_test_data): New variable.
35616         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35617         (cosh_downward_test_data): New variable.
35618         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35619         (cosh_upward_test_data): New variable.
35620         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35621         (erf_test_data): New variable.
35622         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35623         (erfc_test_data): New variable.
35624         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35625         (exp_test_data): New variable.
35626         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35627         (exp_tonearest_test_data): New variable.
35628         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35629         (exp_towardzero_test_data): New variable.
35630         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35631         (exp_downward_test_data): New variable.
35632         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35633         (exp_upward_test_data): New variable.
35634         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35635         (exp10_test_data): New variable.
35636         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35637         (exp2_test_data): New variable.
35638         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35639         (expm1_test_data): New variable.
35640         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35641         (fabs_test_data): New variable.
35642         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35643         (floor_test_data): New variable.
35644         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35645         (j0_test_data): New variable.
35646         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35647         (j1_test_data): New variable.
35648         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35649         (log_test_data): New variable.
35650         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35651         (log10_test_data): New variable.
35652         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35653         (log1p_test_data): New variable.
35654         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35655         (log2_test_data): New variable.
35656         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35657         (logb_test_data): New variable.
35658         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35659         (logb_downward_test_data): New variable.
35660         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35661         (nearbyint_test_data): New variable.
35662         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35663         (rint_test_data): New variable.
35664         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35665         (rint_tonearest_test_data): New variable.
35666         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35667         (rint_towardzero_test_data): New variable.
35668         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35669         (rint_downward_test_data): New variable.
35670         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35671         (rint_upward_test_data): New variable.
35672         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35673         (round_test_data): New variable.
35674         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35675         (sin_test_data): New variable.
35676         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35677         (sin_tonearest_test_data): New variable.
35678         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35679         (sin_towardzero_test_data): New variable.
35680         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35681         (sin_downward_test_data): New variable.
35682         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35683         (sin_upward_test_data): New variable.
35684         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35685         (sinh_test_data): New variable.
35686         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35687         (sinh_tonearest_test_data): New variable.
35688         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35689         (sinh_towardzero_test_data): New variable.
35690         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35691         (sinh_downward_test_data): New variable.
35692         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35693         (sinh_upward_test_data): New variable.
35694         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35695         (sqrt_test_data): New variable.
35696         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35697         (tan_test_data): New variable.
35698         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35699         (tan_tonearest_test_data): New variable.
35700         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35701         (tan_towardzero_test_data): New variable.
35702         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35703         (tan_downward_test_data): New variable.
35704         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35705         (tan_upward_test_data): New variable.
35706         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35707         (tanh_test_data): New variable.
35708         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35709         (tgamma_test_data): New variable.
35710         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35711         (trunc_test_data): New variable.
35712         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35713         (y0_test_data): New variable.
35714         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35715         (y1_test_data): New variable.
35716         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35717         (significand_test_data): New variable.
35718         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35720 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35722         [BZ #12387]
35723         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35725 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35727         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35729 2013-05-10  Andreas Jaeger  <aj@suse.de>
35731         [BZ #15448]
35732         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35733         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35735 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35737         * math/gen-libm-test.pl (adjust_arg): New function.
35738         (special_functions): Handle generating output in both functions
35739         and arrays.
35740         (parse_args): Likewise.
35741         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35742         $in_func argument to parse_args.
35743         * math/libm-test.inc (struct test_f_f_data): New type.
35744         (IF_ROUND_INIT_): New macro.
35745         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35746         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35747         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35748         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35749         (ROUND_RESTORE_): Likewise.
35750         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35751         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35752         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35753         (ROUND_RESTORE_FE_UPWARD): Likewise.
35754         (RUN_TEST_LOOP_f_f): New macro.
35755         (acos_test_data): New variable.
35756         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35757         (acos_tonearest_test_data): New variable.
35758         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35760 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35762         * benchtests/bench-skeleton.c (startup): Fix coding style.
35764 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35766         [BZ #6809]
35767         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35768         negative infinity argument.
35769         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35770         negative infinity argument.
35771         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35772         negative infinity argument.
35773         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35774         domain errors.
35776 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35778         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35779         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35780         * iconv/iconv_prog.c (main): Likewise.
35781         * locale/programs/charmap-dir.c (charmap_readdir)
35782         (fopen_uncompressed): Likewise.
35783         * locale/programs/locfile.c (siblings_uncached)
35784         (write_locale_data): Use lstat64 instead of lstat.
35785         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35786         stat.
35788 2013-05-10  Andreas Jaeger  <aj@suse.de>
35790         [BZ #15395]
35791         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35792         localization.
35793         Include <locale.h>.
35795 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35797         * elf/dl-close.c (_dl_close_worker): Add comments.
35799 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35801         [BZ #15359]
35802         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35803         high part of pi/2.
35804         (__ieee754_rem_pio2l): Update comments.
35806         [BZ #15429]
35807         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35808         high part of pi/2.
35809         (__ieee754_rem_pio2l): Update comments.
35811         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35812         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35814         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35815         M_PI_4l.
35817         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35818         (M_PI_34_LOG10El): Likewise.
35819         (M_PI2_LOG10El): Likewise.
35820         (M_PI4_LOG10El): Likewise.
35821         (M_PI_LOG10El): Likewise.
35823 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35825         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35827 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35829         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35830         (MINUS_ZERO_INIT): Likewise.
35831         (PLUS_INFTY_INIT): Likewise.
35832         (MINUS_INFTY_INIT): Likewise.
35833         (QNAN_VALUE_INIT): Likewise.
35834         (MAX_VALUE_INIT): Likewise.
35835         (MIN_VALUE_INIT): Likewise.
35836         (MIN_SUBNORM_VALUE_INIT): Likewise.
35837         (plus_zero): Initialize with PLUS_ZERO_INIT.
35838         (minus_zero): Initialize with MINUS_ZERO_INIT.
35839         (plus_infty): Initialize with PLUS_INFTY_INIT.
35840         (minus_infty): Initialize with MINUS_INFTY_INIT.
35841         (qnan_value): Initialize with QNAN_VALUE_INIT.
35842         (max_value): Initialize with MAX_VALUE_INIT.
35843         (min_value): Initialize with MIN_VALUE_INIT.
35844         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35846         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35847         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35848         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35849         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35851         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35852         (RUN_TEST_2_f): Likewise.
35853         (RUN_TEST_ff_f): Likewise.
35854         (RUN_TEST_fi_f): Likewise.
35855         (RUN_TEST_fl_f): Likewise.
35856         (RUN_TEST_fff_f): Likewise.
35857         (RUN_TEST_c_f): Likewise.
35858         (RUN_TEST_f_f1): Likewise.
35859         (RUN_TEST_fF_f1): Likewise.
35860         (RUN_TEST_fI_f1): Likewise.
35861         (RUN_TEST_ffI_f1): Likewise.
35862         (RUN_TEST_c_c): Likewise.
35863         (RUN_TEST_cc_c): Likewise.
35864         (RUN_TEST_f_i): Likewise.
35865         (RUN_TEST_f_i_tg): Likewise.
35866         (RUN_TEST_ff_i_tg): Likewise.
35867         (RUN_TEST_f_b): Likewise.
35868         (RUN_TEST_f_b_tg): Likewise.
35869         (RUN_TEST_f_l): Likewise.
35870         (RUN_TEST_f_L): Likewise.
35871         (RUN_TEST_sincos): Likewise.
35872         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35873         whether to show exceptions.  Do not include ");\n" in return
35874         value.
35875         (special_functions): Output call to RUN_TEST_sincos instead of
35876         check_float calls.  Update calls to new_test.
35877         (parse_args): Output call to single RUN_TEST_* macro instead of
35878         check_* calls and other assignments.  Update calls to new_test.
35880         [BZ #2546]
35881         [BZ #2560]
35882         [BZ #5159]
35883         [BZ #15426]
35884         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35885         input to result for tgamma overflow.
35886         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35887         (gamma_coeff): New variable.
35888         (NCOEFF): New macro.
35889         (gamma_positive): New function.
35890         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35891         underflow here.  Use gamma_positive instead of exp (lgamma) for
35892         other arguments.
35893         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35894         (gamma_coeff): New variable.
35895         (NCOEFF): New macro.
35896         (gammaf_positive): New function.
35897         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35898         underflow here.  Use gamma_positive instead of exp (lgamma) for
35899         other arguments.
35900         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35901         (gamma_coeff): New variable.
35902         (NCOEFF): New macro.
35903         (gammal_positive): New function.
35904         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35905         underflow here.  Use gamma_positive instead of exp (lgamma) for
35906         other arguments.
35907         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35908         (gamma_coeff): New variable.
35909         (NCOEFF): New macro.
35910         (gammal_positive): New function.
35911         (__ieee754_gammal_r): Handle positive infinity, overflow and
35912         underflow here.  Handle NaN the same as positive infinity.  Remove
35913         check x < 0xffffffff for negative integers.  Use gamma_positive
35914         instead of exp (lgamma) for other arguments.
35915         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35916         (gamma_coeff): New variable.
35917         (NCOEFF): New macro.
35918         (gammal_positive): New function.
35919         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35920         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35921         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35922         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35923         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35924         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35925         * sysdeps/generic/math_private.h (__gamma_productf): New
35926         prototype.
35927         (__gamma_product): Likewise.
35928         (__gamma_productl): Likewise.
35929         * math/Makefile (libm-calls): Add gamma_product.
35930         * math/libm-test.inc (tgamma_test): Add more tests.
35931         * sysdeps/i386/fpu/libm-test-ulps: Update.
35932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35934 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
35936         * benchtests/bench-skeleton.c (main): Preheat CPU.
35938 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35940         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35942 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35944         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35945         and _dl_skip_args_internal.
35947 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35949         * manual/message.texi (Message Translation): Talk about users.
35950         Message to key mapping impacts design.
35952 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35954         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35956         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35958         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35959         * sysdeps/wordsize-64/glob64.c: ... here.
35961         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35962         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35963         New macros.
35965         * debug/getlogin_r_chk.c: Moved to ...
35966         * login/getlogin_r_chk.c: ... here.
35967         * debug/Makefile (routines): Move getlogin_r_chk to ...
35968         * login/Makefile (routines): ... here.
35969         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35970         * login/Versions (libc: GLIBC_2.4): ... here.
35972         * io/poll.c (__poll): Renamed from poll.
35973         Add libc_hidden_def.
35974         (poll): Define as weak alias.
35976         * debug/ptsname_r_chk.c: Moved to ...
35977         * login/ptsname_r_chk.c: ... here.
35978         * debug/Makefile (routines): Move ptsname_r_chk to ...
35979         * login/Makefile (routines): ... here.
35980         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35981         * login/Versions (libc: GLIBC_2.4): ... here.
35983         * posix/getlogin.c: Moved to ...
35984         * login/getlogin.c: ... here.
35985         * posix/getlogin_r.c: Moved to ...
35986         * login/getlogin_r.c: ... here.
35987         * posix/getlogin_r.c: Moved to ...
35988         * login/getlogin_r.c: ... here.
35989         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35990         * login/Makefile (routines): ... here.
35991         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35992         * login/Versions (libc: GLIBC_2.0): ... here.
35994         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35995         (setrlimit): Define as weak alias.
35997         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35998         Call __ names for open, ftruncate, and close.
35999         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
36000         (truncate): Define as weak alias.
36002 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
36004         * math/gen-libm-test.pl (parse_args): Initialize x before each
36005         test of frexp, modf and remquo.
36007         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
36008         test signgam value.
36010 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36012         [BZ #15418]
36013         [BZ #15419]
36014         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
36015         internal tests.
36016         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36018 2013-05-06  Roland McGrath  <roland@hack.frob.com>
36020         * elf/dl-writev.h: New file.
36021         * elf/dl-misc.c: Include it.
36022         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
36023         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
36025 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
36027         * math/libm-test.inc (noXFails): Remove variable.
36028         (noXPasses): Likewise.
36029         (BUILD_COMPLEX_INT): Remove macro.
36030         (print_screen): Remove xfail argument.
36031         (print_screen_max_error): Likewise.
36032         (update_stats): Likewise.
36033         (print_max_error): Likewise.  Update calls to other affected
36034         functions.
36035         (print_complex_max_error): Likewise.
36036         (test_single_exception): Update calls to print_screen.
36037         (test_single_errno): Likewise.
36038         (check_float_internal): Remove xfail argument.  Update calls to
36039         other affected functions.
36040         (check_float): Likewise.
36041         (check_complex): Likewise.
36042         (check_int): Likewise.
36043         (check_long): Likewise.
36044         (check_bool): Likewise.
36045         (check_longlong): Likewise.
36046         (main): Don't print noXFails and noXPasses.
36047         * math/gen-libm-test.pl (top level): Don't mention expected
36048         failure handling in comment.
36049         (new_test): Don't handle expected failures.
36050         (parse_args): Don't mention expected failure handling in comment.
36051         (generate_testfile): Don't handle expected failures.
36052         (parse_ulps): Likewise.
36053         (print_ulps_file): Likewise.
36054         (get_failure): Remove function.
36055         (output_test): Don't handle expected failures.
36056         * make/README.libm-test: Don't mention expected failure handling.
36058         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
36059         (minus_zero): Likewise.
36060         (plus_infty): Likewise.
36061         (minus_infty): Likewise.
36062         (qnan_value): Likewise.
36063         (max_value): Likewise.
36064         (min_value): Likewise.
36065         (min_subnorm_value): Likewise.
36066         (initialize): Do not initialize those variables dynamically.
36068 2013-05-03  Roland McGrath  <roland@hack.frob.com>
36070         * io/open.c (__open_2): Moved to ...
36071         * io/open_2.c: ... this new file.
36072         * io/open64.c (__open64_2): Moved to ...
36073         * io/open64_2.c: ... this new file.
36074         * io/openat.c (__openat_2): Moved to ...
36075         * io/openat_2.c: ... this new file.
36076         * io/openat64.c (__openat64_2): Moved to ...
36077         * io/openat64_2.c: ... this new file.
36078         * io/Makefile (routines): Add them.
36079         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
36080         * sysdeps/unix/sysv/linux/open_2.c: File removed.
36081         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
36082         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
36083         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
36084         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
36085         (__openat64): Add hidden_ver.
36086         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
36087         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
36089         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
36090         Separately conditionalize setting of GLRO(dl_sysinfo) so
36091         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
36092         as well, but the actual setting is only under [NEED_DL_SYSINFO].
36094 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36096         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
36097         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
36098         definition.
36099         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
36100         * sysdeps/unix/sysv/linux/powerpc/init-first.c
36101         (_libc_vdso_platform_setup): Add __vdso_time initialization.
36102         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
36103         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
36105 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
36107         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
36108         test signgam value.
36110         * math/libm-test.inc (hypot_test): Do not use
36111         IGNORE_ZERO_INF_SIGN.
36113 2013-05-03  Andreas Jaeger  <aj@suse.de>
36115         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
36116         Linux 3.9.
36117         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
36118         (PF_MAX): Adjust for VSOCK change.
36120 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36124 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
36126         [BZ #15264]
36127         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
36128         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
36129         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
36131 2013-05-02  David S. Miller  <davem@davemloft.net>
36133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36135 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
36137         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
36139 2013-05-01  Roland McGrath  <roland@hack.frob.com>
36141         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
36143 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
36145         [BZ #14952]
36146         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
36147         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36148         Use __attribute__ ((__gnu_inline__)).
36149         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36150         Don't use __attribute__ ((__gnu_inline__)).
36152 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
36154         [BZ #15423]
36155         * math/s_catan.c (__catan): Handle small real or imaginary part of
36156         input specially to avoid spurious underflow.
36157         * math/s_catanf.c (__catanf): Likewise.
36158         * math/s_catanh.c (__catanh): Likewise.
36159         * math/s_catanhf.c (__catanhf): Likewise.
36160         * math/s_catanhl.c (__catanhl): Likewise.
36161         * math/s_catanl.c (__catanl): Likewise.
36162         * math/libm-test.inc (catan_test): Add more tests.
36163         (catanh_test): Likewise.
36164         * sysdeps/i386/fpu/libm-test-ulps: Update.
36165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36167 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36171 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
36173         [BZ #15416]
36174         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
36175         accurately for denominator in atan2.
36176         * math/s_catanf.c (__catanf): Likewise.
36177         * math/s_catanh.c (__catanh): Likewise.
36178         * math/s_catanhf.c (__catanhf): Likewise.
36179         * math/s_catanhl.c (__catanhl): Likewise.
36180         * math/s_catanl.c (__catanl): Likewise.
36181         * math/libm-test.inc (catan_test): Add more tests.
36182         (catanh_test): Likewise.
36183         * sysdeps/i386/fpu/libm-test-ulps: Update.
36184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36186 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36188         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
36190         * benchtests/Makefile (bench): Remove slow benchmarks.
36191         * benchtests/atan-inputs: Add slow benchmark inputs.
36192         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
36193         (BENCH_FUNC): Accept variant offset.
36194         (VARIANT): Define.
36195         * benchtests/bench-skeleton.c (main): Run benchmark for each
36196         variant.
36197         * benchtests/cos-inputs: Add slow benchmark inputs.
36198         * benchtests/exp-inputs: Likewise.
36199         * benchtests/pow-inputs: Likewise.
36200         * benchtests/sin-inputs: Likewise.
36201         * benchtests/slowatan-inputs: Remove.
36202         * benchtests/slowatan.c: Remove.
36203         * benchtests/slowcos-inputs: Remove.
36204         * benchtests/slowcos.c: Remove.
36205         * benchtests/slowexp-inputs: Remove.
36206         * benchtests/slowexp.c: Remove.
36207         * benchtests/slowpow-inputs: Remove.
36208         * benchtests/slowpow.c: Remove.
36209         * benchtests/slowsin-inputs: Remove.
36210         * benchtests/slowsin.c: Remove.
36211         * benchtests/slowtan-inputs: Remove.
36212         * benchtests/slowtan.c: Remove.
36213         * benchtests/tan-inputs: Add slow benchmark inputs.
36214         * scripts/bench.pl: Parse comments and directives.
36216         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
36217         in CPPFLAGS.
36218         ($(objpfx)bench-%.c): Remove *-ITER.
36219         * benchtests/bench-modf.c: Remove definition of ITER.
36220         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
36221         (main): Loop for DURATION seconds instead of fixed number of
36222         iterations.
36223         * scripts/bench.pl: Don't expect iterations in parameters.
36225 2013-04-29  Roland McGrath  <roland@hack.frob.com>
36227         * io/fchdir.c (__fchdir): Renamed from fchdir.
36228         (fchdir): Define as weak alias.
36230 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36232         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
36233         (ERRNO_EDOM): Likewise.
36234         (ERRNO_ERANGE): Likewise.
36235         (noErrnoTests): New variable.
36236         (init_max_error): Set errno to 0.
36237         (test_single_errno): New function.
36238         (test_errno): Likewise.
36239         (check_float_internal): Call test_errno.  Set errno to 0.
36240         (check_complex): Refer to errno tests in comment.
36241         (check_int): Call test_errno.  Set errno to 0.
36242         (check_long): Likewise.
36243         (check_bool): Likewise.
36244         (check_longlong): Likewise.
36245         (cos_test): Use ERRNO_* flags for errno tests instead of
36246         check_int.
36247         (expm1_test): Likewise.
36248         (fmod_test): Likewise.
36249         (ilogb_test): Likewise.
36250         (lgamma_test): Likewise.
36251         (pow_test): Likewise.
36252         (remainder_test): Likewise.
36253         (sin_test): Likewise.
36254         (tan_test): Likewise.
36255         (yn_test): Likewise.
36256         (initialize): Set errno to 0.
36257         (main): Print number of errno tests.
36258         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
36260 2013-04-29  Andreas Jaeger  <aj@suse.de>
36262         [BZ #15084]
36263         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
36264         and RES_USEVC.
36266         [BZ #15085]
36267         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
36268         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
36269         unimplemented.
36271         [BZ #15380]
36272         * stdlib/random.c (__initstate): Return NULL if
36273         __initstate fails.
36275         [BZ #15086]
36276         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
36277         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
36278         RES_SNGLKUPREOP.
36280 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36284 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36286         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
36287         of individual tests.
36288         (casin_test): Likewise.
36289         (casinh_test): Likewise.
36291 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
36293         [BZ #15409]
36294         * math/s_catan.c (__catan): Handle arguments with large real or
36295         imaginary part separately without squaring.
36296         * math/s_catanf.c (__catanf): Likewise.
36297         * math/s_catanh.c (__catanh): Likewise.
36298         * math/s_catanhf.c (__catanhf): Likewise.
36299         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36300         and redefine.
36301         (__catanhl): Handle arguments with large real or imaginary part
36302         separately without squaring.
36303         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36304         and redefine.
36305         (__catanl): Handle arguments with large real or imaginary part
36306         separately without squaring.
36307         * math/libm-test.inc (catan_test): Add more tests.
36308         (catanh_test): Likewise.
36309         * sysdeps/i386/fpu/libm-test-ulps: Update.
36310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36312 2013-04-27  Andreas Jaeger  <aj@suse.de>
36314         [BZ #15007]
36315         * stdlib/stdlib.h: Update guards for qecvt.
36316         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
36317         <stdlib.h>.
36319 2013-04-27  Allan McRae  <allan@archlinux.org>
36321         * sysdeps/i386/fpu/libm-test-ulps: Update.
36323 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
36325         [BZ #15406]
36326         * math/s_catan.c: Include <float.h>.
36327         (__catan): Ensure underflow exception occurs for underflowed
36328         result.
36329         * math/s_catanf.c: Include <float.h>.
36330         (__catanf): Ensure underflow exception occurs for underflowed
36331         result.
36332         * math/s_catanh.c: Include <float.h>.
36333         (__catanh): Ensure underflow exception occurs for underflowed
36334         result.
36335         * math/s_catanhf.c: Include <float.h>.
36336         (__catanhf): Ensure underflow exception occurs for underflowed
36337         result.
36338         * math/s_catanhl.c: Include <float.h>.
36339         (__catanhl): Ensure underflow exception occurs for underflowed
36340         result.
36341         * math/s_catanl.c: Include <float.h>.
36342         (__catanl): Ensure underflow exception occurs for underflowed
36343         result.
36344         * math/libm-test.inc (catan_test): Add more tests.
36345         (catanh_test): Likewise.
36347         [BZ #15405]
36348         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
36349         underflowed result.
36350         * math/s_ccoshf.c (__ccoshf): Likewise.
36351         * math/s_ccoshl.c (__ccoshl): Likewise.
36352         * math/s_csin.c (__csin): Likewise.
36353         * math/s_csinf.c (__csinf): Likewise.
36354         * math/s_csinh.c (__csinh): Likewise.
36355         * math/s_csinhf.c (__csinhf): Likewise.
36356         * math/s_csinhl.c (__csinhl): Likewise.
36357         * math/s_csinl.c (__csinl): Likewise.
36358         * math/libm-test.inc (ccos_test): Add more tests.
36359         (ccosh_test): Likewise.
36360         (csin_test): Likewise.
36361         (csinh_test): Likewise.
36363 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36365         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
36366         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
36367         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
36368         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
36369         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
36370         powerpc/power5+/fpu folders.
36371         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
36374 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36376         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36378 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
36380         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
36381         additions to variable.
36382         [$(config-machine) = x86_64] (modules-names): Likewise.
36383         ($(objpfx)tst-audit3): Remove dependency.
36384         ($(objpfx)tst-audit3.out): Likewise.
36385         ($(objpfx)tst-audit4): Likewise.
36386         ($(objpfx)tst-audit4.out): Likewise.
36387         ($(objpfx)tst-audit5): Likewise.
36388         ($(objpfx)tst-audit5.out): Likewise.
36389         ($(objpfx)tst-audit6): Likewise.
36390         ($(objpfx)tst-audit6.out): Likewise.
36391         ($(objpfx)tst-audit7): Likewise.
36392         ($(objpfx)tst-audit7.out): Likewise.
36393         (tst-audit3-ENV): Remove variable.
36394         (tst-audit4-ENV): Likewise.
36395         (tst-audit5-ENV): Likewise.
36396         (tst-audit6-ENV): Likewise.
36397         (tst-audit7-ENV): Likewise.
36398         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
36399         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
36400         addition to variable.
36401         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
36402         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
36403         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
36404         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
36405         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
36406         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
36407         tst-audit3, tst-audit4 and tst-audit5.
36408         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
36409         tst-audit6 and tst-audit7.
36410         [$(subdir) = elf] (modules-names): Add audit modules for those
36411         tests.
36412         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
36413         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
36414         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
36415         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
36416         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
36417         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
36418         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
36419         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
36420         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
36421         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
36422         [$(subdir) = elf] (tst-audit3-ENV): New variable.
36423         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
36424         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
36425         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
36426         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
36427         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
36428         Likewise.
36429         [$(subdir) = elf && $(config-cflags-avx) = yes]
36430         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
36431         [$(subdir) = elf && $(config-cflags-avx) = yes]
36432         (CFLAGS-tst-auditmod4a.c): Likewise.
36433         [$(subdir) = elf && $(config-cflags-avx) = yes]
36434         (CFLAGS-tst-auditmod4b.c): Likewise.
36435         [$(subdir) = elf && $(config-cflags-avx) = yes]
36436         (CFLAGS-tst-auditmod6b.c): Likewise.
36437         [$(subdir) = elf && $(config-cflags-avx) = yes]
36438         (CFLAGS-tst-auditmod6c.c): Likewise.
36439         [$(subdir) = elf && $(config-cflags-avx) = yes]
36440         (CFLAGS-tst-auditmod7b.c): Likewise.
36441         * elf/tst-audit3.c: Move to ...
36442         * sysdeps/x86_64/tst-audit3.c: ... here.
36443         * elf/tst-audit4.c: Move to ...
36444         * sysdeps/x86_64/tst-audit4.c: ... here.
36445         * elf/tst-audit5.c: Move to ...
36446         * sysdeps/x86_64/tst-audit5.c: ... here.
36447         * elf/tst-audit6.c: Move to ...
36448         * sysdeps/x86_64/tst-audit6.c: ... here.
36449         * elf/tst-audit7.c: Move to ...
36450         * sysdeps/x86_64/tst-audit7.c: ... here.
36451         * elf/tst-auditmod3a.c: Move to ...
36452         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
36453         * elf/tst-auditmod3b.c: Move to ...
36454         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
36455         * elf/tst-auditmod4a.c: Move to ...
36456         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
36457         * elf/tst-auditmod4b.c: Move to ...
36458         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
36459         * elf/tst-auditmod5a.c: Move to ...
36460         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
36461         * elf/tst-auditmod5b.c: Move to ...
36462         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
36463         * elf/tst-auditmod6a.c: Move to ...
36464         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
36465         * elf/tst-auditmod6b.c: Move to ...
36466         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
36467         * elf/tst-auditmod6c.c: Move to ...
36468         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
36469         * elf/tst-auditmod7a.c: Move to ...
36470         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
36471         * elf/tst-auditmod7b.c: Move to ...
36472         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
36474 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
36476         [BZ #15366]
36477         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
36478         define unconditionally.
36479         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
36480         define unconditionally.
36481         (INT8_C, INT16_C, etc.): Likewise.
36483 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
36485         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
36486         __ehdr_start with hidden visibility.
36488         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
36490 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
36492         * math/libm-test.inc (cos_test): Use accurate hex constants.
36493         (sincost_test): Likewise.
36495 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
36497         * math/libm-test.inc (catan_test): Add more tests.
36498         (catanh_test): Likewise.
36500         * math/s_catanf.c (__catanf): Use suffixed floating-point
36501         constants.
36502         * math/s_catanhf.c (__catanhf): Likewise.
36503         * math/s_catanhl.c (__catanhl): Likewise.
36504         * math/s_catanl.c (__catanl): Likewise.
36506         [BZ #15394]
36507         * math/s_catan.c (__catan): Calculate imaginary part of result
36508         with log1p not log unless computing log of number close to 0.
36509         * math/s_catanf.c (__catanf): Likewise.
36510         * math/s_catanl.c (__catanl): Likewise.
36511         * math/s_catanh.c (__catanh): Calculate real part of result with
36512         log1p not log unless computing log of number close to 0.
36513         * math/s_catanhf.c (__catanhf): Likewise.
36514         * math/s_catanhl.c (__catanhl): Likewise.
36515         * math/libm-test.inc (catan_test): Add more tests.
36516         (catanh_test): Likewise.
36517         * sysdeps/i386/fpu/libm-test-ulps: Update.
36518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36520 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36522         * benchtests/Makefile: Mention files in which fast and slow
36523         paths of math functions are implemented.
36525 2013-04-23  Roland McGrath  <roland@hack.frob.com>
36527         * sysdeps/posix/timespec_get.c: New file.
36529 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36531         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
36532         POWER.
36533         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
36534         for POWER.
36535         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
36536         powerpc/power5/fpu folders.
36537         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
36538         * benchtests/Makefile: Add modf testcase.
36539         * benchtests/bench-modf.c: New file: Benchmark test for mo
36541 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36543         [BZ #14888]
36544         * time/Makefile (tests): Add tst-strptime-whitespace.
36545         * time/strptime_l.c (get_number): Use ISSPACE.
36546         (__strptime_internal): Likewise.
36547         * time/tst-strptime-whitespace.c: New test case.
36549 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
36551         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
36552         member.
36553         (_nss_files_init): Set it here.
36555 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
36557         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
36558         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
36559         unsigned.
36561 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
36563         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
36565 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36567         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
36568         size just once.
36570 2013-04-21  David S. Miller  <davem@davemloft.net>
36572         * po/ru.po: Update Russion translation from translation project.
36574 2013-04-17  Adam Conrad  <adconrad@0c3.net>
36576         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
36577         and setfsgid.
36579 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
36581         * configure.in: Remove i386 configure warning. Remove i386 case.
36582         * configure: Regenerate.
36583         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
36584         Add example to error message.
36585         * sysdeps/i386/configure: Regenerate.
36587 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36589         * benchtests/Makefile (bench): Add cos, tan, slowcos and
36590         slowtan.
36591         * benchtests/cos-inputs: New file.
36592         * benchtests/slowcos-inputs: New file.
36593         * benchtests/slowcos.c: New file.
36594         * benchtests/slowtan-inputs: New file.
36595         * benchtests/slowtan.c: New file.
36596         * benchtests/tan-inputs: New file.
36598 2013-04-16  Roland McGrath  <roland@hack.frob.com>
36600         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36601         considered kosher.
36603 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36605         * benchtests/Makefile: Include cppflags-iterator.mk to add
36606         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36608         * Makefile.in (bench-clean): New target.
36609         * benchtests/Makefile (bench-clean): Likewise.
36611 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
36613         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36615 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
36617         * stdio-common/tstdiomisc.c: Fix coding-style violation.
36619 2013-04-15  Andreas Schwab  <schwab@suse.de>
36621         * nscd/grpcache.c (cache_addgr): Properly check for short write.
36622         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36623         * nscd/pwdcache.c (cache_addpw): Likewise.
36624         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
36625         more than recsize.
36627 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36629         * benchtests/Makefile (bench): Write all output to
36630         bench-out.tmp together.
36632 2013-04-15  Andreas Schwab  <schwab@suse.de>
36634         * nscd/nscd.c (main): Don't fork again after closing files.
36636 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36638         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36640         * benchtests/Rules (bench-deps): Collect dependencies into a
36641         single variable.  Add Makefile to dependencies.
36642         ($(objpfx)bench-%.c): Depend on bench-deps.
36644 2013-04-12  Roland McGrath  <roland@hack.frob.com>
36645             Xavier Roche  <roche+kml2@exalead.com>
36647         [BZ #15361]
36648         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36649         just that it's a file descriptor.
36650         * manual/llio.texi (Synchronizing AIO Operations): Update description
36651         for EBADF error from aio_fsync.
36653 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36655         * Rules (bench): Move target definition...
36656         * benchtests/Makefile: ... here.
36658 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36660         * math/libm-test.inc (cos_test): Fix PI/2 test.
36661         (sincos_test): Likewise.
36662         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36663         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36665 2013-04-11  Andreas Schwab  <schwab@suse.de>
36667         [BZ #13988]
36668         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36669         accept exponent character only when digits were seen.
36670         * stdio-common/Makefile (tests): Add bug26.
36671         * stdio-common/bug26.c: New file.
36673         [BZ #14293]
36674         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36675         non-freeable.
36677 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36679         * Makeconfig (rtld-prefix): Define built linker prefix.
36680         * Rules (run-bench): Use it.
36681         * math/Makefile (run-regen-ulps): Likewise.
36683         * Rules (bench): Remove eval.
36685 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36686             Roland McGrath  <roland@hack.frob.com>
36687             Ondrej Bilka  <neleai@seznam.cz>
36689         [BZ #15346]
36690         * time/getdate.c: Include ctype.h and alloca.h.
36691         (__getdate_r): Trim leading and trailing spaces of input.
36692         * time/tst-getdate.c (tests): Add tests with leading and
36693         trailing spaces.
36695 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36697         [BZ #14280]
36698         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36699         when computing value.
36701 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36703         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36704         Use testrun.sh to run libm tests.
36706         [BZ #15309]
36707         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36709 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36711         [BZ #15264]
36712         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36714 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36716         * Makefile.in (regen-ulps): New target.
36717         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36718         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36719         [ifneq (no,$(PERL)] (regen-ulps): New target.
36720         [ifeq (no,$(PERL)] (regen-ulps): New target.
36721         * math/libm-test.inc (ulps_file_name): Define.
36722         (output_dir): New variable.
36723         (options): Add "output-dir" option.
36724         (parse_opt): Handle 'o' case.
36725         (main): If output_dir is non-NULL use it as a prefix
36726         otherwise use "".
36727         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36729 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36731         [BZ #10060, #10062]
36732         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36733         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36734         fail configure if __sync_val_compare_and_swap is not inlined.
36735         * sysdeps/i386/configure: Regenerate.
36736         * configure.in: Build for i686 when configured for i386.
36737         * configure: Regenerate.
36738         * README: Remove i386 reference.
36740 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36742         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36743         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36745 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36747         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36748         (lmsnanval): New variables.
36749         (F): Add conversion tests.
36750         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36751         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36753         * stdio-common/tstdiomisc.c (F): Properly collect individual
36754         tests' results.
36756         [BZ #14686, #15336]
36757         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36758         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36759         Instead, use input NaN values or generate a qNaN by arithmetic
36760         operation.  Also fix bugs to comply with the standard.
36761         * math/libm-test.inc (remainder_test): Add more tests.
36763         [BZ #15335, #15342]
36764         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36765         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36766         input NaN values or generate a qNaN by arithmetic operation.
36768         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36769         unreachable code.
36771         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36772         definitions.
36774 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36776         [BZ #14478]
36777         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36778         underflowed result.
36779         * math/s_cexpf.c (__cexpf): Likewise.
36780         * math/s_cexpl.c (__cexpl): Likewise.
36781         * math/libm-test.inc (cexp_test): Add more tests.
36783 2013-04-03  Andreas Schwab  <schwab@suse.de>
36785         [BZ #15330]
36786         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36787         order arrays from heap if bigger than alloca cutoff.
36789 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36791         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36792         (SNAN_TESTS_double): Refer to GCC PR56831.
36793         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36794         GCC PR56828.
36796 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36798         * Rules (bench): Move bench.out after the run is complete.
36800         * Rules (bench): Echo currently running benchmark.
36802         * benchtests/Makefile (bench): Add atan and slowatan.
36803         * benchtests/atan-inputs: New file.
36804         * benchtests/slowatan-inputs: New file.
36805         * benchtests/slowatan.c: New file.
36807         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36808         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36809         its value.
36811         [BZ #15305]
36812         * sysdeps/unix/sysv/linux/kernel-features.h
36813         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36814         __ASSUME_XFS_RESTRICTED_CHOWN.
36815         * sysdeps/unix/sysv/linux/pathconf.c
36816         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36817         Save and restore errno.
36819 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36821         [BZ #15327]
36822         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36823         arguments using __kernel_casinh.
36824         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36825         arguments using __kernel_casinhf.
36826         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36827         arguments using __kernel_casinhl.
36828         * math/libm-test.inc (cacosh_test): Add more tests.
36829         * sysdeps/i386/fpu/libm-test-ulps: Update.
36830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36832 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36834         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36835         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36837         * bench/Makefile (bench): Add sin and slowsin.
36838         * benchtests/sin-inputs: New file.
36839         * benchtests/slowsin-inputs: New file.
36840         * benchtests/slowsin.c: New file.
36842         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36843         (bench): Add slowexp and slowpow.
36844         (exp-ITER): Increase iterations.
36845         (pow-ITER): Likewise.
36846         * benchtests/exp-inputs: Change input.
36847         * benchtests/pow-inputs: Likewise.
36848         * benchtests/slowexp-inputs: New file.
36849         * benchtests/slowexp.c: New file.
36850         * benchtests/slowpow-inputs: New file.
36851         * benchtests/slowpow.c: New file.
36853 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36855         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36856         instructions.
36857         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36858         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36859         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36860         * benchtests/Makefile: Add rint benchtest.
36861         * benchtests/rint-inputs: Input for rint benchtest.
36863 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36865         * Versions.def (libm): Add GLIBC_2.18.
36866         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36867         hidden libm prototypes.
36868         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36869         * math/Makefile (libm-calls): Add s_issignaling.
36870         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36871         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36872         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36873         declaration.
36874         * math/math.h [__USE_GNU] (issignaling): New macro.
36875         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36876         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36877         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36878         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36879         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36880         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36881         * manual/arith.texi (issignaling): New section.
36882         * manual/libm-err-tab.pl (@all_functions): Update comment.
36883         * math/gen-libm-test.pl (parse_args): Apply special handling for
36884         issignaling.
36885         * math/libm-test.inc (print_float, issignaling_test): New
36886         functions.
36887         (check_float_internal): Add issignaling checks.
36888         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36889         default definition.
36890         * sysdeps/powerpc/math-tests.h: New file.
36891         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36892         tests.
36893         * math/test-snan.c (TEST_FUNC): Likewise.
36895 2013-03-30  David S. Miller  <davem@davemloft.net>
36897         * po/de.po: Update from translation team.
36899 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36901         [BZ #10357]
36902         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36903         imaginary part less than 1.0 and real part less than 0.5
36904         specially.
36905         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36906         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36907         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36908         (cacos_test): Add more tests.
36909         (casin_test): Likewise.
36910         (casinh_test): Likewise.
36911         * sysdeps/i386/fpu/libm-test-ulps: Update.
36912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36914 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36916         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36917         ONE with its value.
36919         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36920         (__pow_mp): Replace ONE and MONE with their values.
36921         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36922         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36923         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36924         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36925         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36926         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36928         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36930         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36931         (__pow_mp): Replace ZERO and MZERO with their values.
36932         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36933         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36934         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36935         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36936         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36937         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36938         (__sqr): Likewise.
36940         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36942         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36944 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36946         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36947         Declare with __attribute__ ((weak)).
36948         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36949         Call __call_tls_dtors only if it's not NULL.
36951 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36953         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36954         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36955         magic __ehdr_start linker symbol if it's defined.
36956         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36957         them up here if it was already done.
36959         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36960         (_dl_aux_init): Use const in cast when setting it.
36961         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36962         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36963         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36965         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36966         Declare them here.
36967         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36968         * csu/libc-tls.c: Nor here.
36969         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36971         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36972         (__libc_message): Never call vsyslog.
36974 2013-03-28  Alan Modra  <amodra@gmail.com>
36976         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36977         Define as empty.
36978         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36979         Likewise.
36981 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36983         [BZ #15214]
36984         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36985         underflow.
36986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36988 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36990         [BZ #15304]
36991         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36992         Don't add gid passed as argument.
36994         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36996 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36998         [BZ #15307]
36999         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37000         imaginary part between 1.0 and 1.5 and real part less than 0.5
37001         specially.
37002         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37003         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37004         * math/libm-test.inc (cacos_test): Add more tests.
37005         (casin_test): Likewise.
37006         (casinh_test): Likewise.
37007         * sysdeps/i386/fpu/libm-test-ulps: Update.
37008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37010 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37012         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
37013         constants.
37014         (norm): Likewise.
37015         (denorm): Likewise.
37016         (__dbl_mp): Likewise.
37017         (add_magnitudes): Likewise.
37018         (sub_magnitudes): Likewise.
37019         (__add): Likewise.
37020         (__sub): Likewise.
37021         (__mul): Likewise.
37022         (__sqr): Likewise.
37023         (__inv): Likewise.
37024         (__dvd): Likewise.
37026         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
37027         commented code.
37028         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
37029         (__dubcos): Likewise.
37030         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
37031         (__ieee754_acos): Likewise.
37032         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37033         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
37034         (__exp1): Likewise.
37035         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37036         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37037         (log1): Likewise.
37038         (my_log2): Likewise.
37039         (checkint): Likewise.
37040         * sysdeps/ieee754/dbl-64/e_remainder.c
37041         (__ieee754_remainder): Likewise.
37042         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37043         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
37044         (bsloww): Likewise.
37045         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37047         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37048         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
37049         MANTISSA_STORE_T to store computations on mantissa.  Use
37050         macros for rounding and division.
37051         (denorm): Likewise.
37052         (__dbl_mp): Likewise.
37053         (add_magnitudes): Likewise.
37054         (sub_magnitudes): Likewise.
37055         (__mul): Likewise.
37056         (__sqr): Likewise.
37057         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37058         powers of two in terms of TWOPOW macro.
37059         (mp_no): Make type of mantissa as MANTISSA_T.
37060         [!RADIXI]: Define RADIXI.
37061         [!TWO52]: Define TWO52.
37062         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37064 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37066         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
37067         llroundl symbol when building for PPC32.
37069 2013-03-24  Mark H Weaver  <mhw@netris.org>
37071         * manual/arith.texi (Normalization Functions): Fix prototypes for
37072         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
37074 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37076         [BZ #13889]
37077         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
37078         high value to check if expl overflow.
37079         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
37080         to check for underflow and overflow.
37081         * math/libm-test.inc: Add exp test.
37083 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
37085         [BZ #11120]
37086         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
37087         with NOT_IN_libc.
37089 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37091         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
37092         symbol.
37094 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37096         * math/gen-libm-test.pl (parse_args, special_functions): Properly
37097         wrap blocks consisting of several statements.
37099         * sysdeps/generic/math-tests.h: New file.
37100         * sysdeps/i386/fpu/math-tests.h: Likewise.
37101         * math/test-snan.c: Include it.
37102         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
37104 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37106         [BZ #15285]
37107         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
37108         (__ieee754_j0l): Do not improve calculations using cos of twice
37109         input for inputs above LDBL_MAX / 2.0L.
37110         (__ieee754_y0l): Likewise.
37111         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
37112         (__ieee754_j1l): Do not improve calculations using cos of twice
37113         input for inputs above LDBL_MAX / 2.0L.
37114         (__ieee754_y1l): Likewise.
37115         * math/libm-test.inc (j0_test): Add another test.
37116         (j1_test): Likewise.
37117         (y0_test): Likewise.
37118         (y1_test): Likewise.
37119         * sysdeps/i386/fpu/libm-test-ulps: Update.
37121 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37123         * Rules ($(objpfx)bench-%.c): Include code from a C source
37124         file.
37126 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37128         [BZ #15287]
37129         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37130         imaginary part 1.0 and real part less than 0.5 specially.
37131         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37132         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37133         * math/libm-test.inc (cacos_test): Add more tests.
37134         (casin_test): Likewise.
37135         (casinh_test): Likewise.
37136         * sysdeps/i386/fpu/libm-test-ulps: Update.
37137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37139 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37141         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
37142         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
37144 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
37146         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
37147         * config.make.in (config-cflags-sse4): Remove variable.
37148         (config-cflags-avx): Likewise.
37149         (config-cflags-sse2avx): Likewise.
37150         (config-cflags-novzeroupper): Likewise.
37151         (config-asflags-i686): Likewise.
37152         (have-mfma4): Likewise.
37153         (have-as-vis3): Likewise.
37154         (MIG): Likewise.
37155         * configure.in (MIG): Do not AC_SUBST.
37156         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
37157         (libc_cv_cc_sse4): Do not AC_SUBST.
37158         (libc_cv_cc_avx): Likewise.
37159         (libc_cv_cc_sse2avx): Likewise.
37160         (libc_cv_cc_novzeroupper): Likewise.
37161         (libc_cv_cc_fma4): Likewise.
37162         (libc_cv_as_i686): Likewise.
37163         (libc_cv_sparc_as_vis3): Likewise.
37164         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
37165         LIBC_CONFIG_VAR.
37166         (config-asflags-i686): Likewise.
37167         (config-cflags-avx): Likewise.
37168         (config-cflags-sse2avx): Likewise.
37169         (have-mfma4): Likewise.
37170         (config-cflags-novzeroupper): Likewise.
37171         * sysdeps/mach/configure.in (MIG): Likewise.
37172         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
37173         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
37174         LIBC_CONFIG_VAR.
37175         (config-cflags-avx): Likewise.
37176         (config-cflags-sse2avx): Likewise.
37177         (have-mfma4): Likewise.
37178         (config-cflags-novzeroupper): Likewise.
37179         * configure: Regenerated.
37180         * sysdeps/i386/configure: Likewise.
37181         * sysdeps/mach/configure: Likewise.
37182         * sysdeps/sparc/configure: Likewise.
37183         * sysdeps/x86_64/configure: Likewise.
37185 2013-03-20  Roland McGrath  <roland@hack.frob.com>
37187         [BZ #14812]
37188         * locale/programs/localedef.c (options): Put N_ translation marker
37189         on argument names, not just descriptions.
37191 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37193         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
37195 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
37197         [BZ #14176]
37198         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
37200 2013-03-19  Roland McGrath  <roland@hack.frob.com>
37202         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
37203         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
37204         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
37205         [!BEFORE_ABORT] (before_abort): New function.
37206         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
37207         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
37208         (writev_for_fatal): New function.
37209         (WRITEV_FOR_FATAL): New macro; call that.
37210         (backtrace_and_maps): New function.
37211         (BEFORE_ABORT): New macro; call that.
37212         (struct str_list): Type removed.
37213         (__libc_message, __libc_fatal): Functions removed.
37214         Include <sysdeps/posix/libc_fatal.c> instead.
37216 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
37218         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
37219         constants.
37220         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
37221         double constants.
37223 2013-03-19  Andreas Schwab  <schwab@suse.de>
37225         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
37226         * sysdeps/gnu/configure: Regenerate.
37228         * configure.in: Substitute libc_cv_rtlddir.
37229         * configure: Regenerate.
37230         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
37231         * Makeconfig (rtlddir, inst_rtlddir): New variables.
37232         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
37233         * elf/Makefile (install-others, CFLAGS-interp.c)
37234         (ldso_install, common-ldd-rewrite): Likewise.
37235         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
37236         $(inst_slibdir)/$(rtld-installed-name).
37237         * scripts/rellns-sh: Add -p option.
37238         * Makerules (make-shlib-link): Use rellns-sh to get relative name
37239         for source.
37241 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37243         * manual/nptl.texi: Renamed to ...
37244         * manual/threads.texi: ... this.
37245         * manual/Makefile (chapters): Update.
37247 2013-03-18  Roland McGrath  <roland@hack.frob.com>
37249         [BZ #14812]
37250         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
37251         on argument names, not just descriptions.
37252         * malloc/memusagestat.c (options): Likewise.
37253         * nss/getent.c (options): Likewise.
37255 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
37257         [BZ #14812]
37258         * iconv/iconv_prog.c (options): Put N_ translation marker
37259         on argument names, not just descriptions.
37260         * iconv/iconvconfig.c (options): Likewise.
37262 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
37264         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
37265         implementation which is faster on all x86_64 architectures.
37266         Tested on AMD, Intel Nehalem, SNB, IVB.
37267         * sysdeps/x86_64/strnlen.S: Likewise.
37269         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37270         Remove all multiarch strlen and strnlen versions.
37271         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37272         Remove strlen and strnlen related parts.
37274         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
37275         Inline strlen part.
37276         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37278         * sysdeps/x86_64/multiarch/strlen.S: Remove.
37279         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
37280         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
37281         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
37282         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37283         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
37285 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
37287         * manual/memory.texi (Malloc Tunable Parameters):
37288         Sort parameters alphabetically. Add comments for missing entries.
37290 2013-03-17  David S. Miller  <davem@davemloft.net>
37292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37294 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
37296         [BZ #15283]
37297         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
37298         for arguments at most half maximum finite value.
37299         * math/libm-test.inc (j0_test): Add more tests.
37300         (j1_test): Likewise.
37301         (y0_test): Likewise.
37302         (y1_test): Likewise.
37303         * sysdeps/i386/fpu/libm-test-ulps: Update.
37304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37306         [BZ #14155]
37307         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
37308         1 / x and functions P and Q for arguments above 0x1p256L.
37309         (__ieee754_y0l): Likewise.
37310         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
37311         (__ieee754_y1l): Likewise.
37312         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
37313         (j1_test): Likewise.
37314         (y0_test): Likewise.
37315         (y1_test): Likewise.
37317 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
37319         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
37320         variable.
37322 2013-03-15  Roland McGrath  <roland@hack.frob.com>
37324         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
37325         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
37326         zero since it's initialized to EXEC_PAGESIZE.
37328         * sysdeps/unix/sysv/linux/ldsodefs.h
37329         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
37330         * sysdeps/generic/ldsodefs.h: ... here.
37332 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
37334         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
37336         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
37337         math/test-snan.c.
37338         * math/test-snan.c: Renamed from
37339         sysdeps/powerpc/fpu/test-powerpc-snan.c.
37340         * math/Makefile (tests): Add test-snan.
37341         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
37342         test-powerpc-snan.
37344         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
37345         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
37346         functions.
37347         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
37348         __builtin_nan family of functions.
37349         * math/libm-test.inc (initialize): Initialize qnan_value with
37350         __builtin_nan family of functions.
37351         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
37352         Remove variables.
37353         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
37354         Remove functions.
37355         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
37356         storage class.  Initialize qNaN_var and sNaN_var with
37357         __builtin_nan and __builtin_nans families of functions,
37358         respectively.
37360         * math/libm-test.inc (acosh_test): Also test with qNaN input.
37361         (sqrt_test): Remove duplicate test with qNaN input.
37362         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
37363         (round_test, signbit_test, significand_test): Note missing +/-Inf
37364         as well as qNaN tests.
37366         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
37367         qNaN_var.  Fix a few strings, too.
37368         * math/libm-test.inc (nan_value): Rename to qnan_value.
37369         * math/gen-libm-test.pl (%beautify): Adjust to that.
37370         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
37371         * math/test-misc.c (main): Likewise.
37372         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
37373         to __qnan_bytes, and __qnan_union, respectively.
37374         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
37375         Likewise.
37376         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
37377         and lqnanval, respectively.
37378         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
37379         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
37380         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
37381         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
37383         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
37384         * math/test-misc.c (main) [__x86_64__]: Enable test for long
37385         doubles.
37387         * math/test-misc.c (main): Fix copy'n'pastos.
37388         * misc/tst-efgcvt.c (special): Likewise.
37390         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
37391         Remove declarations.
37393 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37395         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
37396         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
37397         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
37398         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
37400 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37402         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
37403         macro to return vdso values correctly in IFUNC implementations.
37404         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37405         Optimization by using IFUNC.
37407 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37408             Richard Henderson  <rth@redhat.com>
37409             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37411         * Makefile.in (bench): New target.
37412         * NEWS: Mention the benchmark framework.
37413         * Rules (bench): Likewise.
37414         (binaries-bench): Generate binaries for functions to
37415         benchmark.
37416         * benchtests/Makefile: New makefile for benchmark tests.
37417         * benchtests/bench-skeleton.c: New skeleton file for benchmark
37418         programs.
37419         * benchtests/exp-inputs: New input file for EXP function.
37420         * benchtests/pow-inputs: New input file for POW function.
37421         * scripts/bench.pl: New script to generate source files for
37422         benchmark programs.
37424 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37426         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37427         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
37428         computations on mantissa.  Use macros for rounding and
37429         division.
37430         (denorm): Likewise.
37431         (__dbl_mp): Likewise.
37432         (add_magnitudes): Likewise.
37433         (sub_magnitudes): Likewise.
37434         (__mul): Likewise.
37435         (__sqr): Likewise.
37436         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37437         powers of two in terms of TWOPOW macro.
37438         (mp_no): Make type of mantissa as MANTISSA_T.
37439         [!RADIXI]: Define RADIXI.
37440         [!TWO52]: Define TWO52.
37441         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37443         * manual/nptl.texi (cindex): Modify threads to pthreads.
37445 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
37447         * sysdeps/x86_64/preconfigure: Regenerated.
37449 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
37451         [BZ #14155]
37452         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
37453         0x1p28 and above.
37454         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
37455         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
37456         0x1p28 and above.
37457         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
37458         * math/libm-test.inc (j0_test): Do not allow one spurious
37459         underflow exception.
37460         (y1_test): Likewise.
37462 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37464         * manual/Makefile (chapters): Add nptl.
37465         * manual/debug.texi (Debugging Support): Add link to Threads
37466         chapter.
37467         * manual/nptl.texi: New file.
37469         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
37471 2013-03-14  Petr Baudis  <pasky@ucw.cz>
37473         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
37474         for non-NULL pointer before the memory validity test. Pointed
37475         out by Holger Brunck <holger.brunck@keymile.com>.
37477 2013-03-13  Andreas Schwab  <schwab@suse.de>
37479         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
37480         instead of .os.
37482 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
37484         * timezone/zic.c: Update from tzcode 2013b.
37486 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
37488         * manual/install.texi (Configuring and compiling):
37489         Mention i686 and i586.
37490         * INSTALL: Regenerate.
37492 2013-03-12  Roland McGrath  <roland@hack.frob.com>
37494         * sysdeps/init_array/elf-init.c: New file.
37495         * csu/elf-init.c
37496         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
37497         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
37499         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
37500         __gmon_start__ as global, but as static with a .preinit_array pointer.
37501         * sysdeps/init_array/gmon-start.c: New file.  Use that.
37502         * sysdeps/init_array/crti.S: New file, empty except for comments.
37503         * sysdeps/init_array/crtn.S: Likewise.
37505 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
37507         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
37508         definining bcopy.
37509         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37510         Remove Prefer_SSE_for_memop.
37511         * sysdeps/x86_64/multiarch/init-arch.h: Remove
37512         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
37513         HAS_PREFER_SSE_FOR_MEMOP.
37514         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
37515         memset-x86-64.
37516         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37517         Remove bzero, memset ifunc support.
37518         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
37519         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
37520         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37521         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37523 2013-03-11  Andreas Schwab  <schwab@suse.de>
37525         [BZ #15234]
37526         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
37527         by SHLIB_COMPAT.
37528         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
37529         (GLIBC_2.16): Remove pthread_atfork.
37531 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37533         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
37534         (ptestcases.h): Likewise.
37536 2013-03-08  Roland McGrath  <roland@hack.frob.com>
37538         * Makeconfig ($(common-objpfx)config.status): Depend on
37539         sysdeps/*/preconfigure{,.in} too.
37541 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
37543         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
37544         (__free_hook): Use void * instead of __malloc_ptr_t.
37545         (__malloc_hook): Likewise.
37546         (__realloc_hook): Likewise.
37547         (__memalign_hook): Likewise.
37548         (__after_morecore_hook): Likewise.
37549         * malloc/arena.c (save_malloc_hook): Likewise.
37550         (save_free_hook): Likewise.
37551         * malloc/hooks.c (malloc_hook_ini): Likewise.
37552         (realloc_hook_ini): Likewise.
37553         (memalign_hook_ini): Likewise.
37554         * malloc/malloc.c (malloc_hook_ini): Likewise.
37555         (realloc_hook_ini): Likewise.
37556         (memalign_hook_ini): Likewise.
37557         (__free_hook): Likewise.
37558         (__malloc_hook): Likewise.
37559         (__realloc_hook): Likewise.
37560         (__memalign_hook): Likewise.
37561         (__libc_malloc): Likewise.
37562         (__libc_free): Likewise.
37563         (__libc_realloc): Likewise.
37564         (__libc_memalign): Likewise.
37565         (__libc_valloc): Likewise.
37566         (__libc_pvalloc): Likewise.
37567         (__libc_calloc): Likewise.
37568         (__posix_memalign): Likewise.
37569         * malloc/morecore.c (__sbrk): Likewise.
37570         (__default_morecore): Likewise.
37572         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
37574         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
37575         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
37576         __malloc_ptrdiff_t.
37578         * malloc/malloc.h (__malloc_size_t): Remove macro.
37579         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
37580         __malloc_size_t.
37581         (old_memalign_hook): Likewise.
37582         (old_realloc_hook): Likewise.
37583         (struct hdr): Likewise.
37584         (flood): Likewise.
37585         (mallochook): Likewise.
37586         (memalignhook): Likewise.
37587         (reallochook): Likewise.
37588         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
37589         (tr_old_realloc_hook): Likewise.
37590         (tr_old_memalign_hook): Likewise.
37591         (tr_mallochook): Likewise.
37592         (tr_reallochook): Likewise.
37593         (tr_memalignhook): Likewise.
37595 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37597         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
37598         default_ldbl_pack and using as default implementation.
37599         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
37600         implementation.
37601         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37602         redundant definition.
37603         (ldbl_insert_mantissa): Likewise.
37604         (ldbl_canonicalize): Likewise.
37605         (ldbl_nearbyint): Likewise.
37606         (ldbl_pack): Rename to ldbl_pack_ppc.
37607         (ldbl_unpack): Rename to ldbl_unpack_ppc.
37608         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37609         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37611 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37613         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37614         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37615         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37616         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37617         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37618         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37619         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37620         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37622 2013-03-07  Andreas Jaeger  <aj@suse.de>
37624         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37625         bits/mman-linux.h.
37627 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37629         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37630         Include mpa.h and declare __MPEXP.
37631         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37632         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37633         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37634         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37635         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37636         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37637         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37639         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37640         (__slowpow): Use long double EXPL and LOGL functions to
37641         compute POW.
37642         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37643         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37644         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37645         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37646         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37647         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37649         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37650         intermediate variable to calculate exponent.
37651         (__sqr): Likewise.
37652         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37653         Likewise.
37654         (__sqr): Likewise.
37656         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37657         [!NO__SQR]: Define __sqr.
37658         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37659         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37660         sysdeps/ieee754/dbl-64/mpa.c.
37661         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37663         [BZ #12723]
37664         * posix/Makefile (tests): Add tst-pathconf.
37665         * posix/tst-pathconf.c: New test case.
37666         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37667         _PC_PIPE_BUF.
37668         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37670 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37672         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37674 2013-03-06  Andreas Jaeger  <aj@suse.de>
37676         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37677         definition via __MAP_ANONYMOUS.
37679         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37680         it's not part of Linux headers.
37682         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37683         (MAP_HUGE_MASK): Define.
37685         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37686         Define.
37687         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37688         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37689         Define.
37690         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37691         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37692         Define.
37693         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37694         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37695         Define.
37696         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37698         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37699         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37700         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37701         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37702         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37703         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37705         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37706         Handle f2fs.
37708         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37709         Handle f2fs and efivarfs.
37711         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37712         f2fs.
37714         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37715         (EFIVARFS_MAGIC): Add.
37716         (F2FS_LINK_MAX): Add.
37718 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37720         * stdio-common/vfprintf.c: Replace __builtin_expect with
37721         __glibc_unlikely.
37723 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37725         [BZ #13550]
37726         * sysdeps/generic/bp-sym.h: Remove file.
37727         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37728         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37729         <bp-sym.h> and <bp-asm.h>.
37730         (__longjmp): Don't use BP_SYM.
37731         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37732         and <bp-asm.h>.
37733         (memcpy): Don't use BP_SYM.
37734         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37735         <bp-sym.h> and <bp-asm.h>.
37736         (memcpy): Don't use BP_SYM.
37737         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37738         <bp-asm.h>.
37739         (memcpy): Don't use BP_SYM.
37740         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37741         <bp-asm.h>.
37742         (memset): Don't use BP_SYM.
37743         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37744         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37745         (__bzero): Don't use BP_SYM.
37746         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37747         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37748         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37749         <bp-sym.h> and <bp-asm.h>.
37750         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37751         pointers.
37752         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37753         <bp-sym.h> and <bp-asm.h>.
37754         (memcpy): Don't use BP_SYM.
37755         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37756         <bp-sym.h> and <bp-asm.h>.
37757         (memset): Don't use BP_SYM.
37758         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37759         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37760         (__bzero): Don't use BP_SYM.
37761         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37762         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37763         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37764         <bp-sym.h> and <bp-asm.h>.
37765         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37766         pointers.
37767         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37768         <bp-sym.h> and <bp-asm.h>.
37769         (memcpy): Don't use BP_SYM.
37770         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37771         <bp-sym.h> and <bp-asm.h>.
37772         (memset): Don't use BP_SYM.
37773         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37774         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37775         (__bzero): Don't use BP_SYM.
37776         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37777         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37778         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37779         <bp-sym.h> and <bp-asm.h>.
37780         (__memchr): Don't use BP_SYM.
37781         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37782         <bp-sym.h> and <bp-asm.h>.
37783         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37784         pointers.
37785         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37786         <bp-sym.h> and <bp-asm.h>.
37787         (memcpy): Don't use BP_SYM.
37788         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37789         <bp-sym.h> and <bp-asm.h>.
37790         (__mempcpy): Don't use BP_SYM.
37791         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37792         <bp-sym.h> and <bp-asm.h>.
37793         (__memrchr): Don't use BP_SYM.
37794         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37795         <bp-sym.h> and <bp-asm.h>.
37796         (memset): Don't use BP_SYM.
37797         (__bzero): Likewise.
37798         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37799         <bp-sym.h> and <bp-asm.h>.
37800         (__rawmemchr): Don't use BP_SYM.
37801         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37802         <bp-sym.h> and <bp-asm.h>.
37803         (__STRCMP): Don't use BP_SYM.
37804         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37805         <bp-sym.h> and <bp-asm.h>.
37806         (strchr): Don't use BP_SYM.
37807         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37808         <bp-sym.h> and <bp-asm.h>.
37809         (__strchrnul): Don't use BP_SYM.
37810         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37811         <bp-sym.h> and <bp-asm.h>.
37812         (strlen): Don't use BP_SYM.
37813         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37814         <bp-sym.h> and <bp-asm.h>.
37815         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37816         pointers.
37817         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37818         <bp-sym.h> and <bp-asm.h>.
37819         (__strnlen): Don't use BP_SYM.
37820         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37821         <bp-sym.h> and <bp-asm.h>.
37822         (__GI__setjmp): Don't use BP_SYM.
37823         (_setjmp): Likewise.
37824         (__sigsetjmp): Likewise.
37825         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37826         (L(start_addresses)): Don't use BP_SYM.
37827         (_start): Likewise.
37828         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37829         <bp-asm.h>.
37830         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37831         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37832         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37833         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37834         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37835         <bp-asm.h>.
37836         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37837         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37838         about bounded pointers.
37839         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37840         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37841         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37842         <bp-asm.h>.
37843         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37844         about bounded pointers.  Remove GKM FIXME comments.
37845         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37846         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37847         <bp-asm.h>.
37848         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37849         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37850         Remove GKM FIXME comments.
37851         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37852         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37853         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37854         <bp-asm.h>.
37855         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37856         about bounded pointers.  Remove GKM FIXME comment.
37857         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37858         and <bp-asm.h>.
37859         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37860         pointers.
37861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37862         <bp-sym.h> and <bp-asm.h>.
37863         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37865         <bp-sym.h> and <bp-asm.h>.
37866         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37867         comment.
37869 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37871         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37872         call free(NULL).
37874 2013-03-05  David S. Miller  <davem@davemloft.net>
37876         * po/es.po: Update from translation team.
37878 2013-03-05  Andreas Jaeger  <aj@suse.de>
37880         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37881         <bits/mman-linux.h>.
37882         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37883         is fine.
37884         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37885         <bits/mman-linux.h> to end of file.
37886         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37887         is fine.
37888         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37889         <bits/mman-linux.h> to end of file.
37890         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37891         is fine.
37892         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37893         <bits/mman-linux.h> to end of file.
37895         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37896         (MCL_CURRENT, MCL_FUTURE): Define here.
37898 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37900         [BZ #15232]
37901         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37902         attribute_hidden.
37903         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37905 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37907         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37908         fourth parameter needed for rt_sigprocmask syscall.
37909         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37910         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37911         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37912         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37913         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37914         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37916 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37918         [BZ #13550]
37919         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37920         comment about bounded pointers.
37921         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37922         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37924 2013-03-04  Andreas Jaeger  <aj@suse.de>
37926         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37927         common definitions.
37929         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37930         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37931         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37932         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37933         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37934         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37936 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37938         [BZ #15055]
37939         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37940         __ieee754_sqrl instead of __sqrl.
37942 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37944         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37945         * sysdeps/powerpc/fpu_control.h: ... here.
37946         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37947         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37948         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37949         * sysdeps/powerpc/bits/mathinline.h: ... here.
37951 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37953         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37954         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37955         to just [NEED_DL_SYSINFO_DSO].
37956         * elf/dl-support.c: Likewise.
37957         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37958         * elf/rtld.c (dl_main): Likewise.
37959         * elf/setup-vdso.h (setup_vdso): Likewise.
37960         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37961         * sysdeps/unix/sysv/linux/dl-sysdep.c
37962         (_dl_discover_osversion): Likewise.
37964 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37966         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37967         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37969 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37971         * NEWS: Mention libm performance improvements and non-x86 PI
37972         futex support.
37974         * csu/libc-start.c (__pthread_initialize_minimal): Change
37975         function arguments.
37976         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37978 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37980         [BZ #13550]
37981         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37982         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37983         <bp-sym.h> and <bp-asm.h>.
37984         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37985         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37986         and <bp-asm.h>.
37987         (memcpy): Don't use BP_SYM.
37988         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37989         <bp-asm.h>.
37990         (__mpn_add_n): Don't use BP_SYM.
37991         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37992         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37993         and <bp-asm.h>.
37994         (__mpn_addmul_1): Don't use BP_SYM.
37995         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37996         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37997         <bp-sym.h>.
37998         (_setjmp): Don't use BP_SYM.
37999         (__novmx_setjmp): Likewise.
38000         (__GI__setjmp): Likewise.
38001         (__vmx_setjmp): Likewise.
38002         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
38003         <bp-sym.h>.
38004         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
38005         (__bzero): Don't use BP_SYM.
38006         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38007         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38008         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
38009         <bp-sym.h> and <bp-asm.h>.
38010         (memcpy): Don't use BP_SYM.
38011         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
38012         <bp-sym.h> and <bp-asm.h>.
38013         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38014         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
38015         <bp-sym.h> and <bp-asm.h>.
38016         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38017         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
38018         <bp-asm.h>.
38019         (__mpn_lshift): Don't use BP_SYM.
38020         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38021         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
38022         <bp-asm.h>.
38023         (memset): Don't use BP_SYM.
38024         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38025         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38026         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
38027         <bp-asm.h>.
38028         (__mpn_mul_1): Don't use BP_SYM.
38029         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38030         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
38031         <bp-sym.h> and <bp-asm.h>.
38032         (memcmp): Don't use BP_SYM.
38033         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
38034         <bp-sym.h> and <bp-asm.h>.
38035         (memcpy): Don't use BP_SYM.
38036         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
38037         <bp-sym.h> and <bp-asm.h>.
38038         (memset): Don't use BP_SYM.
38039         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
38040         <bp-sym.h> and <bp-asm.h>.
38041         (strncmp): Don't use BP_SYM.
38042         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
38043         <bp-sym.h> and <bp-asm.h>.
38044         (memcpy): Don't use BP_SYM.
38045         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
38046         <bp-sym.h> and <bp-asm.h>.
38047         (memset): Don't use BP_SYM.
38048         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
38049         <bp-sym.h> and <bp-asm.h>.
38050         (__memchr): Don't use BP_SYM.
38051         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
38052         <bp-sym.h> and <bp-asm.h>.
38053         (memcmp): Don't use BP_SYM.
38054         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
38055         <bp-sym.h> and <bp-asm.h>.
38056         (memcpy): Don't use BP_SYM.
38057         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
38058         <bp-sym.h> and <bp-asm.h>.
38059         (__mempcpy): Don't use BP_SYM.
38060         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
38061         <bp-sym.h> and <bp-asm.h>.
38062         (__memrchr): Don't use BP_SYM.
38063         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
38064         <bp-sym.h> and <bp-asm.h>.
38065         (memset): Don't use BP_SYM.
38066         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
38067         <bp-sym.h> and <bp-asm.h>.
38068         (__rawmemchr): Don't use BP_SYM.
38069         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
38070         <bp-sym.h> and <bp-asm.h>.
38071         (__STRCMP): Don't use BP_SYM.
38072         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
38073         <bp-sym.h> and <bp-asm.h>.
38074         (strchr): Don't use BP_SYM.
38075         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
38076         <bp-sym.h> and <bp-asm.h>.
38077         (__strchrnul): Don't use BP_SYM.
38078         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
38079         <bp-sym.h> and <bp-asm.h>.
38080         (strlen): Don't use BP_SYM.
38081         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
38082         <bp-sym.h> and <bp-asm.h>.
38083         (strncmp): Don't use BP_SYM.
38084         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
38085         <bp-sym.h> and <bp-asm.h>.
38086         (__strnlen): Don't use BP_SYM.
38087         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
38088         <bp-asm.h>.
38089         (__mpn_rshift): Don't use BP_SYM.
38090         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38091         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
38092         <bp-sym.h> and <bp-asm.h>.
38093         (__sigsetjmp): Don't use BP_SYM.
38094         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
38095         (L(start_addresses)): Don't use BP_SYM.
38096         (_start): Likewise.
38097         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
38098         <bp-asm.h>.
38099         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
38100         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38101         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38102         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
38103         <bp-asm.h>.
38104         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
38105         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38106         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38107         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
38108         <bp-asm.h>.
38109         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38110         comments.
38111         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38112         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
38113         <bp-asm.h>.
38114         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
38115         FIXME comments.
38116         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38117         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38118         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
38119         <bp-asm.h>.
38120         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38121         comment.
38122         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
38123         and <bp-asm.h>.
38124         (strncmp): Don't use BP_SYM,
38125         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
38126         <bp-asm.h>.
38127         (__mpn_sub_n): Don't use BP_SYM.
38128         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38129         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
38130         and <bp-asm.h>.
38131         (__mpn_submul_1): Don't use BP_SYM.
38132         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
38134         <bp-sym.h> and <bp-asm.h>.
38135         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
38137         <bp-sym.h> and <bp-asm.h>.
38138         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
38139         comment.
38141 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38143         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
38144         Use ZK to minimize writes to Z.
38145         (sub_magnitudes): Simplify code a bit.
38146         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
38147         Use ZK to minimize writes to Z.
38148         (sub_magnitudes): Simplify code a bit.
38150 2013-02-27  Roland McGrath  <roland@hack.frob.com>
38152         * csu/gmon-start.c: Add special exception to license text.
38154 2013-02-27  Richard Henderson  <rth@redhat.com>
38156         * scripts/config.guess: Update from config.git.
38157         * scripts/config.sub: Likewise.
38159 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38161         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
38163         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
38165         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
38167         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
38169         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
38171 2013-02-26  Roland McGrath  <roland@hack.frob.com>
38173         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
38174         [$(build-shared = yes].
38176 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38178         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
38179         (__mul): Reduce iterations for calculating mantissa.
38181         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
38182         MPTWO.
38183         (__mpranred): Likewise.
38185         [BZ #15160]
38186         * malloc/memusagestat.c (main): Draw graphs for heap and stack
38187         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
38189 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
38191         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
38192         Define __attribute__.
38194 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38196         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
38197         unused.
38198         * posix/regex_internal.h (__attribute): Remove.
38199         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
38200         (re_string_context_at): Likewise.
38201         (bitset_not): Use __attribute__ and mark function as possibly
38202         unused.
38203         (bitset_merge): Likewise.
38204         (bitset_mask): Likewise.
38205         (re_string_char_size_at): Likewise.
38206         (re_string_wchar_at): Likewise.
38207         (re_string_elem_size_at): Likewise.
38209 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38211         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
38212         code.
38213         (cc32): Likewise.
38215         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
38216         (__acr): Likewise.
38217         (__cpy): Likewise.
38218         (norm): Likewise.
38219         (denorm): Likewise.
38220         (__dbl_mp): Likewise.
38221         (add_magnitudes): Likewise.
38222         (sub_magnitudes): Likewise.
38223         (__mul): Likewise.
38224         (__inv): Likewise.
38226         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
38227         style.
38229         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
38230         style.
38232         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
38233         code.
38235         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
38236         up changes with default code.
38237         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
38238         Likewise.
38240 2013-02-24  Allan McRae  <allan@archlinux.org>
38242         * manual/socket.texi (The Internet Namespace): Order menu items
38243         to match that in the file.
38245         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
38246         node listing of the info page menu.
38248 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
38250         [BZ #13550]
38251         * sysdeps/i386/bp-asm.h: Remove file.
38252         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38253         (PARMS): Do not use macros from bp-asm.h.
38254         (S1): Likewise.
38255         (S2): Likewise.
38256         (SIZE): Likewise.
38257         (__mpn_add_n): Do not use BP_SYM
38258         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
38259         "bp-asm.h".
38260         (PARMS): Do not use macros from bp-asm.h.
38261         (S1): Likewise.
38262         (SIZE): Likewise.
38263         (__mpn_addmul_1): Do not use BP_SYM
38264         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
38265         "bp-asm.h".
38266         (PARMS): Do not use macros from bp-asm.h.
38267         (SIGMSK): Likewise.
38268         (_setjmp): Likewise.  Do not use BP_SYM.
38269         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
38270         "bp-asm.h".
38271         (PARMS): Do not use macros from bp-asm.h.
38272         (SIGMSK): Likewise.
38273         (setjmp): Likewise.  Do not use BP_SYM.
38274         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
38275         "bp-asm.h".
38276         (PARMS): Do not use macros from bp-asm.h.
38277         (__frexp): Do not use BP_SYM.
38278         (frexp): Likewise.
38279         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
38280         "bp-asm.h".
38281         (PARMS): Do not use macros from bp-asm.h.
38282         (__frexpf): Do not use BP_SYM.
38283         (frexpf): Likewise.
38284         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
38285         "bp-asm.h".
38286         (PARMS): Do not use macros from bp-asm.h.
38287         (__frexpl): Do not use BP_SYM.
38288         (frexpl): Likewise.
38289         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
38290         "bp-asm.h".
38291         (PARMS): Do not use macros from bp-asm.h.
38292         (__remquo): Do not use BP_SYM.
38293         (remquo): Likewise.
38294         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
38295         "bp-asm.h".
38296         (PARMS): Do not use macros from bp-asm.h.
38297         (__remquof): Do not use BP_SYM.
38298         (remquof): Likewise.
38299         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
38300         "bp-asm.h".
38301         (PARMS): Do not use macros from bp-asm.h.
38302         (__remquol): Do not use BP_SYM.
38303         (remquol): Likewise.
38304         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
38305         "bp-asm.h".
38306         (PARMS): Do not use macros from bp-asm.h.
38307         (DEST): Likewise.
38308         (SRC): Likewise.
38309         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
38310         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
38311         "bp-asm.h".
38312         (PARMS): Do not use macros from bp-asm.h.
38313         (strlen): Do not use BP_SYM.
38314         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
38315         "bp-asm.h".
38316         (PARMS): Do not use macros from bp-asm.h.
38317         (S1): Likewise.
38318         (S2): Likewise.
38319         (SIZE): Likewise.
38320         (__mpn_add_n): Do not use BP_SYM.
38321         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
38322         "bp-asm.h".
38323         (PARMS): Do not use macros from bp-asm.h.
38324         (S1): Likewise.
38325         (SIZE): Likewise.
38326         (__mpn_addmul_1): Do not use BP_SYM.
38327         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
38328         weak_alias.
38329         (bzero): Likewise.
38330         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
38331         "bp-asm.h".
38332         (PARMS): Do not use macros from bp-asm.h.
38333         (S): Likewise.
38334         (SIZE): Likewise.
38335         (__mpn_lshift): Do not use BP_SYM.
38336         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
38337         "bp-asm.h".
38338         (PARMS): Do not use macros from bp-asm.h.
38339         (DEST): Likewise.
38340         (SRC): Likewise.
38341         (LEN): Likewise.
38342         (memcpy): Likewise.  Do not use BP_SYM.
38343         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
38344         libc_hidden_def and weak_alias.
38345         (mempcpy): Do not use BP_SYM in weak_alias.
38346         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
38347         "bp-asm.h".
38348         (PARMS): Do not use macros from bp-asm.h.
38349         (DEST): Likewise.
38350         (LEN): Likewise.
38351         [!BZERO_P] (CHR): Likewise.
38352         (memset): Likewise.  Do not use BP_SYM.
38353         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
38354         "bp-asm.h".
38355         (PARMS): Do not use macros from bp-asm.h.
38356         (S1): Likewise.
38357         (SIZE): Likewise.
38358         (__mpn_mul_1): Do not use BP_SYM.
38359         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
38360         "bp-asm.h".
38361         (PARMS): Do not use macros from bp-asm.h.
38362         (S): Likewise.
38363         (SIZE): Likewise.
38364         (__mpn_rshift): Do not use BP_SYM.
38365         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
38366         "bp-asm.h".
38367         (PARMS): Do not use macros from bp-asm.h.
38368         (STR): Likewise.
38369         (CHR): Likewise.
38370         (strchr): Likewise.  Do not use BP_SYM.
38371         (index): Do not use BP_SYM in weak_alias.
38372         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
38373         "bp-asm.h".
38374         (PARMS): Do not use macros from bp-asm.h.
38375         (DEST): Likewise.
38376         (SRC): Likewise.
38377         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
38378         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
38379         "bp-asm.h".
38380         (PARMS): Do not use macros from bp-asm.h.
38381         (strlen): Do not use BP_SYM.
38382         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
38383         "bp-asm.h".
38384         (PARMS): Do not use macros from bp-asm.h.
38385         (S1): Likewise.
38386         (S2): Likewise.
38387         (SIZE): Likewise.
38388         (__mpn_sub_n): Do not use BP_SYM.
38389         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
38390         "bp-asm.h".
38391         (PARMS): Do not use macros from bp-asm.h.
38392         (S1): Likewise.
38393         (SIZE): Likewise.
38394         (__mpn_submul_1): Do not use BP_SYM.
38395         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
38396         "bp-asm.h".
38397         (PARMS): Do not use macros from bp-asm.h.
38398         (S1): Likewise.
38399         (S2): Likewise.
38400         (SIZE): Likewise.
38401         (__mpn_add_n): Do not use BP_SYM.
38402         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
38403         weak_alias.
38404         (bzero): Likewise.
38405         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
38406         "bp-asm.h".
38407         (PARMS): Do not use macros from bp-asm.h.
38408         (BLK2): Likewise.
38409         (LEN): Likewise.
38410         (memcmp): Do not use BP_SYM.
38411         (bcmp): Do not use BP_SYM in weak_alias.
38412         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
38413         "bp-asm.h".
38414         (PARMS): Do not use macros from bp-asm.h.
38415         (DEST): Likewise.
38416         (SRC): Likewise.
38417         (LEN): Likewise.
38418         (memcpy): Likewise.  Do not use BP_SYM.
38419         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
38420         "bp-asm.h".
38421         (PARMS): Do not use macros from bp-asm.h.
38422         (DEST): Likewise.
38423         (SRC): Likewise.
38424         (LEN): Likewise.
38425         (memmove): Likewise.  Do not use BP_SYM.
38426         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
38427         "bp-asm.h".
38428         (PARMS): Do not use macros from bp-asm.h.
38429         (DEST): Likewise.
38430         (SRC): Likewise.
38431         (LEN): Likewise.
38432         (__mempcpy): Likewise.  Do not use BP_SYM.
38433         (mempcpy): Do not use BP_SYM in weak_alias.
38434         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
38435         "bp-asm.h".
38436         (PARMS): Do not use macros from bp-asm.h.
38437         (DEST): Likewise.
38438         (LEN): Likewise.
38439         [!BZERO_P] (CHR): Likewise.
38440         (memset): Likewise.  Do not use BP_SYM.
38441         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
38442         "bp-asm.h".
38443         (PARMS): Do not use macros from bp-asm.h.
38444         (STR2): Likewise.
38445         (strcmp): Do not use BP_SYM.
38446         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
38447         "bp-asm.h".
38448         (PARMS): Do not use macros from bp-asm.h.
38449         (STR): Likewise.
38450         (DELIM): Likewise.
38451         [USE_AS_STRTOK_R] (SAVE): Likewise.
38452         (FUNCTION): Likewise.  Do not use BP_SYM.
38453         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
38454         aliases.
38455         (strtok_r): Likewise.
38456         (__GI___strtok_r): Likewise.
38457         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38458         (PARMS): Do not use macros from bp-asm.h.
38459         (S): Likewise.
38460         (SIZE): Likewise.
38461         (__mpn_lshift): Do not use BP_SYM.
38462         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38463         (PARMS): Do not use macros from bp-asm.h.
38464         (STR): Likewise.
38465         (CHR): Likewise.
38466         (__memchr): Do not use BP_SYM.
38467         (memchr): Do not use BP_SYM in weak_alias.
38468         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38469         (PARMS): Do not use macros from bp-asm.h.
38470         (BLK2): Likewise.
38471         (LEN): Likewise.
38472         (memcmp): Do not use BP_SYM.
38473         (bcmp): Do not use BP_SYM in weak_alias.
38474         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
38475         (PARMS): Do not use macros from bp-asm.h.
38476         (S1): Likewise.
38477         (SIZE): Likewise.
38478         (__mpn_mul_1): Do not use BP_SYM.
38479         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
38480         "bp-asm.h".
38481         (PARMS): Do not use macros from bp-asm.h.
38482         (STR): Likewise.
38483         (CHR): Likewise.
38484         (__rawmemchr): Do not use BP_SYM.
38485         (rawmemchr): Do not use BP_SYM in weak_alias.
38486         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38487         (PARMS): Do not use macros from bp-asm.h.
38488         (S): Likewise.
38489         (SIZE): Likewise.
38490         (__mpn_rshift): Do not use BP_SYM.
38491         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38492         (PARMS): Do not use macros from bp-asm.h.
38493         (SIGMSK): Likewise.
38494         (__sigsetjmp): Likewise.  Do not use BP_SYM.
38495         * sysdeps/i386/start.S: Do not include "bp-sym.h".
38496         (_start): Do not use BP_SYM.
38497         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
38498         (PARMS): Do not use macros from bp-asm.h.
38499         (DEST): Likewise.
38500         (SRC): Likewise.
38501         (__stpcpy): Likewise.  Do not use BP_SYM.
38502         (stpcpy): Do not use BP_SYM in weak_alias.
38503         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
38504         "bp-asm.h".
38505         (PARMS): Do not use macros from bp-asm.h.
38506         (DEST): Likewise.
38507         (SRC): Likewise.
38508         (LEN): Likewise.
38509         (__stpncpy): Likewise.  Do not use BP_SYM.
38510         (stpncpy): Do not use BP_SYM in weak_alias.
38511         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38512         (PARMS): Do not use macros from bp-asm.h.
38513         (STR): Likewise.
38514         (CHR): Likewise.
38515         (strchr): Likewise.  Do not use BP_SYM.
38516         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
38517         "bp-asm.h".
38518         (PARMS): Do not use macros from bp-asm.h.
38519         (STR): Likewise.
38520         (CHR): Likewise.
38521         (__strchrnul): Likewise.  Do not use BP_SYM.
38522         (strchrnul): Do not use BP_SYM in weak_alias.
38523         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
38524         "bp-asm.h".
38525         (PARMS): Do not use macros from bp-asm.h.
38526         (STOP): Likewise.
38527         (strcspn): Do not use BP_SYM.
38528         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
38529         "bp-asm.h".
38530         (PARMS): Do not use macros from bp-asm.h.
38531         (STR): Likewise.
38532         (STOP): Likewise.
38533         (strpbrk): Likewise.  Do not use BP_SYM.
38534         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
38535         "bp-asm.h".
38536         (PARMS): Do not use macros from bp-asm.h.
38537         (STR): Likewise.
38538         (CHR): Likewise.
38539         (strrchr): Likewise.  Do not use BP_SYM.
38540         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
38541         (PARMS): Do not use macros from bp-asm.h.
38542         (SKIP): Likewise.
38543         (strspn): Do not use BP_SYM.
38544         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
38545         (PARMS): Do not use macros from bp-asm.h.
38546         (STR): Likewise.
38547         (DELIM): Likewise.
38548         (SAVE): Likewise.
38549         (FUNCTION): Likewise.  Do not use BP_SYM.
38550         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
38551         aliases.
38552         (strtok_r): Likewise.
38553         (__GI___strtok_r): Likewise.
38554         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38555         (PARMS): Do not use macros from bp-asm.h.
38556         (S1): Likewise.
38557         (S2): Likewise.
38558         (SIZE): Likewise.
38559         (__mpn_sub_n): Do not use BP_SYM.
38560         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
38561         "bp-asm.h".
38562         (PARMS): Do not use macros from bp-asm.h.
38563         (S1): Likewise.
38564         (SIZE): Likewise.
38565         (__mpn_submul_1): Do not use BP_SYM.
38566         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
38567         <bp-sym.h>.
38568         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
38569         and <bp-asm.h>.
38570         (PARMS): Do not use macros from bp-asm.h.
38571         (FLAGS): Likewise.
38572         (PTID): Likewise.
38573         (TLS): Likewise.
38574         (CTID): Likewise.
38575         (__clone): Do not use BP_SYM.
38576         (clone): Do not use BP_SYM in weak_alias.
38577         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
38578         and <bp-asm.h>.
38579         (PARMS): Do not use macros from bp-asm.h.
38580         (LEN): Likewise.
38581         (__mmap64): Do not use BP_SYM.
38582         (mmap64): Do not use BP_SYM in weak_alias.
38583         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38584         <bp-sym.h> and <bp-asm.h>.
38585         (PARMS): Do not use macros from bp-asm.h.
38586         (__posix_fadvise64_l64): Do not use BP_SYM.
38587         * sysdeps/unix/sysv/linux/i386/semtimedop.S
38588         (PARMS): Do not use macros from bp-asm.h.
38589         (NSOPS): Likewise.
38590         (semtimedop): Do not use BP_SYM.
38591         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
38592         and <bp-asm.h>.
38594 2013-02-21  Allan McRae  <allan@archlinux.org>
38596         * manual/message.texi (Charset conversion in gettext):
38597         Move @end statement to beginning of line.
38599 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38601         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38602         static.
38603         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38604         Likewise.
38606         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38607         (denorm): Likewise.
38608         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38609         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38611 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38613         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38614         tail-call to the resolved function if pltexit isn't needed.
38616 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38618         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38619         or Y being zero as being unlikely.
38620         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38621         Likewise.
38623 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
38625         * manual/nss.texi (System Databases and Name Service Switch):
38626         Remove frobnicate @pxref.
38628 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38630         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38631         __attribute__ ((unused)) to __attribute__ ((__unused__)).
38633 2013-02-20  Petr Machata  <pmachata@redhat.com>
38635         * elf/elf.h (R_ARM_TARGET1): New macro.
38636         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38637         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38638         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38639         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38640         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38641         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38642         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38643         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38644         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38645         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38646         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38647         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38648         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38649         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38650         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38651         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38652         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38653         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38654         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38655         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38656         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38657         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38658         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38659         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38660         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38661         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38662         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38663         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38664         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38665         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38666         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38667         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38668         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38669         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38670         (R_ARM_THM_GOT_BREL12): Likewise.
38671         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38672         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38673         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38674         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38675         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38676         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38677         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38678         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38679         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38681 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38683         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38684         __attribute_used__ to __attribute__ ((unused)).
38686 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38688         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38689         powerpc mpa.c.
38690         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38691         comment formatting.
38692         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38694 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38696         [BZ #13550]
38697         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38698         Remove macro.
38699         (ENTER): Remove both macro definitions.
38700         (LEAVE): Likewise.
38701         (CHECK_BOUNDS_LOW): Likewise.
38702         (CHECK_BOUNDS_HIGH): Likewise.
38703         (CHECK_BOUNDS_BOTH): Likewise.
38704         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38705         (RETURN_BOUNDED_POINTER): Likewise.
38706         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38707         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38708         (POP_ERRNO_LOCATION_RETURN): Likewise.
38709         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38710         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38711         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38712         macros.
38713         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38714         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38715         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38716         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38717         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38718         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38719         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38720         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38721         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38722         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38723         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38724         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38725         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38726         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38727         removed macros.
38728         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38729         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38730         macros.
38731         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38732         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38733         * sysdeps/i386/i586/memset.S (memset): Likewise.
38734         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38735         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38736         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38737         macros.
38738         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38739         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38740         Change uses of L(2) to L(out).
38741         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38742         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38743         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38744         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38745         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38746         removed macros.
38747         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38748         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38749         macros.
38750         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38751         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38752         (RETURN): Do not use macro LEAVE.
38753         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38754         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38755         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38756         * sysdeps/i386/i686/memset.S (memset): Likewise.
38757         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38758         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38759         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38760         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38761         Likewise.
38762         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38763         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38764         L(1_2) and L(1_3) into L(1).
38765         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38766         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38767         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38768         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38769         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38770         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38771         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38772         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38773         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38774         macros.
38775         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38776         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38777         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38778         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38779         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38780         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38781         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38782         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38783         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38784         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38785         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38786         * sysdeps/i386/strspn.S (strspn): Likewise.
38787         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38788         conditional code.
38789         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38790         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38791         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38792         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38793         L(1_3) into L(1_1).
38794         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38795         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38796         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38797         macros.
38798         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38800 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38802         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38803         macro.
38805 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38807         * math/atest-exp.c (exp_mpn): Remove ROUND.
38808         * math/atest-exp2.c (exp_mpn): Likewise.
38809         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38811         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38812         * stdlib/tst-tls-atexit-lib.c: Likewise.
38813         * stdlib/tst-tls-atexit.c: Likewise.
38815 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38817         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38818         and __attribute_alloc_size__.
38820 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38822         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38823         __attribute_alloc_size__.
38824         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38825         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38827 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38829         * include/programs/xmalloc.h: New file.
38830         * catgets/gencat.c: Include it.
38831         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38832         * elf/pldd.c: Likewise.
38833         * iconv/iconv_charmap.c: Likewise.
38834         * iconv/iconvconfig.c: Likewise.
38835         * iconv/strtab.c: Likewise.
38836         * locale/programs/locale.c: Likewise.
38837         * locale/programs/localedef.h: Likewise.
38838         * locale/programs/simple-hash.c: Likewise.
38839         * nscd/nscd.h: Likewise.
38840         * nss/makedb.c: Likewise.
38841         * sysdeps/generic/ldconfig.h: Likewise.
38843 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38845         * Versions.def: Add GLIBC_2.18.
38846         * include/link.h (struct link_map): New member l_tls_dtor_count.
38847         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38848         (__call_tls_dtors): Likewise.
38849         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38850         __cxa_thread_atexit_impl.
38851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38852         Likewise.
38853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38854         Likewise.
38855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38856         Likewise.
38857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38858         Likewise.
38859         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38861         Likewise.
38862         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38863         Likewise.
38864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38866         Likewise.
38867         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38868         (tests): Add test case tst-tls-atexit.
38869         (modules-names): Add shared library for tst-tls-atexit.
38870         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38871         (GLIBC_PRIVATE): Add __call_tls_dtors.
38872         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38873         for libstdc++.
38874         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38875         * stdlib/tst-tls-atexit.c: New test case.
38876         * stdlib/tst-tls-atexit-lib.c: New test case.
38878         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38880         * elf/Versions (ld): Add _dl_find_dso_for_object.
38881         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38882         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38883         (dl_open_worker): Use _dl_find_dso_for_object.
38884         * elf/dl-sym.c (do_sym): Likewise.
38885         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38887 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38889         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38890         Syntactic changes only.
38891         (_dl_runtime_profile): Do a tail-call to the resolved function.
38893 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38895         [BZ #13550]
38896         * sysdeps/x86_64/bp-asm.h: Remove file.
38897         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38898         <bp-sym.h> and <bp-asm.h>.
38899         (__clone): Do not use BP_SYM.
38900         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38901         <bp-sym.h> and <bp-asm.h>.
38902         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38903         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38904         "bp-asm.h".
38905         (_setjmp): Do not use BP_SYM.
38906         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38907         "bp-asm.h".
38908         (setjmp): Do not use BP_SYM.
38909         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38910         libc_hidden_def.
38911         (mempcpy): Do not use BP_SYM in weak_alias.
38912         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38913         "bp-asm.h".
38914         (strchr): Do not use BP_SYM.
38915         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38916         "bp-asm.h".
38917         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38918         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38919         (_start): Do not use BP_SYM.
38920         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38921         "bp-asm.h".
38922         (strcat): Do not use BP_SYM.
38923         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38924         "bp-asm.h".
38925         (STRCMP): Do not use BP_SYM.
38926         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38927         "bp-asm.h".
38928         (STRCPY): Do not use BP_SYM.
38929         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38930         "bp-asm.h".
38931         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38932         "bp-asm.h".
38933         (FUNCTION): Do not use BP_SYM.
38934         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38935         weak_alias.
38936         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38938 2013-02-17  Andreas Jaeger  <aj@suse.de>
38940         * time/Versions: Sort entries.
38941         * string/Versions: Likewise.
38942         * resolv/Versions: Likewise.
38943         * posix/Versions: Likewise.
38944         * iconv/Versions: Likewise.
38945         * elf/Versions: Likewise.
38946         * wcsmbs/Versions: Likewise.
38948 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38950         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38951         loop termination condition.
38953         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38954         variable to calculate EZ.
38955         (__sqr): Likewise.
38957         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38958         the lower precision input.
38960 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38962         [BZ #13550]
38963         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38964         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38965         (run-via-rtld-prefix): Do not handle %-bp tests.
38966         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38967         (all-object-suffixes): Remove .ob.
38968         (bppfx): Remove variable.
38969         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38970         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38971         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38972         [$(build-bounded) = yes] (libtype.ob): Likewise.
38973         * Makerules (elide-routines.ob): Remove variable.
38974         (do-tests-clean): Do not handle *-bp.out.
38975         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38976         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38977         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38978         (tests): Do not include $(tests-bp.out).
38979         (xtests): Do not include $(xtests-bp.out).
38980         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38981         [$(build-bounded) = yes] ($(addprefix
38982         $(objpfx),$(binaries-bounded))): Remove rule.
38983         ($(objpfx)%-bp.out): Remove rule.
38984         * config.make.in (build-bounded): Remove variable.
38985         * crypt/Makefile [$(build-bounded) = yes]
38986         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38987         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38988         append to variable.
38989         [$(build-bounded) = yes] (install-lib): Likewise.
38990         [$(build-bounded) = yes] (generated): Likewise.
38991         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38992         Remove rule.
38993         * intl/Makefile [$(build-bounded) = yes]
38994         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38995         * math/Makefile [$(build-bounded) = yes]
38996         ($(tests:%=$(objpfx)%-bp): Likewise.
38997         * misc/Makefile [$(build-bounded) = yes]
38998         ($(objpfx)tst-tsearch-bp): Likewise.
38999         * nptl/Makeconfig (bounded-thread-library): Remove variable.
39000         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
39001         Remove dependency.
39002         * string/Makefile (o-objects.ob): Remove variable.
39003         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
39004         (CFLAGS-.ob): Remove variable.
39005         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
39006         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
39007         both definitions of variable.
39008         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
39009         (ASFLAGS-.ob): Remove variable.
39011 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
39013         [BZ #13550]
39014         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
39015         Remove __BOUNDED_POINTERS__ from condition.
39016         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
39017         * string/bits/string2.h [!__NO_STRING_INLINES &&
39018         !__BOUNDED_POINTERS__]: Likewise.
39019         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
39020         Likewise.
39021         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
39022         Remove conditional code.
39023         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
39024         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
39025         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
39026         condition.
39028         [BZ #13550]
39029         * csu/libc-start.c: Do not include <bp-sym.h>.
39030         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
39031         * elf/dl-open.c: Do not include <bp-sym.h>.
39032         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
39033         * math/fegetenv.c: Do not include <bp-sym.h>.
39034         (fegetenv): Do not use BP_SYM in versioned symbols.
39035         * nptl/sysdeps/pthread/bits/libc-lockP.h
39036         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
39037         <bp-sym.h>.
39038         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39039         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
39040         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39041         (__pthread_mutex_destroy): Likewise.
39042         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39043         (__pthread_mutex_lock): Likewise.
39044         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39045         (__pthread_mutex_trylock): Likewise.
39046         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39047         (__pthread_mutex_unlock): Likewise.
39048         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39049         (__pthread_mutexattr_init): Likewise.
39050         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39051         (__pthread_mutexattr_destroy): Likewise.
39052         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39053         (__pthread_mutexattr_settype): Likewise.
39054         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39055         (__pthread_rwlock_init): Likewise.
39056         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39057         (__pthread_rwlock_destroy): Likewise.
39058         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39059         (__pthread_rwlock_rdlock): Likewise.
39060         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39061         (__pthread_rwlock_tryrdlock): Likewise.
39062         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39063         (__pthread_rwlock_wrlock): Likewise.
39064         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39065         (__pthread_rwlock_trywrlock): Likewise.
39066         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39067         (__pthread_rwlock_unlock): Likewise.
39068         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39069         (__pthread_key_create): Likewise.
39070         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39071         (__pthread_setspecific): Likewise.
39072         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39073         (__pthread_getspecific): Likewise.
39074         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
39075         Likewise.
39076         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39077         (_pthread_cleanup_push_defer): Likewise.
39078         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39079         (_pthread_cleanup_pop_restore): Likewise.
39080         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39081         (pthread_setcancelstate): Likewise.
39082         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
39083         <bp-sym.h>.
39084         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
39085         (memchr): Do not use BP_SYM in weak_alias.
39086         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
39087         (fegetenv): Do not use BP_SYM in versioned symbols.
39088         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
39089         (fesetenv): Do not use BP_SYM in versioned symbols.
39090         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39091         (feupdateenv): Do not use BP_SYM in versioned symbols.
39092         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39093         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39094         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
39095         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
39096         (open64): Do not use BP_SYM in weak_alias.
39097         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
39098         (fegetenv): Do not use BP_SYM in versioned symbols.
39099         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
39100         (fesetenv): Do not use BP_SYM in versioned symbols.
39101         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39102         (feupdateenv): Do not use BP_SYM in versioned symbols.
39103         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
39104         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
39105         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
39106         (feraiseexcept): Do not use BP_SYM in versioned symbols.
39107         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39108         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39109         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
39110         <bp-sym.h>.
39111         (__libc_start_main): Do not use BP_SYM.
39113 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39115         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
39116         redundant return line.
39117         (norm): Likewise.
39118         (denorm): Likewise.
39119         (dbl_mp): Likewise.
39120         (sub_magnitudes): Likewise.
39121         (__add): Likewise.
39122         (__sub): Likewise.
39123         (__mul): Likewise.
39124         (__inv): Likewise.
39125         (__dvd): Likewise.
39126         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
39127         (norm): Likewise.
39128         (denorm): Likewise.
39129         (dbl_mp): Likewise.
39130         (sub_magnitudes): Likewise.
39131         (__add): Likewise.
39132         (__sub): Likewise.
39133         (__mul): Likewise.
39134         (__inv): Likewise.
39135         (__dvd): Likewise.
39137         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
39138         instead of __mul.
39139         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39140         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
39141         (cc32): Likewise.
39143         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
39144         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
39145         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
39146         of __mul for squares.
39147         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
39148         function
39149         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
39150         Likewise.
39151         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
39152         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39154 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
39156         [BZ #13550]
39157         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
39158         code.
39159         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
39160         prototype or function definition.  Rename ubp_* variables and
39161         parameters.  Remove argv definitions conditional on
39162         [__BOUNDED_POINTERS__].
39163         * debug/backtrace.c (__backtrace): Do not use __unbounded.
39164         * elf/dl-runtime.c (_dl_fixup): Likewise.
39165         * include/set-hooks.h (RUN_HOOK): Likewise.
39166         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
39167         definition.
39168         * string/strcpy.c (strcpy): Do not use __unbounded.
39169         * sysdeps/generic/frame.h (struct layout): Likewise.
39170         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
39171         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
39172         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
39173         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
39174         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
39175         (__backtrace): Likewise.
39176         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
39177         use __ptrvalue.
39178         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
39179         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39180         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
39181         Likewise.
39182         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
39183         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
39184         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39185         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39186         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
39187         Do not use __unbounded.
39188         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
39189         Rename __unboundedrlimits parameter to rlimits in prototype.
39190         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
39191         Do not use __unbounded.
39192         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
39193         not use __ptrvalue.
39194         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39195         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
39196         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39197         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
39198         __ptrvalue or __unbounded.
39199         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
39200         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
39201         use __unbounded.
39202         (__new_msgctl): Do not use __ptrvalue.
39203         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
39204         __unbounded.
39205         (__libc_msgrcv): Do not use __ptrvalue.
39206         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
39207         startup_info): Do not use __unbounded.
39208         (__libc_start_main): Likewise.  Rename ubp_* variables and
39209         parameters.  Remove argv definitions conditional on
39210         [__BOUNDED_POINTERS__].
39211         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
39212         __ptrvalue.
39213         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
39214         use __unbounded.
39215         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
39216         or __ptrvalue.
39217         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
39218         use __unbounded.
39219         (__new_shmctl): Do not use __ptrvalue.
39220         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
39221         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
39222         Likewise.
39223         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
39224         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
39225         (__libc_sigaction): Likewise.
39226         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
39227         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
39228         Likewise.
39229         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39231 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
39233         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
39235         * string/mempcpy.c: Implement by calling memcpy.
39237 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39239         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
39241         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
39242         evaluation.
39244         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
39245         values in the mantissa.
39247         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
39248         minimize writes to Z.
39249         (sub_magnitudes): Simplify code a bit.
39251 2013-02-12  Roland McGrath  <roland@hack.frob.com>
39253         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
39254         from the message.  The linker prefixes all warnings with that already.
39256 2013-02-12  Andreas Schwab  <schwab@suse.de>
39258         [BZ #15078]
39259         * posix/regexec.c (extend_buffers): Add parameter min_len.
39260         (check_matching): Pass minimum needed length.
39261         (clean_state_log_if_needed): Likewise.
39262         (get_subexp): Likewise.
39263         * posix/Makefile (tests): Add bug-regex34.
39264         (bug-regex34-ENV): Define.
39265         * posix/bug-regex34.c: New file.
39267         [BZ #11561]
39268         * posix/regcomp.c (parse_bracket_exp): When looking up collating
39269         elements compare against the byte sequence of it, not its name.
39270         * posix/Makefile (tests): Add bug-regex35.
39271         (bug-regex35-ENV): Define.
39272         * posix/bug-regex35.c: New file.
39274 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39276         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
39277         comment.
39278         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
39279         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
39280         (CHECK_EOL): Add undef.
39282 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
39284         * bits/stdlib-bsearch.h: New file.
39285         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
39286         * stdlib/stdlib.h: Likewise.
39288 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39290         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
39291         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
39292         declaration.
39293         * manual/search.texi (Array Search Function): Add missing const in
39294         lfind prototype.
39295         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
39296         declaration to use rlim_t.
39297         (Basic Scheduling Functions): Remove erroneous const from
39298         sched_getparam prototype.  Remove erroneous * from
39299         sched_get_priority_max and sched_get_priority_min prototypes.
39300         (Resource Usage): Fix summary @comment on vtimes to refer to
39301         sys/vtimes.h rather than vtimes.h.
39302         Add missing *s in vtimes prototype.
39303         (Limits on Resources): Fix ulimit prototype to return long int.
39304         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
39305         prototypes to use long int rather than double.
39306         (BSD Random): Fix initstate and setstate to use char *, not void *.
39307         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
39308         prototype to make second argument 'struct aiocb64 *const[]'.
39309         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
39310         (Status of AIO Operations): Remove erroneous const in aio_return and
39311         aio_return64 prototypes.
39312         (Synchronizing I/O): Fix sync prototype to return void.
39313         * manual/startup.texi (Suboptions): Remove an erroneous const in
39314         getsubopt prototype.
39315         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
39316         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
39317         use size_t rather than int.
39318         (Scanning All Users): Likewise for getpwent_r.
39319         (Setting Groups): Add missing const to setgroups prototype.
39320         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
39321         * manual/socket.texi (Host Names): Fix gethostbyaddr and
39322         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
39323         'const void *' rather than 'const char *'.
39324         (Host Address Functions): Likewise for inet_ntop.
39325         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
39326         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
39327         ssize_t for return value.
39328         (Sending Data): Likewise for send, sendto, sendmsg.
39329         (Socket Option Functions): Add a missing const in setsockopt prototype.
39330         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
39331         use wchar_t for the argument.
39332         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
39333         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
39334         take no arguments.
39335         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
39336         double/float/long double for second argument.
39337         Fix return types of significand, significandf, significandl.
39338         * manual/filesys.texi (Setting Permissions): Use mode_t for second
39339         argument in fchmod prototype.
39340         (File Owner): Use uid_t and gid_t in fchown prototype.
39341         (File Times): Add const to utimes, futimes, and lutimes prototypes.
39342         (Making Special Files): Use mode_t and dev_t in mknod prototype.
39343         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
39344         use 'const struct dirent **' as argument types to CMP function pointer
39345         argument.
39346         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
39347         (File Times): Fix summary magic @comment for struct utimbuf and utime
39348         to refer to utime.h, not time.h.
39349         * manual/string.texi (Argz Functions): Add missing const in
39350         argz_extract and argz_next prototypes.
39351         (Finding Tokens in a String): Likewise for basename.
39352         (String/Array Comparison): Fix typo in wcscasecmp prototype.
39353         (Copying and Concatenation): Fix typo in wmemmove prototype.
39354         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
39355         (Signal Stack): Remove erroneous const in sigstack prototype.
39356         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
39357         prototype.
39358         (Simple Calendar Time): Likewise for stime.
39359         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
39360         prototype.
39361         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
39362         say sys/sysctl.h instead.
39363         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
39364         and vsyslog prototypes.
39366 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39368         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
39369         Remove.
39371 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39373         * misc/sys/mman.h: Fix typo in mremap comment.
39375 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39377         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
39378         the '\0' terminator.
39380 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39382         [BZ #13550]
39383         * debug/segfault.c: Don't include <bp-checks.h>.
39384         * sysdeps/generic/bp-checks.h: Remove file.
39385         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
39386         (__GETDENTS): Don't use CHECK_N.
39387         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
39388         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39389         (__getgroups): Don't use CHECK_N.
39390         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
39391         (setgroups): Don't use CHECK_N.
39392         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
39393         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
39394         (__libc_msgrcv): Don't use CHECK_N.
39395         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
39396         (__libc_msgsnd): Don't use CHECK_N.
39397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
39398         <bp-checks.h>.
39399         (__libc_pread): Don't use CHECK_N.
39400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
39401         include <bp-checks.h>.
39402         (__libc_pread64): Don't use CHECK_N.
39403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
39404         include <bp-checks.h>.
39405         (__libc_pwrite): Don't use CHECK_N.
39406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
39407         include <bp-checks.h>.
39408         (__libc_pwrite64): Don't use CHECK_N.
39409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
39410         <bp-checks.h>.
39411         (__libc_pread): Don't use CHECK_N.
39412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
39413         include <bp-checks.h>.
39414         (__libc_pread64): Don't use CHECK_N.
39415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
39416         include <bp-checks.h>.
39417         (__libc_pwrite): Don't use CHECK_N.
39418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
39419         include <bp-checks.h>.
39420         (__libc_pwrite64): Don't use CHECK_N.
39421         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
39422         (do_pread): Don't use CHECK_N.
39423         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
39424         (do_pread64): Don't use CHECK_N.
39425         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
39426         (do_pwrite): Don't use CHECK_N.
39427         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
39428         (do_pwrite64): Don't use CHECK_N.
39429         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
39430         (__libc_readv): Don't use CHECK_N.
39431         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
39432         (semop): Don't use CHECK_N.
39433         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
39434         <bp-checks.h>.
39435         (semtimedop): Don't use CHECK_N.
39436         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
39437         (__libc_pread): Don't use CHECK_N.
39438         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
39439         <bp-checks.h>.
39440         (__libc_pread64): Don't use CHECK_N.
39441         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
39442         <bp-checks.h>.
39443         (__libc_pwrite): Don't use CHECK_N.
39444         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
39445         <bp-checks.h>.
39446         (__libc_pwrite64): Don't use CHECK_N.
39447         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
39448         <bp-checks.h>.
39449         (__libc_msgrcv): Don't use CHECK_N.
39450         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
39451         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
39452         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
39453         (__libc_writev): Don't use CHECK_N.
39455 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39457         * string/strcpy.c: Removed unused variable.
39459         * Makeconfig (+sysdep-includes): Define with := rather than =.
39460         Use an existing include/ subdir of each sysdeps dir before it.
39462 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39464         * nscd/connection.c (register_traced_file): Comment function.
39465         [HAVE_INOTIFY] (union __inev): Define.
39466         [HAVE_INOTIFY] (inotify_check_files): New function.
39467         [HAVE_INOTIFY] (clear_db_cache): Likewise.
39468         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
39469         clear_db_cache.
39470         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
39472 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39474         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
39475         loaded if not already and that a failure is permanent.
39477 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39479         [BZ #15006]
39480         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
39481         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
39483 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39485         [BZ #13550]
39486         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
39487         (CHECK_1_NULL_OK): Likewise.
39488         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
39489         (__fxstat): Do not use CHECK_1.
39490         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
39491         <bp-checks.h>.
39492         (___fxstat64): Do not use CHECK_1.
39493         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39494         <bp-checks.h>.
39495         (__fxstatat): Do not use CHECK_1.
39496         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39497         <bp-checks.h>.
39498         (__fxstatat64): Do not use CHECK_1.
39499         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
39500         <bp-checks.h>.
39501         (__fxstat): Do not use CHECK_1.
39502         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39503         <bp-checks.h>.
39504         (__fxstatat): Do not use CHECK_1.
39505         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39506         <bp-checks.h>.
39507         (__getresgid): Do not use CHECK_1.
39508         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39509         <bp-checks.h>.
39510         (__getresuid): Do not use CHECK_1.
39511         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
39512         <bp-checks.h>.
39513         (__lxstat): Do not use CHECK_1.
39514         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39515         <bp-checks.h>.
39516         (__old_msgctl): Do not use CHECK_1.
39517         (__new_msgctl): Likewise.
39518         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
39519         <bp-checks.h>.
39520         (__new_setrlimit): Do not use CHECK_1.
39521         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39522         <bp-checks.h>.
39523         (__old_shmctl): Do not use CHECK_1.
39524         (__new_shmctl): Likewise.
39525         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
39526         <bp-checks.h>.
39527         (__xstat): Do not use CHECK_1.
39528         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
39529         (__lxstat): Do not use CHECK_1.
39530         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
39531         <bp-checks.h>.
39532         (___lxstat64): Do not use CHECK_1.
39533         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
39534         (__old_msgctl): Do not use CHECK_1.
39535         (__new_msgctl): Likewise.
39536         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
39537         <bp-checks.h>.
39538         (__gettimeofday): Do not use CHECK_1.
39539         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
39540         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
39541         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
39542         <bp-checks.h>.
39543         (__gettimeofday): Do not use CHECK_1.
39544         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
39545         (__old_shmctl): Do not use CHECK_1_NULL_OK.
39546         (__new_shmctl): Do not use CHECK_1.
39547         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
39548         <bp-checks.h>.
39549         (do_sigtimedwait): Do not use CHECK_1.
39550         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
39551         <bp-checks.h>.
39552         (do_sigwaitinfo): Do not use CHECK_1.
39553         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
39554         <bp-checks.h>.
39555         (msgctl): Do not use CHECK_1.
39556         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
39557         <bp-checks.h>.
39558         (shmctl): Do not use CHECK_1.
39559         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
39560         (ustat): Do not use CHECK_1.
39561         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
39562         <bp-checks.h>.
39563         (__fxstat): Do not use CHECK_1.
39564         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39565         <bp-checks.h>.
39566         (__fxstatat): Do not use CHECK_1.
39567         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
39568         <bp-checks.h>.
39569         (__lxstat): Do not use CHECK_1.
39570         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
39571         <bp-checks.h>.
39572         (__xstat): Do not use CHECK_1.
39573         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
39574         (__xstat): Do not use CHECK_1.
39575         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
39576         (___xstat64): Do not use CHECK_1.
39578         [BZ #13550]
39579         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
39580         definitions.
39581         (CHECK_BOUNDS_HIGH): Likewise.
39582         * string/strcpy.c: Do not include <bp-checks.h>.
39583         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
39585 2013-02-07  Roland McGrath  <roland@hack.frob.com>
39587         * nscd/nscd-client.h (__nscd_drop_map_ref):
39588         Add __attribute__ ((unused)).
39589         * nis/nss-nisplus.h (niserr2nss): Likewise.
39591         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
39592         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
39594         * csu/libc-tls.c (init_static_tls, init_slotinfo):
39595         Remove inline keyword.
39596         * include/rounding-mode.h (round_away): Likewise.
39597         * libio/wfileops.c (adjust_wide_data): Likewise.
39598         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
39599         (__m128i_strloadu_tolower): Likewise.
39600         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39601         (__m128i_strloadu_tolower): Likewise.
39602         * time/mktime.c (ydhms_diff): Likewise.
39603         * locale/elem-hash.h (elem_hash): Likewise.
39604         * locale/setlocale.c (setdata): Likewise.
39605         * posix/regex_internal.h (re_string_char_size_at): Likewise.
39606         (re_string_wchar_at): Likewise.
39607         (bitset_not, bitset_merge, bitset_mask): Likewise.
39608         [!(__GNUC__ > 3)] (inline): Remove macro.
39609         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39610         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39611         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39612         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39613         * string/memcmp.c (memcmp_bytes): Likewise.
39614         * locale/programs/locarchive.c (compute_hashval): Likewise.
39615         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39616         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39617         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39618         * nss/getent.c (print_rpc, print_protocols): Likewise.
39619         (print_passwd, print_group, print_aliases): Likewise.
39620         * nis/nss-nisplus.h (niserr2nss): Likewise.
39621         * nscd/connections.c (restart_p): Likewise.
39622         Change return type to bool.
39624 2013-02-05  Roland McGrath  <roland@hack.frob.com>
39626         * Makeconfig (all-Depend-files): Add existing
39627         $(sorted-subdirs:=/Depend) files.
39628         (all-subdirs): Remove nss.
39629         * sysdeps/unix/inet/Subdirs: Add it here instead.
39630         * hesiod/Depend: New file.
39632         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39633         instead of calling alloca.
39635         * io/lseek.c (__lseek): Rename to __libc_lseek.
39636         Define __lseek as an alias.
39638         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39640 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
39642         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39643         else clause and remove check for non-standard endianness.
39645 2013-02-04  David S. Miller  <davem@davemloft.net>
39647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39649 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39651         [BZ #13550]
39652         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39653         (__ubp_memchr): Remove prototype.
39654         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39655         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39656         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39657         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39658         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39659         Remove alias.
39660         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39661         (__ubp_memchr): Likewise.
39662         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39663         (__ubp_memchr): Likewise.
39664         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39665         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39666         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39667         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39668         CHECK_STRING.
39669         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39670         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39671         (__getcwd): Do not use CHECK_STRING.
39672         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39673         <bp-checks.h>.
39674         (__real_chown): Do not use CHECK_STRING.
39675         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39676         <bp-checks.h>.
39677         (fchownat): Do not use CHECK_STRING.
39678         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39679         CHECK_STRING.
39680         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39681         <bp-checks.h>.
39682         (__lchown): Do not use CHECK_STRING.
39683         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39684         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39685         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39686         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39688         include <bp-checks.h>.
39689         (truncate64): Do not use CHECK_STRING.
39690         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39691         <bp-checks.h>.
39692         (__real_chown): Do not use CHECK_STRING.
39693         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39694         <bp-checks.h>.
39695         (__lchown): Do not use CHECK_STRING.
39696         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39697         <bp-checks.h>.
39698         (__chown): Do not use CHECK_STRING.
39699         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39700         <bp-checks.h>.
39701         (truncate64): Do not use CHECK_STRING.
39702         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39703         Likewise.
39704         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39705         (__xmknod): Do not use CHECK_STRING.
39706         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39707         <bp-checks.h>.
39708         (__xmknodat): Do not use CHECK_STRING.
39709         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39710         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39712 2013-02-04  Andreas Schwab  <schwab@suse.de>
39714         [BZ #14142]
39715         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39716         * include/netdb.h: Likewise for h_errno.
39717         * elf/tst-stackguard1.c: Include <tls.h>.
39719 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39721         * elf/link.h (struct link_map): Extend the l_addr comment.
39722         * include/link.h (struct link_map): Likewise.
39724 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39726         [BZ #13550]
39727         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39728         (BOUNDED_1): Remove macro.
39729         * debug/backtrace.c: Don't include <bp-checks.h>.
39730         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39731         (__backtrace): Likewise.
39732         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39733         <bp-checks.h>.
39734         (__backtrace): Don't use BOUNDED_1.
39735         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39736         <bp-checks.h>.
39737         (__backtrace): Don't use BOUNDED_1.
39738         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39739         (__backtrace): Don't use BOUNDED_1.
39740         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39741         (shmat): Don't use BOUNDED_N.
39743 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39745         [BZ #13550]
39746         * sysdeps/generic/bp-start.h: Remove file.
39747         * csu/libc-start.c: Don't include <bp-start.h>.
39748         (LIBC_START_MAIN): Set up __environ directly instead of using
39749         INIT_ARGV_and_ENVIRON.
39750         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39751         <bp-start.h>.
39753         [BZ #13550]
39754         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39755         definitions.
39756         (CHECK_FCNTL): Likewise.
39757         (CHECK_N_PAGES): Likewise.
39759         [BZ #13550]
39760         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39761         definitions.
39762         (CHECK_SIGSET_NULL_OK): Likewise.
39763         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39764         <bp-checks.h>.
39765         (sigpending): Don't use CHECK_SIGSET.
39766         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39767         <bp-checks.h>.
39768         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39769         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39770         <bp-checks.h>.
39771         (do_sigsuspend): Don't use CHECK_SIGSET.
39772         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39773         use CHECK_SIGSET.
39774         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39775         (do_sigwait): Don't use CHECK_SIGSET.
39776         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39777         use CHECK_SIGSET.
39778         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39779         include <bp-checks.h>.
39780         (sigpending): Don't use CHECK_SIGSET.
39781         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39782         include <bp-checks.h>.
39783         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39784         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39785         <bp-checks.h>.
39786         (sigpending): Don't use CHECK_SIGSET.
39787         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39788         <bp-checks.h>.
39789         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39791         [BZ #13550]
39792         * sysdeps/generic/bp-semctl.h: Remove file.
39793         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39794         <bp-checks.h> and <bp-semctl.h>.
39795         (__old_semctl): Don't use CHECK_SEMCTL.
39796         (__new_semctl): Likewise.
39797         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39798         and <bp-semctl.h>.
39799         (__old_semctl): Don't use CHECK_SEMCTL.
39800         (__new_semctl): Likewise.
39801         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39802         <bp-checks.h> and <bp-semctl.h>.
39803         (__old_semctl): Don't use CHECK_SEMCTL.
39804         (__new_semctl): Likewise.
39805         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39806         <bp-checks.h> and <bp-semctl.h>.
39807         (semctl): Don't use CHECK_SEMCTL.
39809         [BZ #13550]
39810         * Makerules (elide-bp-thunks): Remove variable.
39811         (elide-routines.oS): Don't use $(elide-bp-thunks).
39812         (elide-routines.os): Likewise.
39813         (elide-routines.o): Likewise.
39814         (elide-routines.op): Likewise.
39815         (elide-routines.og): Likewise.
39816         (objects): Don't use $(bp-thunks).
39817         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39818         include.
39819         (common-generated): Do not add s-proto-bp.d.
39820         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39821         (int): Likewise.
39822         (typ): Likewise.
39823         Do not generate makefile rules for bounded-pointer thunks.
39824         * sysdeps/generic/bp-thunks.h: Remove file.
39825         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39826         * sysdeps/unix/s-proto-bp.S: Likewise.
39828         [BZ #15062]
39829         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39830         parts of result separately when argument is not close to line from
39831         -i to i and one part of argument is small.
39832         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39833         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39834         * math/libm-test.inc (cacos_test): Add more tests.
39835         (casin_test): Likewise.
39836         (casinh_test): Likewise.
39837         * sysdeps/i386/fpu/libm-test-ulps: Update.
39838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39840 2013-01-31  David S. Miller  <davem@davemloft.net>
39842         * po/de.po: Update from translation team.
39844 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39846         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39848 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39850         * configure.in (_AC_PROG_CC_C89): New definition.
39851         * configure: Regenerate.
39853         * configure.in (AC_PROG_CPP): New definition.
39854         * configure: Regenerate.
39856 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39858         * debug/tst-backtrace.h: New file.
39859         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39860         (ret): Remove variable.
39861         (x): Likewise.
39862         (FAIL): Remove macro.
39863         (NO_INLINE): Likewise.
39864         (fn1): Use match function instead of strstr.
39865         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39866         (ret): Remove variable.
39867         (x): Likewise.
39868         (FAIL): Remove macro.
39869         (NO_INLINE): Likewise.
39870         (fn): Use match function instead of strstr.
39871         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39872         (ret): Remove variable.
39873         (x): Likewise.
39874         (FAIL): Remove macro.
39875         (NO_INLINE): Likewise.
39876         (handle_signal): Use match function instead of strstr.
39877         * debug/tst-backtrace5.c: Include tst-backtrace.h.
39878         (ret): Remove variable.
39879         (x): Likewise.
39880         (FAIL): Remove macro.
39881         (NO_INLINE): Likewise.
39882         (handle_signal): Use match function instead of strstr.
39884 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39886         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39888 2013-01-23  David S. Miller  <davem@davemloft.net>
39890         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39891         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39892         argument of CAS if possible.
39893         * sysdeps/sparc/sparc64/bits/atomic.h
39894         (__arch_compare_and_exchange_val_32_acq): Likewise.
39895         (__arch_compare_and_exchange_val_64_acq): Likewise.
39897 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39899         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39900         * sysdeps/posix/ulimit.c: ... this.
39901         Include <limits.h>.
39902         * sysdeps/unix/bsd/ulimit.c: Remove file.
39904 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39906         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39907         (LDFLAGS-tst-array5): Likewise.
39909 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39911         [BZ #15036]
39912         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39913         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39914         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39915         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39917 2013-01-21  David S. Miller  <davem@davemloft.net>
39919         * sysdeps/sparc/backtrace.c: New file.
39920         * sysdeps/sparc/sparc32/backtrace.h: New file.
39921         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39922         * sysdeps/sparc/sparc64/backtrace.h: New file.
39923         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39924         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39925         -funwind-tables.
39927 2013-01-21  Andreas Schwab  <schwab@suse.de>
39929         [BZ #15020]
39930         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39931         closed its stdout.
39933 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
39935         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39936         "mpa2.h".
39937         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39939 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39940             Mark Mitchell  <mark@codesourcery.com>
39941             Tom de Vries  <tom@codesourcery.com>
39942             Paul Pluzhnikov  <ppluzhnikov@google.com>
39944         * debug/tst-backtrace2.c: New file.
39945         * debug/tst-backtrace3.c: Likewise.
39946         * debug/tst-backtrace4.c: Likewise.
39947         * debug/tst-backtrace5.c: Likewise.
39948         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39949         (CFLAGS-tst-backtrace3.c): Likewise.
39950         (CFLAGS-tst-backtrace4.c): Likewise.
39951         (CFLAGS-tst-backtrace5.c): Likewise.
39952         (LDFLAGS-tst-backtrace2): Likewise.
39953         (LDFLAGS-tst-backtrace3): Likewise.
39954         (LDFLAGS-tst-backtrace4): Likewise.
39955         (LDFLAGS-tst-backtrace5): Likewise.
39956         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39957         tst-backtrace4 and tst-backtrace5.
39959 2013-01-18  Anton Blanchard  <anton@samba.org>
39960             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39962         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39963         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39964         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39965         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39967         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39968         "+r" and remove output regs list as redundant.  Add explicit inline
39969         asm to specify register of return val to work around compiler codegen
39970         bug.  Remove (int) cast on return value.  Add return type parameter to
39971         use in macro so that this macro does not truncate return value for
39972         64-bit values.
39973         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39974         pass to INTERNAL_VSYSCALL_NCS.
39975         (INLINE_VSYSCALL): Add 'long int' as return type to
39976         INTERNAL_VSYSCALL_NCS macro invocation.
39977         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39978         INTERNAL_VSYSCALL_NCS macro invocation.
39979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39981 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39983         [BZ #14496]
39984         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39985         Fix application of SIMD FP exception mask.
39987         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39988         mp_no from a power of two.
39989         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39990         __mpexp_twomm1.  Use __pow_mp.
39992         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39993         multiplication.
39995 2013-01-17  David S. Miller  <davem@davemloft.net>
39997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39999 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
40001         [BZ #15023]
40002         * include/complex.h: Condition contents on [!_COMPLEX_H].
40003         (__kernel_casinhf): New prototype.
40004         (__kernel_casinh): Likewise.
40005         (__kernel_casinhl): Likewise.
40006         * math/Makefile (libm_calls): Add k_casinh.
40007         * math/k_casinh.c: New file.
40008         * math/k_casinhf.c: Likewise.
40009         * math/k_casinhl.c: Likewise.
40010         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
40011         finite nonzero arguments.
40012         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
40013         finite nonzero arguments.
40014         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
40015         finite nonzero arguments.
40016         * math/s_casinh.c: Do not include <float.h>.
40017         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
40018         * math/s_casinhf.c: Do not include <float.h>.
40019         (__casinhf): Move code for finite nonzero arguments to
40020         k_casinhf.c.
40021         * math/s_casinhl.c: Do not include <float.h>.
40022         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
40023         redefine.
40024         (__casinhl): Move code for finite nonzero arguments to
40025         k_casinhl.c.
40026         * math/libm-test.inc (cacos_test): Add more tests.
40027         * sysdeps/i386/fpu/libm-test-ulps: Update.
40028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40030 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
40032         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
40033         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
40034         [!HAVE_MREMAP]: Remove [defined linux] case.
40035         * malloc/arena.c: Do not include <malloc-sysdep.h>.
40037 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40039         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
40041 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
40043         * elf/elf.h (R_386_SIZE32): New relocation.
40044         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
40045         R_386_SIZE32.
40046         (elf_machine_rela): Likewise.
40047         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40048         R_X86_64_SIZE64 and R_X86_64_SIZE32.
40050 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
40052         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
40053         (FP_FAST_FMA): Do not define.
40054         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
40055         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
40056         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
40057         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
40058         !_SOFT_FLOAT]: Likewise.
40059         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
40060         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
40061         value.
40062         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
40063         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
40064         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
40065         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
40066         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
40067         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
40068         file.
40070 2013-01-16  Andreas Schwab  <schwab@suse.de>
40072         [BZ #14327]
40073         * include/stdlib.h (__mktemp): Add declaration.
40074         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
40075         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
40077 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40079         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
40080         definitions.
40081         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40082         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
40083         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
40084         definitions here.
40085         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
40086         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
40087         definitions.
40088         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
40089         and ONE.
40090         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
40091         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
40092         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
40093         definitions.
40094         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
40095         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
40096         definitions.
40097         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40099         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
40101 2013-01-15  David S. Miller  <davem@davemloft.net>
40103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40104         trunc{,f} to libm-sysdep_routes.
40105         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
40107         file.
40108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
40109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
40110         file.
40111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
40112         file.
40113         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
40114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
40115         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
40116         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
40117         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
40118         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
40119         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
40120         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
40122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40123         nearbyint{,f} to libm-sysdep_routes.
40124         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
40126         New file.
40127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
40128         file.
40129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
40130         New file.
40131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
40132         file.
40133         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
40134         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
40135         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
40136         file.
40137         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
40138         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
40139         file.
40140         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
40141         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
40142         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
40144         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40145         libc_feholdexcept and libc_fesetenv.
40147 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
40149         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
40151 2013-01-14  David S. Miller  <davem@davemloft.net>
40153         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
40154         (SPARC_ASM_VIS2_IFUNC): Likewise.
40155         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
40156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
40157         use of 'siam' instruction.
40158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
40159         Likewise.
40160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
40161         Likewise.
40162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
40163         Likewise.
40164         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
40165         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
40166         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
40167         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
40168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
40169         file.
40170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
40171         file.
40172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
40173         file.
40174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
40175         file.
40176         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
40177         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
40178         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
40179         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
40180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
40181         new VIS2 routines.
40182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40185         Likewise.
40186         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40187         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40188         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40189         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
40191         routines to libm-sysdep_routines.
40192         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40195         fdim/fdimf to libm-sysdep_routines.
40196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
40197         file.
40198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
40199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
40200         file.
40201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
40202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
40203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
40204         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
40205         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
40206         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
40207         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
40209 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40211         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
40212         to optimize copies.
40214         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
40215         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40216         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40218         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
40219         local variable MPTWO.
40220         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40221         Likewise.
40223 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40225         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
40226         GLOB_NOESCAPE.
40228 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40230         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
40232 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40234         * manual/pattern.texi (glob_t): Document gl_flags.
40235         (glob64_t): Likewise.
40237 2013-01-11  David S. Miller  <davem@davemloft.net>
40239         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
40240         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
40241         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
40242         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
40243         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
40244         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
40245         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
40246         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
40247         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
40248         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
40249         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
40250         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
40251         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
40253         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40254         sparc V9 rather than using V8 code.
40255         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40256         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40258         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40259         Move to...
40260         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
40261         Here.
40263 2013-01-11  Roland McGrath  <roland@hack.frob.com>
40265         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
40266         not in the main loop.
40267         * configure: Regenerated.
40269 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
40271         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
40272         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
40273         to just #else.
40274         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
40275         [!__GLIBC_HAVE_LONG_LONG] case.
40276         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
40277         condition to just #else.
40278         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
40279         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
40280         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
40281         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
40282         unconditional.
40283         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
40284         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40285         #elif condition to just #else.
40286         * sysdeps/unix/sysv/linux/sys/sysmacros.h
40287         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
40288         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40289         #elif condition to just #else.
40291 2013-01-11  Steve Ellcey  <sellcey@mips.com>
40293         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
40294         (EF_MIPS_ARCH_64): Fix value.
40295         (EF_MIPS_ARCH_32R2): New.
40296         (EF_MIPS_ARCH_64R2): New.
40298 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
40300         * Makeconfig (+link-pie-before-libc): New.
40301         (+link-pie-after-libc): Likewise.
40302         (+link-pie-tests): Likewise.
40303         (+link-pie): Rewritten.
40304         (link-before-libc): Remove $(config-LDFLAGS).
40305         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
40306         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
40307         (config-LDFLAGS): Renamed to ...
40308         (rtld-LDFLAGS): This.
40309         (rtld-tests-LDFLAGS): New macro.
40310         (link-libc-rpath-link): Likewise.
40311         (link-libc-tests-rpath-link): Likewise.
40312         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
40313         (link-libc): Prepand $(link-libc-rpath-link).
40314         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
40315         (test-program-prefix): New macro.
40316         (test-via-rtld-prefix): Likewise.
40317         (test-program-cmd): Likewise.
40318         (host-test-program-cmd): Likewise.
40319         * Makefile ($(common-objpfx)testrun.sh): Replace
40320         $(run-program-prefix) with $(test-program-prefix).
40321         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
40322         $(rtld-LDFLAGS).
40323         ($(common-objpfx)shlib.lds): Likewise.
40324         (build-module-helper): Likewise.
40325         ($(common-objpfx)format.lds): Likewise.
40326         * Rules (binaries-pie-tests): New.
40327         (binaries-pie-notests): Likewise.
40328         (binaries-pie): Rewritten.
40329         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
40330         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
40331         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
40332         (make-test-out): Replace $(host-built-program-cmd) with
40333         $(host-test-program-cmd).
40334         * config.make.in (build-hardcoded-path-in-tests): New variable.
40335         * configure.in (--enable-hardcoded-path-in-tests): New configure
40336         option.
40337         (hardcoded_path_in_tests): New AC_SUBST.
40338         * configure: Regenerated.
40339         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
40340         $(built-program-cmd) with $(test-program-cmd).
40341         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
40342         (test_program_cmd): This.
40343         * elf/Makefile ($(objpfx)order.out): Run test with
40344         $(test-program-prefix).
40345         ($(objpfx)order2.out): Likewise.
40346         ($(objpfx)tst-initorder.out): Likewise.
40347         ($(objpfx)tst-initorder2.out): Likewise.
40348         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
40349         $(test-program-cmd).
40350         ($(objpfx)tst-array1-static.out): Likewise.
40351         ($(objpfx)tst-array2.out): Likewise.
40352         ($(objpfx)tst-array3.out): Likewise.
40353         ($(objpfx)tst-array4.out): Likewise.
40354         ($(objpfx)tst-array5.out): Likewise.
40355         ($(objpfx)tst-array5-static.out): Likewise.
40356         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
40357         $(test-program-cmd).
40358         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
40359         $(run-program-prefix) with $(test-program-prefix).
40360         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
40361         (test_program_prefix): This.
40362         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
40363         $(run-program-prefix) with $(test-program-prefix).
40364         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
40365         (test_program_prefix): This.
40366         * iconvdata/tst-tables.sh: Likewise.
40367         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
40368         $(run-program-prefix) with $(test-program-prefix).
40369         ($(objpfx)tst-translit.out): Likewise.
40370         ($(objpfx)tst-gettext2.out): Likewise.
40371         ($(objpfx)tst-gettext4.out): Likewise.
40372         ($(objpfx)tst-gettext6.out): Likewise.
40373         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
40374         (test_program_prefix): This.
40375         * intl/tst-gettext2.sh: Likewise.
40376         * intl/tst-gettext4.sh  Likewise.
40377         * intl/tst-gettext6.sh: Likewise.
40378         * intl/tst-translit.sh: Likewise.
40379         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
40380         with $(test-program-cmd).
40381         * libio/Makefile ($(objpfx)test-freopen.out): Replace
40382         $(run-program-prefix) with $(test-program-prefix).
40383         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
40384         (test_program_prefix): This.
40385         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
40386         $(run-program-prefix) with $(test-program-prefix).
40387         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
40388         (test_program_prefix): This.
40389         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
40390         * posix/Makefile ($(objpfx)globtest.out): Replace
40391         $(run-via-rtld-prefix) and $(test-wrapper) with
40392         $(test-program-prefix) and $(test-via-rtld-prefix).
40393         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
40394         $(test-program-prefix).
40395         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
40396         $(host-test-program-cmd).
40397         (tst-spawn-ARGS): Likewise.
40398         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
40399         $(test-program-prefix).
40400         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
40401         (test_via_rtld_prefix): This.
40402         (test_wrapper): Renamed to ...
40403         (test_program_prefix): This.
40404         (run_program_prefix): Replaced by test_program_prefix.
40405         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
40406         (test_program_prefix): This.
40407         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
40408         with $(host-test-program-cmd).
40409         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
40410         $(run-program-prefix) with $(test-program-prefix).
40411         ($(objpfx)tst-printf.out): Likewise.
40412         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
40413         $(test-program-cmd).
40414         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
40415         (test_program_prefix): This.
40416         * stdio-common/tst-unbputc.sh: Likewise.
40417         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
40418         $(run-program-prefix) with $(test-program-prefix).
40419         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
40420         (test_program_prefix): This.
40421         * string/Makefile ($(objpfx)tst-svc.out):  Replace
40422         $(built-program-cmd) with $(test-program-cmd).
40424 2013-01-11  Andreas Jaeger  <aj@suse.de>
40426         [BZ #15003]
40427         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
40428         value. Sync with Linux 3.7.
40430 2013-01-10  David S. Miller  <davem@davemloft.net>
40432         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
40433         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40434         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40436 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40438         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
40439         never set.
40440         * configure: Regenerated.
40442 2013-01-10  David S. Miller  <davem@davemloft.net>
40444         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40445         sparc V9 rather than using V8 code.
40446         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40447         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40449 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40451         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
40452         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
40453         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
40454         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
40455         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
40456         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
40457         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
40458         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
40459         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
40460         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
40461         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
40462         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
40463         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
40464         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
40465         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
40466         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
40467         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
40468         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
40469         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
40470         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
40471         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
40472         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
40473         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
40474         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
40475         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
40476         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
40477         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
40479 2013-01-10  David S. Miller  <davem@davemloft.net>
40481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40483 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40485         * posix/Makefile (tests-static): New variable.
40486         (tests): Add $(tests-static).
40487         (tst-exec-static-ARGS): New variable.
40488         (tst-spawn-static-ARGS): Likewise.
40489         * posix/tst-exec-static.c: New file.
40490         * posix/tst-spawn-static.c: Likewise.
40491         * posix/tst-exec.c: Support run directly.
40492         * posix/tst-spawn.c: Likewise.
40494 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
40496         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
40497         long.
40498         * math/bits/mathcalls.h (llrint): Likewise.
40499         (llround): Likewise.
40500         * stdlib/stdlib.h (struct drand48_data): Likewise.
40501         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
40502         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
40503         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
40504         Likewise.
40505         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
40506         Likewise.
40507         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
40508         (elf_greg_t): Likewise.
40509         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
40510         (__jmp_buf): Likewise.
40511         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
40512         definitions.
40513         (llrint): Likewise, for all definitions.
40514         (llrintl): Likewise.
40516         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
40517         Remove [__GNUC__] condition.
40518         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
40519         condition to just [__USE_ISOC99].
40520         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
40522 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40524         [BZ #14200]
40525         * sysdeps/unix/sysv/linux/x86/bits/environments.h
40526         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
40527         defined.
40528         (_POSIX_V6_ILP32_OFF32): Likewise.
40529         (_XBS5_ILP32_OFF32): Likewise.
40530         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
40531         (__ILP32_OFFBIG_LDFLAGS): Likewise.
40533 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40535         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
40537         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
40538         doubles __mpexp_twomm1.  Adjust usage.
40539         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
40540         Remove.
40542 2013-01-10  Andreas Schwab  <schwab@suse.de>
40544         [BZ #14964]
40545         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
40546         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
40548 2013-01-09  David S. Miller  <davem@davemloft.net>
40550         [BZ #15003]
40551         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
40552         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
40553         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
40554         (TCP_FASTOPEN): Define.
40555         (tcp_repair_opt): New structure.
40556         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
40557         enum values.
40558         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
40559         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
40560         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
40561         (tcp_cookie_transactions): New structure.
40563 2013-01-09  Anton Blanchard  <anton@samba.org>
40565         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
40566         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
40567         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
40568         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
40570 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
40572         * include/features.h (__USE_ANSI): Remove.
40574 2013-01-09  Roland McGrath  <roland@hack.frob.com>
40576         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
40578         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
40580 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40582         * sysdeps/s390/fpu/libm-test-ulps: Update.
40584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40586         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40587         (__acr): Likewise.
40588         (__cpy): Likewise.
40589         (norm): Likewise.
40590         (denorm): Likewise.
40591         (__mp_dbl): Likewise.
40592         (__dbl_mp): Likewise.
40593         (add_magnitudes): Likewise.
40594         (sub_magnitudes): Likewise.
40595         (__add): Likewise.
40596         (__sub): Likewise.
40597         (__mul): Likewise.
40598         (__inv): Likewise.
40599         (__dvd): Likewise.
40600         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40601         (__acr): Likewise.
40602         (__cpy): Likewise.
40603         (norm): Likewise.
40604         (denorm): Likewise.
40605         (__mp_dbl): Likewise.
40606         (__dbl_mp): Likewise.
40607         (add_magnitudes): Likewise.
40608         (sub_magnitudes): Likewise.
40609         (__add): Likewise.
40610         (__sub): Likewise.
40611         (__mul): Likewise.
40612         (__inv): Likewise.
40613         (__dvd): Likewise.
40614         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40615         (__acr): Likewise.
40616         (__cpy): Likewise.
40617         (norm): Likewise.
40618         (denorm): Likewise.
40619         (__mp_dbl): Likewise.
40620         (__dbl_mp): Likewise.
40621         (add_magnitudes): Likewise.
40622         (sub_magnitudes): Likewise.
40623         (__add): Likewise.
40624         (__sub): Likewise.
40625         (__mul): Likewise.
40626         (__inv): Likewise.
40627         (__dvd): Likewise.
40629 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
40631         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40632         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40633         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40634         2 && __USE_EXTERN_INLINES]: Likewise.
40636 2013-01-08  Andreas Jaeger  <aj@suse.de>
40638         [BZ# 14985]
40639         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40640         Remove.
40641         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40642         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40644 2013-01-07  Anton Blanchard  <anton@samba.org>
40646         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40647         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40648         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40649         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40650         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40651         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40652         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40653         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40654         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40655         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40656         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40657         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40658         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40659         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40660         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40661         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40662         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40663         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40664         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40665         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40666         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40667         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40668         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40669         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40670         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40671         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40672         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40673         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40674         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40675         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40676         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40677         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40678         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40679         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40680         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40681         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40682         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40683         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40684         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40685         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40686         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40687         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40688         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40690 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40692         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40693         (__MALLOC_PMT): Likewise.
40694         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40695         [__GNUC__], only on [_LIBC].
40696         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40697         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40698         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40699         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40700         forward declaration.
40701         (realloc_hook_ini): Likewise.
40702         (memalign_hook_ini): Likewise.
40703         (__libc_memalign): Do not use __MALLOC_PMT in variable
40704         declaration.
40705         (__libc_valloc): Likewise.
40706         (__libc_pvalloc): Likewise.
40707         (__libc_calloc): Likewise.
40708         (__posix_memalign): Likewise.
40710         [BZ #14996]
40711         * math/s_casinh.c: Include <float.h>.
40712         (__casinh): Do not do computation with squaring and square root
40713         for large arguments.
40714         * math/s_casinhf.c: Include <float.h>.
40715         (__casinhf): Do not do computation with squaring and square root
40716         for large arguments.
40717         * math/s_casinhl.c: Include <float.h>.
40718         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40719         (__casinhl): Do not do computation with squaring and square root
40720         for large arguments.
40721         * math/libm-test.inc (casin_test): Add more tests.
40722         (casinh_test): Likewise.
40723         * sysdeps/i386/fpu/libm-test-ulps: Update.
40724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40726 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40728         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40729         (__x86_64_raw_data_cache_size): Likewise.
40730         (__x86_64_data_cache_size_half): Likewise.
40731         (__x86_64_raw_data_cache_size_half): Likewise.
40732         (__x86_64_shared_cache_size): Likewise.
40733         (__x86_64_raw_shared_cache_size): Likewise.
40734         (__x86_64_shared_cache_size_half): Likewise.
40735         (__x86_64_raw_shared_cache_size_half): Likewise.
40736         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40737         to ...
40738         (__x86_data_cache_size): This.
40739         (__x86_64_raw_data_cache_size): Renamed to ...
40740         (__x86_raw_data_cache_size): This.
40741         (__x86_64_data_cache_size_half): Renamed to ...
40742         (__x86_data_cache_size_half): This.
40743         (__x86_64_raw_data_cache_size_half): Renamed to ...
40744         (__x86_raw_data_cache_size_half): This.
40745         (__x86_64_shared_cache_size): Renamed to ...
40746         (__x86_shared_cache_size): This.
40747         (__x86_64_raw_shared_cache_size): Renamed to ...
40748         (__x86_raw_shared_cache_size): This.
40749         (__x86_64_shared_cache_size_half): Renamed to ...
40750         (__x86_shared_cache_size_half): This.
40751         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40752         (__x86_raw_shared_cache_size_half): This.
40753         * sysdeps/x86_64/memcpy.S: Updated.
40754         * sysdeps/x86_64/memset.S: Likewise.
40755         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40756         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40757         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40759 2013-01-04  David S. Miller  <davem@davemloft.net>
40761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40763 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40765         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40766         1 to avoid redefinition warning.
40767         (__USE_GNU): Don't define.
40768         (init_signaling_nan): Protoize.
40770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40772 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40774         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40775         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40776         (__cpymn): Likewise.
40777         (norm): Remove commented code.
40778         (denorm): Likewise.
40779         (__mp_dbl): Likewise.
40780         (__inv): Likewise.
40781         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40782         (__cpymn): Likewise.
40783         (norm): Remove commented code.
40784         (denorm): Likewise.
40785         (__mp_dbl): Likewise.
40786         (__inv): Likewise.
40788         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40789         mp_no value for 1.0 and 2.0.
40790         (norm): Use RADIXI instead of radixi.d.
40791         (denorm): Likewise.
40792         (__mul): Use 0.0 instead of zero.d.
40793         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40794         mp_no value for 1.0 and 2.0.
40795         (norm): Use RADIXI instead of radixi.d.
40796         (denorm): Likewise.
40797         (__mul): Use 0.0 instead of zero.d.
40799 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40801         [BZ #14994]
40802         * math/s_casinh.c (__casinh): Reduce finite argument to first
40803         quadrant then set signs of results at the end.
40804         * math/s_casinhf.c (__casinhf): Likewise.
40805         * math/s_casinhl.c (__casinhl): Likewise.
40806         * math/libm-test.inc (casin_test): Add more tests.
40807         (casinh_test): Likewise.
40808         * sysdeps/i386/fpu/libm-test-ulps: Update.
40809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40811 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40813         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40815         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40817         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40818         declarations.
40819         (denorm): Likewise.
40820         (__mp_dbl): Likewise.
40821         (__inv): Likewise.
40823         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40824         and adjust the header comment.
40826         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40827         variable name from declaration.
40829 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40831         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40832         Initialize COMMON_CPUID_INDEX_7 element.
40833         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40834         (CPUID_RTM): Likewise.
40835         (HAS_RTM): Likewise.
40836         (COMMON_CPUID_INDEX_7): New enum.
40838 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40840         [BZ #14981]
40841         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40842         size is zero, record memory as freed.
40844 2013-01-03  Andreas Jaeger  <aj@suse.de>
40846         * po/ia.po: Add new Interlingua translation.
40848 2012-01-03  Allan McRae  <allan@archlinux.org>
40850         * locale/programs/localedef.c: Fix description of '--posix' flag.
40852 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40854         * NEWS: Update dates in second copyright notice.
40855         * README: Update copyright dates in example.
40856         * manual/libc.texinfo: Update copyright dates.
40857         * scripts/test-installation.pl: Update copyright date in --version
40858         output.
40860         * hurd/ctty-input.c: Fix copyright notice formatting.
40861         * hurd/ctty-output.c: Likewise.
40862         * hurd/dtable.c: Likewise.
40863         * hurd/hurd-raise.c: Likewise.
40864         * hurd/hurdprio.c: Likewise.
40865         * hurd/msgportdemux.c: Likewise.
40866         * misc/sys/file.h: Likewise.
40867         * misc/sys/ioctl.h: Likewise.
40868         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40869         * sysdeps/mach/hurd/chdir.c: Likewise.
40870         * sysdeps/mach/hurd/fchdir.c: Likewise.
40871         * sysdeps/mach/hurd/rename.c: Likewise.
40872         * sysdeps/mach/hurd/rmdir.c: Likewise.
40873         * sysdeps/mach/hurd/seekdir.c: Likewise.
40874         * sysdeps/mach/hurd/setsid.c: Likewise.
40875         * sysdeps/posix/wait3.c: Likewise.
40877         * All files with FSF copyright notices: Update copyright dates
40878         using scripts/update-copyrights.
40879         * intl/plural.c: Regenerated.
40880         * locale/programs/charmap-kw.h: Likewise.
40881         * locale/programs/locfile-kw.h: Likewise.
40883 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40885         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40886         four values.
40888         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40889         calculation loop and add branch prediction.
40891         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40892         check access beyond bounds of m1np.
40894         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40895         MPTWO.
40896         (__inv): Remove local variable MPTWO to use the global
40897         constant.
40898         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40899         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40900         variable MPTWO.
40901         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40902         MP3HALFS static const.
40904 2013-01-01  David S. Miller  <davem@davemloft.net>
40906         * po/ca.po: Update from translation team.
40908 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40910         * scripts/update-copyrights: New file.
40911         * Makeconfig: Reformat copyright notice.
40912         * ctype/ctype.h: Likewise.
40913         * debug/swprintf_chk.c: Likewise.
40914         * elf/dl-cache.c: Likewise.
40915         * elf/dl-debug.c: Likewise.
40916         * elf/dl-object.c: Likewise.
40917         * grp/initgroups.c: Likewise.
40918         * hurd/Makefile: Likewise.
40919         * hurd/hurd/signal.h: Likewise.
40920         * hurd/hurdfault.c: Likewise.
40921         * hurd/hurdioctl.c: Likewise.
40922         * hurd/hurdlookup.c: Likewise.
40923         * hurd/intr-msg.c: Likewise.
40924         * iconv/gconv_open.c: Likewise.
40925         * libio/swprintf.c: Likewise.
40926         * locale/lc-ctype.c: Likewise.
40927         * locale/nl_langinfo.c: Likewise.
40928         * mach/Machrules: Likewise.
40929         * mach/Makefile: Likewise.
40930         * malloc/obstack.h: Likewise.
40931         * manual/Makefile: Likewise.
40932         * manual/tsort.awk: Likewise.
40933         * misc/bits/stab.def: Likewise.
40934         * nis/nis_print_group_entry.c: Likewise.
40935         * nis/nis_table.c: Likewise.
40936         * nis/nss_compat/compat-pwd.c: Likewise.
40937         * nis/nss_compat/compat-spwd.c: Likewise.
40938         * po/Makefile: Likewise.
40939         * posix/fnmatch.c: Likewise.
40940         * posix/regex.h: Likewise.
40941         * resolv/Makefile: Likewise.
40942         * resolv/nss_dns/dns-network.c: Likewise.
40943         * resolv/res_hconf.c: Likewise.
40944         * scripts/gen-sorted.awk: Likewise.
40945         * soft-fp/soft-fp.h: Likewise.
40946         * stdio-common/printf.h: Likewise.
40947         * stdlib/monetary.h: Likewise.
40948         * stdlib/random.c: Likewise.
40949         * stdlib/random_r.c: Likewise.
40950         * sysdeps/generic/Makefile: Likewise.
40951         * sysdeps/gnu/Makefile: Likewise.
40952         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40953         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40954         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40955         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40956         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40957         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40958         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40959         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40960         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40961         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40962         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40963         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40964         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40965         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40966         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40967         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40968         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40969         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40970         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40971         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40972         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40973         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40974         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40975         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40976         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40977         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40978         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40979         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40980         * sysdeps/mach/hurd/errnos.awk: Likewise.
40981         * sysdeps/mach/hurd/fork.c: Likewise.
40982         * sysdeps/mach/hurd/getcwd.c: Likewise.
40983         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40984         * sysdeps/mach/hurd/mmap.c: Likewise.
40985         * sysdeps/mach/hurd/utimes.c: Likewise.
40986         * sysdeps/mach/hurd/xmknod.c: Likewise.
40987         * sysdeps/posix/profil.c: Likewise.
40988         * sysdeps/posix/readdir_r.c: Likewise.
40989         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40990         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40991         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40992         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40993         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40994         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40995         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40996         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40997         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40998         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40999         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41000         * sysdeps/pthread/lio_listio.c: Likewise.
41001         * sysdeps/sparc/dl-procinfo.h: Likewise.
41002         * sysdeps/unix/i386/sysdep.S: Likewise.
41003         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
41004         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
41005         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
41006         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
41007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41008         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
41009         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
41010         * sysdeps/unix/sysv/linux/speed.c: Likewise.
41011         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41012         * sysdeps/wordsize-32/divdi3.c: Likewise.
41013         * time/sys/time.h: Likewise.
41014         * wcsmbs/Makefile: Likewise.
41016 2013-01-01  David S. Miller  <davem@davemloft.net>
41018         * po/fr.po: Update from translation team.
41020         * catgets/gencat.c: Update copyright year.
41021         * csu/version.c: Likewise.
41022         * debug/catchsegv.sh: Likewise.
41023         * debug/pcprofiledump.c: Likewise.
41024         * debug/xtrace.sh: Likewise.
41025         * elf/ldconfig.c: Likewise.
41026         * elf/ldd.bash.in: Likewise.
41027         * elf/pldd.c: Likewise.
41028         * elf/sotruss.ksh: Likewise.
41029         * elf/sprof.c: Likewise.
41030         * iconv/iconv_prog.c: Likewise.
41031         * iconv/iconvconfig.c: Likewise.
41032         * locale/programs/locale.c: Likewise.
41033         * locale/programs/localedef.c: Likewise.
41034         * login/programs/pt_chown.c: Likewise.
41035         * malloc/memusage.sh: Likewise.
41036         * malloc/memusagestat.c: Likewise.
41037         * malloc/mtrace.pl: Likewise.
41038         * nscd/nscd.c: Likewise.
41039         * nss/getent.c: Likewise.
41040         * nss/makedb.c: Likewise.
41041         * posix/getconf.c: Likewise.
41043 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41045         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
41046         numbers.
41048 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
41050         * math/bits/mathcalls.h (modf): Use __nonnull.
41052 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41054         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
41055         (split): Use macro CN instead of the bare value.
41056         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
41057         could be used.
41058         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
41059         instead of the bare value.
41060         (power1): Likewise.
41062 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41064         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
41065         __ATAN_TWOM.
41066         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41068         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
41069         their values.
41070         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41071         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41072         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
41073         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41075 2012-12-28  Andreas Jaeger  <aj@suse.de>
41077         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
41078         values are from Linux 3.7.
41080         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
41081         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
41083 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41085         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
41086         TRUE case.
41088         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
41089         (norm): Likewise.
41090         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
41091         variables with preprocessor constants.
41092         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41093         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41094         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41096 2012-12-27  Bruno Haible  <bruno@clisp.org>
41098         [BZ #14317]
41099         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
41100         only if needed.
41102 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41104         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
41105         and use variable directly.
41106         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
41108         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41109         MPONE.
41110         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
41111         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41112         variable MPONE.
41113         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41114         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41115         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
41116         include directive.  Remove local variable MPONE.
41117         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
41118         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
41119         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41121 2012-12-25  David S. Miller  <davem@davemloft.net>
41123         * version.h (RELEASE): Set to "development".
41124         (VERSION): Set to "2.17.90".
41125         * NEWS: Add 2.18 section.
41127 2012-12-21  David S. Miller  <davem@davemloft.net>
41129         * po/hr.po: Update from translation team.
41131 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41133         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
41135 2012-12-19  Steve Ellcey  <sellcey@mips.com>
41137         * NEWS:  Mention new memcpy for MIPS.
41139 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41141         * manual/contrib.texi (Contributors): Spelling correction.
41143 2012-12-15  David S. Miller  <davem@davemloft.net>
41145         * po/ru.po: Update from translation team.
41147 2012-12-13  David S. Miller  <davem@davemloft.net>
41149         * NEWS: Mention IFUNC testsuite enhancements.
41151         * po/pl.po: Update from translation team.
41152         * po/bg.po: Likewise.
41154         * manual/contrib.texi (Contributors): Update entries for Hongjiu
41155         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
41157 2012-12-11  David S. Miller  <davem@davemloft.net>
41159         * po/sv.po: Update from translation team.
41161         * po/vi.po: Update from translation team.
41163         * po/cs.po: Update from translation team.
41165         * po/de.po: Update from translation team.
41166         * po/eo.po: Likewise.
41167         * po/nl.po: Likewise.
41169 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41171         [BZ #14246]
41172         * manual/argp.texi (Argp Helper Functions): Move node to follow
41173         Argp Parsing State.
41175         [BZ #14872]
41176         * manual/conf.texi (Limits on File System Capacity): Mention if
41177         terminating null is included in the max size.
41179 2012-12-10  Andreas Jaeger  <aj@suse.de>
41181         * po/cs.po: Update from translation team.
41183 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41185         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
41186         void pointer and cast to uintptr_t.
41187         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
41188         path.
41189         * sysdeps/s390/s390-64/memcpy.S: Likewise.
41190         * sysdeps/s390/s390-64/memset.S: Likewise.
41192 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
41194         [BZ #14833]
41195         * menual/message.texi (Message Translation): Fix typos.
41196         (Helper programs for gettext): Likewise.
41198 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
41200         [BZ #14898]
41201         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
41202         Change to -1.
41204 2012-12-07  David S. Miller  <davem@davemloft.net>
41206         * po/libc.pot: Update.
41208 2012-12-07  Richard Henderson  <rth@redhat.com>
41210         [BZ #10114]
41211         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
41212         normal/normal case to before the switch.
41213         (_FP_DIV): Likewise.
41215 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
41216             Mike Frysinger  <vapier@gentoo.org>
41218         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
41219         check for __NR_fadvise64_64.
41221 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
41223         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
41224         0, not just to plain "0" as a statement.
41225         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
41226         with cw.
41228 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
41230         * NEWS: Use sourceware.org in Bugzilla URL.
41232 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41235         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41237         * stdio-common/tst-put-error.c (do_test): Add newline to the
41238         padded test to ensure flush.
41240 2012-12-05  Jeff Law  <law@redhat.com>
41242         * sunrpc/etc.rpc (fedfs_admin): Add entry.
41244 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
41246         * README: Don't refer to ports add-on as distributed separately.
41247         Mention AArch64 in list of systems supported in the ports add-on.
41249         * LICENSES: Add more non-FSF copyright and license notices.
41251         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
41252         ((unused)).
41254         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
41256         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
41257         10000 as width of padded output.
41259 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41261         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
41263         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
41264         variable LX with __attribute__ ((unused)).
41265         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41266         Likewise.
41267         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41268         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41269         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
41270         with __attribute__ ((unused)).
41272 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
41274         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
41276 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41278         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
41279         (CFLAGS-nldbl-acos.c): New variable.
41280         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
41281         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
41282         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
41283         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
41284         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
41285         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
41286         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
41287         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
41288         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
41289         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
41290         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
41291         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
41292         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
41293         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
41294         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
41295         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
41296         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
41297         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
41298         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
41299         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
41300         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
41301         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
41302         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
41303         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
41304         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
41305         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
41306         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
41307         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
41308         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
41309         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
41310         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
41311         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
41312         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
41313         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
41314         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
41315         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
41316         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
41317         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
41318         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
41319         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
41320         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
41321         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
41322         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
41323         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
41324         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
41325         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
41326         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
41327         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
41328         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
41329         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
41330         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
41331         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
41332         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
41333         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
41334         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
41335         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
41336         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
41337         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
41338         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
41339         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
41340         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
41341         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
41342         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
41343         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
41344         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
41345         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
41346         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
41347         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
41348         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
41349         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
41350         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
41351         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
41352         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
41353         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
41354         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
41355         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
41356         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
41357         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
41358         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
41359         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
41360         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
41361         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
41362         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
41363         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
41364         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
41365         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
41366         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
41367         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
41368         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
41369         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
41370         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
41371         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
41372         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
41373         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
41374         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
41375         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
41376         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
41378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41379         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41381         [BZ #14914]
41382         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
41383         whole low double instead of just low 47 bits when splitting values
41384         into two parts.
41386 2012-12-03  Allan McRae  <allan@archlinux.org>
41388         * manual/stdio.texi (Predefined Printf Handlers): Remove
41389         @hsep and @vsep usage.
41391 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
41393         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
41394         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
41396 2012-12-03  Jeff Law  <law@redhat.com>
41398         * time/sys/time.h (settimeofday): Do not mark TV argument
41399         as __nonnull.
41401 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
41403         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
41404         when currently writing and seek to current position when not.
41405         * libio/Makefile (tests): Remove bug-fclose1.
41406         * libio/bug-fclose1.c: Delete.
41408 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
41410         * manual/arith.texi (feenableexcept): Fix typo.
41411         (fedisableexcept): Likewise.
41413 2012-11-30  Roland McGrath  <roland@hack.frob.com>
41415         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
41416         second, differently-typed declaration, rather than a cast.
41418 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41420         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
41421         * include/rpc/svc.h: ... here.
41423 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
41425         [BZ #13013]
41426         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
41427         depending n and resplen2 to catch cases where answer
41428         equals answerp2.
41430 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
41432         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
41433         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
41435 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
41437         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
41439 2012-11-29  Roland McGrath  <roland@hack.frob.com>
41441         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
41443 2012-11-28  Jeff Law  <law@redhat.com>
41445         [BZ #13761]
41446         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
41447         dataset_temporary.  Track alloca usage into alloca_used.
41448         If dataset is large allocate and release it via malloc/free.
41450 2012-06-04  Florian Weimer  <fweimer@redhat.com>
41452         [BZ #14197]
41453         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
41455 2012-11-28  David S. Miller  <davem@davemloft.net>
41457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41459 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41461         [BZ #14803]
41462         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
41463         of pi/2 rounded to nearest to 64 bits.
41464         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
41465         nearest to 64 bits.
41466         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
41467         bits.
41469 2012-11-28  Jeff Law <law@redhat.com>
41470             Martin Osvald <mosvald@redhat.com>
41472         [BZ #14889]
41473         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
41474         * sunrpc/svc.c: Include time.h.
41475         (__svc_accept_failed): New function.
41476         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
41477         any reason other than EINTR, call __svc_accept_failed.
41478         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
41479         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
41481 2012-11-28  Andreas Schwab  <schwab@suse.de>
41483         * scripts/abilist.awk: Also handle indirect functions in .opd
41484         section.
41486 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41488         [BZ #13881]
41489         * sysdeps/x86/fpu/powl_helper.c: New file.
41490         * sysdeps/x86/fpu/Makefile: Likewise.
41491         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
41492         (p3): New object.
41493         (__ieee754_powl): Use __powl_helper for finite arguments except
41494         integer exponents below 8.
41495         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
41496         (p3): New object.
41497         (__ieee754_powl): Use __powl_helper for finite arguments except
41498         integer exponents below 8.
41499         * math/libm-test.inc (pow_test): Add more tests and enable some
41500         previously disabled tests.
41501         * sysdeps/i386/fpu/libm-test-ulps: Update.
41502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41504 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41505             Carlos O'Donell  <carlos_odonell@mentor.com>
41507         * nss/makedb.c (is_prime): Assert that input is odd and greater
41508         than 4.  Note that fact in a comment too.
41509         (next_prime): Add 4 to input.
41511 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41513         [BZ #11741]
41514         * libio/Makefile (tests): Add test case tst-fwrite-error.
41515         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
41516         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
41517         * libio/tst-fwrite-error.c: New test case.
41519 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
41521         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
41522         before casting to void *.
41523         * include/libc-internal.h (__pointer_type): New macro.
41524         (__integer_if_pointer_type_sub): Likewise.
41525         (__integer_if_pointer_type): Likewise.
41526         (cast_to_integer): Likewise.
41527         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
41528         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
41529         before casting to atomic64_t.
41530         (atomic_exchange_acq): Likewise.
41531         (__arch_exchange_and_add_body): Likewise.
41532         (__arch_add_body): Likewise.
41533         (atomic_add_negative): Likewise.
41534         (atomic_add_zero): Likewise.
41536 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
41538         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
41539         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
41540         (add_fdes): Likewise.
41541         (linear_search_fdes): Likewise.
41542         (binary_search_unencoded_fdes): Likewise.
41544 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
41546         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
41548 2012-11-24  Adam Conrad  <adconrad@0c3.net>
41550         * configure.in: Autodetect C++ header directories.
41551         * configure: Regenerated.
41553 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
41555         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
41557 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
41559         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41561 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
41563         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
41564         LDBL_MANT_DIG == 106]: Disable some tests.
41565         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41566         Likewise.
41567         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41568         Likewise.
41570         [BZ #14871]
41571         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
41572         input for small inputs.  Return +/- pi/2 for large inputs.
41573         * math/libm-test.inc (atan_test): Add more tests.
41575         * sysdeps/generic/unwind-dw2-fde-glibc.c
41576         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
41577         __attribute__ ((unused)).
41579         [BZ #14645]
41580         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
41581         x * y if x and y are nonzero and z is zero.
41583         [BZ #14811]
41584         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
41585         nonzero exponents with absolute value below 0x1p-117 to +/-
41586         0x1p-117.
41588         [BZ #14869]
41589         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
41590         up arguments below 2**-450, not just those below 2**-500.
41591         * math/libm-test.inc (hypot_test): Add another test.
41593         [BZ #14868]
41594         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
41595         Return a+b for ratio over 2**120, not 2**60.
41596         * math/libm-test.inc (hypot_test): Add another test.
41598         * math/libm-test.inc (clog_test): Use
41599         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
41600         (clog10_test): Likewise.
41602         [BZ #6778]
41603         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41605 2012-11-22  Andreas Schwab  <schwab@suse.de>
41607         * sysdeps/i386/fpu/libm-test-ulps: Update.
41609 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
41611         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41612         printf output with newline.
41614 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
41616         [BZ #14865]
41617         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41618         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41619         -z nodlopen, -z initfirst and -z execstack support.
41620         * configure: Regenerated.
41622         * elf/elf.h (DF_1_NODIRECT): New macro.
41623         (DF_1_IGNMULDEF): Likewise.
41624         (DF_1_NOKSYMS): Likewise.
41625         (DF_1_NOHDR): Likewise.
41626         (DF_1_EDITED): Likewise.
41627         (DF_1_NORELOC): Likewise.
41628         (DF_1_SYMINTPOSE): Likewise.
41629         (DF_1_GLOBAUDIT): Likewise.
41630         (DF_1_SINGLETON): Likewise.
41631         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41632         DT_1_SUPPORTED_MASK bits.
41633         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41635 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
41637         * sysdeps/unix/make-syscalls.sh: Document prefixes.
41639 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
41641         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41642         macro.
41644         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41645         (sendmmsg): Move declarations...
41646         * socket/sys/socket.h: ... here.
41647         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41648         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41649         include it from...
41650         * socket/recvmmsg.c: ... this new file.
41651         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41652         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41653         definition of __sendmmsg hidden.
41654         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41655         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41656         Move ENOSYS stub into and include it from...
41657         * socket/sendmmsg.c: ... this new file.
41658         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41659         (sysdep_routines): Move recvmmsg and sendmmsg...
41660         * socket/Makefile (routines): ... here.
41661         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41662         (GLIBC_PRIVATE): Add __sendmmsg.
41663         * include/sys/socket.h (__sendmmsg): Add declarations.
41664         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41665         sendmmsg.
41667 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41669         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41670         variable I1 with __attribute__ ((unused)).
41671         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41673 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41675         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41676         DUMMY variables with __attribute__ ((unused)).
41678         * bits/byteswap.h: Include <bits/types.h>.
41679         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41681 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41683         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41684         string_t.  Do not manually set errno.
41685         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41686         length with __strnlen.  Make sure to both set errno and return it on
41687         failure.
41689 2012-11-19  David S. Miller  <davem@davemloft.net>
41691         With help from Joseph Myers.
41692         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41693         very large arguments properly.
41694         * math/libm-test.inc (atan_test): New tests.
41695         (atan2_test): New tests.
41696         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41697         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41699 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41701         [BZ #14856]
41702         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41703         Define to 3.
41705         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41706         [POSIX] (EADDRNOTAVAIL): Likewise.
41707         [POSIX] (EAFNOSUPPORT): Likewise.
41708         [POSIX] (EALREADY): Likewise.
41709         [POSIX] (ECONNABORTED): Likewise.
41710         [POSIX] (ECONNREFUSED): Likewise.
41711         [POSIX] (ECONNRESET): Likewise.
41712         [POSIX] (EDESTADDRREQ): Likewise.
41713         [POSIX] (EDQUOT): Likewise.
41714         [POSIX] (EHOSTUNREACH): Likewise.
41715         [POSIX] (EIDRM): Likewise.
41716         [POSIX] (EISCONN): Likewise.
41717         [POSIX] (ELOOP): Likewise.
41718         [POSIX] (EMULTIHOP): Likewise.
41719         [POSIX] (ENETDOWN): Likewise.
41720         [POSIX] (ENETUNREACH): Likewise.
41721         [POSIX] (ENOBUFS): Likewise.
41722         [POSIX] (ENODATA): Likewise.
41723         [POSIX] (ENOLINK): Likewise.
41724         [POSIX] (ENOMSG): Likewise.
41725         [POSIX] (ENOPROTOOPT): Likewise.
41726         [POSIX] (ENOSR): Likewise.
41727         [POSIX] (ENOSTR): Likewise.
41728         [POSIX] (ENOTCONN): Likewise.
41729         [POSIX] (ENOTSOCK): Likewise.
41730         [POSIX] (EOPNOTSUPP): Likewise.
41731         [POSIX] (EOVERFLOW): Likewise.
41732         [POSIX] (EPROTO): Likewise.
41733         [POSIX] (EPROTONOSUPPORT): Likewise.
41734         [POSIX] (EPROTOTYPE): Likewise.
41735         [POSIX] (ESTALE): Likewise.
41736         [POSIX] (ETIME): Likewise.
41737         [POSIX] (ETXTBSY): Likewise.
41738         [POSIX] (EWOULDBLOCK): Likewise.
41739         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41740         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41741         [POSIX] (SEEK_CUR): Likewise.
41742         [POSIX] (SEEK_END): Likewise.
41743         [POSIX || UNIX98] (mode_t): Do not require.
41744         [POSIX] (off_t): Likewise.
41745         [POSIX] (pid_t): Likewise.
41746         [POSIX] (sys/stat.h): Do not allow header.
41747         [POSIX] (unistd.h): Likewise.
41748         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41749         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41750         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41751         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41752         require.
41753         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41754         sigevent): Specify elements.
41755         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41756         entry.
41757         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41758         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41760         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41761         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41762         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41763         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41764         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41765         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41766         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41767         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41768         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41769         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41770         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41771         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41772         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41773         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41774         Likewise.
41775         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41776         Likewise.
41777         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41778         Likewise.
41779         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41780         Likewise.
41781         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41782         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41783         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41784         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41785         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41786         Specify lower bound on value.
41787         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41788         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41789         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41790         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41791         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41792         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41793         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41794         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41795         value.
41796         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41797         as optional.
41798         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41799         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41800         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41801         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41802         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41803         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41804         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41805         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41806         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41807         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41808         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41809         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41810         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41811         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41812         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41813         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41814         entry.
41815         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41816         optional.
41817         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41818         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41819         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41820         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41821         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41822         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41823         Likewise.
41824         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41825         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41826         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41827         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41828         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41829         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41830         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41831         as optional.
41832         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41833         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41834         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41835         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41836         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41837         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41838         specify as optional.
41839         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41840         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41841         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41842         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41843         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41844         [XPG3] (NL_LANGMAX): Likewise.
41845         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41846         [POSIX || XPG3] (NL_NMAX): Likewise.
41847         [POSIX || XPG3] (NL_SETMAX): Likewise.
41848         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41849         [XPG3] (NZERO): Likewise.
41850         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41851         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41852         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41853         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41854         (REG_ERANGE): Expect.
41855         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41856         optional-constant.
41857         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41858         Use (void) in prototype.
41859         [POSIX] (*_t): Allow.
41860         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41861         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41862         (WRDE_BADVAL): Expect.
41864         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41865         expect.
41866         [XPG3 || XPG4] (O_RSYNC): Likewise.
41867         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41868         Likewise.
41869         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41870         [XPG3 || XPG4] (sigqueue): Likewise.
41871         [XPG3 || XPG4] (sigtimedwait): Likewise.
41872         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41873         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41874         [XPG3 || XPG4] (vsnprintf): Likewise.
41875         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41876         Likewise.
41877         [XPG3 || XPG4] (blksize_t): Likewise.
41878         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41879         Likewise.
41880         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41881         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41882         [XPG3 || XPG4] (struct itimerspec): Likewise.
41883         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41884         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41885         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41886         [XPG3 || XPG4] (clockid_t): Likewise.
41887         [XPG3 || XPG4] (timer_t): Likewise.
41888         [XPG3 || XPG4] (clock_getres): Likewise.
41889         [XPG3 || XPG4] (clock_gettime): Likewise.
41890         [XPG3 || XPG4] (clock_settime): Likewise.
41891         [XPG3 || XPG4] (nanosleep): Likewise.
41892         [XPG3 || XPG4] (timer_create): Likewise.
41893         [XPG3 || XPG4] (timer_delete): Likewise.
41894         [XPG3 || XPG4] (timer_gettime): Likewise.
41895         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41896         [XPG3 || XPG4] (timer_settime): Likewise.
41897         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41898         [XPG3 || XPG4] (getlogin_r): Likewise.
41899         [XPG3 || XPG4] (pread): Likewise.
41900         [XPG3 || XPG4] (pthread_atfork): Likewise.
41901         [XPG3 || XPG4] (pwrite): Likewise.
41903         [BZ #14835]
41904         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41905         <bits/siginfo.h>.
41907 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41909         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41910         finalizing MALLSTREAM.
41912         * sysdeps/mach/hurd/syncfs.c: New file.
41914 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41916         [BZ #14719]
41917         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41918         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41919         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41920         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41921         (_nss_dns_gethostbyname4_r): Likewise.
41922         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41923         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41925 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41927         [BZ #13763]
41928         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41930 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
41932         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41933         * elf/cache.c (print_entry): Print ",AArch64" for
41934         FLAG_AARCH64_LIB64
41936         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41937         * elf/cache.c (print_entry): Print ",hard-float" for
41938         FLAG_ARM_LIBHF.
41940 2012-11-18  David S. Miller  <davem@davemloft.net>
41942         With help from Joseph Myers.
41943         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41944         cutoff to 2**-13.
41945         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41946         cutoff to 2**-25.
41947         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41948         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41949         small.
41950         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41951         * math/libm-test.inc (y0_test): New tests.
41952         (y1_test): New tests.
41953         * sysdeps/i386/fpu/libm-test-ulps: Update.
41954         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41957 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41959         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41960         64-bit targets.
41961         * configure: Regenerated.
41963 2012-11-17  David S. Miller  <davem@davemloft.net>
41965         [BZ #14811]
41966         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41967         nonzero exponents with absolute value below 0x1p-128 to +/-
41968         0x1p-128.
41970 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41972         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41974         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41976         * posix/getconf-speclist.c: New file.
41977         * posix/posix-envs.def: Likewise.
41978         * posix/confstr.c (START_ENV_GROUP): New macro.
41979         (END_ENV_GROUP): Likewise.
41980         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41981         (KNOWN_PRESENT_ENV_STRING): Likewise.
41982         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41983         (UNKNOWN_ENVIRONMENT): Likewise.
41984         (confstr): Include posix-envs.def instead of handling
41985         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41986         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41987         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41988         (END_ENV_GROUP): Likewise.
41989         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41990         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41991         (UNKNOWN_ENVIRONMENT): Likewise.
41992         (__sysconf): Include posix-envs.def instead of handling associated
41993         cases directly here.
41994         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41995         preprocessing getconf-speclist.c rather than running getconf or
41996         generating empty file.
41998 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
42000         * scripts/check-local-headers.sh: Ignore 'mach' headers.
42002 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
42004         [BZ #14672]
42005         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
42007 2012-11-16  David S. Miller  <davem@davemloft.net>
42009         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
42010         smaller than LDBL_EPSILON/2.0L, just return xm1.
42012 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
42014         * elf/tst-array1.c (init): Set constructor priority to 1000.
42015         (fini): Set destructor priority to 1000.
42016         * elf/tst-array2dep.c: Likewise.
42018 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42020         [BZ #11741]
42021         * libio/fileops.c (_IO_new_file_write): Correctly return error.
42022         (_IO_new_file_xsputn): Also return EOF if none of the input
42023         data was written when overflow failed.
42024         * libio/iopadn.c (_IO_padn): Likewise.
42025         * libio/iowpadn.c (_IO_wpadn): Likewise.
42026         * stdio-common/tst-put-error.c: Add copyright notice.
42027         (do_test): Add case for printing padded string.
42028         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
42029         _IO_padn returned error.
42030         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
42031         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
42032         return EOF.
42034 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42036         * libio/libioP.h: Add comment note that the references to C++
42037         bits are now obsolete.
42039 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42041         * math/libm-test.inc (check_complex): Use asprintf.
42043 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
42045         * debug/pcprofiledump.c (print_version): Update copyright year.
42046         * malloc/memusagestat.c (print_version): Likewise.
42048 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
42050         [BZ #14831]
42051         * elf/Makefile (tests): Add tst-audit8.
42052         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
42053         ($(objpfx)tst-audit8.out): New target.
42054         (tst-audit8-ENV): New variable.
42055         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
42056         audit if l_reloc_result is NULL.
42057         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
42058         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
42059         * elf/tst-audit8.c: New file.
42061 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42063         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
42064         * misc/Makefile (CFLAGS-select.c): Define.
42065         * posix/Makefile (CFLAGS-pause.c): Define.
42067 2012-11-13  David S. Miller  <davem@davemloft.net>
42069         * crypt/Makefile: Move test targets after toplevel Rules
42070         inclusion.  Grab any necessary sysdep routines when linking.
42071         * crypt/md5.c (md5_process_block): Remove define, we will always
42072         name it __md5_process_block.
42073         (md5_finish_ctx): Update md5_process_block call.
42074         (md5_stream): Likewise.
42075         (md5_process_bytes): Likewise.
42076         (md5_process_block): Rename to __md5_process_block and move to ...
42077         * crypt/md5-block.c: ... here.
42078         * crypt/sha256.c (sha256_process_block): Move to ...
42079         * crypt/sha256-block.c: ... here.
42080         * crypt/sha512.c (sha512_process_block): Move to ...
42081         * crypt/sha512-block.c: ... here.
42082         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
42083         path.
42084         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
42085         * sysdeps/sparc/sparc64/multiarch/Makefile
42086         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
42087         crypt subdir.
42088         (localedef-aux): Add md5 crypto assembler when in locale subdir.
42089         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
42090         multiarch changes.
42091         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
42092         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
42093         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
42094         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
42095         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
42096         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
42097         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
42098         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
42099         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
42100         file.
42101         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
42102         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
42103         file.
42104         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
42106 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
42108         * timezone/tzselect.ksh: Update from tzcode git revision
42109         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
42110         * timezone/zdump.c: Likewise.
42111         * timezone/zic.c: Likewise.
42112         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
42113         in TZVERSION setting, not $(PKGVERSION).
42114         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
42115         REPORT_BUGS_TO settings.
42117         [BZ #14838]
42118         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
42119         macro.
42121 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42123         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
42124         detection to immediately after _FP_ROUND().
42125         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
42126         bits are 0.
42128 2012-11-11  David S. Miller  <davem@davemloft.net>
42130         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
42131         inttypes.h
42132         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
42133         __close rather than their public counterparts.
42135 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
42137         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
42138         file.
42139         [UNIX98] (sem_timedwait): Do not expect.
42140         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
42141         [XPG4 || UNIX98] (sockatmark): Do not expect.
42142         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
42143         (clock_getcpuclockid): Do not expect.
42144         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
42145         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
42146         Do not expect.
42147         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
42148         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
42149         [UNIX98] (vwscanf): Likewise.
42150         [UNIX98] (vswscanf): Likewise.
42152 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
42154         * timezone/version.h: Remove file.
42155         * timezone/README: Do not refer to version.h.
42156         * timezone/Makefile ($(objpfx)zic.o): New dependency on
42157         $(objpfx)version.h.
42158         ($(objpfx)zdump.o): Likewise.
42159         ($(objpfx)version.h): New target.
42161         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
42162         2012i.
42163         * timezone/README: Don't mention modification to tzselect.ksh.
42164         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
42165         work on unmodified tzselect.ksh.  Substitute version numbers in
42166         tzselect.ksh.
42168         * Makefile (format-me): Remove.
42169         (INSTALL): Adjust indentation.  Use commands directly instead of
42170         using $(format-me).
42172         * aclocal.m4 (ACX_PKGVERSION): New macro.
42173         (ACX_BUGURL): Likewise.
42174         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
42175         (PKGVERSION): New AC_DEFINE_UNQUOTED.
42176         (REPORT_BUGS_TO): Likewise.
42177         * configure: Regenerated.
42178         * config.h.in (PKGVERSION): New macro.
42179         (REPORT_BUGS_TO): Likewise.
42180         * config.make.in (PKGVERSION): New variable.
42181         (PKGVERSION_TEXI): Likewise.
42182         (REPORT_BUGS_TO): Likewise.
42183         (REPORT_BUGS_TEXI): Likewise.
42184         * Makefile (format-me): Use -I$(common-objpfx)manual.
42185         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
42186         ($(common-objpfx)manual/%): New target.
42187         (manual/%): Remove target.
42188         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
42189         (print_version): Use PKGVERSION.
42190         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
42191         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
42192         and REPORT_BUGS_TO.
42193         ($(objpfx)xtrace): Likewise.
42194         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
42195         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
42196         (print_version): Use PKGVERSION.
42197         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
42198         (do_version): Use PKGVERSION.
42199         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
42200         REPORT_BUGS_TO.
42201         (common-ldd-rewrite): Likewise.
42202         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
42203         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
42204         (print_version): Use PKGVERSION.
42205         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
42206         * elf/pldd.c (argp_program_bug_address): Remove variable.
42207         (more_help): New function.
42208         (argp): Use more_help.
42209         (print_version): Use PKGVERSION.
42210         * elf/sln.c (main): Use PKGVERSION.
42211         (usage): Use REPORT_BUGS_TO.
42212         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
42213         (top level): Use PKGVERSION.
42214         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
42215         (print_version): Use PKGVERSION.
42216         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
42217         (print_version): Use PKGVERSION.
42218         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
42219         (print_version): Use PKGVERSION.
42220         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
42221         (print_version): Use PKGVERSION.
42222         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
42223         (print_version): Use PKGVERSION.
42224         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
42225         (print_version): Use PKGVERSION.
42226         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
42227         and BUGURL.
42228         ($(objpfx)memusage): Likewise.
42229         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
42230         (do_version): Use PKGVERSION.
42231         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
42232         (print_version): Use PKGVERSION.
42233         * malloc/mtrace.pl ($PACKAGE): Remove variable.
42234         ($PKGVERSION): New variable.
42235         ($REPORT_BUGS_TO): Likewise.
42236         (usage): Use $REPORT_BUGS_TO.
42237         (top level): Use $PKGVERSION.
42238         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
42239         ($(objpfx)pkgvers.texi): New rule.
42240         ($(objpfx)stamp-pkgvers): Likewise.
42241         * manual/install.texi: Include pkgvers.texi.
42242         (--with-pkgversion): Document new configure option.
42243         (--with-bugurl): Likewise.
42244         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
42245         than necessarily for this particular distribution.  Use
42246         REPORT_BUGS_TO for where to report bugs.
42247         * INSTALL: Regenerated.
42248         * manual/libc.texinfo: Include pkgvers.texi.
42249         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
42250         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
42251         (print_version): Use PKGVERSION.
42252         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
42253         (print_version): Use PKGVERSION.
42254         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
42255         (print_version): Use PKGVERSION.
42256         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
42257         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
42258         macro.
42259         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
42260         (print_version): Use PKGVERSION.
42261         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
42262         (print_version): Use PKGVERSION.
42263         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
42264         and PKGVERSION.
42266         * timezone/checktab.awk: Update from tzcode 2012i.
42267         * timezone/ialloc.c: Likewise.
42268         * timezone/private.h: Likewise.
42269         * timezone/scheck.c: Likewise.
42270         * timezone/tzfile.h: Likewise.
42271         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
42272         (TZVERSION): Hardcode tzcode version number.
42273         * timezone/zdump.c: Update from tzcode 2012i.
42274         * timezone/zic.c: Likewise.
42275         * timezone/version.h: New file.
42276         * timezone/README: Describe version.h.  Update upstream location.
42278         [BZ #14824]
42279         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
42280         (mktemp): Enable declaration.
42281         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
42282         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
42283         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
42284         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
42285         Likewise.
42286         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
42287         Likewise.
42288         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
42289         Likewise.
42290         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
42291         Likewise.
42292         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
42293         Likewise.
42294         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
42295         Likewise.
42297         [BZ #14821]
42298         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
42299         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
42300         for copies of such integer values.
42301         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42302         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42304 2012-11-09  Andreas Jaeger  <aj@suse.de>
42306         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
42307         definitions and declarations that are provided by
42308         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42310 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42312         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
42313         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
42314         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
42315         definition.
42317 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42319         * elf/elf.h: Update comment before AArch64 relocations.
42321 2012-11-07  David S. Miller  <davem@davemloft.net>
42323         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
42324         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42325         (__start_context): Declare.
42326         (__makecontext_ret): Delete.
42327         (__makecontext): Hook up __start_context instead of
42328         __makecontext_ret.
42329         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
42330         (sysdep_routines): Add __start_context when in stdlib.
42332 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42334         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
42335         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
42336         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
42337         hardcoded "nm".
42338         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
42339         (READELF): New variable.  Use it instead of hardcoded "readelf".
42341 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
42343         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
42344         * sysdeps/x86/Makefile: Here.
42345         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
42346         * sysdeps/x86/tst-xmmymm.sh: This.
42348 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42350         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
42351         expectations.
42352         [UNIX98] (pthread_barrier_t): Do not expect.
42353         [UNIX98] (pthread_barrierattr_t): Likewise.
42354         [UNIX98] (pthread_spinlock_t): Likewise.
42355         [UNIX98] (pthread_barrier_destroy): Likewise.
42356         [UNIX98] (pthread_barrier_init): Likewise.
42357         [UNIX98] (pthread_barrier_wait): Likewise.
42358         [UNIX98] (pthread_barrierattr_destroy): Likewise.
42359         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
42360         [UNIX98] (pthread_barrierattr_init): Likewise.
42361         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
42362         [UNIX98] (pthread_getcpuclockid): Likewise.
42363         [UNIX98] (pthread_mutex_timedlock): Likewise.
42364         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
42365         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
42366         [UNIX98] (pthread_sigmask): Likewise.
42367         [UNIX98] (pthread_spin_destroy): Likewise.
42368         [UNIX98] (pthread_spin_init): Likewise.
42369         [UNIX98] (pthread_spin_lock): Likewise.
42370         [UNIX98] (pthread_spin_trylock): Likewise.
42371         [UNIX98] (pthread_spin_unlock): Likewise.
42372         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
42373         Do not expect.
42374         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
42375         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
42376         [XPG3 || XPG4] (pthread_cond_t): Likewise.
42377         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
42378         [XPG3 || XPG4] (pthread_key_t): Likewise.
42379         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
42380         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
42381         [XPG3 || XPG4] (pthread_once_t): Likewise.
42382         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
42383         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
42384         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
42385         [XPG3 || XPG4] (pthread_t): Likewise.
42387         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
42388         not expect.
42389         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
42391         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
42392         Change function return type to int.
42394         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
42395         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
42396         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
42397         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
42398         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
42399         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
42400         [!POSIX] (posix_madvise): Likewise.
42401         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
42402         && !UNIX98].
42403         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
42404         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
42405         (mode_t): Likewise.
42406         (posix_mem_offset): Likewise.
42407         (posix_typed_mem_get_info): Likewise.
42408         (posix_typed_mem_open): Likewise.
42410         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
42411         Change condition to [XOPEN2K8].
42413         * conform/conformtest.pl: Preprocess allow-header data with -x c
42414         instead of from stdin.
42415         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
42416         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
42417         [C99-based standards] (cerfc): Likewise.
42418         [C99-based standards] (cexp2): Likewise.
42419         [C99-based standards] (cexpm1): Likewise.
42420         [C99-based standards] (clog10): Likewise.
42421         [C99-based standards] (clog1p): Likewise.
42422         [C99-based standards] (clog2): Likewise.
42423         [C99-based standards] (clgamma): Likewise.
42424         [C99-based standards] (ctgamma): Likewise.
42425         [C99-based standards] (cerff): Likewise.
42426         [C99-based standards] (cerfcf): Likewise.
42427         [C99-based standards] (cexp2f): Likewise.
42428         [C99-based standards] (cexpm1f): Likewise.
42429         [C99-based standards] (clog10f): Likewise.
42430         [C99-based standards] (clog1pf): Likewise.
42431         [C99-based standards] (clog2f): Likewise.
42432         [C99-based standards] (clgammaf): Likewise.
42433         [C99-based standards] (ctgammaf): Likewise.
42434         [C99-based standards] (cerfl): Likewise.
42435         [C99-based standards] (cerfcl): Likewise.
42436         [C99-based standards] (cexp2l): Likewise.
42437         [C99-based standards] (cexpm1l): Likewise.
42438         [C99-based standards] (clog10l): Likewise.
42439         [C99-based standards] (clog1pl): Likewise.
42440         [C99-based standards] (clog2l): Likewise.
42441         [C99-based standards] (clgammal): Likewise.
42442         [C99-based standards] (ctgammal): Likewise.
42443         * conform/data/inttypes.h-data [C99-based standards]: Include
42444         stdint.h-data.  Remove all expectations for stdint.h contents.
42445         [C99-based standards] (PRI*): Do not allow.
42446         [C99-based standards] (SCN*): Likewise.
42447         [C99-based standards] (*_t): Likewise.
42448         [C99-based-standards] (PRId8): Expect macro.
42449         [C99-based-standards] (PRIi8): Likewise.
42450         [C99-based-standards] (PRIo8): Likewise.
42451         [C99-based-standards] (PRIu8): Likewise.
42452         [C99-based-standards] (PRIx8): Likewise.
42453         [C99-based-standards] (PRIX8): Likewise.
42454         [C99-based-standards] (SCNd8): Likewise.
42455         [C99-based-standards] (SCNi8): Likewise.
42456         [C99-based-standards] (SCNo8): Likewise.
42457         [C99-based-standards] (SCNu8): Likewise.
42458         [C99-based-standards] (SCNx8): Likewise.
42459         [C99-based-standards] (PRIdLEAST8): Likewise.
42460         [C99-based-standards] (PRIiLEAST8): Likewise.
42461         [C99-based-standards] (PRIoLEAST8): Likewise.
42462         [C99-based-standards] (PRIuLEAST8): Likewise.
42463         [C99-based-standards] (PRIxLEAST8): Likewise.
42464         [C99-based-standards] (PRIXLEAST8): Likewise.
42465         [C99-based-standards] (SCNdLEAST8): Likewise.
42466         [C99-based-standards] (SCNiLEAST8): Likewise.
42467         [C99-based-standards] (SCNoLEAST8): Likewise.
42468         [C99-based-standards] (SCNuLEAST8): Likewise.
42469         [C99-based-standards] (SCNxLEAST8): Likewise.
42470         [C99-based-standards] (PRIdFAST8): Likewise.
42471         [C99-based-standards] (PRIiFAST8): Likewise.
42472         [C99-based-standards] (PRIoFAST8): Likewise.
42473         [C99-based-standards] (PRIuFAST8): Likewise.
42474         [C99-based-standards] (PRIxFAST8): Likewise.
42475         [C99-based-standards] (PRIXFAST8): Likewise.
42476         [C99-based-standards] (SCNdFAST8): Likewise.
42477         [C99-based-standards] (SCNiFAST8): Likewise.
42478         [C99-based-standards] (SCNoFAST8): Likewise.
42479         [C99-based-standards] (SCNuFAST8): Likewise.
42480         [C99-based-standards] (SCNxFAST8): Likewise.
42481         [C99-based-standards] (PRId16): Likewise.
42482         [C99-based-standards] (PRIi16): Likewise.
42483         [C99-based-standards] (PRIo16): Likewise.
42484         [C99-based-standards] (PRIu16): Likewise.
42485         [C99-based-standards] (PRIx16): Likewise.
42486         [C99-based-standards] (PRIX16): Likewise.
42487         [C99-based-standards] (SCNd16): Likewise.
42488         [C99-based-standards] (SCNi16): Likewise.
42489         [C99-based-standards] (SCNo16): Likewise.
42490         [C99-based-standards] (SCNu16): Likewise.
42491         [C99-based-standards] (SCNx16): Likewise.
42492         [C99-based-standards] (PRIdLEAST16): Likewise.
42493         [C99-based-standards] (PRIiLEAST16): Likewise.
42494         [C99-based-standards] (PRIoLEAST16): Likewise.
42495         [C99-based-standards] (PRIuLEAST16): Likewise.
42496         [C99-based-standards] (PRIxLEAST16): Likewise.
42497         [C99-based-standards] (PRIXLEAST16): Likewise.
42498         [C99-based-standards] (SCNdLEAST16): Likewise.
42499         [C99-based-standards] (SCNiLEAST16): Likewise.
42500         [C99-based-standards] (SCNoLEAST16): Likewise.
42501         [C99-based-standards] (SCNuLEAST16): Likewise.
42502         [C99-based-standards] (SCNxLEAST16): Likewise.
42503         [C99-based-standards] (PRIdFAST16): Likewise.
42504         [C99-based-standards] (PRIiFAST16): Likewise.
42505         [C99-based-standards] (PRIoFAST16): Likewise.
42506         [C99-based-standards] (PRIuFAST16): Likewise.
42507         [C99-based-standards] (PRIxFAST16): Likewise.
42508         [C99-based-standards] (PRIXFAST16): Likewise.
42509         [C99-based-standards] (SCNdFAST16): Likewise.
42510         [C99-based-standards] (SCNiFAST16): Likewise.
42511         [C99-based-standards] (SCNoFAST16): Likewise.
42512         [C99-based-standards] (SCNuFAST16): Likewise.
42513         [C99-based-standards] (SCNxFAST16): Likewise.
42514         [C99-based-standards] (PRId32): Likewise.
42515         [C99-based-standards] (PRIi32): Likewise.
42516         [C99-based-standards] (PRIo32): Likewise.
42517         [C99-based-standards] (PRIu32): Likewise.
42518         [C99-based-standards] (PRIx32): Likewise.
42519         [C99-based-standards] (PRIX32): Likewise.
42520         [C99-based-standards] (SCNd32): Likewise.
42521         [C99-based-standards] (SCNi32): Likewise.
42522         [C99-based-standards] (SCNo32): Likewise.
42523         [C99-based-standards] (SCNu32): Likewise.
42524         [C99-based-standards] (SCNx32): Likewise.
42525         [C99-based-standards] (PRIdLEAST32): Likewise.
42526         [C99-based-standards] (PRIiLEAST32): Likewise.
42527         [C99-based-standards] (PRIoLEAST32): Likewise.
42528         [C99-based-standards] (PRIuLEAST32): Likewise.
42529         [C99-based-standards] (PRIxLEAST32): Likewise.
42530         [C99-based-standards] (PRIXLEAST32): Likewise.
42531         [C99-based-standards] (SCNdLEAST32): Likewise.
42532         [C99-based-standards] (SCNiLEAST32): Likewise.
42533         [C99-based-standards] (SCNoLEAST32): Likewise.
42534         [C99-based-standards] (SCNuLEAST32): Likewise.
42535         [C99-based-standards] (SCNxLEAST32): Likewise.
42536         [C99-based-standards] (PRIdFAST32): Likewise.
42537         [C99-based-standards] (PRIiFAST32): Likewise.
42538         [C99-based-standards] (PRIoFAST32): Likewise.
42539         [C99-based-standards] (PRIuFAST32): Likewise.
42540         [C99-based-standards] (PRIxFAST32): Likewise.
42541         [C99-based-standards] (PRIXFAST32): Likewise.
42542         [C99-based-standards] (SCNdFAST32): Likewise.
42543         [C99-based-standards] (SCNiFAST32): Likewise.
42544         [C99-based-standards] (SCNoFAST32): Likewise.
42545         [C99-based-standards] (SCNuFAST32): Likewise.
42546         [C99-based-standards] (SCNxFAST32): Likewise.
42547         [C99-based-standards] (PRId64): Likewise.
42548         [C99-based-standards] (PRIi64): Likewise.
42549         [C99-based-standards] (PRIo64): Likewise.
42550         [C99-based-standards] (PRIu64): Likewise.
42551         [C99-based-standards] (PRIx64): Likewise.
42552         [C99-based-standards] (PRIX64): Likewise.
42553         [C99-based-standards] (SCNd64): Likewise.
42554         [C99-based-standards] (SCNi64): Likewise.
42555         [C99-based-standards] (SCNo64): Likewise.
42556         [C99-based-standards] (SCNu64): Likewise.
42557         [C99-based-standards] (SCNx64): Likewise.
42558         [C99-based-standards] (PRIdLEAST64): Likewise.
42559         [C99-based-standards] (PRIiLEAST64): Likewise.
42560         [C99-based-standards] (PRIoLEAST64): Likewise.
42561         [C99-based-standards] (PRIuLEAST64): Likewise.
42562         [C99-based-standards] (PRIxLEAST64): Likewise.
42563         [C99-based-standards] (PRIXLEAST64): Likewise.
42564         [C99-based-standards] (SCNdLEAST64): Likewise.
42565         [C99-based-standards] (SCNiLEAST64): Likewise.
42566         [C99-based-standards] (SCNoLEAST64): Likewise.
42567         [C99-based-standards] (SCNuLEAST64): Likewise.
42568         [C99-based-standards] (SCNxLEAST64): Likewise.
42569         [C99-based-standards] (PRIdFAST64): Likewise.
42570         [C99-based-standards] (PRIiFAST64): Likewise.
42571         [C99-based-standards] (PRIoFAST64): Likewise.
42572         [C99-based-standards] (PRIuFAST64): Likewise.
42573         [C99-based-standards] (PRIxFAST64): Likewise.
42574         [C99-based-standards] (PRIXFAST64): Likewise.
42575         [C99-based-standards] (SCNdFAST64): Likewise.
42576         [C99-based-standards] (SCNiFAST64): Likewise.
42577         [C99-based-standards] (SCNoFAST64): Likewise.
42578         [C99-based-standards] (SCNuFAST64): Likewise.
42579         [C99-based-standards] (SCNxFAST64): Likewise.
42580         [C99-based-standards] (PRIdMAX): Likewise.
42581         [C99-based-standards] (PRIiMAX): Likewise.
42582         [C99-based-standards] (PRIoMAX): Likewise.
42583         [C99-based-standards] (PRIuMAX): Likewise.
42584         [C99-based-standards] (PRIxMAX): Likewise.
42585         [C99-based-standards] (PRIXMAX): Likewise.
42586         [C99-based-standards] (SCNdMAX): Likewise.
42587         [C99-based-standards] (SCNiMAX): Likewise.
42588         [C99-based-standards] (SCNoMAX): Likewise.
42589         [C99-based-standards] (SCNuMAX): Likewise.
42590         [C99-based-standards] (SCNxMAX): Likewise.
42591         [C99-based-standards] (PRIdPTR): Likewise.
42592         [C99-based-standards] (PRIiPTR): Likewise.
42593         [C99-based-standards] (PRIoPTR): Likewise.
42594         [C99-based-standards] (PRIuPTR): Likewise.
42595         [C99-based-standards] (PRIxPTR): Likewise.
42596         [C99-based-standards] (PRIXPTR): Likewise.
42597         [C99-based-standards] (SCNdPTR): Likewise.
42598         [C99-based-standards] (SCNiPTR): Likewise.
42599         [C99-based-standards] (SCNoPTR): Likewise.
42600         [C99-based-standards] (SCNuPTR): Likewise.
42601         [C99-based-standards] (SCNxPTR): Likewise.
42602         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42603         allow.
42604         * conform/data/stdint.h-data: Update comments to clarify
42605         requirements.
42606         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
42607         type.
42608         [C99-based standards] (INT8_MAX): Likewise.
42609         [C99-based standards] (INT16_MIN): Likewise.
42610         [C99-based standards] (INT16_MAX): Likewise.
42611         [C99-based standards] (INT32_MIN): Likewise.
42612         [C99-based standards] (INT32_MAX): Likewise.
42613         [C99-based standards] (INT64_MIN): Likewise.
42614         [C99-based standards] (INT64_MAX): Likewise.
42615         [C99-based standards] (UINT8_MAX): Likewise.
42616         [C99-based standards] (UINT16_MAX): Likewise.
42617         [C99-based standards] (UINT32_MAX): Likewise.
42618         [C99-based standards] (UINT64_MAX): Likewise.
42619         [C99-based standards] (INT_LEAST8_MIN): Likewise.
42620         [C99-based standards] (INT_LEAST8_MAX): Likewise.
42621         [C99-based standards] (INT_LEAST16_MIN): Likewise.
42622         [C99-based standards] (INT_LEAST16_MAX): Likewise.
42623         [C99-based standards] (INT_LEAST32_MIN): Likewise.
42624         [C99-based standards] (INT_LEAST32_MAX): Likewise.
42625         [C99-based standards] (INT_LEAST64_MIN): Likewise.
42626         [C99-based standards] (INT_LEAST64_MAX): Likewise.
42627         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42628         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42629         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42630         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42631         [C99-based standards] (INT_FAST8_MIN): Likewise.
42632         [C99-based standards] (INT_FAST8_MAX): Likewise.
42633         [C99-based standards] (INT_FAST16_MIN): Likewise.
42634         [C99-based standards] (INT_FAST16_MAX): Likewise.
42635         [C99-based standards] (INT_FAST32_MIN): Likewise.
42636         [C99-based standards] (INT_FAST32_MAX): Likewise.
42637         [C99-based standards] (INT_FAST64_MIN): Likewise.
42638         [C99-based standards] (INT_FAST64_MAX): Likewise.
42639         [C99-based standards] (UINT_FAST8_MAX): Likewise.
42640         [C99-based standards] (UINT_FAST16_MAX): Likewise.
42641         [C99-based standards] (UINT_FAST32_MAX): Likewise.
42642         [C99-based standards] (UINT_FAST64_MAX): Likewise.
42643         [C99-based standards] (INTPTR_MIN): Likewise.
42644         [C99-based standards] (INTPTR_MAX): Likewise.
42645         [C99-based standards] (UINTPTR_MAX): Likewise.
42646         [C99-based standards] (INTMAX_MIN): Likewise.
42647         [C99-based standards] (INTMAX_MAX): Likewise.
42648         [C99-based standards] (UINTMAX_MAX): Likewise.
42649         [C99-based standards] (PTRDIFF_MIN): Likewise.
42650         [C99-based standards] (PTRDIFF_MAX): Likewise.
42651         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42652         [C99-based standards] (SIZE_MAX): Likewise.
42653         [C99-based standards] (WCHAR_MAX): Likewise.
42654         [C99-based standards] (WINT_MAX): Likewise.
42655         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42656         constraint on value.
42657         [C99-based standards] (WCHAR_MIN): Likewise.
42658         [C99-based standards] (WINT_MIN): Likewise.
42659         [C99-based standards] (*_t): Allow.
42660         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42661         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42662         Include math.h-data and complex.h-data.  Remove all expectations
42663         of math.h and complex.h contents.
42664         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42665         at end of line.
42666         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42667         (struct tm): Expect tag.
42668         [C99-based-standards] (wcstof): Expect function.
42669         [C99-based-standards] (wcstold): Likewise.
42670         [C99-based-standards] (wcstoll): Likewise.
42671         [C99-based-standards] (wcstoull): Likewise.
42672         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42673         macro-int-constant.  Specify type.
42674         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42675         constraint on value.
42676         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42677         Specify type.
42678         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42679         Specify value.
42680         [ISO C standards]: Do not allow headers.
42681         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42682         wcs[abcdefghijklmnopqrstuvwxyz]*.
42683         [ISO C standards] (*_t): Do not allow.
42684         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42685         Expect function.
42686         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42687         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42688         Specify type.
42689         [ISO C standards]: Do not allow headers.
42690         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42691         is[abcdefghijklmnopqrstuvwxyz]*.
42692         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42693         to[abcdefghijklmnopqrstuvwxyz]*.
42694         [ISO C standards] (*_t): Do not allow.
42695         * conform/data/stdalign.h-data: New file.
42696         * conform/data/stdbool.h-data: Likewise.
42697         * conform/data/stdnoreturn.h-data: Likewise.
42699 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42701         [BZ #14815]
42702         * manual/filesys.texi (Directory Entries): Typo fix.
42703         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42705 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42707         * elf/elf.h (EM_AARCH64): New macro.
42708         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42709         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42710         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42711         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42712         (R_AARCH64_TLSDESC): Likewise.
42713         (NT_ARM_TLS): Likewise.
42714         (NT_ARM_HW_BREAK): Likewise.
42715         (NT_ARM_HW_WATCH): Likewise.
42717 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42719         [BZ #14811]
42720         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42721         (__ieee754_powl): Saturate nonzero exponents with absolute value
42722         below 0x1p-79 to +/- 0x1p-79.
42723         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42724         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42725         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42726         nonzero exponents with absolute value below 0x1p-32 to +/-
42727         0x1p-32.
42728         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42729         (__ieee754_powl): Saturate nonzero exponents with absolute value
42730         below 0x1p-79 to +/- 0x1p-79.
42731         * math/libm-test.inc (pow_test): Add more tests.
42733 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42735         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42736         _dl_s390_cap_flags with kernel. Increase string length.
42737         (_dl_s390_platforms): Add z196 and zEC12.
42739 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42741         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42742         Change XOPEN21K to XOPEN2K.
42744 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42746         * string/memmove.c: Use memcpy when possible.
42748 2012-11-06  Andreas Jaeger  <aj@suse.de>
42750         * po/eo.po: Update from translation team.
42752 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42754         [BZ #14793]
42755         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42756         exponent and small x and y exponents, scale x or y up.  Increase
42757         by 2 the exponent used in scaling up.
42758         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42759         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42760         * math/libm-test.inc (fma_test): Add more tests.
42761         (fma_test_towardzero): Likewise.
42762         (fma_test_downward): Likewise.
42763         (fma_test_upward): Likewise.
42765 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42767         [BZ #14805]
42768         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42769         fenv_t *.
42771         [BZ #14801]
42772         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42773         namespace for names of struct fields.
42774         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42775         fenv_t fields.
42776         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42777         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42779 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42781         [BZ #3665]
42782         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42784 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42786         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42787         PTR_DEMANGLE.
42789         [BZ #5246]
42790         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42791         PTR_DEMANGLE.
42793 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42795         [BZ #14797]
42796         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42797         definitely overflow as x * y not x * y + z.
42798         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42799         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42800         * math/libm-test.inc (fma_test): Add more tests.
42801         (fma_test_towardzero): Likewise.
42802         (fma_test_downward): Likewise.
42803         (fma_test_upward): Likewise.
42805 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42807         [BZ #157]
42809         * include/stub-tag.h: Remove file.
42810         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42811         '#include' of it.
42812         * manual/maint.texi (Porting): Don't reference it.
42813         * Makerules ($(objpfx)stubs): Likewise.
42814         * dirent/closedir.c: Don't include <stub-tag.h>.
42815         * dirent/dirfd.c: Likewise.
42816         * dirent/fdopendir.c: Likewise.
42817         * dirent/getdents.c: Likewise.
42818         * dirent/getdents64.c: Likewise.
42819         * dirent/opendir.c: Likewise.
42820         * dirent/readdir.c: Likewise.
42821         * dirent/readdir64.c: Likewise.
42822         * dirent/readdir64_r.c: Likewise.
42823         * dirent/readdir_r.c: Likewise.
42824         * dirent/rewinddir.c: Likewise.
42825         * dirent/seekdir.c: Likewise.
42826         * dirent/telldir.c: Likewise.
42827         * gmon/profil.c: Likewise.
42828         * grp/setgroups.c: Likewise.
42829         * inet/if_index.c: Likewise.
42830         * io/access.c: Likewise.
42831         * io/chdir.c: Likewise.
42832         * io/chmod.c: Likewise.
42833         * io/chown.c: Likewise.
42834         * io/close.c: Likewise.
42835         * io/dup.c: Likewise.
42836         * io/dup2.c: Likewise.
42837         * io/dup3.c: Likewise.
42838         * io/euidaccess.c: Likewise.
42839         * io/faccessat.c: Likewise.
42840         * io/fchdir.c: Likewise.
42841         * io/fchmod.c: Likewise.
42842         * io/fchmodat.c: Likewise.
42843         * io/fchown.c: Likewise.
42844         * io/fchownat.c: Likewise.
42845         * io/fcntl.c: Likewise.
42846         * io/flock.c: Likewise.
42847         * io/fstatfs.c: Likewise.
42848         * io/fstatfs64.c: Likewise.
42849         * io/fstatvfs.c: Likewise.
42850         * io/fstatvfs64.c: Likewise.
42851         * io/futimens.c: Likewise.
42852         * io/fxstat.c: Likewise.
42853         * io/fxstat64.c: Likewise.
42854         * io/fxstatat.c: Likewise.
42855         * io/fxstatat64.c: Likewise.
42856         * io/getcwd.c: Likewise.
42857         * io/isatty.c: Likewise.
42858         * io/lchmod.c: Likewise.
42859         * io/lchown.c: Likewise.
42860         * io/link.c: Likewise.
42861         * io/linkat.c: Likewise.
42862         * io/lseek.c: Likewise.
42863         * io/lseek64.c: Likewise.
42864         * io/lxstat64.c: Likewise.
42865         * io/mkdir.c: Likewise.
42866         * io/mkdirat.c: Likewise.
42867         * io/mkfifo.c: Likewise.
42868         * io/mkfifoat.c: Likewise.
42869         * io/open.c: Likewise.
42870         * io/open64.c: Likewise.
42871         * io/openat.c: Likewise.
42872         * io/openat64.c: Likewise.
42873         * io/pipe.c: Likewise.
42874         * io/pipe2.c: Likewise.
42875         * io/poll.c: Likewise.
42876         * io/posix_fadvise.c: Likewise.
42877         * io/posix_fadvise64.c: Likewise.
42878         * io/posix_fallocate.c: Likewise.
42879         * io/posix_fallocate64.c: Likewise.
42880         * io/read.c: Likewise.
42881         * io/readlink.c: Likewise.
42882         * io/readlinkat.c: Likewise.
42883         * io/rmdir.c: Likewise.
42884         * io/sendfile.c: Likewise.
42885         * io/sendfile64.c: Likewise.
42886         * io/statfs.c: Likewise.
42887         * io/statfs64.c: Likewise.
42888         * io/statvfs.c: Likewise.
42889         * io/statvfs64.c: Likewise.
42890         * io/symlink.c: Likewise.
42891         * io/symlinkat.c: Likewise.
42892         * io/ttyname.c: Likewise.
42893         * io/ttyname_r.c: Likewise.
42894         * io/umask.c: Likewise.
42895         * io/unlink.c: Likewise.
42896         * io/unlinkat.c: Likewise.
42897         * io/utime.c: Likewise.
42898         * io/utimensat.c: Likewise.
42899         * io/write.c: Likewise.
42900         * io/xmknod.c: Likewise.
42901         * io/xmknodat.c: Likewise.
42902         * io/xstat.c: Likewise.
42903         * io/xstat64.c: Likewise.
42904         * login/getpt.c: Likewise.
42905         * login/grantpt.c: Likewise.
42906         * login/unlockpt.c: Likewise.
42907         * math/e_acoshl.c: Likewise.
42908         * math/e_acosl.c: Likewise.
42909         * math/e_asinl.c: Likewise.
42910         * math/e_atan2l.c: Likewise.
42911         * math/e_atanhl.c: Likewise.
42912         * math/e_coshl.c: Likewise.
42913         * math/e_expl.c: Likewise.
42914         * math/e_fmodl.c: Likewise.
42915         * math/e_gammal_r.c: Likewise.
42916         * math/e_hypotl.c: Likewise.
42917         * math/e_j0l.c: Likewise.
42918         * math/e_j1l.c: Likewise.
42919         * math/e_jnl.c: Likewise.
42920         * math/e_lgammal_r.c: Likewise.
42921         * math/e_log10l.c: Likewise.
42922         * math/e_log2l.c: Likewise.
42923         * math/e_logl.c: Likewise.
42924         * math/e_powl.c: Likewise.
42925         * math/e_rem_pio2l.c: Likewise.
42926         * math/e_sinhl.c: Likewise.
42927         * math/e_sqrtl.c: Likewise.
42928         * math/fclrexcpt.c: Likewise.
42929         * math/fedisblxcpt.c: Likewise.
42930         * math/feenablxcpt.c: Likewise.
42931         * math/fegetenv.c: Likewise.
42932         * math/fegetexcept.c: Likewise.
42933         * math/fegetround.c: Likewise.
42934         * math/feholdexcpt.c: Likewise.
42935         * math/fesetenv.c: Likewise.
42936         * math/fesetround.c: Likewise.
42937         * math/feupdateenv.c: Likewise.
42938         * math/fgetexcptflg.c: Likewise.
42939         * math/fraiseexcpt.c: Likewise.
42940         * math/fsetexcptflg.c: Likewise.
42941         * math/ftestexcept.c: Likewise.
42942         * math/k_cosl.c: Likewise.
42943         * math/k_rem_pio2l.c: Likewise.
42944         * math/k_sinl.c: Likewise.
42945         * math/k_tanl.c: Likewise.
42946         * math/s_asinhl.c: Likewise.
42947         * math/s_atanl.c: Likewise.
42948         * math/s_cbrtl.c: Likewise.
42949         * math/s_erfl.c: Likewise.
42950         * math/s_expm1l.c: Likewise.
42951         * math/s_log1pl.c: Likewise.
42952         * math/s_tanhl.c: Likewise.
42953         * misc/acct.c: Likewise.
42954         * misc/brk.c: Likewise.
42955         * misc/chflags.c: Likewise.
42956         * misc/chroot.c: Likewise.
42957         * misc/fchflags.c: Likewise.
42958         * misc/fgetxattr.c: Likewise.
42959         * misc/flistxattr.c: Likewise.
42960         * misc/fremovexattr.c: Likewise.
42961         * misc/fsetxattr.c: Likewise.
42962         * misc/fsync.c: Likewise.
42963         * misc/ftruncate.c: Likewise.
42964         * misc/futimes.c: Likewise.
42965         * misc/futimesat.c: Likewise.
42966         * misc/getdomain.c: Likewise.
42967         * misc/getdtsz.c: Likewise.
42968         * misc/gethostid.c: Likewise.
42969         * misc/gethostname.c: Likewise.
42970         * misc/getloadavg.c: Likewise.
42971         * misc/getpagesize.c: Likewise.
42972         * misc/getsysstats.c: Likewise.
42973         * misc/getxattr.c: Likewise.
42974         * misc/gtty.c: Likewise.
42975         * misc/ioctl.c: Likewise.
42976         * misc/lgetxattr.c: Likewise.
42977         * misc/listxattr.c: Likewise.
42978         * misc/llistxattr.c: Likewise.
42979         * misc/lremovexattr.c: Likewise.
42980         * misc/lsetxattr.c: Likewise.
42981         * misc/lutimes.c: Likewise.
42982         * misc/madvise.c: Likewise.
42983         * misc/mincore.c: Likewise.
42984         * misc/mlock.c: Likewise.
42985         * misc/mlockall.c: Likewise.
42986         * misc/mmap.c: Likewise.
42987         * misc/mprotect.c: Likewise.
42988         * misc/msync.c: Likewise.
42989         * misc/munlock.c: Likewise.
42990         * misc/munlockall.c: Likewise.
42991         * misc/munmap.c: Likewise.
42992         * misc/preadv.c: Likewise.
42993         * misc/preadv64.c: Likewise.
42994         * misc/ptrace.c: Likewise.
42995         * misc/pwritev.c: Likewise.
42996         * misc/pwritev64.c: Likewise.
42997         * misc/readv.c: Likewise.
42998         * misc/reboot.c: Likewise.
42999         * misc/remap_file_pages.c: Likewise.
43000         * misc/removexattr.c: Likewise.
43001         * misc/revoke.c: Likewise.
43002         * misc/select.c: Likewise.
43003         * misc/setdomain.c: Likewise.
43004         * misc/setegid.c: Likewise.
43005         * misc/seteuid.c: Likewise.
43006         * misc/sethostid.c: Likewise.
43007         * misc/sethostname.c: Likewise.
43008         * misc/setregid.c: Likewise.
43009         * misc/setreuid.c: Likewise.
43010         * misc/setxattr.c: Likewise.
43011         * misc/sstk.c: Likewise.
43012         * misc/stty.c: Likewise.
43013         * misc/swapoff.c: Likewise.
43014         * misc/swapon.c: Likewise.
43015         * misc/sync.c: Likewise.
43016         * misc/syncfs.c: Likewise.
43017         * misc/syscall.c: Likewise.
43018         * misc/truncate.c: Likewise.
43019         * misc/ualarm.c: Likewise.
43020         * misc/usleep.c: Likewise.
43021         * misc/ustat.c: Likewise.
43022         * misc/utimes.c: Likewise.
43023         * misc/vhangup.c: Likewise.
43024         * misc/writev.c: Likewise.
43025         * posix/_exit.c: Likewise.
43026         * posix/alarm.c: Likewise.
43027         * posix/execve.c: Likewise.
43028         * posix/fexecve.c: Likewise.
43029         * posix/fork.c: Likewise.
43030         * posix/fpathconf.c: Likewise.
43031         * posix/getaddrinfo.c: Likewise.
43032         * posix/getegid.c: Likewise.
43033         * posix/geteuid.c: Likewise.
43034         * posix/getgid.c: Likewise.
43035         * posix/getgroups.c: Likewise.
43036         * posix/getlogin.c: Likewise.
43037         * posix/getlogin_r.c: Likewise.
43038         * posix/getpgid.c: Likewise.
43039         * posix/getpid.c: Likewise.
43040         * posix/getppid.c: Likewise.
43041         * posix/getresgid.c: Likewise.
43042         * posix/getresuid.c: Likewise.
43043         * posix/getsid.c: Likewise.
43044         * posix/getuid.c: Likewise.
43045         * posix/glob64.c: Likewise.
43046         * posix/nanosleep.c: Likewise.
43047         * posix/pathconf.c: Likewise.
43048         * posix/pause.c: Likewise.
43049         * posix/posix_madvise.c: Likewise.
43050         * posix/pread.c: Likewise.
43051         * posix/pread64.c: Likewise.
43052         * posix/pwrite.c: Likewise.
43053         * posix/pwrite64.c: Likewise.
43054         * posix/sched_getaffinity.c: Likewise.
43055         * posix/sched_getp.c: Likewise.
43056         * posix/sched_gets.c: Likewise.
43057         * posix/sched_primax.c: Likewise.
43058         * posix/sched_primin.c: Likewise.
43059         * posix/sched_rr_gi.c: Likewise.
43060         * posix/sched_setaffinity.c: Likewise.
43061         * posix/sched_setp.c: Likewise.
43062         * posix/sched_sets.c: Likewise.
43063         * posix/sched_yield.c: Likewise.
43064         * posix/setgid.c: Likewise.
43065         * posix/setlogin.c: Likewise.
43066         * posix/setpgid.c: Likewise.
43067         * posix/setresgid.c: Likewise.
43068         * posix/setresuid.c: Likewise.
43069         * posix/setsid.c: Likewise.
43070         * posix/setuid.c: Likewise.
43071         * posix/sleep.c: Likewise.
43072         * posix/spawni.c: Likewise.
43073         * posix/sysconf.c: Likewise.
43074         * posix/times.c: Likewise.
43075         * posix/wait.c: Likewise.
43076         * posix/wait3.c: Likewise.
43077         * posix/wait4.c: Likewise.
43078         * posix/waitpid.c: Likewise.
43079         * resolv/gai_sigqueue.c: Likewise.
43080         * resource/getpriority.c: Likewise.
43081         * resource/getrlimit.c: Likewise.
43082         * resource/getrusage.c: Likewise.
43083         * resource/nice.c: Likewise.
43084         * resource/setpriority.c: Likewise.
43085         * resource/setrlimit.c: Likewise.
43086         * resource/ulimit.c: Likewise.
43087         * rt/aio_cancel.c: Likewise.
43088         * rt/aio_fsync.c: Likewise.
43089         * rt/aio_read.c: Likewise.
43090         * rt/aio_sigqueue.c: Likewise.
43091         * rt/aio_suspend.c: Likewise.
43092         * rt/aio_write.c: Likewise.
43093         * rt/clock_getres.c: Likewise.
43094         * rt/clock_gettime.c: Likewise.
43095         * rt/clock_nanosleep.c: Likewise.
43096         * rt/clock_settime.c: Likewise.
43097         * rt/lio_listio.c: Likewise.
43098         * rt/mq_close.c: Likewise.
43099         * rt/mq_getattr.c: Likewise.
43100         * rt/mq_notify.c: Likewise.
43101         * rt/mq_open.c: Likewise.
43102         * rt/mq_receive.c: Likewise.
43103         * rt/mq_send.c: Likewise.
43104         * rt/mq_setattr.c: Likewise.
43105         * rt/mq_timedreceive.c: Likewise.
43106         * rt/mq_timedsend.c: Likewise.
43107         * rt/mq_unlink.c: Likewise.
43108         * rt/shm_open.c: Likewise.
43109         * rt/shm_unlink.c: Likewise.
43110         * rt/timer_create.c: Likewise.
43111         * rt/timer_delete.c: Likewise.
43112         * rt/timer_getoverr.c: Likewise.
43113         * rt/timer_gettime.c: Likewise.
43114         * rt/timer_settime.c: Likewise.
43115         * setjmp/__longjmp.c: Likewise.
43116         * setjmp/setjmp.c: Likewise.
43117         * signal/kill.c: Likewise.
43118         * signal/killpg.c: Likewise.
43119         * signal/raise.c: Likewise.
43120         * signal/sigaction.c: Likewise.
43121         * signal/sigaltstack.c: Likewise.
43122         * signal/sigblock.c: Likewise.
43123         * signal/sigignore.c: Likewise.
43124         * signal/sigintr.c: Likewise.
43125         * signal/signal.c: Likewise.
43126         * signal/sigpause.c: Likewise.
43127         * signal/sigpending.c: Likewise.
43128         * signal/sigqueue.c: Likewise.
43129         * signal/sigreturn.c: Likewise.
43130         * signal/sigset.c: Likewise.
43131         * signal/sigsetmask.c: Likewise.
43132         * signal/sigstack.c: Likewise.
43133         * signal/sigsuspend.c: Likewise.
43134         * signal/sigtimedwait.c: Likewise.
43135         * signal/sigvec.c: Likewise.
43136         * signal/sigwait.c: Likewise.
43137         * signal/sigwaitinfo.c: Likewise.
43138         * signal/sysv_signal.c: Likewise.
43139         * socket/accept.c: Likewise.
43140         * socket/accept4.c: Likewise.
43141         * socket/bind.c: Likewise.
43142         * socket/connect.c: Likewise.
43143         * socket/getpeername.c: Likewise.
43144         * socket/getsockname.c: Likewise.
43145         * socket/getsockopt.c: Likewise.
43146         * socket/isfdtype.c: Likewise.
43147         * socket/listen.c: Likewise.
43148         * socket/recv.c: Likewise.
43149         * socket/recvfrom.c: Likewise.
43150         * socket/recvmsg.c: Likewise.
43151         * socket/send.c: Likewise.
43152         * socket/sendmsg.c: Likewise.
43153         * socket/sendto.c: Likewise.
43154         * socket/setsockopt.c: Likewise.
43155         * socket/shutdown.c: Likewise.
43156         * socket/sockatmark.c: Likewise.
43157         * socket/socket.c: Likewise.
43158         * socket/socketpair.c: Likewise.
43159         * stdio-common/ctermid.c: Likewise.
43160         * stdio-common/cuserid.c: Likewise.
43161         * stdio-common/remove.c: Likewise.
43162         * stdio-common/rename.c: Likewise.
43163         * stdio-common/renameat.c: Likewise.
43164         * stdio-common/tempname.c: Likewise.
43165         * stdlib/getcontext.c: Likewise.
43166         * stdlib/makecontext.c: Likewise.
43167         * stdlib/setcontext.c: Likewise.
43168         * stdlib/swapcontext.c: Likewise.
43169         * stdlib/system.c: Likewise.
43170         * streams/fattach.c: Likewise.
43171         * streams/fdetach.c: Likewise.
43172         * streams/getmsg.c: Likewise.
43173         * streams/getpmsg.c: Likewise.
43174         * streams/putmsg.c: Likewise.
43175         * streams/putpmsg.c: Likewise.
43176         * sysdeps/unix/bsd/getpt.c: Likewise.
43177         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
43178         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
43179         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43181         Likewise.
43182         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
43183         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43184         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43185         * sysvipc/msgctl.c: Likewise.
43186         * sysvipc/msgget.c: Likewise.
43187         * sysvipc/msgrcv.c: Likewise.
43188         * sysvipc/msgsnd.c: Likewise.
43189         * sysvipc/semctl.c: Likewise.
43190         * sysvipc/semget.c: Likewise.
43191         * sysvipc/semop.c: Likewise.
43192         * sysvipc/semtimedop.c: Likewise.
43193         * sysvipc/shmat.c: Likewise.
43194         * sysvipc/shmctl.c: Likewise.
43195         * sysvipc/shmdt.c: Likewise.
43196         * sysvipc/shmget.c: Likewise.
43197         * termios/tcdrain.c: Likewise.
43198         * termios/tcflow.c: Likewise.
43199         * termios/tcflush.c: Likewise.
43200         * termios/tcgetattr.c: Likewise.
43201         * termios/tcgetpgrp.c: Likewise.
43202         * termios/tcsendbrk.c: Likewise.
43203         * termios/tcsetattr.c: Likewise.
43204         * termios/tcsetpgrp.c: Likewise.
43205         * time/adjtime.c: Likewise.
43206         * time/clock.c: Likewise.
43207         * time/getitimer.c: Likewise.
43208         * time/gettimeofday.c: Likewise.
43209         * time/setitimer.c: Likewise.
43210         * time/settimeofday.c: Likewise.
43211         * time/stime.c: Likewise.
43212         * time/time.c: Likewise.
43214 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
43216         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
43217         /usr/old/bin.
43219         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
43220         instead of spaces.
43221         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
43223 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
43225         [BZ #14796]
43226         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
43227         FE_TONEAREST before applying Dekker multiplication and Knuth
43228         addition.  Clear inexact exceptions and check for exact zero
43229         results afterwards.
43230         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43231         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43232         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43233         * math/libm-test.inc (fma_test): Add more tests.
43234         (fma_test_towardzero): Likewise.
43235         (fma_test_downward): Likewise.
43236         (fma_test_upward): Likewise.
43237         * sysdeps/generic/math_private.h (default_libc_fesetround): New
43238         function.
43239         (libc_fesetround): New macro.
43240         (libc_fesetroundf): Likewise.
43241         (libc_fesetroundl): Likewise.
43242         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
43243         function.
43244         (libc_fesetround_387): Likewise.
43245         (libc_fesetroundf): New macro.
43246         (libc_fesetround): Likewise.
43247         (libc_fesetroundl): Likewise.
43248         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
43249         function.
43250         (libc_fesetroundf): New macro.
43251         (libc_fesetround): Likewise.
43252         (libc_fesetroundl): Likewise.
43253         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
43254         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
43255         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
43256         libm_hidden_ver.
43257         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
43258         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
43259         libm_hidden_def.
43260         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
43261         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
43262         libm_hidden_ver.
43263         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
43264         libm_hidden_def.
43266         [BZ #3439]
43267         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
43268         integer constant usable in #if and use that to give value to enum
43269         constant.
43270         (FE_DIVBYZERO): Likewise.
43271         (FE_UNDERFLOW): Likewise.
43272         (FE_OVERFLOW): Likewise.
43273         (FE_INVALID): Likewise.
43274         (FE_INVALID_SNAN): Likewise.
43275         (FE_INVALID_ISI): Likewise.
43276         (FE_INVALID_IDI): Likewise.
43277         (FE_INVALID_ZDZ): Likewise.
43278         (FE_INVALID_IMZ): Likewise.
43279         (FE_INVALID_COMPARE): Likewise.
43280         (FE_INVALID_SOFTWARE): Likewise.
43281         (FE_INVALID_SQRT): Likewise.
43282         (FE_INVALID_INTEGER_CONVERSION): Likewise.
43283         (FE_TONEAREST): Likewise.
43284         (FE_TOWARDZERO): Likewise.
43285         (FE_UPWARD): Likewise.
43286         (FE_DOWNWARD): Likewise.
43287         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
43288         (FE_DIVBYZERO): Likewise.
43289         (FE_OVERFLOW): Likewise.
43290         (FE_UNDERFLOW): Likewise.
43291         (FE_INEXACT): Likewise.
43292         (FE_TONEAREST): Likewise.
43293         (FE_DOWNWARD): Likewise.
43294         (FE_UPWARD): Likewise.
43295         (FE_TOWARDZERO): Likewise.
43296         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
43297         (FE_UNDERFLOW): Likewise.
43298         (FE_OVERFLOW): Likewise.
43299         (FE_DIVBYZERO): Likewise.
43300         (FE_INVALID): Likewise.
43301         (FE_TONEAREST): Likewise.
43302         (FE_TOWARDZERO): Likewise.
43303         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
43304         (FE_OVERFLOW): Likewise.
43305         (FE_UNDERFLOW): Likewise.
43306         (FE_DIVBYZERO): Likewise.
43307         (FE_INEXACT): Likewise.
43308         (FE_TONEAREST): Likewise.
43309         (FE_TOWARDZERO): Likewise.
43310         (FE_UPWARD): Likewise.
43311         (FE_DOWNWARD): Likewise.
43312         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
43313         (FE_DIVBYZERO): Likewise.
43314         (FE_OVERFLOW): Likewise.
43315         (FE_UNDERFLOW): Likewise.
43316         (FE_INEXACT): Likewise.
43317         (FE_TONEAREST): Likewise.
43318         (FE_DOWNWARD): Likewise.
43319         (FE_UPWARD): Likewise.
43320         (FE_TOWARDZERO): Likewise.
43322 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
43324         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
43326 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
43328         * scripts/cross-test-ssh.sh (command): Use newlines to separate
43329         commands.  Quote $PWD.
43330         (blacklist_exports): Don't use remove_newlines.  Replace "declare
43331         -x" by "export".
43332         (remove_newlines): Remove.
43334 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
43336         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
43337         * stdlib/stdlib.h (atof): Moved to ...
43338         * include/bits/stdlib-float.h: Here.  New file.
43339         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
43340         * stdlib/bits/stdlib-float.h: New file.
43341         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
43342         -mno-sse -mno-mmx.
43343         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
43344         <xmmintrin.h>.
43346 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43348         * conform/conformtest.pl (@headers): Add fenv.h.
43349         * conform/data/fenv.h-data: New file.
43350         * include/fenv.h [_ISOMAC]: Disable all contents of file except
43351         include of <math/fenv.h>.
43353         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
43354         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
43355         && !UNIX98].  Enables tests for XOPEN2K8.
43356         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
43357         POSIX2008]: Likewise.
43359         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
43360         (struct rusage): Do not expect type or its members.
43362         [BZ #3439]
43363         * math/math.h (FP_NAN): Define macro to integer constant usable in
43364         #if and use that to give value to enum constant.
43365         (FP_INFINITE): Likewise.
43366         (FP_ZERO): Likewise.
43367         (FP_SUBNORMAL): Likewise.
43368         (FP_NORMAL): Likewise.
43370 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
43372         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
43373         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
43374         arguments.
43376 2012-11-02  Roland McGrath  <roland@hack.frob.com>
43378         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
43379         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
43380         autoconf-time if not.
43381         * configure.in: Remove AC_PREREQ.
43383 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43385         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
43386         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
43387         of the internal implementation.
43389 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43391         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
43392         except include of <misc/sys/syslog.h>.
43394 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
43397         function returns with a NULL context exit with zero.
43399 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43401         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
43403 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
43405         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
43406         (run_program_cmd): This.
43407         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
43408         (tst_langinfo): New variable.  Use it.
43410 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
43412         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
43413         floating point opcodes.
43415 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43417         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
43418         variable.
43420         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
43422         * sysdeps/mach/hurd/powerpc: Remove directory.
43423         * sysdeps/mach/powerpc: Likewise.
43425 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43427         * scripts/check-local-headers.sh: Ignore c++ headers.
43429 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43431         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
43432         __libc_cleanup_region_start argument.
43434 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
43436         [BZ #14784]
43437         [BZ #14785]
43438         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
43439         x * y using scaling, not as x * y + z.
43440         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43441         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43442         * math/libm-test.inc (fma_test): Add more tests.
43443         (fma_test_towardzero): Likewise.
43444         (fma_test_downward): Likewise.
43445         (fma_test_upward): Likewise.
43447 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43449         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
43451 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43453         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
43454         New variable.
43456 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
43458         * rt/tst-shm.c (worker): Correct checking for mmap failure.
43460 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43463         Fix sort order.
43464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43465         Likewise.
43467 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43470         Fix the order of the list for glibc 2.17.
43471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43472         Likewise.
43474 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43478 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43480         [BZ #14610]
43481         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
43482         for low part of x being zero before using __atanl (y).
43483         * math/libm-test.inc (atan2_test): Add another test.
43485         * manual/install.texi (Configuring and compiling): Document
43486         general use of test-wrapper and test-wrapper-env.
43487         * INSTALL: Regenerated.
43489         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
43490         (__fma): Do not extract and scale down low bits on after-rounding
43491         systems when result rounded to normal precision would have normal
43492         exponent.
43493         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
43494         (__fmal): Do not extract and scale down low bits on after-rounding
43495         systems when result rounded to normal precision would have normal
43496         exponent.
43497         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
43498         (__fmal): Do not extract and scale down low bits on after-rounding
43499         systems when result rounded to normal precision would have normal
43500         exponent.
43501         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
43502         macro.
43503         (fma_test): Add more tests.
43504         (fma_test_towardzero): Likewise.
43505         (fma_test_downward): Likewise.
43506         (fma_test_upward): Likewise.
43508 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
43510         * sysdeps/i386/tininess.h: Renamed to ...
43511         * sysdeps/x86/tininess.h: This.
43512         * sysdeps/x86_64/tininess.h: Removed.
43514 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43516         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
43517         input.  Use $(build-program-cmd).
43518         ($(objpfx)tst-array1-static.out): Likewise.
43519         ($(objpfx)tst-array2.out): Likewise.
43520         ($(objpfx)tst-array3.out): Likewise.
43521         ($(objpfx)tst-array4.out): Likewise.
43522         ($(objpfx)tst-array5.out): Likewise.
43523         ($(objpfx)tst-array5-static.out): Likewise.
43525 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
43527         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
43528         if defined.
43530         * nss/nsswitch.h (nss_interface_function): Provide new
43531         macro for use with NSS functions.
43532         * grp/initgroups.c: Use new macro.
43533         * nss/getXXbyYY.c: Likewise.
43534         * nss/getXXbyYY_r.c: Likewise.
43535         * nss/getXXent.c: Likewise.
43536         * nss/getXXent_r.c: Likewise.
43537         * sysdeps/posix/getaddrinfo.c: Likewise.
43539 2012-10-30  Andreas Jaeger  <aj@suse.de>
43541         * po/ru.po: Update Russion translation from translation project.
43543 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43545         [BZ #14152]
43546         [BZ #14783]
43547         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
43548         result and shift together with sticky bit instead of replicating
43549         round-to-nearest rounding.
43550         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43551         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43552         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
43553         missing underflow exceptions.
43554         (fma_test_towardzero): Add more tests.
43555         (fma_test_downward): Likewise.
43556         (fma_test_upward): Likewise.
43558         [BZ #14047]
43559         * sysdeps/generic/tininess.h: New file.
43560         * sysdeps/i386/tininess.h: Likewise.
43561         * sysdeps/sh/tininess.h: Likewise.
43562         * sysdeps/x86_64/tininess.h: Likewise.
43563         * stdlib/tst-strtod-underflow.c: Likewise.
43564         * stdlib/tst-tininess.c: Likewise.
43565         * stdlib/strtod_l.c: Include <tininess.h>.
43566         (round_and_return): Do not set errno for exact underflow cases.
43567         Force an underflow exception when setting errno for underflow.
43568         Determine underflow based on rounding to normal precision if
43569         TININESS_AFTER_ROUNDING.
43570         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
43571         ERANGE for exact underflow cases.
43572         * stdlib/Makefile (tests): Add tst-tininess and
43573         tst-strtod-underflow.
43574         ($(objpfx)tst-tininess): Use $(link-libm).
43575         ($(objpfx)tst-strtod-underflow): Likewise.
43577 2012-10-30  Andreas Jaeger  <aj@suse.de>
43579         [BZ#14767]
43580         * elf/Makefile (tests): Remove conditional for have-initfini-array
43581         since this is now always required and the variable does not exist
43582         anymore.
43583         (tests-static): Likewise.
43584         (modules-names): Likewise.
43586         * po/eo.po: Add Esperanto translation from translation project.
43588         * elf/tst-array1.c (fini_array): Make writeable so that it can be
43589         merged with constructor/destructor.
43590         (init_array): Likewise.
43591         * elf/tst-array2dep.c (fini_array): Likewise.
43592         (init_array): Likewise.
43594 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
43596         * manual/message.texi: Delete @cartouche tags.
43598 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
43600         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43601         EOPNOTSUPP.
43602         * sysdeps/mach/hurd/fsync.c: Likewise.
43604         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43605         [_POSIX_REALTIME_SIGNALS]: Change condition to
43606         [_POSIX_REALTIME_SIGNALS > 0].
43608 2012-10-27  Andreas Jaeger  <aj@suse.de>
43610         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43611         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43612         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43613         [__WORDSIZE != 64]: Likewise.
43615 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
43617         *  iconvdata/tst-table.sh: Remove ${SHELL}.
43618         *  iconvdata/tst-tables.sh: Likewise.
43620 2012-10-25  David S. Miller  <davem@davemloft.net>
43622         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43623         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43624         of strtoull.
43626         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43627         ifunc-impl-list.c
43628         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43629         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43630         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43631         file.
43633 2012-10-25  Roland McGrath  <roland@hack.frob.com>
43635         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43636         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43637         __getdirentries.
43639 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43640             Jim Blandy  <jimb@codesourcery.com>
43642         * scripts/cross-test-ssh.sh: New file.
43643         * manual/install.texi (Configuring and compiling): Document use of
43644         cross-test-ssh.sh.
43645         * INSTALL: Regenerated.
43647 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43649         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43650         EOPNOTSUPP.
43652 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43654         * Makeconfig (run-program-prefix): Fix comment.
43656 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43657             Jim Blandy  <jimb@codesourcery.com>
43659         * Makeconfig (test-wrapper): New variable,
43660         (test-wrapper-env): Likewise.
43661         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43662         (run-built-tests): Define to yes.
43663         (run-program-prefix): Use $(test-wrapper).
43664         (built-program-cmd): Likewise.
43665         * Rules (make-test-out): Use $(test-wrapper-env) and
43666         $(host-built-program-cmd).
43667         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43668         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43669         tst-pathopt.sh.
43670         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43671         $(test-wrapper-env) to tst-rtld-load-self.sh.
43672         ($(objpfx)order2.out): Use $(test-wrapper).
43673         ($(objpfx)tst-initorder.out): Likewise.
43674         ($(objpfx)tst-initorder2.out): Likewise.
43675         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43676         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43677         (test_wrapper_env): New variable.  Use it to run ld.so.
43678         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43679         Use it to run ld.so.
43680         (test_wrapper_env): Likewise.
43681         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43682         $(test-wrapper) to run-iconv-test.sh.
43683         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43684         (ICONV): Use $test_wrapper.
43685         * posix/Makefile ($(objpfx)globtest.out): Pass
43686         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43687         globtest.sh, not $(run-program-prefix).
43688         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43689         (test_wrapper): Likewise.
43690         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43691         set together with run_via_rtld_prefix.
43692         (run_program_prefix): Define in terms of test_wrapper and
43693         run_via_rtld_prefix.
43695 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43697         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43698         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43699         Targets removed.
43701         [BZ #14743]
43702         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43703         Declare __clock_getres, __clock_gettime, __clock_settime,
43704         __clock_nanosleep, and __clock_getcpuclockid.
43705         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43706         Remove librt_hidden_def (clock_gettime).
43707         * sysdeps/unix/clock_gettime.c: Likewise.
43708         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43709         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43710         * rt/clock_getres.c: Define __clock_getres as an alias.
43711         * sysdeps/posix/clock_getres.c: Likewise.
43712         * rt/clock_settime.c: Define __clock_settime as an alias.
43713         * sysdeps/unix/clock_settime.c: Likewise.
43714         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43715         * sysdeps/unix/clock_nanosleep.c: Likewise.
43716         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43717         * rt/clock-compat.c: New file.
43718         * rt/Makefile (librt-routines): Add clock-compat and move
43719         $(clock-routines) to ...
43720         (routines): ... here, new variable.
43721         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43722         Don't add get_clockfreq here.
43723         * rt/Versions (libc: GLIBC_2.17): New version set.
43724         Add clock_* symbols here.
43725         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43726         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43727         (GLIBC_2.17): Add clock_* symbols.
43728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43729         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43730         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43732         Likewise.
43733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43734         Likewise.
43735         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43736         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43737         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43738         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43739         * NEWS: Mention the move.
43741         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43742         Use __open, __read, __close rather than their public counterparts.
43743         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43744         (__get_clockfreq_via_cpuinfo): Likewise.
43745         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43746         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43748         * config.h.in (HAVE_IFUNC): New #undef.
43749         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43750         was successful.
43751         * configure: Regenerated.
43753 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43755         * configure.in: Move READELF check to start of file.
43756         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43757         libc_cv_asm_gnu_indirect_function in the process.
43758         * configure: Regenerated.
43760 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43762         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43763         send the output to /dev/null.
43764         (libc_cv_cc_with_libunwind): Likewise.
43765         (libc_cv_as_noexecstack): Likewise.
43766         * configure: Regenerate.
43768 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43770         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43772         * posix/globtest.sh (TMPDIR): Do not set.
43773         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43774         (testout): Likewise.
43776 2012-10-24  Andreas Jaeger  <aj@suse.de>
43778         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43779         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43780         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43781         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43782         posix_fadvise64, posix_fallocate64.
43784         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43785         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43786         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43787         Likewise.
43788         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43789         Likewise.
43790         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43792         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43793         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43794         <bits/fcntl-linux.h>.
43795         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43797         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43798         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43799         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43800         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43801         [__WORDSIZE != 64]: Likewise.
43803 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43805         * Makeconfig (run-built-tests): New variable.
43806         * Rules [$(cross-compiling) = yes]: Change condition to
43807         [$(run-built-tests) = no].
43808         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43809         to [$(run-built-tests) = yes].
43810         * elf/Makefile [$(cross-compiling) = no]: Likewise
43811         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43812         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43813         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43814         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43815         * io/Makefile [$(cross-compiling) = no]: Likewise.
43816         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43817         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43818         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43819         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43820         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43821         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43822         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43823         * string/Makefile [$(cross-compiling) = no]: Likewise.
43825         * posix/Makefile ($(objpfx)globtest.out): Pass
43826         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43827         $(rtld-installed-name).
43828         * posix/globtest.sh (elf_objpfx): Remove variable.
43829         (rtld_installed_name): Likewise.
43830         (library_path): Likewise.
43831         (run_program_prefix): New variable.  Use for running globtest
43832         binary.
43834 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43835             Joseph Myers  <joseph@codesourcery.com>
43837         * Makeconfig (host-built-program-cmd): New variable.
43838         * elf/Makefile (tst-stackguard1-ARGS): Use
43839         $(host-built-program-cmd).
43840         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43841         (tst-spawn-ARGS): Likewise.
43842         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43844 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43845             Jim Blandy  <jimb@codesourcery.com>
43847         * Makeconfig (run-via-rtld-prefix): New variable.
43848         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43849         (built-program-cmd): Likewise.
43851 2012-10-22  Andreas Jaeger  <aj@suse.de>
43853         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43854         __O_RSYNC if it exists, otherwise to O_SYNC.
43856 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43857             Joseph Myers  <joseph@codesourcery.com>
43859         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43860         /dev/null.
43861         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43862         from /dev/null
43863         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43864         /dev/null.
43866 2012-10-22  Andreas Jaeger  <aj@suse.de>
43868         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43869         Define always.
43870         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43872         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43873         bits/fcntl-linux.h.
43875         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43876         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43878         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43879         to __O_LARGEFILE.
43880         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43881         to __O_LARGEFILE.
43883 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43884             Joseph Myers  <joseph@codesourcery.com>
43886         * config.make.in (NM): New variable.
43888 2012-10-21  Andreas Jaeger  <aj@suse.de>
43890         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43891         definitions and declarations that are provided by
43892         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43894 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43896         [BZ #14683]
43897         * elf/Makefile (tests-static): Add tst-leaks1-static.
43898         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43899         ($(objpfx)tst-leaks1-static): New rule.
43900         ($(objpfx)tst-leaks1-static-mem): Likewise.
43901         (tst-leaks1-static-ENV): New macro.
43902         * elf/dl-open.c (dl_open_worker): Check the main application
43903         only if SHARED is defined.
43904         * elf/tst-leaks1-static.c: New file.
43906 2012-10-20  Andreas Jaeger  <aj@suse.de>
43908         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43909         generic values for Linux.
43910         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43911         and declarations that are provided by <bits/fcntl-linux.h> and
43912         include <bits/fcntl-linux.h>.
43913         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43914         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43916 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43918         * io/fcntl.h: Move include of <bits/types.h> to the top and
43919         include it unconditionally.
43921 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43923         * wcsmbs/Makefile (tests-ifunc): New variable.
43924         (tests): Add $(tests-ifunc).
43925         * wcsmbs/test-wcschr-ifunc.c: New file.
43926         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43927         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43928         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43929         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43930         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43932         * string/Makefile (tests-ifunc): New variable.
43933         (tests): Add $(tests-ifunc).
43934         * string/test-memccpy.c (TEST_NAME): New macro.
43935         * string/test-memchr.c (TEST_NAME): Likewise.
43936         * string/test-memcmp.c (TEST_NAME): Likewise.
43937         * string/test-memcpy.c (TEST_NAME): Likewise.
43938         * string/test-memmem.c (TEST_NAME): Likewise.
43939         * string/test-memmove.c (TEST_NAME): Likewise.
43940         * string/test-memset.c (TEST_NAME): Likewise.
43941         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43942         * string/test-stpcpy.c (TEST_NAME): Likewise.
43943         * string/test-stpncpy.c (TEST_NAME): Likewise.
43944         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43945         * string/test-strcasestr.c (TEST_NAME): Likewise.
43946         * string/test-strcat.c (TEST_NAME): Likewise.
43947         * string/test-strchr.c (TEST_NAME): Likewise.
43948         * string/test-strcmp.c(TEST_NAME): Likewise.
43949         * string/test-strcpy.c (TEST_NAME): Likewise.
43950         * string/test-strcspn.c (TEST_NAME): Likewise.
43951         * string/test-strlen.c (TEST_NAME): Likewise.
43952         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43953         * string/test-strncmp.c (TEST_NAME): Likewise.
43954         * string/test-strncpy.c (TEST_NAME): Likewise.
43955         * string/test-strnlen.c (TEST_NAME): Likewise.
43956         * string/test-strpbrk.c (TEST_NAME): Likewise.
43957         * string/test-strrchr.c (TEST_NAME): Likewise.
43958         * string/test-strspn.c (TEST_NAME): Likewise.
43959         * string/test-strstr.c (TEST_NAME): Likewise.
43960         * string/test-bcopy-ifunc.c: New file.
43961         * string/test-bzero-ifunc.c: Likewise.
43962         * string/test-memccpy-ifunc.c: Likewise.
43963         * string/test-memchr-ifunc.c: Likewise.
43964         * string/test-memcmp-ifunc.c: Likewise.
43965         * string/test-memcpy-ifunc.c: Likewise.
43966         * string/test-memmem-ifunc.c: Likewise.
43967         * string/test-memmove-ifunc.c: Likewise.
43968         * string/test-mempcpy-ifunc.c: Likewise.
43969         * string/test-memset-ifunc.c: Likewise.
43970         * string/test-rawmemchr-ifunc.c: Likewise.
43971         * string/test-stpcpy-ifunc.c: Likewise.
43972         * string/test-stpncpy-ifunc.c: Likewise.
43973         * string/test-strcasecmp-ifunc.c: Likewise.
43974         * string/test-strcasestr-ifunc.c: Likewise.
43975         * string/test-strcat-ifunc.c: Likewise.
43976         * string/test-strchr-ifunc.c: Likewise.
43977         * string/test-strchrnul-ifunc.c: Likewise.
43978         * string/test-strcmp-ifunc.c: Likewise.
43979         * string/test-strcpy-ifunc.c: Likewise.
43980         * string/test-strcspn-ifunc.c: Likewise.
43981         * string/test-strlen-ifunc.c: Likewise.
43982         * string/test-strncasecmp-ifunc.c: Likewise.
43983         * string/test-strncat-ifunc.c: Likewise.
43984         * string/test-strncmp-ifunc.c: Likewise.
43985         * string/test-strncpy-ifunc.c: Likewise.
43986         * string/test-strnlen-ifunc.c: Likewise.
43987         * string/test-strpbrk-ifunc.c: Likewise.
43988         * string/test-strrchr-ifunc.c: Likewise.
43989         * string/test-strspn-ifunc.c: Likewise.
43990         * string/test-strstr-ifunc.c: Likewise.
43992         * debug/Makefile (tests-ifunc): New variable.
43993         (tests): Add $(tests-ifunc).
43994         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43995         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43996         * debug/test-stpcpy_chk-ifunc.c: New file.
43997         * debug/test-strcpy_chk-ifunc.c: Likewise.
43999 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44001         [BZ #13601]
44002         * elf/dl-load.c (open_verify): Retry read if the entire ELF
44003         header is not read in.
44005 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
44007         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
44008         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
44009         directly.  Pass built executable to script as
44010         $(built-program-cmd).
44011         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
44012         $testprogram without using LD_LIBRARY_PATH and $ldso.
44014         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
44015         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
44016         $(rtld-installed-name).
44017         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
44018         (rtld_installed_name): Likewise.
44019         (library_path): Likewise.
44020         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
44021         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
44022         $(run-program-prefix) to tst-tables.sh.
44023         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
44024         it to run tst-table-from and tst-table-to.
44025         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
44026         Pass it to tst-table.sh.
44027         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
44028         $(run-program-prefix) to tst-gettext.sh.
44029         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
44030         tst-translit.sh.
44031         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
44032         tst-gettext2.sh.
44033         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
44034         to run tst-gettext.
44035         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
44036         to run tst-gettext2.
44037         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
44038         to run tst-translit.
44039         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
44040         $(run-program-prefix) to tst-mtrace.sh.
44041         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
44042         to run tst-mtrace.
44043         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
44044         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
44045         $(rtld-installed-name).
44046         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
44047         (rtld_installed_name): Likewise.
44048         (run_program_prefix): New variable.  Use it to run wordexp-test.
44050         * Makeconfig (ARCH): Remove all definitions.
44051         (machine): Likewise.
44052         [ARCH]: Remove conditional code.
44053         [!objdir]: Give error.
44054         [!objdir] (objpfx): Remove.
44055         [!objdir] (common-objpfx): Likewise.
44056         [!objdir] (common-objdir): Likewise.
44057         * configure.in (config_makefile): Remove.  Hardcode Makefile in
44058         AC_CONFIG_FILES call.
44059         * configure: Regenerated.
44061         [BZ #13888]
44062         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
44063         or TMPDIR.
44064         (testout): Likewise.
44066         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
44067         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
44068         $(rtld-installed-name).
44069         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
44070         (rtld_installed_name): Likwise.
44071         (runit): Remove function.
44072         (run_getconf): New variable,  Use it for running getconf binary.
44074 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
44076         [BZ #14716]
44077         * string/test-memmem.c (check_result): New function.
44078         (do_one_test): Use it.
44079         (check1): New function.
44080         (test_main): Use it.
44082 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
44084         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
44086 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
44088         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
44089         (_G_LSEEK64): Likewise.
44090         (_G_MMAP64): Likewise.
44091         (_G_FSTAT64): Likewise.
44092         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
44093         (_G_LSEEK64): Likewise.
44094         (_G_MMAP64): Likewise.
44095         (_G_FSTAT64): Likewise.
44096         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
44097         unconditional.  Call __mmap64 directly.
44098         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
44099         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
44100         __lseek64 directly.
44101         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
44102         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
44103         __mmap64 directly.
44104         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
44105         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44106         __lseek64 directly.
44107         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
44108         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44109         __lseek64 directly.
44110         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
44111         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
44112         __lseek64 directly.
44113         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
44114         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
44115         __fxstat64 directly.
44116         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
44117         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
44118         unconditional.
44119         (freopen64) [!_G_OPEN64]: Remove conditional code.
44120         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
44121         unconditional.
44122         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
44123         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
44124         unconditional.
44125         (ftello64) [!_G_LSEEK64]: Remove conditional code.
44126         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
44127         unconditional.
44128         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44129         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
44130         unconditional.
44131         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
44132         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
44133         unconditional.
44134         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44135         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
44136         unconditional.
44137         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44138         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
44139         unconditional.
44140         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44142 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44144         [BZ #12140]
44145         * manual/memory.texi (Malloc Tunable Parameters): Add note
44146         about free list pointers overwriting some perturb bytes.
44147         Wording suggested by Roland McGrath.
44149 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
44151         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
44152         (lgamma_test): Likewise.
44153         (tgamma_test): Likewise.
44155 2012-10-16  Florian Weimer  <fweimer@redhat.com>
44157         [BZ #14700]
44158         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
44159         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
44161 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
44163         * NEWS: Mention BZ #14716.
44164         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
44165         when removing AVAILABLE1_USES_J macro.
44167 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
44169         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
44170         (__bswap_64): __uint64_t for unsigned 64-bit int.
44172 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
44174         * include/string.h (memmem): Declare libc hidden alias.
44175         * string/memmem.c (memmem): Define libc hidden alias.
44176         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
44177         __read, __close instead of open, read, close.
44179 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
44181         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
44182         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
44183         global and hidden.
44184         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
44185         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
44186         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
44187         Likewise.
44188         (__rawmemchr_sse2): Likewise.
44189         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
44190         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
44191         (__strchr_sse2): Likewise.
44192         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
44193         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
44194         (__strcasecmp_sse2): Likewise.
44195         (__strncasecmp_sse2): Likewise.
44196         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
44197         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
44198         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
44199         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
44200         (__strrchr_sse2): Likewise.
44201         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
44202         ifunc-impl-list.c.
44203         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
44204         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
44205         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
44206         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44207         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
44208         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
44209         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44210         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44211         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
44212         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
44213         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
44214         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
44215         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
44216         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
44217         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
44218         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44219         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
44220         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
44221         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
44222         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
44223         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
44224         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
44225         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
44226         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44227         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
44228         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44229         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
44230         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44231         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
44232         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
44234         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
44235         global and hidden.
44236         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
44237         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
44238         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
44239         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
44240         Likewise.
44241         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
44242         Likewise.
44243         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
44244         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
44245         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
44246         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
44247         ifunc-impl-list.c.
44248         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44249         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44250         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44251         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44252         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44253         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44254         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44255         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44256         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44257         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44258         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44259         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44260         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44261         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
44262         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
44263         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44264         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
44265         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
44266         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44267         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44268         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44269         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44270         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44271         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44272         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44273         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
44274         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
44275         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
44276         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
44277         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44278         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
44279         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44280         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44281         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
44282         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44283         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44284         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44285         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44286         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44287         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44288         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
44290         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
44291         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
44292         * include/ifunc-impl-list.h: New file.
44293         * misc/ifunc-impl-list.c: Likewise.
44294         * misc/Makefile (routines): Add ifunc-impl-list.
44295         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
44296         * string/test-string.h: Include <ifunc-impl-list.h>.
44297         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
44298         TEST_NAME]: New variables.
44299         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
44300         are defined.
44301         (test_init): Call __libc_ifunc_impl_list to initialize
44302         func_list if TEST_IFUNC and TEST_NAME are defined.
44304         * string/Makefile (strop-tests): Add bcopy and bzero.
44305         * string/test-bcopy.c: New file.
44306         * string/test-bzero.c: Likewise.
44307         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
44308         defined.
44309         * string/test-memset.c: Support bzero test if TEST_BZERO is
44310         defined.
44311         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
44312         __libc_memmove.
44313         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
44314         __libc_memset.
44315         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
44316         of memset.
44318 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
44320         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
44321         * configure: Regenerated.
44323         * Makeconfig (+link-static-before-libc): Don't include
44324         $(link-static-libc).
44326         * libio/libio.h (_IO_pos_t): Remove.
44328 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44330         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
44331         McGrath.
44333 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44335         * crypt/crypt-entry.c: Include fips-private.h.
44336         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
44337         * crypt/md5c-test.c (main): Tolerate disabled MD5.
44338         * sysdeps/unix/sysv/linux/fips-private.h: New file.
44339         * sysdeps/generic/fips-private.h: New file, dummy fallback.
44341 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44343         * crypt/crypt-private.h: Include stdbool.h.
44344         (_ufc_setup_salt_r): Return bool.
44345         * crypt/crypt-entry.c: Include errno.h.
44346         (__crypt_r): Return NULL with EINVAL for bad salt.
44347         * crypt/crypt_util.c (bad_for_salt): New.
44348         (_ufc_setup_salt_r): Check that salt is long enough and within
44349         the specified alphabet.
44350         * crypt/badsalttest.c: New file.
44351         * crypt/Makefile (tests): Add it.
44352         ($(objpfx)badsalttest): New.
44354 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
44356         * NEWS: Add entry for BZ #14602.
44358 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44360         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
44361         type-generic.
44362         * math/libm-test.inc: Update comment listing what functions and
44363         macros are tested.
44364         (isgreater_test): New function.
44365         (isgreaterequal_test): Likewise.
44366         (isless_test): Likewise.
44367         (islessequal_test): Likewise.
44368         (islessgreater_test): Likewise.
44369         (isunordered_test): Likewise.
44370         (main): Call the new functions.
44372 2012-10-09  Roland McGrath  <roland@hack.frob.com>
44374         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
44375         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
44376         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
44377         * sysdeps/i386/configure: Regenerated.
44378         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
44379         * sysdeps/mach/configure: Regenerated.
44380         * sysdeps/mach/hurd/configure: Regenerated.
44381         * sysdeps/powerpc/configure: Regenerated.
44382         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44383         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44384         * sysdeps/s390/s390-32/configure: Regenerated.
44385         * sysdeps/s390/s390-64/configure: Regenerated.
44386         * sysdeps/sh/configure: Regenerated.
44387         * sysdeps/sparc/configure: Regenerated.
44388         * sysdeps/unix/sysv/linux/configure: Regenerated.
44389         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
44390         * sysdeps/x86_64/configure: Regenerated.
44392         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
44393         defined.  Don't check if MAP is NULL.
44395 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44397         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
44398         (_G_stat64): Likewise.
44399         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
44400         (_G_stat64): Likewise.
44401         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
44402         instead of struct _G_stat64.
44403         * libio/fileops.c (mmap_remap_check): Likewise.
44404         (decide_maybe_mmap): Likewise.
44405         (_IO_new_file_seekoff): Likewise.
44406         (_IO_file_stat): Likewise.
44407         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
44408         _G_off64_t.
44409         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
44410         instead of struct _G_stat64.
44411         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44413 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
44415         [BZ #14602]
44416         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44417         Replace with ...
44418         (CHECK_EOL): New macro.
44419         (two_way_short_needle): Check beginning of haystack for EOL.  Use
44420         CHECK_EOL.
44421         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44422         Replace with CHECK_EOL.
44423         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44424         Replace with CHECK_EOL.
44426 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
44428         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
44429         type-generic.
44430         * math/libm-test.inc: Update comment listing what functions and
44431         macros are tested.
44432         (finite_test): New function.
44433         (isinf_test): Likewise.
44434         (isnan_test): Likewise.
44435         (fpclassify_test): Test subnormal input.
44436         (isfinite_test): Likewise.
44437         (isnormal_test): Likewise.
44438         (main): Call the new functions.
44440 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
44442         [BZ #14660]
44443         * Makerules (%.dynsym): Force C locale when running
44444         $(OBJDUMP) --dynamic-syms.
44446 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
44448         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
44449         <stdint.h>.
44451 2012-10-06  David S. Miller  <davem@davemloft.net>
44453         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
44454         upper 32-bits of the length value in %o2 since we use branch-on-register
44455         tests which consider the entire 64-bit register.
44457 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
44459         * string/test-strstr.c (check2): Add a test for page boundary.
44461 2012-10-05  David S. Miller  <davem@davemloft.net>
44463         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
44464         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
44465         file.
44466         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44467         sysdep_routines.
44468         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44469         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
44470         and bzero when HWCAP_SPARC_CRYPTO is present.
44472 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
44474         [BZ #14602]
44475         * string/test-strstr.c (check2): New function.
44476         (test_main): Call check2.
44478         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
44479         and bug-strchr1.
44480         * string/bug-strcasestr1.c (do_test): Moved to ...
44481         * string/test-strcasestr.c (check1): Here.  New function.
44482         (do_one_test): Break out result checking code into ...
44483         (check_result): This.  New function.
44484         (do_one_test): Call check_result.
44485         (test_main): Call check1.
44486         * string/bug-strchr1.c (do_test): Moved to ...
44487         * string/test-strchr.c (check1): Here.  New function.
44488         (do_one_test): Break out result checking code into ...
44489         (check_result): This.  New function.
44490         (do_one_test): Call check_result.
44491         (test_main): Call check1.
44492         * string/bug-strstr1.c (main): Moved to ...
44493         * string/test-strstr.c (check1): Here.  New function.
44494         (do_one_test): Break out result checking code into ...
44495         (check_result): This.  New function.
44496         (do_one_test): Call check_result.
44497         (test_main): Call check1.
44498         * string/bug-strcasestr1.c: Removed.
44499         * string/bug-strchr1.c: Likewise.
44500         * string/bug-strstr1.c: Likewise.
44502         * elf/Makefile (dl-routines): Add hwcaps.
44503         * elf/dl-support.c (_dl_important_hwcaps): Removed.
44504         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
44505         (_dl_important_hwcaps): Moved to ...
44506         * elf/dl-hwcaps.c: Here.  New file.
44507         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
44509         [BZ #14557]
44510         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
44511         if IS_IN_rtld isn't defined.
44513         * elf/dl-support.c (_dl_sysinfo_map): New.
44514         Include "get-dynamic-info.h" and "setup-vdso.h".
44515         (_dl_non_dynamic_init): Call setup_vdso.
44516         * elf/dynamic-link.h: Don't include <assert.h>.
44517         (elf_get_dynamic_info): Moved to ...
44518         * elf/get-dynamic-info.h: Here.  New file.
44519         * elf/dynamic-link.h: Include "get-dynamic-info.h".
44520         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
44521         * elf/setup-vdso.h: Here.  New file.
44522         * elf/rtld.c: Include "setup-vdso.h".
44523         (dl_main): Call setup_vdso.
44525 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
44527         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
44528         creal in comment listing functions tested.  List finite, isinf,
44529         isnan, isless, islessequal, isgreater, isgreaterequal,
44530         islessgreater, isunordered, lgamma_r and pow10 as functions and
44531         macros not tested.  Mention which functions not tested are aliases
44532         for other functions.  Fix typo.  Note that signs of NaNs are not
44533         tested.
44535         * scripts/config.guess: Update from config.git.
44536         * scripts/config.sub: Likewise.
44538 2012-10-04  Roland McGrath  <roland@hack.frob.com>
44540         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
44541         * misc/madvise.c (madvise): Renamed to __madvise.
44542         Make madvise a weak alias.
44543         * include/sys/mman.h: Declare __madvise.
44544         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
44545         * sysdeps/unix/syscalls.list
44546         (madvise): Make __madvise the strong name, and madvise a weak alias.
44547         * sysdeps/unix/sysv/linux/syscalls.list
44548         (madvise, mmap): Remove redundant entries.
44549         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
44550         * malloc/malloc.c (mtrim): Likewise.
44551         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
44553 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44555         * sysdeps/mach/hurd/dl-cache.c: File removed.
44556         * config.h.in (USE_LDCONFIG): New #undef.
44557         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
44558         * configure: Regenerated.
44559         * elf/Makefile (dl-routines): Add dl-cache only under
44560         [$(use-ldconfig) = yes].
44561         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
44562         cache on [USE_LDCONFIG].
44563         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
44564         [USE_LDCONFIG].
44565         * elf/rtld.c (dl_main): Likewise.
44567 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
44569         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
44570         _SC_LEVEL4_CACHE_LINESIZE.
44572 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44574         * sysdeps/unix/bsd/confstr.h: File removed.
44576 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
44578         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
44579         sys/sdt-config.h.
44581 2012-10-02  Roland McGrath  <roland@hack.frob.com>
44583         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
44584         Make 'mapoff' field ElfW(Off) rather than off_t.
44586 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
44588         * nscd/Makefile: Remove nscd-cflags and all its users.
44589         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
44590         (CFLAGS-nonlib): Add compiler flags for nscd modules.
44592         [BZ #10631]
44593         * malloc.c (malloc_printerr): Clarify error message.
44595 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
44597         [BZ #14648]
44598         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44599         Set bit_FMA_Usable if FMA is supported.
44600         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44601         macro.
44602         (bit_FMA4_Usable): Updated.
44603         (index_FMA_Usable): New macro.
44604         (CPUID_FMA): Likewise
44605         (HAS_FMA): Defined with bit_FMA_Usable.
44607 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44609         * bits/types.h (__swblk_t): Type removed.
44610         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44611         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44612         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44613         (__SWBLK_T_TYPE): Likewise.
44614         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44615         (__SWBLK_T_TYPE): Likewise.
44616         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44617         (__SWBLK_T_TYPE): Likewise.
44618         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44619         (__SWBLK_T_TYPE): Likewise.
44621 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
44622             Honza Horak <hhorak@redhat.com>
44624         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44625         (xdr_mapname): Use YPMAXMAP as maxsize.
44626         (xdr_peername): Use YPMAXPEER as maxsize.
44627         (xdr_keydat): Use YPAXRECORD as maxsize.
44628         (xdr_valdat): Use YPMAXRECORD as maxsize.
44630 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44632         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44634         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44635         * csu/init-first.c: ... here.
44636         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44637         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44638         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44639         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44640         * sysdeps/i386/init-first.c: File removed.
44641         * sysdeps/sh/init-first.c: File removed.
44643 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
44645         [BZ #14645]
44646         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44647         if x * y might underflow to zero and z is zero.
44648         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44649         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44650         * math/libm-test.inc (min_subnorm_value): New variable.
44651         (fma_test): Add more tests.
44652         (fma_test_towardzero): Likewise.
44653         (fma_test_downward): Likewise
44654         (fma_test_upward): Likewise.
44655         (initialize): Set min_subnorm_value.
44657 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44659         [BZ #14638]
44660         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44661         0 + 0.
44662         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44663         mode for addition resulting in exact zero.
44664         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44665         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44666         exact 0 + 0.
44667         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44668         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44669         * math/libm-test.inc (fma_test): Add more tests.
44670         (fma_test_towardzero): New function.
44671         (fma_test_downward): Likewise.
44672         (fma_test_upward): Likewise.
44673         (main): Call the new functions.
44675 2012-09-28  David S. Miller  <davem@davemloft.net>
44677         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44679 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44681         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44682         instead of SIGALRM.
44684         * sysdeps/gnu/_G_config.h: Moved to ...
44685         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44686         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44687         * sysdeps/generic/_G_config.h: ... here.
44689         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44691         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44693         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44694         Conditionalize target on [libnss_test1.so-version].
44696         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44698         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44699         (elfobjdir): Move out of conditionals.
44701         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44702         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44703         (__nss_lookup_function): Conditionalize label remove_from_tree on
44704         [!DO_STATIC_NSS || SHARED], matching its only use.
44706 2012-09-28  David S. Miller  <davem@davemloft.net>
44708         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44709         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44710         file.
44711         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44712         sysdep_routines.
44713         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44714         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44715         when HWCAP_SPARC_CRYPTO is present.
44717 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44719         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44721 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44723         [BZ #6530]
44724         * stdio-common/vfprintf.c (process_string_arg): Revert
44725         2000-07-22 change.
44727 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44729         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44730         for testcase.
44731         * stdio-common/tst-sprintf.c: Include <locale.h>
44732         (main): Test sprintf's handling of incomplete multibyte
44733         characters.
44735 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44737         * elf/dl-runtime.c (VERSYMIDX): Removed.
44738         * elf/dl-version.c (VERSYMIDX): Likewise.
44739         * elf/do-rel.h (VERSYMIDX): Likewise.
44740         (VALIDX): Likewise.
44741         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44742         * elf/rtld.c (VALIDX): Likewise.
44743         (ADDRIDX): Likewise.
44744         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44745         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44746         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44747         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44748         (VALIDX): Likewise.
44749         (ADDRIDX): Likewise.
44751 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44753         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44755 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44757         [BZ #11438]
44758         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44759         to global scope.
44760         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44761         addresses are in the same scope as 192.0.2/24.
44762         * posix/gai.conf: Document new scope table defaults.
44764 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44766         [BZ #5298]
44767         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44768         for ftell.  Compute offsets from write pointers instead.
44769         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44771 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44773         [BZ #14543]
44774         * libio/Makefile (tests): New test case tst-fseek.
44775         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44776         combination works in wide mode.
44777         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44778         state when the external buffer state changes.
44780 2012-09-27  David S. Miller  <davem@davemloft.net>
44782         [BZ #14376]
44783         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44784         pass reloc->r_addend in as the 'high' argument to
44785         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44789 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44791         * rt/tst-aio2.c: Include <pthread.h>.
44792         * rt/tst-aio3.c: Likewise.
44794 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44796         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44798 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44800         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44801         contents on [SHARED].
44803 2012-09-26  Marek Polacek  <polacek@redhat.com>
44805         [BZ #14530]
44806         [BZ #13741]
44807         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44808         for C++ and GCC <4.3 as well as for non GCC compilers.
44810 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44812         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44814 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44816         * Makefile.in (all, install): Declare with .PHONY.
44817         Reported by Michael Hope <michael.hope@linaro.org>.
44819 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44821         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44822         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44823         system header.
44824         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44825         Likewise.
44826         (sydep_routines): Add the new and the internal functions.
44827         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44828         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44830         (GLIBC_2.17): Add the new function.
44831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44832         (GLIBC_2.17): Likewise.
44833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44834         (GLIBC_2.17): Likewise.
44835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44836         (GLIBC_2.17): Likewise.
44837         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44839 2012-09-25  Alan Modra  <amodra@gmail.com>
44841         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44842         Add release barrier before setting once_control to say
44843         initialisation is done.  Add hints on lwarx.  Use macro in
44844         place of isync.
44845         (clear_once_control): Add release barrier.
44847 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44849         [BZ #13629]
44850         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44851         specially.
44852         * math/s_clog10.c (__clog10): Likewise.
44853         * math/s_clog10f.c (__clog10f): Likewise.
44854         * math/s_clog10l.c (__clog10l): Likewise.
44855         * math/s_clogf.c (__clogf): Likewise.
44856         * math/s_clogl.c (__clogl): Likewise.
44857         * math/Makefile (libm-calls): Add x2y2m1.
44858         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44859         (__x2y2m1): Likewise.
44860         (__x2y2m1l): Likewise.
44861         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44862         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44863         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44864         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44865         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44866         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44867         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44868         * sysdeps/i386/fpu/libm-test-ulps: Update.
44869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44871         [BZ #14621]
44872         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44873         int as type of variable DEPTH.
44874         (glob): Use size_t instead of int as type of variables NEWCOUNT
44875         and OLD_PATHC.
44877 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44879         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44880         Add s_sincosf-sse2.
44881         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44882         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44883         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44884         macros for using routine as __sincosf_ia32.
44885         Use macro for function declaration and weak_alias.
44886         * sysdeps/i386/fpu/libm-test-ulps: Update.
44888         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44889         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44891         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44892         subnormal argument.
44893         * math/s_cexpf.c (__cexpf): Likewise.
44894         * math/s_csinf.c (__csinf): Likewise.
44895         * math/s_csinhf.c (__csinhf): Likewise.
44896         * math/s_ctanf.c (__ctanf): Likewise.
44897         * math/s_ctanhf.c (__ctanhf): Likewise.
44898         * math/s_ccosh.c (__ccoshf): Likewise.
44899         * math/s_cexp.c (__cexpl): Likewise.
44900         * math/s_csin.c (__csin): Likewise.
44901         * math/s_csinh.c (__csinh): Likewise.
44902         * math/s_ctan.c (__ctan): Likewise.
44903         * math/s_ctanh.c (ctanh): Likewise.
44904         * math/s_ccoshl.c (__ccoshl): Likewise.
44905         * math/s_cexpl.c (__cexpl): Likewise.
44906         * math/s_csinl.c (__csinl): Likewise.
44907         * math/s_csinhl.c (__csinhl): Likewise.
44908         * math/s_ctanl.c (__ctanl): Likewise.
44909         * math/s_ctanhl.c (__ctanhl): Likewise.
44911 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44913         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44914         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44915         (_IO_off_t): Define to __off_t, not _G_off_t.
44916         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44917         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44918         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44919         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44920         type of __dummy and __dummy2 fields.
44921         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44922         (_G_ssize_t): Likewise.
44923         (_G_off_t): Likewise.
44924         (_G_pid_t): Likewise.
44925         (_G_uid_t): Likewise.
44926         (_G_wchar_t): Likewise.
44927         (_G_wint_t): Likewise.
44928         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44929         (_G_ssize_t): Likewise.
44930         (_G_off_t): Likewise.
44931         (_G_pid_t): Likewise.
44932         (_G_uid_t): Likewise.
44933         (_G_wchar_t): Likewise.
44934         (_G_wint_t): Likewise.
44935         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44936         (_G_ssize_t): Likewise.
44937         (_G_off_t): Likewise.
44938         (_G_pid_t): Likewise.
44939         (_G_uid_t): Likewise.
44940         (_G_wchar_t): Likewise.
44941         (_G_wint_t): Likewise.
44943 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44945         * malloc/arena.c: Include malloc-sysdep.h.
44946         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44947         is sufficient to shrink the heap or an unmap is needed.
44948         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44949         new function check_may_shrink_heap.
44950         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44951         new function check_may_shrink_heap.
44953 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44955         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44956         comments.
44958 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44960         * catgets/test-gencat.sh: Add "set -e".
44961         * elf/tst-pathopt.sh: Likewise.
44962         * grp/tst_fgetgrent.sh: Likewise.
44963         * iconvdata/run-iconv-test.sh: Likewise.
44964         * intl/tst-gettext.sh: Likewise.
44965         * intl/tst-gettext2.sh: Likewise.
44966         * intl/tst-gettext4.sh: Likewise.
44967         * intl/tst-gettext6.sh: Likewise.
44968         * intl/tst-translit.sh: Likewise.
44969         * io/ftwtest-sh: Likewise.
44970         * libio/test-freopen.sh: Likewise.
44971         * malloc/tst-mtrace.sh: Likewise.
44972         * posix/globtest.sh: Likewise.
44973         * posix/tst-getconf.sh: Likewise.
44974         * posix/wordexp-tst.sh: Likewise.
44975         * stdio-common/tst-printf.sh: Likewise.
44976         * stdio-common/tst-unbputc.sh: Likewise.
44977         * stdlib/tst-fmtmsg.sh: Likewise.
44978         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44979         * catgets/Makefile: Do not specify -e option when running
44980         testsuite shell scripts.
44981         * elf/Makefile: Likewise.
44982         * grp/Makefile: Likewise.
44983         * iconvdata/Makefile: Likewise.
44984         * intl/Makefile: Likewise.
44985         * io/Makefile: Likewise.
44986         * libio/Makefile: Likewise.
44987         * malloc/Makefile: Likewise.
44988         * posix/Makefile: Likewise.
44989         * stdio-common/Makefile: Likewise.
44990         * stdlib/Makefile: Likewise.
44991         * sysdeps/x86_64/Makefile: Likewise.
44993         * io/ftwtest-sh: Add copyright header.
44994         * posix/globtest.sh: Likewise.
44995         * posix/tst-getconf.sh: Likewise.
44996         * posix/wordexp-tst.sh: Likewise.
44997         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44999 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
45001         [BZ #13679]
45002         * Makeconfig (+link): Defined as $(+link-static) if
45003         $(build-shared) isn't yes.
45004         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
45005         isn't yes.
45006         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
45008         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
45010         [BZ #14562]
45011         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
45012         new chunk size with MALLOC_ALIGN_MASK.
45014 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
45016         [BZ #5044]
45017         * stdio-common/printf_fphex.c: Include <stdbool.h> and
45018         <rounding-mode.h>.
45019         (__printf_fphex): Determine rounding using get_rounding_mode and
45020         round_away.
45021         * stdio-common/tst-printf-round.c (struct hex_test): New
45022         structure.
45023         (hex_tests): New variable.
45024         (test_hex_in_one_mode): New function.
45025         (do_test): Also run tests for hex float output.
45027 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
45029         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45030         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45031         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
45032         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45033         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45034         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
45035         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45036         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45038 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
45040         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
45041         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
45042         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
45043         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
45045 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
45047         [BZ #14579]
45048         * elf/rtld.c (dl_main): Limit the check for self loading to normal
45049         mode only.
45050         * elf/tst-rtld-load-self.sh: New test.
45051         * elf/Makefile: Run it.
45053 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
45055         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
45056         (tst-writev-ENV): Remove.
45057         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
45059 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
45061         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
45063 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
45065         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
45066         unconditional.
45067         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
45068         Likewise.
45069         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
45070         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
45071         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
45072         Likewise.
45074 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
45076         [BZ #14587]
45077         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
45078         * config.make.in (have-cpp-asm-debuginfo): Removed.
45079         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
45080         * configure: Regenerated.
45082 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
45084         [BZ #5044]
45085         * stdio-common/printf_fp.c: Include <stdbool.h> and
45086         <rounding-mode.h>.
45087         (___printf_fp): Determine rounding using get_rounding_mode and
45088         round_away.
45089         * stdio-common/tst-printf-round.c: New file.
45090         * stdio-common/Makefile (tests): Add tst-printf-round.
45091         (link-libm): New variable.
45092         ($(objpfx)tst-printf-round): Depend in $(link-libm).
45094 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
45096         [BZ #14576]
45097         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
45098         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
45099         Likewise.
45100         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
45101         Likewise.
45103 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
45105         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
45106         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45107         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45108         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45110 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
45112         [BZ #14518]
45113         * include/rounding-mode.h: New file.
45114         * sysdeps/generic/get-rounding-mode.h: Likewise.
45115         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
45116         * stdlib/strtod_l.c: Include <rounding-mode.h>.
45117         (MAX_VALUE): New macro.
45118         (MIN_VALUE): Likewise.
45119         (overflow_value): New function.
45120         (underflow_value): Likewise.
45121         (round_and_return): Use overflow_value and underflow_value to
45122         determine return values in overflow and underflow cases.  Use
45123         round_away to determine rounding depending on rounding mode.
45124         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
45125         determine return values in overflow and underflow cases.
45126         * stdlib/tst-strtod-round.c: Include <fenv.h>.
45127         (struct test_results): New structure.
45128         (struct test): Use struct test_results to store expected results
45129         for all rounding modes.
45130         (TEST): Include expected results for all rounding modes.
45131         (test_in_one_mode): New function.
45132         (do_test): Use test_in_one_mode to compute and check results.
45133         Check results for all rounding modes.
45134         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
45135         $(link-libm).
45137 2012-12-09  Allan McRae  <allan@archlinux.org>
45139         * sysdeps/i386/fpu/libm-test-ulps: Update
45141 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
45143         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
45144         (_G_int32_t): Likewise.
45145         (_G_uint16_t): Likewise.
45146         (_G_uint32_t): Likewise.
45147         (_G_HAVE_BOOL): Likewise.
45148         (_G_HAVE_ATEXIT): Likewise.
45149         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45150         (_G_HAVE_IO_FILE_OPEN): Likewise.
45151         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
45152         (_G_int32_t): Likewise.
45153         (_G_uint16_t): Likewise.
45154         (_G_uint32_t): Likewise.
45155         (_G_HAVE_BOOL): Likewise.
45156         (_G_HAVE_ATEXIT): Likewise.
45157         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45158         (_G_HAVE_IO_FILE_OPEN): Likewise.
45159         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
45160         (_G_int32_t): Likewise.
45161         (_G_uint16_t): Likewise.
45162         (_G_uint32_t): Likewise.
45163         (_G_HAVE_BOOL): Likewise.
45164         (_G_HAVE_ATEXIT): Likewise.
45165         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45166         (_G_HAVE_IO_FILE_OPEN): Likewise.
45168 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
45170         * csu/libc-tls.c: Update copyright years.
45172 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
45174         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
45175         [!_G_USING_THUNKS]: Remove conditional code.
45176         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
45177         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
45179         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
45180         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
45181         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45182         (_G_VTABLE_LABEL_PREFIX): Likewise.
45183         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45184         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45185         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45186         (_G_VTABLE_LABEL_PREFIX): Likewise.
45187         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45188         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45189         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45190         (_G_VTABLE_LABEL_PREFIX): Likewise.
45191         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45193 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
45195         * libio/Makefile: Include ../Makeconfig before tests.
45196         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
45197         only if $(build-shared) is yes.
45199         * iconv/gconv_db.c: Update copyright years.
45201 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45203         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
45204         unwind info if defined PIC. Fix special cases description.
45205         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
45207         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
45208         DP_HI_MASK entry.
45209         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
45211 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
45213         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
45215         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
45216         is NULL.
45218         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
45219         (LDLIBS-tst-chk4): This.
45220         (LDFLAGS-tst-chk5): Renamed to ...
45221         (LDLIBS-tst-chk5): This.
45222         (LDFLAGS-tst-chk6): Renamed to ...
45223         (LDLIBS-tst-chk6): This.
45224         (LDFLAGS-tst-lfschk4): Renamed to ...
45225         (LDLIBS-tst-lfschk4): This.
45226         (LDFLAGS-tst-lfschk5): Renamed to ...
45227         (LDLIBS-tst-lfschk5): This.
45228         (LDFLAGS-tst-lfschk6): Renamed to ...
45229         (LDLIBS-tst-lfschk6): This.
45231         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
45232         on $(common-objpfx)soversions.mk.
45234 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
45236         [BZ #10014]
45237         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
45238         example host name.
45240 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45242         * malloc/arena.c (arena_get_retry): New function that gets
45243         another arena for the caller to try its request on.
45244         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
45245         current arena cannot fulfill the request.
45246         (__libc_memalign): Likewise.
45247         (__libc_memalign): Likewise.
45248         (__libc_pvalloc): Likewise.
45249         (__libc_calloc): Likewise.
45251 2012-09-05  John Tobey  <john.tobey@gmail.com>
45253         [BZ #13542]
45254         * manual/arith.texi (Operations on Complex): Fix description
45255         of carg branch cut.
45257 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45259         [BZ #10014]
45260         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
45261         host name.
45263         [BZ #10038]
45264         * manual/memory.texi (Memory): Make order of menu items match
45265         order of sections.
45267 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45269         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
45270         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
45271         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
45273 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45275         * csu/libc-tls.c (static_dtv): Renamed to ...
45276         (_dl_static_dtv): This.  Make it global.
45277         (_dl_initial_dtv): Removed.
45278         (__libc_setup_tls): Updated.
45279         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
45280         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
45281         DL_INITIAL_DTV.
45283 2012-09-06  Petr Machata  <pmachata@redhat.com>
45285         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
45286         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
45287         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
45288         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
45290 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45292         [BZ #14545]
45293         * csu/libc-tls.c (_dl_initial_dtv): New variable.
45294         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
45295         freeing dtv[-1].
45297 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45299         [BZ #14544]
45300         * Makeconfig (link-static-before-libc): Replace $(+prector)
45301         with $(+prectorT).
45302         (link-static-after-libc): Replace $(+postctor) with
45303         $(+postctorT).
45304         (link-bounded): Replace $(+prector)/$(+postctor) with
45305         $(+prectorT)/$(+postctorT).
45306         (+prectorT): New macro.
45307         (+postctorT): Likewise.
45309 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45311         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
45312         (round_str): Handle values above the maximum for IBM long double
45313         as inexact.
45314         * stdlib/tst-strtod-round.c (tests): Regenerated.
45316 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45318         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
45319         assembler flag.
45320         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
45321         zarch_nohighgprs around the zarch optimized routines.
45322         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
45323         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
45324         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
45325         for zarch.
45327 2012-09-05  David S. Miller  <davem@davemloft.net>
45329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45331         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
45332         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
45333         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
45334         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45335         entries.
45337 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45339         * malloc/arena.c: Fold copyright years.
45340         * malloc/mcheck.c, malloc/memusage.c: Likewise.
45342 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45344         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
45346 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45348         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
45350 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45352         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
45353         change internal state upon failure.
45355 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45357         * malloc/mcheck.c (mcheck_check_all): Fix typo.
45358         * malloc/memusage.c (mmap): Likewise.
45359         (mmap64, mremap): Likewise.  Adjust name in comment.
45361 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45363         * libio/fileops.c: Fix typos in comments.
45364         * libio/oldfileops.c: Likewise.
45365         * libio/wfileops.c: Likewise.
45367 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45369         [BZ #1349]
45370         * malloc/Makefile (tests): Add tst-malloc-usable test case.
45371         (tst-malloc-usable-ENV): Set environment for test case.
45372         * malloc/hooks.c (malloc_check_get_size): New function to get
45373         requested size.
45374         * malloc/malloc.c (musable): Use malloc_check_get_size.
45375         * malloc/tst-malloc-usable.c: New test case.
45377 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45379         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
45381 2012-09-05  Allan McRae  <allan@archlinux.org>
45383         [BZ #13966]
45384         * configure.in (CXX_SYSINCLUDES): Use compiler output to
45385         determine header location.
45386         * configure: Regenerated.
45388 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45390         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
45391         float format.
45392         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
45393         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
45394         format.
45395         (test): Regenerate.
45397 2012-09-04  David S. Miller  <davem@davemloft.net>
45399         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
45400         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
45401         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
45403 2012-09-04  Florian Weimer  <fweimer@redhat.com>
45405         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
45406         failures.
45408         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
45410 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
45412         [BZ #9914]
45413         * libio/iogetdelim.c: Include <limits.h>.
45414         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
45415         + len + 1 would overflow.
45417 2012-09-03  Andreas Jaeger  <aj@suse.de>
45419         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45420         * sysdeps/i386/fpu/libm-test-ulps: Update.
45422 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45424         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45425         Add s_sinf-sse2, s_conf-sse2.
45427         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
45428         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
45429         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
45430         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
45432         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
45433         for using routine as __sinf_ia32.
45434         Use macro for function declaration and weak_alias.
45435         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
45436         for using routine as __cosf_ia32.
45437         Use macro for function declaration and weak_alias.
45439         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
45440         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
45442         * sysdeps/x86_64/fpu/s_sinf.S: New file.
45443         * sysdeps/x86_64/fpu/s_cosf.S: New file.
45444         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45446         * math/libm-test.inc (cos_test): Add more test cases.
45447         (sin_test): Likewise.
45448         (sincos_test): Likewise.
45450 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45452         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
45453         (IFUNC_RESOLVE): Make pointers to the specialized implementations
45454         hidden.
45455         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45457 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
45459         [BZ #14538]
45460         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
45461         first element of the GOT.
45462         (elf_machine_load_address): Return the difference between
45463         the runtime address of _DYNAMIC and elf_machine_dynamic ().
45465 2012-09-01  Allan McRae  <allan@archlinux.org>
45467         [BZ #13412]
45468         * configure.in (AWK): Require gawk version 3.0 or later.
45469         * configure: Regenerated.
45471 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
45473         * sysdeps/unix/sysv/linux/kernel-features.h
45474         (__ASSUME_POSIX_CPU_TIMERS): Remove.
45475         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45476         [__NR_clock_getres]: Make code unconditional.
45477         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
45478         (clock_getcpuclockid): Remove code left unreachable by removal of
45479         conditionals.
45480         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
45481         code unconditional.
45482         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45483         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45484         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
45485         Make code unconditional.
45486         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45487         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45488         * sysdeps/unix/sysv/linux/clock_settime.c
45489         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
45490         conditional code.
45491         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
45492         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45494 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
45496         [BZ #14476]
45497         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
45498         scripts/test-installation.pl.
45500         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
45501         and $ld_so_version if it is set.
45503 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45505         [BZ #14516]
45506         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
45507         failure if reading from procfs failed.
45508         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
45510 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45512         * sysdeps/unix/sysv/linux/kernel-features.h
45513         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
45514         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45515         Remove conditional code.
45516         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45517         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
45518         Remove conditional code.
45519         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45520         * sysdeps/unix/sysv/linux/i386/fxstat.c
45521         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45522         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45523         * sysdeps/unix/sysv/linux/i386/fxstatat.c
45524         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45525         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45526         * sysdeps/unix/sysv/linux/i386/lxstat.c
45527         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45528         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45529         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
45530         Remove conditional code.
45531         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45532         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45533         Remove conditional code.
45534         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45535         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
45536         <kernel-features.h>.
45537         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
45538         Remove.
45539         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
45540         Remove conditional code.
45541         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45542         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
45543         Remove conditional.
45545 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
45547         [BZ #5400]
45548         * NEWS: Add fixed bug number.
45550 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45552         [BZ #14519]
45553         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
45554         underflowing exponent in case of negative sign.
45555         * stdlib/tst-strtod-round-data: Add more tests.
45556         * stdlib/tst-strtod-round.c (tests): Regenerated.
45558         [BZ #3479]
45559         * stdlib/strtod_l.c (NDIG): Remove.
45560         (HEXNDIG): Likewise.
45561         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
45562         smallest representable value.
45563         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
45564         lie within an exact representation of 1/2 ulp of the result.
45565         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
45566         unconditionally.
45567         (TENS_P9_IDX): Define unconditionally.
45568         (TENS_P9_SIZE): Likewise.
45569         (TENS_P10_IDX): Likewise.
45570         (TENS_P10_SIZE): Likewise.
45571         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
45572         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
45573         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
45574         entries for 10^2^13 and 10^2^14.
45575         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
45576         (TENS_P13_IDX): Define.
45577         (TENS_P13_SIZE): Likewise.
45578         (TENS_P14_IDX): Likewise.
45579         (TENS_P14_SIZE): Likewise.
45580         (_fpioconst_pow10): Change array size to
45581         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
45582         unconditional.
45583         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
45584         1024]: Add entries for 10^2^13 and 10^2^14.
45585         [LAST_POW10 > _LAST_POW10]: Remove #error.
45586         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
45587         (_fpioconst_pow10): Change array size to
45588         FPIOCONST_POW10_ARRAY_SIZE.
45589         * stdlib/gen-fpioconst.c: New file.
45590         * stdlib/gen-tst-strtod-round.c: Likewise.
45591         * stdlib/tst-strtod-round-data: Likewise.
45592         * stdlib/tst-strtod-round.c: Likewise.
45593         * stdlib/Makefile (tests): Add tst-strtod-round.
45595         [BZ #14459]
45596         * stdlib/strtod_l.c: Include <stdint.h>.
45597         (NDEBUG): Do not define.
45598         (round_and_return): Change EXPONENT parameter to type intmax_t.
45599         Rearrange calculations to avoid internal overflow possibilities.
45600         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45601         Rearrange calculations to avoid internal overflow possibilities.
45602         Assert that number fits inside MPNSIZE limbs.
45603         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45604         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
45605         calculations and add assertions to avoid internal overflow
45606         possibilities.  Add casts to avoid signed/unsigned operations.
45607         * stdlib/tst-strtod-overflow.c: New file.
45608         * stdlib/Makefile (tests): Add tst-strtod-overflow.
45610 2012-08-25  Marek Polacek  <polacek@redhat.com>
45612         * time/time.h: Fix some typos in comments.
45614 2012-08-23  Roland McGrath  <roland@hack.frob.com>
45616         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45617         * posix/tst-rfc3484-2.c: Likewise.
45618         * posix/tst-rfc3484-3.c: Likewise.
45620 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
45622         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45623         (EF_ARM_ABI_FLOAT_HARD): Likewise.
45625 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
45627         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45628         #include of fxstatat64.c.
45630 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45632         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45633         * shadow/getspent_r.c: Likewise.
45634         * shadow/getspnam.c: Likewise.
45635         * shadow/getspnam_r.c: Likewise.
45636         * gshadow/getsgent.c: Likewise.
45637         * gshadow/getsgent_r.c: Likewise.
45638         * gshadow/getsgnam.c: Likewise.
45639         * gshadow/getsgnam_r.c: Likewise.
45640         * inet/getnetbyad.c: Likewise.
45641         * inet/getnetbyad_r.c: Likewise.
45642         * inet/getnetbynm.c: Likewise.
45643         * inet/getnetbynm_r.c: Likewise.
45644         * inet/getnetent.c: Likewise.
45645         * inet/getnetent_r.c: Likewise.
45646         * inet/getproto.c: Likewise.
45647         * inet/getproto_r.c: Likewise.
45648         * inet/getprtent.c: Likewise.
45649         * inet/getprtent_r.c: Likewise.
45650         * inet/getprtname.c: Likewise.
45651         * inet/getprtname_r.c: Likewise.
45652         * inet/getrpcbyname.c: Likewise.
45653         * inet/getrpcbyname_r.c: Likewise.
45654         * inet/getrpcbynumber.c: Likewise.
45655         * inet/getrpcbynumber_r.c: Likewise.
45656         * inet/getrpcent.c: Likewise.
45657         * inet/getrpcent_r.c: Likewise.
45658         * inet/getaliasent.c: Likewise.
45659         * inet/getaliasent_r.c: Likewise.
45660         * inet/getaliasname.c: Likewise.
45661         * inet/getaliasname_r.c: Likewise.
45662         * nscd/getgrgid_r.c: Likewise.
45663         * nscd/getgrnam_r.c: Likewise.
45664         * nscd/gethstbyad_r.c: Likewise.
45665         * nscd/gethstbynm3_r.c: Likewise.
45666         * nscd/getpwnam_r.c: Likewise.
45667         * nscd/getpwuid_r.c: Likewise.
45668         * nscd/getsrvbynm_r.c: Likewise.
45669         * nscd/getsrvbypt_r.c: Likewise.
45670         * nscd/gai.c: Likewise.
45672         * configure.in (build_nscd): New substituted variable, set
45673         by --disable-build-nscd and defaults to $use_nscd.
45674         * configure: Regenerated.
45675         * config.make.in (build-nscd): New substituted variable.
45676         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45677         Change conditional to require [$(build-nscd) = yes] as well.
45678         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45680         [BZ# 13696]
45681         * configure.in (use_nscd): New substituted variable, set by
45682         --disable-nscd.  If enabled, define USE_NSCD.
45683         * configure: Regenerated.
45684         * config.h.in: Add USE_NSCD.
45685         * config.make.in (use-nscd): New substituted variable.
45686         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45687         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45688         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45689         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45690         (CFLAGS-getgrnam_r.c): Likewise.
45691         (CFLAGS-initgroups.c): Likewise.
45692         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45693         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45694         Variables removed.
45695         * inet/getnetgrent_r.c
45696         (nscd_setnetgrent): New function, broken out of ...
45697         (setnetgrent): ... here.  Call it.
45698         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45699         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45700         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45701         * nscd/Makefile (routines, aux): Move definitions after include of
45702         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45703         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45704         Conditionalize on [USE_NSCD].
45705         (is_nscd, nscd_init_cb): Likewise.
45706         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45707         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45708         * nss/nss_db/db-init.c: Likewise.
45709         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45710         [USE_NSCD].
45711         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45712         (make_request): Use it.
45713         (cache_valid_p): New function.
45714         (__check_pf): Use it.
45715         * NEWS: Add item for --disable-nscd.
45717 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45719         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45720         to support sed >= 4.2.1-20-ga9bf076.
45721         * configure: Regenerated.
45723 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45725         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45726         Conditionalize whole body on [IREL].
45728 2012-08-22  Jeff Law <law@redhat.com>
45730         [BZ #14505]
45731         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45732         if the family is PF_UNSPEC.
45734 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45736         * Makerules (lib-version): Rename from V.
45737         (install-lib-nosubdir): Change V to lib-version.
45739 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45741         [BZ #14252]
45742         * powerpc32/power6/wcschr.c: New file.
45743         * powerpc32/power6/wcscpy.c: New file.
45744         * powerpc32/power6/wcsrchr.c: New file.
45745         * powerpc64/power6/wcschr.c: New file.
45746         * powerpc64/power6/wcscpy.c: New file.
45747         * powerpc64/power6/wcsrchr.c: New file.
45749 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45751         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45752         (two_way_short_needle): Use it.
45753         * string/strstr.c (AVAILABLE1_USES_J): Define.
45754         * string/strcasestr.c: Likewise.
45756         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45757         array references.
45758         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45760         [BZ #11607]
45761         * NEWS: Add an entry.
45762         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45763         define their defaults.
45764         (two_way_short_needle): Detect end-of-string on-the-fly.
45765         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45766         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45767         * string/bug-strcasestr1.c: New test.
45768         * string/Makefile: Run it.
45770 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45772         [BZ #11607]
45773         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45774         the first character.
45776 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45778         * csu/elf-init.c (__libc_csu_irel): Function removed.
45779         * csu/libc-start.c (apply_irel): New function.
45780         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45782 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45784         * sysdeps/unix/sysv/linux/kernel-features.h
45785         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45786         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45787         <kernel-features.h>.
45788         [__NR_fadvise64_64]: Make code unconditional.
45789         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45790         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45791         !__NR_fadvise64_64)]: Likewise.
45792         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45793         !__NR_fadvise64_64))]: Likewise.
45794         [__NR_fadvise64]: Make code unconditional.
45795         [!__NR_fadvise64]: Remove conditional code.
45796         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45797         <kernel-features.h>.
45798         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45799         unconditional.
45800         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45801         conditional code.
45802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45803         not include <kernel-features.h>.
45804         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45805         unconditional.
45806         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45807         conditional code.
45808         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45809         include <kernel-features.h>.
45810         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45811         unconditional.
45812         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45813         conditional code.
45815 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45817         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45818         slight instruction rearrangements per scrollpipe analysis.
45819         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45821 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45823         * manual/syslog.texi (syslog; vsyslog, closelog):
45824         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45825         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45827         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45828         DSOCAPS to match condition on defining it.
45830 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45832         * sysdeps/unix/sysv/linux/kernel-features.h
45833         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45835         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45836         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45838         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45839         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45841         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45842         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45844         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45845         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45847         * sysdeps/unix/sysv/linux/kernel-features.h
45848         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45849         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45850         unconditional.
45851         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45852         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45853         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45854         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45855         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45856         Make code unconditional.
45857         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45858         (__mmap64) [!__NR_mmap2]: Likewise.
45859         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45860         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45861         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45862         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45863         [__NR_mmap2]: Make code unconditional.
45864         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45865         (__mmap64) [!__NR_mmap2]: Likewise.
45867 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45869         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45871 2012-08-18  Andreas Jaeger  <aj@suse.de>
45873         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45875 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45877         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45878         * include/unistd.h (__have_sock_cloexec): Likewise.
45879         (__have_pipe2): Likewise.
45880         (__have_dup3): Likewise.
45882 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45884         [BZ #9685]
45885         * include/unistd.h (__have_pipe2): Change define into an extern int.
45886         (__have_dup3): Likewise.
45887         * socket/have_sock_cloexec.c: Include fcntl.h.
45888         (__have_pipe2): New variable.
45889         (__have_dup3): Likewise.
45891 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45893         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45895 2012-08-17  Marek Polacek  <polacek@redhat.com>
45897         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45898         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45900 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45902         * configure.in: Add AC_SUBST for sysheaders.
45903         * configure: Regenerated.
45904         * config.make.in (sysheaders): New substituted variable.
45906         * sysdeps/unix/mkfifo.c: Moved ...
45907         * sysdeps/posix/mkfifo.c: ... here.
45908         * sysdeps/unix/mkfifoat.c: Moved ...
45909         * sysdeps/posix/mkfifoat.c: ... here.
45911         * sysdeps/unix/utime.c: Moved ...
45912         * sysdeps/posix/utime.c: ... here.
45914         * sysdeps/unix/time.c: Moved ...
45915         * sysdeps/posix/time.c: ... here.
45916         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45917         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45919         * sysdeps/unix/nice.c: Moved ...
45920         * sysdeps/posix/nice.c: ... here.
45922         * sysdeps/unix/alarm.c: Moved ...
45923         * sysdeps/posix/alarm.c: ... here.
45925         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45927 2012-08-17  Jeff Law <law@redhat.com>
45929         * intl/Makefile (codeset_mo): New variable.
45930         ($(codeset_mo)): New target.
45931         (tst-codeset.out): Depend on that.  Remove explicit rule.
45932         (tst-gettext3.out, tst-gettext5.out): Likewise.
45933         (LOCPATH-ENV, tst-codeset-ENV): New variables.
45934         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45935         * intl/tst-codeset.sh: Remove.
45936         * intl/tst-gettext3.sh: Likewise.
45937         * intl/tst-gettext5.sh: Likewise.
45939 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45941         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45942         * sysdeps/unix/syscalls.list: ... here.
45944         * sysdeps/posix/getaddrinfo.c
45945         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45946         (gaiconf_init, gaiconf_reload): Use them.
45947         [!_STATBUF_ST_NSEC]
45948         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45949         Define using time_t rather than struct timespec.
45951         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45952         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45953         Macros removed.
45954         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45955         [!NO_THREADS].
45956         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45957         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45958         Likewise.
45960         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45961         __libc_cleanup_push argument.
45963         * bits/param.h: New file.
45964         * misc/sys/param.h: New file.
45965         * include/sys/param.h: New file.
45966         * misc/Makefile (headers): Add bits/param.h.
45967         * sysdeps/generic/sys/param.h: File removed.
45968         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45969         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45970         * sysdeps/mach/hurd/bits/param.h: New file.
45971         * sysdeps/mach/hurd/sys/param.h: File removed.
45973         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45974         last change.
45976         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45977         [_IO_MTSAFE_IO].
45978         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45979         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45980         New macros.
45982         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45983         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45984         rather than -D_IO_MTSAFE_IO conditionally.
45985         * stdio-common/Makefile (CPPFLAGS): Likewise.
45986         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45987         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45988         Use $(libio-mtsafe).
45989         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45990         of -D_IO_MTSAFE_IO.
45991         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45992         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45993         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45994         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45995         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45996         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45997         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45998         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45999         (CFLAGS-fread_u_chk.c): Likewise.
46000         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
46001         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
46002         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
46003         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
46004         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
46005         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
46006         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
46007         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
46008         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
46010         * libio/Makefile: Test [$(libc-reentrant) = yes]
46011         instead of [$(filter %REENTRANT, $(defines)) nonempty].
46013         * Makeconfig
46014         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
46015         * sysdeps/pthread/configure: File removed.
46016         * sysdeps/pthread/Makeconfig: New file.
46017         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
46018         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
46020 2012-08-16  Gary Benson  <gbenson@redhat.com>
46022         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
46023         unmapping the first object in a namespace.
46025 2012-08-16  Roland McGrath  <roland@hack.frob.com>
46027         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
46028         (__internal_setnetgrent): ... this.  Add internal_function to
46029         definition.  Add libc_hidden_def.
46030         (setnetgrent): Update caller.
46031         (internal_endnetgrent): Renamed to ...
46032         (__internal_endnetgrent): ... this.  Add internal_function to
46033         definition.  Add libc_hidden_def.
46034         (endnetgrent): Update caller.
46035         (internal_getnetgrent_r): Renamed to ...
46036         (__internal_getnetgrent_r): ... this.  Add internal_function to
46037         definition.  Add libc_hidden_def.
46038         (__getnetgrent_r): Update caller.
46039         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
46041 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
46043         * stdlib/longlong.h: Update from GCC.
46045 2012-08-16  Roland McGrath  <roland@hack.frob.com>
46047         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
46048         on _QL, which is set by umul_ppmm but never used.
46049         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
46050         variables, which are set by GMP macros but never used.
46051         * stdio-common/_itowa.c (_itowa): Likewise.
46052         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
46053         * stdlib/mod_1.c (mpn_mod_1): Likewise.
46055 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
46057         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
46058         struct La_sh_regs is not constant.
46059         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
46060         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
46061         and struct La_sparc64_regs are not constant.
46063 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
46065         * sysdeps/unix/sysv/linux/kernel-features.h
46066         (__ASSUME_POSIX_TIMERS): Remove.
46067         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46068         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46069         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
46070         Make code unconditional.
46071         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46072         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
46073         Make code unconditional.
46074         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46075         * sysdeps/unix/sysv/linux/clock_nanosleep.c
46076         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
46077         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46078         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
46079         Make code unconditional.
46080         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46081         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
46082         (__libc_missing_posix_timers): Remove.
46084 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46086         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
46087         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
46089         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
46091         * elf/dl-sym.c: Include <stdlib.h>.
46093         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
46094         constants, which avoids warnings in 32-bit builds.
46096         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
46097         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
46099         * misc/lseek.c: File moved to ...
46100         * io/lseek.c: ... here.
46102         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
46104         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
46105         shifting LEN more than 31 bits at once.
46107 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46109         [BZ #14195]
46110         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
46111         segmentation fault for a case of two empty input strings.
46112         * string/test-strncasecmp.c (check1): Renamed to...
46113         (bz12205): ...this.
46114         (bz14195): Add new testcase for two empty input strings and N > 0.
46115         (test_main): Call new testcase, adapt for renamed function.
46117 2012-08-15  Andreas Jaeger  <aj@suse.de>
46119         [BZ #14090]
46120         * crypt/md5test2.c: New test, based on test supplied by Serge
46121         Belyshev <belyshev@depni.sinp.msu.ru>.
46122         * crypt/Makefile (xtests): Add md5test-giant..
46123         * crypt/Makefile ($(objpfx)md5test-giant): Add.
46125 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
46127         [BZ #14090]
46128         * crypt/md5.c (md5_process_block): Don't assume the buffer
46129         length is less than 2**32.
46130         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
46131         length is less than 2**64.
46133 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46135         * string/str-two-way.h: Include <sys/param.h>.
46136         (MAX): Macro removed.
46138         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
46139         Move #define and #undef of memmove to just before and after
46140         including <string.h>.
46142         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
46143         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
46144         and after including <string.h>.  Move declarations of
46145         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
46146         to before #include "string/memmove.c".
46148         * include/dirent.h: Declare __getdirentries.
46150         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
46151         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
46153 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
46155         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
46156         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
46157         * sysdeps/i386/configure: Regenerated.
46158         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
46159         STABS_CURRENT_FILE, and STABS_FUN.
46160         (END): Remove call to STABS_FUN_END.
46161         (STABS_CURRENT_FILE1): Delete.
46162         (STABS_CURRENT_FILE): Likewise.
46163         (STABS_FUN): Likewise.
46164         (STABS_FUN_END): Likewise.
46165         (STABS_FUN2): Likewise.
46166         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
46167         * sysdeps/x86_64/configure: Regenerated.
46169 2012-08-14  Roland McGrath  <roland@hack.frob.com>
46171         * elf/dl-open.c: Include <atomic.h>.
46172         * elf/dl-lookup.c: Likewise.
46174 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
46176         * sysdeps/unix/sysv/linux/kernel-features.h
46177         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
46178         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
46179         unconditionally.
46180         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
46181         unconditionally.
46182         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
46183         condition on __ASSUME_CLONE_THREAD_FLAGS.
46185 2012-08-14  Andreas Jaeger  <aj@suse.de>
46187         * sysdeps/i386/fpu/libm-test-ulps: Update.
46189 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
46191         * include/atomic.h (atomic_exchange_and_add): Split into ...
46192         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
46193         New atomic macros.
46195 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
46197         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46199 2012-08-13  Jeff Law <law@redhat.com>
46201         * manual/stdio.texi (snprintf): Clarify handling of the trailing
46202         null byte in the output string.
46204 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
46206         * sysdeps/unix/sysv/linux/kernel-features.h
46207         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
46208         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
46209         (__ASSUME_ARG_MAX_STACK_BASED): Define.
46210         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46211         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
46212         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
46213         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
46215 2012-08-09  Jeff Law <law@redhat.com>
46217         [BZ #13939]
46218         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
46219         When avoid_arena is set, don't retry in the that arena.  Pick the
46220         next one, whatever it might be.
46221         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
46222         (arena_lock): Pass in new parameter to arena_get2.
46223         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
46224         arena_get2.
46225         (__libc_malloc): Unify retrying after main arena failure with
46226         __libc_memalign version.
46227         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
46229 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
46231         [BZ #14166]
46232         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
46233         to __redirect_strstr.
46234         (__strstr_sse42): Use typeof __redirect_strstr.
46235         (__strstr_ia32): Likewise.
46236         (__libc_strstr): New prototype.
46237         (strstr): Renamed to ...
46238         (__libc_strstr): This.
46239         (strstr): New strong alias of __libc_strstr.
46240         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46241         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
46242         __redirect_time.
46243         Include <time.h>.
46244         (__libc_time): New prototype.
46245         (time_ifunc): Replace time with __libc_time.
46246         (time): New strong alias and hidden definition of __libc_time.
46247         (__GI_time): Remove strong alias.
46248         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
46249         Include <stddef.h>.
46250         (memmove): Redefined to __redirect_memmove.
46251         (__memmove_sse2): Use typeof __redirect_memmove.
46252         (__memmove_ssse3): Likewise.
46253         (__memmove_ssse3_back): Likewise.
46254         (__libc_memmove): New prototype.
46255         (memmove): Renamed to ...
46256         (__libc_memmove): This.
46257         (memmove): New strong alias of __libc_memmove.
46259 2012-08-08  Mark Salter  <msalter@redhat.com>
46261         * elf/elf.h
46262         (R_MN10300_TLS_GD): Define.
46263         (R_MN10300_TLS_LD): Likewise.
46264         (R_MN10300_TLS_LDO): Likewise.
46265         (R_MN10300_TLS_GOTIE): Likewise.
46266         (R_MN10300_TLS_IE): Likewise.
46267         (R_MN10300_TLS_LE): Likewise.
46268         (R_MN10300_TLS_DTPMOD): Likewise.
46269         (R_MN10300_TLS_DTPOFF): Likewise.
46270         (R_MN10300_TLS_TPOFF): Likewise.
46271         (R_MN10300_SYM_DIFF): Likewise.
46272         (R_MN10300_ALIGN): Likewise.
46273         (R_MN10300_NUM): Update.
46275 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
46277         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
46278         Remove.
46280 2012-08-08  Roland McGrath  <roland@hack.frob.com>
46282         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
46284         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
46285         sysdeps/unix -> sysdeps/posix move.
46286         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46288 2012-08-07      Allan McRae     <allan@archlinux.org>
46290         [BZ #14303]
46291         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
46292         (SUNOS_CPP): Likewise.
46293         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
46294         not found.
46295         (open_input): Call CPP using execvp.
46297 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46299         * sysdeps/unix/sysv/linux/kernel-features.h
46300         (__ASSUME_PROT_GROWSUPDOWN): Remove.
46301         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46302         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46303         (__ASSUME_WAITID_SYSCALL): Likewise.
46304         * sysdeps/unix/sysv/linux/dl-execstack.c
46305         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
46306         code unconditional.
46307         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
46308         conditional code.
46309         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
46310         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
46311         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
46312         code.
46313         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
46314         unconditional.
46315         [__ASSUME_WAITID_SYSCALL]: Likewise.
46316         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
46318 2012-08-07  Roland McGrath  <roland@hack.frob.com>
46320         * sysdeps/unix/closedir.c: Renamed to ...
46321         * sysdeps/posix/closedir.c: ... here.
46322         * sysdeps/unix/dirfd.c: Renamed to ...
46323         * sysdeps/posix/dirfd.c: ... here.
46324         * sysdeps/unix/dirstream.h: Renamed to ...
46325         * sysdeps/posix/dirstream.h: ... here.
46326         * sysdeps/unix/fdopendir.c: Renamed to ...
46327         * sysdeps/posix/fdopendir.c: ... here.
46328         * sysdeps/unix/opendir.c: Renamed to ...
46329         * sysdeps/posix/opendir.c: ... here.
46330         * sysdeps/unix/readdir.c: Renamed to ...
46331         * sysdeps/posix/readdir.c: ... here.
46332         * sysdeps/unix/readdir_r.c: Renamed to ...
46333         * sysdeps/posix/readdir_r.c: ... here.
46334         * sysdeps/unix/rewinddir.c: Renamed to ...
46335         * sysdeps/posix/rewinddir.c: ... here.
46336         * sysdeps/unix/seekdir.c: Renamed to ...
46337         * sysdeps/posix/seekdir.c: ... here.
46338         * sysdeps/unix/telldir.c: Renamed to ...
46339         * sysdeps/posix/telldir.c: ... here.
46340         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
46341         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
46342         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
46343         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
46345         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
46346         * bits/fcntl.h: ... here.
46348         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
46349         not 0.
46350         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
46351         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
46352         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
46353         (struct flock): Move l_start, l_len to the beginning.
46354         Use __pid_t for l_pid.
46355         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
46356         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
46357         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
46358         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
46359         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
46360         [__USE_LARGEFILE64] (struct flock64): New type.
46361         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
46363         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
46364         * bits/dirent.h: ... here.
46366         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
46367         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
46369 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46371         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46372         Change from 2.6.0 to 2.6.16.
46373         * sysdeps/unix/sysv/linux/configure: Regenerated.
46374         * sysdeps/unix/sysv/linux/kernel-features.h
46375         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
46376         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
46377         version.
46378         (__ASSUME_UTIMES): Likewise.
46379         (__ASSUME_CLONE_STOPPED): Remove.
46380         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
46381         architectures, not kernel version.
46382         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
46383         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46384         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46385         (__ASSUME_WAITID_SYSCALL): Likewise.
46386         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
46387         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
46388         * README: State 2.6.16 as minimum Linux kernel version.  Do not
46389         refer to older versions.
46391 2012-08-06  Roland McGrath  <roland@hack.frob.com>
46393         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
46394         Define alphasort64 as an alias.
46395         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
46396         Define versionsort64 as an alias.
46397         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
46398         Define scandir64 as an alias.
46399         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
46400         Define scandirat64 as an alias.
46401         * dirent/alphasort64.c (alphasort64):
46402         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
46403         * dirent/versionsort64.c: Likewise.
46404         * dirent/scandir64.c: Likewise.
46405         * dirent/scandirat64.c: Likewise.
46406         * sysdeps/wordsize-64/alphasort.c: File removed.
46407         * sysdeps/wordsize-64/alphasort64.c: File removed.
46408         * sysdeps/wordsize-64/scandir.c: File removed.
46409         * sysdeps/wordsize-64/scandir64.c: File removed.
46410         * sysdeps/wordsize-64/scandirat.c: File removed.
46411         * sysdeps/wordsize-64/scandirat64.c: File removed.
46412         * sysdeps/wordsize-64/versionsort.c: File removed.
46413         * sysdeps/wordsize-64/versionsort64.c: File removed.
46414         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
46415         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
46416         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
46417         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
46418         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
46419         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
46420         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
46421         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
46423         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
46424         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46425         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
46426         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46427         [defined __arch64__ || defined __sparcv9]
46428         (__INO_T_MATCHES_INO64_T): New macro.
46429         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46430         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
46431         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
46432         * sysdeps/unix/sysv/linux/bits/dirent.h
46433         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
46434         (_DIRENT_MATCHES_DIRENT64): New macro.
46436         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
46437         Define lockf64 as an alias.
46438         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
46439         Define fseeko64 as an alias.
46440         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
46441         Define ftello64 as an alias.
46442         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
46443         Define _IO_fgetpos64 and fgetpos64 as aliases.
46444         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
46445         Define _IO_fsetpos64 and fsetpos64 as aliases.
46446         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
46447         Conditionalize body on this.
46448         * libio/fseeko64.c: Likewise.
46449         * libio/ftello64.c: Likewise.
46450         * libio/iofgetpos64.c: Likewise.
46451         * libio/iofsetpos64.c: Likewise.
46452         * sysdeps/wordsize-64/lockf.c: File removed.
46453         * sysdeps/wordsize-64/lockf64.c: File removed.
46454         * sysdeps/wordsize-64/fseeko.c: File removed.
46455         * sysdeps/wordsize-64/fseeko64.c: File removed.
46456         * sysdeps/wordsize-64/ftello.c: File removed.
46457         * sysdeps/wordsize-64/ftello64.c: File removed.
46458         * sysdeps/wordsize-64/iofgetpos.c: File removed.
46459         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
46460         * sysdeps/wordsize-64/iofsetpos.c: File removed.
46461         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
46462         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
46463         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
46464         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
46465         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
46466         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
46467         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
46468         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
46469         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
46470         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
46471         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
46473         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46474         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46475         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
46476         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46477         [defined __arch64__ || defined __sparcv9]
46478         (__OFF_T_MATCHES_OFF64_T): New macro.
46479         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46480         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46481         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46482         (__OFF_T_MATCHES_OFF64_T): New macro.
46484 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46486         * stdlib/secure-getenv.c (__secure_getenv): Replace
46487         GLIBC_2_16 with GLIBC_2_17.
46489 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46491         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
46492         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46494 2012-08-03  David S. Miller  <davem@davemloft.net>
46496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46498 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46500         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
46501         Remove.
46502         (__ASSUME_CORRECT_SI_PID): Likewise.
46503         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
46504         (__ASSUME_TMPFS_NAME): Likewise.
46505         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
46506         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
46507         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
46508         (HAVE_AUX_SECURE): Make definition unconditional.
46509         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
46510         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
46512 2012-08-03  Roland McGrath  <roland@hack.frob.com>
46514         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
46515         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
46516         * sysdeps/mach/hurd/eloop-threshold.h: New file.
46517         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46518         __eloop_threshold instead of SYMLOOP_MAX.
46520         * sysdeps/generic/eloop-threshold.h: New file.
46521         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
46522         of MAXSYMLINKS.
46523         * elf/chroot_canon.c (chroot_canon): Likewise.
46525 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46527         [BZ #13717]
46528         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46529         Change to 2.6.0 everywhere.
46530         * sysdeps/unix/sysv/linux/configure: Regenerated.
46531         * sysdeps/unix/sysv/linux/kernel-features.h
46532         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
46533         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
46534         kernel versions.
46535         (__ASSUME_POSIX_TIMERS): Define unconditionally.
46536         (__ASSUME_FUTEX_REQUEUE): Remove.
46537         (__ASSUME_STATFS64): Define unconditionally.
46538         (__ASSUME_AT_SECURE): Likewise.
46539         (__ASSUME_CORRECT_SI_PID): Likewise.
46540         (__ASSUME_TGKILL): Define without depending on kernel version for
46541         i386.
46542         (__ASSUME_UTIMES): Likewise.
46543         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
46544         kernel version.
46545         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
46546         (__ASSUME_TMPFS_NAME): Likewise.
46547         * README: Update reference to Linux kernel versions.
46549 2012-08-02  Marek Polacek  <polacek@redhat.com>
46551         [BZ# 14150]
46552         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
46553         libc_cv_asm_type_prefix with %.
46554         * configure: Regenerated.
46555         * include/libc-symbols.h: Remove comment about
46556         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46557         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
46558         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
46559         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
46560         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
46561         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46562         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
46563         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
46564         * elf/tst-unique2mod1.c: Likewise.
46565         * elf/tst-unique1mod2.c: Likewise.
46566         * elf/tst-unique1mod1.c: Likewise.
46567         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
46568         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
46569         Replace ASM_TYPE_DIRECTIVE with .type.
46570         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46571         * sysdeps/i386/sysdep.h: Likewise.
46572         * sysdeps/x86_64/sysdep.h: Likewise.
46573         * sysdeps/sh/sysdep.h: Likewise.
46574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46575         Do not define ASM_TYPE_DIRECTIVE.
46576         * sysdeps/powerpc/sysdep.h: Likewise.
46577         * sysdeps/powerpc/powerpc32/sysdep.h:
46578         Replace ASM_TYPE_DIRECTIVE with .type.
46579         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46580         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46581         * sysdeps/i386/fpu/e_powf.S: Likewise.
46582         * sysdeps/i386/fpu/e_expl.S: Likewise.
46583         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46584         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46585         * sysdeps/i386/fpu/e_pow.S: Likewise.
46586         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46587         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46588         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46589         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46590         * sysdeps/i386/fpu/e_log2.S: Likewise.
46591         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46592         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46593         * sysdeps/i386/fpu/e_powl.S: Likewise.
46594         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46595         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46596         * sysdeps/i386/fpu/e_logl.S: Likewise.
46597         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46598         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46599         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46600         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46601         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46602         * sysdeps/i386/fpu/e_log.S: Likewise.
46603         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46604         * sysdeps/i386/fpu/e_logf.S: Likewise.
46605         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46606         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46607         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46608         * sysdeps/i386/fpu/e_log10.S: Likewise.
46609         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46610         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46611         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46612         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46613         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46614         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46615         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46616         * sysdeps/i386/i686/strtok.S: Likewise.
46617         * sysdeps/i386/i386-mcount.S: Likewise.
46618         * sysdeps/i386/strtok.S: Likewise.
46619         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46620         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46621         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46622         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46623         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46624         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46625         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46626         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46627         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46628         * sysdeps/x86_64/_mcount.S: Likewise.
46629         * sysdeps/x86_64/strtok.S: Likewise.
46630         * sysdeps/sh/_mcount.S: Likewise.
46632 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46634         * libio/iofopen.c: Include <fcntl.h>.
46635         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46636         (_IO_fopen64, fopen64): Define as aliases.
46637         * libio/iofopen64.c: Include <fcntl.h>.
46638         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46639         Conditionalize body on this.
46640         * sysdeps/wordsize-64/iofopen.c: File removed.
46641         * sysdeps/wordsize-64/iofopen64.c: File removed.
46643 2012-08-01  Marek Polacek  <polacek@redhat.com>
46645         * libc/Makeconfig: Use elf in place of binfmt-subdir.
46646         Use dlfcn directly instead of a variable.
46647         (binfmt-subdir): Do not define.
46648         (dlfcn): Likewise.
46650 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46652         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46653         Remove all definitions.
46654         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46655         <kernel-features.h>.
46656         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46657         (miss_F_GETOWN_EX): Remove all definitions.
46658         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46659         macro definition.
46660         [!__ASSUME_FCNTL64]: Remove conditional code.
46661         [__ASSUME_FCNTL64]: Make code unconditional.
46662         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46663         <kernel-features.h>.
46664         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46665         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46666         (lockf64) [__NR_fcntl64]: Make code unconditional.
46667         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46669         * sysdeps/unix/sysv/linux/kernel-features.h
46670         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46671         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46672         Make code unconditional.
46673         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46674         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46676         [__NR_vfork]: Make code unconditional.
46677         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46678         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46680         [__NR_vfork]: Make code unconditional.
46681         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46682         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46684 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46686         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46687         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46689         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46690         Define mkstemp64 as an alias.
46691         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46692         Define mkstemps64 as an alias.
46693         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46694         Define mkostemp64 as an alias.
46695         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46696         Define mkostemps64 as an alias.
46697         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46698         Conditionalize body on this.
46699         * misc/mkostemp64.c: Likewise.
46700         * misc/mkostemps64.c: Likewise.
46701         * misc/mkstemps64.c: Likewise.
46702         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46703         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46704         * sysdeps/wordsize-64/mkostemp.c: File removed.
46705         * sysdeps/wordsize-64/mkstemp.c: File removed.
46706         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46707         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46708         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46709         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46711         [BZ #14138]
46712         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46713         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46714         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46715         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46717         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46718         compat_symbol macros from <shlib-compat.h> rather than the underlying
46719         default_symbol_version and symbol_version macros, so that DEFAULT
46720         lines in shlib-versions are respected.
46721         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46723 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46725         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46726         Declare with warn_unused_result.
46727         (setgid, setregid, setegid, setresgid): Likewise.
46728         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46729         Likewise.
46730         * WUR-REPORT: Remove set*id functions.
46732 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46734         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46736 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46738         [BZ #10191]
46739         * include/sys/socket.h (__libc_accept, __libc_accept4):
46740         Add attribute_hidden.
46741         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46743         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46744         use of PTR_MANGLE.
46745         * inet/getnetgrent_r.c (setup): Likewise.
46747         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46749 2012-07-31  David S. Miller  <davem@davemloft.net>
46751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46753 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46755         [BZ #13629]
46756         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46757         value between 1.0 and 2.0 and smaller part has absolute value less
46758         than 1.0.
46759         * math/s_clog10.c (__clog10): Likewise.
46760         * math/s_clog10f.c (__clog10f): Likewise.
46761         * math/s_clog10l.c (__clog10l): Likewise.
46762         * math/s_clogf.c (__clogf): Likewise.
46763         * math/s_clogl.c (__clogl): Likewise.
46764         * math/libm-test.inc (clog_test): Add more tests.
46765         (clog10_test): Likewise.
46766         * sysdeps/i386/fpu/libm-test-ulps: Update.
46767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46769 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46771         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46772         Exit with zero in case no suitable GID is found, and write a
46773         message to standard error.
46775 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46777         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46778         rather than to 1.
46779         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46780         (MAXPATHLEN): Removed.
46781         (NOGROUP, NODEV): New macros.
46782         (setbit, clrbit, isset, isclr): New macros.
46783         (howmany, roundup, powerof2): New macros.
46784         (DEV_BSIZE): New macro.
46786         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46787         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46789         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46790         definition on [!__NO_LONG_DOUBLE_MATH].
46792         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46793         PTR_MANGLE and PTR_DEMANGLE.
46795         * socket/accept4.c (accept4): Rename to __libc_accept4.
46796         Define accept4 as a weak alias.
46798         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46799         on [_DIRENT_HAVE_D_TYPE].
46800         * io/ftw.c (ftw_dir): Likewise.
46802         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46804         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46806         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46807         Use the BSD numbers rather than the arbitrary ones we had.
46808         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46809         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46810         (SIGXCPU, SIGXFSZ): New macros.
46811         (_NSIG): Now 32.
46813         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46814         initializer on [_LIBC_REENTRANT].
46816         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46817         definitions inside [_POSIX_MAPPED_FILES].
46819         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46821         * dirent/opendir.c: Include <fcntl.h>.
46823         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46824         (__libc_getspecific): Likewise.
46825         (__libc_key_create): Likewise.
46827         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46828         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46829         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46830         (tmpfile64): Define as alias.
46831         * sysdeps/wordsize-64/tmpfile.c: File removed.
46832         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46833         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46834         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46836         * stdio-common/vfscanf.c: Include <stdbool.h>.
46837         * nss/makedb.c: Likewise.
46838         * stdio-common/_i18n_number.h: Likewise.
46839         * argp/argp-help.c: Likewise.
46840         * posix/wordexp.c: Likewise.
46841         * sysdeps/posix/spawni.c: Likewise.
46842         * nss/nss_files/files-initgroups.c: Likewise.
46843         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46844         * nss/nss_files/files-initgroups.c: Likewise.
46845         * nss/nss_db/db-netgrp.c: Likewise.
46846         * nss/nss_db/db-initgroups.c: Likewise.
46847         * io/fchmodat.c: Include <sys/stat.h>.
46849         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46850         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46852         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46853         [HAVE_MMAP].
46855         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46856         Add multiple inclusion protection.
46858 2012-07-27  David S. Miller  <davem@davemloft.net>
46860         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46862 2012-07-27  Gary Benson  <gbenson@redhat.com>
46864         [BZ #14298]
46865         * elf/rtld.c: Include <stap-probe.h>.
46866         (dl_main): Added static probes "init_start" and "init_complete".
46867         * elf/dl-load.c: Include <stap-probe.h>.
46868         (lose): Take new parameter "nsid".
46869         Added static probe "map_failed".
46870         (_dl_map_object_from_fd): Pass namespace id to lose.
46871         Added static probe "map_start".
46872         (open_verify): Pass namespace id to lose.
46873         * elf/dl-open.c: Include <stap-probe.h>.
46874         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46875         and "reloc_complete".
46876         * elf/dl-close.c: Include <stap-probe.h>.
46877         (_dl_close_worker): Added static probes "unmap_start" and
46878         "unmap_complete".
46879         * elf/rtld-debugger-interface.txt: New file documenting the above.
46881 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46883         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46884         rather than a string variable.
46885         * sunrpc/rpc_main.c (h_output): Likewise.
46886         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46888 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46890         * inet/check_native.c: New file.
46892 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46894         [BZ #13629]
46895         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46896         if larger part has absolute value 1.0.
46897         * math/s_clog10.c (__clog10): Likewise.
46898         * math/s_clog10f.c (__clog10f): Likewise.
46899         * math/s_clog10l.c (__clog10l): Likewise.
46900         * math/s_clogf.c (__clogf): Likewise.
46901         * math/s_clogl.c (__clogl): Likewise.
46902         * math/libm-test.inc (clog_test): Add more tests.
46903         (clog10_test): Likewise.
46904         * sysdeps/i386/fpu/libm-test-ulps: Update.
46905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46907         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46908         (pltexit): Likewise.
46909         (La_regs): Likewise.
46910         (La_retval): Likewise.
46911         (int_retval): Likewise.
46912         Update #error for removed macros to refer only to definitions in
46913         tst-audit.h.
46914         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46915         macro.
46916         (pltexit): Likewise.
46917         (La_regs): Likewise.
46918         (La_retval): Likewise.
46919         (int_retval): Likewise.
46920         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46921         macro.
46922         (pltexit): Likewise.
46923         (La_regs): Likewise.
46924         (La_retval): Likewise.
46925         (int_retval): Likewise.
46926         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46927         macro.
46928         (pltexit): Likewise.
46929         (La_regs): Likewise.
46930         (La_retval): Likewise.
46931         (int_retval): Likewise.
46932         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46933         macro.
46934         (pltexit): Likewise.
46935         (La_regs): Likewise.
46936         (La_retval): Likewise.
46937         (int_retval): Likewise.
46938         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46939         macro.
46940         (pltexit): Likewise.
46941         (La_regs): Likewise.
46942         (La_retval): Likewise.
46943         (int_retval): Likewise.
46944         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46945         macro.
46946         (pltexit): Likewise.
46947         (La_regs): Likewise.
46948         (La_retval): Likewise.
46949         (int_retval): Likewise.
46950         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46951         macro definitions in tst-audit.h.
46952         * sysdeps/i386/tst-audit.h: New file.
46953         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46954         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46955         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46956         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46957         * sysdeps/sh/tst-audit.h: Likewise.
46958         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46959         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46960         * sysdeps/x86_64/tst-audit.h: Likewise.
46962 2012-07-26  Andreas Jaeger  <aj@suse.de>
46964         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46965         ptrace.
46967         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46968         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46969         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46970         PTRACE_O_MASK.
46971         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46972         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46973         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46975         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46976         value.
46978         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46979         _sigsys.
46980         (si_call_addr, si_syscall, si_arch): Define new macro.
46981         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46982         _sigsys.
46983         (si_call_addr, si_syscall, si_arch): Define new marcro.
46984         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46985         _sigsys.
46986         (si_call_addr, si_syscall, si_arch): Define new macro.
46987         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46988         _sigsys.
46989         (si_call_addr, si_syscall, si_arch): Define new macro.
46991 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46993         [BZ #13717]
46994         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46995         Change to 2.4.21 where previously 2.4.1.
46996         * sysdeps/unix/sysv/linux/configure: Regenerated.
46997         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46998         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46999         Linux kernel version.
47000         (__ASSUME_STD_AUXV): Remove.
47001         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
47002         kernel version.
47003         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
47004         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
47005         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
47006         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
47007         (__ASSUME_NETLINK_SUPPORT): Likewise.
47008         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
47009         (__no_netlink_support): Remove conditional definition.
47010         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
47011         Remove.
47012         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47013         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
47014         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
47015         (if_nameindex_ioctl): Remove.
47016         (if_nameindex_netlink): Do not handle __no_netlink_support.
47017         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47018         code.
47019         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
47020         Remove conditional code.
47021         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47022         code.
47023         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
47024         unconditional.
47025         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47026         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
47027         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
47028         Remove.
47029         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
47030         [!__ASSUME_STD_AUXV]: Remove conditional code.
47031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
47032         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
47033         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
47034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
47035         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
47036         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47037         code.
47038         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47040         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
47041         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47042         conditional code.
47043         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47045         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47046         code.
47047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47048         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47049         conditional code.
47050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
47051         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47052         code unconditional.
47053         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47054         conditional code.
47055         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47056         unconditional.
47057         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47058         conditional code.
47059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47060         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47061         unconditional.
47062         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47063         conditional code.
47064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
47065         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47066         code unconditional.
47067         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47068         conditional code.
47069         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47070         unconditional.
47071         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47072         conditional code.
47073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
47074         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47075         code unconditional.
47076         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47077         conditional code.
47078         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47079         unconditional.
47080         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47081         conditional code.
47083 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
47085         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
47086         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
47087         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47088         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
47089         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
47090         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47091         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47092         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
47093         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
47094         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
47095         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
47096         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
47097         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
47098         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47099         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
47100         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
47101         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
47102         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
47103         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
47104         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
47105         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
47106         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
47107         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47109 2012-07-25  Florian Weimer  <fweimer@redhat.com>
47111         * Versions.def: Add GLIBC_2.17.
47112         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
47113         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
47114         Introduce __libc_secure_getenv.
47115         * stdlib/Versions (2.17): Add secure_getenv
47116         (GLIBC_PRIVATE): Add __libc_secure_getenv.
47117         * stdlib/secure-getenv.c: Rename __secure_getenv to
47118         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
47119         symbol __secure_getenv for GLIBC_2.0.
47120         * stdlib/tst-secure-getenv.c: New.
47121         * stdlib/Makefile (tests): Add testcase.
47122         * manual/startup.texi (Environment Access): Document
47123         secure_getenv.
47124         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
47125         __libc_secure_getenv.
47126         * inet/ruserpass.c (ruserpass): Likewise.
47127         * malloc/mtrace.c (mtrace): Likewise.
47128         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
47129         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
47130         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
47131         * sysdeps/posix/tempname.c: Likewise.  Evaluate
47132         HAVE_SECURE_GETENV.
47133         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
47134         __secure_getenv to __libc_secure_getenv.
47135         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
47136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47137         Likewise.
47138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47139         Likewise.
47140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47142         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47144         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47145         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47146         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47148 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
47150         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
47151         (struct La_i86_retval): Likewise.
47152         (struct La_x86_64_regs): Likewise.
47153         (struct La_x86_64_retval): Likewise.
47154         (struct La_x32_regs): Likewise.
47155         (struct La_x32_retval): Likewise.
47156         (struct La_ppc32_regs): Likewise.
47157         (struct La_ppc32_retval): Likewise.
47158         (struct La_ppc64_regs): Likewise.
47159         (struct La_ppc64_retval): Likewise.
47160         (struct La_sh_regs): Likewise.
47161         (struct La_sh_retval): Likewise.
47162         (struct La_s390_32_regs): Likewise.
47163         (struct La_s390_32_retval): Likewise.
47164         (struct La_s390_64_regs): Likewise.
47165         (struct La_s390_64_retval): Likewise.
47166         (struct La_sparc32_regs): Likewise.
47167         (struct La_sparc32_retval): Likewise.
47168         (struct La_sparc64_regs): Likewise.
47169         (struct La_sparc64_retval): Likewise.
47170         (struct audit_ifaces): Remove architecture-specific pltenter and
47171         pltexit members.
47172         * sysdeps/i386/ldsodefs.h: New file.
47173         * sysdeps/powerpc/ldsodefs.h: Likewise.
47174         * sysdeps/s390/ldsodefs.h: Likewise.
47175         * sysdeps/sh/ldsodefs.h: Likewise.
47176         * sysdeps/sparc/ldsodefs.h: Likewise.
47177         * sysdeps/x86_64/ldsodefs.h: Likewise.
47179 2012-07-25  Marek Polacek  <polacek@redhat.com>
47181         [BZ #6808]
47182         * math/libm-test.inc (yn_test): Add another test.
47183         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
47184         to ERANGE when the result is +-Inf.
47185         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47186         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
47187         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
47188         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
47190 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
47192         * conform/data/time.h-data (NULL): Use macro-constant.  Require
47193         equal to 0.
47194         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
47195         clock_t.
47196         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
47198 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
47200         * configure.in <sysdeps resolving>: Correct printing
47201         Implies_before.
47202         * configure: Regenerate.
47204 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
47206         * math/w_ilogb.c: Include <limits.h>.
47207         * math/w_ilogbl.c: Likewise.
47209 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47211         * manual/lang.texi (__va_copy): Document primarily as ISO C99
47212         va_copy.  Document allowing for unavailable va_copy only as
47213         pre-C99 compatibility.
47214         * manual/string.texi (Copying and Concatenation): Use va_copy
47215         instead of __va_copy in concat example.
47217 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
47219         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
47220         (__sendto): Use create_address_port.  Initialize APORT and deallocate
47221         it if not null.
47223         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
47224         with O_NOLINK passed to __file_name_lookup.
47226         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
47227         with O_NOLINK passed to __file_name_lookup.
47229         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
47230         negative N or less than NGIDS.
47232         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
47233         type to string_t.  Set ERANGE as errno and return it if NAME is not big
47234         enough.  Use memcpy instead of strncpy.
47236 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47238         * elf/Makefile (check-data): Remove.
47239         (localplt.data): New vpath directive.
47240         ($(objpfx)check-localplt.out): Use localplt.data from vpath
47241         instead of $(check-data).
47242         * scripts/data/localplt-generic.data: Move to ...
47243         * sysdeps/generic/localplt.data: ... here.
47244         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
47245         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
47246         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
47247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47248         ... here.
47249         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
47250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47251         ... here.
47252         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
47253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
47254         ... here.
47255         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
47256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47257         ... here.
47258         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
47259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
47260         ... here.
47261         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
47262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
47263         ... here.
47265 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47267         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
47268         PPC32 and PPC64 files.
47269         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
47270         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
47272 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47274         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
47275         __makecontext_ret to ...
47276         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
47277         ... here and call exit if uc_link is NULL.  New file.
47278         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
47279         __makecontext_ret.S.
47280         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
47281         __makecontext_ret to ...
47282         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
47283         ... here and call exit if uc_link is NULL.  New file.
47284         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
47285         __makecontext_ret.S.
47287 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47289         * elf/elf.h (R_390_IRELATIVE): New definition.
47290         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
47291         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
47292         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
47293         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47294         (elf_machine_lazy_rel): Likewise.
47295         * sysdeps/s390/dl-irel.h: New file.
47296         * sysdeps/s390/s390-64/memcpy.S: New asm code.
47297         * sysdeps/s390/s390-64/memset.S: New asm code.
47298         * sysdeps/s390/s390-64/memcmp.S: New asm code.
47299         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
47300         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
47301         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
47302         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
47303         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
47304         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
47305         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
47306         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
47307         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
47308         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
47309         * sysdeps/s390/s390-32/memcpy.S: New asm code.
47310         * sysdeps/s390/s390-32/memset.S: New asm code.
47311         * sysdeps/s390/s390-32/memcmp.S: New asm code.
47313 2012-07-17  Marek Polacek  <polacek@redhat.com>
47315         [BZ #14349]
47316         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
47317         * sysdeps/s390/s390-64/configure.in: Likewise.
47318         * sysdeps/sparc/configure.in: Likewise.
47319         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
47320         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
47321         * sysdeps/i386/configure.in: Likewise.
47322         * sysdeps/x86_64/configure.in: Likewise.
47323         * sysdeps/sh/configure.in: Likewise.
47324         * sysdeps/s390/s390-32/configure: Regenerated.
47325         * sysdeps/s390/s390-64/configure: Likewise.
47326         * sysdeps/x86_64/configure: Likewise.
47327         * sysdeps/sh/configure: Likewise.
47328         * sysdeps/powerpc/powerpc64/configure: Likewise.
47329         * sysdeps/powerpc/powerpc32/configure: Likewise.
47330         * sysdeps/sparc/configure: Likwise.
47331         * sysdeps/i386/configure: Likewise.
47333         * elf/dl-open.c: Comment fixes.
47335 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
47337         * Makefile [CXX] (check-data): Remove.
47338         [CXX] (c++-types.data): New vpath directive.
47339         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
47340         vpath.  Do not allow for C++ type data being missing.
47341         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
47342         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
47343         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
47344         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
47345         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
47346         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
47347         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
47348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47349         ... here.
47350         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
47351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47352         ... here.
47353         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
47354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
47355         ... here.
47356         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
47357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
47358         ... here.
47359         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
47360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
47361         ... here.
47362         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
47363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
47364         ... here.
47365         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
47366         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
47367         ... here.
47368         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
47369         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
47371         * elf/tls-macros.h (TLS_LE): Move architecture-specific
47372         definitions to architecture-specific files.
47373         (TLS_IE): Likewise.
47374         (TLS_LD): Likewise.
47375         (TLS_GD): Likewise.
47376         * sysdeps/i386/tls-macros.h: New file.
47377         * sysdeps/powerpc/tls-macros.h: Likewise.
47378         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
47379         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
47380         * sysdeps/sh/tls-macros.h: Likewise.
47381         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
47382         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
47383         * sysdeps/x86_64/tls-macros.h: Likewise.
47385 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47387         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
47388         zero value for regular exit case.
47390         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
47391         (__start_context): Preserve zero value for regular exit case.
47393 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47394             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47396         * manual/setjmp.texi (setcontext): Clarify normal process
47397         termination when uc_link is the null pointer.
47398         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
47399         exit call.
47401 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
47403         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
47404         preprocessor.  Test for each exception mask separately.
47406 2012-07-16  Andreas Jaeger  <aj@suse.de>
47408         * po/ru.po: Update from translation team.
47410 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
47412         * conform/data/string.h-data (NULL): Use macro-constant.  Require
47413         equal to 0.
47414         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47415         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47416         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
47417         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
47418         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47420 2012-07-13  Andreas Jaeger  <aj@suse.de>
47422         * po/fr.po: Update from translation team.
47424 2012-07-12  Marek Polacek  <polacek@redhat.com>
47426         [BZ #14173]
47427         * math/libm-test.inc (yn_test): Add test for BZ #14173.
47428         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
47429         loop condition.
47431 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
47433         [BZ #13717]
47434         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47435         Change to 2.4.1 where previously 2.4.0.
47436         * sysdeps/unix/sysv/linux/configure: Regenerated.
47437         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
47438         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
47439         version.
47440         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
47441         (__ASSUME_AT_CLKTCK): Remove.
47442         (__ASSUME_AT_PAGESIZE): Likewise.
47443         (__ASSUME_AT_XID): Likewise.
47444         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
47445         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
47446         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
47447         unconditionally.
47448         (HAVE_AUX_PAGESIZE): Likewise.
47449         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
47450         [__ASSUME_AT_CLKTCK]: Make code unconditional.
47451         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
47453 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
47455         [BZ #14307]
47456         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
47457         the temporary buffer used to invoke __gethostbyname2_r,
47458         __gethostbyaddr_r and gethostbyname4_r to make room for struct
47459         host_data / struct gaih_addrtuple.
47460         * resolv/nss_dns/dns-host.c (global scope): Move definition of
47461         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
47462         header file nss/nsswitch.h.
47463         * nss/nsswitch.h (global scope): Add definition of implementation
47464         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
47465         resolv/nss_dns/dns-host.c).
47467 2012-07-11  Andreas Jaeger  <aj@suse.de>
47469         * po/fr.po: Update from translation team.
47471         * po/sv.po: Update from translation team
47472         * po/fr.po: Another update from translation team.
47474 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47476         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
47477         for subnormals or multiply small sinh result by itself.
47478         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47481 2012-07-11  David S. Miller  <davem@davemloft.net>
47483         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47485 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
47487         [BZ #14347]
47488         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
47489         (INTERNAL_MARK): Shift it here.
47491 2012-07-10  Marek Polacek  <polacek@redhat.com>
47493         [BZ #14151]
47494         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
47495         libc_cv_asm_global_directive with .globl.
47496         * configure: Regenerated.
47497         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
47498         with .globl.
47499         * sysdeps/i386/configure: Regenerated.
47500         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
47501         with .globl.
47502         * sysdeps/x86_64/configure: Regenerated.
47503         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
47504         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
47505         * elf/tst-unique2mod2.c: Likewise.
47506         * elf/tst-unique2mod1.c: Likewise.
47507         * elf/tst-unique1mod2.c: Likewise.
47508         * elf/tst-unique1mod1.c: Likewise.
47509         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47510         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47511         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47512         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47513         * sysdeps/mach/sysdep.h: Likewise.
47514         * sysdeps/i386/sysdep.h: Likewise.
47515         * sysdeps/i386/i386-mcount.S: Likewise.
47516         * sysdeps/x86_64/_mcount.S: Likewise.
47517         * sysdeps/x86_64/sysdep.h: Likewise.
47518         * sysdeps/sh/_mcount.S: Likewise.
47519         * sysdeps/sh/sysdep.h: Likewise.
47520         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
47521         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
47522         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
47523         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47524         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
47525         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
47526         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
47527         * locale/localeinfo.h: Likewise.
47528         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
47529         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
47531 2012-07-09  Roland McGrath  <roland@hack.frob.com>
47533         [BZ #14336]
47534         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
47535         system".
47536         * manual/message.texi (The Uniforum approach): Likewise.
47537         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
47538         (glibc iconv Implementation): Likewise.
47540 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
47542         [BZ #14337]
47543         * math/s_clog.c (__clog): Avoid scaling a value down where that
47544         could result in underflow.
47545         * math/s_clog10.c (__clog10): Likewise.
47546         * math/s_clog10f.c (__clog10f): Likewise.
47547         * math/s_clog10l.c (__clog10l): Likewise.
47548         * math/s_clogf.c (__clogf): Likewise.
47549         * math/s_clogl.c (__clogl): Likewise.
47550         * math/libm-test.inc (clog_test): Add more tests.
47551         (clog10_test): Likewise.
47552         * sysdeps/i386/fpu/libm-test-ulps: Update.
47553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47555 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
47557         [BZ #14283]
47558         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
47559         by 7 not 8 to examine high bit of fractional part.
47561         [BZ #14042]
47562         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
47563         for call to __mcount_internal.
47564         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
47565         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
47566         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
47568 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
47570         [BZ #14154]
47571         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
47572         approximation for values within 0x1p-13f of an odd multiple of
47573         pi/4.
47574         * math/libm-test.inc (tan_test): Do not allow spurious underflow
47575         exception.  Add more tests.
47576         * sysdeps/i386/fpu/libm-test-ulps: Update.
47578         [BZ #6778]
47579         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
47580         inputs and return -1 for them.  Do not check for +Inf in case not
47581         reachable for +Inf.
47582         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47583         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
47584         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47585         and return -1 for them.  Do not check for +Inf in case not
47586         reachable for +Inf.
47587         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
47588         define.
47589         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47590         and return -1 for them.  Do not check for +Inf in case not
47591         reachable for +Inf.
47592         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
47593         spurious underflow.
47594         * sysdeps/i386/fpu/libm-test-ulps: Update.
47595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47597 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
47599         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47601 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
47603         [BZ #14157]
47604         [BZ #14331]
47605         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47606         could result in spurious underflow.  Scale down values above
47607         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47608         * math/s_csqrtf.c (__csqrtf): Likewise.
47609         * math/s_csqrtl.c (__csqrtl): Likewise.
47610         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
47611         spurious underflow.
47612         * sysdeps/i386/fpu/libm-test-ulps: Update.
47613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47615 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
47617         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47618         xopen-msg.sed.
47619         * catgets/xopen-msg.awk: New file.
47620         * catgets/xopen-msg.sed: Removed.
47622         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47623         po2text.sed.
47624         * intl/po2test.awk: New file.
47625         * intl/po2test.sed: Removed.
47627 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
47629         [BZ #14328]
47630         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47631         or multiply small sinh result by itself.
47632         * math/s_ctanf.c (__ctanf): Likewise.
47633         * math/s_ctanh.c (__ctanh): Likewise.
47634         * math/s_ctanhf.c (__ctanhf): Likewise.
47635         * math/s_ctanhl.c (__ctanhl): Likewise.
47636         * math/s_ctanl.c (__ctanl): Likewise.
47637         * math/libm-test.inc (ctan_test_tonearest): New function.
47638         (ctan_test_towardzero): Likewise.
47639         (ctan_test_downward): Likewise.
47640         (ctan_test_upward): Likewise.
47641         (ctanh_test_tonearest): Likewise.
47642         (ctanh_test_towardzero): Likewise.
47643         (ctanh_test_downward): Likewise.
47644         (ctanh_test_upward): Likewise.
47645         (main): Call these new functions.
47646         * sysdeps/i386/fpu/libm-test-ulps: Update.
47647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47649 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47651         * .gitignore: Delete /ports entry.
47653 2012-07-03  Andreas Jaeger  <aj@suse.de>
47655         * po/bg.po: Update from translation team.
47656         * po/cs.po: Likewise.
47657         * po/de.po: Likewise.
47658         * po/hr.po: Likewise.
47659         * po/nl.pl: Likewise.
47660         * po/pl.po: Likewise.
47661         * po/vi.po: Likewise.
47663 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47665         * Makeconfig [!+link] (+link-before-libc): New variable.
47666         [!+link] (+link-after-libc): Likewise.
47667         [!+link] (+link-tests): Likewise.
47668         [!+link] (+link): Define in terms of $(+link-before-libc) and
47669         $(+link-after-libc).
47670         [!+link-static] (+link-static-before-libc): New variable.
47671         [!+link-static] (+link-static-after-libc): Likewise.
47672         [!+link-static] (+link-static-tests): Likewise.
47673         [!+link-static] (+link-static): Define in terms of
47674         $(+link-static-before-libc) and $(+link-static-after-libc).
47675         [build-shared] (link-libc-before-gnulib): New variable.
47676         [build-shared] (link-libc-tests): Likewise.
47677         [build-shared] (link-libc): Define in terms of
47678         $(link-libc-before-gnulib).
47679         [!build-shared] (link-libc-tests): New variable.
47680         (link-libc-static-tests): New variable.
47681         [!gnulib] (gnulib-arch): New variable.
47682         [!gnulib] (gnulib-tests): Likewise.
47683         [!gnulib] (static-gnulib-arch): Likewise.
47684         [!gnulib] (static-gnulib-tests): Likewise.
47685         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47686         Define with "=" instead of ":=".
47687         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47688         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47689         * Rules (binaries-all-notests): New variable.
47690         (binaries-all-tests): Likewise.
47691         (binaries-static-notests): Likewise.
47692         (binaries-static-tests): Likewise.
47693         (binaries-all): Define using $(binaries-all-notests) and
47694         $(binaries-all-tests).
47695         (binaries-static): Define using $(binaries-static-notests) and
47696         $(binaries-static-tests).
47697         (binaries-shared-tests): New variable.
47698         (binaries-shared-notests): Likewise.
47699         (binaries-shared): Remove variable.
47700         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47701         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47702         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47703         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47704         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47705         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47706         * elf/Makefile (sln-modules): New variable.
47707         (extra-objs): Add $(sln-modules:=.o).
47708         (ldconfig-modules): Add static-stubs.
47709         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47710         * elf/static-stubs.c: New file.
47712         [BZ #14283]
47713         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47714         by 7 not 8 to examine high bit of fractional part.  Use volatile
47715         variables when splitting into final array of floats if
47716         __FLT_EVAL_METHOD__ != 0.
47717         * math/libm-test.inc (cos_test): Add another test.
47718         (sin_test): Likewise.
47719         * sysdeps/i386/fpu/libm-test-ulps: Update.
47721         [BZ #14273]
47722         * math/libm-test.inc (cosh_test): Add more tests.
47724         * version.h (RELEASE): Set to "development".
47725         (VERSION): Set to "2.16.90".
47727 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47729         * NEWS: Update copyright. Remove last-updated date.
47730         Mention math library bug fixes and timezone data changes.
47731         * README: Mention GNU/Hurd, x32, and HPPA support status.
47733 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47735         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47737 2012-06-27  Andreas Jaeger  <aj@suse.de>
47739         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47741 2012-06-25  Andreas Jaeger  <aj@suse.de>
47743         * sysdeps/s390/fpu/libm-test-ulps: Update.
47745 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47746             Thomas Schwinge  <thomas@codesourcery.com>
47748         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47749         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47750         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47751         fanotify_mark.
47753 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47755         * sysdeps/mach/start.c: Remove file.
47756         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47757         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47758         * sysdeps/sh/init-first.c: Likewise.
47760         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47761         registers for frame unwinding purposes, add CFI directives.
47762         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47763         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47764         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47765         Likewise.
47767         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47768         __fortify_fail returning.
47769         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47771         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47772         sysdeps/sh/____longjmp_chk.S.
47773         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47774         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47775         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47776         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47778         * sysdeps/sh/abort-instr.h: New file.
47779         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47780         process in case exit returns.
47782         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47783         initialize the GOT register before use.
47785         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47786         calculation of ARGC > 4.
47788         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47789         meaningful names to some local labels.
47791 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47792             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47794         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47795         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47796         (__arch_compare_and_exchange_val_16_acq): Likewise.
47797         (__arch_compare_and_exchange_val_32_acq): Likewise.
47798         (atomic_exchange_and_add): Fix gUSA sequence.
47799         (atomic_add): Likewise.
47800         (atomic_add_negative): Likewise.
47801         (atomic_add_zero): Likewise.
47802         (atomic_bit_test_set): Likewise.
47804 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47806         [BZ #13579]
47807         * include/link.h (struct link_map): Add l_free_initfini.
47808         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47809         l_initfini.
47810         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47811         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47812         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47813         set.
47815 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47817         * configure.in: Use AC_LANG_SOURCE.
47818         * configure: Regenerate.
47820 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47822         * configure.in (libc_cv_localstatedir): New substituted variable.
47823         * configure: Regenerated.
47824         * config.make.in (localstatedir): New variable, substituted from
47825         libc_cv_localstatedir.
47826         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47827         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47828         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47829         * sysdeps/gnu/configure: Regenerated.
47831 2012-06-21  Jeff Law  <law@redhat.com>
47833         [BZ #14277]
47834         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47835         free.  Simplify list management for _LIBC case.
47837 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47839         [BZ #14273]
47840         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47841         Clear sign bit of 64-bit integer value before comparing against
47842         overflow value.
47844         * sysdeps/mach/configure: Regenerated.
47846 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47848         [BZ #14278]
47849         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47851 2012-06-21  Jeff Law  <law@redhat.com>
47853         [BZ #13882]
47854         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47855         uint16_t for elements in the "seen" array to avoid char overflows.
47856         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47857         * elf/dl-open.c (dl_open_worker): Likewise.
47859 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47861         * scripts/list-sources.sh: Scan PORTS for translations.
47862         * po/libc.pot: Regenerated.
47864 2012-06-21  Andreas Jaeger  <aj@suse.de>
47866         [BZ #12194]
47867         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47868         warning.
47869         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47870         * bits/byteswap-16.h (__bswap_16): Likewise.
47871         * bits/byteswap.h (__bswap_constant_16): Likewise.
47873 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47875         [BZ #14117]
47876         * sysdeps/i386/fpu_control.h: Removed.
47877         * sysdeps/x86_64/fpu_control.h: Moved to ...
47878         * sysdeps/x86/fpu_control.h: Here.
47880         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47881         (_FPU_SETCW): Likewise.
47883 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47885         [BZ #14117]
47886         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47887         * sysdeps/x86/fpu/bits/mathinline.h: This.
47888         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47890         [BZ #14050]
47891         [BZ #14117]
47892         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47893         functions if __x86_64__ is defined.
47895 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47897         * string/endian.h: Add !__ASSEMBLER__ condition for including
47898         conversion interfaces.
47900 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47902         [BZ #14241]
47903         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47904         of ABS(x) in calculating zero to negative powers other than odd
47905         integers.
47906         * math/libm-test.inc (pow_test): Add more tests.
47908 2012-06-15  Andreas Jaeger  <aj@suse.de>
47910         * manual/contrib.texi (Contributors): Update entry of Liubov
47911         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47912         Machado Filho.
47914 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47916         * string/string.h: Add __wur to GNU version of strerror_r.
47918 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47920         [BZ #14229]
47921         * string/Makefile (tests): Add tst-strtok_r.
47922         * string/tst-strtok_r.c: New file.
47923         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47924         RAX_LP/RDX_LP on SAVE_PTR.
47926 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47928         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47930 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
47932         * libm_test.inc (csqrt_test): Allow more spurious underflow
47933         exceptions.
47934         (j0_test): Likewise.
47935         (j1_test): Likewise.
47936         (y0_test): Likewise.
47937         (y1_test): Likewise.
47939 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47941         * po/Makefile (libc.pot): Use UTF-8 charset.
47943 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47945         [BZ #14210]
47946         Suppress sign-conversion warning from FD_SET.
47947         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47948         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47949         not unsigned long int.
47950         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47952 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47954         [BZ #14050]
47955         [BZ #14117]
47956         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47957         __extern_always_inline instead of __extern_inline.
47958         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47959         (__signbit): Likewise.
47960         (__signbitl): Support C++ namespace.
47961         (lrintf): New inline function.
47962         (lrint): Likewise.
47963         (llrintf): Likewise.
47964         (llrint): Likewise.
47965         (fmaxf): Likewise.
47966         (fmax): Likewise.
47967         (fminf): Likewise.
47968         (fmin): Likewise.
47969         (rint): Likewise.
47970         (rintf): Likewise.
47971         (ceil): Likewise.
47972         (ceilf): Likewise.
47973         (floor): Likewise.
47974         (floorf): Likewise.
47975         (nearbyint): Likewise.
47976         (nearbyintf): Likewise.
47978 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47980         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47981         non-default versions.
47983 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47985         [BZ #14218]
47986         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47988 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47990         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47991         (FE_UPWARD, FE_DOWNWARD): Don't define.
47992         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47993         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47995         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47996         reading it.
47997         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47998         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48000 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48002         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48003         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
48004         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
48005         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
48007 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
48009         [BZ #14117]
48010         * sysdeps/i386/fpu/bits/fenv.h: Removed.
48011         * sysdeps/i386/fpu/Implies: New file.
48012         * sysdeps/x86_64/fpu/Implies: Likewise.
48013         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
48014         * sysdeps/x86/fpu/bits/fenv.h: This.
48016         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
48017         __SSE_MATH__.
48019 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48021         [BZ #14134]
48022         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
48023         character 0xffff that matches the last element of the
48024         conversion table.
48026 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48028         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
48029         fmodl commit.
48031 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48033         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
48034         values higher than 25.6283.
48036 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48038         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
48039         subnormal exponent extraction and add some __builtin_expect.
48040         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
48041         Fix for subnormal mantissa calculation.
48043 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
48045         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
48046         cpu2 is -1 and errno is not ENOSYS.
48048 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
48050         [BZ #14117]
48051         * sysdeps/i386/i486/bits/string.h: Renamed to ...
48052         * sysdeps/x86/bits/string.h: This.
48053         * sysdeps/x86_64/bits/string.h: Removed.
48055         * sysdeps/i386/i486/bits/string.h: Define inline functions only
48056         if not compiling for x86-64, but compiling for >= i486.
48058         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
48059         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
48061         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
48062         New macro from Linux kernel 3.4.0.
48063         (FP_XSTATE_MAGIC2): Likewise.
48064         (FP_XSTATE_MAGIC2_SIZE): Likewise.
48065         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
48066         (struct _fpx_sw_bytes): New struct.
48067         (struct _xsave_hdr): Likewise.
48068         (struct _ymmh_state): Likewise.
48069         (struct _xstate): Likewise.
48071         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
48072         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
48073         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
48074         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
48075         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
48076         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
48078         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
48079         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
48080         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
48081         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
48082         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
48083         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
48085 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48087         [BZ #13743]
48088         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
48089         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
48090         (sysdep_headers): Include sys/platform/ppc.h.
48091         * sysdeps/powerpc/test-gettimebase.c: Test for
48092         __ppc_get_timebase() to catch future ISA opcode/insn changes.
48093         * manual/Makefile (appendices): Include platform.texi.
48094         * manual/contrib.texi (Contributors): Update @node pointers.
48095         * manual/maint.texi (Maintenance): Likewise.
48096         (Platform): New node.
48097         * manual/platform.texi: New file.  Document the new features.
48099 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48100             Jakub Jelinek  <jakub@redhat.com>
48102         [BZ #14188]
48103         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
48104         where __builtin_expect is unavailable.
48106 2012-06-03  David S. Miller  <davem@davemloft.net>
48108         * stdlib/longlong.h: Updated from GCC.
48110 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
48112         [BZ #14042]
48113         * sysdeps/powerpc/powerpc32/mcount.c: New file.
48114         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
48115         __mcount_internal.
48116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
48117         (GLIBC_2.16): Likewise.
48119 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48121         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
48123 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
48126         (default-abi): New variable.
48127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
48128         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
48129         variable.
48130         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
48131         Likewise.
48132         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
48133         Likewise.
48134         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
48135         Likewise.
48137         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
48138         definition.  Document in comment.
48140 2012-06-01  David S. Miller  <davem@davemloft.net>
48142         * stdlib/longlong.h: Updated from GCC.
48144 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48146         [BZ #14117]
48147         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
48148         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
48149         sys/debugreg.h sys/io.h here.
48150         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
48151         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
48152         sys/io.h.
48153         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
48154         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
48155         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
48156         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
48157         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
48158         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
48160         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
48161         Define only if __x86_64__ is defined.
48163 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48165         [BZ #14048]
48166         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
48167         Use int64_t for variable i.
48168         * math/libm-test.inc (fmod_test): Add more tests.
48170         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
48171         z computation is not scheduled after fetestexcept.
48172         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
48173         Use math_force_eval instead of asm to ensure calculation scheduled
48174         before exception test.
48175         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
48176         Ensure a1 + u.d computation is not scheduled after fetestexcept.
48178 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
48180         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
48181         computation is not scheduled after fetestexcept.
48183 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48185         [BZ #14117]
48186         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
48187         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
48189 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48191         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
48192         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48194 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48196         [BZ #14117]
48197         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
48198         <bits/wordsize.h>.
48199         (__WCHAR_MIN): Support __WORDSIZE == 64.
48200         (__WCHAR_MAX): Likewise.
48202         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
48203         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
48205         [BZ #14183]
48206         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
48207         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
48209         [BZ #14117]
48210         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
48211         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
48213         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
48214         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
48216         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
48217         Defined to 1 if __x86_64__ isn't defined.
48218         (_STAT_VER_LINUX_OLD): New.
48219         (st_atime): Remove duplicate.
48220         (st_mtime): Likewise.
48221         (st_ctime): Likewise.
48223 2012-05-31  David S. Miller  <davem@davemloft.net>
48225         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
48226         entries.
48228 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
48230         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
48231         gen-libm-test.pl.
48233         [BZ #14132]
48234         * elf/dl-reloc.c: Include <_itoa.h>.
48235         (_dl_reloc_bad_type): Remove use of INTUSE.
48236         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
48237         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
48238         * stdio-common/psiginfo.c (psiginfo): Likewise.
48239         * stdio-common/psignal.c (psignal): Likewise.
48240         * string/strsignal.c (strsignal): Likewise.
48241         * include/signal.h (_sys_siglist): Declare hidden proto.
48242         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
48243         INTVARDEF with libc_hidden_data_def.
48244         * stdio-common/itoa-udigits.c: Likewise.
48245         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
48246         (_itoa_lower_digits_internal): Remove declaration.
48247         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
48248         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
48249         (_sys_sigabbrev_internal): Remove aliases.
48250         (_sys_siglist): Define hidden alias.
48252 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
48254         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48255         bits/sysctl.h.
48257 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48259         [BZ #14117]
48260         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
48261         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
48263         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
48264         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
48265         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
48266         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
48267         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
48268         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
48270         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
48271         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
48272         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
48274         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
48275         with __addr.
48276         (insw): Likewise.
48277         (insl): Likewise.
48278         (outsb): Likewise.
48279         (outsw): Likewise.
48280         (outsl): Likewise.
48282         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
48283         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
48284         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
48286         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
48287         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
48288         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
48289         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
48290         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
48291         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
48293         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
48294         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
48296         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
48297         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
48299         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
48300         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
48301         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
48303         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
48304         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
48305         to ...
48306         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
48308         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
48309         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
48310         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
48312         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
48313         for x86-64.
48314         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
48316 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
48318         * math/math.h (M_El): Use two more decimal places.
48319         (M_LOG2El): Likewise.
48320         (M_LOG10El): Likewise.
48321         (M_LN2l): Likewise.
48322         (M_LN10l): Likewise.
48323         (M_PIl): Likewise.
48324         (M_PI_2l): Likewise.
48325         (M_PI_4l): Likewise.
48326         (M_1_PIl): Likewise.
48327         (M_2_PIl): Likewise.
48328         (M_2_SQRTPIl): Likewise.
48329         (M_SQRT2l): Likewise.
48330         (M_SQRT1_2l): Likewise.
48332 2012-05-31  David S. Miller  <davem@davemloft.net>
48334         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
48335         values between float registers.
48336         * sysdeps/sparc/sparc64/memset.S: Likewise.
48337         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48339 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
48341         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
48342         -D_FORTIFY_SOURCE=1.
48343         (CPPFLAGS-tst-longjmp_chk.c): Define.
48344         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
48345         (CPPFLAGS-tst-longjmp_chk2.c): Define.
48346         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
48347         CFLAGS-tst-wchar-h.c.
48349 2012-05-31  Marek Polacek  <polacek@redhat.com>
48351         [BZ #14132]
48352         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
48353         __endmntent_internal): Remove declaration.
48354         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
48355         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
48356         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
48358 2012-05-30  David S. Miller  <davem@davemloft.net>
48360         * sysdeps/sparc/sparc32/soft-fp/q_util.c
48361         (___Q_simulate_exceptions): Use real FP ops rather than writing
48362         into the %fsr.
48363         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
48364         Likewise.
48366 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48368         [BZ #14117]
48369         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
48370         * sysdeps/x86/bits/xtitypes.h: This.
48372         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
48373         * sysdeps/x86/bits/wordsize.h: This.
48375         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
48376         * sysdeps/x86/bits/huge_vall.h: This.
48378         * sysdeps/i386/bits/select.h: Removed.
48379         * sysdeps/x86_64/bits/select.h: Renamed to ...
48380         * sysdeps/x86/bits/select.h: This.
48382         * sysdeps/i386/bits/setjmp.h: Removed.
48383         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
48384         * sysdeps/x86/bits/setjmp.h: This.
48386         * sysdeps/i386/bits/mathdef.h: Removed.
48387         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
48388         * sysdeps/x86/bits/mathdef.h: This.
48390 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
48392         [BZ #14132]
48393         * include/sys/socket.h (__connect_internal)
48394         (__libc_sa_len_internal): Remove declaration.
48395         (__connect, __libc_sa_len): Declare hidden_proto.
48396         (SA_LEN): Remove use of INTUSE.
48397         * socket/connect.c: Add libc_hidden_def.
48398         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
48399         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
48400         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
48401         alias.
48402         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48403         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
48404         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
48405         of adding _internal alias.
48407 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48409         [BZ #14117]
48410         * sysdeps/i386/bits/link.h: Removed.
48411         * sysdeps/i386/bits/linkmap.h: Likewise.
48412         * sysdeps/x86_64/bits/link.h: Renamed to ...
48413         * sysdeps/x86/bits/link.h: This.
48414         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
48415         * sysdeps/x86/bits/linkmap.h: This.
48417         * sysdeps/i386/bits/endian.h: Removed.
48418         * sysdeps/x86_64/bits/endian.h: Renamed to ...
48419         * sysdeps/x86/bits/endian.h: This.
48421         * sysdeps/i386/bits/byteswap.h: Removed.
48422         * sysdeps/i386/bits/byteswap-16.h: Likewise.
48423         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
48424         * sysdeps/x86/bits/byteswap.h: This.
48425         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
48426         * sysdeps/x86/bits/byteswap-16.h: This.
48427         * sysdeps/i386/Implies: Add x86.
48428         * sysdeps/x86_64/Implies: Likewise.
48430 2012-05-30  David S. Miller  <davem@davemloft.net>
48432         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
48433         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
48434         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48435         (FP_TRAPPING_EXCEPTIONS): Define.
48436         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48437         (FP_TRAPPING_EXCEPTIONS): Define.
48438         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
48439         subnormals only when inexact has been signalled or underflow
48440         exceptions are enabled.
48441         (_FP_PACK_CANONICAL): Likewise.
48443 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48445         [BZ #14183]
48446         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
48447         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
48449 2012-05-30  Richard Henderson  <rth@twiddle.net>
48451         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
48452         with #ifndef NOT_IN_libc.
48454         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
48455         marked to avoid plt entry.
48457 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48459         [BZ #14112]
48460         * Makeconfig (default-abi): New macro.
48461         (abi-includes): Likewise.
48462         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
48463         $(abi-$(default-abi)-lib-soname) for soname if defined.
48464         ($(common-objpfx)gnu/lib-names.stmp): Generate from
48465         abi-variants.
48466         * Makefile (installed-stubs): Likewise.
48467         * include/stubs-biarch.h: Removed.
48468         * scripts/lib-names.awk: Only handle one library at a time.
48469         * scripts/soversions.awk: Remove WORDSIZE support.
48470         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
48471         entries.
48472         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
48473         Removed.
48474         (syscall-list-default-condition): Likewise.
48475         (syscall-list-default-condition): Likewise.
48476         (syscall-list-includes): Likewise.
48477         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
48478         syscall-list-* with abi-*.  Handle undefined abi-variants.
48479         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
48480         * sysdeps/unix/sysv/linux/i386/Implies: New file.
48481         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
48482         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
48483         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
48484         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
48485         Removed.
48486         (syscall-list-32-options): Likewise.
48487         (syscall-list-32-condition): Likewise.
48488         (syscall-list-64-options): Likewise.
48489         (syscall-list-64-condition): Likewise.
48490         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
48491         macro.
48492         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
48493         Renamed to ...
48494         (abi-*): This.
48495         (abi-64-ld-soname): New macro.
48496         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
48497         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
48498         Renamed to ...
48499         (abi-*): This.
48500         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
48501         * sysdeps/x86_64/x32/shlib-versions: Likewise.
48503 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
48505         * sysdeps/unix/sysv/linux/kernel-features.h
48506         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
48507         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
48508         include <kernel-features.h>.
48509         [!__NR_ftruncate64]: Remove conditional code.
48510         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48511         [__NR_ftruncate64]: Make code unconditional.
48512         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48513         * sysdeps/unix/sysv/linux/truncate64.c: Do not
48514         include <kernel-features.h>.
48515         [!__NR_ftruncate64]: Remove conditional code.
48516         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48517         [__NR_ftruncate64]: Make code unconditional.
48518         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
48520         include <kernel-features.h>.
48521         [!__NR_ftruncate64]: Remove conditional code.
48522         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48523         [__NR_ftruncate64]: Make code unconditional.
48524         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48526         include <kernel-features.h>.
48527         [!__NR_ftruncate64]: Remove conditional code.
48528         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48529         [__NR_ftruncate64]: Make code unconditional.
48530         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48532         * configure.in (libc_cv_fpie): Weaken to a compile test using
48533         LIBC_TRY_CC_OPTION.
48534         * configure: Regenerated.
48536 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
48539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
48540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
48541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48542         Refreshed.
48543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
48544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
48545         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
48546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
48547         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
48548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48549         Refreshed.
48551 2012-05-27  David S. Miller  <davem@davemloft.net>
48553         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
48554         (___Q_zero): New.
48555         (__Q_simulate_exceptions): Return void.  Change to simulate
48556         exceptions by writing into the %fsr.
48557         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
48558         (__Qp_handle_exceptions): Likewise.
48559         (numbers): Delete.
48560         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
48561         __Qp_handle_exceptions.
48562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
48563         __Qp_handle_exceptions.
48564         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48565         as unused and give dummy FP_RND_NEAREST initializer.
48566         (FP_INHIBIT_RESULTS): Define.
48567         (___Q_simulate_exceptions): Update declaration.
48568         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
48569         formatting.
48570         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48571         as unused and give dummy FP_RND_NEAREST initializer.
48572         (__Qp_handle_exceptions): Update declaration.
48573         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
48574         formatting.
48576 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
48578         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
48579         the temporary FPU control word.
48580         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48581         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
48582         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
48583         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48584         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48585         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
48586         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
48587         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48588         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
48589         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
48590         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48592 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48594         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
48595         fields.
48597 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
48599         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
48600         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48601         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48602         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48603         Likewise.
48604         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48605         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48606         Likewise.
48608 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
48610         * po/h.po: Update from translation team.
48612 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
48614         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48616         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48617         handling of denormals.
48618         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48619         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48620         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48621         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48622         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48623         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48624         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48625         Likewise.
48627 2012-05-26  Marek Polacek  <polacek@redhat.com>
48629         [BZ #14152]
48630         * math/libm-test.inc (fma_test): Don't always expect underflow
48631         exception.
48633 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48635         [BZ #12416]
48636         * elf/tst-execstack.c: Include stackinfo.h.
48637         (do_test): Adjust test case to ensure that pthread_getattr_np
48638         behaviour remains the same after marking stack executable.
48640 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48642         * sysdeps/unix/sysv/linux/kernel-features.h
48643         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48644         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48645         kernel-features.h.
48646         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48647         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48648         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48649         kernel-features.h.
48650         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48651         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48653 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48655         * configure.in: Define the default includes to being none.
48656         * configure: Regenerated.
48658 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48660         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48661         * sysdeps/x86_64/setjmp.S: Likewise.
48662         * sysdeps/i386/bsd-setjmp.S: Likewise.
48663         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48664         * sysdeps/i386/setjmp.S: Likewise.
48665         * sysdeps/i386/__longjmp.S: Likewise.
48666         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48667         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48669         * include/stap-probe.h: New file.
48670         * configure.in: Handle --enable-systemtap.
48671         * configure: Regenerated.
48672         * config.h.in (USE_STAP_PROBE): New #undef.
48673         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48674         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48675         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48677 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48679         [BZ #13717]
48680         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48681         to 2.4.0 where earlier.
48682         * sysdeps/unix/sysv/linux/configure: Regenerated.
48683         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48684         <kernel-features.h>.
48685         [__ASSUME_32BITUIDS]: Make code unconditional.
48686         [!__ASSUME_32BITUIDS]: Remove conditional code.
48687         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
48688         <kernel-features.h>.
48689         [__ASSUME_32BITUIDS]: Make code unconditional.
48690         [!__ASSUME_32BITUIDS]: Remove conditional code.
48691         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48692         [__ASSUME_32BITUIDS]: Make code unconditional.
48693         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48694         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
48695         <kernel-features.h>.
48696         [__ASSUME_32BITUIDS]: Make code unconditional.
48697         [!__ASSUME_32BITUIDS]: Remove conditional code.
48698         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
48699         <kernel-features.h>.
48700         [__ASSUME_32BITUIDS]: Make code unconditional.
48701         [!__ASSUME_32BITUIDS]: Remove conditional code.
48702         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
48703         <kernel-features.h>.
48704         [__ASSUME_32BITUIDS]: Make code unconditional.
48705         [!__ASSUME_32BITUIDS]: Remove conditional code.
48706         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
48707         <kernel-features.h>.
48708         [__ASSUME_32BITUIDS]: Make code unconditional.
48709         [!__ASSUME_32BITUIDS]: Remove conditional code.
48710         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48711         <kernel-features.h>.
48712         [__ASSUME_32BITUIDS]: Make code unconditional.
48713         [!__ASSUME_32BITUIDS]: Remove conditional code.
48714         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48715         <kernel-features.h>.
48716         [__ASSUME_32BITUIDS]: Make code unconditional.
48717         [!__ASSUME_32BITUIDS]: Remove conditional code.
48718         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48719         <kernel-features.h>.
48720         [__ASSUME_32BITUIDS]: Make code unconditional.
48721         [!__ASSUME_32BITUIDS]: Remove conditional code.
48722         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48723         <kernel-features.h>.
48724         [__ASSUME_32BITUIDS]: Make code unconditional.
48725         [!__ASSUME_32BITUIDS]: Remove conditional code.
48726         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48727         <kernel-features.h>.
48728         [__ASSUME_32BITUIDS]: Make code unconditional.
48729         [!__ASSUME_32BITUIDS]: Remove conditional code.
48730         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
48731         <kernel-features.h>.
48732         [__ASSUME_32BITUIDS]: Make code unconditional.
48733         [!__ASSUME_32BITUIDS]: Remove conditional code.
48734         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
48735         <kernel-features.h>.
48736         [__NR_setresgid] (__setresgid): Do not declare.
48737         [__ASSUME_32BITUIDS]: Make code unconditional.
48738         [!__ASSUME_32BITUIDS]: Remove conditional code.
48739         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48740         <kernel-features.h>.
48741         [__NR_setresuid] (__setresuid): Do not declare.
48742         [__ASSUME_32BITUIDS]: Make code unconditional.
48743         [!__ASSUME_32BITUIDS]: Remove conditional code.
48744         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48745         <kernel-features.h>.
48746         [__ASSUME_32BITUIDS]: Make code unconditional.
48747         [!__ASSUME_32BITUIDS]: Remove conditional code.
48748         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
48749         <kernel-features.h>.
48750         [__ASSUME_32BITUIDS]: Make code unconditional.
48751         [!__ASSUME_32BITUIDS]: Remove conditional code.
48752         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
48753         <kernel-features.h>.
48754         [__ASSUME_32BITUIDS]: Make code unconditional.
48755         [!__ASSUME_32BITUIDS]: Remove conditional code.
48756         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
48757         <kernel-features.h>.
48758         [__ASSUME_32BITUIDS]: Make code unconditional.
48759         [!__ASSUME_32BITUIDS]: Remove conditional code.
48760         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
48761         <kernel-features.h>.
48762         [__ASSUME_32BITUIDS]: Make code unconditional.
48763         [!__ASSUME_32BITUIDS]: Remove conditional code.
48764         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
48765         <kernel-features.h>.
48766         [__ASSUME_32BITUIDS]: Make code unconditional.
48767         [!__ASSUME_32BITUIDS]: Remove conditional code.
48768         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48769         <kernel-features.h>.
48770         [__ASSUME_32BITUIDS]: Make code unconditional.
48771         [!__ASSUME_32BITUIDS]: Remove conditional code.
48772         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
48773         <kernel-features.h>.
48774         [__ASSUME_32BITUIDS]: Make code unconditional.
48775         [!__ASSUME_32BITUIDS]: Remove conditional code.
48776         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
48777         <kernel-features.h>.
48778         [__ASSUME_32BITUIDS]: Make code unconditional.
48779         [!__ASSUME_32BITUIDS]: Remove conditional code.
48780         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48781         <kernel-features.h>.
48782         [__ASSUME_32BITUIDS]: Make code unconditional.
48783         [!__ASSUME_32BITUIDS]: Remove conditional code.
48784         * sysdeps/unix/sysv/linux/kernel-features.h
48785         (__ASSUME_SETRESUID_SYSCALL): Remove.
48786         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48787         (__ASSUME_32BITUIDS): Likewise.
48788         (__ASSUME_LDT_WORKS): Likewise.
48789         (__ASSUME_O_DIRECTORY): Likewise.
48790         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48791         architecture but not kernel version.
48792         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48793         (__ASSUME_MMAP2_SYSCALL): Likewise.
48794         (__ASSUME_STAT64_SYSCALL): Likewise.
48795         (__ASSUME_IPC64): Likewise.
48796         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48797         <kernel-features.h>.
48798         [__ASSUME_32BITUIDS]: Make code unconditional.
48799         [!__ASSUME_32BITUIDS]: Remove conditional code.
48800         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48801         <kernel-features.h>.
48802         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48803         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48804         132096]: Remove conditional code.
48805         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48806         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48807         <kernel-features.h>.
48808         [__ASSUME_32BITUIDS]: Make code unconditional.
48809         [!__ASSUME_32BITUIDS]: Remove conditional code.
48810         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48811         <kernel-features.h>.
48812         [__ASSUME_32BITUIDS]: Make code unconditional.
48813         [!__ASSUME_32BITUIDS]: Remove conditional code.
48814         * sysdeps/unix/sysv/linux/setegid.c: Do not include
48815         <kernel-features.h>.
48816         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48817         unconditional.
48818         (__setresgid): Do not declare.
48819         [__ASSUME_32BITUIDS]: Make code unconditional.
48820         [!__ASSUME_32BITUIDS]: Remove conditional code.
48821         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48822         <kernel-features.h>.
48823         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48824         unconditional.
48825         (__setresuid): Do not declare.
48826         [__ASSUME_32BITUIDS]: Make code unconditional.
48827         [!__ASSUME_32BITUIDS]: Remove conditional code.
48828         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48829         <kernel-features.h>.
48830         [__ASSUME_32BITUIDS]: Make code unconditional.
48831         [!__ASSUME_32BITUIDS]: Remove conditional code.
48832         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48833         <kernel-features.h>.
48834         [__ASSUME_32BITUIDS]: Make code unconditional.
48835         [!__ASSUME_32BITUIDS]: Remove conditional code.
48837 2012-05-25  Richard Henderson  <rth@twiddle.net>
48839         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48840         dl_hwcap to ifunc resolver.
48841         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48842         elf_ifunc_invoke.
48843         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48844         dl_hwcap to ifunc resolver.
48845         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48847 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48849         [BZ #14153]
48850         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48851         for |x| <= 2**-26, not 2**-57.
48852         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48853         exception.
48855 2012-05-24  Jeff Law  <law@redhat.com>
48857         * stdio-common/Makefile (tests): Add bug25.
48858         * stdio-common/bug25.c: New test.
48860 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48862         [BZ #13576]
48863         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48864         multiple of MALLOC_ALIGNMENT in size.
48865         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48867 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48869         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48870         Require >= 256.
48871         (FILENAME_MAX): Use macro-int-constant.
48872         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48873         (_IOFBF): Use macro-int-constant.
48874         (_IOLBF): Likewise.
48875         (_IONBF): Likewise.
48876         (SEEK_CUR): Likewise.
48877         (SEEK_END): Likewise.
48878         (SEEK_SET): Likewise.
48879         (TMP_MAX): Likewise.
48880         (EOF): Use macro-int-constant.  Require < 0.
48881         (NULL): Use macro-constant.  Require == 0.
48882         (stdin): Require type to be FILE *.
48883         (stdout): Likewise.
48884         (stderr): Likewise.
48885         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48886         macro-int-constant.
48887         (EXIT_SUCCESS): Likewise.
48888         (NULL): Use macro-constant.  Require == 0.
48889         (RAND_MAX): Use macro-int-constant.
48890         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48891         [C99-based standards] (strtof): Require function.
48892         [C99-based standards] (strtold): Likewise.
48893         [C99-based standards] (strtoll): Likewise.
48894         [C99-based standards] (strtoull): Likewise.
48895         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48896         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48897         [ISO || ISO99 || ISO11] (math.h): Likewise.
48898         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48899         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48900         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48902 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48904         [BZ #14132]
48905         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48906         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48907         * intl/dgettext.c (DCGETTEXT): Likewise.
48908         * intl/gettext.c (DCGETTEXT): Likewise.
48909         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48910         * posix/regex_internal.h (gettext): Likewise.
48911         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48912         Remove declaration.
48913         * include/argz.h (__argz_count_internal)
48914         (__argz_stringify_internal): Remove declaration.
48915         (__argz_count, __argz_stringify): Declare hidden proto.
48916         * intl/dcgettext.c: Remove use of INTDEF.
48917         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48918         * string/argz-stringify.c: Likewise.
48919         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48920         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48921         Declare hidden proto.
48922         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48923         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48924         Declare hidden proto.
48925         * include/stdio.h (__asprintf_internal): Don't declare.
48926         (__asprintf): Don't define as macro.  Declare hidden proto.
48927         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48928         (__fsetlocking): Declare hidden proto.
48929         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48930         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48931         hidden proto.
48932         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48933         (_IO_setlinebuf): Remove use of INTUSE.
48934         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48935         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48936         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48937         Remove declaration.
48938         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48939         (_IO_do_flush): Remove use of INTUSE.
48940         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48941         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48942         (_IO_adjust_column, _IO_least_wmarker)
48943         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48944         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48945         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48946         (_IO_default_doallocate, _IO_wdefault_doallocate)
48947         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48948         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48949         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48950         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48951         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48952         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48953         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48954         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48955         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48956         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48957         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48958         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48959         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48960         proto.
48961         (_IO_flush_all_internal, _IO_adjust_column_internal)
48962         (_IO_default_uflow_internal, _IO_default_finish_internal)
48963         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48964         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48965         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48966         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48967         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48968         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48969         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48970         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48971         (_IO_file_close_internal, _IO_file_close_it_internal)
48972         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48973         (_IO_file_init_internal, _IO_file_attach_internal)
48974         (_IO_file_fopen_internal, _IO_file_read_internal)
48975         (_IO_file_sync_internal, _IO_file_seek_internal)
48976         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48977         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48978         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48979         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48980         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48981         (_IO_list_all_internal, _IO_link_in_internal)
48982         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48983         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48984         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48985         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48986         (_IO_do_write_internal, _IO_padn_internal)
48987         (_IO_getline_info_internal, _IO_getline_internal)
48988         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48989         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48990         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48991         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48992         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48993         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48994         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48995         with libc_hidden_ver, remove use of INTUSE.
48996         * libio/genops.c: Likewise.
48997         * libio/freopen.c: Likewise.
48998         * libio/freopen64.c: Likewise.
48999         * libio/iofclose.c: Likewise.
49000         * libio/iofdopen.c: Likewise.
49001         * libio/iofflush.c: Likewise.
49002         * libio/iofflush_u.c: Likewise.
49003         * libio/iofgets.c: Likewise.
49004         * libio/iofgets_u.c: Likewise.
49005         * libio/iofopen.c: Likewise.
49006         * libio/iofopncook.c: Likewise.
49007         * libio/iofread.c: Likewise.
49008         * libio/iofread_u.c: Likewise.
49009         * libio/ioftell.c: Likewise.
49010         * libio/iofwrite.c: Likewise.
49011         * libio/iogetline.c: Likewise.
49012         * libio/iogets.c: Likewise.
49013         * libio/iogetwline.c: Likewise.
49014         * libio/iopadn.c: Likewise.
49015         * libio/iopopen.c: Likewise.
49016         * libio/ioseekoff.c: Likewise.
49017         * libio/ioseekpos.c: Likewise.
49018         * libio/iosetbuffer.c: Likewise.
49019         * libio/iosetvbuf.c: Likewise.
49020         * libio/ioungetc.c: Likewise.
49021         * libio/ioungetwc.c: Likewise.
49022         * libio/iovdprintf.c: Likewise.
49023         * libio/iovsprintf.c: Likewise.
49024         * libio/iovsscanf.c: Likewise.
49025         * libio/memstream.c: Likewise.
49026         * libio/obprintf.c: Likewise.
49027         * libio/oldfileops.c: Likewise.
49028         * libio/oldiofclose.c: Likewise.
49029         * libio/oldiofdopen.c: Likewise.
49030         * libio/oldiofopen.c: Likewise.
49031         * libio/oldiopopen.c: Likewise.
49032         * libio/oldstdfiles.c: Likewise.
49033         * libio/putc.c: Likewise.
49034         * libio/setbuf.c: Likewise.
49035         * libio/setlinebuf.c: Likewise.
49036         * libio/stdfiles.c: Likewise.
49037         * libio/strops.c: Likewise.
49038         * libio/vasprintf.c: Likewise.
49039         * libio/vscanf.c: Likewise.
49040         * libio/vsnprintf.c: Likewise.
49041         * libio/vswprintf.c: Likewise.
49042         * libio/wfiledoalloc.c: Likewise.
49043         * libio/wfileops.c: Likewise.
49044         * libio/wgenops.c: Likewise.
49045         * libio/wmemstream.c: Likewise.
49046         * libio/wstrops.c: Likewise.
49047         * libio/__fpurge.c: Likewise.
49048         * libio/__fsetlocking.c: Likewise.
49049         * assert/assert.c: Likewise.
49050         * debug/fgets_chk.c: Likewise.
49051         * debug/fgets_u_chk.c: Likewise.
49052         * debug/fread_chk.c: Likewise.
49053         * debug/fread_u_chk.c: Likewise.
49054         * debug/gets_chk.c: Likewise.
49055         * debug/obprintf_chk.c: Likewise.
49056         * debug/vasprintf_chk.c: Likewise.
49057         * debug/vdprintf_chk.c: Likewise.
49058         * debug/vsnprintf_chk.c: Likewise.
49059         * debug/vsprintf_chk.c: Likewise.
49060         * malloc/mtrace.c: Likewise.
49061         * misc/error.c: Likewise.
49062         * misc/syslog.c: Likewise.
49063         * stdio-common/asprintf.c: Likewise.
49064         * stdio-common/fxprintf.c: Likewise.
49065         * stdio-common/getw.c: Likewise.
49066         * stdio-common/isoc99_fscanf.c: Likewise.
49067         * stdio-common/isoc99_scanf.c: Likewise.
49068         * stdio-common/isoc99_vfscanf.c: Likewise.
49069         * stdio-common/isoc99_vscanf.c: Likewise.
49070         * stdio-common/isoc99_vsscanf.c: Likewise.
49071         * stdio-common/printf-prs.c: Likewise.
49072         * stdio-common/printf_fp.c: Likewise.
49073         * stdio-common/printf_fphex.c: Likewise.
49074         * stdio-common/printf_size.c: Likewise.
49075         * stdio-common/putw.c: Likewise.
49076         * stdio-common/scanf.c: Likewise.
49077         * stdio-common/sprintf.c: Likewise.
49078         * stdio-common/tmpfile.c: Likewise.
49079         * stdio-common/vfprintf.c: Likewise.
49080         * stdio-common/vfscanf.c: Likewise.
49081         * stdlib/strfmon_l.c: Likewise.
49082         * sunrpc/openchild.c: Likewise.
49083         * sunrpc/xdr_stdio.c: Likewise.
49084         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
49085         * sysdeps/mach/hurd/tmpfile.c: Likewise.
49087 2012-05-24  Roland McGrath  <roland@hack.frob.com>
49089         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49091         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
49092         in the third column, to generate for the shared library an IFUNC
49093         that uses _dl_vdso_vsym.
49094         * Makerules (COMPILE.c, compile-stdin.c): New variables.
49095         * Makeconfig (object-suffixes-noshared): New variable.
49097         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
49098         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
49099         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
49100         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
49102         [BZ #14132]
49103         * include/sys/time.h (__gettimeofday): Remove macro.
49104         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
49105         * time/gettimeofday.c (__gettimeofday): Remove #undef.
49106         Remove INTDEF.
49107         (__gettimeofday): Add libc_hidden_def.
49108         (gettimeofday): Add libc_hidden_weak.
49109         * sysdeps/mach/gettimeofday.c: Likewise.
49110         * sysdeps/posix/gettimeofday.c: Likewise.
49111         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
49112         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
49113         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
49114         (__gettimeofday_internal): Remove strong_alias.
49115         (__gettimeofday): Add libc_hidden_def.
49116         (gettimeofday): Add libc_hidden_weak.
49117         * sysdeps/unix/syscalls.list (gettimeofday):
49118         Remove __gettimeofday_internal alias.
49120 2012-05-24  Daniel Jacobowitz  <drow@false.org>
49121             H.J. Lu  <hongjiu.lu@intel.com>
49123         [BZ #12495]
49124         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
49125         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
49126         (largebin_index_32_big): New.
49127         (largebin_index): Use it for 16-byte alignment.
49128         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
49129         correction with front_misalign.
49131 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
49133         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
49134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49135         Likewise.
49136         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
49137         Likewise.
49138         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49139         Likewise.
49140         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
49141         Likewise.
49142         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
49143         Likewise.
49144         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
49145         Likewise.
49146         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
49147         Likewise.
49148         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49149         Likewise.
49150         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
49151         Likewise.
49152         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
49153         Likewise.
49154         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49155         Likewise.
49156         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
49157         Likewise.
49159         * scripts/data/c++-types-x32-linux-gnu.data: New file.
49160         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
49162 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
49164         [BZ #10846]
49165         [BZ #14036]
49166         * math/libm-test.inc (exp_test): Add test from bug 14036.
49167         (pow_test): Add test from bug 10846.
49169         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
49170         and other flags.
49171         (special_function): Do not include flags in test name.
49172         (parse_args): Likewise.
49173         * sysdeps/i386/fpu/libm-test-ulps: Update.
49174         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49175         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49176         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49179         * math/gen-libm-test.pl (%beautify): Add entries for underflow
49180         exceptions.
49181         * math/libm-test.inc ("Philosophy"): Update comment about
49182         exception testing.
49183         (UNDERFLOW_EXCEPTION): New macro.
49184         (UNDERFLOW_EXCEPTION_OK): Likewise.
49185         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
49186         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
49187         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
49188         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
49189         (INVALID_EXCEPTION_OK): Update value.
49190         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49191         (OVERFLOW_EXCEPTION_OK): Likewise.
49192         (IGNORE_ZERO_INF_SIGN): Likewise.
49193         (test_exceptions): Handle underflow exceptions.
49194         (acos_test): Update for underflow exception expectations.
49195         (cexp_test): Likewise.
49196         (clog_test): Likewise.
49197         (clog10_test): Likewise.
49198         (csqrt_test): Likewise.
49199         (ctan_test): Likewise.
49200         (ctanh_test): Likewise.
49201         (exp_test): Likewise.
49202         (exp10_test): Likewise.
49203         (exp2_test): Likewise.
49204         (expm1_test): Likewise.
49205         (fma_test): Likewise.
49206         (j0_test): Likewise.
49207         (jn_test): Likewise.
49208         (nexttoward_test): Likewise.
49209         (pow_test): Likewise.
49210         (scalbn_test): Likewise.
49211         (scalbln_test): Likewise.
49212         (tan_test): Likewise.
49213         (y1_test): Likewise.
49214         * sysdeps/i386/fpu/libm-test-ulps: Update.
49215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49217 2012-05-23  David S. Miller  <davem@davemloft.net>
49219         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49220         (__libc_sigaction): Remove unused local variables.
49222 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49224         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
49226 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
49228         mktime: avoid signed integer overflow
49229         * time/mktime.c (__mktime_internal): Do not mishandle the case
49230         where diff == INT_MIN.
49232         mktime: simplify computation of average
49233         * time/mktime.c (ranged_convert): Use new time_t_avg function
49234         instead of rolling our own (probably-slower) code.
49236         mktime: do not assume signed right shift propagates sign bit
49237         * time/mktime.c (isdst_differ): New static function.
49238         (__mktime_internal): No need to normalize tm_isdst now.
49239         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
49240         tm_isdst values.
49242         mktime: merge another wrapv change from gnulib
49243         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
49244         from some compilers.
49246         mktime: remove incorrect attempt at unusual arithmetics
49247         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
49248         The code didn't really work on such machines anyway.
49249         (TYPE_MINIMUM): Assume two's complement.
49250         (twos_complement_arithmetic): Verify that long_int and time_t
49251         are two's complement (or unsigned, in the latter case).
49253         mktime: check signed shifts on long_int and time_t, too
49254         * time/mktime.c (SHR): Check that shifts work as desired
49255         on the types long_int and time_t too, as SHR is used on
49256         such types.
49258         mktime: do not assume 'long' is wide enough
49259         * time/mktime.c (verify): Move decl up.
49260         (long_int): New type.
49261         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
49262         to remove assumption in the code that 'long' is wide enough to
49263         store year values.  This assumption is not true on x32 and on
49264         some non-glibc platforms.
49266         mktime: merge wrapv change from gnulib
49267         * time/mktime.c (WRAPV): New macro.
49268         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
49269         (guess_time_tm, __mktime_internal): Do not assume that signed
49270         integer overflow wraps around; modern compilers generate code
49271         where this assumption is no longer valid.
49273 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49275         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49276         Replace "jmp L(pseudo_end)" with "ret".
49277         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
49278         Likewise.
49280 2012-05-23  Andreas Jaeger  <aj@suse.de>
49282         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
49283         * sysdeps/unix/sysv/linux/poll.c: Remove file.
49285 2012-05-23  Andreas Jaeger  <aj@suse.de>
49286             Maximilian Attems  <max@stro.at>
49288         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
49289         New macros.
49291 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49293         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
49294         code so that pseudo_end is just ret and the stack pointer is
49295         correct also for static library in error case.
49297 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
49299         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
49300         move to syscalls.list.
49301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
49302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
49303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
49304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
49306         * manual/install.texi (Running make install): Do not mention Linux
49307         kernel version for which pt_chown is not needed.
49308         (Linux): Do not mention problems with nscd with 2.0 kernels.
49309         * INSTALL: Regenerated.
49311 2012-05-23  Andreas Jaeger  <aj@suse.de>
49313         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
49314         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
49315         macro.
49316         * sysdeps/unix/sysv/linux/s390/bits/mman.h
49317         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49318         * sysdeps/unix/sysv/linux/sh/bits/mman.h
49319         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49320         * sysdeps/unix/sysv/linux/i386/bits/mman.h
49321         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49322         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
49323         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49324         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
49325         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49326         * sysdeps/unix/sysv/linux/bits/in.h
49327         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
49329 2012-05-22  Roland McGrath  <roland@hack.frob.com>
49331         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
49332         (PREPARE_VERSION): Just use assert instead, it will be elided
49333         under [NDEBUG] anyway.
49335 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49337         * sysdeps/unix/sysv/linux/Makefile: Include
49338         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
49339         (sysdep_routines): Remove sysctl.
49340         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
49341         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
49342         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
49343         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
49344         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
49346 2012-05-22  Andreas Jaeger  <aj@suse.de>
49348         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
49349         that pseudo_end is just ret and the stack pointer is correct also
49350         for static library in error case.
49352 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
49354         [BZ #14122]
49355         * nss/nsswitch.c (defconfig_entries): New variable.
49356         (__nss_database_lookup): Don't leak defconfig entries.
49357         (nss_parse_service_list): Don't leak on error paths.
49358         (free_database_entries): New function.
49359         (free_defconfig): New function.
49360         (free_mem): Move common code to free_database_entries.
49362 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49364         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
49365         Add arch_prctl.
49366         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
49368         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49369         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
49370         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
49371         New macro.
49372         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
49373         (INTERNAL_SYSCALL_TYPES): Likewise.
49374         (LOAD_ARGS_TYPES_[1-6]): Likewise.
49375         (LOAD_REGS_TYPES_[1-6]): Likewise.
49376         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
49377         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
49379 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49381         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
49382         copysignl for GLIBC_2_0.
49383         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
49384         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
49385         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
49386         logbl for GLIBC_2_0.
49387         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
49388         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
49390 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49392         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
49393         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49395         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49396         Use "neg %eax".
49398         * time/mktime.c: Update copyright years.
49400 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
49402         mktime: merge comment-quoting-style change from gnulib
49403         * time/mktime.c: Quote 'like this' in comments.
49404         The GNU coding standards suggest that we no longer quote `like this',
49405         as "`" and "'" are typically rendered asymmetrically nowadays.
49406         The typical gnulib style is to quote 'like this' when quoting
49407         code, and "like this" when quoting English.
49409         * time/mktime.c (compile-command): Add "-I.".
49411         mktime: merge mktime-internal.h change from gnulib
49412         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
49414         mktime: merge time_r change from gnulib
49415         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
49417         mktime: merge DEBUG change from gnulib
49418         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
49419         case system <time.h> has a #define.
49421         mktime: merge <sys/types.h> change from gnulib
49422         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
49423         since <time.t> is now guaranteed to define time_t.
49425         mktime: merge HAVE_CONFIG_H change from gnulib
49426         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
49428 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49430         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49431         Use "neg %eax".
49433         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
49434         __rlim_t cast.
49435         (struct rusage): Use anonymous union to pad each field to
49436         __syscall_slong_t.
49438 2012-05-21  David S. Miller  <davem@davemloft.net>
49440         * Makefules (o-iterator): Remove .s cases.
49441         (compile-command.s): Delete.
49442         (COMPILE.s): Delete.
49443         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
49445 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
49447         * configure.in (libc_cv_predef_stack_protector): Only consider
49448         "foobar" and "__stack_chk_fail" lines in libc_undefs.
49449         * configure: Regenerated.
49451 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49453         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49454         New macro.  Use R*LP on int and pointer.
49455         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
49456         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
49457         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
49458         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
49460         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
49461         [__WORDSIZE_TIME64_COMPAT32] instead of
49462         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
49463         (struct utmp): Likewise.
49464         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
49465         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
49466         Renamed to ...
49467         (__WORDSIZE_TIME64_COMPAT32): This.
49468         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
49469         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
49470         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
49471         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
49472         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
49473         (__WORDSIZE_TIME64_COMPAT32): New macro.
49475 2012-05-21  Andreas Jaeger  <aj@suse.de>
49477         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
49478         only if [SHARED]. Add prototype for __wcschr_ia32.
49480 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49482         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
49483         of %rbp unmolested in the jmp_buf while mangling the low bits.
49484         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
49485         unmolested high bits of %rbp while demangling the low bits.
49486         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49488 2012-05-21  Andreas Jaeger  <aj@suse.de>
49490         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
49491         * sunrpc/svc_simple.c: Use it for registerrpc.
49492         * sunrpc/xcrypt.c: Use it for passwd2des.
49494         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
49496 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49498         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
49499         Don't define if [__SYSCALL_WORDSIZE != 32].
49500         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
49501         New macro.
49503 2012-05-21  Bruno Haible  <bruno@clisp.org>
49504             Andreas Jaeger  <aj@suse.de>
49506         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
49507         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
49508         inptr and inend for must_buffer_ch.
49509         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
49510         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
49511         * stdio-common/Makefile (tests): Remove bug15.
49512         (bug15-ENV): Remove macro.
49513         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
49514         anymore.
49516 2012-05-19  Andreas Jaeger  <aj@suse.de>
49517             Roland McGrath  <roland@hack.frob.com>
49519         * manual/contrib.texi: Completely rewritten. It contains now an
49520         alphabetical list of contributors and their contributions.
49522 2012-05-21  Richard Henderson  <rth@twiddle.net>
49524         * misc/getauxval.c (__getauxval): Use unsigned long int.
49525         * misc/sys/auxv.h: Include <sys/cdefs.h>.
49526         (getauxval): Use unsigned long int.
49528 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49530         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49532 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49534         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
49535         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
49536         __alignof__ (long double).
49538 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49542 2012-05-20  Richard Henderson  <rth@twiddle.net>
49544         * misc/getauxval.c: New file.
49545         * misc/sys/auxv.h: New file.
49546         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
49547         (routines): Add getauxval.
49548         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
49549         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
49550         * elf/dl-sysdep.c (_dl_auxv): Remove.
49551         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
49552         * elf/dl-support.c (_dl_auxv): New variable.
49553         (_dl_aux_init): Initialize it.
49554         * manual/startup.texi (Auxiliary Vector): New node.
49555         * sysdeps/generic/bits/hwcap.h: New file.
49556         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
49557         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
49558         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
49559         * sysdeps/sparc/sysdep.h: ... here.  Include it.
49560         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
49561         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
49562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49563         Update.
49564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
49565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
49566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
49567         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
49568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49569         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
49571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
49573 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49577 2012-05-19  David S. Miller  <davem@davemloft.net>
49579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49581 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49583         [BZ #14123]
49584         * math/s_ccosh.c: Include <float.h>
49585         (__ccosh): Avoid internal overflow calculating sinh and cosh
49586         values before multiplying by sin and cos values.
49587         * math/s_ccoshf.c: Likewise.
49588         * math/s_ccoshl.c: Likewise.
49589         * math/s_csin.c: Likewise.
49590         * math/s_csinf.c: Likewise.
49591         * math/s_csinl.c: Likewise.
49592         * math/s_csinh.c: Likewise.
49593         * math/s_csinhf.c: Likewise.
49594         * math/s_csinhl.c: Likewise.
49595         * math/libm-test.inc (ccos_test): Add more tests.
49596         (ccosh_test): Likewise.
49597         (csin_test): Likewise.
49598         (csinh_test): Likewise.
49599         * sysdeps/i386/fpu/libm-test-ulps: Update.
49600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49602 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
49604         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49605         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49607         * sysdeps/x86_64/x32/_itoa.h: Add comment.
49609 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49611         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49612         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49613         * sysdeps/powerpc/soft-fp/Versions: Likewise.
49614         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49615         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49616         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49617         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49618         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49619         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49620         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49621         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49622         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49623         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49624         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49625         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49626         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49627         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49628         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49629         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49630         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49631         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49632         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49633         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49634         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49635         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49636         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49637         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49638         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49639         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49640         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49641         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49643 2012-05-18  Andreas Jaeger  <aj@suse.de>
49645         * csu/.gitignore: Delete.
49647 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49649         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49650         (timex): Use __syscall_slong_t.
49652 2012-05-18  Andreas Jaeger  <aj@suse.de>
49653             Carlos O'Donell  <carlos_odonell@mentor.com>
49655         * manual/install.texi (Configuring and compiling): Update
49656         description about files modified in the source directory.
49657         * INSTALL: Regenerated.
49659 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49661         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49662         value.  Use "or" to set return value to -1.
49663         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49664         negate return value.
49666 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49668         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49669         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49670         failure if the compiler has Graphite support disabled.
49671         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49672         Likewise.
49673         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49674         (CFLAGS-memmove.c): Likewise.
49675         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49676         Likewise.
49678 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49680         * sysdeps/x86_64/x32/_itoa.h: New file.
49682         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49683         getdents system call only if kernel and user dirents have the
49684         same d_ino and d_off.
49686         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49687         LLONG_MAX != LONG_MAX.
49688         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49689         (_fitoa_word): Likewise.
49691         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49692         years.
49693         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49694         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49695         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49697         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49698         include <bits/wordsize.h>.  Check __x86_64__ instead of
49699         __WORDSIZE.
49700         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49701         if __x86_64__ is defined.  Use anonymous union on fpstate.
49703         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49704         anonymous union.
49706 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49708         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49709         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49710         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49711         Refer to _rtld_local_ro instead of _rtld_global_ro.
49712         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49713         Likewise.
49714         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49715         Likewise.
49716         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49717         Likewise.
49718         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49719         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49720         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49722         [BZ #10882]
49723         * sysdeps/powerpc/powerpc32/dl-machine.c
49724         (__elf_machine_runtime_setup) [PROF]: Don't reference
49725         _dl_prof_resolve.
49727 2012-05-18  Andreas Jaeger  <aj@suse.de>
49729         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49730         function only available for GCCs before 3.4 since GCC 3.4
49731         introduced a builtin.
49732         (lrint): Likewise.
49733         (llrintf): Likewise.
49734         (llrint): Likewise.
49735         (fmaxf): Likewise.
49736         (fmax): Likewise.
49737         (fminf): Likewise.
49738         (fmin): Likewise.
49739         (rint): Likewise.
49740         (rintf): Likewise.
49741         (nearbyint): Likewise.
49742         (nearbyintf): Likewise.
49743         (ceil): Likewise.
49744         (ceilf): Likewise.
49745         (floor): Likewise.
49746         (floorf): Likewise.
49748 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49750         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49751         on both fields and cast pointer to __syscall_ulong_t.
49753         * bits/types.h (__fsword_t): New type.
49754         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49755         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49756         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49757         (__FSWORD_T_TYPE): Likewise.
49758         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49759         (__FSWORD_T_TYPE): Likewise.
49760         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49761         (__FSWORD_T_TYPE): Likewise.
49762         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49763         (__FSWORD_T_TYPE): Likewise.
49764         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49765         __SWORD_TYPE with __fsword_t.
49766         (statfs64): Likewise.
49768 2012-05-17  David S. Miller  <davem@davemloft.net>
49770         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49772 2012-05-17  Andreas Jaeger  <aj@suse.de>
49774         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49775         warning.
49777 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49779         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49781 2012-05-17  Andreas Jaeger  <aj@suse.de>
49783         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49784         when it is used.
49786 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49788         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49790 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49792         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49793         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49795 2012-05-17  Andreas Jaeger  <aj@suse.de>
49796             Carlos O'Donell  <carlos_odonell@mentor.com>
49798         [BZ #14059]
49799         * sysdeps/x86_64/multiarch/init-arch.h
49800         (bit_YMM_Usable): Rename to...
49801         (bit_AVX_Usable): ... this.
49802         (bit_FMA4_Usable): New macro.
49803         (bit_XMM_state): New macro.
49804         (bit_YMM_state): New macro.
49805         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49806         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49807         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49808         (CPUID_OSXSAVE): New macro.
49809         (CPUID_AVX): New macro.
49810         (CPUID_FMA4): New macro.
49811         (index_YMM_Usable): Rename to...
49812         (index_AVX_Usable): ... this.
49813         (HAS_AVX): Use HAS_ARCH_FEATURE.
49814         (HAS_FMA4): Likewise.
49815         (HAS_YMM_USABLE): Remove.
49816         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49817         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49818         are present.
49819         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49820         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49821         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49822         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49823         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49825 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49827         * math/libm-test.c: Support platforms without multiple rounding modes.
49828         * math/bug-nextafter.c: Support platforms without FP exceptions.
49829         * math/bug-nexttoward.c: Likewise.
49830         * math/test-fenv.c: Likewise.
49831         * math/test-misc.c: Likewise.
49832         * stdlib/bug-getcontext.c: Likewise.
49834 2012-05-17  Andreas Jaeger  <aj@suse.de>
49836         * manual/examples/search.c (critter_cmp): Change signature to
49837         avoid warnings.
49838         * manual/string.texi (Collation Functions): Likewise.
49840 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49842         * bits/types.h: Fold copyright years.
49843         * bits/typesizes.h: Likewise.
49844         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49845         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49846         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49847         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49848         * time/time.h: Likewise.
49850 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49852         [BZ #208]
49853         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49854         in instead of returning them.  Return void.
49855         (__libc_mallinfo): Accumulate over all arenas.
49856         (__malloc_stats): Adjust for change in int_mallinfo interface.
49858 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49860         [BZ #10375]
49861         * configure.in (NM): Add AC_CHECK_TOOL for it.
49862         (libc_extra_cflags): New substituted variable.
49863         Check for -fstack-protector being used implicitly.
49864         * configure: Regenerated.
49865         * config.make.in (config-extra-cflags): New variable,
49866         gets @libc_extra_cflags@.
49867         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49869         [BZ #10375]
49870         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49871         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49872         * configure: Regenerated.
49873         * config.make.in (CPPUNDEFS): New substituted variable.
49874         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49875         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49876         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49878 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49880         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49881         (mq_attr): Use __syscall_slong_t.
49883 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49885         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49886         Check __x86_64__ instead of __WORDSIZE.
49887         (_STAT_VER_LINUX): Likewise.
49888         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49889         __syscall_ulong_t and __syscall_slong_t.
49890         (stat64): Likewise.
49892 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49894         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49896 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49898         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49900 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49902         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49903         __syscall_ulong_t.
49905         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49906         include <bits/wordsize.h>.  Check __x86_64__ instead of
49907         __WORDSIZE.
49908         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49909         defined.
49910         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49912         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49913         include <bits/wordsize.h>.  Check __x86_64__ instead of
49914         __WORDSIZE.
49915         (user_regs_struct): Use "__extension__ unsigned long long"
49916         instead of "unsigned long" if __x86_64__ is defined.
49917         (user): Likewise.  Pad after pointer field if __ILP32__ is
49918         defined.
49920 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49922         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49923         versions 5 to 9.
49924         * configure: Regenerated.
49925         * manual/install.texi (texinfo): Increase version requirement to
49926         4.5 or later.
49927         * INSTALL: Regenerated.
49929         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49931 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49933         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49935         * sysdeps/x86_64/x32/ffs.c: New file.
49937         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49938         __syscall_ulong_t.
49939         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49940         defined.  Use __syscall_ulong_t.
49941         (shminfo): Use __syscall_ulong_t.
49942         (shm_info): Likewise.
49944         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49945         __syscall_ulong_t.
49947         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49948         <bits/wordsize.h>.
49949         (msgqnum_t): Use __syscall_ulong_t.
49950         (msglen_t): Likewise.
49951         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49952         __syscall_ulong_t.
49954         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49955         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49957         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49959         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49960         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49962         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49963         __syscall_slong_t.
49965         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49966         include <bits/wordsize.h>.  Check __x86_64__ instead of
49967         __WORDSIZE.
49969         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49970         "unsigned long long int" if __x86_64__ is defined.
49971         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49973         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49974         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49975         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49977         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49978         <stdint.h>.
49979         (GET_PC): Cast to uintptr_t first.
49980         (GET_FRAME): Likewise.
49981         (GET_STACK): Likewise.
49983         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49984         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49985         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49986         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49987         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49988         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49989         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49990         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49991         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49992         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49993         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49994         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49995         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49996         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49997         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49998         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49999         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
50000         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
50001         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
50002         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
50003         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
50004         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
50005         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
50006         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
50007         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
50008         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
50009         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
50010         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
50011         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
50013 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
50015         * Makerules (+depfiles): Also collect depfiles from .oS in
50016         $(extra-objs).
50017         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
50018         .oS, $(libnldbl-routines)).
50020         * Makerules (native-compile-mkdep-flags): Define.
50021         * sunrpc/Makefile (extra-objs): Add $(addprefix
50022         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
50023         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
50024         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
50025         calling $(make-target-directory).
50027 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50029         * bits/types.h (__snseconds_t): Removed.
50030         * time/time.h (struct timespec): Replace __snseconds_t with
50031         __syscall_slong_t.
50032         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
50033         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
50034         Likewise.
50035         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50036         (__SNSECONDS_T_TYPE): Likewise.
50037         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50038         (__SNSECONDS_T_TYPE): Likewise.
50039         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50040         (__SNSECONDS_T_TYPE): Likewise.
50042 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50044         * sysdeps/mach/hurd/bits/typesizes.h
50045         (__SYSCALL_SLONG_TYPE): New macro.
50046         (__SYSCALL_ULONG_TYPE): Likewise.
50048 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50050         * bits/types.h (__syscall_slong_t): New type.
50051         (__syscall_ulong_t): Likewise.
50053         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
50054         (__SYSCALL_ULONG_TYPE): Likewise.
50055         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50056         (__SYSCALL_SLONG_TYPE): Likewise.
50057         (__SYSCALL_ULONG_TYPE): Likewise.
50058         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50059         (__SYSCALL_SLONG_TYPE): Likewise.
50060         (__SYSCALL_ULONG_TYPE): Likewise.
50061         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50062         (__SYSCALL_SLONG_TYPE): Likewise.
50063         (__SYSCALL_ULONG_TYPE): Likewise.
50065 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50067         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
50068         Add sigaltstack-offsets.sym.
50069         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
50070         <sigaltstack-offsets.h>.
50071         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
50072         longjmp_msg pointer.
50073         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
50074         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
50075         signal stack.
50076         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
50078 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50080         * elf/stackguard-macros.h: Remove file.
50081         * sysdeps/generic/stackguard-macros.h: New file.
50082         * sysdeps/i386/stackguard-macros.h: Likewise.
50083         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50084         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50085         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50086         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50087         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50088         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50089         * sysdeps/x86_64/stackguard-macros.h: Likewise.
50090         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
50091         <elf/stackguard-macros.h>.
50093         [BZ #14109]
50094         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
50095         __aligned__ in attribute.
50096         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
50097         (gregset_t): Likewise.
50099 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50101         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
50102         * sysdeps/x86_64/64/Implies-after: Here.  New file.
50103         * sysdeps/x86_64/x32/Implies-after: New file.
50105 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50107         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
50108         and access return value for _dl_profile_fixup.  Use R10_LP to
50109         load frame size.
50111 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50113         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
50115 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50117         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
50118         * sysdeps/x86_64/x32/sysdep.h: New file.
50120 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50122         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
50123         * sysdeps/x86_64/setjmp.S: Likewise.
50125 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50127         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
50128         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
50129         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
50130         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
50131         remove unused global constant.
50133 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
50135         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
50136         include of <not-cancel.h>.
50138 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50140         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
50142 2012-05-15  Jeff Law  <law@redhat.com>
50143             Andreas Jaeger  <aj@suse.de>
50145         [BZ #13594]
50146         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
50147         out from...
50148         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
50149         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
50150         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
50151         code changing __hst_map_handle.map.
50153 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50155         * configure.in (sysnames): Look for Implies-before and Implies-after
50156         files.
50157         * configure: Regenerated.
50159 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50161         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
50162         8-byte data alignment with LP_SIZE alignment.
50164 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50166         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
50167         into R10_LP.
50169 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50171         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
50173 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50175         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
50176         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
50177         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
50178         Likewise.
50179         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
50181 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50183         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
50184         (stackinfo_sub_sp): Likewise.
50186 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50188         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
50189         RAX_LP.
50191 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50193         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
50194         into R*_LP.
50196 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50198         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
50199         sizes into R*_LP.
50201 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50203         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
50205 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50207         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
50208         into R11_LP and load __x86_64_shared_cache_size_half into
50209         R8_LP.
50211 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50213         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
50214         R8_LP.
50216 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50218         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
50219         logb for POWER7.
50220         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
50221         logbf for POWER7.
50222         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
50223         logbl for POWER7.
50224         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
50225         powerpc32/power7/fpu/s_logb.c via #include.
50226         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
50227         powerpc32/power7/fpu/s_logbf.c via #include.
50228         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
50229         powerpc32/power7/fpu/s_logbl.c via #include.
50231 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50233         * README.libm: Remove file.
50235 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50237         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
50238         count for x32.  Use R*_LP and omit operand-size suffix.
50240 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50242         * shlib-versions: Move x86_64-.*-linux.* entries to ...
50243         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
50244         * sysdeps/x86_64/x32/shlib-versions: New file.
50246 2012-05-14  Roland McGrath  <roland@hack.frob.com>
50248         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
50249         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
50250         Use _dl_fatal_printf instead.
50252 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50254         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
50255         set if not set by the user.  Do not allow for being unset.
50256         * sysdeps/unix/sysv/linux/configure: Regenerated.
50258 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50260         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
50261         the `q' suffix from lea and replace .quad with ASM_ADDR.
50263 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50265         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
50266         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
50267         instead of $17.
50268         (PTR_DEMANGLE): Likewise.
50270 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50272         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
50273         (LP_OP): Likewise.
50274         (ASM_ADDR): Likewise.
50275         (RAX_LP): Likewise.
50276         (RBP_LP): Likewise.
50277         (RBX_LP): Likewise.
50278         (RCX_LP): Likewise.
50279         (RDI_LP): Likewise.
50280         (RSI_LP): Likewise.
50281         (RSP_LP): Likewise.
50282         (R8_LP): Likewise.
50283         (R9_LP): Likewise.
50284         (R10_LP): Likewise.
50285         (R10_LP): Likewise.
50286         (R11_LP): Likewise.
50287         (R12_LP): Likewise.
50288         (R13_LP): Likewise.
50289         (R14_LP): Likewise.
50290         (R15_LP): Likewise.
50292 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50294         * sysdeps/x86_64/x32/dl-machine.h: New file.
50296 2012-05-14  Andreas Jaeger  <aj@suse.de>
50298         * manual/Makefile (subdir): Remove export of subdir.
50299         (all): Remove target.
50300         (.PHONY): Remove all from list.
50301         (mkinstalldirs): Remove.
50302         (.PHONY): Remove installdirs from list.
50303         ($(inst_infodir)/libc.info): Use make-target-directory.
50304         (installdirs): Remove.
50305         (subdir_%): Remove.
50306         (glibc-targets): Remove.
50307         (lib): Remove.
50308         (stubs): Remove.
50309         ($(objpfx)stubs ../po/manual.pot): Remove.
50310         ($(objpfx)stamp%): Remove.
50311         (make-target-directory): Remove.
50312         (subdir_install): Remove.
50313         (routines): Remove.
50314         (aux): Remove.
50315         (sources): Remove.
50316         (objects): Remove.
50317         (headers): Remove.
50319         [BZ #13750]
50320         * manual/.gitignore: Remove, it's not needed anymore.
50321         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
50322         all files in it.
50323         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
50324         directory.
50325         (texis): Renamed to $(objpfx)texis.
50326         (texis-path): New, contains path to generated files.
50327         (chapters.%): Use texis-path for complete path, add extra argument
50328         libc-texinfo.sh.
50329         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
50330         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
50331         (summary,texi, stamp-summary): Use complete path of
50332         files. Generate files in build dir.
50333         (dir-add.texi): Build in build dir.
50334         (libm-err.texi,stamp-libm-err): Likewise.
50335         (version.texi, stamp-version): Likewise.
50336         (.%c.texi): Likewise.
50337         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
50338         (mostlyclean): Remove target.
50339         (realclean): Remove target.
50340         (generated): Add new variable with contents from mostlyclean and
50341         realclean, remove entries duplicated in common-mostlyclean, add
50342         stamp-libm-err and stamp-version.
50343         (generated-dirs): Add libc directory.
50344         ($(inst_infodir)/libc.info): Install files from build dir.
50346         * manual/install.texi (Configuring and compiling): Adjust since
50347         the info files are not part of the tar ball anymore.
50349 2012-05-14  Andreas Jaeger  <aj@suse.de>
50351         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
50352         variable.
50354 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50356         [BZ #13717]
50357         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50358         to 2.2.0 where earlier.
50359         * sysdeps/unix/sysv/linux/configure: Regenerated.
50360         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
50361         Remove conditional code.
50362         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
50363         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
50364         Remove conditional code.
50365         [!__NR_lchown]: Likewise.
50366         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50367         [__NR_lchown]: Likewise.
50368         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
50369         comment referencing __ASSUME_LCHOWN_SYSCALL.
50370         * sysdeps/unix/sysv/linux/i386/sigaction.c
50371         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50372         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50373         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
50374         Remove conditional code.
50375         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
50376         (__protocol_available): Remove #if 0 code.
50377         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
50378         conditional code.
50379         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
50380         * sysdeps/unix/sysv/linux/kernel-features.h
50381         (__ASSUME_GETCWD_SYSCALL): Don't define.
50382         (__ASSUME_REALTIME_SIGNALS): Likewise.
50383         (__ASSUME_PREAD_SYSCALL): Likewise.
50384         (__ASSUME_PWRITE_SYSCALL): Likewise.
50385         (__ASSUME_POLL_SYSCALL): Likewise.
50386         (__ASSUME_LCHOWN_SYSCALL): Likewise.
50387         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
50388         non-SPARC.
50389         (__ASSUME_SIOCGIFNAME): Don't define.
50390         (__ASSUME_MSG_NOSIGNAL): Likewise.
50391         (__ASSUME_SENDFILE): Define unconditionally.
50392         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
50393         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
50394         conditional code.
50395         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
50396         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
50397         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50398         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50399         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
50400         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50401         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
50403         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50404         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
50406         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50407         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
50409         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50410         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
50412         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50413         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
50415         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50416         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
50418         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50419         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
50421         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50422         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
50424         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50425         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50426         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
50427         Remove conditional code.
50428         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50429         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50430         Remove conditional code.
50431         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50432         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
50433         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
50434         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50435         Remove conditional code.
50436         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50437         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
50438         Remove conditional code.
50439         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50440         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
50441         Remove conditional code.
50442         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50443         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50444         Remove conditional code.
50445         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50446         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50447         Remove conditional code.
50448         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50449         * sysdeps/unix/sysv/linux/sh/pwrite64.c
50450         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50451         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50452         * sysdeps/unix/sysv/linux/sigaction.c
50453         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50454         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50455         * sysdeps/unix/sysv/linux/sigpending.c
50456         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50457         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50458         * sysdeps/unix/sysv/linux/sigprocmask.c
50459         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50460         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50461         * sysdeps/unix/sysv/linux/sigsuspend.c
50462         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50463         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50464         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50465         (__libc_missing_rt_sigs): Remove.
50466         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
50467         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
50468         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
50469         Remove conditional code.
50470         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
50471         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
50472         return 1.
50473         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
50474         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
50475         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
50476         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
50478 2012-05-14  Andreas Jaeger  <aj@suse.de>
50480         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
50481         it's not used in glibc.
50482         (__coshm1): Likewise.
50483         (__acosh1p): Likewise.
50484         (__sgn): Likewise.
50486         * manual/string.texi (Copying and Concatenation): Add missing
50487         variable in concat example.
50488         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50490 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50492         [BZ #14103]
50493         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
50494         __builtin_clzl with __builtin_clzll.
50496 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50498         [BZ #14104]
50499         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
50500         libc_freeres_ptr.
50502 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50504         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
50505         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
50506         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
50507         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
50509 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
50511         * NEWS: Update ia64 info.
50513 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
50515         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
50516         used as bcopy.
50518 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
50520         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
50521         * sysdeps/unix/syscalls.list (dup3): Likewise.
50522         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
50523         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
50525 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50527         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
50528         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
50530 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50532         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
50533         thread pointer.
50534         (TLS_IE): Use mov/add instead of movq/addq to load thread
50535         pointer.
50536         (TLS_GD_PREFIX): New.
50537         (TLS_GD): Use it.
50539 2012-05-11  David S. Miller  <davem@davemloft.net>
50541         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
50542         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
50543         (_FPU_SETCW): Likewise.
50545 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50547         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
50548         is 32-byte aligned.
50550 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
50552         [BZ #11837]
50553         * iconvdata/gb18030.c: Update tables.
50554         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
50555         characters specially.
50556         (BODY for TO_LOOP): Add encoding of missing ranges.
50558 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
50560         [BZ #13673]
50561         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
50562         * sysdeps/mach/hurd/dup3.c: Likewise.
50563         * sysdeps/mach/hurd/readlinkat.c: Likewise.
50564         * sysdeps/powerpc/memmove.c:: Likewise.
50566 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50568         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
50569         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
50571 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50573         * elf/elf.h (R_X86_64_RELATIVE64): New.
50574         (R_X86_64_NUM): Updated.
50575         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50576         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
50577         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
50578         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
50579         tst-quad1pie tst-quad2pie
50580         (modules-names): Add tst-quadmod1 tst-quadmod2.
50581         ($(objpfx)tst-quad1): New dependency.
50582         ($(objpfx)tst-quad2): Likewise.
50583         ($(objpfx)tst-quad1pie): Likewise.
50584         ($(objpfx)tst-quad2pie): Likewise.
50585         * sysdeps/x86_64/tst-quad1.c: New file.
50586         * sysdeps/x86_64/tst-quad1pie.c: New file.
50587         * sysdeps/x86_64/tst-quad2.c: Likewise.
50588         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
50589         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
50590         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
50591         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
50592         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50594 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50596         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
50597         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
50598         * streams/stropts.h (t_scalar_t): Define type.
50600         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50601         (_PATH_PRESERVE): Set to "/var/lib".
50602         (_PATH_RWHODIR): Set to "/var/spool/rwho".
50604         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50605         instead of int.
50607         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50608         if __dir_mkfile succeeded.
50610         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50611         checking for _hurd_dtablesize.  Unlock it right after having
50612         finished _hurd_dtable allocation.
50614 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50616         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50617         * sysdeps/mach/hurd/configure: Regenerated.
50618         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50619         special-casing to...
50620         * sysdeps/gnu/configure.in: ... this new file.
50621         * sysdeps/unix/sysv/linux/configure: Regenerated.
50622         * sysdeps/gnu/configure: New generated file.
50624         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50625         for Linux: use nsec instead of usec, as well as:
50626         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50627         members of type struct timespec.
50628         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50629         New macros.
50630         (struct stat64): Likewise.
50631         (_STATBUF_ST_NSEC): New macro.
50632         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50634         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50635         __strtoul_internal rather than strtoul.
50637 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50639         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50640         and reject them.
50642 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50644         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50645         which preserves existing values.
50646         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50648 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50650         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50651         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50652         greater than FD_SETSIZE.
50654 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50656         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50657         allocated, call __vm_protect to finish enabling the existing space, and
50658         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50659         allocate the remainder.
50661 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50663         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50664         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50666 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50668         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50669         sysdeps/mach/hurd/readlink.c.
50671         * posix/tst-sysconf.c (posix_options): Only use
50672         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50673         _POSIX_SYNCHRONIZED_IO when they are defined
50674         * sysdeps/mach/hurd/bits/posix_opt.h:
50675         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50676         (_XOPEN_REALTIME): Undefine macro.
50677         (_XOPEN_REALTIME_THREADS): Undefine macro.
50678         (_XOPEN_SHM): Undefine macro.
50679         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50680         macro to -1.
50681         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50682         macro to -1.
50683         (_POSIX_ASYNC_IO): Undefine macro.
50684         (_POSIX_PRIORITIZED_IO): Undefine macro.
50685         (_POSIX_SPIN_LOCKS): Define macro to -1.
50687         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50688         SA_NODEFER, SA_RESETHAND.
50689         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50690         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50691         F_DUPFD_CLOEXEC.
50693 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50695         * elf/Makefile (pldd-modules): Define unconditionally.
50697 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50699         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50701 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50703         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50704         Return ENOENT when name is empty.
50705         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50707 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50709         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50711         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50713 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50715         Fix mlock in all cases except non-readable pages.
50716         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50717         instead of VM_PROT_ALL as parameter to __vm_wire function.
50719         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50720         (__mkdir): When path is `/', just fail with EEXIST.
50721         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50723 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50725         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50726         <sys/uio.h> (for writev).
50727         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50728         and <sys/param.h> (for MIN).
50730 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50732         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50733         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50734         if interrupted.
50736 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50738         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50739         Depend on against $(link-rpcuserlibs).
50741 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50743         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50744         (__libc_stack_end): Do not use attribute_relro.
50745         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50746         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50747         to libthread-provided value.
50748         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50749         attribute_relro.
50751 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50753         [BZ #3748]
50754         * bits/libc-lock.h (__libc_once_get): New macro.
50755         * sysdeps/mach/bits/libc-lock.h: Likewise.
50756         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50757         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50758         instead of using implementation details.
50760         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50761         * libio/freopen.c: Likewise.
50762         * libio/freopen64.c: Likewise.
50763         * misc/syslog.c: Likewise.
50764         * nscd/connections.c: Likewise.
50765         * nscd/netgroupcache.c: Likewise.
50766         * sysdeps/posix/getcwd.c: Likewise.
50768 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50770         * math/w_ilogbf.c: Add #include <limits.h>.
50772 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50774         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50775         path instead of returning without unlocking.
50777         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50778         immediate-write ioctls.
50779         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50781 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50783         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50784         __builtin_frame_address instead of making assumptions about the
50785         location of the return address relative to DATA.  Force early load of
50786         the return address.
50787         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50788         __builtin_frame_address.
50790         dup3 for GNU Hurd.
50791         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50792         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50793         implement dup3 and do some further code clean-ups.
50794         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50795         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50797 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50799         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50801         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50802         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50803         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50804         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50805         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50806         d->port.lock.
50808         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50809         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50810         when handler == SIG_ERR, not when handler != SIG_ERR.
50812 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50814         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50815         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50816         definitions.
50818         accept4 for GNU Hurd.
50819         * include/sys/socket.h (__libc_accept4): New prototype.
50820         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50821         to implement __libc_accept4.
50822         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50823         __libc_accept4.
50824         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50826         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50827         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50828         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50829         signal-defines.sym.
50831 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50833         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50835 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50837         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50838         assertion on O_CLOEXEC flag.
50839         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50840         * hurd/intern-fd.c: Likewise.
50841         * hurd/port2fd.c: Likewise.
50843 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50845         [BZ #3906]
50846         * bits/in.h (IPV6_PKTINFO): Define new macro.
50847         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50849 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50851         [BZ #13954]
50852         [BZ #13955]
50853         [BZ #13956]
50854         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50855         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50856         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50857         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50858         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50859         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50860         * math/libm-test.inc (logb_test) : Additional logb tests.
50862 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50863             Andreas Jaeger  <aj@suse.de>
50865         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50866         * configure: Regenerated.
50867         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50868         * config.make.in (link-obsolete-rpc): New substituted variable.
50869         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50870         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50871         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50872         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50873         so that libc.a contains the symbols.
50874         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50875         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50876         * sunrpc/auth_none.c: Likewise.
50877         * sunrpc/auth_unix.c: Likewise.
50878         * sunrpc/authdes_prot.c: Likewise.
50879         * sunrpc/authuxprot.c: Likewise.
50880         * sunrpc/clnt_gen.c: Likewise.
50881         * sunrpc/clnt_perr.c: Likewise.
50882         * sunrpc/clnt_raw.c: Likewise.
50883         * sunrpc/clnt_simp.c: Likewise.
50884         * sunrpc/clnt_tcp.c: Likewise.
50885         * sunrpc/clnt_udp.c: Likewise.
50886         * sunrpc/clnt_unix.c: Likewise.
50887         * sunrpc/des_crypt.c: Likewise.
50888         * sunrpc/des_soft.c: Likewise.
50889         * sunrpc/get_myaddr.c: Likewise.
50890         * sunrpc/key_call.c: Likewise.
50891         * sunrpc/key_prot.c: Likewise.
50892         * sunrpc/netname.c: Likewise.
50893         * sunrpc/pm_getmaps.c: Likewise.
50894         * sunrpc/pm_getport.c: Likewise.
50895         * sunrpc/pmap_clnt.c: Likewise.
50896         * sunrpc/pmap_prot.c: Likewise.
50897         * sunrpc/pmap_prot2.c: Likewise.
50898         * sunrpc/pmap_rmt.c: Likewise.
50899         * sunrpc/publickey.c: Likewise.
50900         * sunrpc/rpc_cmsg.c: Likewise.
50901         * sunrpc/rpc_common.c: Likewise.
50902         * sunrpc/rpc_dtable.c: Likewise.
50903         * sunrpc/rpc_prot.c: Likewise.
50904         * sunrpc/rpc_thread.c: Likewise.
50905         * sunrpc/rtime.c: Likewise.
50906         * sunrpc/svc.c: Likewise.
50907         * sunrpc/svc_auth.c: Likewise.
50908         * sunrpc/svc_raw.c: Likewise.
50909         * sunrpc/svc_run.c: Likewise.
50910         * sunrpc/svc_tcp.c: Likewise.
50911         * sunrpc/svc_udp.c: Likewise.
50912         * sunrpc/svc_unix.c: Likewise.
50913         * sunrpc/svcauth_des.c: Likewise.
50914         * sunrpc/xcrypt.c: Likewise.
50915         * sunrpc/xdr.c: Likewise.
50916         * sunrpc/xdr_array.c: Likewise.
50917         * sunrpc/xdr_float.c: Likewise.
50918         * sunrpc/xdr_intXX_t.c: Likewise.
50919         * sunrpc/xdr_mem.c: Likewise.
50920         * sunrpc/xdr_rec.c: Likewise.
50921         * sunrpc/xdr_ref.c: Likewise.
50922         * sunrpc/xdr_sizeof.c: Likewise.
50923         * sunrpc/xdr_stdio.c: Likewise.
50925 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50927         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50928         change.  Update copyright years.
50930 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50932         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50934 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
50935             Joseph Myers  <joseph@codesourcery.com>
50936             Paul Pluzhnikov  <ppluzhnikov@google.com>
50938         [BZ #14012]
50939         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50940         requiring rpcgen.
50941         [cross-compiling] (extra-libs): Likewise.
50942         [cross-compiling] (extra-libs-others): Likewise.
50943         [cross-compiling] (librpcsvc-routines): Likewise.
50944         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50945         [cross-compiling] (omit-deps): Likewise.
50946         (sunrpc-CPPFLAGS): New variable.
50947         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50948         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50949         (cross-rpcgen-objs): New variable.
50950         (extra-objs): Append $(cross-rpcgen-objs).
50951         ($(cross-rpcgen-objs)): New rule.
50952         ($(objpfx)cross-rpcgen): Likewise.
50953         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50954         comment.
50955         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50956         ($(objpfx)x%.stmp): Likewise.
50957         * sunrpc/proto.h [IS_IN_build] (_): Define.
50958         [IS_IN_build] (_libc_intl_domainname): Likewise.
50960 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50962         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50963         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50964         and R_X86_64_TPOFF64.
50966 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50968         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50969         sysdeps/unix/sysv/syscalls.list.
50970         (stime): Likewise.
50971         (utime): Likewise.
50972         * sysdeps/unix/sysv/syscalls.list: Remove file.
50974 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50976         [BZ #3440]
50977         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50978         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50979         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50980         (__LC_IDENTIFICATION): Make these macros useful in #if
50981         expressions, as required by C99.
50983 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50985         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50986         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50987         after this.
50989 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50991         * stdlib/longlong.h: Updated from GCC.
50993 2012-05-09  Andreas Jaeger  <aj@suse.de>
50995         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50996         default is first entry.
50997         (run_mode): Set type.
50998         (main): Remove informal message about syslog.
50999         (options): Fix typo.
51001         [BZ #14053]
51002         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
51003         to asm.
51004         (lrint): Likewise.
51005         (llrintf): Likewise.
51006         (llrint): Likewise.
51007         (rint): Likewise.
51008         (rintf): Likewise.
51009         (nearbyint): Likewise.
51010         (nearbyintf): Likewise.
51012 2012-05-09  Andreas Jaeger  <aj@suse.de>
51013             Pedro Alves  <palves@redhat.com>
51015         * nscd/nscd.c (run_mode): Use enum.
51016         (main): Cleanup coding style issue.
51018 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
51019             Andreas Jaeger  <aj@suse.de>
51021         * nscd/nscd.c (go_background): Replaced with...
51022         (run_mode): ... this.
51023         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
51024         (options): Add -F --foreground.
51025         (main): Implement it.
51026         (parse_opt): Parse it.
51028 2012-05-09  Andreas Jaeger  <aj@suse.de>
51030         [BZ #14083]
51031         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
51032         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
51033         -Wconversion warning.
51034         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
51035         Likewise.
51037 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
51039         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
51040         == 0.
51041         (LC_ALL): Use macro-int-constant.
51042         (LC_COLLATE): Likewise.
51043         (LC_CTYPE): Likewise.
51044         (LC_MESSAGES): Likewise.
51045         (LC_MONETARY): Likewise.
51046         (LC_NUMERIC): Likewise.
51047         (LC_TIME): Likewise.
51048         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
51049         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51050         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51051         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
51052         Specify type.
51053         [C99-based standards] (float_t): Expect type.
51054         [C99-based standards] (double_t): Expect type.
51055         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
51056         type.
51057         [C99-based standards] (HUGE_VALL): Likewise.
51058         [C99-based standards] (INFINITY): Likewise.
51059         [C99-based standards] (NAN): Likewise.
51060         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
51061         [C99-based standards] (FP_NAN): Likewise.
51062         [C99-based standards] (FP_NORMAL): Likewise.
51063         [C99-based standards] (FP_SUBNORMAL): Likewise.
51064         [C99-based standards] (FP_ZERO): Likewise.
51065         [C99-based standards] (FP_FAST_FMA): Use
51066         optional-macro-int-constant.  Specify type.  Require == 1.
51067         [C99-based standards] (FP_FAST_FMAF): Likewise.
51068         [C99-based standards] (FP_FAST_FMAL): Likewise.
51069         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
51070         [C99-based standards] (FP_ILOGBNAN): Likewise.
51071         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
51072         Specify type.
51073         [C99-based standards] (MATH_ERREXCEPT): Likewise.
51074         [C99-based standards] (math_errhandling): Specify type.
51075         [ISO99 || ISO11] (signgam): Do not allow.
51076         [non-C99-based standards] (copysignf): Do not allow.
51077         [non-C99-based standards] (exp2f): Likewise.
51078         [non-C99-based standards] (log2f): Likewise.
51079         [non-C99-based standards] (modff): Allow.
51080         [non-C99-based standards] (erff): Do not allow.
51081         [non-C99-based standards] (erfcf): Likewise.
51082         [non-C99-based standards] (gammaf): Likewise.
51083         [non-C99-based standards] (hypotf): Likewise.
51084         [non-C99-based standards] (j0f): Likewise.
51085         [non-C99-based standards] (j1f): Likewise.
51086         [non-C99-based standards] (jnf): Likewise.
51087         [non-C99-based standards] (lgammaf): Likewise.
51088         [non-C99-based standards] (tgammaf): Likewise.
51089         [non-C99-based standards] (y0f): Likewise.
51090         [non-C99-based standards] (y1f): Likewise.
51091         [non-C99-based standards] (ynf): Likewise.
51092         [non-C99-based standards] (isnanf): Likewise.
51093         [non-C99-based standards] (acoshf): Likewise.
51094         [non-C99-based standards] (asinhf): Likewise.
51095         [non-C99-based standards] (atanhf): Likewise.
51096         [non-C99-based standards] (cbrtf): Likewise.
51097         [non-C99-based standards] (expm1f): Likewise.
51098         [non-C99-based standards] (ilogbf): Likewise.
51099         [non-C99-based standards] (log1pf): Likewise.
51100         [non-C99-based standards] (logbf): Likewise.
51101         [non-C99-based standards] (nextafterf): Likewise.
51102         [non-C99-based standards] (remainderf): Likewise.
51103         [non-C99-based standards] (rintf): Likewise.
51104         [non-C99-based standards] (scalbf): Likewise.
51105         [non-C99-based standards] (copysignl): Likewise.
51106         [non-C99-based standards] (exp2l): Likewise.
51107         [non-C99-based standards] (log2l): Likewise.
51108         [non-C99-based standards] (modfl): Allow.
51109         [non-C99-based standards] (erfl): Do not allow.
51110         [non-C99-based standards] (erfcl): Likewise.
51111         [non-C99-based standards] (gammal): Likewise.
51112         [non-C99-based standards] (hypotl): Likewise.
51113         [non-C99-based standards] (j0l): Likewise.
51114         [non-C99-based standards] (j1l): Likewise.
51115         [non-C99-based standards] (jnl): Likewise.
51116         [non-C99-based standards] (lgammal): Likewise.
51117         [non-C99-based standards] (tgammal): Likewise.
51118         [non-C99-based standards] (y0l): Likewise.
51119         [non-C99-based standards] (y1l): Likewise.
51120         [non-C99-based standards] (ynl): Likewise.
51121         [non-C99-based standards] (isnanl): Likewise.
51122         [non-C99-based standards] (acoshl): Likewise.
51123         [non-C99-based standards] (asinhl): Likewise.
51124         [non-C99-based standards] (atanhl): Likewise.
51125         [non-C99-based standards] (cbrtl): Likewise.
51126         [non-C99-based standards] (expm1l): Likewise.
51127         [non-C99-based standards] (ilogbl): Likewise.
51128         [non-C99-based standards] (log1pl): Likewise.
51129         [non-C99-based standards] (logbl): Likewise.
51130         [non-C99-based standards] (nextafterl): Likewise.
51131         [non-C99-based standards] (remainderl): Likewise.
51132         [non-C99-based standards] (rintl): Likewise.
51133         [non-C99-based standards] (scalbl): Likewise.
51134         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51135         [non-C99-based standards] (FP_*): Do not allow.
51136         [C99-based standards] (FP_*): Change to
51137         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51138         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51139         allow.
51140         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
51141         (SIG_ERR): Likewise.
51142         [X/Open-based standards] (SIG_HOLD): Likewise.
51143         (SIG_IGN): Likewise.
51144         (SIGABRT): Use macro-int-constant.  Specify type.  Require
51145         positive value.
51146         (SIGFPE): Likewise.
51147         (SIGILL): Likewise.
51148         (SIGINT): Likewise.
51149         (SIGSEGV): Likewise.
51150         (SIGTER): Likewise.
51151         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
51152         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
51153         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
51154         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
51155         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
51156         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
51157         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
51158         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
51159         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
51160         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
51161         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
51162         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
51163         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
51164         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
51165         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
51166         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
51167         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
51168         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
51169         [X/Open-based standards] (SIGTRAP): Likewise.
51170         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
51171         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
51172         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
51173         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
51174         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51175         allow.
51177 2012-05-08  Ian Wienand  <ianw@vmware.com>
51179         [BZ #14080]
51180         * time/tzset.c (__tzset_parse_tz): Update default rules for
51181         daylight time changes in the Energy Policy Act of 2005.
51183 2012-05-09  Andreas Jaeger  <aj@suse.de>
51185         [BZ #13983]
51186         * elf/ldconfig.c (parse_conf): Change string to make clear that
51187         ldconfig only issued a warning if ld.so.conf does not exist.
51189 2012-05-08  David S. Miller  <davem@davemloft.net>
51191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
51192         movxtod instead of popping the value on the stack.
51194         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51196 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
51198         * config.h.in: Add HAVE_ARM_PCS_VFP.
51200 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
51202         [BZ #13979]
51203         * include/features.h: Warn if user requests __FORTIFY_SOURCE
51204         checking but the checks are disabled for any reason.
51206 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
51208         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
51209         and ELF64_R_TYPE with ELFW(R_TYPE).
51211 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
51213         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
51214         (ulimit): Likewise.
51216         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
51217         (settimeofday): Likewise.
51219 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
51221         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
51222         a struct th_u2 inside the union, and move tu_block/tu_code into
51223         a new th_u3 union of tu_block/tu_code inside of that.  Move
51224         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
51225         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
51226         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
51227         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
51228         (th_stuff): Change to th_u1.tu_stuff.
51229         (th_data): Define.
51230         (th_msg): Change to th_u1.th_u2.tu_data.
51232 2012-05-07  David S. Miller  <davem@davemloft.net>
51234         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51236         [BZ #14074]
51237         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
51238         (SETUP_PIC_REG): Use it.
51239         (SETUP_PIC_REG_LEAF): Use it.
51241 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
51243         [BZ #13885]
51244         [BZ #13923]
51245         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51246         USE_AS_EXPM1L.
51247         (EXPL_FINITE): Likewise.
51248         (FLDLOG): Likewise.
51249         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51250         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51251         e_expl.S.
51252         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51253         USE_AS_EXPM1L.
51254         (EXPL_FINITE): Likewise.
51255         (FLDLOG): Likewise.
51256         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51257         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51258         e_expl.S.
51259         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
51260         test of -max_value argument for long double.
51261         * sysdeps/i386/fpu/libm-test-ulps: Update.
51262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51264 2012-05-06  David S. Miller  <davem@davemloft.net>
51266         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
51267         quad soft-float symbols whose references which are compiler
51268         generated.
51269         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51271 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
51273         [BZ #13884]
51274         [BZ #13914]
51275         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51276         USE_AS_EXP10L.
51277         (EXPL_FINITE): Likewise.
51278         (FLDLOG): Likewise.
51279         (c0): Likewise.
51280         (c1): Likewise.
51281         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51282         Adjust comments for base varying.
51283         (__expl_finite): Change alias to EXPL_FINITE.
51284         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
51285         e_expl.S.
51286         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
51287         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
51288         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51289         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
51290         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51291         USE_AS_EXP10L.
51292         (EXPL_FINITE): Likewise.
51293         (FLDLOG): Likewise.
51294         (c0): Likewise.
51295         (c1): Likewise.
51296         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51297         Adjust comments for base varying.
51298         (__expl_finite): Change alias to EXPL_FINITE.
51299         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
51300         tests for bugs.
51301         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51303         [BZ #14064]
51304         * math/libm-test.inc (check_float_internal): Correct ulp
51305         calculation for subnormal expected results.
51307 2012-05-06  Andreas Jaeger  <aj@suse.de>
51309         * Makeconfig (+math-flags): New, set to -frounding-math.
51310         (+cflags): Add +math-flags so that all of glibc gets compiled with
51311         it.
51313         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
51315 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
51317         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
51318         Disable one test.
51320         [BZ #13787]
51321         [BZ #13922]
51322         [BZ #14036]
51323         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
51324         (__ieee754_expl): Allow for and saturate large arguments.
51325         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
51326         (u_threshold): Likewise.
51327         (__exp): Call __ieee754_exp before checking for overflow and
51328         underflow.
51329         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
51330         (u_threshold): Likewise.
51331         (__expf): Call __ieee754_expf before checking for overflow and
51332         underflow.
51333         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
51334         (u_threshold): Likewise.
51335         (__expl): Call __ieee754_expl before checking for overflow and
51336         underflow.
51337         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
51338         (__ieee754_expl): Allow for and saturate large arguments.
51339         * math/libm-test.inc (exp_test): Add another test.  Do not allow
51340         missing overflow exception on overflow.
51341         (expm1_test): Do not allow missing overflow exception on overflow.
51343         * sysdeps/i386/fpu/e_expl.c: Move to ...
51344         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
51345         rather than using inline asm.
51346         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
51347         * sysdeps/x86_64/fpu/e_expl.S: Copy from
51348         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
51350         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
51351         (nice): Likewise.
51352         (poll): Likewise.
51353         (signal): Likewise.
51354         (time): Likewise.
51355         (times): Likewise.
51357 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51359         * sysdeps/unix/syscalls.list (adjtime): Add entry from
51360         sysdeps/unix/common/syscalls.list.
51361         (fchmod): Likewise.
51362         (fchown): Likewise.
51363         (ftruncate): Likewise.
51364         (getrusage): Likewise.
51365         (gettimeofday): Likewise.
51366         (setpgid): Likewise.
51367         (setregid): Likewise.
51368         (setreuid): Likewise.
51369         (sigaction): Likewise.
51370         (truncate): Likewise.
51371         (vhangup): Likewise.
51372         * sysdeps/unix/common/syscalls.list: Remove file.
51373         * sysdeps/unix/bsd/Implies: Don't include unix/common.
51374         * sysdeps/unix/sysv/linux/Implies: Likewise.
51376 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
51378         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
51379         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
51380         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
51381         Moved to ...
51382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51383         Here.
51384         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
51385         to ...
51386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
51387         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
51388         to ...
51389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
51390         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
51391         to ...
51392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
51393         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
51394         to ...
51395         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
51396         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
51397         to ...
51398         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
51399         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
51400         to ...
51401         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
51402         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
51403         to ...
51404         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51405         Here.
51406         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
51407         to ...
51408         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
51409         Here.
51410         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
51411         to ...
51412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
51413         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
51414         Moved to ...
51415         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
51416         Here.
51417         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
51418         to ...
51419         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
51421 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51423         * sysdeps/unix/common/bits/dirent.h: Remove file.
51424         * sysdeps/unix/common/bits/fcntl.h: Likewise.
51426         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
51427         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
51428         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
51429         * sysdeps/unix/bsd/isatty.c: Likewise.
51430         * sysdeps/unix/bsd/tcdrain.c: Likewise.
51431         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
51432         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
51434 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51436         [BZ #13563]
51437         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
51438         long double comparison inaccuracies.
51439         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51442 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
51444         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
51445         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
51447 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51449         [BZ #14049]
51450         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
51451         nonzero digits before rounding a hex value.
51452         * stdlib/tst-strtod.c (tests): Add another test.
51454 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51456         * sysdeps/s390/fpu/libm-test-ulps: Update.
51458 2012-05-03  Andreas Jaeger  <aj@suse.de>
51460         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
51461         does not get optimized out.
51462         (malloc_opt_barrier): New.
51464 2012-05-03  Andreas Jaeger  <aj@suse.de>
51465             Roland McGrath  <roland@hack.frob.com>
51467         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
51468         intermediate file deletion.
51469         (generated): Add .symlist files.
51471 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
51473         [BZ #13775]
51474         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
51475         Redirect under this condition.
51476         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51477         [__USE_GNU] (__dprintf_chk): Not under this condition.
51478         [__USE_GNU] (__vdprintf_chk): Likewise.
51479         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
51480         under this condition.
51481         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51482         [__USE_XOPEN2K8] (dprintf): Define under this condition.
51483         [__USE_XOPEN2K8] (vdprintf): Likewise.
51484         [__USE_GNU] (__dprintf_chk): Not under this condition.
51485         [__USE_GNU] (__vdprintf_chk): Likewise.
51486         [__USE_GNU] (dprintf): Likewise.
51487         [__USE_GNU] (vdprintf): Likewise.
51489 2012-05-03  Roland McGrath  <roland@hack.frob.com>
51491         * elf/Makefile (common-generated): Set this instead of generated for
51492         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
51493         $(all-built-dso)-derived lists.
51495 2012-05-03  Andreas Jaeger  <aj@suse.de>
51497         * sysdeps/i386/fpu/libm-test-ulps: Update.
51499         * FAQ: Removed.
51500         * FAQ.in: Likewise.
51501         * scripts/gen-FAQ.pl: Likewise.
51502         * manual/install.texi (Installation): Point to online location of
51503         FAQ.
51504         * Makefile (files-for-dist): Remove FAQ.
51505         (FAQ): Remove.
51507 2012-05-02  Allan McRae  <allan@archlinux.org>
51509         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
51510         (LDFLAGS-reldepmod5.so): Likewise.
51511         (LDFLAGS-reldep6mod1.so): Likewise.
51512         (LDFLAGS-reldep6mod4.so): Likewise.
51513         (LDFLAGS-reldep8mod3.so): Likewise.
51514         (LDFLAGS-unload4mod1.so): Likewise.
51515         (LDFLAGS-unload4mod2.so): Likewise.
51516         (LDFLAGS-tst-initorder): Likewise.
51517         (LDFLAGS-tst-initordera2.so): Likewise.
51518         (LDFLAGS-tst-initordera3.so): Likewise.
51519         (LDFLAGS-tst-initordera4.so): Likewise.
51520         (LDFLAGS-tst-initorderb2.so): Likewise.
51521         (LDFLAGS-noload): Likewise.
51522         (LDFLAGS-next): Likewise.
51523         (LDFLAGS-order2mod1.so): Likewise.
51524         (LDFLAGS-order2mod2.so): Likewise.
51525         (LDFLAGS-tst-initorder2): Likewise.
51526         (LDFLAGS-tst-initorder2a.so): Likewise.
51527         (LDFLAGS-tst-initorder2b.so): Likewise.
51528         (LDFLAGS-tst-initorder2c.so): Likewise.
51529         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
51531 2012-05-02  David S. Miller  <davem@davemloft.net>
51533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51535 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
51537         [BZ #14055]
51538         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
51540 2012-05-02  Andreas Jaeger  <aj@suse.de>
51542         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
51543         since we manipulate rounding mode.
51544         (CPPFLAGS-test-idouble.c): Likewise.
51545         (CPPFLAGS-test-ifloat.c): Likewise.
51546         (CFLAGS-test-ldouble.c): Likewise.
51547         (CFLAGS-test-double.c): Likewise.
51548         (CFLAGS-test-float.c): Likewise.
51549         (CFLAGS-test-misc.c): Likewise.
51550         (CFLAGS-test-test-fenv.c): Likewise.
51552 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51554         [BZ #2550]
51555         [BZ #2570]
51556         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
51557         comparisons to determine direction to adjust input.
51559 2012-05-01  Roland McGrath  <roland@hack.frob.com>
51561         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
51562         output to the target.
51564         * scripts/localplt.awk: New file.
51565         * elf/Makefile ($(objpfx)check-localplt): Target removed.
51566         (check-localplt-CFLAGS): Variable removed.
51567         ($(all-built-dso:=.jmprel)): New static pattern rule.
51568         (generated): Add those targets.
51569         (localplt-built-dso): New variable.
51570         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
51572         * elf/check-localplt.c: File removed.
51574         * scripts/check-execstack.awk: New file.
51575         * elf/Makefile ($(objpfx)check-execstack): Target removed.
51576         (check-execstack-CFLAGS): Variable removed.
51577         ($(objpfx)check-execstack.h): Target removed.
51578         ($(objpfx)execstack-default): New target.
51579         (generated): Add that instead of check-execstack.h.
51580         ($(all-built-dso:=.phdr)): New static pattern rule.
51581         (generated): Add those targets.
51582         * elf/check-execstack.c: File removed.
51584         * scripts/check-textrel.awk: New file.
51585         * elf/Makefile ($(objpfx)check-textrel): Target removed.
51586         (check-textrel-CFLAGS): Variable removed.
51587         (all-built-dso): Use := to define.o
51588         ($(all-built-dso:=.dyn)): New static pattern rule.
51589         (generated): Add those targets.
51590         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
51591         * config.make.in (READELF): New substituted variable.
51592         * elf/check-textrel.c: File removed.
51594 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51596         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51597         allow.
51598         * conform/data/ctype.h-data [C99-based standards] (isblank):
51599         Expect function.
51600         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51601         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51602         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51603         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51604         Specify type.  Require positive value.
51605         (EILSEQ): Likewise.
51606         (ERANGE): Likewise.
51607         [ISO || POSIX] (EILSEQ): Do not expect.
51608         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51609         Specify type.  Require positive value.
51610         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51611         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51612         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51613         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51614         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51615         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51616         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51617         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51618         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51619         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51620         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51621         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51622         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51623         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51624         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51625         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51626         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51627         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51628         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51629         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51630         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51631         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51632         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51633         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51634         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51635         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51636         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51637         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51638         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51639         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51640         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51641         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51642         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51643         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51644         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51645         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51646         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51647         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51648         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51649         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51650         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51651         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51652         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51653         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51654         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51655         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51656         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51657         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51658         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51659         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51660         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51661         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51662         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51663         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51664         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51665         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51666         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51667         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51668         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51669         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51670         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51671         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51672         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51673         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51674         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51675         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51676         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51677         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51678         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51679         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51680         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51681         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51682         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51683         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51684         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51685         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51686         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51687         Require >= 2.
51688         (FLT_ROUNDS): Expect as macro, not constant.
51689         (FLT_MANT_DIG): Use macro-int-constant.
51690         (DBL_MANT_DIG): Likewise.
51691         (LDBL_MANT_DIG): Likewise.
51692         (FLT_DIG): Likewise.
51693         (DBL_DIG): Likewise.
51694         (LDBL_DIG): Likewise.
51695         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51696         (DBL_MIN_EXP): Likewise.
51697         (LDBL_MIN_EXP): Likewise.
51698         (FLT_MAX_EXP): Use macro-int-constant.
51699         (DBL_MAX_EXP): Likewise.
51700         (LDBL_MAX_EXP): Likewise.
51701         (FLT_MAX_10_EXP): Likewise.
51702         (DBL_MAX_10_EXP): Likewise.
51703         (LDBL_MAX_10_EXP): Likewise.
51704         (FLT_MAX): Use macro-constant.
51705         (DBL_MAX): Likewise.
51706         (LDBL_MAX): Likewise.
51707         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51708         (DBL_EPSILON): Likewise.
51709         (LDBL_EPSILON): Likewise.
51710         (FLT_MIN): Likewise.
51711         (DBL_MIN): Likewise.
51712         (LDBL_MIN): Likewise.
51713         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51714         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51715         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51716         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51717         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51718         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51719         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51720         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51721         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51722         [ISO11] (FLT_TRUE_MIN): Likewise.
51723         [ISO11] (LDBL_TRUE_MIN): Likewise.
51724         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51725         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51726         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51727         (SCHAR_MAX): Likewise.
51728         (UCHAR_MAX): Likewise.
51729         (CHAR_MIN): Likewise.
51730         (CHAR_MAX): Likewise.
51731         (MB_LEN_MAX): Use macro-int-constant.
51732         (SHRT_MIN): Use macro-int-constant.  Specify type.
51733         (SHRT_MAX): Likewise.
51734         (USHRT_MAX): Likewise.
51735         (INT_MAX): Likewise.
51736         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51737         bound negative.
51738         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51739         bound with "U".
51740         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51741         bound with "L".
51742         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51743         bound negative.  Suffix upper bound with "L".
51744         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51745         bound with "UL".
51746         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51747         Specify type.
51748         [C99-based standards] (LLONG_MAX): Likewise.
51749         [C99-based standards] (ULLONG_MAX): Likewise.
51750         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51751         == 0.
51752         [ISO11] (max_align_t): Require type.
51753         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51755         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51756         from $CFLAGS, without defining away __attribute__ calls.
51757         (checknamespace): Use $CFLAGS_namespace.
51759         * conform/conformtest.pl (@keywords): Only include C99 keywords
51760         for standards based on C99 or C11.
51762         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51763         Disable tests.
51764         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51765         UNIX98]: Likewise.
51767         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51768         usability of symbols in #if.
51770         * conform/conformtest.pl: If macro or constant types start
51771         "promoted:", expect the symbol to be of the following type
51772         promoted by the integer promotions.
51774         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51775         in one place.  Also handle "macro-constant".
51777         * conform/conformtest.pl: Only accept expected macro values with
51778         "==".  Parse all "macro" lines in one place.
51779         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51781         * conform/conformtest.pl: Handle braced types on "constant" lines
51782         instead of handling "typed-constant".
51783         * conform/data/signal.h-data: Use "constant" instead of
51784         "typed-constant".
51786         * conform/conformtest.pl: Handle "optional-" at start of lines in
51787         one place rather than duplicating several cases.  Handle each
51788         format of "macro" line with initial "optional-".
51790         * conform/conformtest.pl: Only accept expected constant or
51791         optional-constant values with "==".  Parse all "constant" lines in
51792         one place.  Parse all "optional-constant" lines in one place.
51793         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51794         * conform/data/fmtmsg.h-data: Likewise.
51795         * conform/data/netinet/in.h-data: Likewise.
51796         * conform/data/tar.h-data: Likewise.
51797         * conform/data/limits.h-data: Use "==" form on "constant" and
51798         "optional-constant" lines.
51800         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51801         Use -std=c99 for XOPEN2K.
51802         (@knownproblems): Remove.
51803         (newtoken): Don't check %isknown.
51805         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51806         Do not expect macro.
51807         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51808         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51809         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51810         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51811         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51812         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51813         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51814         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51815         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51816         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51817         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51818         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51819         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51820         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51821         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51822         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51823         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51824         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51825         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51826         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51827         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51828         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51829         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51830         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51831         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51832         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51833         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51834         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51835         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51836         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51837         [XPG3] (acosh): Likewise.
51838         [XPG3] (asinh): Likewise.
51839         [XPG3] (atanh): Likewise.
51840         [XPG3] (cbrt): Likewise.
51841         [XPG3] (expm1): Likewise.
51842         [XPG3] (ilogb): Likewise.
51843         [XPG3] (log1p): Likewise.
51844         [XPG3] (logb): Likewise.
51845         [XPG3] (nextafter): Likewise.
51846         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51847         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51848         [XPG3] (remainder): Likewise.
51849         [XPG3] (rint): Likewise.
51850         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51851         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51852         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51853         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51854         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51855         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51856         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51857         [UNIX98 || XOPEN2K] (scalb): Expect.
51858         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51859         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51860         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51861         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51862         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51863         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51864         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51865         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51866         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51867         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51868         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51869         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51870         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51871         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51872         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51873         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51874         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51875         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51876         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51877         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51878         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51879         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51880         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51881         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51882         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51883         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51884         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51885         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51886         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51887         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51888         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51889         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51890         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51891         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51892         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51893         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51894         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51895         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51896         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51897         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51898         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51899         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51900         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51901         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51902         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51903         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51904         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51905         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51906         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51907         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51908         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51909         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51910         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51911         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51912         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51913         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51914         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51915         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51916         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51917         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51918         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51919         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51920         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51921         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51922         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51923         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51924         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51925         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51926         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51927         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51928         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51929         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51930         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51931         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51932         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51933         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51934         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51935         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51936         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51937         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51938         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51939         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51940         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51941         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51942         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51943         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51944         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51945         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51946         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51947         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51948         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51949         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51950         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51951         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51952         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51953         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51954         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51955         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51956         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51957         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51958         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51959         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51960         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51961         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51962         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51963         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51964         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51965         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51966         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51967         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51968         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51969         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51970         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51971         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51972         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51973         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51974         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51975         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51976         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51977         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51978         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51979         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51980         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51981         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51982         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51983         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51984         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51985         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51986         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51987         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51988         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51989         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51990         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51991         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51992         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51993         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51994         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51996         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51997         _XOPEN_SOURCE_EXTENDED for XPG4.
51999         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
52001         * Makeconfig (localtime): Remove variable.
52002         (inst_localtime-file): Likewise.
52004 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
52007         Update.
52008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52009         Update.
52010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
52011         Update.
52012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52013         Update.
52014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
52015         Update.
52016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
52017         Update.
52018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52019         Update.
52020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
52021         Update.
52022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52023         Update.
52025 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
52027         [BZ #2550]
52028         [BZ #2570]
52029         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
52030         comparisons to determine direction to adjust input.
52031         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
52032         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
52033         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
52034         Likewise.
52035         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
52036         Likewise.
52037         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52038         Likewise.
52039         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
52040         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
52041         Likewise.
52042         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
52043         Likewise.
52044         * math/libm-test.inc (nexttoward_test): Add more tests.
52046 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52048         [BZ #14040]
52049         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
52050         in version GLIBC_2.1, not GLIBC_2.0.
52051         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
52052         Likewise.
52054 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
52056         [BZ #13942]
52057         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
52058         (1 - x) * (1 + x).
52059         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52060         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
52061         * math/libm-test.inc (acos_test): Add more tests.
52062         (asin_test): Likewise.
52063         * sysdeps/i386/fpu/libm-test-ulps: Update.
52064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52066         [BZ #14034]
52067         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
52068         of square root.
52069         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
52070         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52071         * math/libm-test.inc (acos_test_tonearest): New function.
52072         (acos_test_towardzero): Likewise.
52073         (acos_test_downward): Likewise.
52074         (acos_test_upward): Likewise.
52075         (asin_test_tonearest): Likewise.
52076         (asin_test_towardzero): Likewise.
52077         (asin_test_downward): Likewise.
52078         (asin_test_upward): Likewise.
52079         (main): Call the new functions.
52080         * sysdeps/i386/fpu/libm-test-ulps: Update.
52081         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52083         [BZ #13884]
52084         [BZ #13924]
52085         * math/e_exp10.c: Include <float.h>.
52086         (__ieee754_exp10): Handle underflow here rather than multiplying
52087         large negative argument by M_LN10.
52088         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
52089         of __ieee754_expf.
52090         * math/e_exp10l.c: Include <float.h>.
52091         (__ieee754_exp10l): Handle underflow here rather than multiplying
52092         large negative argument by M_LN10l.
52093         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
52094         spurious overflow exception on underflow.
52096 2012-04-29  Marek Polacek  <polacek@redhat.com>
52098         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
52099         (__fortify_function): New macro.
52100         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
52101         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
52102         __extern_always_inline.
52103         * libio/bits/stdio2.h: Likewise.
52104         * libio/bits/stdio.h: Likewise.
52105         * string/string.h: Likewise.
52106         * string/bits/string3.h: Likewise.
52107         * include/stdio.h: Likewise.
52108         * stdlib/bits/stdlib.h: Likewise.
52109         * stdlib/stdlib.h: Likewise.
52110         * rt/bits/mqueue2.h: Likewise.
52111         * rt/mqueue.h: Likewise.
52112         * posix/bits/unistd.h: Likewise.
52113         * posix/unistd.h: Likewise.
52114         * io/bits/poll2.h: Likewise.
52115         * io/bits/fcntl2.h: Likewise.
52116         * io/fcntl.h: Likewise.
52117         * io/sys/poll.h: Likewise.
52118         * misc/bits/syslog.h: Likewise.
52119         * misc/bits/syslog-ldbl.h: Likewise.
52120         * misc/sys/syslog.h: Likewise.
52121         * socket/bits/socket2.h: Likewise.
52122         * socket/sys/socket.h: Likewise.
52123         * debug/tst-chk1.c: Likewise.
52124         * wcsmbs/bits/wchar2.h: Likewise.
52125         * wcsmbs/bits/wchar-ldbl.h: Likewise.
52126         * wcsmbs/wchar.h: Likewise.
52128 2012-04-29  Andreas Jaeger  <aj@suse.de>
52130         * Makerules (tests): Remove enable-check-abi protection.
52131         (check-abi-warn): Remove.
52132         (check-abi-%): Remove check-abi-warn usage.
52134         * configure.in: Remove check-abi configure option.
52135         * configure: Regenerated.
52136         * config.make.in (enable-check-abi): Remove.
52138 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
52140         [BZ #14033]
52141         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
52142         double functions to double *_finite functions.
52144         [BZ #13941]
52145         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
52146         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
52147         LDBL_MIN_EXP.
52148         * stdio-common/Makefile (tests): Add tst-sprintf3.
52149         * stdio-common/tst-sprintf3.c: New file.
52151         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
52152         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
52154 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52156         * conform/conformtest.pl: Remove duplicate typed-constant
52157         handling.
52159 2012-04-28  David S. Miller  <davem@davemloft.net>
52161         * Makerules (%.abilist): Add vpath on sysdep_dirs.
52162         (check-abi-%): Remove AWK script prerequisite and explicit
52163         abilist directory.
52164         (check-abi): Rewrite to just diff the symlist with the abilist.
52165         (config-tls, config-abi-config): Delete, no longer used.
52166         (update-abi-%): Remove AWK script and explicit abilist directory.
52167         (update-abi): Rewrite to simply compare and conditionally copy the
52168         symlist and the sysdep abilist file.  Remove update-abi-config
52169         checks.
52170         * abilist/ld.abilist: Remove.
52171         * abilist/libBrokenLocale.abilist: Remove.
52172         * abilist/libanl.abilist: Remove.
52173         * abilist/libcrypt.abilist: Remove.
52174         * abilist/libdl.abilist: Remove.
52175         * abilist/librt.abilist: Remove.
52176         * abilist/libthread_db.abilist: Remove.
52177         * abilist/libutil.abilist: Remove.
52178         * scripts/extract-abilist.awk: Remove.
52179         * scripts/merge-abilist.awk: Remove.
52180         * sysdeps/generic/libcidn.abilist: New file.
52181         * sysdeps/generic/libnss_compat.abilist: New file.
52182         * sysdeps/generic/libnss_db.abilist: New file.
52183         * sysdeps/generic/libnss_dns.abilist: New file.
52184         * sysdeps/generic/libnss_files.abilist: New file.
52185         * sysdeps/generic/libnss_hesiod.abilist: New file.
52186         * sysdeps/generic/libnss_nis.abilist: New file.
52187         * sysdeps/generic/libnss_nisplus.abilist: New file.
52188         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
52189         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
52190         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
52191         file.
52192         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
52193         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
52194         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
52195         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
52196         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
52197         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
52198         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
52199         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
52200         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
52201         file.
52202         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
52203         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
52204         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
52205         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
52206         file.
52207         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
52208         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
52209         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
52210         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
52211         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
52212         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
52213         file.
52214         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
52215         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
52216         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
52217         file.
52218         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
52219         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
52220         New file.
52221         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
52222         New file.
52223         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
52224         New file.
52225         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
52226         New file.
52227         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
52228         New file.
52229         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
52230         New file.
52231         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
52232         New file.
52233         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
52234         New file.
52235         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
52236         New file.
52237         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
52238         New file.
52239         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
52240         New file.
52241         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
52242         New file.
52243         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
52244         New file.
52245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
52246         file.
52247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
52248         New file.
52249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
52250         New file.
52251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
52252         file.
52253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
52254         New file.
52255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
52256         New file.
52257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
52258         file.
52259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
52260         New file.
52261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52262         New file.
52263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
52264         New file.
52265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
52266         New file.
52267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
52268         New file.
52269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
52270         New file.
52271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
52272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
52273         file.
52274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
52275         New file.
52276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
52277         file.
52278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
52279         file.
52280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
52281         file.
52282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
52283         file.
52284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
52285         file.
52286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52287         New file.
52288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
52289         file.
52290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
52291         file.
52292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
52293         New file.
52294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
52295         file.
52296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
52297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
52298         file.
52299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
52300         New file.
52301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
52302         file.
52303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
52304         file.
52305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
52306         file.
52307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
52308         file.
52309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
52310         file.
52311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52312         New file.
52313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
52314         file.
52315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
52316         file.
52317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
52318         New file.
52319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
52320         file.
52321         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52322         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
52323         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
52324         file.
52325         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
52326         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
52327         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
52328         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
52329         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
52330         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
52331         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
52332         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
52333         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
52334         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
52335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
52336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
52337         file.
52338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
52339         New file.
52340         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
52341         file.
52342         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
52343         file.
52344         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
52345         file.
52346         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
52347         file.
52348         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
52349         file.
52350         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
52351         New file.
52352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
52353         New file.
52354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
52355         file.
52356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
52357         New file.
52358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
52359         file.
52360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
52361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
52362         file.
52363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
52364         New file.
52365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
52366         file.
52367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
52368         file.
52369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
52370         file.
52371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
52372         file.
52373         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
52374         file.
52375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
52376         New file.
52377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
52378         New file.
52379         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
52380         file.
52381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
52382         New file.
52383         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
52384         file.
52386 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52388         * conform/conformtest.pl: Fix typo in handling typed-constant from
52389         allow-header.
52391 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52393         * README: Cut down references to pre-2.6 Linux kernels and
52394         Linuxthreads.  Update lists of configurations in libc and ports
52395         and sort alphabetically.  Say "or newer" with Linux kernel version
52396         requirements.
52398         * config.h.in [IS_IN_build]: Allow compiling without optimization.
52400 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52402         [BZ #887]
52403         * math/libm-test.inc (logb_test_downward): New test to expose
52404         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
52405         rounding mode.
52407 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52409         [BZ #14027]
52410         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
52411         to be done.
52412         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
52413         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
52415 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
52417         * sysdeps/unix/i386/brk.S: Remove file.
52418         * sysdeps/unix/i386/dl-brk.S: Likewise.
52419         * sysdeps/unix/i386/pipe.S: Likewise.
52420         * sysdeps/unix/i386/sigreturn.S: Likewise.
52421         * sysdeps/unix/i386/syscall.S: Likewise.
52422         * sysdeps/unix/i386/vfork.S: Likewise.
52423         * sysdeps/unix/i386/wait.S: Likewise.
52425         * sysdeps/unix/common/tcsendbrk.c: Move to ...
52426         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
52428         * configure.in (arm*-none*): Do not allow without
52429         --enable-hacker-mode.
52430         (netbsd*): Remove case setting base_os.
52431         (386bsd*): Likewise.
52432         (freebsd*): Likewise.
52433         (bsdi*): Likewise.
52434         (osf*): Likewise.
52435         (sunos*): Likewise.
52436         (ultrix*): Likewise.
52437         (newsos*): Likewise.
52438         (dynix*): Likewise.
52439         (*bsd*): Likewise.
52440         (sysv*): Likewise.
52441         (isc*): Likewise.
52442         (esix*): Likewise.
52443         (sco*): Likewise.
52444         (minix*): Likewise.
52445         (irix4*): Likewise.
52446         (irix6*): Likewise.
52447         (solaris[2-9]*): Likewise.
52448         (none): Likewise.
52449         * configure: Regenerated.
52451 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52453         [BZ #11521]
52454         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
52455         overflow or cancellation in calculating denominator.
52456         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
52457         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
52458         down expression to avoid unexpected rounding in newer GCCs.
52459         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
52461 2012-04-26  David S. Miller  <davem@davemloft.net>
52463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
52464         long-double compat symbols.
52465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
52469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
52471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
52472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
52473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
52474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
52475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
52476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
52477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52479 2012-04-25  David S. Miller  <davem@davemloft.net>
52481         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
52482         HWCAP_* values only after the memory barriers have been defined.
52483         (atomic_full_barrier): Define.
52484         (atomic_read_barrier): Define.
52485         (atomic_write_barrier): Define.
52487 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52489         * shlib-versions: Add libgcc_s version information.
52490         * sysdeps/generic/libgcc_s.h: Remove.
52491         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
52492         libgcc_s.h.
52493         * sysdeps/gnu/unwind-resume.c: Likewise.
52494         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
52496 2012-04-25  David S. Miller  <davem@davemloft.net>
52498         * sysdeps/unix/sparc/brk.S: Delete.
52499         * sysdeps/unix/sparc/dl-brk.S: Delete.
52500         * sysdeps/unix/sparc/pipe.S: Delete.
52501         * sysdeps/unix/sparc/sysdep.S: Delete.
52502         * sysdeps/unix/sparc/sysdep.h: Delete.
52503         * sysdeps/unix/sparc/vfork.S: Delete.
52504         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
52505         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
52506         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
52507         (ret_ERRVAL, r0, r1, MOVE): Define.
52508         (JUMPTARGET): Remove.
52509         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
52510         sysdeps/unix/sparc/sysdep.h
52511         (ENTRY, END): Remove.
52512         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52514 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
52516         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
52517         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
52518         -DIS_IN_build.
52520         * timezone/README: Update upstream location and email address for
52521         tzcode and tzdata.
52522         * timezone/zdump.c: Update from tzcode 2012b.
52523         * timezone/zic.c: Likewise.
52525         * configure.in (libc_cv_as_needed): Remove test.
52526         * configure: Regenerated.
52527         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
52528         conditional definition.
52529         [$(have-as-needed) != yes] (no-as-needed): Likewise.
52530         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
52531         * config.make.in (have-as-needed): Remove variable.
52533 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52534             Paul Pluzhnikov  <ppluzhnikov@google.com>
52536         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
52537         strings correctly.
52539 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
52541         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
52542         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
52543         * sysdeps/sh/strlen.S: Likewise.
52545 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52547         * sysdeps/unix/fork.S: Remove file.
52548         * sysdeps/unix/i386/fork.S: Likewise.
52549         * sysdeps/unix/sparc/fork.S: Likewise.
52551         * sysdeps/unix/system.c: Remove file.
52552         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
52554         * sysdeps/unix/getegid.S: Remove file.
52555         * sysdeps/unix/geteuid.S: Likewise.
52557 2012-04-24  Roland McGrath  <roland@hack.frob.com>
52559         * scripts/check-localplt.awk: New file.
52560         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
52561         of diff.
52562         * scripts/data/localplt-generic.data: Add a comment.
52564         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
52565         NODE when __dir_mkfile failed.
52566         * sysdeps/mach/hurd/symlinkat.c: Likewise.
52567         Reported by Ludovic Courtès <ludo@gnu.org>.
52569 2012-04-24  Andreas Jaeger  <aj@suse.de>
52571         * Makerules (common-clean): Also remove gen-as-const-headers
52572         files.
52574 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52576         * Makerules (native-compile): Do not change working directory for
52577         build.  Use $(OUTPUT_OPTION) in command.
52578         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
52580 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52582         [BZ #13886]
52583         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
52584         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
52585         * math/libm-test.inc (floor_test): Add more tests.
52586         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
52588 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52590         * sysdeps/unix/getdents.c: Remove file.
52591         * sysdeps/unix/sysv/getdents.c: Likewise.
52592         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
52594         * sysdeps/unix/syscalls.list (madvise): Add syscall from
52595         sysdeps/unix/mman/syscalls.list.
52596         (mmap): Likewise.
52597         (mprotect): Likewise.
52598         (msync): Likewise.
52599         (munmap): Likewise.
52600         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52601         * sysdeps/unix/mman/syscalls.list: Remove.
52602         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52604         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52605         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52606         * configure: Regenerated.
52607         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52608         $(libgcc_s_suffix).
52609         * config.make.in (libgcc_s_suffix): Remove variable.
52611 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
52613         * sysdeps/unix/sysv/gethostname.c: Move to ...
52614         * sysdeps/posix/gethostname.c: ... here.
52616         * sysdeps/unix/execve.S: Remove file.
52618         * sysdeps/unix/_exit.S: Remove file.
52620 2012-04-23  Andreas Jaeger  <aj@suse.de>
52622         [BZ #13739]
52623         * manual/Makefile: Remove make dist support, there's no
52624         need for a stand-alone documentation tar ball.
52625         (TEXI2DVI): Define always, it's not in Makeconfig.
52626         (dist): Removed.
52627         (tar-it): Removed.
52628         (edition): Removed.
52629         (glibc-doc-$(edition).tar): Removed
52630         (%.Z): Removed.
52631         (%.gz): Removed.
52632         (%.uu): Removed.
52633         (ETAGS): Remove, it's in Makeconfig.
52634         (move-if-change): Remove, it's in Makeconfig.
52636 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
52638         [BZ #13970]
52639         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52640         (strtod, strtof, strtold, strtol, strtoul, strtoq)
52641         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52642         (strtod_l, strtof_l, strtold_l): Remove __wur.
52643         It is not necessarily an error to ignore strtol's return value.
52644         One can reliably look at the stored endptr to decide whether
52645         the number had valid syntax.
52647 2012-04-21  Andreas Jaeger  <aj@suse.de>
52649         [BZ #13739]
52650         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52652 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52654         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52655         * sysdeps/unix/sysv/Versions: Remove file.
52657 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52659         [BZ #13927]
52660         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52662 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52664         [BZ #7064]
52665         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52666         version from __vm86.
52668 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52670         * sysdeps/unix/common/lxstat.c: Remove file.
52671         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52673         * sysdeps/unix/sysv/Makefile: Remove file.
52675         * sysdeps/unix/sysv/direct.h: Remove file.
52677         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52678         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52679         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52680         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52681         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52682         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52683         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52685         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52687         * sysdeps/unix/xmknod.c: Remove file.
52688         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52690         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52692         * sysdeps/unix/sysv/i386/time.S: Remove file.
52694         * sysdeps/unix/fxstat.c: Remove file.
52695         * sysdeps/unix/xstat.c: Likewise.
52696         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52698         * sysdeps/unix/sysv/sigaction.c: Remove file.
52700         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52701         (sysdep_headers): Remove variable.
52702         [termio.h not in sysdep_headers] (generated): Likewise.
52703         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52704         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52705         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52706         * sysdeps/unix/sysv/tcflow.c: Likewise.
52707         * sysdeps/unix/sysv/tcflush.c: Likewise.
52708         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52709         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52710         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52711         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52712         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52714         * sysdeps/unix/siglist.c: Remove file.
52716         * sysdeps/unix/getppid.S: Remove file.
52718         * sysdeps/unix/mkdir.c: Remove file.
52719         * sysdeps/unix/rmdir.c: Likewise.
52721 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52723         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52724         ERR_MAX value.
52725         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52726         errlist-compat value.
52728 2012-04-18  David S. Miller  <davem@davemloft.net>
52730         * sysdeps/generic/memcopy.h (reg_char): Delete.
52731         * debug/strcat_chk.c: Use char, not reg_char.
52732         * debug/strcpy_chk.c: Likewise.
52733         * debug/strncat_chk.c: Likewise.
52734         * debug/strncpy_chk.c: Likewise.
52735         * string/memchr.c: Likewise.
52736         * string/memrchr.c: Likewise.
52737         * string/rawmemchr.c: Likewise.
52738         * string/strcat.c: Likewise.
52739         * string/strchr.c: Likewise.
52740         * string/strchrnul.c: Likewise.
52741         * string/strcmp.c: Likewise.
52742         * string/strcpy.c: Likewise.
52743         * string/strncat.c: Likewise.
52744         * string/strncmp.c: Likewise.
52745         * string/strncpy.c: Likewise.
52747 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52749         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52750         __builtin_memcopy is called when src and dest ranges are known to not
52751         overlap.
52753 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52755         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52756         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52757         fwd_align_merge macro call.
52758         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52759         bwd_align_merge macro call.
52760         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52762 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52764         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52765         bwd_align_merge macros.
52766         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52767         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52768         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52770 2012-04-18  David S. Miller  <davem@davemloft.net>
52772         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52774 2012-04-18  Andreas Jaeger  <aj@suse.de>
52776         [BZ# 6794]
52777         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52778         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52779         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52781         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52782         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52783         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52785         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52786         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52787         Adjust for changed ldbl-128 files.
52789         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52790         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52791         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52793 2012-04-17  David S. Miller  <davem@davemloft.net>
52795         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52797 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52799         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52800         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52801         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52802         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52803         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52804         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52806 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52808         [BZ #6794]
52809         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52810         * math/libm-test.inc: Add ilogb errno and exception tests.
52811         * math/w_ilogb.c: New file: ilogb wrapper.
52812         * math/w_ilogbf.c: New file: ilogbf wrapper.
52813         * math/w_ilogbl.c: New file: ilogbl wrapper.
52814         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52815         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52816         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52817         exception being thrown with 0.0 as argument.
52818         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52819         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52820         exception being thrown with 0.0 as argument.
52821         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52822         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52823         exception being thrown with 0.0 as argument.
52824         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52825         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52826         exception being thrown with 0.0 as argument.
52827         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52828         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52829         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52830         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52831         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52832         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52833         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52834         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52835         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52837 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52839         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52840         with altivec.
52842 2012-04-16  Marek Polacek  <polacek@redhat.com>
52844         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52846 2012-04-16  Marek Polacek  <polacek@redhat.com>
52848         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52849         operands of fdivp instruction.
52851 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52853         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52854         * elf/tst-auditmod3b.c: Likewise.
52855         * elf/tst-auditmod4b.c: Likewise.
52856         * elf/tst-auditmod5b.c: Likewise.
52857         * elf/tst-auditmod6b.c: Likewise.
52858         * elf/tst-auditmod6c.c: Likewise.
52859         * elf/tst-auditmod7b.c: Likewise.
52860         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52861         * sysdeps/x86_64/preconfigure.in: Likewise.
52862         * sysdeps/x86_64/preconfigure: Regenerated.
52864 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52866         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52867         __ILP32__.
52869 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52871         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52872         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52874 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52876         [BZ #13973]
52877         * locale/iso-639.def: Fix gl language name. Spotted by
52878         Yaron Shahrabani.
52880 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52882         [BZ #2074]
52883         * libio/libio.h (__io_write_fn): Update comment.
52885 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52887         [BZ #2074]
52888         * stdio.texi (Hook Functions): The user provided writer function
52889         is not allowed to return -1.
52891 2012-04-11  David S. Miller  <davem@davemloft.net>
52893         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52895 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52897         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52898         Add a leading slash to rtkaio.
52900 2012-04-11  Jim Meyering  <meyering@redhat.com>
52902         [BZ #11959]
52903         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52904         It is not necessarily an error to ignore fwrite's return
52905         value.  One can reliably use ferror to test for errors after
52906         the fact.
52908 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52910         * bits/types.h (__snseconds_t): New type.
52911         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52913         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52914         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52915         (__SNSECONDS_T_TYPE): Likewise.
52916         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52917         (__SNSECONDS_T_TYPE): Likewise.
52918         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52919         (__SNSECONDS_T_TYPE): Likewise.
52921 2012-04-10  Andreas Jaeger  <aj@suse.de>
52923         [BZ #2636]
52924         * manual/time.texi (Processor Time): Return type of times is
52925         elapsed real time since an arbitrary point in the past.
52926         (CPU Time): Move CLK_TCK from here...
52927         (Processor Time): ...to here.  Correct description.
52928         * manual/conf.texi (Constants for Sysconf): Correct description of
52929         _SC_CLK_TCK.
52931 2012-04-10  David S. Miller  <davem@davemloft.net>
52933         [BZ #13967]
52934         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52935         where the is a gap between DT_REL(A) and DT_JMPREL.
52937 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52939         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52940         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52941         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52943 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52945         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52946         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52947         (dl_main): Handle --inhibit-cache.
52948         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52949         _dl_inhibit_cache.
52950         * elf/dl-load.c (_dl_map_object): Use it.
52951         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52953 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52955         [BZ #13872]
52956         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52957         (__ieee754_powl): Saturate large exponents rather than testing for
52958         overflow of y*log2(x).
52959         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52960         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52961         exceptions.
52963         [BZ #11521]
52964         * math/s_ctan.c: Include <float.h>.
52965         (__ctan): Avoid internal overflow or cancellation in calculating
52966         denominator.
52967         * math/s_ctanf.c: Likewise.
52968         * math/s_ctanl.c: Likewise.
52969         * math/s_ctanh.c: Likewise.
52970         * math/s_ctanhf.c: Likewise.
52971         * math/s_ctanhl.c: Likewise.
52972         * math/libm-test.inc (ctan_test): Add more tests.
52973         (ctanh_test): Likewise.
52974         * sysdeps/i386/fpu/libm-test-ulps: Update.
52975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52977 2012-04-09  Andreas Jaeger  <aj@suse.de>
52979         [BZ #6894]
52980         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52981         is an optional BSD extension.
52983         [BZ #10254]
52984         * manual/stdio.texi (Opening Streams): Document additional fopen
52985         parameters.
52987 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52989         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52990         %eax without telling the compiler.
52992 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52994         [BZ # 13963]
52995         * manual/install.texi: Use sourceware.org.
52997 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52999         [BZ #13873]
53000         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
53001         (__ieee754_pow): Generate overflow and underflow using huge*huge
53002         and tiny*tiny rather than just returning constant infinity or zero
53003         for large exponents.
53004         * math/libm-test.inc (pow_test): Require overflow exceptions for
53005         applicable cases of large exponents.
53007         [BZ #706]
53008         * sysdeps/i386/fpu/e_pow.S (p10): New object.
53009         (__ieee754_pow): Use iterative multiplication algorithm only for
53010         integer exponents with absolute value below 1024.  Check for odd
53011         integer exponents when using algorithm for real exponents.
53012         * math/libm-test.inc (pow_test): Add more tests.
53013         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53015 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
53017         [BZ #13705]
53018         * math/libm-test.inc (exp_test): Do not allow overflow exception
53019         on underflow test.
53021 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
53023         [BZ #13705]
53024         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
53025         instead of __kernel_standard_f.
53027 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
53029         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
53030         * sysdeps/x86_64/memset_chk.S: Likewise.
53032 2012-04-08  Andreas Jaeger  <aj@suse.de>
53034         [BZ #10153]
53035         * manual/startup.texi (Environment Access): Describe return value
53036         for putenv and setenv.
53038         [BZ #6895]
53039         * manual/filesys.texi (Directory Entries): Add description for
53040         DT_LNK.
53042         [BZ #6890]
53043         * manual/filesys.texi (Directory Entries): Clarify that it's file
53044         system not operating system in the description of DT_UNKNOWN.
53046         [BZ #6578]
53047         * manual/syslog.texi (closelog): Fix reference, it's openlog.
53049 2012-04-08  Stephen Compall  <s11@member.fsf.org>
53051         [BZ #6649]
53052         * manual/llio.texi (Opening and Closing Files): Add cross
53053         reference to explain mode argument.
53055 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
53057         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
53058         * sysdeps/x86_64/memset_chk.S: Likewise.
53060 2012-04-07  David S. Miller  <davem@davemloft.net>
53062         * elf/elf.h (R_SPARC_WDISP10): Define.
53063         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
53064         R_SPARC_SIZE32.
53065         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
53066         R_SPARC_SIZE64 and R_SPARC_H34.
53068 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
53070         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
53071         conditions and remove no longer applicable assertion.
53073 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53075         * bits/byteswap.h: Include <features.h>.
53076         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53077         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53079 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53081         * bits/byteswap.h (__bswap_16): Removed.
53082         Include <bits/byteswap-16.h> to get __bswap_16.
53083         * sysdeps/i386/bits/byteswap.h: Likewise.
53084         * sysdeps/s390/bits/byteswap.h: Likewise.
53085         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53086         * bits/byteswap-16.h: New file.
53087         * sysdeps/i386/bits/byteswap-16.h: Likewise.
53088         * sysdeps/s390/bits/byteswap-16.h: Likewise.
53089         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
53090         * string/Makefile (headers): Add bits/byteswap-16.h.
53092 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53094         [BZ #13895]
53095         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
53096         extra indirection.
53097         * nss/Makefile (tests-static, tests): Add tst-nss-static.
53098         * nss/tst-nss-static.c: New.
53100 2012-04-06  Robert Millan  <rmh@gnu.org>
53102         [BZ #6486]
53103         * manual/llio.texi (File Position Primitive): lseek
53104         refers to WHENCE when it really means OFFSET.
53106 2012-04-06  Andreas Jaeger  <aj@suse.de>
53108         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
53109         strncmp declarations.
53111         * abilist/libc.abilist: Add __poll and __ppoll.
53113 2012-04-05  David S. Miller  <davem@davemloft.net>
53115         * scripts/check-local-headers.sh: Accept a host triplet in the
53116         path matched by the exclude regexp.
53118         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
53119         definition.
53120         * sysdeps/powerpc/powerpc32/dl-machine.h
53121         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
53122         * sysdeps/s390/s390-32/dl-machine.h
53123         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53124         * sysdeps/sparc/sparc32/dl-machine.h
53125         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53126         * sysdeps/sparc/sparc64/dl-machine.h
53127         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53129         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
53130         lazy binding.
53131         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
53132         undefined symbol errors.
53134         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
53135         DT_NEEDED entries.
53137 2012-04-05  Michael Matz  <matz@suse.de>
53139         [BZ #13592]
53140         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
53142 2012-04-05  Andreas Jaeger  <aj@suse.de>
53144         [BZ #13908]
53145         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
53146         comment.
53148 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53150         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
53151         which ROUND is no valid rounding mode.
53153 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53155         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
53156         read again.
53157         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
53159 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53161         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
53162         an exception using FPU order intentionally.
53164 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53166         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
53167         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
53168         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
53169         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
53171 2012-04-05  Simon Josefsson  <simon@josefsson.org>
53173         [BZ #12340]
53174         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
53175         EINVAL when BUFLEN is too smal.
53177 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53179         [BZ #13553]
53180         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
53181         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
53183 2012-04-03  Andreas Jaeger  <aj@suse.de>
53185         [BZ #13938]
53186         * manual/setjmp.texi (System V contexts): Fix sentence.
53188         [BZ #13926]
53189         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
53190         New macro for this case.
53191         [!__GNUC__] (__bswap_64): New inline function for this case.
53192         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53193         * bits/byteswap.h: Likewise.
53194         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
53195         ull, guard with __GLIBC_HAVE_LONG_LONG.
53197         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
53198         __GLIBC_HAVE_LONG_LONG.
53200         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
53201         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
53203 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53205         [BZ #13691]
53206         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
53207         inptr and inend, rather than using last_ch.
53209 2012-04-02  David S. Miller  <davem@davemloft.net>
53211         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
53212         * stdio-common/printf-parse.h (read_int): Change return type to
53213         'int', return -1 on INT_MAX overflow.
53214         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
53215         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
53216         overflows INT_MAX.  Check for overflow of in-format-string precision
53217         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
53218         SIZE_MAX not INT_MAX for integer overflow test.
53219         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
53220         skip the construct in the format string but do not record anything.
53221         * stdio-common/bug22.c: Adjust to test both width/prevision
53222         INT_MAX overflow as well as total length INT_MAX overflow.  Check
53223         explicitly for proper errno values.
53225 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53227         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
53228         CHAR_MAX.
53229         * string/test-strcmp.c [! WIDE]: Likewise.
53230         * time/tst-mktime2.c: Likewise for INT_MAX.
53231         * string/test-string.h: #include <sys/param.h> for MIN.
53233         * csu/init-first.c (__libc_init_first): Call __ctype_init.
53234         * sysdeps/i386/init-first.c (init): Likewise.
53235         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
53236         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
53237         * sysdeps/sh/init-first.c (init): Likewise.
53239 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
53241         * po/ru.po: Update from translation team.
53242         * po/vi.po: Likewise.
53244 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53246         * resolv/nss_dns/dns-host.c: Merge copyright years.
53248 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53250         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53251         Optimize memcpy with prefetch if
53252         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
53253         src, dst pointers have unequal 16 byte alignments.
53255 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53257         [BZ #13928]
53258         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
53259         from a CNAME entry and return the minimum ttl for the query.
53260         (gaih_getanswer_slice): Likewise.
53262 2012-03-30  Jeff Law  <law@redhat.com>
53264         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
53265         due to long keys.
53266         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
53267         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
53269         * resolv/nss_dns/dns-host.c: Update copyright year.
53271 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
53273         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
53274         requests to save a system call.  Fix check that all bytes are sent.
53276         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
53277         comments for sendmmsg.
53279 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53281         [BZ #13691]
53282         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
53283         with only 1 character between 0x0041 and 0x01b0.
53284         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
53285         * wcsmbs/tst-mbsnrtowcs.c: New file.
53287 2012-03-29  David S. Miller  <davem@davemloft.net>
53289         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
53290         small copies by hand.
53292 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53294         [BZ #13761]
53295         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
53296         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
53297         group memberships.
53299 2012-03-28  David S. Miller  <davem@davemloft.net>
53301         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
53302         that branches into memcpy.
53303         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
53304         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
53305         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53306         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
53307         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
53308         bits.
53309         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
53310         implementation too.
53311         * sysdeps/sparc/mempcpy.S: New file.
53313         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
53314         the IFUNC routine in the libc case.
53315         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53317         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
53318         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
53319         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
53320         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
53321         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
53322         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
53323         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
53324         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
53326         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
53327         loop to 256 bytes instead of 64 bytes and fix test signedness.
53329         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
53330         * sysdeps/sparc/sparc32/Makefile: rather than here...
53331         * sysdeps/sparc/sparc64/Makefile: and here.
53333 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
53335         * malloc/mallocbug.c: Avoid warnings about unused variables.
53337 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53339         [BZ #13760]
53340         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
53341         in the right place. Discard and retry query if response is
53342         larger than input buffer size.
53344 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
53346         [BZ #369]
53347         [BZ #2678]
53348         [BZ #3866]
53349         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
53350         x for large integer exponent.
53351         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
53352         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
53353         sign of result as needed afterwards.
53354         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
53355         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
53356         result for underflowing pow the same as for overflow.
53357         (__kernel_standard_l): Handle powl overflow and underflow here
53358         rather than calling __kernel_standard.
53359         * math/libm-test.inc (pow_test): Add more tests.
53361         [BZ #3868]
53362         [BZ #13879]
53363         [BZ #13910]
53364         [BZ #13911]
53365         [BZ #13912]
53366         [BZ #13913]
53367         [BZ #13915]
53368         [BZ #13916]
53369         [BZ #13917]
53370         [BZ #13918]
53371         [BZ #13919]
53372         [BZ #13920]
53373         [BZ #13921]
53374         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
53375         * sysdeps/ieee754/k_standard.c: Include <float.h>.
53376         (__kernel_standard_l): New function.
53377         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
53378         __kernel_standard.
53379         * math/w_acosl.c (__acosl): Likewise.
53380         * math/w_asinl.c (__asinl): Likewise.
53381         * math/w_atan2l.c (__atan2l): Likewise.
53382         * math/w_atanhl.c (__atanhl): Likewise.
53383         * math/w_coshl.c (__coshl): Likewise.
53384         * math/w_exp10l.c (__exp10l): Likewise.
53385         * math/w_exp2l.c (__exp2l): Likewise.
53386         * math/w_fmodl.c (__fmodl): Likewise.
53387         * math/w_hypotl.c (__hypotl): Likewise.
53388         * math/w_j0l.c (__j0l, __y0l): Likewise.
53389         * math/w_j1l.c (__j1l, __y1l): Likewise.
53390         * math/w_jnl.c (__jnl, __ynl): Likewise.
53391         * math/w_lgammal.c (__lgammal): Likewise.
53392         * math/w_log10l.c (__log10l): Likewise.
53393         * math/w_log2l.c (__log2l): Likewise.
53394         * math/w_logl.c (__logl): Likewise.
53395         * math/w_powl.c (__powl): Likewise.
53396         * math/w_remainderl.c (__remainderl): Likewise.
53397         * math/w_scalbl.c (sysv_scalbl): Likewise.
53398         * math/w_sinhl.c (__sinhl): Likewise.
53399         * math/w_sqrtl.c (__sqrtl): Likewise.
53400         * math/w_tgammal.c (__tgammal): Likewise.
53401         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
53402         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
53403         * math/libm-test.inc (acos_test): Add more tests.
53404         (acosh_test): Likewise.
53405         (asin_test): Likewise.
53406         (atanh_test): Likewise.
53407         (exp_test): Likewise.
53408         (exp10_test): Likewise.
53409         (exp2_test): Likewise.
53410         (expm1_test): Likewise.
53411         (lgamma_test): Likewise.
53412         (log_test): Likewise.
53413         (log10_test): Likewise.
53414         (log1p_test): Likewise.
53415         (log2_test): Likewise.
53416         (pow_test): Do not allow some spurious overflow exceptions.
53417         (sqrt_test): Add more tests.
53418         (tgamma_test): Likewise.
53419         (y0_test): Likewise.
53420         (y1_test): Likewise.
53421         (yn_test): Likewise.
53423 2012-03-27  Anton Blanchard  <anton@samba.org>
53425         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
53426         MAP_HUGETLB.
53427         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53428         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53429         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53431 2012-03-27  David S. Miller  <davem@davemloft.net>
53433         * conform/Makefile: Run run-conformtest.sh using $(BASH).
53435         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
53436         have-as-vis3 check.
53438 2012-03-27  Andreas Jaeger  <aj@suse.de>
53440         * sysdeps/x86_64/elf/configure.in: Moved to ...
53441         * sysdeps/x86_64/configure.in: ... here.
53442         * sysdeps/x86_64/elf/start.S: Moved to ...
53443         * sysdeps/x86_64/start.S: ... here.
53444         * sysdeps/x86_64/elf/configure: Delete.
53446         * sysdeps/x86_64/configure.in: Merge contents from
53447         sysdeps/i386/configure.in (without i686 check).
53449         * sysdeps/i386/elf/Versions: Merge into ...
53450         * sysdeps/i386/Versions: ... this.
53451         * sysdeps/i386/elf/Versions: Delete file.
53452         * sysdeps/i386/elf/start.S: Moved to ...
53453         * sysdeps/i386/start.S: ...here.
53454         * sysdeps/i386/elf/configure.in: Merge into...
53455         * sysdeps/i386/configure.in: ...here.
53456         * sysdeps/i386/elf/configure.in: Delete file.
53457         * sysdeps/i386/elf/configure: Delete file.
53459         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
53460         * debug/backtracesyms.c: ... here.
53461         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
53462         * debug/backtracesymsfd.c: ... here.
53463         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
53464         * sysdeps/generic/ifunc-sel.h: ... here.
53466         * sysdeps/unix/i386/start.c: Delete file.
53467         * sysdeps/unix/sparc/start.c: Delete file.
53468         * sysdeps/unix/start.c: Delete file.
53470         * sysdeps/sh/elf/configure.in: Moved to ...
53471         * sysdeps/sh/configure.in: ... here.
53472         * sysdeps/sh/elf/start.S: Moved to ...
53473         * sysdeps/sh/start.S: ... here.
53474         * sysdeps/sh/elf/configure: Delete file.
53476         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
53477         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
53478         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
53479         * sysdeps/powerpc/powerpc64/entry.h: ... here.
53480         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
53481         * sysdeps/powerpc/powerpc64/start.S: here.
53482         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
53483         * sysdeps/powerpc/powerpc64/Makefile: ... this.
53484         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
53485         * sysdeps/powerpc/powerpc64/configure.in: ... this.
53486         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
53488         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
53489         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
53490         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
53491         * sysdeps/powerpc/powerpc32/start.S: ... here.
53492         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
53493         * sysdeps/powerpc/powerpc32/configure.in: ... this.
53494         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
53496         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
53497         * sysdeps/powerpc/ifunc-sel.h: ... here.
53498         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
53499         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
53501         * sysdeps/sparc/elf/configure.in: Moved to ...
53502         * sysdeps/sparc/configure.in: ... here.
53503         * sysdeps/sparc/elf/configure: Delete file.
53504         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
53505         * sysdeps/sparc/sparc32/start.S: ... here.
53506         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
53507         * sysdeps/sparc/sparc64/start.S: ... here.
53508         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
53509         * sysdeps/sparc/sparc32/Makefile: ... this.
53510         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
53511         * sysdeps/sparc/sparc64/Makefile: ... this.
53513         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
53514         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
53515         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
53516         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
53517         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
53518         * sysdeps/s390/s390-32/setjmp.S: ... here.
53519         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
53520         * sysdeps/s390/s390-32/configure.in: ... here.
53521         * sysdeps/s390/s390-32/elf/configure: Delete file.
53522         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
53523         * sysdeps/s390/s390-32/start.S: ... here.
53525         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
53526         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
53527         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
53528         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
53529         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
53530         * sysdeps/s390/s390-64/setjmp.S: ... here.
53531         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
53532         * sysdeps/s390/s390-64/configure.in: ... here
53533         * sysdeps/s390/s390-64/elf/configure: Delete file.
53534         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
53535         * sysdeps/s390/s390-64/start.S: ... here.
53536         * sysdeps/s390/s390-64/elf/configure: Delete.
53538         * configure.in: Remove support for elf directories in sysdeps.
53540         * configure: Regenerated.
53541         * sysdeps/i386/configure: Regenerated.
53542         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53543         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53544         * sysdeps/s390/s390-32/configure: Regenerated.
53545         * sysdeps/s390/s390-64/configure: Regenerated.
53546         * sysdeps/sh/configure: Regenerated.
53547         * sysdeps/sparc/configure: Regenerated.
53548         * sysdeps/x86_64/configure: Regenerated.
53550 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
53552         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53554         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
53555         denormal result into account.
53557 2012-03-25  Roland McGrath  <roland@hack.frob.com>
53559         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
53560         Reported by Allan McRae <allan@archlinux.org>.
53562 2012-03-23  Jeff Law  <law@redhat.com>
53564         * nss/getnssent.c (__nss_getent): Fix typo.
53566 2012-03-23  David S. Miller  <davem@davemloft.net>
53568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53570 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
53572         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
53573         to pad to uint64_t for each field.
53574         (dl_tls_index): Replace unsigned long with uint64_t.
53576 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
53577         Paul Pluzhnikov  <ppluzhnikov@google.com>
53579         [BZ #6528]
53580         * grp/Makefile (otherlibs): Don't set it.
53581         * inet/Makefile (otherlibs): Likewise.
53582         * login/Makefile (otherlibs): Likewise.
53583         * nscd/Makefile (otherlibs): Likewise.
53584         * posix/Makefile (otherlibs): Likewise.
53585         * pwd/Makefile (otherlibs): Likewise.
53586         * rt/Makefile (otherlibs): Likewise.
53587         * sunrpc/Makefile (otherlibs): Likewise.
53588         * nss/Makefile (otherlibs): Likewise.
53589         Add libnss_files to routines and static-only-routines.
53590         ($(objpfx)getent): Remove rule.
53591         * resolv/Makefile: Add libnss_dns and libresolv to routines and
53592         static-only-routines.
53594 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53596         [BZ #13892]
53597         * math/s_cexp.c: Include <float.h>.
53598         (__cexp): Handle exp result overflowing not necessarily
53599         overflowing both real and imaginary parts of result.
53600         * math/s_cexpf.c: Likewise.
53601         * math/s_cexpl.c: Likewise.
53602         * math/libm-test.inc (cexp_test): Add more tests.
53603         * sysdeps/i386/fpu/libm-test-ulps: Update.
53604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53606 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53608         * include/link.h (ELFW): New macro.
53609         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53610         Replace ELF64_R_TYPE with ELFW(R_TYPE).
53612 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53614         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53615         with uint64_t.
53617 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53619         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53620         declaration.
53621         (struct La_x32_retval): Likewise.
53623 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53625         * sysdeps/x86_64/preconfigure.in: New file.
53626         * sysdeps/x86_64/preconfigure: New generated file.
53628 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53630         [BZ #13824]
53631         * math/e_exp2l.c: Include <float.h>.
53632         (__ieee754_exp2l): Handle overflow and underflow cases
53633         separately.  Only pass fractional part of argument to
53634         __ieee754_expl.
53635         * math/libm-test.inc (exp2_test): Add more tests.
53637         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53638         negating x to take absolute value.
53639         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53640         Likewise.
53641         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53642         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53643         Likewise.
53644         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53645         computing low part if x was negated.
53646         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53648 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53650         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53651         la_x32_gnu_pltexit.
53652         (pltexit): Cast int_retval to ptrdiff_t.
53653         * elf/tst-auditmod3b.c: Likewise.
53654         * elf/tst-auditmod4b.c: Likewise.
53655         * elf/tst-auditmod5b.c: Likewise.
53656         * elf/tst-auditmod6b.c: Likewise.
53657         * elf/tst-auditmod6c.c: Likewise.
53658         * elf/tst-auditmod7b.c: Likewise.
53660         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53661         and x32_gnu_pltexit.
53663         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53664         __ELF_NATIVE_CLASS.
53665         (La_x32_regs): New macro.
53666         (La_x32_retval): Likewise.
53667         (la_x32_gnu_pltenter): New function prototype.
53668         (la_x32_gnu_pltexit): Likewise.
53670 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53672         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53673         exponent.
53675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53677         * configure.in (libc_cv_cc_nofma): Check for option to disable
53678         generation of FMA instructions.
53679         * configure: Regenerate.
53680         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53681         * sysdeps/ieee754/dbl-64/Makefile: New file.
53682         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53683         Remove brandred-fma4.
53684         (CFLAGS-brandred-fma4.c): Remove.
53685         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53686         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53687         define.
53688         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53689         define.
53691 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53693         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53694         LLONG_MAX != LONG_MAX.
53695         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53696         (_fitoa_word): Likewise.
53697         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53698         LLONG_MAX != LONG_MAX.
53699         * stdio-common/_itowa.h: Include <_itoa.h>.
53700         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53701         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53702         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53703         only if not defined.
53704         (_ITOA_WORD_TYPE): Likewise.
53705         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53706         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53708 2012-03-21  David S. Miller  <davem@davemloft.net>
53710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53712 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53714         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53715         of x86_64 when setting libc_cv_slibdir, libdir and
53716         libc_cv_localedir.
53717         * sysdeps/unix/sysv/linux/configure: Regenerated.
53719 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53721         * manual/lang.texi (Old Varargs): Remove section.
53722         (How Variadic): Update menu.
53723         (va_start): Do not mention varargs.h.
53725 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53726             Joseph Myers  <joseph@codesourcery.com>
53728         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53729         link test.
53730         * configure: Regenerated.
53732 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53734         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53735         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53736         conformtest.pl
53738 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53740         * NOTES: Remove.
53741         * Makefile (files-for-dist): Remove NOTES.
53742         (NOTES): Remove rule.
53743         * README: Don't refer to NOTES.
53744         * manual/creature.texi: Don't include macros.texi.
53745         * manual/intro.texi (creature.texi): Remove comment referring to
53746         NOTES.
53748         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53749         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53750         * configure: Regenerated.
53751         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53752         LIBC_TRY_CC_OPTION.
53753         (libc_cv_as_i686): Likewise.
53754         (libc_cv_cc_avx): Likewise.
53755         (libc_cv_cc_sse2avx): Likewise.
53756         (libc_cv_cc_fma4): Likewise.
53757         (libc_cv_cc_novzeroupper): Likewise.
53758         * sysdeps/i386/configure: Regenerated.
53760         [BZ #13883]
53761         * sysdeps/i386/fpu/s_cexp.S: Remove.
53762         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53763         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53764         * math/libm-test.inc (cexp_test): Add more tests.
53765         * sysdeps/i386/fpu/libm-test-ulps: Update.
53766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53768 2012-03-21  Allan McRae  <allan@archlinux.org>
53770         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53772 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53774         [BZ #13871]
53775         * math/w_exp2.c: Do not include <float.h>.
53776         (o_threshold, u_threshold): Remove.
53777         (__exp2): Calculate result before checking finiteness and calling
53778         __kernel_standard.
53779         * math/w_exp2f.c: Likewise.
53780         * math/w_exp2l.c: Likewise.
53781         * math/libm-test.inc (exp2_test): Require overflow exception for
53782         1e6 input.
53784         [BZ #3866]
53785         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53786         range of signed 64-bit integers before using fistpll.  Remove
53787         checks for whether integers fit in mantissa bits.
53788         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53789         the range of signed 32-bit integers before using fistpl.  Remove
53790         checks for whether integers fit in mantissa bits.
53791         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53792         (__ieee754_powl): Test for y outside the range of signed 64-bit
53793         integers before using fistpll.  Reduce 64-bit values to 63-bit
53794         ones as needed.
53795         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53796         divide-by-zero is raised for zero to large negative powers.
53797         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53798         (__ieee754_powl): Test for y outside the range of signed 64-bit
53799         integers before using fistpll.  Reduce 64-bit values to 63-bit
53800         ones as needed.
53801         * math/libm-test.inc (pow_test): Add more tests.
53803 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53805         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53806         <stdio-common/_itoa.h>.
53807         * debug/segfault.c: Likewise.
53808         * elf/dl-cache.c: Likewise.
53809         * elf/dl-minimal.c: Likewise.
53810         * elf/dl-misc.c: Likewise.
53811         * elf/dl-sysdep.c: Likewise.
53812         * elf/dl-version.c: Likewise.
53813         * elf/rtld.c: Likewise.
53814         * hurd/hurdsock.c: Likewise.
53815         * hurd/lookup-retry.c: Likewise.
53816         * malloc/malloc.c: Likewise.
53817         * malloc/mtrace.c: Likewise.
53818         * nscd/nscd_getgr_r.c: Likewise.
53819         * nscd/nscd_getpw_r.c: Likewise.
53820         * nscd/nscd_getserv_r.c: Likewise.
53821         * posix/getopt_init.c: Likewise.
53822         * posix/wordexp.c: Likewise.
53823         * stdio-common/_itoa.c: Likewise.
53824         * stdio-common/printf_fphex.c: Likewise.
53825         * stdio-common/vfprintf.c: Likewise.
53826         * string/_strerror.c: Likewise.
53827         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53828         * sysdeps/i386/i686/hp-timing.h: Likewise.
53829         * sysdeps/mach/_strerror.c: Likewise.
53830         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53831         * sysdeps/mach/hurd/sethostid.c: Likewise.
53832         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53833         * sysdeps/mach/xpg-strerror.c: Likewise.
53834         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53835         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53836         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53837         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53838         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53839         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53840         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53841         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53842         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53843         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53844         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53845         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53846         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53847         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53848         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53849         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53850         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53851         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53852         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53853         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53854         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53856         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53858         * stdio-common/_itoa.h: Moved to ...
53859         * sysdeps/generic/_itoa.h: Here.
53861         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53863         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53864         instead of "_itoa.h" and "_itowa.h".
53865         * stdio-common/vfprintf.: Likewise.
53867 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53869         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53870         <bits/wordsize.h>.
53871         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53872         (__signbit): Likwise.
53873         (llrintf): Likwise.
53874         (llrint): Likwise.
53876 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53878         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53879         __WORDSIZE != 64.
53881 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53883         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53884         OVERFLOW_EXCEPTION_OK.
53885         * math/libm-test.inc ("Philosophy"): Update comment about
53886         exception testing.
53887         (OVERFLOW_EXCEPTION): Define.
53888         (OVERFLOW_EXCEPTION_OK): Likewise.
53889         (INVALID_EXCEPTION_OK): Renumber.
53890         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53891         (IGNORE_ZERO_INF_SIGN): Likewise.
53892         (test_exceptions): Handle FE_OVERFLOW.
53893         (exp10_test): Expect overflow exceptions.
53894         (exp2_test): Likewise.
53895         (expm1_test): Likewise.
53896         (nextafter_test): Likewise.
53897         (pow_test): Likewise.
53898         (scalbn_test): Likewise.
53899         (scalbln_test): Likewise.
53901 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53903         * sysdeps/x86_64/bits/atomic.h
53904         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53905         64bit integer.
53906         (atomic_exchange_acq): Likewise.
53907         (__arch_exchange_and_add_body): Likewise.
53908         (__arch_add_body): Likewise.
53909         (atomic_add_negative): Likewise.
53910         (atomic_add_zero): Likewise.
53912 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53914         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53915         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53917 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53919         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53920         Check __x86_64__ instead of __WORDSIZE.
53922 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53924         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53926 2012-03-19  David S. Miller  <davem@davemloft.net>
53928         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53930         * sysdeps/sparc/fpu/fenv_private.h: New file.
53931         * sysdeps/sparc/fpu/math_private.h: Use it.
53932         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53933         Remove.
53934         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53935         (libc_feholdexcept_setroundl): Remove.
53936         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53937         Remove.
53938         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53939         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53941 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53943         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53944         int64_t instead of long int.
53945         (INSERT_WORDS64): Likwise.
53947 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53949         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53950         _Unwind_GetCFA return to _Unwind_Ptr first.
53952 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53954         [BZ #13629]
53955         * math/s_clog.c: Include <float.h>.
53956         (__clog): Scale large or subnormal inputs.
53957         * math/s_clogf.c: Likewise.
53958         * math/s_clogl.c: Likewise.
53959         * math/s_clog10.c: Include <float.h>.
53960         (M_LOG10_2): Define.
53961         (__clog10): Scale large or subnormal inputs.
53962         * math/s_clog10f.c: Likewise.
53963         * math/s_clog10l.c: Likewise.
53964         * math/libm-test.inc (clog_test): Add more tests.
53965         (clog10_test): Likewise.
53966         * sysdeps/i386/fpu/libm-test-ulps: Update.
53967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53969         [BZ #11451]
53970         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53971         x and y.
53972         * math/libm-test.inc (atan2_test): Add another test.
53974         * Makerules (common-objdir-compile): Remove.
53975         * sysdeps/unix/Makefile (config-generated): Do not add
53976         $(unix-generated) to variable.
53977         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53978         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53979         Remove rule.
53980         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53981         Likewise.
53982         [generic bits/local_lim.h] (before-compile): Do not append to
53983         variable.
53984         [generic bits/local_lim.h] (common-generated): Likewise.
53985         [generic sys/param.h] (before-compile): Do not append to variable.
53986         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53987         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53988         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53989         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53990         include.
53991         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53992         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53993         [generic sys/param.h] ($(addprefix
53994         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53995         [generic sys/param.h] (common-generated): Do not append to
53996         variable.
53997         [generic sys/param.h] (sysdep_headers): Likewise.
53998         [generic bits/errno.h] (before-compile): Do not append to
53999         variable.
54000         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
54001         rule.
54002         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
54003         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
54004         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
54005         [generic bits/errno.h] (common-generated): Do not append to
54006         variable.
54007         [generic bits/ioctls.h] (before-compile): Do not append to
54008         variable.
54009         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
54010         rule.
54011         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
54012         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
54013         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
54014         rule.
54015         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
54016         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
54017         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
54018         [generic bits/ioctls.h] (common-generated): Do not append to
54019         variable.
54020         [generic sys/syscall.h] (syscall.h): Remove variable.
54021         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
54022         rule.
54023         [generic sys/syscall.h] (before-compile): Do not append to
54024         variable.
54025         [generic sys/syscall.h] (common-generated): Likewise.
54026         * sysdeps/unix/errnos-tmpl.c: Remove file.
54027         * sysdeps/unix/errnos.awk: Likewise.
54028         * sysdeps/unix/ioctls-tmpl.c: Likewise.
54029         * sysdeps/unix/ioctls.awk: Likewise.
54030         * sysdeps/unix/mk-local_lim.c: Likewise.
54031         * sysdeps/unix/snarf-ioctls: Likewise.
54033 2012-03-19  Richard Henderson  <rth@twiddle.net>
54035         * sysdeps/i386/fpu/fenv_private.h: New file.
54036         * sysdeps/i386/fpu/math_private.h: Use it.
54037         (math_opt_barrier, math_force_eval): Remove.
54038         (libc_feholdexcept_setround_53bit): Remove.
54039         (libc_feupdateenv_53bit): Remove.
54040         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54041         (math_opt_barrier, math_force_eval): Remove.
54042         (libc_feholdexcept): Remove.
54043         (libc_feholdexcept_setround): Remove.
54044         (libc_fetestexcept, libc_fesetenv): Remove.
54045         (libc_feupdateenv_test): Remove.
54046         (libc_feupdateenv, libc_feholdsetround): Remove.
54047         (libc_feresetround): Remove.
54049         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
54050         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
54052         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
54053         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
54054         (libc_feupdateenv_testl): New.
54055         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
54056         (libc_feupdateenv_testf): New.
54057         (libc_feupdateenv): Use libc_feupdateenv_test.
54058         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
54059         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
54061         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
54062         (libc_feholdsetroundf, libc_feholdsetroundl): New.
54063         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
54064         (libc_feresetround_noex): New.
54065         (libc_feresetround_noexf): New.
54066         (libc_feresetround_noexl): New.
54067         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
54068         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
54069         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
54070         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
54071         SET_RESTORE_ROUND.
54072         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54073         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
54074         (__cos): Likewise.
54075         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
54076         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
54077         SET_RESTORE_ROUND_NOEX.
54078         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
54079         SET_RESTORE_ROUND_NOEXF.
54080         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
54081         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
54082         (libc_feholdsetroundf): New.
54083         (libc_feresetround, libc_feresetroundf): New.
54085         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
54086         (libc_feholdexcept_setround_53bit): Convert from macro to function.
54087         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
54089         * sysdeps/generic/math_private.h: Include <fenv.h>.
54090         (default_libc_feholdexcept): New.
54091         (default_libc_feholdexcept_setround): New.
54092         (default_libc_fesetenv, default_libc_feupdateenv): New.
54093         (libc_feholdexcept): Only define if undefined.
54094         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
54095         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
54096         (libc_feholdexcept_setroundl): Likewise.
54097         (libc_feholdexcept_setround_53bit): Likewise.
54098         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
54099         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
54100         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
54101         (libc_feupdateenv_53bit): Likewise.
54102         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
54103         (libc_feholdexcept): Convert from macro to inline function.
54104         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
54105         (libc_fesetenv, libc_feupdateenv): Likewise.
54107         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
54108         not previously defined.
54109         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
54110         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
54111         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
54112         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
54113         * sysdeps/ieee754/flt-32/math_private.h: New file.
54114         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
54115         math_private.h below SET_FLOAT_WORD.
54116         (__isnan, __isinf_ns, __finite): Remove.
54117         (__isnanf, __isinf_nsf, __finitef): Remove.
54119 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
54121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54123 2012-03-17  David S. Miller  <davem@davemloft.net>
54125         [BZ #6471]
54126         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
54127         for 2.16.
54129 2012-03-16  David S. Miller  <davem@davemloft.net>
54131         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
54132         warnings.
54134         [BZ #6471]
54135         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
54136         properly.
54137         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
54138         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
54139         sysdep_routines when subdir is sysvipc.
54140         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
54141         __getshmlba helper.
54143         * sysdeps/sparc/fpu/libm-test/ulps: Update.
54145 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54147         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
54148         [__LP64__].
54150 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54152         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
54153         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
54154         (__lround): Renamed to ...
54155         (__llround): This.  Replace long int with long long int.
54156         Define lround functions as aliases of llround functions.
54157         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
54159 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54161         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
54162         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
54163         adresses to uintptr_t.  Replace "long int" and "unsigned long
54164         int" with "greg_t" on va_arg.
54166 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54168         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
54169         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
54171         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
54172         Move e_machine check before EI_CLASS check.  Handle x32
54173         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
54174         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
54175         SKIP_EM_IA_64 and include
54176         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
54178         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
54179         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
54180         (add_system_dir): New macro.
54182         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
54183         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
54185 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54187         [BZ #2551]
54188         [BZ #2552]
54189         [BZ #2553]
54190         [BZ #2554]
54191         [BZ #2562]
54192         [BZ #2563]
54193         [BZ #2565]
54194         [BZ #2566]
54195         [BZ #2576]
54196         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
54197         (y0): Likewise.
54198         * math/w_j0f.c (j0f): Likewise.
54199         (y0f): Likewise.
54200         * math/w_j0l.c (__j0l): Likewise.
54201         (__y0l): Likewise.
54202         * math/w_j1.c (j1): Likewise.
54203         (y1): Likewise.
54204         * math/w_j1f.c (j1f): Likewise.
54205         (y1f): Likewise.
54206         * math/w_j1l.c (__j1l): Likewise.
54207         (__y1l): Likewise.
54208         * math/w_jn.c (jn): Likewise.
54209         (yn): Likewise.
54210         * math/w_jnf.c (jnf): Likewise.
54211         (ynf): Likewise.
54212         * math/w_jnl.c (__jnl): Likewise.
54213         (__ynl): Likewise.
54214         * math/libm-test.inc (j0_test): Add more tests.
54215         (j1_test): Likewise.
54216         (jn_test): Likewise.  Add trailing semicolon to existing test.
54217         (y0_test): Likewise.
54218         (y1_test): Likewise.
54219         * sysdeps/i386/fpu/libm-test-ulps: Update.
54220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54222         [BZ #13851]
54223         [BZ #13854]
54224         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
54225         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
54226         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
54227         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
54228         (__tanl): Set errno for infinite argument.
54229         * sysdeps/i386/fpu/mptan.c: Remove.
54230         * sysdeps/i386/fpu/s_tan.S: Likewise.
54231         * sysdeps/i386/fpu/s_tanl.S: Likewise.
54232         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
54233         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
54234         * math/libm-test.inc (tan_test): Add more tests and enable more
54235         tests for double and long double.
54236         * sysdeps/i386/fpu/libm-test-ulps: Update.
54237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54239 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
54241         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
54242         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
54244 2012-03-16  Roland McGrath  <roland@hack.frob.com>
54246         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
54247         * configure.in: Use it for both main tree and add-ons.
54248         * configure: Regenerated.
54250 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54252         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
54254 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54256         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
54257         in comment.
54259         [BZ #13851]
54260         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
54261         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
54262         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
54263         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
54264         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
54265         infinite argument.
54266         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
54267         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
54268         != 0 for prec == 2.
54269         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
54270         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
54271         * sysdeps/i386/fpu/s_cosl.S: Likewise.
54272         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
54273         * sysdeps/i386/fpu/s_sinl.S: Likewise.
54274         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
54275         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
54276         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
54277         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
54278         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
54279         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
54280         * math/libm-test.inc (cos_test): Add more tests and enable more
54281         tests for long double.
54282         (sin_test): Likewise.
54283         (sincos_test): Likewise.
54284         * sysdeps/i386/fpu/libm-test-ulps: Update.
54285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54287 2012-03-16  David S. Miller  <davem@davemloft.net>
54289         * sysdeps/sparc/fpu/math_private.h: New file.
54291 2012-03-15  David S. Miller  <davem@davemloft.net>
54293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
54294         file.
54295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
54296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
54297         file.
54298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
54299         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
54300         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
54301         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
54302         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
54303         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
54304         sysdep routines.
54305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54307         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
54308         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
54310         * sysdeps/sparc/sparc-ifunc.h: New file.
54311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
54312         sparc-ifunc.h
54313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
54315         Likewise.
54316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
54317         Likewise.
54318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
54319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
54320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54322         Likewise.
54323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
54325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
54327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
54328         Likewise.
54329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
54330         Likewise.
54331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
54333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
54334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
54335         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54336         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54337         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
54338         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
54339         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54340         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54341         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
54342         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
54343         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
54344         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
54345         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
54346         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
54347         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
54348         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
54349         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
54350         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
54351         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
54352         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
54353         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
54354         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
54356 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54358         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
54359         scaling.
54360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54362 2012-03-15  Andreas Jaeger  <aj@suse.de>
54364         [BZ #13852]
54365         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
54366         ieee754/flt-32 implementation for sin, cos and sincos.
54367         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
54368         * sysdeps/i386/fpu/s_cosf.S: Likewise.
54369         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
54370         * sysdeps/i386/fpu/s_sinf.S: Likewise.
54371         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
54372         ieee754/flt-32 implementation for tan.
54374         * math/libm-test.inc (cos_test): Enable some large input tests for
54375         float as well
54376         (sin_test): Likewise.
54377         (sincos_test): Likewise.
54378         (tan_test): Add tests for large input.
54380         * sysdeps/i386/fpu/libm-test-ulps: Update.
54382 2012-03-15  Andreas Jaeger  <aj@suse.de>
54384         [BZ #13658]
54385         * math/libm-test.inc (cos_test): Add more test cases.
54386         (sin_test): Likewise.
54387         (sincos_test): Likewise.
54389 2012-03-15  Andreas Jaeger  <aj@suse.de>
54391         [BZ #13837]
54392         * math/libm-test.inc (cos_test): Add a test case for large input
54393         value.
54394         (sin_test): Likewise.
54395         (sincos_test): Likewise.
54397 2012-03-15  Andreas Jaeger  <aj@suse.de>
54398             Joseph Myers  <joseph@codesourcery.com>
54400         [BZ #13658]
54401         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
54402         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
54403         * sysdeps/i386/fpu/branred.c: Likewise.
54404         * sysdeps/i386/fpu/dosincos.c: Likewise.
54405         * sysdeps/i386/fpu/mpa.c: Likewise.
54406         * sysdeps/i386/fpu/s_cos.S: Likewise.
54407         * sysdeps/i386/fpu/s_sin.S: Likewise.
54408         * sysdeps/i386/fpu/s_sincos.S: Likewise.
54409         * sysdeps/i386/fpu/sincos32.c: Likewise.
54411         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
54412         Define.
54413         (libc_feupdateenv_53bit): Define.
54414         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
54415         Define.
54416         (libc_feupdateenv_53bit): Define.
54418         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
54419         53 bit (without extend i386 double precision).
54421         * math/libm-test.inc (sincos_test): Add tests for large input.
54422         (sin): Likewise.
54423         (cos): Likewise.
54425         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
54427 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54431 2012-03-15  David S. Miller  <davem@davemloft.net>
54433         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
54434         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
54435         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
54436         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
54437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
54438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
54439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
54440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
54441         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
54442         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
54443         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
54444         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
54445         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
54446         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
54447         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
54448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
54449         file.
54450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
54451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
54452         file.
54453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
54454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
54455         file.
54456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
54457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
54458         file.
54459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
54460         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
54461         fmin/fmax sysdep routines.
54462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54464 2012-03-14  David S. Miller  <davem@davemloft.net>
54466         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
54467         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
54468         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
54469         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
54470         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
54471         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
54472         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
54473         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
54474         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
54475         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
54476         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
54477         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
54478         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
54479         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
54480         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
54481         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
54482         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
54483         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
54484         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
54485         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
54486         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
54487         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
54488         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
54489         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
54490         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
54491         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
54492         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
54493         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
54494         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
54495         routines.
54496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
54497         file.
54498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
54499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
54500         file.
54501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
54502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
54503         file.
54504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
54505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
54506         file.
54507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
54508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
54509         file.
54510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
54511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
54512         file.
54513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
54514         file.
54515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
54516         file.
54517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
54518         file.
54519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
54520         New file.
54521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
54522         file.
54523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
54524         file.
54525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
54526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
54527         file.
54528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
54529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
54530         file.
54531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
54532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
54533         file.
54534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
54535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
54536         VIS3 routines.
54538         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54539         New file.
54541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54543         * sysdeps/sparc/configure.in: New file.
54544         * sysdeps/sparc/configure: Generate.
54545         * configure.in (libc_cv_sparc_as_vis3): Substitute.
54546         * configure: Regenerate.
54547         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
54548         * config.make.in (have-as-vis3): New.
54549         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
54550         available use -Av9d instead of -Av9a.
54551         * sysdeps/sparc/sparc64/Makefile: Likewise.
54552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
54553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
54554         New file.
54555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
54556         file.
54557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
54558         New file.
54559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
54560         file.
54561         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
54562         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
54563         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
54564         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
54565         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
54567         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
54568         fzeros/fnegs to load 0x80000000 into a float register instead of
54569         using the stack.
54570         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
54572 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54574         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54575         bits/syscall.h.
54576         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
54577         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
54578         ($(inst_includedir)/bits/syscall.h): Remove rule.
54579         ($(objpfx)bits/syscall.d): Include instead of
54580         $(objpfx)syscall-list.d.
54581         (generated): Change syscall-list.h and syscall-list.d to
54582         bits/syscall.h and bits/syscall.d.
54584 2012-03-14  Roland McGrath  <roland@hack.frob.com>
54586         [BZ #13846]
54587         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
54589 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54591         [BZ #13841]
54592         * math/s_csqrt.c: Include <float.h>.
54593         (__csqrt): Scale large or subnormal inputs.
54594         * math/s_csqrtf.c: Likewise.
54595         * math/s_csqrtl.c: Likewise.
54596         * math/libm-test.inc (csqrt_test): Add more tests.
54597         * sysdeps/i386/fpu/libm-test-ulps: Update.
54598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54600         [BZ #13840]
54601         * math/libm-test.inc (hypot_test): Add more tests.
54603 2012-03-13  David S. Miller  <davem@davemloft.net>
54605         [BZ #13840]
54606         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54607         double-precision for the calculation instead of scaling.
54609 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
54611         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54612         manipulate bits before adding and subtracting TWO52[sx].
54613         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54614         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54615         Likewise.
54616         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54618 2012-03-13  David S. Miller  <davem@davemloft.net>
54620         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54621         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54622         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54623         rtld-global-offsets.h
54624         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54626         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54627         large parameters.
54629         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54631         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54632         'err' in the ifdef scope in which it is actually used.
54634         * nss/nss_db/db-init.c: Include string.h
54636 2012-03-12  David S. Miller  <davem@davemloft.net>
54638         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54639         masking out of the most significant byte of random value used.
54640         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54641         Fix coding style in previous change.
54643         * sysdeps/unix/sysv/linux/kernel-features.h
54644         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54645         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54646         expression.
54647         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54648         later.
54650 2012-03-11  David S. Miller  <davem@davemloft.net>
54652         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54653         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54654         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54655         for 'resultvar' otherwise things get truncated on 64-bit.
54657         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54658         Fix masking out of the most significant byte of random value used.
54660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54662 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54666 2012-03-09  David S. Miller  <davem@davemloft.net>
54668         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54669         variables with appropriate CPP guards.
54670         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54671         from the frame pointer, not the stack pointer.  Correct layout
54672         comments.  Fix test on resulting framesize and the management of
54673         the outregs buffer for pltexit.  Preserve floating point return
54674         values across _dl_call_pltexit call.
54675         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54676         framesize and the management of the outregs buffer for pltexit.
54677         Preserve floating point return values across _dl_call_pltexit
54678         call.
54679         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54680         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54681         (la_sparc64_gnu_pltexit): New functions.
54682         (print_exit): Fix format string for return register value.
54684 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54686         * sunrpc/Makefile (others): Add rpcgen.
54687         ($(objpfx)rpcgen): Remove special build rule and dependency on
54688         libc.
54689         * sunrpc/rpcgen.c: New file.
54691 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54693         [BZ #13673]
54694         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54695         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54696         * sysdeps/i386/crti.S: Likewise.
54697         * sysdeps/i386/crtn.S: Likewise.
54698         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54699         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54700         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54701         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54702         * sysdeps/sh/crti.S: Likewise.
54703         * sysdeps/sh/crtn.S: Likewise.
54704         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54706         [BZ #13673]
54707         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54708         with URL.
54709         * locale/programs/locfile-kw.gperf: Likewise.
54710         * locale/programs/charmap-kw.h: Regenerated.
54711         * locale/programs/locfile-kw.h: Likewise.
54713         [BZ #13673]
54714         * intl/plural.y: Replace FSF snail mail address with URL.
54715         * intl/plural.c: Regenerated.
54717 2012-03-09  Richard Henderson  <rth@twiddle.net>
54719         * include/math_private.h: Remove file.
54720         * math/math_private.h: Move file ...
54721         * sysdeps/generic/math_private.h: ... here.
54723         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54724         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54725         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54727         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54728         and <math_private.h>.
54729         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54730         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54731         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54732         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54733         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54734         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54735         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54736         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54737         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54738         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54739         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54740         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54741         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54742         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54743         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54744         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54745         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54746         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54747         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54748         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54749         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54750         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54751         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54752         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54753         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54754         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54755         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54756         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54757         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54758         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54759         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54760         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54761         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54762         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54763         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54764         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54765         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54766         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54767         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54768         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54769         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54770         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54771         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54772         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54773         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54774         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54775         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54776         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54777         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54778         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54779         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54780         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54781         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54782         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54783         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54784         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54785         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54786         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54787         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54788         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54789         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54790         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54791         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54792         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54793         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54794         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54795         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54796         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54797         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54798         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54799         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54800         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54801         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54802         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54803         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54804         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54805         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54806         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54807         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54808         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54809         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54810         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54811         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54812         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54813         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54814         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54815         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54816         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54817         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54818         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54819         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54820         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54821         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54822         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54823         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54824         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54825         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54826         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54827         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54828         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54829         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54830         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54831         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54832         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54833         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54834         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54835         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54836         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54837         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54838         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54839         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54840         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54841         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54842         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54843         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54844         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54845         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54846         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54847         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54848         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54849         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54850         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54851         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54852         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54853         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54854         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54855         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54856         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54857         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54858         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54859         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54860         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54861         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54862         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54863         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54864         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54865         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54866         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54867         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54868         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54869         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54870         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54871         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54872         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54873         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54874         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54875         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54876         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54877         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54878         * sysdeps/ieee754/k_standard.c: Likewise.
54879         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54880         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54881         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54882         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54883         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54884         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54885         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54886         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54887         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54888         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54889         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54890         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54891         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54892         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54893         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54894         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54895         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54896         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54897         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54898         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54899         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54900         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54901         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54902         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54903         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54904         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54905         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54906         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54907         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54908         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54909         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54910         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54911         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54912         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54913         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54914         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54915         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54916         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54917         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54918         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54919         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54920         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54921         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54922         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54923         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54924         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54925         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54926         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54927         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54928         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54929         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54930         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54931         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54932         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54933         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54934         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54935         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54936         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54937         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54938         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54939         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54940         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54941         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54942         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54943         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54944         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54945         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54946         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54947         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54948         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54949         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54950         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54951         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54952         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54953         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54954         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54955         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54956         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54957         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54958         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54959         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54960         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54961         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54962         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54963         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54964         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54965         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54966         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54967         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54968         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54969         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54970         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54971         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54972         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54973         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54974         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54975         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54976         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54977         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54978         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54979         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54980         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54981         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54982         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54983         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54984         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54985         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54986         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54987         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54988         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54989         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54990         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54991         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54992         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54993         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54994         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54995         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54996         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54997         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54998         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54999         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55000         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55001         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55002         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55003         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55004         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
55005         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55006         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55007         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55008         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55009         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55010         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55011         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55012         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55013         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55014         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55015         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
55016         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55017         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55018         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
55019         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
55020         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55021         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
55022         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
55023         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55024         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55025         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55026         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55027         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55028         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
55029         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55030         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55031         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55032         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55033         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
55034         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
55035         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55036         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55037         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55038         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55039         * sysdeps/ieee754/s_lib_version.c: Likewise.
55040         * sysdeps/ieee754/s_matherr.c: Likewise.
55041         * sysdeps/ieee754/s_signgam.c: Likewise.
55042         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55043         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55044         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
55045         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
55046         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
55047         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55048         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
55049         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
55050         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
55051         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
55052         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55053         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
55054         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55055         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55056         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
55057         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55058         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55059         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55060         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55061         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55062         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55064 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55066         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
55067         * sunrpc/rpc_main.c: Likewise.
55068         * sunrpc/rpc_svcout.c: Likewise.
55070 2012-03-09  David S. Miller  <davem@davemloft.net>
55072         * include/math_private.h: New file.
55074 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55076         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
55077         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
55078         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
55079         from <bits/socket_type.h>.
55080         (enum __socket_type): Don't define here.
55081         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
55082         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55083         bits/socket_type.h.
55085         [BZ #13566]
55086         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
55087         checking __USE_GNU.
55089         * Makerules ($(inst_includedir)/%.h): New rule.
55090         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
55091         (install-others): Remove variable setting.
55092         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
55094 2012-03-08  Richard Henderson  <rth@twiddle.net>
55096         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
55097         from macro to inline function; merge with the
55098         !__LIBC_INTERNAL_MATH_INLINES version.
55099         (__ieee754_sqrtf): Likewise.
55101         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
55102         to inline function.
55103         (__rintf, __floor, __floorf): Likewise.
55105         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
55106         macro to inline function.
55107         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
55109         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
55110         not <math/math_private.h>.
55112 2012-03-08  David S. Miller  <davem@davemloft.net>
55114         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
55115         copyright year.
55116         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
55118 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
55120         * resolv/gai_misc.c (handle_requests): Fix struct timespec
55121         normalization.
55122         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
55123         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
55125 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
55127         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
55128         be defined individually, they must be defined as a block.  Define
55129         S for printing a string instead of hidint the different by using a
55130         macro for adding the 'l'.
55131         * stdio-common/tst-fphex-wide.c: Adjust.
55133 2012-03-07  Marek Polacek  <polacek@redhat.com>
55135         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
55137 2012-03-08  Marek Polacek  <polacek@redhat.com>
55139         [BZ #13806]
55140         * stdio-common/Makefile (tests): Add tst-fphex-wide.
55141         * stdio-common/tst-fphex.c: Define a few macros to make the
55142         test reusable.  Use them.
55143         * stdio-common/tst-fphex-wide.c: New file.
55145 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
55147         [BZ #6911]
55148         * manual/macros.texi (gnusystems): New macro.
55149         (nongnusystems): Likewise.
55150         (gnulinuxhurdsystems): Likewise.
55151         (gnuhurdsystems): Likewise..
55152         (gnulinuxsystems): Likewise.
55153         * manual/charset.texi: Use new macros or @theglibc{} to refer to
55154         variants of the GNU system, not "GNU system".
55155         * manual/conf.texi: Likewise.
55156         * manual/errno.texi: Likewise.  Update example of errno macro
55157         expansion.
55158         * manual/filesys.texi: Likewise.
55159         (getumask): Document as specific to GNU/Hurd.
55160         * manual/install.texi: Likewise.  Reword some references to
55161         GNU/Linux.
55162         * manual/intro.texi: Likewise.
55163         * manual/io.texi: Likewise.
55164         (File Name Portability): Detail which constraints are inapplicable
55165         to all GNU systems and which are only inapplicable to GNU/Hurd.
55166         * manual/job.texi: Likewise.
55167         * manual/llio.texi: Likewise.
55168         (O_NOCTTY): Document as present on GNU/Linux.
55169         * manual/maint.texi: Likewise.
55170         * manual/memory.texi: Likewise.
55171         * manual/pattern.texi: Likewise.
55172         * manual/pipe.texi: Likewise.
55173         * manual/process.texi: Likewise.
55174         * manual/resource.texi: Likewise.
55175         (RUSAGE_CHILDREN): Remove statement about specifying a particular
55176         child on GNU/Hurd.
55177         * manual/setjmp.texi: Likewise.
55178         * manual/signal.texi: Likewise.
55179         * manual/startup.texi: Likewise.
55180         * manual/stdio.texi: Likewise.
55181         * manual/terminal.texi: Likewise.
55182         (ONLCR): Document as POSIX.
55183         (OXTABS): Document availability on GNU/Linux as XTABS.
55184         (ONOEOT): Document availability separately from other bits.
55185         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
55186         * manual/time.texi: Likewise.
55187         * manual/users.texi: Likewise.
55188         * INSTALL: Regenerated.
55189         * sysdeps/gnu/errlist.c: Regenerated.
55191         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
55192         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
55193         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
55194         puts.
55195         * configure: Regenerated.
55197 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
55199         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
55200         default includes instead of AC_HEADER_CHECK.
55201         * sysdeps/i386/configure: Regenerated.
55203         [BZ #10716]
55204         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
55205         * math/s_cacoshf.c (__cacoshf): Likewise.
55206         * math/s_cacoshl.c (__cacoshl): Likewise.
55207         * math/s_casinh.c (__casinh): Set signs of result from argument.
55208         * math/s_casinhf.c (__casinhf): Likewise.
55209         * math/s_casinhl.c (__casinhl): Likewise.
55210         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
55211         (casinh_test): Add more tests.
55212         * sysdeps/i386/fpu/libm-test-ulps: Update.
55213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55215 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
55217         * po/zh_TW.po: Update from translation team.
55219         * login/Makefile (distribute): Remove variable.
55220         * catgets/Makefile: Likewise.
55221         * mach/Makefile: Likewise.
55222         * malloc/Makefile: Likewise.
55223         * misc/Makefile: Likewise.
55224         * iconv/Makefile: Likewise.
55225         * nscd/Makefile: Likewise.
55226         * hurd/Makefile: Likewise.
55227         * manual/Makefile: Likewise.
55228         * locale/Makefile: Likewise.
55229         * intl/Makefile: Likewise.
55230         * conform/Makefile: Likewise.
55231         * nss/Makefile: Likewise.
55232         * time/Makefile: Likewise.
55233         * soft-fp/Makefile: Likewise.
55234         * dirent/Makefile: Likewise.
55235         * gmon/Makefile: Likewise.
55236         * po/Makefile: Likewise.
55237         * rt/Makefile: Likewise.
55238         * socket/Makefile: Likewise.
55239         * math/Makefile: Likewise.
55240         * signal/Makefile: Likewise.
55241         * debug/Makefile: Likewise.
55242         * elf/Makefile: Likewise.
55243         * timezone/Makefile: Likewise.
55244         * stdlib/Makefile: Likewise.
55245         * iconvdata/Makefile: Likewise.
55246         * sunrpc/Makefile: Likewise.
55247         * io/Makefile: Likewise.
55248         * argp/Makefile: Likewise.
55249         * inet/Makefile: Likewise.
55250         * hesiod/Makefile: Likewise.
55251         * grp/Makefile: Likewise.
55252         * csu/Makefile: Likewise.
55253         * wctype/Makefile: Likewise.
55254         * crypt/Makefile: Likewise.
55255         * libio/Makefile: Likewise.
55256         * string/Makefile: Likewise.
55257         * nis/Makefile: Likewise.
55258         * resolv/Makefile: Likewise.
55259         * stdio-common/Makefile: Likewise.
55260         * wcsmbs/Makefile: Likewise.
55261         * dlfcn/Makefile: Likewise.
55262         * posix/Makefile: Likewise.
55264         [BZ #6959]
55265         * timezone/Makefile: Don't install timezone files, just the programs
55266         and scripts.
55268 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
55270         * nss/databases.def: Add missing gshadow entry.
55272         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
55274 2012-03-06  Marek Polacek  <polacek@redhat.com>
55276         [BZ #13726]
55277         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
55278         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55279         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
55280         * stdio-common/tst-long-dbl-fphex.c: New file.
55282 2012-03-06  David S. Miller  <davem@davemloft.net>
55284         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55285         (set_obp_int): New function.
55286         (get_obp_int): New function.
55287         (__get_clockfreq_via_dev_openprom): Likewise.
55288         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
55289         Avoid unused variable warnings on 'val' and use builtin_expect.
55290         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
55291         __builtin_expect.
55292         (INLINE_CLONE_SYSCALL): Likewise.
55294 2012-03-05  David S. Miller  <davem@davemloft.net>
55296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55298 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
55300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55302         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
55303         only for |x| >= 40.
55304         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55306 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
55308         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
55309         Replace gettimeofday with __vdso_gettimeofday.
55311         * sysdeps/unix/sysv/linux/x86_64/init-first.c
55312         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
55313         __vdso_clock_gettime and __vdso_getcpu.
55315         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
55316         time with __vdso_time.
55318 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55320         * manual/lang.texi (size_t): Note types to which size_t may be
55321         equivalent with the GNU C Library, but do not describe when
55322         differences between them are significant.
55324 2012-03-05  Andreas Jaeger  <aj@suse.de>
55326         * sysdeps/i386/fpu/libm-test-ulps: Update.
55328 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55330         [BZ #3976]
55331         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
55332         (__ieee754_pow): Save and restore rounding mode and use
55333         round-to-nearest for main computations.
55334         * math/libm-test.inc (pow_test_tonearest): New function.
55335         (pow_test_towardzero): Likewise.
55336         (pow_test_downward): Likewise.
55337         (pow_test_upward): Likewise.
55338         (main): Call the new functions.
55339         * sysdeps/i386/fpu/libm-test-ulps: Update.
55340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55342         [BZ #3976]
55343         * math/libm-test.inc (cosh_test_tonearest): New function.
55344         (cosh_test_towardzero): Likewise.
55345         (cosh_test_downward): Likewise.
55346         (cosh_test_upward): Likewise.
55347         (sinh_test_tonearest): Likewise.
55348         (sinh_test_towardzero): Likewise.
55349         (sinh_test_downward): Likewise.
55350         (sinh_test_upward): Likewise.
55351         (main): Call the new functions.
55352         * sysdeps/i386/fpu/libm-test-ulps: Update.
55353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55355 2012-03-05  Tom de Vries  <tom@codesourcery.com>
55357         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
55358         default stack guard is set in last bytes.
55359         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
55361 2012-03-05  Kees Cook  <keescook@chromium.org>
55363         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
55365         [BZ #13656]
55366         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
55367         possibly allocate from heap instead of stack.
55368         * stdio-common/bug-vfprintf-nargs.c: New file.
55369         * stdio-common/Makefile (tests): Add nargs overflow test.
55371 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
55373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55375 2012-03-03  Marek Polacek  <polacek@redhat.com>
55377         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
55378         * math/math_private.h: Likewise.
55379         * stdlib/tst-strtod.c: Likewise.
55380         * sysdeps/i386/i486/bits/atomic.h: Likewise.
55381         * sysdeps/x86_64/bits/atomic.h: Likewise.
55383 2012-03-02  David S. Miller  <davem@davemloft.net>
55385         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
55386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
55387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
55388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
55389         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
55390         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
55391         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
55392         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
55394 2012-03-02  Roland McGrath  <roland@hack.frob.com>
55396         [BZ #13792]
55397         * manual/examples/README: New file, says the example source files
55398         can be used under GPL>=2.
55399         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
55400         line containing just "*/".
55401         * manual/examples/add.c: Add copyright header (GPL>=2).
55402         * manual/examples/argp-ex1.c: Likewise.
55403         * manual/examples/argp-ex2.c: Likewise.
55404         * manual/examples/argp-ex3.c: Likewise.
55405         * manual/examples/argp-ex4.c: Likewise.
55406         * manual/examples/atexit.c: Likewise.
55407         * manual/examples/db.c: Likewise.
55408         * manual/examples/dir.c: Likewise.
55409         * manual/examples/dir2.c: Likewise.
55410         * manual/examples/execinfo.c: Likewise.
55411         * manual/examples/filecli.c: Likewise.
55412         * manual/examples/filesrv.c: Likewise.
55413         * manual/examples/fmtmsgexpl.c: Likewise.
55414         * manual/examples/genpass.c: Likewise.
55415         * manual/examples/inetcli.c: Likewise.
55416         * manual/examples/inetsrv.c: Likewise.
55417         * manual/examples/isockad.c: Likewise.
55418         * manual/examples/longopt.c: Likewise.
55419         * manual/examples/memopen.c: Likewise.
55420         * manual/examples/memstrm.c: Likewise.
55421         * manual/examples/mkfsock.c: Likewise.
55422         * manual/examples/mkisock.c: Likewise.
55423         * manual/examples/mygetpass.c: Likewise.
55424         * manual/examples/pipe.c: Likewise.
55425         * manual/examples/popen.c: Likewise.
55426         * manual/examples/rprintf.c: Likewise.
55427         * manual/examples/search.c: Likewise.
55428         * manual/examples/select.c: Likewise.
55429         * manual/examples/setjmp.c: Likewise.
55430         * manual/examples/sigh1.c: Likewise.
55431         * manual/examples/sigusr.c: Likewise.
55432         * manual/examples/stpcpy.c: Likewise.
55433         * manual/examples/strdupa.c: Likewise.
55434         * manual/examples/strftim.c: Likewise.
55435         * manual/examples/strncat.c: Likewise.
55436         * manual/examples/subopt.c: Likewise.
55437         * manual/examples/swapcontext.c: Likewise.
55438         * manual/examples/termios.c: Likewise.
55439         * manual/examples/testopt.c: Likewise.
55440         * manual/examples/testpass.c: Likewise.
55441         * manual/examples/timeval_subtract.c: Likewise.
55443         [BZ #13792]
55444         * manual/time.texi (Elapsed Time): Move timeval_subtract example
55445         function to ...
55446         * manual/timeval_subtract.c.texi: ... here, new file.
55448 2012-03-02  David S. Miller  <davem@davemloft.net>
55450         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
55452 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
55454         [BZ #3976]
55455         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
55456         (__sin): Save and restore rounding mode and use round-to-nearest
55457         for all computations.
55458         (__cos): Save and restore rounding mode and use round-to-nearest
55459         for all computations.
55460         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
55461         <fenv.h>.
55462         (tan): Save and restore rounding mode and use round-to-nearest for
55463         all computations.
55464         * math/libm-test.inc (cos_test_tonearest): New function.
55465         (cos_test_towardzero): Likewise.
55466         (cos_test_downward): Likewise.
55467         (cos_test_upward): Likewise.
55468         (sin_test_tonearest): Likewise.
55469         (sin_test_towardzero): Likewise.
55470         (sin_test_downward): Likewise.
55471         (sin_test_upward): Likewise.
55472         (tan_test_tonearest): Likewise.
55473         (tan_test_towardzero): Likewise.
55474         (tan_test_downward): Likewise.
55475         (tan_test_upward): Likewise.
55476         (main): Call the new functions.
55477         * sysdeps/i386/fpu/libm-test-ulps: Update.
55478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55480         [BZ #10135]
55481         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
55482         small n, then large n, before computing and testing k+n.
55483         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55484         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
55485         Likewise.
55486         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
55487         Likewise.
55488         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
55489         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
55490         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
55491         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
55492         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55493         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55494         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
55495         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
55496         * math/libm-test.inc (scalbn_test): Add more tests.
55497         (scalbln_test): Likewise.
55499         * manual/filesys.texi (mode_t): Describe constraints on size and
55500         signedness, not exact equivalence to a particular type.
55501         (ino_t): Likewise.
55502         (ino64_t): Likewise.
55503         (dev_t): Likewise.
55504         (nlink_t): Likewise.
55505         (blkcnt_t): Likewise.
55506         (blkcnt64_t): Likewise.
55507         * manual/llio.texi (off_t): Likewise.
55509         [BZ #3976]
55510         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
55511         (__ieee754_exp): Save and restore rounding mode and use
55512         round-to-nearest for all computations.
55513         * math/libm-test.inc (exp_test_tonearest): New function.
55514         (exp_test_towardzero): Likewise.
55515         (exp_test_downward): Likewise.
55516         (exp_test_upward): Likewise.
55517         (main): Call the new functions.
55518         * sysdeps/i386/fpu/libm-test-ulps: Update.
55519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55521 2012-03-01  Chris Demetriou  <cgd@google.com>
55523         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
55524         have predictable order.
55526 2012-03-01  David S. Miller  <davem@davemloft.net>
55528         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
55530         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
55531         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
55532         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
55533         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
55535         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
55536         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
55537         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
55538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
55539         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
55540         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
55541         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
55542         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
55543         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
55545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55547         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
55548         * sysdeps/sparc/fpu/libm-test-ulps: to here.
55549         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
55551         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
55552         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55553         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55554         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
55555         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
55556         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
55557         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
55558         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55559         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55560         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
55561         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
55562         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55563         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55564         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55565         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55566         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55567         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
55568         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
55569         * sysdeps/sparc/elf/configure: Regenerated.
55571 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
55573         * configure.in (AS, LD): Require binutils 2.20 or later.
55574         * configure: Regenerated.
55575         * manual/install.texi (Tools for Compilation): Give binutils 2.20
55576         as required minimum version.
55577         * INSTALL: Regenerated.
55579         [BZ #2541]
55580         [BZ #4108]
55581         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
55582         before squaring exponent.
55583         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
55584         bottom long double and 27 bits of top long double before squaring
55585         exponent.
55586         * math/libm-test.inc (erfc_test): Add more tests.
55587         * sysdeps/i386/fpu/libm-test-ulps: Update.
55588         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55591 2012-03-01  Kai Tietz  <ktietz@redhat.com>
55593         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
55594         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
55595         containing bit-fields.
55596         * soft-fp/extended.h (_FP_UNION_E): Likewise.
55597         * soft-fp/single.h (_FP_UNION_S): Likewise.
55598         * soft-fp/double.h (_FP_UNION_D): Likewise.
55600 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55602         [BZ #13786]
55603         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55604         not include ../strcmp.S.
55605         [USE_AS_STRNCASECMP_L]: Likewise.
55606         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55607         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55608         * sysdeps/i386/i686/multiarch/strncase_l-c.c
55609         (__strncasecmp_l_ia32): Define as alias to
55610         __strncasecmp_l_nonascii.
55612         [BZ #5794]
55613         * math/libm-test.inc (expm1_test): Add test for bug 5794.
55614         * sysdeps/i386/fpu/libm-test-ulps: Update.
55615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55617         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55620 2012-02-29  Jeff Law  <law@redhat.com>
55622         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55623         out of bounds read.
55625 2012-02-29  Marek Polacek  <polacek@redhat.com>
55627         [BZ #13706]
55628         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55629         * elf/Makefile: Add rules to run tst-unused-dep.out.
55631 2012-02-28  David S. Miller  <davem@davemloft.net>
55633         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55634         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55635         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55636         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55637         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55638         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55640 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55642         * math/libm-test.inc (llround_test): Move one test from
55643         lround_test.  Use TEST_f_L in moved test.
55644         (lround_test): Move misplaced test to llround_test.  Add testcase
55645         from bug 2561.
55647 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55649         * sysdeps/x86_64/fpu/e_expf.S: New file.
55650         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55652 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55654         [BZ #13637]
55655         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55656         of remain_len that may cause incomplete multi-byte character and
55657         false match.
55658         * posix/bug-regex33.c: New file.
55659         * posix/Makefile (tests): Add bug-regex33.
55661 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55663         * manual/macros.texi: New file.
55664         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55665         * manual/libc.texinfo: Include macros.texi.
55666         * manual/creatute.texi: Likewise.
55667         * manual/install.texi: Likewise.
55668         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55669         @glibcadj{} in references to the GNU C Library.
55670         * manual/charset.texi: Likewise.
55671         * manual/conf.texi: Likewise.
55672         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55673         when not using those macros.
55674         * manual/creature.texi: Likewise.
55675         * manual/crypt.texi: Likewise.
55676         * manual/errno.texi: Likewise.
55677         * manual/filesys.texi: Likewise.
55678         * manual/header.texi: Likewise.
55679         * manual/install.texi: Likewise.
55680         * manual/intro.texi: Likewise.
55681         * manual/io.texi: Likewise.
55682         * manual/job.texi: Likewise.
55683         * manual/lang.texi: Likewise.
55684         * manual/libc.texiinfo: Likewise.
55685         * manual/llio.texi: Likewise.
55686         * manual/locale.texi: Likewise.
55687         * manual/maint.texi: Likewise.
55688         * manual/math.texi: Likewise.
55689         * manual/memory.texi: Likewise.
55690         * manual/message.texi: Likewise.
55691         * manual/nss.texi: Likewise.
55692         * manual/pattern.texi: Likewise.
55693         * manual/process.texi: Likewise.
55694         * manual/resource.texi: Likewise.
55695         * manual/search.texi: Likewise.
55696         * manual/setjmp.texi: Likewise.
55697         * manual/signal.texi: Likewise.
55698         * manual/socket.texi: Likewise.
55699         * manual/startup.texi: Likewise.
55700         * manual/stdio.texi: Likewise.
55701         * manual/string.texi: Likewise.
55702         * manual/sysinfo.texi: Likewise.
55703         * manual/syslog.texi: Likewise.
55704         * manual/terminal.texi: Likewise.
55705         * manual/time.texi: Likewise.
55706         * manual/users.texi: Likewise.
55707         * INSTALL: Regenerated.
55708         * NOTES: Regenerated.
55709         * sysdeps/gnu/errlist.c: Regenerated.
55711 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55713         * include/dirent.h: Include <dirstream.h> before
55714         <dirent/dirent.h>.
55716 2012-02-28  David S. Miller  <davem@davemloft.net>
55718         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55719         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55720         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55721         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55723 2012-02-27  David S. Miller  <davem@davemloft.net>
55725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55727         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55728         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55731         frame pointer instead of stack pointer relative arg slot.
55732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55733         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55734         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55736 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55738         [BZ #3992]
55739         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55741 2012-02-27  David S. Miller  <davem@davemloft.net>
55743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55747         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55748         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55749         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55750         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55752 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55754         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55755         later.  Allow versions 5-9.
55756         * configure: Regenerated.
55757         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55758         required minimum version and 4.6 as recommended version.  Do not
55759         mention bugs in GCC 2.7 and 2.8.
55760         * INSTALL: Regenerated.
55762 2012-02-27  David S. Miller  <davem@davemloft.net>
55764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55768         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55769         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55770         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55771         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55773         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55774         manipulate bits before adding and subtracting TWO112[sx].
55775         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55777 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55779         [BZ #13775]
55780         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55781         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55782         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55783         being in POSIX, because they are in 1003.1-2008.
55785         * rt/tst-aio.c: Include <fcntl.h>.
55786         * rt/tst-aio7.c: Likewise.
55787         * rt/tst-aio64.c: Likewise.
55789         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55791 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55793         * manual/install.texi (--with-headers): Describe headers as
55794         interface headers, not private headers.
55795         (Specific advice for GNU/Linux systems): Describe use of headers
55796         from "make headers_install", not private headers from older
55797         kernels.
55798         * INSTALL: Regenerated.
55799         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55800         Change to 2.6.19.
55801         * sysdeps/unix/sysv/linux/configure: Regenerated.
55803         * manual/llio.texi (fclean): Remove documentation.
55805         * manual/Makefile (libc-texi-generated): New variable.  Include
55806         version.texi.
55807         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55808         $(libc-texi-generated), not duplicated list of files.
55809         (version.texi, stamp-version): New rules.
55810         (realclean): Remove $(libc-texi-generated), not individual files
55811         from that list.  Do not remove dir-add.texinfo.
55812         * manual/libc.texinfo: Comment out uses of edition numbers and
55813         references to printed manual.  Remove last-updated dates.
55814         (EDITION): Comment out.
55815         (ISBN): Likewise.
55816         (VERSION, UPDATED): Remove.
55817         (version.texi): Include.
55819 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55821         * sysdeps/posix/spawni.c: Include <signal.h>.
55822         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55823         * sysdeps/pthread/aio_fsync.c: Likewise.
55825 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55827         * conform/Makefile (tests): Run only when not cross-compiling and
55828         when fast-check is not defined.
55830         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55831         * conform/data/limits.h-data: Fixes for POSIX2008.
55832         * conform/run-conformtest.sh: Run all tests.
55833         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55834         headers.
55835         * include/bits/dlfcn.h: Likewise.
55836         * include/langinfo.h: Likewise.
55837         * include/monetary.h: Likewise.
55838         * include/sys/poll.h: Likewise.
55840         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55841         for __USE_GNU.
55842         * posix/spawn.h: Define __need_sigset_t.
55843         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55844         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55845         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55846         to get sigevent_t only.
55847         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55848         only for __USE_GNU.
55849         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55850         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55851         process_vm_writev only for __USE_GNU.
55852         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55854         * conform/Makefile: For now ignore errors from run-conformtest.
55855         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55856         POSIX to avoid namespace pollution.  Don't prepend headers.
55857         * conform/data/aio.h-data: Fixes for POSIX testing.
55858         * conform/data/fcntl.h-data: Likewise.
55859         * conform/data/glob.h-data: Likewise.
55860         * conform/data/grp.h-data: Likewise.
55861         * conform/data/pthread.h-data: Likewise.
55862         * conform/data/pwd.h-data: Likewise.
55863         * conform/data/signal.h-data: Likewise.
55864         * conform/data/spawn.h-data: Likewise.
55865         * conform/data/stdio.h-data: Likewise.
55866         * conform/data/stdlib.h-data: Likewise.
55867         * conform/data/stropts.h-data: Likewise.
55868         * conform/data/sys/mman.h-data: Likewise.
55869         * conform/data/sys/stat.h-data: Likewise.
55870         * conform/data/sys/types.h-data: Likewise.
55871         * conform/data/sys/wait.h-data: Likewise.
55872         * conform/data/time.h-data: Likewise.
55873         * conform/data/unistd.h-data: Likewise.
55874         * conform/data/utime.h-data: Likewise.
55876         * io/sys/stat.h: fchmod was always in POSIX.
55877         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55878         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55879         * rt/aio.h: Define __need_timespec before including <time.h>.
55880         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55881         struct.  Add forward declaration of pthread_attr_t and use it in
55882         sigevent.
55883         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55884         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55885         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55886         always remove CLK_TCK definition.
55888 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55890         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55892 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55894         * conform/run-conformtest.sh: New file.
55895         * conform/Makefile: Run run-conformtest for tests.
55896         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55897         support.
55899         * conform/data/uchar.h-data: New file.
55900         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55901         * conform/data/arpa/inet.h-data: Likewise.
55902         * conform/data/assert.h-data: Likewise.
55903         * conform/data/complex.h-data: Likewise.
55904         * conform/data/cpio.h-data: Likewise.
55905         * conform/data/ctype.h-data: Likewise.
55906         * conform/data/dirent.h-data: Likewise.
55907         * conform/data/dlfcn.h-data: Likewise.
55908         * conform/data/errno.h-data: Likewise.
55909         * conform/data/fcntl.h-data: Likewise.
55910         * conform/data/float.h-data: Likewise.
55911         * conform/data/fmtmsg.h-data: Likewise.
55912         * conform/data/fnmatch.h-data: Likewise.
55913         * conform/data/ftw.h-data: Likewise.
55914         * conform/data/glob.h-data: Likewise.
55915         * conform/data/grp.h-data: Likewise.
55916         * conform/data/iconv.h-data: Likewise.
55917         * conform/data/inttypes.h-data: Likewise.
55918         * conform/data/langinfo.h-data: Likewise.
55919         * conform/data/libgen.h-data: Likewise.
55920         * conform/data/limits.h-data: Likewise.
55921         * conform/data/locale.h-data: Likewise.
55922         * conform/data/math.h-data: Likewise.
55923         * conform/data/monetary.h-data: Likewise.
55924         * conform/data/mqueue.h-data: Likewise.
55925         * conform/data/ndbm.h-data: Likewise.
55926         * conform/data/net/if.h-data: Likewise.
55927         * conform/data/netdb.h-data: Likewise.
55928         * conform/data/netinet/in.h-data: Likewise.
55929         * conform/data/nl_types.h-data: Likewise.
55930         * conform/data/poll.h-data: Likewise.
55931         * conform/data/pthread.h-data: Likewise.
55932         * conform/data/pwd.h-data: Likewise.
55933         * conform/data/regex.h-data: Likewise.
55934         * conform/data/sched.h-data: Likewise.
55935         * conform/data/search.h-data: Likewise.
55936         * conform/data/semaphore.h-data: Likewise.
55937         * conform/data/setjmp.h-data: Likewise.
55938         * conform/data/signal.h-data: Likewise.
55939         * conform/data/spawn.h-data: Likewise.
55940         * conform/data/stdarg.h-data: Likewise.
55941         * conform/data/stdio.h-data: Likewise.
55942         * conform/data/stdlib.h-data: Likewise.
55943         * conform/data/string.h-data: Likewise.
55944         * conform/data/strings.h-data: Likewise.
55945         * conform/data/stropts.h-data: Likewise.
55946         * conform/data/sys/ipc.h-data: Likewise.
55947         * conform/data/sys/mman.h-data: Likewise.
55948         * conform/data/sys/msg.h-data: Likewise.
55949         * conform/data/sys/resource.h-data: Likewise.
55950         * conform/data/sys/select.h-data: Likewise.
55951         * conform/data/sys/sem.h-data: Likewise.
55952         * conform/data/sys/shm.h-data: Likewise.
55953         * conform/data/sys/socket.h-data: Likewise.
55954         * conform/data/sys/stat.h-data: Likewise.
55955         * conform/data/sys/statvfs.h-data: Likewise.
55956         * conform/data/sys/time.h-data: Likewise.
55957         * conform/data/sys/timeb.h-data: Likewise.
55958         * conform/data/sys/times.h-data: Likewise.
55959         * conform/data/sys/types.h-data: Likewise.
55960         * conform/data/sys/uio.h-data: Likewise.
55961         * conform/data/sys/un.h-data: Likewise.
55962         * conform/data/sys/utsname.h-data: Likewise.
55963         * conform/data/sys/wait.h-data: Likewise.
55964         * conform/data/syslog.h-data: Likewise.
55965         * conform/data/tar.h-data: Likewise.
55966         * conform/data/termios.h-data: Likewise.
55967         * conform/data/utime.h-data: Likewise.
55968         * conform/data/utmpx.h-data: Likewise.
55969         * conform/data/varargs.h-data: Likewise.
55970         * conform/data/wchar.h-data: Likewise.
55971         * conform/data/wctype.h-data: Likewise.
55972         * conform/data/wordexp.h-data: Likewise.
55974         * include/stropts.h: New file.
55975         * include/uchar.h: New file.
55976         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55977         * include/assert.h: Likewise.
55978         * include/ctype.h: Likewise.
55979         * include/dirent.h: Likewise.
55980         * include/dlfcn.h: Likewise.
55981         * include/fcntl.h: Likewise.
55982         * include/fnmatch.h: Likewise.
55983         * include/glob.h: Likewise.
55984         * include/grp.h: Likewise.
55985         * include/libio.h: Likewise.
55986         * include/locale.h: Likewise.
55987         * include/math.h: Likewise.
55988         * include/net/if.h: Likewise.
55989         * include/netdb.h: Likewise.
55990         * include/netinet/in.h: Likewise.
55991         * include/pthread.h: Likewise.
55992         * include/pwd.h: Likewise.
55993         * include/regex.h: Likewise.
55994         * include/sched.h: Likewise.
55995         * include/search.h: Likewise.
55996         * include/setjmp.h: Likewise.
55997         * include/signal.h: Likewise.
55998         * include/stdio.h: Likewise.
55999         * include/stdlib.h: Likewise.
56000         * include/string.h: Likewise.
56001         * include/sys/cdefs.h: Likewise.
56002         * include/sys/mman.h: Likewise.
56003         * include/sys/msg.h: Likewise.
56004         * include/sys/resource.h: Likewise.
56005         * include/sys/select.h: Likewise.
56006         * include/sys/socket.h: Likewise.
56007         * include/sys/stat.h: Likewise.
56008         * include/sys/statvfs.h: Likewise.
56009         * include/sys/time.h: Likewise.
56010         * include/sys/times.h: Likewise.
56011         * include/sys/uio.h: Likewise.
56012         * include/sys/utsname.h: Likewise.
56013         * include/sys/wait.h: Likewise.
56014         * include/termios.h: Likewise.
56015         * include/time.h: Likewise.
56016         * include/ulimit.h: Likewise.
56017         * include/unistd.h: Likewise.
56018         * include/utime.h: Likewise.
56019         * include/wchar.h: Likewise.
56020         * include/wctype.h: Likewise.
56021         * include/wordexp.h: Likewise.
56023         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
56025         * time/time.h: TIME_UTC must be a macro.
56026         Make timespec_get available for ISO C11 only as well.
56028 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
56030         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
56031         Reported by Peng Haitao <penght@cn.fujitsu.com>.
56033 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56035         * configure.in: Use -o not -a in test for unsupported multi-arch.
56037 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56039         * manual/texinfo.tex: Update to version 2012-01-19.16.
56041 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56043         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
56045 2012-02-24  Roland McGrath  <roland@hack.frob.com>
56047         [BZ #13738]
56048         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
56049         * manual/fdl-1.3.texi: New file.
56050         * manual/fdl-1.1.texi: File removed.
56052         [BZ #13738]
56053         * manual/libc.texinfo (FDL_VERSION): New @set.
56054         Use it for mention of FDL in cover text.
56055         (Documentation License): Use it in @include file name.
56057 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56058             Roland McGrath  <roland@hack.frob.com>
56060         [BZ #5461]
56061         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
56062         (not LONG_LONG_MAX and LONG_LONG_MIN.
56063         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
56064         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
56065         name.
56066         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
56068 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56070         [BZ #2547]
56071         [BZ #11365]
56072         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
56073         manipulate bits before adding and subtracting TWO23[sx].
56074         * math/libm-test.inc (nearbyint_test): Add more tests.
56076 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56078         [BZ #2548]
56079         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
56080         bits before adding and subtracting TWO23[sx].
56081         * math/libm-test.inc (rint_test): Add more tests.
56082         (rint_test_tonearest): Likewise.
56083         (rint_test_towardzero): Likewise.
56084         (rint_test_downward): Likewise.
56085         (rint_test_upward: Likewise.
56087 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56089         [BZ #10110]
56090         * include/stdc-predef.h: New file.  Extracted from features.h.
56091         * include/features.h: Include stdc-predef.h.
56092         * Makefile (headers): Add stdc-predef.h.
56093         * CONFORMANCE (Compiler limitations): Update.
56095 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56097         * manual/libc.texinfo (VERSION, UPDATED): Revert.
56099 2012-02-21  David S. Miller  <davem@davemloft.net>
56101         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
56102         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56104 2012-02-20  David S. Miller  <davem@davemloft.net>
56106         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
56107         using a normal save/restore sequence, rather than allocating a
56108         dummy stack frame just to store a frame pointer and restore.
56109         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56111 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56113         * manual/install.texi: Fix stray word in line-wrapped comment.
56115 2012-02-20  David S. Miller  <davem@davemloft.net>
56117         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
56118         both binutils and gcc support GOTDATA.
56120         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
56121         "rd %pc" in the PIC register setup sequences.
56123         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
56124         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
56125         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56126         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
56127         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56128         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
56129         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56130         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56131         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
56132         (SYSCALL_ERROR_HANDLER): Likewise.
56133         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56134         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56135         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
56136         (SYSCALL_ERROR_HANDLER): Likewise.
56138         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
56139         (HAVE_GCC_GOTDATA): New.
56140         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
56141         relocation support in both binutils and gcc.
56142         * sysdeps/sparc/elf/configure: Regenerate.
56144         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
56145         * sysdeps/sparc/sparc32/elf/configure: Delete.
56146         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
56147         * sysdeps/sparc/sparc64/elf/configure: Delete.
56148         * sysdeps/sparc/elf/configure.in: New file.
56149         * sysdeps/sparc/elf/configure: Generate.
56151         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
56152         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
56153         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56154         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
56155         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
56157 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56159         * manual/install.texi: Do not mention specific glibc version
56160         numbers.
56161         * manual/libc.texinfo (VERSION, UPDATED): Update.
56162         (@copying): Use @copyright{} and range of years.
56164 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56166         [BZ #13695]
56167         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
56168         [crti.S not in sysdirs] (generated): Do not append.
56169         [crti.S not in sysdirs] (omit-deps): Likewise.
56170         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
56171         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
56172         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
56173         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
56174         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
56175         Likewise.
56176         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
56177         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
56178         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
56179         * csu/defs.awk: Remove file.
56180         * sysdeps/generic/initfini.c: Likewise.
56181         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
56182         variable.
56183         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
56184         Likewise.
56186 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56188         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
56189         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
56190         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
56191         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
56192         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56193         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
56194         <bits/epoll.h>.
56195         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
56196         (__EPOLL_PACKED): Define to empty if not defined by
56197         <bits/epoll.h>.
56198         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
56199         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56200         bits/epoll.h.
56202 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56204         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
56205         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
56206         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
56207         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
56208         <bits/timerfd.h>.
56209         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
56210         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56211         bits/timerfd.h.
56213 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56215         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
56216         in C locale.
56217         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56218         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56219         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
56220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56222 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
56224         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56225         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56227 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
56229         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
56230         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
56231         defined.
56232         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
56233         Likewise.
56234         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
56235         entry for 2.16.
56237 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
56239         * math/w_acos.c: Use non-signaling floating-point comparisons.
56240         * math/w_acosf.c: Likewise.
56241         * math/w_acosh.c: Likewise.
56242         * math/w_acoshf.c: Likewise.
56243         * math/w_acoshl.c: Likewise.
56244         * math/w_acosl.c: Likewise.
56245         * math/w_asin.c: Likewise.
56246         * math/w_asinf.c: Likewise.
56247         * math/w_asinl.c: Likewise.
56248         * math/w_atanh.c: Likewise.
56249         * math/w_atanhf.c: Likewise.
56250         * math/w_atanhl.c: Likewise.
56251         * math/w_exp2.c: Likewise.
56252         * math/w_exp2f.c: Likewise.
56253         * math/w_exp2l.c: Likewise.
56254         * math/w_j0.c: Likewise.
56255         * math/w_j0f.c: Likewise.
56256         * math/w_j0l.c: Likewise.
56257         * math/w_j1.c: Likewise.
56258         * math/w_j1f.c: Likewise.
56259         * math/w_j1l.c: Likewise.
56260         * math/w_jn.c: Likewise.
56261         * math/w_jnf.c: Likewise.
56262         * math/w_log.c: Likewise.
56263         * math/w_log10.c: Likewise.
56264         * math/w_log10f.c: Likewise.
56265         * math/w_log10l.c: Likewise.
56266         * math/w_log2.c: Likewise.
56267         * math/w_log2f.c: Likewise.
56268         * math/w_log2l.c: Likewise.
56269         * math/w_logf.c: Likewise.
56270         * math/w_logl.c: Likewise.
56271         * math/w_sqrt.c: Likewise.
56272         * math/w_sqrtf.c: Likewise.
56273         * math/w_sqrtl.c: Likewise.
56274         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56275         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
56276         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56277         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56278         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56280 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56282         [BZ #9739]
56283         * manual/string.texi (strnlen): Use correct parameter name in
56284         equivalent expression.
56286 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56288         [BZ #11174]
56289         * manual/users.texi (seteuid): Consistently use neweuid for
56290         argument name.
56292 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56294         [BZ #13704]
56295         * manual/nss.texi (Services in the NSS configuration): Correct
56296         list of services in example configuration file.
56298 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
56300         [BZ #11322]
56301         * manual/arith.texi: Remove statements about negative zero
56302         behaving identically to zero.
56304 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56306         [BZ #5993]
56307         * manual/install.texi: Do not document upgrading from libc5.
56309 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56311         [BZ #4596]
56312         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
56314 2012-02-18  David S. Miller  <davem@davemloft.net>
56316         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
56317         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
56318         %o7 across the call.
56319         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
56320         instead.
56321         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
56322         SETUP_PIC_REG_LEAF.
56323         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56324         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
56325         * sysdeps/sparc/crtn.S: Likewise.
56327 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
56329         * aout/Makefile: Remove.
56331 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
56333         [BZ #13058]
56334         * manual/examples/argp-ex1.c (main): Format definition in GNU
56335         style.
56336         * manual/examples/argp-ex2.c (main): Likewise.
56337         * manual/examples/argp-ex3.c (main): Likewise.
56338         * manual/examples/argp-ex4.c (main): Likewise.
56339         * manual/examples/longopt.c (main): Use new-style prototype
56340         definition.
56341         * manual/examples/strncat.c (main): Specify return type and use
56342         (void) for arguments.
56343         * manual/examples/subopt.c (main): Use char **argv argument.
56345 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56347         [BZ #5077]
56348         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
56349         rounding modes.
56351 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
56353         [BZ #6907]
56354         * manual/string.texi (strchr): Change when strchrnul is
56355         recommended.
56357 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
56359         [BZ #174]
56360         * manual/locale.texi (setlocale): Document LOCPATH.
56362 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56364         [BZ #10210]
56365         * manual/process.texi (execle): Move @dots{} before last argument.
56367 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
56369         [BZ #12047]
56370         * manual/charset.texi (Generic Charset Conversion): Fix typo
56371         (LC_TYPE -> LC_CTYPE).
56373 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
56375         [BZ #5805]
56376         * manual/arith.texi (scalbn): Use @var{} on parameter names.
56377         (scalbnf): Likewise.
56378         (scalbnl): Likewise.
56379         (scalbln): Likewise.
56380         (scalblnf): Likewise.
56381         (scalblnl): Likewise.
56382         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
56383         (vwarnx): Likewise.
56384         (verr): Likewise.
56385         (verrx): Likewise.
56386         * manual/filesys.texi (telldir): Use braces around return type.
56387         * manual/llio.texi (mmap): Add space after comma.
56388         (mmap64): Likewise.
56389         * manual/math.texi (jn): Use @var{} on parameter names.
56390         (jnf): Likewise.
56391         (jnl): Likewise.
56392         (yn): Likewise.
56393         (ynf): Likewise.
56394         (ynl): Likewise.
56395         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
56396         line.
56397         * manual/resource.texi (ulimit): Use @dots{} instead of literal
56398         "...".
56399         (sched_get_priority_min): Remove semicolon on @deftypefun line.
56400         (sched_get_priority_max): Likewise.
56401         * manual/signal.texi (sigvec): Add space after comma.
56402         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
56403         names.
56404         (if_indextoname): Likewise.
56405         (if_freenameindex): Likewise.
56406         (sendto): Use ',' instead of '.' in prototype.
56407         * manual/startup.texi (syscall): Use @dots{} instead of literal
56408         "...".
56409         * manual/stdio.texi (__fpending): Separate initial words of
56410         paragraph from @deftypefun line.
56411         * manual/syslog.texi (syslog): Use @dots{} instead of literal
56412         "...".
56413         (vsyslog): Use @var{} on parameter names.
56414         * manual/terminal.texi (stty): Use @var{} on parameter names.
56415         * manual/users.texi (getutmp): Use @var{} on parameter names.
56416         (getutmpx): Likewise.
56418 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56420         [BZ #6884]
56421         * manual/stdio.texi (fopen): Fix typos in description of
56422         ",ccs=STRING".
56424 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
56426         [BZ #4026]
56427         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
56428         get clock_id definition.
56430 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
56432         [BZ #4822]
56433         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
56434         (madvise): Cast every argument to void on its own.
56436 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56438         [BZ #9902]
56439         * manual/startup.texi (Exit Status): Fix typo.
56441 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56443         [BZ #10140]
56444         * manual/examples/argp-ex1.c: Include <stdlib.h>.
56445         * manual/examples/argp-ex2.c: Likewise.
56446         * manual/examples/argp-ex3.c: Likewise.
56448 2012-02-16  Richard Henderson  <rth@redhat.com>
56450         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
56451         * sysdeps/s390/s390-32/initfini.c: Remove.
56452         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
56453         * sysdeps/s390/s390-64/initfini.c: Remove.
56455 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56457         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
56458         compiler output for sysdeps/generic/initfini.c.
56459         * sysdeps/sh/elf/initfini.c: Remove file.
56461 2012-02-16  David S. Miller  <davem@davemloft.net>
56463         [BZ #11494]
56464         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
56466         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
56467         * sysdeps/sparc/crti.S: New file.
56468         * sysdeps/sparc/crtn.S: New file.
56469         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
56470         * sysdeps/sparc/sparc64/Makefile: Likewise.
56472 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
56474         [BZ #3335]
56475         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
56477 2012-02-15  Roland McGrath  <roland@hack.frob.com>
56479         [BZ #4822]
56480         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
56482         * mach/devstream.c (cookie_io_functions_t): Macro removed.
56483         (write, read, close): Likewise.
56484         Patch by Aurelien Jarno <aurelien@aurel32.net>.
56486 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
56488         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
56489         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
56490         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
56491         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
56492         <bits/signalfd.h>.
56493         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
56494         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56495         bits/signalfd.h.
56497 2012-02-14  Marek Polacek  <polacek@redhat.com>
56499         * sysdeps/x86_64/crti.S: New file.
56500         * sysdeps/x86_64/crtn.S: New file.
56501         * sysdeps/x86_64/elf/initfini.c: Remove file.
56503 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56505         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
56506         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
56507         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
56508         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
56509         <bits/inotify.h>.
56510         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
56511         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56512         bits/inotify.h.
56514 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56516         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
56517         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
56518         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
56519         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
56520         <bits/eventfd.h>.
56521         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
56522         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56523         bits/eventfd.h.
56525 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
56527         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
56528         __feraiseexcept instead of feraiseexcept.
56530         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
56531         nanosleep invocations.
56532         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
56533         strings, and add error checking for a nanosleep invocations.
56535 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
56537         Replace FSF snail mail address with URLs, as per GNU coding standards.
56538         Most of the snail mail addresses were wrong anyway, and omitting
56539         them makes the source code easier to maintain.  Almost all of the
56540         changes are to license notices and to locale LC_IDENTIFICATION
56541         addresses, except for this one:
56542         * manual/libc.texinfo: In "Published by", give the FSF's URL,
56543         not its snail mail address.
56545 2012-02-09  Richard Henderson  <rth@twiddle.net>
56547         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
56548         of kernel-features.h.
56550         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
56552 2012-02-08  Marek Polacek  <polacek@redhat.com>
56554         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
56555         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
56556         * sysdeps/gnu/_G_config.h: Likewise.
56557         * sysdeps/generic/_G_config.h: Likewise.
56559 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
56561         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
56562         tests.
56563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56565         * sysdeps/powerpc/powerpc32/crti.S: New file.
56566         * sysdeps/powerpc/powerpc32/crtn.S: New file.
56567         * sysdeps/powerpc/powerpc64/crti.S: New file.
56568         * sysdeps/powerpc/powerpc64/crtn.S: New file.
56570         * Makeconfig (have-initfini): Don't set.
56571         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
56572         * configure.in (nopic_initfini): Don't substitute.
56573         * config.h.in (HAVE_INITFINI): Don't #undef.
56574         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
56575         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
56577 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
56579         Support crti.S and crtn.S provided directly by architectures.
56580         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
56581         [crti.S in sysdirs] (omit-deps): Likewise.
56582         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
56583         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
56584         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
56585         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
56586         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
56587         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
56588         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
56589         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56590         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
56591         compiler output for sysdeps/generic/initfini.c.
56592         * sysdeps/i386/elf/Makefile: Remove file.
56593         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
56595 2012-02-07  Marek Polacek  <polacek@redhat.com>
56597         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
56598         * sysdeps/gnu/_G_config.h: Likewise.
56599         * sysdeps/mach/hurd/_G_config.h: Likewise.
56601 2012-02-07  Marek Polacek  <polacek@redhat.com>
56603         * math/Makefile (tests): Add tst-CMPLX2.
56604         * math/tst-CMPLX2.c: New file.
56606 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
56608         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56610         * math/libm-test.inc (jn_test): Add missing L suffix.
56612 2012-02-06  Marek Polacek  <polacek@redhat.com>
56614         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56615         * sysdeps/i386/fpu/e_powf.S: Likewise.
56616         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56617         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56618         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56619         * sysdeps/i386/fpu/e_pow.S: Likewise.
56620         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56621         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56622         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56623         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56624         * sysdeps/i386/fpu/e_log2.S: Likewise.
56625         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56626         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56627         * sysdeps/i386/fpu/e_powl.S: Likewise.
56628         * sysdeps/i386/fpu/s_log1p.S: Likewise.
56629         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56630         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56631         * sysdeps/i386/fpu/e_logl.S: Likewise.
56632         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56633         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56634         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56635         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56636         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56637         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56638         * sysdeps/i386/fpu/e_log.S: Likewise.
56639         * sysdeps/i386/fpu/s_cexp.S: Likewise.
56640         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56641         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56642         * sysdeps/i386/fpu/e_logf.S: Likewise.
56643         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56644         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56645         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56646         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56647         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56648         * sysdeps/i386/fpu/e_log10.S: Likewise.
56649         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56650         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56651         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56652         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56653         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56654         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56655         * sysdeps/i386/asm-syntax.h: Likewise.
56656         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56657         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56658         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56659         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56660         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56661         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56662         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56663         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56664         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56665         * sysdeps/powerpc/sysdep.h: Likewise.
56666         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56667         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56669 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56671         [BZ #411]
56672         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56674 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56676         * sysdeps/i386/sysdep.h: Include <features.h>.
56677         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56678         version.
56680 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56682         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56683         Define.
56684         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56685         LOAD_PIC_REG_STR.
56687 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56689         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56690         (SETUP_PIC_REG): Use GET_PC_THUNK.
56691         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56692         macro.
56694 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56696         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56697         for non-PIC compilation.
56698         (SETUP_PIC_REG): Add .p2align directive.
56699         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56700         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56701         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56702         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56703         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56704         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56705         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56706         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56707         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56708         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56709         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56710         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56711         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56712         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56713         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56714         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56715         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56716         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56717         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56718         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56719         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56720         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56721         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56722         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56723         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56724         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56725         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56726         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56727         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56728         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56729         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56730         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56731         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56732         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56733         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56734         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56735         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56736         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56737         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56738         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56739         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56741 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56743         * math/tst-CMPLX.c: Include <stdio.h>.
56745 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56747         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56748         float.
56749         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56750         * sysdeps/sparc/bits/mathdef.h: Likewise.
56752 2012-01-31  Marek Polacek  <polacek@redhat.com>
56754         * libio/libio.h: Don't define _PARAMS.
56755         * locale/programs/config.h: Don't define PARAMS.
56756         * stdlib/strtol_l.c: Likewise.
56757         (__strtol_l): Remove PARAMS from the prototype.
56759 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56761         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56762         names.  Just use the correct names.  Remove unnecessary wrapper
56763         functions.
56764         * malloc/arena.c: Likewise.
56765         * malloc/hooks.c: Likewise.
56767         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56768         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56769         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56771 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56773         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56774         into tail calls.
56775         (update_get_addr): New function.
56776         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56777         GET_ADDR_MODULE parameter.
56779 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56781         * crypt/cert.c: Remove __STDC__ conditionals.
56782         * crypt/crypt-entry.c: Likewise.
56783         * crypt/crypt_util.c: Likewise.
56784         * libio/filedoalloc.c: Likewise.
56785         * libio/fileops.c: Likewise.
56786         * libio/genops.c: Likewise.
56787         * libio/iofclose.c: Likewise.
56788         * libio/iofdopen.c: Likewise.
56789         * libio/iofopen.c: Likewise.
56790         * libio/iofopen64.c: Likewise.
56791         * libio/iogetdelim.c: Likewise.
56792         * libio/iopopen.c: Likewise.
56793         * libio/obprintf.c: Likewise.
56794         * libio/oldfileops.c: Likewise.
56795         * libio/oldiofclose.c: Likewise.
56796         * libio/oldiofdopen.c: Likewise.
56797         * libio/oldiofopen.c: Likewise.
56798         * libio/oldiopopen.c: Likewise.
56799         * libio/wfiledoalloc.c: Likewise.
56800         * libio/wgenops.c: Likewise.
56801         * locale/programs/xmalloc.c: Likewise.
56802         * misc/syslog.c: Likewise.
56803         * stdio-common/xbug.c: Likewise.
56804         * string/memchr.c: Likewise.
56805         * string/memcmp.c: Likewise.
56806         * string/memrchr.c: Likewise.
56807         * string/rawmemchr.c: Likewise.
56808         * sysdeps/posix/getcwd.c: Likewise.
56809         * time/strftime_l.c: Likewise.
56811 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56813         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56814         * config.make.in (config-cflags-sse2avx): Define.
56815         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56816         Fix typo.
56818 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56820         * scripts/config.guess: Update from upstream config git repository.
56821         * scripts/config.sub: Likewise.
56823 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56825         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56826         (EM_NUM): Update.
56827         (R_TILEPRO_*, R_TILEGX_*): New macros.
56829         * scripts/firstversions.awk: Fix bug in version range handling.
56831         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56833         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56835         * include/sys/epoll.h: New file.
56836         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56837         libc_hidden_def.
56839 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56841         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56842         Avoid unnecessary __WORDSIZE == 64 test.
56843         (fmaxf): Use VEX format if possible.
56844         (fmax): Likewise.
56845         (fminf): Likewise.
56846         (fmin): Likewise.
56848         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56849         * math/math_private.h: Remove libc_fegetround* and
56850         libc_fesetround*.
56851         * sysdeps/i386/configure.in: Check for -msse2avx.
56852         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56853         also if SSE2AVX is defined.
56854         Remove libc_fegetround* and libc_fesetround*.
56855         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56856         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56857         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56858         of HAS_YMM_USABLE.
56859         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56860         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56861         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56862         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56863         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56865         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56867 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56869         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56870         size is not set.
56871         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56873 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56875         [BZ #13618]
56876         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56877         relocation.
56878         * Makeconfig (libm): Define.
56879         * elf/Makefile: Add rules to build and run tst-relsort1.
56880         * elf/tst-relsort1.c: New file.
56881         * elf/tst-relsort1mod1.c: New file.
56882         * elf/tst-relsort1mod2.c: New file.
56884 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56886         * math/s_ldexp.c: Remove __STDC__ conditionals.
56887         * math/s_ldexpf.c: Likewise.
56888         * math/s_ldexpl.c: Likewise.
56889         * math/s_nextafter.c: Likewise.
56890         * math/s_nexttowardf.c: Likewise.
56891         * math/s_significand.c: Likewise.
56892         * math/s_significandf.c: Likewise.
56893         * math/s_significandl.c: Likewise.
56894         * math/w_jnl.c: Likewise.
56895         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56896         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56897         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56898         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56899         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56900         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56901         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56902         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56903         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56904         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56905         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56906         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56907         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56908         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56909         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56910         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56911         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56912         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56913         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56914         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56915         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56916         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56917         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56918         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56919         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56920         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56921         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56922         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56923         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56924         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56925         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56926         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56927         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56928         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56929         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56930         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56931         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56932         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56933         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56934         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56935         * sysdeps/ieee754/k_standard.c: Likewise.
56936         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56937         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56938         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56939         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56940         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56941         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56942         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56943         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56944         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56945         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56946         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56947         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56948         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56949         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56950         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56951         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56952         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56953         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56954         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56955         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56956         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56957         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56958         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56959         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56960         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56961         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56962         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56963         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56964         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56965         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56966         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56967         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56968         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56969         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56970         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56971         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56972         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56973         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56974         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56975         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56976         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56977         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56978         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56979         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56980         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56981         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56982         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56983         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56984         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56985         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56986         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56987         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56988         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56989         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56990         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56991         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56992         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56993         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56994         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56995         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56996         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56997         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56998         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56999         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57000         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57001         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57002         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57003         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57004         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57005         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57006         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57007         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57008         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57009         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57010         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57011         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57012         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57013         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57014         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57015         * sysdeps/ieee754/s_matherr.c: Likewise.
57016         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57017         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57018         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57019         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57021 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
57023         * crypt/md5.h: Remove __STDC__ conditionals.
57024         * libio/libioP.h: Likewise.
57025         * locale/programs/config.h: Likewise.
57026         * sysdeps/generic/sysdep.h: Likewise.
57027         * sysdeps/i386/asm-syntax.h: Likewise.
57028         * sysdeps/s390/asm-syntax.h: Likewise.
57029         * sysdeps/unix/sysdep.h: Likewise.
57030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
57031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57033 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
57035         * libio/libio.h: Remove __STDC__ conditionals.
57036         * malloc/obstack.h: Likewise.
57037         * math/complex.h: Likewise.
57038         * math/math.h: Likewise.
57039         * sysdeps/generic/_G_config.h: Likewise.
57040         * sysdeps/gnu/_G_config.h: Likewise.
57041         * sysdeps/mach/hurd/_G_config.h: Likewise.
57042         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57043         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57044         * sysdeps/sparc/bits/mathdef.h: Likewise.
57046 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
57048         [BZ #13583]
57049         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
57050         Clean up HAS_* macros.
57051         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
57052         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
57053         possible.
57054         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
57055         HAS_AVX.
57056         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57057         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57058         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57059         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57060         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57062 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
57064         * elf/tst-unique3.cc (gets): Remove declaration.
57065         * elf/tst-unique3lib.cc (gets): Likewise.
57066         * elf/tst-unique3lib2.cc (gets): Likewise.
57067         * elf/tst-unique4.cc (gets): Likewise.
57069 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
57071         * include/stdio.h: Add C++ protection.  Add gets declarations and
57072         definitions.
57073         * debug/tst-chk1.c: Don't declare gets here.
57074         * stdio-common/tst-gets.c: Likewise.
57076 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57078         * posix/glob: Remove directory.
57080 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57082         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
57084 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
57086         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
57087         of the non-standard EPFNOSUPPORT.
57089 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57091         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
57092         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
57093         ANYWHERE set to 1 only on KERN_NO_SPACE error.
57095 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
57097         * wcsmbs/uchar.h: Test __STDC_VERSION__.
57099 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
57101         * nscd/aicache.c (addhstaiX): Do not cache negative results of
57102         transient errors.
57103         * nscd/grpcache.c (cache_addgr): Likewise.
57104         * nscd/hstcache.c (cache_addhst): Likewise.
57105         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57106         * nscd/pwdcache.c (cache_addpw): Likewise.
57107         * nscd/servicescache.c (cache_addserv): Likewise.
57109 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
57111         * malloc/malloc.c: Various cleanups.
57112         * malloc/hooks.c: Likewise.
57114         * stdlib/Makefile (tests): Add bug-fmtmsg1.
57115         * stdlib/bug-fmtmsg1.c: New file.
57117         * stdlib/fmtmsg.c (init): Add missing unlock.
57118         Patch by Peng Haitao <penght@cn.fujitsu.com>.
57120 2012-01-12  Marek Polacek  <polacek@redhat.com>
57122         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
57123         and _GNU_SOURCE.
57125 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
57127         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
57128         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
57129         macro to ensure uniqueness of label name.
57130         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57131         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57133 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
57135         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
57137         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
57138         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57139         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57140         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
57142 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
57144         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
57146         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
57147         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57148         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57150         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
57152         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
57153         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57154         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57155         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
57157         * math/bits/math-finite.h: Add ldexp support.
57159 2012-01-10  Marek Polacek  <polacek@redhat.com>
57161         * locale/programs/localedef.h (show_archive_content): Add noreturn
57162         attribute.
57164 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
57166         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
57168 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57170         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
57172         * io/Makefile (headers): Add bits/poll2.h.
57174 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
57176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
57177         typo #include statement.
57179 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57181         * include/sys/cdefs.h: Define __attribute_alloc_size.
57182         * catgets/gencat.c: Add alloc_size attribute and apply consistently
57183         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
57184         * elf/pldd.c: Likewise.
57185         * iconv/iconv_charmap.c: Likewise.
57186         * iconv/iconvconfig.c: Likewise.
57187         * iconv/strtab.c: Likewise.
57188         * locale/programs/locale.c: Likewise.
57189         * locale/programs/localedef.h: Likewise.
57190         * locale/programs/simple-hash.c: Likewise.
57191         * nscd/nscd.h: Likewise.
57192         * nss/makedb.c: Likewise.
57193         * sysdeps/generic/ldconfig.h: Likewise.
57194         * locale/programs/localedef.c: Remove xmalloc prototype.
57195         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
57197 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
57199         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
57200         appropriate.
57202 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57204         * math/Makefile (tests): Add tst-CMPLX.
57205         * math/tst-CMPLX.c: New file.
57207         * math/complex.h (CMPLXL): Fix typo.
57209         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
57210         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
57211         GLIBC_2.16.
57212         * debug/tst-chk1.c: Add poll and ppoll tests.
57213         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
57214         * include/sys/poll.h: Add hidden proto for ppoll.
57215         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
57216         * sysdeps/mach/hurd/ppoll.c: Likewise.
57217         * io/ppoll.c: Likewise.
57218         * debug/poll_chk.c: New file.
57219         * debug/ppoll_chk.c: New file.
57220         * include/bits/poll2.h: New file.
57221         * io/bits/poll2.h: New file.
57223         [BZ #1350]
57224         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
57226         * configure.in: static is always set to yes.  Remove.
57227         * config.make.in: Don't set build-static.
57228         * Makeconfig: Remove use of build-static.
57229         * dlfcn/Makefile: Likewise.
57230         * elf/Makefile: Likewise.
57231         * math/Makefile: Likewise.
57232         * misc/Makefile: Likewise.
57233         * nptl/Makefile: Likewise.
57234         * sysdeps/mach/hurd/Makefile: Likewise.
57236         * configure.in: PWD_P is not used anymore.
57237         * config.make.in: Remove PWD_P entry.
57239         * configure.in: Remove last remnants of RANLIB.
57240         No need to check for signed size_t anymore.
57241         Don't set libc_commonpagesize and libc_relro_required here for Alpha
57242         and IA-64.
57243         Remove __builtin_expect test because we require at least gcc 3.4.
57244         * aclocal.m4: Likewise.
57246         * wcsmbs/mbrtoc16.c: Implement using towc function.
57247         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
57248         * wcsmbs/wcsmbsload.c: Likewise.
57249         * iconv/gconv_simple.c: Likewise.
57250         * iconv/gconv_int.h: Likewise.
57251         * iconv/gconv_builtin.h: Likewise.
57252         * iconv/iconv_prog.c: Remove CHAR16 handling.
57254         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
57256         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
57258         * configure.in: Remove --with-elf and --enable-bounded options.
57259         Dont set base_machine for ia64.  More non-ELF conditions removed.
57260         Remove testing and setting of leading underscore information.
57261         * config.make.in (build-bounded): Set to no.
57262         * config.h.in: Remove NO_UNDERSCORES entry.
57263         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
57264         them.
57265         * csu/start.c: Remove !NO_UNDERSCORE code.
57266         * locale/localeinfo.h: Likewise.
57267         * sysdeps/generic/machine-gmon.h: Likewise.
57268         * sysdeps/generic/sysdep.h: Likewise.
57269         * sysdeps/i386/sysdep.h: Likewise.
57270         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57271         * sysdeps/mach/sysdep.h: Likewise.
57272         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57273         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57274         * sysdeps/sh/sysdep.h: Likewise.
57275         * sysdeps/sparc/sparc32/alloca.S: Likewise.
57276         * sysdeps/unix/i386/sysdep.S: Likewise.
57277         * sysdeps/unix/sparc/start.c: Likewise.
57278         * sysdeps/unix/sparc/sysdep.S: Likewise.
57279         * sysdeps/unix/sparc/sysdep.h: Likewise.
57280         * sysdeps/unix/start.c: Likewise.
57281         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57282         * sysdeps/x86_64/sysdep.h: Likewise.
57284 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
57286         [BZ #13553]
57287         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
57288         for non-gcc.
57289         * argp/argp-fmtstream.h: Use const instead __const.
57290         * argp/argp.h: Likewise.
57291         * assert/assert.h: Likewise.
57292         * bits/fenv.h: Likewise.
57293         * bits/sched.h: Likewise.
57294         * bits/sigset.h: Likewise.
57295         * bits/sigthread.h: Likewise.
57296         * catgets/nl_types.h: Likewise.
57297         * conform/data/pthread.h-data: Likewise.
57298         * crypt/crypt-private.h: Likewise.
57299         * crypt/crypt.h: Likewise.
57300         * crypt/crypt_util.c: Likewise.
57301         * ctype/ctype.h: Likewise.
57302         * debug/execinfo.h: Likewise.
57303         * debug/mbsnrtowcs_chk.c: Likewise.
57304         * debug/mbsrtowcs_chk.c: Likewise.
57305         * debug/wcsnrtombs_chk.c: Likewise.
57306         * debug/wcsrtombs_chk.c: Likewise.
57307         * debug/wcstombs_chk.c: Likewise.
57308         * dirent/dirent.h: Likewise.
57309         * dlfcn/dlfcn.h: Likewise.
57310         * elf/neededtest4.c: Likewise.
57311         * grp/grp.h: Likewise.
57312         * gshadow/gshadow.h: Likewise.
57313         * iconv/gconv.h: Likewise.
57314         * iconv/gconv_int.h: Likewise.
57315         * iconv/gconv_simple.c: Likewise.
57316         * iconv/iconv.h: Likewise.
57317         * iconv/loop.c: Likewise.
57318         * iconv/skeleton.c: Likewise.
57319         * include/aio.h: Likewise.
57320         * include/aliases.h: Likewise.
57321         * include/argz.h: Likewise.
57322         * include/arpa/inet.h: Likewise.
57323         * include/assert.h: Likewise.
57324         * include/dirent.h: Likewise.
57325         * include/dlfcn.h: Likewise.
57326         * include/execinfo.h: Likewise.
57327         * include/fcntl.h: Likewise.
57328         * include/fenv.h: Likewise.
57329         * include/glob.h: Likewise.
57330         * include/grp.h: Likewise.
57331         * include/libintl.h: Likewise.
57332         * include/mntent.h: Likewise.
57333         * include/netdb.h: Likewise.
57334         * include/pwd.h: Likewise.
57335         * include/rpc/netdb.h: Likewise.
57336         * include/sched.h: Likewise.
57337         * include/search.h: Likewise.
57338         * include/shadow.h: Likewise.
57339         * include/signal.h: Likewise.
57340         * include/stdio.h: Likewise.
57341         * include/stdlib.h: Likewise.
57342         * include/string.h: Likewise.
57343         * include/sys/socket.h: Likewise.
57344         * include/sys/stat.h: Likewise.
57345         * include/sys/statfs.h: Likewise.
57346         * include/sys/statvfs.h: Likewise.
57347         * include/sys/syslog.h: Likewise.
57348         * include/sys/time.h: Likewise.
57349         * include/sys/uio.h: Likewise.
57350         * include/time.h: Likewise.
57351         * include/unistd.h: Likewise.
57352         * include/utmp.h: Likewise.
57353         * include/wchar.h: Likewise.
57354         * include/wctype.h: Likewise.
57355         * inet/aliases.h: Likewise.
57356         * inet/arpa/inet.h: Likewise.
57357         * inet/netinet/ether.h: Likewise.
57358         * inet/netinet/in.h: Likewise.
57359         * intl/libintl.h: Likewise.
57360         * io/bits/fcntl2.h: Likewise.
57361         * io/fcntl.h: Likewise.
57362         * io/ftw.h: Likewise.
57363         * io/sys/poll.h: Likewise.
57364         * io/sys/stat.h: Likewise.
57365         * io/sys/statfs.h: Likewise.
57366         * io/sys/statvfs.h: Likewise.
57367         * io/utime.h: Likewise.
57368         * libio/bits/stdio.h: Likewise.
57369         * libio/bits/stdio2.h: Likewise.
57370         * libio/libio.h: Likewise.
57371         * libio/libioP.h: Likewise.
57372         * libio/stdio.h: Likewise.
57373         * locale/lc-ctype.c: Likewise.
57374         * locale/locale.h: Likewise.
57375         * login/utmp.h: Likewise.
57376         * malloc/arena.c: Likewise.
57377         * malloc/malloc.c: Likewise.
57378         * malloc/malloc.h: Likewise.
57379         * malloc/mcheck.c: Likewise.
57380         * malloc/mtrace.c: Likewise.
57381         * math/bits/mathcalls.h: Likewise.
57382         * math/fenv.h: Likewise.
57383         * math/math_private.h: Likewise.
57384         * misc/bits/error.h: Likewise.
57385         * misc/bits/syslog.h: Likewise.
57386         * misc/err.h: Likewise.
57387         * misc/error.h: Likewise.
57388         * misc/fstab.h: Likewise.
57389         * misc/mntent.h: Likewise.
57390         * misc/regexp.h: Likewise.
57391         * misc/search.h: Likewise.
57392         * misc/sgtty.h: Likewise.
57393         * misc/sys/mman.h: Likewise.
57394         * misc/sys/syslog.h: Likewise.
57395         * misc/sys/uio.h: Likewise.
57396         * misc/sys/xattr.h: Likewise.
57397         * misc/ttyent.h: Likewise.
57398         * nis/rpcsvc/ypclnt.h: Likewise.
57399         * nss/nss.h: Likewise.
57400         * posix/bits/unistd.h: Likewise.
57401         * posix/fnmatch.h: Likewise.
57402         * posix/glob.h: Likewise.
57403         * posix/sched.h: Likewise.
57404         * posix/spawn.h: Likewise.
57405         * posix/sys/wait.h: Likewise.
57406         * posix/unistd.h: Likewise.
57407         * posix/wordexp.h: Likewise.
57408         * pwd/pwd.h: Likewise.
57409         * resolv/netdb.h: Likewise.
57410         * resource/sys/resource.h: Likewise.
57411         * rt/aio.h: Likewise.
57412         * rt/bits/mqueue2.h: Likewise.
57413         * rt/mqueue.h: Likewise.
57414         * shadow/shadow.h: Likewise.
57415         * signal/signal.h: Likewise.
57416         * socket/send.c: Likewise.
57417         * socket/sendto.c: Likewise.
57418         * socket/sys/socket.h: Likewise.
57419         * stdio-common/printf.h: Likewise.
57420         * stdlib/bits/stdlib.h: Likewise.
57421         * stdlib/fmtmsg.h: Likewise.
57422         * stdlib/monetary.h: Likewise.
57423         * stdlib/stdlib.h: Likewise.
57424         * stdlib/ucontext.h: Likewise.
57425         * streams/stropts.h: Likewise.
57426         * string/argz.h: Likewise.
57427         * string/bits/string2.h: Likewise.
57428         * string/string.h: Likewise.
57429         * string/strings.h: Likewise.
57430         * sunrpc/rpc/auth.h: Likewise.
57431         * sunrpc/rpc/auth_des.h: Likewise.
57432         * sunrpc/rpc/clnt.h: Likewise.
57433         * sunrpc/rpc/netdb.h: Likewise.
57434         * sunrpc/rpc/pmap_clnt.h: Likewise.
57435         * sunrpc/rpc/xdr.h: Likewise.
57436         * sysdeps/generic/inttypes.h: Likewise.
57437         * sysdeps/generic/net/if.h: Likewise.
57438         * sysdeps/generic/sys/swap.h: Likewise.
57439         * sysdeps/gnu/net/if.h: Likewise.
57440         * sysdeps/gnu/utmpx.h: Likewise.
57441         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
57442         * sysdeps/i386/i486/bits/string.h: Likewise.
57443         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
57444         * sysdeps/s390/bits/string.h: Likewise.
57445         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
57446         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
57447         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
57448         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
57449         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
57450         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
57451         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
57452         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
57453         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
57454         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
57455         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
57456         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57457         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
57458         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57459         * sysdeps/unix/sysv/linux/readv.c: Likewise.
57460         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
57461         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57462         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57463         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
57464         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
57465         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57466         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
57467         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
57468         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
57469         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
57470         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
57471         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
57472         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57473         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
57474         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
57475         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
57476         * sysvipc/sys/ipc.h: Likewise.
57477         * sysvipc/sys/msg.h: Likewise.
57478         * sysvipc/sys/sem.h: Likewise.
57479         * sysvipc/sys/shm.h: Likewise.
57480         * termios/termios.h: Likewise.
57481         * time/sys/time.h: Likewise.
57482         * time/time.h: Likewise.
57483         * wcsmbs/bits/wchar2.h: Likewise.
57484         * wcsmbs/uchar.h: Likewise.
57485         * wcsmbs/wchar.h: Likewise.
57486         * wctype/wctype.h: Likewise.
57488         [BZ #13551]
57489         * Makeconfig: Remove all but ELF support including AIX support.
57490         * Makerules: Likewise.
57491         * config.h.in: Likewise.
57492         * config.make.in: Likewise.
57493         * configure: Likewise.
57494         * configure.in: Likewise.
57495         * csu/Makefile: Likewise.
57496         * csu/version.c: Likewise.
57497         * debug/Makefile: Likewise.
57498         * dlfcn/Makefile: Likewise.
57499         * elf/Makefile: Likewise.
57500         * extra-lib.mk: Likewise.
57501         * iconv/Makefile: Likewise.
57502         * include/libc-symbols.h: Likewise.
57503         * include/shlib-compat.h: Likewise.
57504         * resolv/Makefile: Likewise.
57505         * resolv/res_libc.c: Likewise.
57506         * rt/Makefile: Likewise.
57507         * sysdeps/i386/asm-syntax.h: Likewise.
57508         * sysdeps/i386/sysdep.h: Likewise.
57509         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57510         * sysdeps/mach/sysdep.h: Likewise.
57511         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
57512         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
57513         * sysdeps/s390/asm-syntax.h: Likewise.
57514         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57515         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57516         * sysdeps/sh/sysdep.h: Likewise.
57517         * sysdeps/unix/sparc/sysdep.h: Likewise.
57518         * sysdeps/wordsize-32/divdi3.c: Likewise.
57519         * sysdeps/x86_64/sysdep.h: Likewise.
57521         * argp/Versions: Remove _argp_unlock_xxx.
57523         [BZ #13559]
57524         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
57525         * abilist/libBrokenLocale.abilist: Likewise.
57526         * abilist/libanl.abilist: Likewise.
57527         * abilist/libc.abilist: Likewise.
57528         * abilist/libcrypt.abilist: Likewise.
57529         * abilist/libdl.abilist: Likewise.
57530         * abilist/libm.abilist: Likewise.
57531         * abilist/libnsl.abilist: Likewise.
57532         * abilist/libpthread.abilist: Likewise.
57533         * abilist/libresolv.abilist: Likewise.
57534         * abilist/librt.abilist: Likewise.
57535         * abilist/libthread_db.abilist: Likewise.
57536         * abilist/libutil.abilist: Likewise.
57537         * abilist/libnss_db.abilist: New file.
57539         * scripts/abilist.awk: Add support for indirect functions.
57541         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
57543         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
57545         * shlib-versions: Remove entries for ports architectures.
57547         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
57548         files in ports.
57549         * elf/stackguard-macros.h: Remove support for IA-64.
57550         * elf/tst-auditmod1.c: Likewise.
57551         * sysdeps/generic/ldsodefs.h: Likewise.
57553         * sysdeps/unix/sysv/linux/configure.in: Ports should define
57554         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
57555         configure files.
57557         [BZ #13552]
57558         * configure.in: Remove --enable-omitfp support.
57559         * FAQ.in: Adjust.
57560         * config.make.in: Likewise.
57561         * Makeconfig: Likewise.
57562         * manual/install.texi: Likewise.
57564         In case anyone cares, the IA-64 architecture could move to ports.
57565         * sysdeps/ia64/*: Removed.
57566         * sysdeps/unix/sysv/linux/ia64/*: Removed.
57567         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
57569         [BZ #13555]
57570         * configure.in: Remove entries for unsupported architectures.
57572         [BZ #13533]
57573         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
57574         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
57575         routines.
57576         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
57577         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
57578         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
57579         fall back to using wcrtomb.
57580         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
57581         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
57582         renaming.
57583         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
57584         * wcsmbs/tst-c16c32-1.c: New file.
57586         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
57587         local variable.
57589         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
57591         * elf/tst-unique3.cc: Add explicit declaration of gets.
57592         * elf/tst-unique3lib.cc: Likewise.
57593         * elf/tst-unique3lib2.cc: Likewise.
57594         * elf/tst-unique4.cc: Likewise.
57596         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
57598 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
57600         [BZ #13566]
57601         * assert/assert.h (static_assert): Don't define for C++.
57602         * libio/stdio.h (gets): Do declare for C++ <= C++11.
57603         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57605 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
57607         * iconv/loop.c (single loop): Fix assertion in storing of
57608         remaining bytes.
57610         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57612 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
57614         * posix/getconf.c: Update copyright year.
57615         * nss/getent.c: Likewise.
57616         * nss/makedb.c: Likewise.
57617         * iconv/iconvconfig.c: Likewise.
57618         * iconv/iconv_prog.c: Likewise.
57619         * elf/ldconfig.c: Likewise.
57620         * elf/pldd.c: Likewise.
57621         * elf/sotruss.ksh: Likewise.
57622         * catgets/gencat.c: Likewise.
57623         * csu/version.c: Likewise.
57624         * elf/ldd.bash.in: Likewise.
57625         * elf/sprof.c (print_version): Likewise.
57626         * locale/programs/locale.c: Likewise.
57627         * locale/programs/localedef.c: Likewise.
57628         * login/programs/pt_chown.c: Likewise.
57629         * nscd/nscd.c (print_version): Likewise.
57630         * debug/xtrace.sh: Likewise.
57631         * malloc/memusage.sh: Likewise.
57632         * malloc/mtrace.pl: Likewise.
57633         * debug/catchsegv.sh: Likewise.
57635 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
57637         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57638         pure attribute.
57640 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
57642         [BZ #13533]
57643         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57644         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57645         transformations.
57646         * iconv/gconv_int.h: Likewise.
57647         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57648         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57649         from libc for GLIBC_2.16.
57650         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57651         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57652         * wcsmbs/uchar.h: Really define mbstate_t.
57653         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57654         * wcsmbs/c16rtomb.c: New file.
57655         * wcsmbs/mbrtoc16.c: New file.
57656         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57657         for C/POSIX locale.
57658         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57659         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57661         * wcsmbs/wchar.h: Add missing __restrict.
57663 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57665         [BZ #13532]
57666         * time/Makefile (routines): Add timespec_get.
57667         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57668         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57669         timespec for ISO C11.
57670         * time/timespec_get.c: New file.
57671         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57672         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57674         [BZ #13531]
57675         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57676         * stdlib/stdlib.h: Declare aligned_alloc.
57677         * Versions.def: Add GLIBC_2.16 for libc.
57678         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57680         [BZ 13527]
57681         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57682         ISO C11.
57684         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57685         code.
57687         [BZ #13528]
57688         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57690         [BZ #13529]
57691         * assert/assert.h (static_assert): Define.
57693         * version.h: Update for 2.16 development version.
57695         [BZ #13526]
57696         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57697         _ISOC11_SOURCE.
57699         * version.h (RELEASE): Bump for 2.15 release.
57700         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57702         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57703         Patch by Marek Polacek <mpolacek@redhat.com>.
57705         * bits/byteswap.h: Protect long long constants with __extension__.
57706         * sysdeps/i386/bits/byteswap.h: Likewise.
57707         * sysdeps/ia64/bits/byteswap.h: Likewise.
57708         * sysdeps/s390/bits/byteswap.h: Likewise.
57709         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57711 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57713         [BZ #13540]
57714         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57715         destination buffer.
57716         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57718 2011-12-23  Marek Polacek  <polacek@redhat.com>
57720         * elf/dl-addr.c (determine_info): Add inline keyword.
57721         * elf/tst-auditmod4b.c (check_avx): Likewise.
57722         * elf/tst-auditmod6b.c (check_avx): Likewise.
57723         * elf/tst-auditmod6c.c (check_avx): Likewise.
57724         * elf/tst-auditmod7b.c (check_avx): Likewise.
57726 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57728         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57729         !__SSE_MATH__.
57731 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57733         [BZ #13540]
57734         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57735         processing for last bytes.
57737 2011-08-06  Bruno Haible  <bruno@clisp.org>
57739         [BZ #13061]
57740         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57741         U+0385, not to U+1FEE.
57743         [BZ #13062]
57744         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57745         entry for U+00A5 U+0301.
57747 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57749         [BZ #13166]
57750         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57751         buffer for the output is too small.
57753         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57754         optimization.
57756         [BZ #13185]
57757         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57758         SSE flags if possible.
57760 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57762         [BZ #13540]
57763         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57764         processing for last bytes.
57766 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57768         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57769         (syscall-list-default-options, syscall-list-default-condition)
57770         (syscall-list-includes): Define.
57771         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57772         list of ABIs and options and #if conditions for each ABI.  Do not
57773         handle common syscalls between ABIs specially.
57774         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57775         Remove.
57776         (syscall-list-variants, syscall-list-32bit-options)
57777         (syscall-list-32bit-condition, syscall-list-64bit-options)
57778         (syscall-list-64bit-condition): Define.
57779         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57780         (syscall-list-variants, syscall-list-32bit-options)
57781         (syscall-list-32bit-condition, syscall-list-64bit-options)
57782         (syscall-list-64bit-condition): Define.
57783         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57784         Remove.
57785         (syscall-list-variants, syscall-list-32bit-options)
57786         (syscall-list-32bit-condition, syscall-list-64bit-options)
57787         (syscall-list-64bit-condition): Define.
57788         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57789         Remove.
57790         (syscall-list-variants, syscall-list-32bit-options)
57791         (syscall-list-32bit-condition, syscall-list-64bit-options)
57792         (syscall-list-64bit-condition): Define.
57794 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57796         * locale/iso-639.def: Add brx entry.
57798         [BZ #13328]
57799         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57800         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57802         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57803         __feraiseexcept_renamed.
57805 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57807         [BZ #13538]
57808         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57809         EPOLLET with unsigned values.
57810         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57811         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57813         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57814         to large cancellation.
57815         * math/s_cacoshf.c: Likewise.
57816         * math/s_cacoshl.c: Likewise.
57818 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57820         [BZ #13305]
57821         [BZ #12786]
57822         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57823         * math/s_cacoshf.c: Likewise.
57824         * math/s_cacoshl.c: Likewise.
57826 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57828         [BZ #13439]
57829         * iconv/gconv.h: Define __GCONV_SWAP.
57830         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57831         * iconvdata/utf-16.c: Likewise.
57832         * iconvdata/utf-32.c: Likewise.
57834 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57836         [BZ #13524]
57837         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57838         numerator after shifting it by one limb.
57840 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57842         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57843         under [__USE_EXTERN_INLINES].
57845 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57847         [BZ #13446]
57848         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57850 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57852         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57853         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57854         optimized code.
57855         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57856         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57857         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57858         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57859         for strncasecmp/strncasecmp_l compilation.
57860         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57861         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57863 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57865         [BZ #13484]
57866         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57867         of __asm__.
57869 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57871         [BZ #13506]
57872         * time/tzfile.c (__tzfile_read): Check values from file header.
57874 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57876         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57877         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57878         * powerpc/powerpc32/dl-start.S: Likewise.
57879         * powerpc/powerpc32/elf/start.S: Likewise.
57880         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57881         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57882         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57883         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57884         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57885         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57886         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57887         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57888         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57889         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57890         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57891         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57892         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57893         * powerpc/powerpc32/memset.S: Likewise.
57894         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57895         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57896         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57897         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57898         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57899         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57900         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57901         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57902         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57903         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57904         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57905         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57906         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57908 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57910         * math/libm-test.inc: Added more nearbyint tests.
57911         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57912         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57913         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57914         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57916 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57918         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57919         FD_CLOEXEC.
57921 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57923         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57924         Add wcscpy-ssse3 wcscpy-c.
57925         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57926         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57927         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57928         * sysdeps/x86_64/wcschr.S: New file.
57929         * sysdeps/x86_64/wcsrchr.S: New file.
57930         * string/test-strcmp.c: Remove checking of wcscmp function for
57931         wrong alignments.
57932         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57933         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57934         wcsrchr-sse2 wcsrchr-c.
57935         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57936         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57937         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57938         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57939         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57940         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57941         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57942         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57943         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57944         * wcsmbc/wcschr.c (WCSCHR): New macro.
57946 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57948         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57949         * wcsmbs/test-wcsrchr.c: New file.
57950         * string/test-strrchr.c: Add wcsrchr support.
57951         (WIDE): New macro.
57952         * wcsmbs/test-wcscpy.c: New file.
57953         * string/test-strcpy.c: Add wcscpy support.
57954         (WIDE): New macro.
57956 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57958         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57959         the inner loop.
57961 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57963         [BZ #13472]
57964         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57966 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57968         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57969         Minor optimizations.
57971         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57972         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57973         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57975 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57977         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57978         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57979         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57980         for gcc to avoid warnings.
57981         * inet/Makefile (tests): Add tst-checks.
57982         * inet/tst-checks.c: New file.
57984         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57985         warning.
57987         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57988         __wmemcmp_sse2.
57990         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57991         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57993         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57995 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57997         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57998         problem.
58000         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
58002 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
58004         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
58005         conditional on GCC version.
58006         (__arch_compare_and_exchange_val_8_acq)
58007         (__arch_compare_and_exchange_val_16_acq)
58008         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
58009         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
58010         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
58012 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
58014         * sysdeps/sh/backtrace.c: New file.
58016 2011-12-02  Andreas Schwab  <schwab@redhat.com>
58018         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
58019         parenthesis.
58021 2011-12-01  Andreas Schwab  <schwab@redhat.com>
58023         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
58024         falling back to utime.
58026 2011-11-30  Andreas Schwab  <schwab@redhat.com>
58028         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
58029         expectations for float.
58031 2011-11-29  Andreas Schwab  <schwab@redhat.com>
58033         * locale/weight.h (findidx): Add parameter len.
58034         * locale/weightwc.h (findidx): Likewise.
58035         * posix/fnmatch_loop.c (FCT): Adjust caller.
58036         * posix/regcomp.c (build_equiv_class): Likewise.
58037         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
58038         * posix/regexec.c (check_node_accept_bytes): Likewise.
58039         * string/strcoll_l.c (STRCOLL): Likewise.
58040         * string/strxfrm_l.c (STRXFRM): Likewise.
58042 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
58044         * Makefile.in: Remove CVSOPT handling.
58045         * configure.in: Remove use of AC_REVISION.
58046         * iconvdata/Makefile (distribute): No need to filter out CVS.
58047         * scripts/list-sources.sh: Remove CVS, subversion and monotone
58048         handling.
58050 2011-11-16  Andreas Schwab  <schwab@redhat.com>
58052         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
58053         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
58054         [USE_AS_STRNCASECMP_L]: Likewise.
58055         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
58056         NO_TLS_DIRECT_SEG_REFS.
58057         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
58058         Fix argument offsets for non-PIC.
58059         [USE_AS_STRNCASECMP_L]: Likewise.
58060         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
58061         NO_TLS_DIRECT_SEG_REFS.
58063 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58065         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
58066         O_CLOEXEC.
58067         * locale/loadlocale.c (_nl_load_locale): Likewise.
58069 2011-11-15  Andreas Schwab  <schwab@redhat.com>
58071         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
58072         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
58073         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
58074         (SYSCALL_GETTIME): Set errno on error.
58076         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
58077         count references to noai6ai_cached.
58079 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58081         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
58083         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
58084         FD_CLOEXEC for /proc/self/maps.
58086         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
58087         FD_CLOEXEC for /proc/meminfo.
58089         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
58090         gai.conf.
58092         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
58093         FD_CLOEXEC for given file.
58095         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
58097         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
58098         FD_CLOEXEC for /etc/hosts.
58099         (_gethtent): Likewise.
58101         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
58103         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
58104         cancellation and set FD_CLOEXEC for /etc/netgroup.
58106         * nss/nss_files/files-key.c (search): Don't allow cancellation when
58107         reading /etc/publickey.
58109         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
58110         allow cancellation when reading /etc/group.
58112         * nss/nss_files/files-alias.c (internal_setent): Don't allow
58113         cancellation.
58114         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
58116         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
58117         when using data file.
58119         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
58121         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
58122         (write_nis_obj): Use "c" and "e" in fopen.
58124         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
58126         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
58128         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
58130         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
58132         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
58133         locale.alias.
58135         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
58137         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
58139         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
58141         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
58142         file parsing and set FD_CLOEXEC.
58144 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58146         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
58148 2011-11-14  Andreas Schwab  <schwab@redhat.com>
58150         * malloc/arena.c (arena_get2): Don't call reused_arena when
58151         _int_new_arena failed.
58153 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58155         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
58156         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
58157         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
58158         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58159         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58160         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
58161         to compile strcasecmp and strncasecmp.
58162         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
58163         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
58165         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
58167 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
58169         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
58170         locale-defines.sym to gen-as-const-headers.
58171         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
58172         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
58173         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
58174         to compile strcasecmp and strncasecmp.
58175         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
58176         strcasecmp_l and strncasecmp_l.
58177         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
58178         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
58179         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
58180         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
58181         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
58182         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
58183         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
58184         * sysdeps/i386/i686/multiarch/strncase.S: New file.
58185         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
58186         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
58187         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
58189 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
58191         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
58192         result of SYSDEP_GETTIME_CPU to retval.
58193         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
58194         parameter list to macro.  Remove trailing semicolon.  Adjust users.
58196         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
58197         variable.
58199         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
58200         mantissa words.
58201         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
58203         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
58204         from unused variable.
58206         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
58207         DWARF definitions.
58208         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
58209         for assembling.
58211         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
58212         over namespaces.
58214         * sunrpc/rpc_prot.c (rejected): Fix case value.
58216         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
58217         unsigned long long int to avoid warnings in shift.
58219         * posix/regex_internal.c (re_string_reconstruct): Actually use result
58220         of use of trans.
58221         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
58222         variable tmp.
58224         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
58225         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
58226         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
58228         * nis/nis_table.c (nis_list): Use variable of correct type for
58229         result of __follow_path call.
58231 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58233         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
58234         of math functions ceil, trunc, floor, round, and sqrt, when
58235         avaliable on the platform.
58236         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
58237         name clash.
58238         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58239         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58240         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58242 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
58244         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
58245         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58247 2011-11-11  Roland McGrath  <roland@hack.frob.com>
58249         * include/unistd.h: Fix __readlink return type.
58250         Reported by Chris Metcalf <cmetcalf@tilera.com>.
58252 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
58254         * stdlib/ucontext.h: Undo last change for makecontext.
58256 2011-11-11  Andreas Schwab  <schwab@redhat.com>
58258         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
58260         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
58261         * setjmp/setjmp.h: Mark functions as non-leaf.
58262         * setjmp/bits/setjmp2.h: Likewise.
58263         * stdlib/ucontext.h: Likewise.
58265 2011-11-10  Andreas Schwab  <schwab@redhat.com>
58267         * malloc/arena.c (_int_new_arena): Don't increment narenas.
58268         (reused_arena): Don't check arena limit.
58269         (arena_get2): Atomically check arena limit.
58271 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
58273         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
58274         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
58276         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
58277         instructions.
58279 2011-11-07  Andreas Schwab  <schwab@redhat.com>
58281         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
58282         handler when locking.
58284         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58285         Fix size of allocated buffer.
58287 2011-11-04  Andreas Schwab  <schwab@redhat.com>
58289         [BZ #10103]
58290         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
58291         declarations for long double functions.
58292         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
58294         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
58296 2011-11-03  Andreas Schwab  <schwab@redhat.com>
58298         * nscd/nscd.c (main): Don't start AVC thread until credentials are
58299         installed.
58301         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
58302         is disabled.
58304 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58306         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
58308 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58310         * include/alloca.h (stackinfo_alloca_round): Define.
58311         (extend_alloca): Use it.
58312         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
58313         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
58314         here.
58316         * scripts/check-local-headers.sh: Ignore libaudit.h.
58318         * nscd/Makefile (extra-objs): Make recursively expanded.
58320 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
58322         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
58323         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
58325         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
58326         * posix/tst-rfc3484-2.c: Likewise.
58327         * posix/tst-rfc3484-3.c: Likewise.
58329         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58330         process_vm_writev.
58331         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
58332         process_vm_writev.
58333         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
58334         process_vm_writev from libc using GLIBC_2.15 version.
58336         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
58338 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
58340         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
58341         stack usage.
58343 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
58345         [BZ #13367]
58346         * nss/getent.c (initgroups_keys): Show error message in case no group
58347         names are given.
58349         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
58350         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
58351         __bump_nl_timestamp.
58352         * nscd/connections (nscd_init): When host database is served open
58353         netlink socket and request notification about configuration changes.
58354         (main_loop_poll): Track netlink file descriptor and bump timestamp
58355         in case data becomes available.
58356         (main_loop_epoll): Likewise.
58357         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
58358         (database_pers_head): Add extra_data fileds.
58359         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
58360         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
58361         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
58362         Adjust caller.
58363         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
58364         in6ai data, call __free_in6ai.
58365         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
58366         Add -DHAVE_NETLINK.
58367         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
58368         interface information.  Reuse previous data if netlink timestamp
58369         is not changed.
58370         (__bump_nl_timestamp): New function.
58371         (__free_in6ai): New function.
58373 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
58375         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
58376         close_not_cancel_no_status here.
58377         (__check_pf): Reorganize code a bit to not call close twice if OOM.
58379 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58381         [BZ #13276]
58382         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
58383         return value.
58385         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
58386         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
58387         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
58389 2011-07-03  Andreas Jaeger  <aj@suse.de>
58391         [BZ #10709]
58392         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
58393         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
58394         * math/libm-test.inc (sin_test): Add test case.
58396 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58398         [BZ #13337]
58399         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
58400         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58402         * elf/chroot_canon.c (chroot_canon): Cleanups.
58404         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
58406         [BZ #13335]
58407         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
58408         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58410         * string/test-strchr.c: Make usable for strchrnul testing.
58411         * string/test-strchrnul.c: New file.
58412         * string/Makefile (strop-tests): Add strchrnul.
58414         * po/it.po: Update from translation team.
58415         * po/es.po: Likewise.
58417 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
58419         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
58420         the three constants needed as parameters.  Drop the others.
58421         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
58422         __m128i_strloadu_tolower.
58423         Create and initialize variable zero and use it in all the places
58424         where _mm_setzero_si128 was used.
58426         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
58427         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
58428         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
58429         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
58430         anymore.
58431         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
58432         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
58433         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
58434         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
58435         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
58436         __mpranred, __mptan.
58437         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
58438         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
58439         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
58440         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
58441         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
58442         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
58443         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
58444         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
58445         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
58447 2011-10-28  Andreas Schwab  <schwab@redhat.com>
58449         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
58450         redefine if SHARED.
58451         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
58453         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
58454         wide char related routines to wcsmbs subdir.
58456 2011-10-27  Andreas Schwab  <schwab@redhat.com>
58458         [BZ #13344]
58459         * misc/sys/cdefs.h (__THROWNL): Define.
58460         * posix/unistd.h: Use __THREADNL instead of __THREAD
58461         for memory synchronization functions.
58463 2011-10-26  Roland McGrath  <roland@hack.frob.com>
58465         [BZ #13349]
58466         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
58467         doesn't exist.
58468         * manual/stdio.texi (Obstack Streams): Node removed.
58470 2011-10-26  Andreas Schwab  <schwab@redhat.com>
58472         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
58473         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58474         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58476         * math/math_private.h (math_force_eval): Allow non-addressable
58477         arguments.
58478         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
58480 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58482         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
58483         file is not needed.
58485         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
58486         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
58487         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58488         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58489         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58490         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58491         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58492         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
58493         Add AVX variants.
58494         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
58495         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
58496         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
58497         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
58498         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
58499         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
58500         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
58501         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
58502         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
58503         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
58504         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
58505         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
58506         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
58507         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
58508         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
58509         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
58510         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
58511         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
58512         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
58514         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
58515         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
58517         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
58518         place.  Use VEX encoding when compiling for AVX.
58520 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58522         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
58523         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58525         * string/test-strchr.c (do_test): Don't generate NUL bytes.
58527 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58529         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
58530         useless if() expression.
58531         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58532         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58533         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58534         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58535         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58536         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58537         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58538         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58539         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58540         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58541         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58542         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58543         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
58544         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58545         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
58546         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58547         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58548         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58549         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
58551         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
58553 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58555         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
58556         condition.
58557         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58559 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58561         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
58562         .text section.  Avoid duplicate constants.
58563         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58564         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58565         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58566         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58567         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58568         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58569         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58570         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58571         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58572         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
58573         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58574         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58575         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58576         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58577         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58578         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58579         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58580         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58581         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58582         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58583         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58584         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58585         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58586         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
58587         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
58588         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
58589         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
58590         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
58591         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
58592         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
58593         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
58594         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
58595         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58596         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
58597         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
58598         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
58599         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
58600         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58601         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58602         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58603         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58604         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58605         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58606         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58607         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58609 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
58611         * sysdeps/x86_64/dla.h: Move to ...
58612         * sysdeps/x86_64/fpu/dla.h: ...here.
58613         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58614         situations.  Use __builtin_fma only for gcc 4.6 and up.
58616         * config.make.in: Add have-mfma4 entry.
58617         * configure.in: Substitute libc_cv_cc_fma4.
58618         * math/Makefile (dbl-only-routines): Add sincostab.
58619         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58620         Use __sincostab not sincos.
58621         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58622         name is a macro.
58623         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58624         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58625         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58626         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
58627         using __copysign.
58628         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
58629         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
58630         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58631         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58632         and __inv.
58633         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58634         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58635         __copysign.
58636         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
58637         define aliases when function name is a macro.
58638         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58639         sysdeps/ieee754/dbl-64/sincos.tbl.
58640         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58641         fma4-enabled routines.
58642         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58643         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58644         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58645         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58646         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58647         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58648         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58649         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58650         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58651         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58652         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58653         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58654         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58655         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58656         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58657         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58658         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58659         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58660         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58661         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58662         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58663         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58664         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58665         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58666         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58667         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58668         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58669         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58670         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58671         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58673         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58674         rename.
58675         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58676         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58677         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58678         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58679         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58680         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58681         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58682         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58684 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58686         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58688 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58690         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58692         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58693         prediction.
58694         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58696         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58697         Remove unused variable magic_bits.
58698         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58700         * string/strnlen.c: Define and use STRNLEN macro.
58701         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58702         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58703         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58704         * wcsmbs/wcslen.c: Define and use WCSLEN.
58705         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58706         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58707         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58708         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58709         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58710         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58711         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58713 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58715         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58716         strnlen-sse2-no-bsf.
58717         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58718         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58719         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58720         Add strnlen support.
58721         (USE_AS_STRNLEN): New macro.
58722         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58723         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58724         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58725         * sysdeps/x86_64/wcslen.S: New file.
58727 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58729         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58730         XMM-moves are used for copying on small sizes.
58732 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58734         * wcsmbs/Makefile (strop-tests): Add wcschr.
58735         * wcsmbs/test-wcschr.c: New file.
58736         * string/test-strchr.c: Update.
58737         Add wcschr support.
58738         (WIDE): New macro.
58740 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58742         * wcsmbs/Makefile (strop-tests): Add wcslen.
58743         * wcsmbs/test-wcslen.c: New file.
58744         * string/test-strlen.c: Update.
58745         Add wcslen support.
58746         (WIDE): New macro.
58748 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58750         * po/it.po: Update from translation team.
58752 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58754         * sysdeps/x86_64/wcscmp.S: Update.
58755         Fix wrong comparison semantics.
58756         wcscmp shall use signed comparison not unsigned.
58757         Don't use substraction to avoid overflow bug.
58758         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58759         * wcsmbc/wcscmp.c: Likewise.
58760         * string/test-strcmp.c: Likewise.
58761         Add new tests to check cases with negative values.
58763 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58765         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58766         * sysdeps/x86_64/dla.h: ...here.  New file.
58767         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58768         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58769         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58770         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58771         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58772         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58773         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58774         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58775         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58777 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58779         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58780         __ynl_finite aliases.
58782 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58784         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58786         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58787         define DLA_FMA.
58788         [DLA_FMA] (EMULV): Use DLA_FMA.
58789         [DLA_FMA] (MUL12): Use EMULV.
58790         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58791         that are not needed.
58792         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58793         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58794         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58795         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58796         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58797         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58798         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58800 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58802         * math/s_nan.c: Undef __nan.
58803         * math/s_nanf.c: Undef __nanf.
58804         * math/s_nanl.c: Undef __nanl.
58805         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58806         "math_private.h".
58808 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58810         * math/s_catan.c: Add branch predictions.
58811         * math/s_catanf.c: Likewise.
58812         * math/s_catanh.c: Likewise.
58813         * math/s_catanhf.c: Likewise.
58814         * math/s_catanhl.c: Likewise.
58815         * math/s_catanl.c: Likewise.
58816         * math/s_cexp.c: Likewise.
58817         * math/s_cexpf.c: Likewise.
58818         * math/s_cexpl.c: Likewise.
58819         * math/s_clog.c: Likewise.
58820         * math/s_clog10.c: Likewise.
58821         * math/s_clog10f.c: Likewise.
58822         * math/s_clog10l.c: Likewise.
58823         * math/s_clogf.c: Likewise.
58824         * math/s_clogl.c: Likewise.
58825         * math/s_csqrt.c: Likewise.
58826         * math/s_csqrtf.c: Likewise.
58827         * math/s_csqrtl.c: Likewise.
58828         * math/s_ctanf.c: Likewise.
58829         * math/s_ctanh.c: Likewise.
58830         * math/s_ctanhf.c: Likewise.
58831         * math/s_ctanhl.c: Likewise.
58832         * math/s_ctanl.c: Likewise.
58834         * math/math_private.h: Define __nan, __nanf, __nanl.
58835         * math/s_cacosh.c: Include <math_private.h>.
58836         * math/s_cacoshl.c: Likewise.
58837         * math/s_casinh.c: Likewise.
58838         * math/s_casinhf.c: Likewise.
58839         * math/s_casinhl.c: Likewise.
58840         * math/s_ccos.c: Rely entire on ccosh.
58841         * math/s_ccosf.c: Rely entire on ccoshf.
58842         * math/s_ccosl.c: Rely entirely on ccoshl.
58843         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58844         Remove tests for FE_INVALID.
58845         * math/s_ccoshf.c: Likewise.
58846         * math/s_ccoshl.c: Likewise.
58847         * math/s_csin.c: Likewise.
58848         * math/s_csinf.c: Likewise.
58849         * math/s_csinh.c Likewise.
58850         * math/s_csinhf.c: Likewise.
58851         * math/s_csinhl.c: Likewise.
58852         * math/s_csinl.c: Likewise.
58853         * math/s_ctan.c: Likewise.
58854         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58855         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58856         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58858 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58860         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58861         compilation problems.
58863         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58864         __builtin_expect.
58866 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58868         * sysdeps/i386/configure.in: Test for -mfma4 option.
58869         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58870         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58871         COMMON_CPUID_INDEX_80000001.
58872         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58873         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58874         use it if FMA3 is not supported.
58875         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58877         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58878         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58880 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58882         [BZ #12892]
58883         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58884         it would create a cycle with a link time dependency.
58886 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58888         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58889         instruction.
58890         * string/Makefile (strop-tests): Add rawmemchr.
58891         * string/test-rawmemchr.c: New file.
58893         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58894         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58895         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58896         when compiling str{,n}casecmp and when AVX is available.  Hook up
58897         new optimized code in initializers.
58899 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58901         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58902         __feraiseexcept instead of feraiseexcept.
58904 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58906         * math/math_private.h: Define defaults for libc_fetestexcept and
58907         libc_feupdateenv.
58908         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58909         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58910         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58911         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58912         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58913         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58914         libc_fetestexcept and libc_feupdateenv.
58916         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58917         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58918         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58919         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58920         libc_feholdexcept_setround.
58922         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58923         Add s_nearbyint-c and s_nearbyintf-c.
58924         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58925         nearbyintf inlines.
58926         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58927         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58928         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58929         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58931         * math/math_private.h: Define defaults for libc_fegetround,
58932         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58933         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58934         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58935         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58936         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58937         standard functions.
58938         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58939         Remove comments and hacks for old compiler versions.
58940         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58941         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58942         libc_feholdexceptl.
58944 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58946         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58947         (__feraiseexcept_renamed): Add __NTH.
58948         (feraiseexcept): Add __NTH.  Rename local variables to fix
58949         namespace violations.
58951 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58953         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58955         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58957         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58958         recently added interfaces.
58959         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58961         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58962         about macro parameter expansion.
58964         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58965         __NO_MATH_INLINES is defined.  Cleanups.
58967         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58968         and __floorf is target has SSE4.1.
58969         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58970         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58971         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58972         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58974         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58975         name.
58976         (floorf): Likewise.
58978         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58980 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58982         * misc/sys/cdefs.h: Fix last change.
58984         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58985         database lookup.
58987 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58989         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58991         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58992         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58993         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58994         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58995         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58996         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58997         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58998         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58999         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59000         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
59001         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
59002         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
59003         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
59004         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
59005         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
59006         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
59007         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
59008         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
59009         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
59010         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
59011         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
59012         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
59014         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
59015         ceil, ceilf, floor, floorf.
59017         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
59018         Perform IRELATIVE relocations last.
59020         * elf/do-rel.h: Add another parameter nrelative, replacing the
59021         local variable with the same name.  Change name of the function
59022         to end in Rel or Rela (uppercase).
59023         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
59024         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
59025         elf_dynamic_do_##reloc function.
59027 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
59029         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
59030         is sufficient, at least on modern CPUs.
59032         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
59034         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
59035         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
59037         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
59038         __expl_finite.
59039         * math/bits/math-finite.h: Add entries for exp.
59040         * math/e_expl.c: Add __*_finite alias.
59041         * sysdeps/i386/fpu/e_exp.S: Likewise.
59042         * sysdeps/i386/fpu/e_expf.S: Likewise.
59043         * sysdeps/i386/fpu/e_expl.c: Likewise.
59044         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59045         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59046         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59047         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59048         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
59049         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
59050         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
59052         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
59053         is sufficient, at least on modern CPUs.
59055         * ctype/ctype-info.c (__ctype_init): Define.
59056         * include/ctype.h (__ctype_init): Declare.
59057         (__ctype_b_loc): The variable is always initialized.
59058         (__ctype_toupper_loc): Likewise.
59059         (__ctype_tolower_loc): Likewise.
59060         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
59061         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
59063 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
59065         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
59067         * configure.in: Also look in $cxxmachine/include for C++ system
59068         headers.
59070 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59072         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
59073         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
59074         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
59075         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
59076         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
59077         (USE_AS_WMEMCMP): New macro.
59078         Fixing indents.
59079         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
59080         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
59081         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
59082         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
59083         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59084         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
59085         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
59086         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
59087         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
59088         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
59089         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
59090         (USE_AS_WMEMCMP): New macro.
59091         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
59092         * sysdeps/string/test-memcmp.c: Update.
59093         Fix simple_wmemcmp.
59094         Add new tests.
59095         * wcsmbs/wmemcmp.c: Update.
59096         (WMEMCMP): New macro.
59097         Fix overflow bug.
59099 2011-10-12  Andreas Jaeger  <aj@suse.de>
59101         [BZ #13268]
59102         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
59104 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
59106         * libio/iofwide.c (do_length): Avoid warning.
59108         * ctype/ctype.h (__isctype_f): Add missing __THROW.
59110 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
59112         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
59114         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
59115         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
59116         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
59117         * sysdeps/i386/i686/fpu/e_log.S: New file.
59118         * sysdeps/i386/i686/fpu/e_logf.S: New file.
59119         * sysdeps/i386/i686/fpu/e_logl.S: New file.
59121         * ctype/ctype.h: Add support for inlined isXXX functions when
59122         compiling C++ code.
59124 2011-10-14  Andreas Schwab  <schwab@redhat.com>
59126         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59128         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
59130 2011-10-13  Roland McGrath  <roland@hack.frob.com>
59132         [BZ #13291]
59133         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
59135 2011-10-13  Andreas Schwab  <schwab@redhat.com>
59137         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
59138         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
59139         feraiseexcept.
59141         * sysdeps/x86_64/memrchr.S: Check for zero size.
59143         * string/stratcliff.c: Add memrchr tests.
59145 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59147         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59148         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
59149         rawmemchr-sse2 rawmemchr-sse2-bsf.
59150         * sysdeps/i386/i686/multiarch/memchr.S: New file.
59151         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
59152         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
59153         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
59154         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
59155         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
59156         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
59157         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
59158         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
59159         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
59160         * string/memrchr.c (MEMRCHR): New macro.
59162 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
59164         Add integration with gcc's -ffinite-math-only and optimize wrapper
59165         functions in libm.
59166         * Versions.def: Define GLIBC_2.15 version for libm.
59167         * math/Makefile (headers): Add bits/math-finite.h.
59168         * math/bits/math-finite.h: New file.
59169         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
59170         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
59171         * math/e_acoshl.c: Add __*_finite alias.
59172         * math/e_acosl.c: Likewise.
59173         * math/e_asinl.c: Likewise.
59174         * math/e_atan2l.c: Likewise.
59175         * math/e_atanhl.c: Likewise.
59176         * math/e_coshl.c: Likewise.
59177         * math/e_exp10.c: Likewise.
59178         * math/e_exp10f.c: Likewise.
59179         * math/e_exp10l.c: Likewise.
59180         * math/e_exp2l.c: Likewise.
59181         * math/e_fmodl.c: Likewise.
59182         * math/e_gammal_r.c: Likewise.
59183         * math/e_hypotl.c: Likewise.
59184         * math/e_j0l.c: Likewise.
59185         * math/e_j1l.c: Likewise.
59186         * math/e_jnl.c: Likewise.
59187         * math/e_lgammal_r.c: Likewise.
59188         * math/e_log10l.c: Likewise.
59189         * math/e_log2l.c: Likewise.
59190         * math/e_logl.c: Likewise.
59191         * math/e_powl.c: Likewise.
59192         * math/e_sinhl.c: Likewise.
59193         * math/e_sqrtl.c: Likewise.
59194         * math/e_scalb.c: Completely rewritten and optimized.
59195         * math/e_scalbf.c: Likewise.
59196         * math/e_scalbl.c: Likewise.
59197         * math/w_acos.c: Likewise.
59198         * math/w_acosf.c: Likewise.
59199         * math/w_acosl.c: Likewise.
59200         * math/w_acosh.c: Likewise.
59201         * math/w_acoshf.c: Likewise.
59202         * math/w_acoshl.c: Likewise.
59203         * math/w_asin.c: Likewise.
59204         * math/w_asinf.c: Likewise.
59205         * math/w_asinl.c: Likewise.
59206         * math/w_atan2.c: Likewise.
59207         * math/w_atan2f.c: Likewise.
59208         * math/w_atan2l.c: Likewise.
59209         * math/w_atanh.c: Likewise.
59210         * math/w_atanhf.c: Likewise.
59211         * math/w_atanhl.c: Likewise.
59212         * math/w_exp10.c: Likewise.
59213         * math/w_exp10f.c: Likewise.
59214         * math/w_exp10l.c: Likewise.
59215         * math/w_fmod.c: Likewise.
59216         * math/w_fmodf.c: Likewise.
59217         * math/w_fmodl.c: Likewise.
59218         * math/w_j0.c: Likewise.
59219         * math/w_j0f.c: Likewise.
59220         * math/w_j0l.c: Likewise.
59221         * math/w_j1.c: Likewise.
59222         * math/w_j1f.c: Likewise.
59223         * math/w_j1l.c: Likewise.
59224         * math/w_jn.c: Likewise.
59225         * math/w_jnf.c: Likewise.
59226         * math/w_log.c: Likewise.
59227         * math/w_logf.c: Likewise.
59228         * math/w_logl.c: Likewise.
59229         * math/w_log10.c: Likewise.
59230         * math/w_log10f.c: Likewise.
59231         * math/w_log10l.c: Likewise.
59232         * math/w_log2.c: Likewise.
59233         * math/w_log2f.c: Likewise.
59234         * math/w_log2l.c: Likewise.
59235         * math/w_pow.c: Likewise.
59236         * math/w_powf.c: Likewise.
59237         * math/w_powl.c: Likewise.
59238         * math/w_remainder.c: Likewise.
59239         * math/w_remainderf.c: Likewise.
59240         * math/w_remainderl.c: Likewise.
59241         * math/w_scalb.c: Likewise.
59242         * math/w_scalbf.c: Likewise.
59243         * math/w_scalbl.c: Likewise.
59244         * math/w_sqrt.c: Likewise.
59245         * math/w_sqrtf.c: Likewise.
59246         * math/w_sqrtl.c: Likewise.
59247         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
59248         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
59249         used.
59250         * math/math_private.h: Declare __kernel_standard_f.
59251         * math/w_cosh.c: Remove cruft and optimize a bit.
59252         * math/w_coshf.c: Likewise.
59253         * math/w_coshl.c: Likewise.
59254         * math/w_exp2.c: Likewise.
59255         * math/w_exp2f.c: Likewise.
59256         * math/w_exp2l.c: Likewise.
59257         * math/w_hypot.c: Likewise.
59258         * math/w_hypotf.c: Likewise.
59259         * math/w_hypotl.c: Likewise.
59260         * math/w_lgamma.c: Likewise.
59261         * math/w_lgamma_r.c: Likewise.
59262         * math/w_lgammaf.c: Likewise.
59263         * math/w_lgammaf_r.c: Likewise.
59264         * math/w_lgammal.c: Likewise.
59265         * math/w_lgammal_r.c: Likewise.
59266         * math/w_sinh.c: Likewise.
59267         * math/w_sinhf.c: Likewise.
59268         * math/w_sinhl.c: Likewise.
59269         * math/w_tgamma.c: Likewise.
59270         * math/w_tgammaf.c: Likewise.
59271         * math/w_tgammal.c: Likewise.
59272         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59273         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59274         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
59275         Minor optimizations.  Pretty printing.  Remove cruft.
59276         * sysdeps/i386/fpu/e_acosf.S: Likewise.
59277         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59278         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59279         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59280         * sysdeps/i386/fpu/e_acosl.c: Likewise.
59281         * sysdeps/i386/fpu/e_asin.S: Likewise.
59282         * sysdeps/i386/fpu/e_asinf.S: Likewise.
59283         * sysdeps/i386/fpu/e_atan2.S: Likewise.
59284         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
59285         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
59286         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59287         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59288         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59289         * sysdeps/i386/fpu/e_exp10.S: Likewise.
59290         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
59291         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
59292         * sysdeps/i386/fpu/e_exp2.S: Likewise.
59293         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
59294         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
59295         * sysdeps/i386/fpu/e_fmod.S: Likewise.
59296         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
59297         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
59298         * sysdeps/i386/fpu/e_hypot.S: Likewise.
59299         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
59300         * sysdeps/i386/fpu/e_log.S: Likewise.
59301         * sysdeps/i386/fpu/e_log10.S: Likewise.
59302         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59303         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59304         * sysdeps/i386/fpu/e_log2.S: Likewise.
59305         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59306         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59307         * sysdeps/i386/fpu/e_logf.S: Likewise.
59308         * sysdeps/i386/fpu/e_logl.S: Likewise.
59309         * sysdeps/i386/fpu/e_pow.S: Likewise.
59310         * sysdeps/i386/fpu/e_powf.S: Likewise.
59311         * sysdeps/i386/fpu/e_powl.S: Likewise.
59312         * sysdeps/i386/fpu/e_remainder.S: Likewise.
59313         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
59314         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
59315         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59316         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59317         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59318         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
59319         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
59320         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
59321         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59322         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59323         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59324         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59325         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59326         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59327         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
59328         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59329         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59330         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59331         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59332         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59333         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59334         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59335         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59336         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59337         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59338         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59339         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59340         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59341         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59342         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59343         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59344         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59345         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59346         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59347         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59348         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59349         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
59350         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59351         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59352         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59353         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59354         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59355         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59356         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59357         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59358         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59359         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59360         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59361         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59362         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59363         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59364         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59365         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59366         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59367         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59368         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59369         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59370         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
59371         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59372         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59373         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59374         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59375         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59376         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59377         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59378         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59379         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59380         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59381         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59382         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59383         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59384         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59385         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59386         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59387         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59388         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59389         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
59390         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59391         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59392         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59393         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59394         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59395         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59396         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59397         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59398         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59399         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59400         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59401         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59402         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59403         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
59404         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59405         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59406         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59407         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59408         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59409         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59410         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59411         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59412         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59413         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59414         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59415         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59416         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59417         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59418         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
59419         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
59420         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
59421         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
59422         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
59423         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
59424         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
59425         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59426         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59427         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59428         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59429         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
59430         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59431         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
59432         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
59433         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
59434         (__isnanf): Likewise.
59435         (__isinf_ns): Likewise.
59436         (__isinf_nsf): Likewise.
59437         (__finite): Likewise.
59438         (__finitef): Likewise.
59439         (__ieee754_sqrt): Define as macro.
59440         (__ieee754_sqrtf): Define as macro.
59441         (__ieee754_sqrtl): Define as macro.
59442         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
59443         inlined copy.
59444         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
59445         __FINITE_MATH_ONLY__ consistent.
59446         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
59448 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
59450         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
59451         of rawmemchr.
59453         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
59455 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
59457         * po/ja.po: Update from translation team.
59459 2011-10-08  Roland McGrath  <roland@hack.frob.com>
59461         * locale/programs/locarchive.c (prepare_address_space): New function.
59462         (create_archive, enlarge_archive, open_archive): Use it.
59464         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
59465         inside [SHARED], where it is used.
59467         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
59469         * nss/getent.c (netgroup_keys): Remove unused variable.
59470         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59472 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
59474         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
59475         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
59476         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
59477         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
59478         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
59479         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
59480         * math/Makefile (libm-calls): Add s_isinf_ns.
59481         * math/divtc3.c: Use __isinf_nsl instead of isinf.
59482         * math/multc3.c: Likewise.
59483         * math/s_casin.c: Likewise.
59484         * math/s_casinf.c: Likewise.
59485         * math/s_casinl.c: Likewise.
59486         * math/s_ccos.c: Likewise.
59487         * math/s_ccosf.c: Likewise.
59488         * math/s_ccosl.c: Likewise.
59489         * math/s_ctan.c: Likewise.
59490         * math/s_ctanf.c: Likewise.
59491         * math/s_ctanh.c: Likewise.
59492         * math/s_ctanhf.c: Likewise.
59493         * math/s_ctanhl.c: Likewise.
59494         * math/s_ctanl.c: Likewise.
59495         * math/w_fmod.c: Likewise.
59496         * math/w_fmodf.c: Likewise.
59497         * math/w_fmodl.c: Likewise.
59498         * math/w_remainder.c: Likewise.
59499         * math/w_remainderf.c: Likewise.
59500         * math/w_remainderl.c: Likewise.
59501         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
59502         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
59503         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
59504         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
59505         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
59506         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
59507         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
59508         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
59510         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
59511         of the number.
59512         * stdio-common/printf_fphex.c: Likewise.
59513         * stdio-common/printf_size.c: Likewise.
59515         * math/e_exp10.c: Include math_private.h using <...> not "...".
59516         * math/e_exp10f.c: Likewise.
59517         * math/e_exp10l.c: Likewise.
59518         * math/e_exp2l.c: Likewise.
59519         * math/e_j0l.c: Likewise.
59520         * math/e_j1l.c: Likewise.
59521         * math/e_jnl.c: Likewise.
59522         * math/e_lgammal_r.c: Likewise.
59523         * math/e_rem_pio2l.c: Likewise.
59524         * math/e_scalb.c: Likewise.
59525         * math/e_scalbf.c: Likewise.
59526         * math/e_scalbl.c: Likewise.
59527         * math/k_cosl.c: Likewise.
59528         * math/k_sinl.c: Likewise.
59529         * math/k_tanl.c: Likewise.
59530         * math/s_cacoshf.c: Likewise.
59531         * math/s_catan.c: Likewise.
59532         * math/s_catanf.c: Likewise.
59533         * math/s_catanh.c: Likewise.
59534         * math/s_catanhf.c: Likewise.
59535         * math/s_catanhl.c: Likewise.
59536         * math/s_catanl.c: Likewise.
59537         * math/s_ccosh.c: Likewise.
59538         * math/s_ccoshf.c: Likewise.
59539         * math/s_ccoshl.c: Likewise.
59540         * math/s_cexp.c: Likewise.
59541         * math/s_cexpf.c: Likewise.
59542         * math/s_cexpl.c: Likewise.
59543         * math/s_clog.c: Likewise.
59544         * math/s_clog10.c: Likewise.
59545         * math/s_clog10f.c: Likewise.
59546         * math/s_clog10l.c: Likewise.
59547         * math/s_clogf.c: Likewise.
59548         * math/s_clogl.c: Likewise.
59549         * math/s_csin.c: Likewise.
59550         * math/s_csinf.c: Likewise.
59551         * math/s_csinh.c: Likewise.
59552         * math/s_csinhf.c: Likewise.
59553         * math/s_csinhl.c: Likewise.
59554         * math/s_csinl.c: Likewise.
59555         * math/s_csqrt.c: Likewise.
59556         * math/s_csqrtf.c: Likewise.
59557         * math/s_csqrtl.c: Likewise.
59558         * math/s_ctan.c: Likewise.
59559         * math/s_ctanf.c: Likewise.
59560         * math/s_ctanh.c: Likewise.
59561         * math/s_ctanhf.c: Likewise.
59562         * math/s_ctanhl.c: Likewise.
59563         * math/s_ctanl.c: Likewise.
59564         * math/s_ldexp.c: Likewise.
59565         * math/s_ldexpf.c: Likewise.
59566         * math/s_ldexpl.c: Likewise.
59567         * math/s_significand.c: Likewise.
59568         * math/s_significandf.c: Likewise.
59569         * math/s_significandl.c: Likewise.
59570         * math/w_acos.c: Likewise.
59571         * math/w_acosf.c: Likewise.
59572         * math/w_acosh.c: Likewise.
59573         * math/w_acoshf.c: Likewise.
59574         * math/w_acoshl.c: Likewise.
59575         * math/w_acosl.c: Likewise.
59576         * math/w_asin.c: Likewise.
59577         * math/w_asinf.c: Likewise.
59578         * math/w_asinl.c: Likewise.
59579         * math/w_atan2.c: Likewise.
59580         * math/w_atan2f.c: Likewise.
59581         * math/w_atan2l.c: Likewise.
59582         * math/w_atanh.c: Likewise.
59583         * math/w_atanhf.c: Likewise.
59584         * math/w_atanhl.c: Likewise.
59585         * math/w_cosh.c: Likewise.
59586         * math/w_coshf.c: Likewise.
59587         * math/w_coshl.c: Likewise.
59588         * math/w_dremf.c: Likewise.
59589         * math/w_exp10.c: Likewise.
59590         * math/w_exp10f.c: Likewise.
59591         * math/w_exp10l.c: Likewise.
59592         * math/w_exp2.c: Likewise.
59593         * math/w_exp2f.c: Likewise.
59594         * math/w_fmod.c: Likewise.
59595         * math/w_fmodf.c: Likewise.
59596         * math/w_fmodl.c: Likewise.
59597         * math/w_hypot.c: Likewise.
59598         * math/w_hypotf.c: Likewise.
59599         * math/w_hypotl.c: Likewise.
59600         * math/w_j0.c: Likewise.
59601         * math/w_j0f.c: Likewise.
59602         * math/w_j0l.c: Likewise.
59603         * math/w_j1.c: Likewise.
59604         * math/w_j1f.c: Likewise.
59605         * math/w_j1l.c: Likewise.
59606         * math/w_jn.c: Likewise.
59607         * math/w_jnf.c: Likewise.
59608         * math/w_jnl.c: Likewise.
59609         * math/w_lgamma.c: Likewise.
59610         * math/w_lgamma_r.c: Likewise.
59611         * math/w_lgammaf.c: Likewise.
59612         * math/w_lgammaf_r.c: Likewise.
59613         * math/w_lgammal.c: Likewise.
59614         * math/w_lgammal_r.c: Likewise.
59615         * math/w_log.c: Likewise.
59616         * math/w_log10.c: Likewise.
59617         * math/w_log10f.c: Likewise.
59618         * math/w_log10l.c: Likewise.
59619         * math/w_log2.c: Likewise.
59620         * math/w_log2f.c: Likewise.
59621         * math/w_log2l.c: Likewise.
59622         * math/w_logf.c: Likewise.
59623         * math/w_logl.c: Likewise.
59624         * math/w_pow.c: Likewise.
59625         * math/w_powf.c: Likewise.
59626         * math/w_powl.c: Likewise.
59627         * math/w_remainder.c: Likewise.
59628         * math/w_remainderf.c: Likewise.
59629         * math/w_remainderl.c: Likewise.
59630         * math/w_scalb.c: Likewise.
59631         * math/w_scalbf.c: Likewise.
59632         * math/w_scalbl.c: Likewise.
59633         * math/w_sinh.c: Likewise.
59634         * math/w_sinhf.c: Likewise.
59635         * math/w_sinhl.c: Likewise.
59636         * math/w_sqrt.c: Likewise.
59637         * math/w_sqrtf.c: Likewise.
59638         * math/w_sqrtl.c: Likewise.
59639         * math/w_tgamma.c: Likewise.
59640         * math/w_tgammaf.c: Likewise.
59641         * math/w_tgammal.c: Likewise.
59643         * po/ja.po: Update from translation team.
59645 2011-09-29  Andreas Jaeger  <aj@suse.de>
59647         [BZ #13179]
59648         * sunrpc/netname.c (netname2host): Fix logic.
59650         [BZ #6779]
59651         [BZ #6783]
59652         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59653         correctly.
59654         * math/w_remainder.c (__remainder): Likewise.
59655         * math/w_remainderf.c (__remainderf): Likewise.
59656         * math/libm-test.inc (remainder_test): Add test cases.
59658 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59660         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59661         sdiv_qrnnd.
59663 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59665         * string/test-memcmp.c: Avoid unncessary #defines.
59666         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59668 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59670         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59671         Use new sse2 version for core i3 - i7 as it's faster
59672         than sse42 version.
59673         (bit_Prefer_PMINUB_for_stringop): New.
59674         * sysdeps/x86_64/rawmemchr.S: Update.
59675         Replace with faster SSE2 version.
59676         * sysdeps/x86_64/memrchr.S: New file.
59677         * sysdeps/x86_64/memchr.S: Update.
59678         Replace with faster SSE2 version.
59680 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59682         * elf/dl-load.c (lose): Add cast to avoid warning.
59684 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59686         * po/ca.po: Update from translation team.
59688         * inet/getnetgrent_r.c: Hook up nscd.
59689         * nscd/Makefile (routines): Add nscd_netgroup.
59690         (nscd-modules): Add netgroupcache.
59691         (CFLAGS-netgroupcache.c): Define.
59692         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59693         (cache_search): Add const to second parameter.
59694         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59695         INNETGR.
59696         (dbs): Add netgrdb entry.
59697         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59698         (verify_persistent_db): Handle netgrdb.
59699         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59700         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59701         GETFDNETGR.
59702         (netgroup_response_header): Define.
59703         (innetgroup_response_header): Define.
59704         (datahead): Add netgroup_response_header and innetgroup_response_header
59705         elements.
59706         * nscd/nscd.conf: Add entries for netgroup cache.
59707         * nscd/nscd.h (dbtype): Add netgrdb.
59708         (_PATH_NSCD_NETGROUP_DB): Define.
59709         (netgroup_iov_disabled): Declare.
59710         (xmalloc, xcalloc, xrealloc): Move declarations here.
59711         (cache_search): Adjust prototype.
59712         Add netgroup-related prototypes.
59713         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59714         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59715         (__nscd_innetgr): Declare.
59716         * nscd/selinux.c (perms): Use access_vector_t as element type and
59717         add netgroup-related initializers.
59718         * nscd/netgroupcache.c: New file.
59719         * nscd/nscd_netgroup.c: New file.
59720         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59721         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59722         For four parameters use innetgr.
59723         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59724         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59725         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59726         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59728         * nscd/connections.c (register_traced_file): Don't register file
59729         for disabled databases.
59731 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59733         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59735         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59736         from tree and freeing node.
59738 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59740         * nss/nsswitch.c (__nss_database_lookup): Handle
59741         nss_parse_service_list out of memory case.
59743 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59745         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59746         out of memory case.
59748 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59750         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59751         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59752         pass it down.
59753         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59754         elf_machine_rela, elf_machine_lazy_rel.
59755         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59756         (ELF_DYNAMIC_DO_REL): Likewise.
59757         (ELF_DYNAMIC_DO_RELA): Likewise.
59758         (ELF_DYNAMIC_RELOCATE): Likewise.
59759         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59760         to ELF_DYNAMIC_DO_REL.
59761         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59762         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59763         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59764         elf_machine_rela.
59765         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59766         skip_ifunc, don't call ifunc function if non-zero.
59767         (elf_machine_rela): Likewise.
59768         (elf_machine_lazy_rel): Likewise.
59769         (elf_machine_lazy_rela): Likewise.
59770         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59771         (elf_machine_lazy_rel): Likewise.
59772         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59773         Likewise.
59774         (elf_machine_lazy_rel): Likewise.
59775         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59776         Likewise.
59777         (elf_machine_lazy_rel): Likewise.
59778         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59779         (elf_machine_lazy_rel): Likewise.
59780         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59781         (elf_machine_lazy_rel): Likewise.
59782         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59783         (elf_machine_lazy_rel): Likewise.
59784         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59785         (elf_machine_lazy_rel): Likewise.
59786         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59787         (elf_machine_lazy_rel): Likewise.
59788         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59789         (elf_machine_lazy_rel): Likewise.
59791 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59793         * nss/nss_files/files-init.c (_nss_files_init): Use static
59794         initialization for all the *_traced_file variables.
59796 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59798         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59800 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59802         [BZ #13226]
59803         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59805 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59807         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59808         Reread the line before reparsing it.
59810 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59812         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59814 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59815             Maxim Kuvyrkov  <maxim@codesourcery.com>
59816             Joseph Myers  <joseph@codesourcery.com>
59818         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59819         if needed for __stack_chk_guard.
59821 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59823         * sysdeps/posix/spawni.c (script_execute): Always define it.
59824         It will be optimized away if unused.
59825         (maybe_script_execute): New function.
59826         (__spawni): Call it.
59828         * Makerules: Don't include tls.make.
59829         (config-tls): Always set to thread.
59830         * tls.make.c: File removed.
59832 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59834         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59835         * config.make.in (CPPFLAGS-config): New substituted variable.
59837 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59839         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59841         [BZ #13192]
59842         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59843         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59845 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59847         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59848         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59849         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59850         (CALL_FAIL): Likewise.
59851         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59852         (CALL_FAIL): Macro removed.
59853         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59855 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59857         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59858         for __FINITE_MATH_ONLY__ == 1.
59860 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59862         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59863         __ieee754_sqrt instead of sqrt.
59864         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59865         __ieee754_sqrtf instead of sqrtf.
59866         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59867         __floorf instead of floorf.
59868         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59869         __floorf, __truncf instead of floorf, truncf.
59871 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59873         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59875         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59876         __extern_always_inline.
59877         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59878         32-bit.
59880 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59882         * elf/rtld.c (dl_main): Also relocate in dependency order when
59883         doing symbol dependency testing.
59885 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59887         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59888         Always define `refsym'.
59890 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59892         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59893         (__FD_ELT): Renamed from __FDELT.
59894         * misc/bits/select2.h (__FD_ELT): Likewise.
59895         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59896         __FD_MASK instead of __FDELT, __FDMASK.
59897         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59898         Likewise.
59899         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59900         Likewise.
59902         * elf/Makefile (gen-ldd): Fix pattern.
59904         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59905         (init_tls): Likewise.
59907 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59909         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59911 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59913         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59914         `struct cmsghdr *' instead of `void *'.
59915         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59916         Likewise.
59918 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59920         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59921         if non-absolute.
59922         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59923         ldd_rewrite_script.
59925 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59927         * configure.in: Remove --with-tls option.
59928         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59929         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59930         out in case it is missing.
59931         * sysdeps/ia64/elf/configure.in: Likewise.
59932         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59933         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59934         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59935         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59936         * sysdeps/sh/elf/configure.in: Likewise.
59937         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59938         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59939         * sysdeps/x86_64/elf/configure.in: Likewise.
59940         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59941         * sysdeps/mach/hurd/tls.h: Likewise.
59943         [BZ #13067]
59944         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59946         [BZ #13090]
59947         * configure.in: Fix use of AC_INIT.
59949         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59951 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59953         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59954         __set_errno.
59955         * malloc/hooks.c: Likewise.
59957         [BZ #11929]
59958         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59959         variables statically.
59960         (narenas): Initialize.
59961         (list_lock): Initialize.
59962         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59963         initializtion of main_arena and list_lock.  Small cleanups.
59964         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59965         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59966         Add initializers to main_arena and mp_.
59967         (malloc_state): Remove pagesize member.  Change all users to use
59968         GLRO(dl_pagesize).
59970         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59971         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59972         is always initialized.
59974         * malloc/malloc.c: Removed unused configurations and dead code.
59975         * malloc/arena.c: Likewise.
59976         * malloc/hooks.c: Likewise.
59977         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59979         * include/tls.h: Removed.  USE___THREAD must always be defined.
59980         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59981         * elf/dl-libc.c: Likewise.
59982         * elf/dl-tsd.c: Likewise.
59983         * include/errno.h: Likewise.
59984         * include/netdb.h: Likewise.
59985         * include/resolv.h: Likewise.
59986         * inet/herrno-loc.c: Likewise.
59987         * inet/herrno.c: Likewise.
59988         * malloc/arena.c: Likewise.
59989         * malloc/hooks.c: Likewise.
59990         * malloc/malloc.c: Likewise.
59991         * resolv/res-state.c: Likewise.
59992         * resolv/res_libc.c: Likewise.
59993         * sysdeps/i386/dl-machine.h: Likewise.
59994         * sysdeps/ia64/dl-machine.h: Likewise.
59995         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59996         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59997         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59998         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59999         * sysdeps/sh/dl-machine.h: Likewise.
60000         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60001         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60002         * sysdeps/unix/i386/sysdep.S: Likewise.
60003         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
60004         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
60005         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
60006         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
60007         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
60008         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
60009         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
60010         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60011         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60012         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
60013         * sysdeps/unix/x86_64/sysdep.S: Likewise.
60014         * sysdeps/x86_64/dl-machine.h: Likewise.
60015         * tls.make.c: Likewise.
60017         * configure.in: Remove --with-__thread option.  Make tests for
60018         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
60019         tls_model attribute fail if no support is available.  Remove
60020         USE_IN_LIBIO.
60021         * Makeconfig: Adjust for dropped configure option.  All features are
60022         now mandatory.
60023         * Makerules: Likewise.
60024         * Versions.def: Likewise.
60025         * argp/argp-fmtstream.c: Likewise.
60026         * argp/argp-fmtstream.h: Likewise.
60027         * argp/argp-help.c: Likewise.
60028         * assert/assert.c: Likewise.
60029         * config.h.in: Likewise.
60030         * config.make.in: Likewise.
60031         * configure: Likewise.
60032         * configure.in: Likewise.
60033         * csu/Versions: Likewise.
60034         * csu/init.c: Likewise.
60035         * elf/tst-audit2.c: Likewise.
60036         * elf/tst-tls10.c: Likewise.
60037         * elf/tst-tls10.h: Likewise.
60038         * elf/tst-tls11.c: Likewise.
60039         * elf/tst-tls12.c: Likewise.
60040         * elf/tst-tls14.c: Likewise.
60041         * elf/tst-tlsmod11.c: Likewise.
60042         * elf/tst-tlsmod12.c: Likewise.
60043         * elf/tst-tlsmod13.c: Likewise.
60044         * elf/tst-tlsmod13a.c: Likewise.
60045         * elf/tst-tlsmod14a.c: Likewise.
60046         * elf/tst-tlsmod15b.c: Likewise.
60047         * elf/tst-tlsmod16a.c: Likewise.
60048         * elf/tst-tlsmod16b.c: Likewise.
60049         * elf/tst-tlsmod7.c: Likewise.
60050         * elf/tst-tlsmod8.c: Likewise.
60051         * elf/tst-tlsmod9.c: Likewise.
60052         * gmon/gmon.c: Likewise.
60053         * grp/fgetgrent_r.c: Likewise.
60054         * grp/putgrent.c: Likewise.
60055         * hurd/fopenport.c: Likewise.
60056         * include/libc-symbols.h: Likewise.
60057         * include/tls.h: Likewise.
60058         * intl/gettextP.h: Likewise.
60059         * intl/loadinfo.h: Likewise.
60060         * locale/global-locale.c: Likewise.
60061         * locale/localeinfo.h: Likewise.
60062         * mach/devstream.c: Likewise.
60063         * malloc/arena.c: Likewise.
60064         * malloc/set-freeres.c: Likewise.
60065         * misc/err.c: Likewise.
60066         * misc/getttyent.c: Likewise.
60067         * misc/mntent_r.c: Likewise.
60068         * posix/getopt.c: Likewise.
60069         * posix/wordexp.c: Likewise.
60070         * pwd/fgetpwent_r.c: Likewise.
60071         * resolv/Versions: Likewise.
60072         * resolv/res_hconf.c: Likewise.
60073         * shadow/fgetspent_r.c: Likewise.
60074         * shadow/putspent.c: Likewise.
60075         * stdio-common/printf_fphex.c: Likewise.
60076         * stdio-common/tmpfile.c: Likewise.
60077         * stdlib/abort.c: Likewise.
60078         * stdlib/fmtmsg.c: Likewise.
60079         * sunrpc/auth_unix.c: Likewise.
60080         * sunrpc/clnt_perr.c: Likewise.
60081         * sunrpc/clnt_tcp.c: Likewise.
60082         * sunrpc/clnt_udp.c: Likewise.
60083         * sunrpc/clnt_unix.c: Likewise.
60084         * sunrpc/openchild.c: Likewise.
60085         * sunrpc/svc_simple.c: Likewise.
60086         * sunrpc/svc_tcp.c: Likewise.
60087         * sunrpc/svc_udp.c: Likewise.
60088         * sunrpc/svc_unix.c: Likewise.
60089         * sunrpc/xdr.c: Likewise.
60090         * sunrpc/xdr_array.c: Likewise.
60091         * sunrpc/xdr_rec.c: Likewise.
60092         * sunrpc/xdr_ref.c: Likewise.
60093         * sunrpc/xdr_stdio.c: Likewise.
60095 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60097         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60099 2011-07-03  Andreas Jaeger  <aj@suse.de>
60101         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
60102         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
60103         regenerate with gen-libm-tests.pl.
60105 2010-05-12  Petr Baudis  <pasky@suse.cz>
60107         [BZ #11589]
60108         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
60109         around j0() zero points by switching to j1().
60110         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60111         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60112         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60113         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60115 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60117         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
60118         instead of 0.
60119         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
60120         instead of 0.
60121         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60122         Patch in part by Pavel Roskin <proski@gnu.org>.
60124         [BZ #13138]
60125         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
60126         realloc.
60127         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
60128         Free memory block if necessary.
60130         [BZ #12847]
60131         * libio/genops.c (INTDEF): For string streams the _lock pointer can
60132         be NULL.  Don't lock in this case.
60134 2011-09-09  Roland McGrath  <roland@hack.frob.com>
60136         * elf/elf.h (ELFOSABI_GNU): New macro.
60137         (ELFOSABI_LINUX): Define to that.
60139 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
60141         * string/strncat.c (strncat): Undef the symbol in case it has been
60142         defined in bits/string.h.
60144 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60146         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
60148         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
60149         link map.
60151 2011-08-17  Andreas Jaeger  <aj@suse.de>
60153         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
60155 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
60156             Ian Lance Taylor  <iant@google.com>
60158         * math/libm-test.inc (lround_test): New testcase.
60159         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
60161 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
60163         * Makefile: Remove support for automatic cvs check-ins.
60164         * Makerules: Likewise.
60165         * config.make.in: Likewise.
60166         * configure.in: Likewise.
60167         * intl/Makefile: Likewise.
60168         * locale/Makefile: Likewise.
60169         * po/Makefile: Likewise.
60170         * posix/Makefile: Likewise.
60171         * sysdeps/gnu/Makefile: Likewise.
60172         * sysdeps/mach/hurd/Makefile: Likewise.
60173         * sysdeps/sparc/sparc32/Makefile: Likewise.
60175         [BZ #13118]
60176         * posix/Makefile (bug-regex32-ENV): Define.
60177         Patch by John Stanley <jpsinthemix@verizon.net>.
60179         * misc/Makefile (headers): Add bits/select2.h.
60180         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
60181         * misc/bits/select2.h: New file.
60182         * include/bits/select2.h: New file.
60183         * debug/Makefile (routines): Add fdelt_chk.
60184         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
60185         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
60186         FD_ISSET.
60187         * debug/fdelt_chk.c: New file.
60189         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
60190         * wcsmbs/test-wmemcmp.c: Likewise.
60191         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
60192         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
60194 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60196         * string/Makefile (strop-tests): Add memcmp.
60197         * string/test-wmemcmp.c: New file.
60198         * string/test-memcmp.c: Add wmemcmp support.
60200 2011-09-08  Roland McGrath  <roland@hack.frob.com>
60202         [BZ #13153]
60203         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
60204         2011-07-19 change.
60206         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
60207         garbage value in a __mach_port_mod_refs call in the cases of the
60208         task-self and thread-self ports.
60210 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60212         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
60214 2011-09-08  Andreas Schwab  <schwab@redhat.com>
60216         * elf/dl-load.c (lose): Check for non-null L.
60218 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60220         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
60222         * elf/dl-libc.c (dlerror_run): Pass back error code from
60223         dl_catch_error.
60225         [BZ #13123]
60226         * elf/dl-load.c (lose): Free l_origin if it is valid.
60228         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
60229         names.
60230         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
60231         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60232         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60233         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60234         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
60235         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
60237 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60239         * sysdeps/powerpc/fpu/e_hypot.c: New file.
60240         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
60241         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
60242         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
60243         * sysdeps/powerpc/fpu/k_cosf.c: New file.
60244         * sysdeps/powerpc/fpu/k_sinf.c: New file.
60245         * sysdeps/powerpc/fpu/s_cosf.c: New file.
60246         * sysdeps/powerpc/fpu/s_sinf.c: New file.
60247         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
60248         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
60250 2011-08-15  Alan Modra  <amodra@gmail.com>
60252         [BZ #13092]
60253         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
60254         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
60255         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
60256         ppc_mcount to static-only-routines.
60257         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
60258         __mcount_internal.
60259         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
60260         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
60262 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
60264         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
60265         for finite and infinity parameters.
60267 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
60269         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
60270         and add nop instructions for throughput optimization.
60271         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60273 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
60275         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
60276         aligned copy for power7 with vector-scalar instructions.
60277         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60279 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
60281         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
60282         AVX check.
60284 2011-09-07  Andreas Schwab  <schwab@redhat.com>
60286         [BZ #13144]
60287         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
60288         last change.
60290 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60292         * sysdeps/unix/sysv/linux/x86_64/init-first.c
60293         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
60294         syscall wrapper around clock_gettime in __vdso_clock_gettime.
60295         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
60296         clock_gettime.
60298 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60300         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
60301         Forgot to demangle the pointer.
60303         * sysdeps/i386/sysdep.h: Define atom_text_section.
60304         * sysdeps/x86_64/sysdep.h: Likewise.
60305         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
60306         section with atom_text_section.
60307         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60308         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60309         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
60310         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60311         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
60313         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
60314         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
60315         already be defined.  Change to take two parameters and don't assign
60316         result to variable.  Adjust all users.
60317         Define INTERNAL_GETTIME if not already defined.
60318         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
60319         call.
60320         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
60321         HAVE_CLOCK_GETTIME_VSYSCALL.
60322         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
60324         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
60325         gettimeofday vsyscall, just use time.
60327 2011-09-06  Andreas Schwab  <schwab@redhat.com>
60329         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
60330         <errno.h>.
60332 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60334         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
60335         syscall on x86-64.
60336         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
60337         syscall.
60338         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
60339         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
60340         syscall if possible.
60342 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60344         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
60345         e_ident.  Don't pass to find_mapsXX.
60346         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
60348 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60350         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60351         strchr-sse2-no-bsf strrchr-sse2-no-bsf
60352         * sysdeps/x86_64/multiarch/strchr.S: Update.
60353         Check bit_slow_BSF bit.
60354         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60355         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
60356         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
60358 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60360         [BZ #13134]
60361         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
60362         before glibc 2.15.
60363         (tryshell): Define.
60364         (__spawni): Change last parameter to be flag.  Test
60365         SPAWN_XFLAGS_USE_PATH flag to use path or not.
60366         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
60367         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
60368         * posix/spawni.c: Likewise.
60369         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
60370         * posix/spawnp.c: Likewise.  Change normal version to use
60371         SPAWN_XFLAGS_USE_PATH.
60372         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
60373         SPAWN_XFLAGS_TRY_SHELL.
60375         [BZ #13150]
60376         * posix/glob.h: Remove gcc 1.x support.
60378         [BZ #13068]
60379         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
60381 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60383         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60384         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
60385         strrchr-sse2-bsf
60386         * sysdeps/i386/i686/multiarch/strchr.S: New file.
60387         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
60388         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
60389         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
60390         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
60391         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
60393 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60395         * sysdeps/x86_64/wcscmp.S: New file.
60397         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
60398         wcscmp-c wcscmp-sse2
60399         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
60400         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
60401         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
60402         * wcsmbs/wcscmp.c: Allow renaming.
60404 2011-09-05  David S. Miller  <davem@davemloft.net>
60406         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
60407         stack slot, rather than the struct return pointer slot.
60408         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
60409         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
60410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
60411         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
60413 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60415         * po/ja.po: Update from translation team.
60417         [BZ #13144]
60418         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
60419         kernel in 64-bit binaries.
60421 2011-09-01  David S. Miller  <davem@davemloft.net>
60423         * elf/elf.h (HWCAP_SPARC_*): Move to..
60424         * sysdeps/sparc/sysdep.h: this new file and add new values.
60425         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
60426         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
60427         _DL_HWCAP_COUNT to 24.
60428         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60429         entries.
60430         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
60431         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
60432         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
60433         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
60434         instead of magic constants.
60435         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60437 2011-08-31  David S. Miller  <davem@davemloft.net>
60439         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
60440         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
60441         Reimplement to do errno handling inline.
60442         (SYSCALL_ERROR_HANDLER): New macro.
60443         (__SYSCALL_STRING): Do not do errno handling in asm.
60444         (__CLONE_SYSCALL_STRING): Delete.
60445         (__INTERNAL_SYSCALL_STRING): Delete.
60446         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
60447         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
60448         (PSEUDO): Reimplement to do errno handling inline.
60449         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
60450         (SYSCALL_ERROR_HANDLER): New macro.
60451         (__SYSCALL_STRING): Do not do errno handling in asm.
60452         (__CLONE_SYSCALL_STRING): Delete.
60453         (__INTERNAL_SYSCALL_STRING): Delete.
60454         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
60455         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
60456         i386.
60457         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
60458         (inline_syscall*): Add 'err' argument.
60459         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
60460         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
60461         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
60462         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
60464         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
60465         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60467 2011-08-30  Andreas Schwab  <schwab@redhat.com>
60469         * elf/rtld.c (dl_main): Relocate objects in dependency order.
60471 2011-08-29  Jiri Olsa <jolsa@redhat.com>
60473         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
60474         directive.
60476 2011-08-24  David S. Miller  <davem@davemloft.net>
60478         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
60480 2011-08-24  Andreas Schwab  <schwab@redhat.com>
60482         * elf/Makefile: Add rules to build and run unload8 test.
60483         * elf/unload8.c: New file.
60484         * elf/unload8mod1.c: New file.
60485         * elf/unload8mod1x.c: New file.
60486         * elf/unload8mod2.c: New file.
60487         * elf/unload8mod3.c: New file.
60489         * elf/dl-close.c (_dl_close_worker): Reset private search list if
60490         it wasn't used.
60492 2011-08-23  David S. Miller  <davem@davemloft.net>
60494         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
60495         subtract stack bias.
60496         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
60497         %sp not %fp in calculations.
60498         (_JMPBUF_UNWINDS_ADJ): Likewise.
60500         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
60501         (aio_suspend): Call it to force an exception region around the
60502         AIO_MISC_WAIT() invocation.
60504 2011-08-23  Andreas Schwab  <schwab@redhat.com>
60506         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
60507         backslash.
60509 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
60511         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
60512         protection macro.
60513         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
60514         and <dl-machine.h>.
60515         (Elf64_FuncDesc): Remove.
60517 2011-08-22  David S. Miller  <davem@davemloft.net>
60519         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
60520         sigaltstack check, add missing cfi directives.
60521         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
60522         missing cfi directives, and sigaltstack handling.
60524 2011-08-16  Andreas Schwab  <schwab@redhat.com>
60526         [BZ #11724]
60527         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
60528         object is seen twice.
60529         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60531         * elf/Makefile (distribute): Add tst-initorder2.c.
60532         (tests): Add tst-initorder2.
60533         (modules-names): Add tst-initorder2a tst-initorder2b
60534         tst-initorder2c tst-initorder2d.  Add rules to build them.
60535         ($(objpfx)tst-initorder2.out): New rule.
60536         * elf/tst-initorder2.c: New file.
60537         * elf/tst-initorder2.exp: New file.
60539 2011-08-22  Andreas Schwab  <schwab@redhat.com>
60541         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
60543         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
60544         dependencies back to end of function.
60546         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60547         $(elfobjdir)/ld.so.
60549 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
60551         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
60552         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
60553         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
60554         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
60555         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
60556         of __vdso_gettimeofday.
60557         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
60558         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
60559         attribute_hidden.
60560         (_libc_vdso_platform_setup): Remove initialization of
60561         __vdso_gettimeofday and __vdso_time.
60563 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60565         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
60566         and fgetc_unlocked.
60567         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
60568         getc_unlocked.
60570         * elf/dl-open.c (add_to_global): Report additions to the global scope
60571         for LD_DEBUG=scopes.
60572         (dl_open_worker): Also print scope of newly loaded dependencies.
60573         (_dl_show_scope): Indicate if there is no scope.
60575         [BZ #13114]
60576         * stdio-common/Makefile (tests): Add bug24.
60577         * stdio-common/bug24.c: New file.
60579 2011-08-19  Andreas Jaeger  <aj@suse.de>
60581         [BZ #13114]
60582         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
60583         non-existant file when using close-on-exec mode.
60585 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60587         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
60588         the very first instruction.
60590         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
60591         the CFI state in the end.
60592         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
60593         inclusion of dl-trampoline.h.
60594         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
60596 2011-08-19  Andreas Schwab  <schwab@redhat.com>
60598         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
60599         expectations for long double.
60601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60602         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60604 2011-08-14  David S. Miller  <davem@davemloft.net>
60606         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60607         artificual limit depends upon the system page size.
60609 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60611         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60612         * resolv/Makefile: Define CFLAGS-libresolv.
60614 2011-08-17  Andreas Schwab  <schwab@redhat.com>
60616         * nss/makedb.c (compute_tables): Make variables used in nested
60617         function static.
60619 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60621         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60622         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60623         if buffer was too small.
60625         * elf/pldd.c (main): Attach to all threads in the process.
60626         Rewrite /proc handling to use *at functions.
60628 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
60630         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60631         specifies first scope to show.
60632         (dl_open_worker): Update callers.  Move printing scope of new
60633         object to before the relocation.
60634         * elf/rtld.c (dl_main): Update _dl_show_scope call.
60635         * sysdeps/generic/ldsodefs.h: Update declaration.
60637         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60638         string for the scope number.
60640 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
60642         * nscd/servicescache.c (cache_addserv): Make sure written is always
60643         initialized.
60645 2011-08-14  Roland McGrath  <roland@hack.frob.com>
60647         * sysdeps/i386/i486/bits/atomic.h
60648         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60649         statement expression, so as to suppress "set but not used" warning.
60650         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60652         * string/strncat.c (STRNCAT): Use prototype definition.
60654         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60655         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60656         -Iprograms here.
60657         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60658         (localedef-modules): Add localedef.
60659         (locale-modules): Add locale.
60661         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60662         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60663         to avoid a warning.
60665 2011-08-14  David S. Miller  <davem@davemloft.net>
60667         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60668         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60670 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60672         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60673         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60674         * elf/rtld.c (dl_main): Set l_name of vDSO.
60675         Call _dl_show_scope when DL_DEBUG_SCOPES.
60676         (process_dl_debug): Recognize scopes flag and also set it for all.
60677         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60678         Declare _dl_show_scope.
60680         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60681         (do_dlopen): Pass caller_dlopen to dl_open.
60682         (__libc_dlopen_mode): Initialize caller_dlopen.
60684         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60685         of libc.  Make tolower call locale-independent.  Optimize a bit by
60686         using isdigit instead of isalnum.
60687         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60689 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60691         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60692         was a dependency or dynamically loaded.
60694 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60696         * intl/l10nflist.c: Allow architecture-specific pop function.
60697         * sysdeps/x86_64/l10nflist.c: New file.
60699         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60700         classification.
60702 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60704         * include/dirent.h: Add libc_hidden_proto for scandirat and
60705         scandirat64.  Don't declare __scandirat64.
60706         * dirent/scandirat.c: Add libc_hidden_def.
60707         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60708         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60710 2011-08-10  David S. Miller  <davem@davemloft.net>
60712         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60713         enum.
60714         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60715         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60716         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60718 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60720         * Versions.def [libc]: Add GLIBC_2.15.
60721         * dirent/Makefile (routines): Add scandirat and scandirat64.
60722         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60723         GLIBC_2.15.
60724         * dirent/dirent.h: Declare scandirat and scandirat64.
60725         * dirent/scandirat.c: New file.
60726         * dirent/scandirat64.c: New file.
60727         * sysdeps/wordsize-64/scandirat.c: New file.
60728         * sysdeps/wordsize-64/scandirat64.c: New file.
60729         * dirent/opendir.c: Define opendirat.
60730         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60731         using scandirat.
60732         * dirent/scandir64.c: Adjust for scandir.c change.
60733         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60734         __scandirat64, and __scandir_cancel_handler.
60735         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60736         additional parameter and use openat instead of open (outside of ld.so).
60737         Add new __opendir as wrapper around __opendirat.
60738         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60739         here without requiring old scandirat implementation.
60741 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60743         * dirent/scandir.c (cancel_handler): Renamed to
60744         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60745         defined.  Adjust users.
60746         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60747         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60749 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60751         * string/test-string.h (IMPL): Use __STRING to expand name and then
60752         stringify it.
60754         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60755         of cleanups.
60757 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60759         * string/Makefile: Update.
60760         (strop-tests): Append strncat.
60761         * string/test-wcscmp.c: New file.
60762         New comprehensive test for wcscmp.
60763         * string/test-strcmp.c: Update.
60764         (WIDE): New define.
60766 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60768         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60769         line.
60771 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60773         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60774         encoding to ACE if AI_IDN.
60776 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60778         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60779         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60781 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60783         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60784         Fix overflow bug in strncat.
60785         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60787         * string/test-strncat.c: Update.
60788         Add new tests for checking overflow bugs.
60790 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60792         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60793         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60794         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60795         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60796         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60797         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60798         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60799         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60800         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60802         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60803         (USE_AS_STRCAT): Define.
60804         Add strcat and strncat support.
60805         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60807 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60809         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60810         __n bigger than INT_MAX+1.
60811         (__strncmp_g): Likewise.
60813 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60815         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60816         * libio/stido.h: Likewise.
60818         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60819         (AF_NFC): Define.
60820         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60821         (AF_NFC): Define.
60823         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60824         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60825         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60826         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60827         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60829         [BZ #13021]
60830         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60831         installed.
60833         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60834         typo.
60835         (_dl_x86_64_save_sse): Likewise.
60837 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60839         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60840         OSXSAVE.
60841         (_dl_x86_64_save_sse): Likewise.
60843         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60845         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60847 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60849         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60850         change.
60851         (_dl_x86_64_save_sse): Use correct AVX check.
60853 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60855         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60856         bug in strncpy/strncat.
60857         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60859 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60861         * string/tester.c (test_strcat): Add tests for different alignments
60862         of source and destination.
60863         (test_strncat): Likewise.
60865 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60867         [BZ #12852]
60868         * posix/glob.c (glob): Check passed in values before using them in
60869         expressions to avoid some overflows.
60870         (glob_in_dir): Likewise.
60872         [BZ #13007]
60873         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60874         check for AVX enablement so that we don't crash with old kernels and
60875         new hardware.
60876         * elf/tst-audit4.c: Add same checks here.
60877         * elf/tst-audit6.c: Likewise.
60879         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60881 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60883         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60885 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60887         * po/cs.po: Update from translation team.
60888         * po/bg.po: Likewise.
60890 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60892         * misc/sys/cdefs.h: Add support for const attribute.
60893         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60894         to gnu_dev_{major,minor,makedev} functions.
60896 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60898         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60900 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60902         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60903         strlen results.
60905 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60907         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60908         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60909         register in order to avoid conflicts with the soft frame pointer
60910         being held in r11 when necessary.
60911         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60912         (INTERNAL_VSYSCALL_NCS): Likewise.
60914 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60916         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60917         * elf/dl-fini.c (_dl_fini): Adjust caller.
60918         * elf/dl-close.c (_dl_close_worker): Likewise.
60919         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60921 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60923         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60924         "aux_cache->nlibs < 0".
60926         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60927         in the reload-count case.
60929 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60931         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60932         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60933         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60934         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60935         * sysdeps/x86_64/multiarch/strcat.S: New file.
60936         * sysdeps/x86_64/multiarch/strncat.S: New file.
60937         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60938         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60939         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60940         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60941         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60942         (USE_AS_STRCAT): Define.
60943         Add strcat and strncat support.
60944         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60945         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60946         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60947         * string/strncat.c: Update.
60948         (USE_AS_STRNCAT): Define.
60949         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60950         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60951         and i7.
60952         * sysdeps/x86_64/multiarch/init-arch.h
60953         (bit_Prefer_PMINUB_for_stringop): New.
60954         (index_Prefer_PMINUB_for_stringop): Likewise.
60955         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60956         bit_Prefer_PMINUB_for_stringop.
60958 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60960         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60961         buffer64.
60962         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60963         of casting of buffer.
60964         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60965         buffer32 and buffer64.
60966         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60967         writes instead of casting of buffer.
60968         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60969         buffer32.
60970         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60971         casting of buffer.
60973 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60975         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60977 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60979         * nscd/nscd.c (termination_handler): Don't do anything for a database
60980         if it has not yet been initialized.
60982 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60984         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60986 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60988         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60990 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60992         * po/nl.po: Update from translation team.
60993         * po/sv.po: Likewise.
60995 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60997         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60998         now disallowed by GCC.
61000         * configure.in (use-default-link): Default to yes if a test -shared
61001         link meets our qualifications.
61002         * configure: Regenerated.
61004         * config.make.in (output-format): New variable.
61005         * configure.in: Check for ld --print-output-format support.
61006         * configure: Regenerated.
61007         * Makerules ($(common-objpfx)format.lds)
61008         [$(output-format) != unknown]: Just use $(output-format),
61009         instead of the linker-script munging.
61011 2011-07-14  Roland McGrath  <roland@hack.frob.com>
61013         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
61014         of $(common-objpfx)shlib.lds.
61015         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
61017         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
61018         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
61020         * configure.in (-z relro check): Adjust test code to add a large
61021         writable data section after it.
61022         * configure: Regenerated.
61024 2011-07-11  Roland McGrath  <roland@hack.frob.com>
61026         * configure.in (-z relro check): Fix test code to make the variable
61027         truly const.
61028         * configure: Regenerated.
61030 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
61032         * nscd/nscd.h (struct traced_file): Define.
61033         (struct database_dyn): Remove inotify_descr, reset_res, and filename
61034         elements.  Add traced_files.
61035         (inotify_fd): Declare.
61036         (register_traced_file): Declare.
61037         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
61038         (inotify_fd): Export.
61039         (resolv_conf_descr): Remove.
61040         (nscd_init): Move inotify descriptor creation to main.
61041         Don't register files for notification here.
61042         (register_traced_file): New function.
61043         (invalidate_cache): Don't use reset_res to determine whether to call
61044         res_init, go through the list of registered files.
61045         (main_loop_poll): The inotify descriptors are now stored in the
61046         structures for the traced files.
61047         (main_loop_epoll): Likewise
61048         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
61049         to __nss_disable_nscd.
61050         * nscd/cache.c (prune_cache): There is no single inotify descriptor
61051         for a database anymore.  Check the records for all the registered
61052         files instead.
61053         * nss/Makefile (libnss_files-routines): Add files-init.
61054         (libnss_db-routines): Add db-init.
61055         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
61056         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
61057         * nss/nss_db/db-init.c: New file.
61058         * nss/nss_files/files-init.c: New file.
61059         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
61060         __nss_lookup_function.
61061         (__nss_lookup_function): Call nss_load_library.
61062         (nss_load_all_libraries): New function.
61063         (__nss_disable_nscd): Take parameter with callback function for files
61064         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
61065         used for the cached services.
61066         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
61067         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
61068         options for features to all the files in nscd.
61070         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
61072 2011-07-10  Roland McGrath  <roland@hack.frob.com>
61074         * csu/elf-init.c (__libc_csu_init): Comment typo.
61076 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
61078         * po/pl.po: Update from translation team.
61079         * po/ja.po: Likewise.
61080         * po/ru.po: Likewise.
61081         * po/ko.po: Likewise.
61082         * po/fr.po: Likewise.
61084 2011-07-09  Roland McGrath  <roland@hack.frob.com>
61086         * configure.in (.ctors/.dtors header and trailer check):
61087         Use an empirical test on a built program.
61088         * configure: Regenerated.
61090         * configure.in (-z relro check): Use an empirical test on a built DSO.
61091         Detect, but do not require, on ia64.
61092         * configure: Regenerated.
61094         * configure.in (READELF): Find it with AC_CHECK_TOOL.
61095         Update tests that use readelf to use $READELF instead.
61096         * configure: Regenerated.
61098 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
61100         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
61101         if the result is not used.
61103 2011-07-05  Andreas Jaeger  <aj@suse.de>
61105         [BZ#9696]
61106         * stdlib/tst-strtod.c: Add testcase.
61108 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
61110         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
61111         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
61112         The latter has a higher limit.  Take additional parameter to pass to
61113         the new function.
61114         (__pathconf): Pass file to __statfs_link_max.
61115         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
61116         __statfs_link_max.
61117         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
61118         __statfs_link_max.
61120         [BZ #12868]
61121         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
61122         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61123         Handle Lustre.
61124         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
61125         (__statfs_filesize_max): Likewise.
61126         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
61128 2011-07-05  Andreas Jaeger  <aj@suse.de>
61130         * resolv/res_comp.c (dn_skipname): Remove unused variable.
61132 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
61134         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
61135         `status' variable.
61136         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
61137         Likewise.
61139 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
61141         * Makefile (strop-tests): Add strncat.
61142         * string/test-strncat.c: New file.
61144 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
61146         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
61148 2011-06-21  Andreas Jaeger  <aj@suse.de>
61150         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
61151         Copy rule from iconvdata/Makefile.
61153 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
61155         [BZ #12922]
61156         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
61157         but no long options are defined, just return 'W'.
61159 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
61161         [BZ #9696]
61162         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
61164 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
61166         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
61167         netgroups to read.
61168         (innetgr): Likewise.
61170 2011-07-05  Roland McGrath  <roland@hack.frob.com>
61172         * config.make.in (install_root): Default to $(DESTDIR).
61174 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
61176         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
61178 2011-07-02  Roland McGrath  <roland@hack.frob.com>
61180         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
61182         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
61183         containing directory rather than embedding absolute directory names.
61185         * scripts/check-local-headers.sh: Rewritten using awk.
61186         Match by word, not by line.  Print error messages for matches.
61187         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
61189         * Makerules [shlib-lds-flags empty]:
61190         ($(common-objpfx)libc_pic.opts): New target.
61191         ($(common-objpfx)libc_pic.os.clean): New target.
61192         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
61194         * config.make.in (OBJCOPY): New variable.
61195         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
61196         * configure: Regenerated.
61198         * config.make.in (use-default-link): New variable.
61199         * configure.in (use_default_link): Grok --with-default-link to set it.
61200         * configure: Regenerated.
61201         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
61202         (shlib-lds, shlib-lds-flags): Define to empty.
61204         * Makerules (shlib-lds): New variable.
61205         (shlib-lds-flags): New variable.
61206         (build-shlib, build-moduile, build-module-asneeded): Use it.
61207         ($(common-objpfx)libc.so): Use $(shlib-lds).
61208         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
61209         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
61211         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
61212         DT_FLAGS/DT_FLAGS_1 with zero flags.
61214         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
61215         linker script munging.
61217 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
61219         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
61220         as 128-bit value.
61221         * crypt/sha512.c (sha512_process_block): Perform total addition using
61222         128-bit if possible.
61223         (__sha512_finish_ctx): Likewise.
61224         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
61225         as 64-bit value.
61226         * crypt/sha256.c (SWAP64): Define.
61227         (sha256_process_block): Perform total addition using 64-bit if
61228         possible.
61229         (__sha256_finish_ctx): Likewise.
61231 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
61233         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
61234         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61235         * nscd/hstcache.c (cache_addhst): Likewise.
61236         * nscd/grpcache.c (cache_addgr): Likewise.
61237         * nscd/aicache.c (addhstaiX): Likewise
61238         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
61240 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
61242         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
61243         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61244         * nscd/hstcache.c (cache_addhst): Likewise.
61245         * nscd/grpcache.c (cache_addgr): Likewise.
61246         * nscd/aicache.c (addhstaiX): Likewise
61248 2011-07-01  Andreas Schwab  <schwab@redhat.com>
61250         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
61251         domain only when needed.
61253 2011-06-30  Andreas Schwab  <schwab@redhat.com>
61255         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
61256         is always restored.
61258 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
61260         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
61261         are re-adding the entry.
61262         * nscd/servicescache.c (cache_addserv): Likewise.
61264 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
61266         * sysdeps/generic/dl-irel.h: fix protection against multiple
61267         inclusions.
61268         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
61270 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
61272         [BZ #12935]
61273         * malloc/memusage.sh: Fix quoting in message.
61274         * debug/xtrace.sh: Likewise.
61276         * configure.in: Remove support for --experimental-malloc option, make
61277         it the default.
61278         * config.make.in: Likewise.
61279         * malloc/Makefile: Likewise.
61281 2011-06-27  Andreas Schwab  <schwab@redhat.com>
61283         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
61284         two-byte characters.
61286 2011-06-27  Roland McGrath  <roland@hack.frob.com>
61288         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
61289         AC_CACHE_CHECK invocation.
61290         * configure: Regenerated.
61292         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
61294 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
61296         [BZ #12350]
61297         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
61298         bit from old_res_options.
61300         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
61302         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
61303         value type for setfct.
61305 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
61307         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61308         __gettimeofday instead of gettimeofday.
61310 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
61312         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
61314 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
61316         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
61318         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
61319         info.
61321 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61323         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61324         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61325         strcpy-sse2-unaligned strncpy-sse2-unaligned
61326         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
61327         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
61328         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
61329         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
61330         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
61331         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
61332         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
61333         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
61334         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
61335         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
61336         (STRCPY): Support SSE2 and SSSE3 versions.
61338 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
61340         [BZ #12874]
61341         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
61342         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
61343         kernels which artificially limit size of requests.
61345 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61347         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61348         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61349         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
61350         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
61351         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
61352         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
61353         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
61354         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
61355         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
61356         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
61357         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
61358         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
61359         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
61360         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
61361         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
61362         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61363         Enable unaligned load optimization for Intel Core i3, i5 and i7
61364         processors.
61365         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
61366         Define.
61367         (index_Fast_Unaligned_Load): Define.
61368         (HAS_FAST_UNALIGNED_LOAD): Define.
61370 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
61372         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
61374 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61376         [BZ #12907]
61377         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
61378         until it is clear that the information is realy needed.
61379         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
61381 2011-06-22  Andreas Schwab  <schwab@redhat.com>
61383         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
61385 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61387         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61388         /sys/devices/system/cpu/online if it is usable.
61390         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
61391         reading the information from the /proc filesystem to once a second.
61393 2011-06-21  Andreas Jaeger  <aj@suse.de>
61395         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
61396         NULL after inclusion of kernel headers.
61398 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
61400         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
61401         calls to internal_setent.
61403         [BZ #12885]
61404         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
61405         addresses using gethostbyname4_r ignore IPv4 addresses.
61407         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
61408         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
61410         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
61412 2011-06-20  David S. Miller  <davem@davemloft.net>
61414         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
61415         inclusions.
61416         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
61418         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
61419         (elf_irel): Use it.
61420         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
61421         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
61422         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
61423         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
61424         * sysdeps/x86_64/dl-irel.h: Likewise.
61426         * elf/dl-runtime.c: Use elf_ifunc_invoke.
61427         * elf/dl-sym.c: Likewise.
61429 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61431         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
61432         need to dereference resplen2.
61434 2011-06-14  Andreas Schwab  <schwab@redhat.com>
61436         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
61438 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61440         * Makeconfig: Define vardbdir and inst_vardbdir.
61441         * nss/Makefile: Add rules to install db-Makefile.
61443         * nss/nss_db/db-XXX.c: Cleanup.
61445         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
61446         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
61447         GLIBC_PRIVATE.
61448         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
61449         * nss/makedb.c: Implement -g option to specify that value strings
61450         are generated and should not be added to table iterated over for
61451         get*ent calls.
61452         * nss/nss_db/db-initgroups.c: New file.
61454         * nss/getent.c: Add support for initgroups lookups through getgrouplist
61455         interface.
61457         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
61458         (internal_getgrouplist): Adjust to name change.
61459         Update use_initgroups_entry if this is not the first call.
61460         * nss/databases.def: Add initgroups entry.
61462         * nss/makedb.c (compute_tables): Check result of multiple hash table
61463         sizes to minimize maximum chain length.
61465 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
61467         * Versions.def: Add entry for libnss_db.
61468         * shlib-versions: Likewise.
61469         * nss/Makefile: Add rules to build libnss_db.
61470         * nss/Versions: Add libnss_db information.  Organize libnss_files
61471         entries better.
61472         * nss/db-Makefile: Add gshadow support.  Change rules for the new
61473         makedb progra.  Some minor improvements to generate smaller files.
61474         * nss/nss_db/nss_db.h: Move NSS database header data structures to
61475         here from...
61476         * nss/makedb.c: ...here.
61477         Improve database format to be smaller and require less memory at
61478         runtime.
61479         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
61480         db anymore.
61481         * nss/nss_db/db-netgrp.c: Likewise.
61482         * nss/nss_db/db-open.c: Likewise.
61483         * nss/nss_files/flies-XXX.x: Adjust comments.
61484         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
61485         * nss/nss_files/files-grp.c: Likewise.
61486         * nss/nss_files/files-hosts.c: Likewise.
61487         * nss/nss_files/files-network.c: Likewise.
61488         * nss/nss_files/files-proto.c: Likewise.
61489         * nss/nss_files/files-pwd.c: Likewise.
61490         * nss/nss_files/files-rpc.c: Likewise.
61491         * nss/nss_files/files-service.c: Likewise.
61492         * nss/nss_files/files-sgrp.c: Likewise.
61493         * nss/nss_files/files-spwd.c: Likewise.
61494         * nss/nss_db/db-alias.c: Removed.
61495         * nss/nss_db/dummy-db.h: Removed.
61497 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
61499         * nss/makedb.c: Rewritten to not use database library.
61500         * nss/Makefile: Update to build new makedb program.
61502 2011-06-14  Andreas Jaeger  <aj@suse.de>
61504         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
61505         memset declaration.
61507 2011-06-10  Andreas Schwab  <schwab@redhat.com>
61509         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
61510         tmpbuf.
61512 2011-06-10  Roland McGrath  <roland@hack.frob.com>
61514         * Makerules (shlib.lds): Fail if the linker script comes out empty.
61515         * elf/Makefile ($(objpfx)ld.so): Likewise.
61517         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
61518         Don't list ld.so twice in dependencies.
61520         * posix/bug-regex31.c: Include <stdlib.h>.
61522         * nscd/hstcache.c (cache_addhst): Remove unused variable.
61524         * nis/nss_compat/compat-spwd.c
61525         (getspent_next_nss_netgr): Remove unused variable.
61526         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
61528         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
61529         nonmembers" output to use the right array.
61531         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
61533         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
61535         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
61536         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
61537         * catgets/gencat.c (read_input_file): Likewise.
61538         * locale/programs/locarchive.c (enlarge_archive): Likewise.
61540         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
61541         variable definition inside #if's controlling its use.
61543         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
61545         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
61547         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
61549         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
61550         unreachable code.
61552         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
61554         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
61555         * configure: Regenerated.
61557         * Makerules: Revert last change.
61558         * elf/Makefile: Likewise.
61560 2011-06-09  Roland McGrath  <roland@hack.frob.com>
61562         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
61563         * elf/Makefile ($(objpfx)librtld.os): Likewise.
61564         (reloc-link): Likewise.
61566 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
61568         * elf/Makefile: Add rules to build pldd.
61569         * elf/pldd.c: New file.
61570         * elf/pldd-xx.c: New file.
61572 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
61574         * version.h: Update for 2.15 development version.
61576 2011-06-07  David S. Miller  <davem@davemloft.net>
61578         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
61579         ifuncs.
61580         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
61581         elf_machine_lazy_rel): Likewise.
61582         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
61583         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
61584         elf_machine_lazy_rel): Likewise.
61585         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
61586         dl_hwcap via passed in argument.
61587         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
61588         Likewise.
61590 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61592         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
61594 2011-06-06  Roland McGrath  <roland@hack.frob.com>
61596         [BZ #12849]
61597         * manual/fdl-1.1.texi: New file, verbatim from:
61598         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
61599         * manual/lgpl-2.1.texi: New file, verbatim from:
61600         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61601         * manual/Makefile (licenses): New variable, list those new file names.
61602         (texis): Use it.
61603         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61605         * manual/fdl.texi: File removed.
61606         * manual/lesser.texi: File removed.
61607         * manual/libc.texinfo (Copying, Documentation License):
61608         Use new @include file names, put @appendix directive before @include.
61610 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
61612         [BZ #12841]
61613         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61614         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61615         (mq_open): Add __NTH.
61617 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
61619         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61620         Assume Intel Core i3/i5/i7 processor if AVX is available.
61622 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61624         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61625         typo.
61627 2011-05-31  Andreas Schwab  <schwab@redhat.com>
61629         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61630         memory.  Use alloca_account.  Fix memory leak when retrying.
61632 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61634         * version.h (RELEASE): Bump for 2.14 release.
61635         * include/features.h (__GLIBC_MINOR__): Bump to 14.
61637         * config.make.in (RANLIB): Remove entry.
61639 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
61641         * po/Makefile (po-sed-cmd): Add ksh to extensions.
61642         (libc.pot): Work around missing support for .ksh extension in xgettext.
61644         [BZ #12684]
61645         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61646         if both request failed.
61647         (send_dg): In case of server errors clear resplen or *resplen2.
61649         [BZ #12454]
61650         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61651         when there are multiple maps.
61652         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61653         (_dl_fini): Remove test here.
61655         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61657 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61659         [BZ #12350]
61660         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61661         bit from old_res_options.
61662         (gaih_inet): Likewise.
61664         [BZ #11099]
61665         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61666         as signed.
61668         * resolv/res_init.c (res_setoptions): Make the code more compact.
61670         [BZ #11558]
61671         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61672         set RES_USEVC.
61674         [BZ #11634]
61675         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61677         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61679         [BZ #11781]
61680         * malloc/malloc.h: Declare malloc hook variables as volatile.
61682         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61683         in last patch.
61685         [BZ #11799]
61686         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61687         raise in the comment.
61688         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61689         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61690         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61692 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61694         [BZ #12811]
61695         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61696         grow the buffers more if it already has to be sufficient.
61697         (build_wcs_upper_buffer): Likewise.
61698         * posix/regexec.c (check_matching): Likewise.
61699         (clean_state_log_if_needed): Likewise.
61700         (extend_buffers): Don't enlarge buffers beyond size of the input
61701         buffer.
61702         Patches mostly by Emil Wojak <emil@wojak.eu>.
61703         * posix/bug-regex32.c: New file.
61704         * posix/Makefile (tests): Add bug-regex32.
61706         * locale/findlocale.c (_nl_find_locale): Return right away if
61707         _nl_explode_name failed.
61708         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61710         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61712         * debug/xtrace.sh: Unify messages.
61713         * malloc/memusage.sh: Likewise.
61715         [BZ #12813]
61716         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61717         time symbol from vDSO.  Substitute with vsyscall if not available.
61718         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61719         __vdso_time.
61721         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61722         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61723         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61724         Add sendmmsg and internal_sendmmsg.
61725         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61726         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61727         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61729         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61730         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61731         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61733 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61735         [BZ #12813]
61736         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61737         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61738         available.
61739         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61740         __vdso_getcpu.
61742         [BZ #12814]
61743         * iconvdata/Makefile (tests): Add bug-iconv9.
61744         * iconvdata/bug-iconv9.c: New file.
61746 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61748         [BZ #12814]
61749         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61751 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61753         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61754         (struct user_regs_struct): Change intcs field back to cs.
61756 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61758         * po/ja.po: Update from translation team.
61760 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61762         [BZ #12795]
61763         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61764         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61766 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61768         * stdlib/longlong.h: Update from GCC.
61770 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61772         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61773         parameter name.
61774         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61775         Add parameter name.
61776         (__sysconf): Pass it down.
61778 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61780         [BZ #12671]
61781         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61782         some situations.
61783         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61784         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61785         add in in __libc_use_alloca calls.  Adjust callers.
61786         (glob): Use malloc in some situations.
61788         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61789         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61790         pltexit.
61792 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61794         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61795         and CLOCK_BOOTTIME_ALARM.
61797         [BZ #12782]
61798         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61799         is returned.
61801         * string/_strerror.c (__strerror_r): Print negative errors as signed
61802         numbers.
61804         [BZ #12777]
61805         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61806         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61807         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61809         * configure.in: Fix typo in redirection and correct removal of test
61810         files in two cases.
61812         [BZ #12788]
61813         * locale/setlocale.c (new_composite_name): Fix test to check for
61814         identical name of all categories.
61816         [BZ #12792]
61817         * libio/filedoalloc.c (local_isatty): New function.
61818         (_IO_file_doallocate): Use local_isatty.
61819         * stdio-common/perror.c (perror): In case a new stream is used
61820         forward the stream error.
61821         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61822         error flag.
61824 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61826         [BZ #11869]
61827         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61828         alloca.
61829         * include/alloca.h (extend_alloca_account): Define.
61831         [BZ #11857]
61832         * posix/regex.h: Fix comments with documentation of user-accessible
61833         fields after compilation and describe correct free'ing of pattern
61834         after re_compile_pattern.
61835         Patch by Reuben Thomas <rrt@sc3d.org>.
61837 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61839         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61840         and -mno-altivec to prevent the compiler from using Altivec and/or
61841         VSX instructions when the corresponding registers are not available.
61843 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61845         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61847 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61849         * libio/freopen.c (freopen): Use __dup2, not dup2.
61850         * libio/freopen64.c (freopen64): Likewise.
61852 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61854         [BZ #12775]
61855         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61856         * math/Makefile (tests): Add test-powl.
61857         (CFLAGS-test-powl.c): Define.
61858         * math/test-powl.c: New file.
61860 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61862         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61864 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61866         [BZ #11837]
61867         * iconvdata/gb18030.c: Update to GB18020-2005.
61869 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61871         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61872         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61873         Patch by Aharon Robbins <arnold@skeeve.com>.
61875         [BZ #11892]
61876         * stdlib/putenv.c (putenv): Don't always create copy of the variable
61877         on the stack.
61879         [BZ #11895]
61880         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61881         through underflows.
61883         [BZ #12766]
61884         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61885         point to strings before performing equality test for error_one_per_line
61886         mode.
61888         [BZ #11697]
61889         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61891         [BZ #11820]
61892         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61893         (struct user_fpregs_struct): Avoid __uint*_t types.
61895         [BZ #6420]
61896         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61897         symbol info.  Use it instead of calling _dl_addr locally.
61898         (lock_and_info): New function.
61899         (tr_freehook): Call lock_and_info and pass symbol info as additional
61900         parameter to tr_where.
61901         (tr_mallochook): Likewise.
61902         (tr_reallochook): Likewise.
61903         (tr_memalignhook): Likewise.
61905         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61906         used and couldn't be at all thread-safe.
61908 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61910         * libio/freopen.c (freopen): Don't close old file descriptor
61911         before the new one is opened.  Instead dup the new file descriptor
61912         to the old one after the new stream is created.
61913         * libio/freopen64.c (freopen64): Likewise.
61914         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61915         * libio/fileops.c (_IO_new_file_close_it): Handle new
61916         _IO_FLAGS2_NOCLOSE flag.
61917         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61918         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61919         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61920         _IO_FLAGS2_NOCLOSE flag.
61921         * include/unistd.h: Add hidden_proto for dup3.
61922         Define __have_dup3.
61923         * io/dup3.c: Define hidden symbol.
61924         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61926         [BZ #7101]
61927         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61928         when an incomplete long option is used.
61929         * posix/tst-getopt_long1.c: New file.
61930         * posix/Makefile (tests): Add tst-getopt_long1.
61932         [BZ #10138]
61933         * scripts/config.guess: Update from autoconf-2.68.
61934         * scripts/config.sub: Likewise.
61936         [BZ #10157]
61937         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61938         tests into ...
61939         (has_cpuclock): ...this.  New function.
61940         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61941         macro here based on has_cpuclock code.
61943         [BZ #10149]
61944         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61945         First byte (not low byte) is now always NUL.
61946         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61948         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61949         Use non-cancelable interfaces.
61951         [BZ #9809]
61952         * locale/iso-639.def: Add entry for Sorani.
61954         [BZ #11901]
61955         * include/stdlib.h: Move include protection to the right place.
61956         Define abort_msg_s.  Declare __abort_msg with it.
61957         * stdlib/abort.c (__abort_msg): Adjust type.
61958         * assert/assert.c (__assert_fail_base): New function.  Majority
61959         of code from __assert_fail.  Allocate memory for __abort_msg with
61960         mmap.
61961         (__assert_fail): Now call __assert_fail_base.
61962         * assert/assert-perr.c: Remove bulk of implementation.  Use
61963         __assert_fail_base.
61964         * include/assert.hL Declare __assert_fail_base.
61965         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61966         mmap.
61967         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61969 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61971         [BZ #11952]
61972         [BZ #12453]
61973         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61974         until all modules are registered in the DTV.
61975         * elf/Makefile: Add rules to build and run tst-tls19.
61976         * elf/tst-tls19.c: New file.
61977         * elf/tst-tls19mod1.c: New file.
61978         * elf/tst-tls19mod2.c: New file.
61979         * elf/tst-tls19mod3.c: New file.
61980         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61982         [BZ #12083]
61983         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61984         correctly.
61986         [BZ #12601]
61987         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61988         two-byte sequence errors.
61989         * iconvdata/Makefile (tests): Add bug-iconv8.
61990         * iconvdata/bug-iconv8.c: New file.
61992         [BZ #12626]
61993         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61994         buf2 definition.
61996         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61998         [BZ #12432]
61999         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
62000         (dummy_getcfa): New function.
62001         (init): Get _Unwind_GetCFA address, use dummy if not found.
62002         (backtrace_helper): In recursion check, also check whether CFA changes.
62003         (__backtrace): Completely initialize arg.
62005         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
62006         storing incomplete byte sequence in state object.  Avoid testing for
62007         guaranteed too small input if we know there is enough data available.
62009 2011-05-11  Andreas Schwab  <schwab@redhat.com>
62011         * Makeconfig (+link-pie): Indent.
62012         * Rules (binaries-pie): Define if $(have-fpie) and
62013         $(build-shared).
62014         (binaries-shared): Also filter out $(binaries-pie).
62015         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
62016         * nscd/Makefile (others-pie): Add nscd.
62017         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
62018         ($(objpfx)nscd): Remove command override.
62019         * login/Makefile (others-pie): Add pt_chown.
62020         ($(objpfx)pt_chown): Remove command override.
62021         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
62022         remove command overrides.
62024 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
62026         * libio/tst_putwc.c: Fix error messages.
62028         [BZ #12724]
62029         * libio/fileops.c (_IO_new_file_close_it): Always flush when
62030         currently writing and seek to current position when not.
62031         * libio/Makefile (tests): Add bug-fclose1.
62032         * libio/bug-fclose1.c: New file.
62034 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
62036         [BZ #12511]
62037         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
62038         don't set DF_1_NODELETE here.
62039         (do_lookup_x): When entering new entry test for copy relocation
62040         and if necessary set DF_1_NODELETE flag.
62041         * elf/tst-unique4.cc: New file.
62042         * elf/tst-unique4.h: New file.
62043         * elf/tst-unique4lib.cc: New file.
62044         * elf/Makefile: Add rules to build and run tst-unique4.
62045         Patch by Piotr Bury <pbury@goahead.com>.
62047 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
62049         [BZ #12052]
62050         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
62052         [BZ #12625]
62053         * misc/mntent_r.c (addmntent): Flush the stream after the output
62055         [BZ #12393]
62056         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
62057         (is_trusted_path_normalize): Skip initial colon.  Append slash
62058         to empty buffer.  Duplicate is_trusted_path code but allow
62059         constructed patch to be prefix.
62060         (is_dst): Allow $ORIGIN followed by /.
62061         (_dl_dst_substitute): Correct clearing of check_for_trusted.
62062         Correct testing of result of is_trusted_path_normalize
62063         (decompose_rpath): Fix warning.
62065 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
62067         [BZ #11257]
62068         * grp/initgroups.c (internal_getgrouplist): When we found the service
62069         list through the initgroups entry in nsswitch.conf do not always
62070         continue on a successful lookup.  Don't always use the
62071         __nss_group_database value if it is set.
62072         * nss/nsswitch.conf (initgroups): Change action for successful db
62073         lookup to continue for compatibility.
62075 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
62077         [BZ #11532]
62078         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
62079         and CP774 modules.
62080         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
62081         and CP774 modules.
62082         * iconvdata/tst-tables.sh: Likewise.
62083         * iconvdata/cp770.c: New file.
62084         * iconvdata/cp771.c: New file.
62085         * iconvdata/cp772.c: New file.
62086         * iconvdata/cp773.c: New file.
62087         * iconvdata/cp774.c: New file.
62088         * iconvdata/testdata/CP770: New file.
62089         * iconvdata/testdata/CP770..UTF8: New file.
62090         * iconvdata/testdata/CP771: New file.
62091         * iconvdata/testdata/CP771..UTF8: New file.
62092         * iconvdata/testdata/CP772: New file.
62093         * iconvdata/testdata/CP772..UTF8: New file.
62094         * iconvdata/testdata/CP773: New file.
62095         * iconvdata/testdata/CP773..UTF8: New file.
62096         * iconvdata/testdata/CP774: New file.
62097         * iconvdata/testdata/CP774..UTF8: New file.
62099         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
62100         END CHARMAP line.
62101         * iconvdata/gen-8bit-gap.sh: Likewise.
62102         * iconvdata/gen-8bit.sh: Likewise.
62104         * locale/iso-639.def: Add ary entry.
62106         [BZ #11258]
62107         * locale/C-translit.h.in: Add U20A1 transliteration.
62109         [BZ #12178]
62110         * locale/iso-639.def: Add wae entry.
62111         Patch by Kevin Bortis <bortis@translate-wae.ch>.
62113         [BZ #12545]
62114         * locale/programs/localedef.c (construct_output_path): Use ssize_t
62115         for n.
62117         [BZ #12711]
62118         * locale/C-translit.h.in: Add entry for U20B9.
62119         Patch by pravin.d.s@gmail.com.
62121 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
62123         [BZ #12713]
62124         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
62125         ENAMETOOLONG use generic getcwd.
62126         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
62127         in rtld.  Use *stat64.
62128         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
62129         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
62130         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
62131         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
62132         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
62133         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
62134         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
62135         __fstatat64 macros.
62136         * include/dirent.h: Add libc_hidden_proto for rewinddir.
62137         * dirent/rewinddir.c: Add libc_hidden_def.
62138         * sysdeps/mach/hurd/rewinddir.c: Likewise.
62139         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
62141         * include/dirent.h (__alloc_dir): Add flags parameter.
62142         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
62143         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
62144         __alloc_dir.
62145         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
62146         from fdopendir if O_CLOEXEC is already set.
62148 2011-03-15  Alan Modra  <amodra@gmail.com>
62150         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
62151         l_tls_firstbyte_offset non-zero.  Save padding offset in
62152         l_tls_firstbyte_offset for later use.
62153         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
62154         freeing static tls block.
62156 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
62158         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
62159         where #ifdef was intended.  The intent is to prevent ARG_MAX from
62160         being defined by the kernel headers.
62162 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
62164         [BZ #12734]
62165         * resolv/resolv.h: Define RES_NOTLDQUERY.
62166         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
62167         no-tld-query and set RES_NOTLDQUERY.
62168         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
62169         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
62170         modern BIND to search name as TLD unless forbidden.
62172 2011-05-07  Petr Baudis  <pasky@suse.cz>
62173             Ulrich Drepper  <drepper@gmail.com>
62175         [BZ #12393]
62176         * elf/dl-load.c (fillin_rpath): Move trusted path check...
62177         (is_trusted_path): ...to here.
62178         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
62179         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
62180         using is_trusted_path_normalize() in setuid scripts.
62182 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62184         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
62185         __BEGIN/__END_DECLS.
62187 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
62189         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
62190         NSS_STATUS_NOTFOUND if no record was found.
62192 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62194         * sunrpc/Makefile (headers): Add rpc/netdb.h.
62195         (headers-not-in-tirpc): Remove rpc/netdb.h
62196         * resolv/netdb.h: Revert last change.
62198 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62200         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
62201         circular dependency between libgcc.a and libc.a.
62203 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62205         * resolv/netdb.h: Don't include <rpc/netdb.h>.
62206         * nis/Makefile: Don't install rpcsvc/*.
62207         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
62208         instead of <rpc/types.h>.
62209         (MAXHOSTNAMELEN): Define.
62211 2011-05-03  Andreas Schwab  <schwab@redhat.com>
62213         * elf/ldconfig.c (add_dir): Don't crash on empty path.
62215 2011-04-28  Maciej Babinski  <mbabinski@google.com>
62217         [BZ #12714]
62218         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
62219         gethostbyname4_r when IPv6 results are possible.
62221 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
62223         [BZ #12723]
62224         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
62225         _PC_PIPE_BUF handling.
62227 2011-04-30  Bruno Haible  <bruno@clisp.org>
62229         [BZ #12717]
62230         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
62231         * resolv/netdb.h (getnameinfo): Change type of flags parameter
62232         to 'int'.
62233         * inet/getnameinfo.c (getnameinfo): Likewise.
62235 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
62237         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
62238         to groups setting in database lookup.
62239         * nss/nsswitch.conf: Add initgroups entry.
62241 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
62243         [BZ #12685]
62244         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
62245         mode string.
62246         Patch by Eric Blake <eblake@redhat.com>.
62248 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
62250         * sunrpc/Makefile (need-export-routines): Add svc_run.
62251         (routines): Remove svc_run.
62252         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
62253         * sunrpc/clnt_perr.c (clnt_perrno): Export.
62254         * sunrpc/svc_run.c (svc_run): Likewise.
62255         * sunrpc/svc_udp.c (svcudp_create): Likewise.
62257 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
62259         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
62260         problem in reallocation in last patch.
62262 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
62264         * sunrpc/Makefile: Move inclusion of Rules.
62266 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62268         * nss/nss_files/files-initgroups.c: New file.
62269         * nss/Makefile (libnss_files-routines): Add files-initgroups.
62270         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
62271         _nss_files_initgroups_dyn.
62273 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
62275         * elf/elf.h (R_ARM_IRELATIVE): Define.
62277 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62279         * po/ru.po: Update from translation team.
62281 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62283         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
62284         dependencies.
62286 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
62288         [BZ #12653]
62289         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
62290         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
62291         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62292         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62293         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62295 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
62297         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
62298         differing bytes.
62299         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62300         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62301         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62303 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62305         [BZ #12420]
62306         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
62307         storing it.
62308         * stdlib/bug-getcontext.c: New file.
62309         * stdlib/Makefile: Add rules to build and run bug-getcontext.
62311 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62313         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
62314         instructions into .machine "z9-109".
62315         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
62316         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
62318 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62320         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
62321         between environment variables and auxiliary vector.
62323 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
62325         * Makefile: Add rules to build linkobj/libc.so.
62326         * include/libc-symbols.h: Define libc_hidden_nolink.
62327         * include/rpc/auth.h: Mark functions which are to be hidden.
62328         * include/rpc/auth_des.h: Likewise.
62329         * include/rpc/auth_unix.h: Likewise.
62330         * include/rpc/clnt.h: Likewise.
62331         * include/rpc/des_crypt.h: Likewise.
62332         * include/rpc/key_prot.h: Likewise.
62333         * include/rpc/pmap_clnt.h: Likewise.
62334         * include/rpc/pmap_prot.h: Likewise.
62335         * include/rpc/pmap_rmt.h: Likewise.
62336         * include/rpc/rpc_msg.h: Likewise.
62337         * include/rpc/svc.h: Likewise.
62338         * include/rpc/svc_auth.h: Likewise.
62339         * include/rpc/xdr.h: Likewise.
62340         * nis/Makefile: Link all DSOs against linkobj/libc.so.
62341         * nss/Makefile: Likewise.
62342         * sunrpc/Makefile: Don't install headers.  Build library with normal
62343         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
62344         * sunrpc/auth_des.c: Hide exported symbols by default, export some
62345         for the compat linking library.  Remove use of INTDEF/INTUSE.
62346         * sunrpc/auth_none.c: Likewise.
62347         * sunrpc/auth_unix.c: Likewise.
62348         * sunrpc/authdes_prot.c: Likewise.
62349         * sunrpc/authuxprot.c: Likewise.
62350         * sunrpc/clnt_gen.c: Likewise.
62351         * sunrpc/clnt_perr.c: Likewise.
62352         * sunrpc/clnt_raw.c: Likewise.
62353         * sunrpc/clnt_simp.c: Likewise.
62354         * sunrpc/clnt_tcp.c: Likewise.
62355         * sunrpc/clnt_udp.c: Likewise.
62356         * sunrpc/clnt_unix.c: Likewise.
62357         * sunrpc/des_crypt.c: Likewise.
62358         * sunrpc/des_soft.c: Likewise.
62359         * sunrpc/get_myaddr.c: Likewise.
62360         * sunrpc/key_call.c: Likewise.
62361         * sunrpc/key_prot.c: Likewise.
62362         * sunrpc/netname.c: Likewise.
62363         * sunrpc/pm_getmaps.c: Likewise.
62364         * sunrpc/pm_getport.c: Likewise.
62365         * sunrpc/pmap_clnt.c: Likewise.
62366         * sunrpc/pmap_prot.c: Likewise.
62367         * sunrpc/pmap_prot2.c: Likewise.
62368         * sunrpc/pmap_rmt.c: Likewise.
62369         * sunrpc/publickey.c: Likewise.
62370         * sunrpc/rpc_cmsg.c: Likewise.
62371         * sunrpc/rpc_common.c: Likewise.
62372         * sunrpc/rpc_dtable.c: Likewise.
62373         * sunrpc/rpc_prot.c: Likewise.
62374         * sunrpc/rpc_thread.c: Likewise.
62375         * sunrpc/rtime.c: Likewise.
62376         * sunrpc/svc.c: Likewise.
62377         * sunrpc/svc_auth.c: Likewise.
62378         * sunrpc/svc_authux.c: Likewise.
62379         * sunrpc/svc_raw.c: Likewise.
62380         * sunrpc/svc_run.c: Likewise.
62381         * sunrpc/svc_simple.c: Likewise.
62382         * sunrpc/svc_tcp.c: Likewise.
62383         * sunrpc/svc_udp.c: Likewise.
62384         * sunrpc/svc_unix.c: Likewise.
62385         * sunrpc/svcauth_des.c: Likewise.
62386         * sunrpc/xcrypt.c: Likewise.
62387         * sunrpc/xdr.c: Likewise.
62388         * sunrpc/xdr_array.c: Likewise.
62389         * sunrpc/xdr_float.c: Likewise.
62390         * sunrpc/xdr_intXX_t.c: Likewise.
62391         * sunrpc/xdr_mem.c: Likewise.
62392         * sunrpc/xdr_rec.c: Likewise.
62393         * sunrpc/xdr_ref.c: Likewise.
62394         * sunrpc/xdr_sizeof.c: Likewise.
62395         * sunrpc/xdr_stdio.c: Likewise.
62397 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
62399         [BZ #12650]
62400         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
62401         * sysdeps/ia64/dl-tls.h: Likewise.
62402         * sysdeps/powerpc/dl-tls.h: Likewise.
62403         * sysdeps/s390/dl-tls.h: Likewise.
62404         * sysdeps/sh/dl-tls.h: Likewise.
62405         * sysdeps/sparc/dl-tls.h: Likewise.
62406         * sysdeps/x86_64/dl-tls.h: Likewise.
62407         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
62409 2011-03-14  Andreas Schwab  <schwab@redhat.com>
62411         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
62412         rpath element also skip the following colon.
62413         (expand_dynamic_string_token): Add is_path parameter and pass
62414         down to DL_DST_REQUIRED and _dl_dst_substitute.
62415         (decompose_rpath): Call expand_dynamic_string_token with
62416         non-zero is_path.  Ignore empty rpaths.
62417         (_dl_map_object_from_fd): Call expand_dynamic_string_token
62418         with zero is_path.
62420 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
62422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62423         Make cancelable.
62425 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
62427         [BZ #12655]
62428         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
62429         Patch by Filipe David Manana <fdmanana@apache.org>.
62431 2011-04-07  Andreas Schwab  <schwab@redhat.com>
62433         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
62434         Maintain aligned stack.
62435         (CHECK_RSP): Remove unused macro.
62437 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
62439         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
62440         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
62442 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
62444         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
62446         * include/features.h: Mention __USE_XOPEN2K8 in comment.
62448 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
62450         [BZ #12518]
62451         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
62452         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
62453         * sysdeps/x86_64/memmove.c: New file.
62454         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
62455         (memcpy): Renamed to ...
62456         (__new_memcpy): This.
62457         (memcpy): Provide GLIBC_2_14 memcpy.
62458         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
62459         (memcpy): Provide GLIBC_2_2_5 memcpy.
62461 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62463         [BZ #12631]
62464         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
62466 2011-03-30  Andreas Schwab  <schwab@redhat.com>
62468         * misc/syncfs.c: New file.
62469         * misc/Makefile (routines): Add syncfs.
62470         * posix/unistd.h: Declare syncfs.
62471         * sysdeps/unix/syscalls.list: Add syncfs.
62473 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62475         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
62476         open_by_handle_at.
62477         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62478         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62479         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62480         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62481         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62482         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
62483         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62485 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62487         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
62488         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62489         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
62490         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62491         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62492         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62493         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62495         * io/Makefile: Compile fallocate.c, fallocate64.c, and
62496         sync_file_range.c with -fexceptions.
62497         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
62498         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
62499         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
62500         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
62501         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
62502         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62503         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
62504         sync_file_range as cancellation point
62505         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
62506         now a wrapper around __call_sync_file_range with cancellation handling.
62507         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
62508         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
62509         function name to __call_sync_file_range.
62510         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
62511         Add call_sync_file_range.
62513 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62515         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62516         bits/timex.h.
62518 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62520         * iconv/iconv.h: Fix typo in comment.
62521         * io/fcntl.h: Likewise.
62522         * libio/stdio.h: Likewise.
62523         * posix/spawn.h: Likewise.
62524         * posix/unistd.h: Likewise.
62525         * stdlib/stdlib.h: Likewise.
62526         * time/time.h: Likewise.
62527         * wcsmbs/wchar.h: Likewise.
62529         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
62530         open_by_handle): Add.
62531         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
62532         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
62533         Augment a few comments.
62534         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62535         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62536         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62537         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62538         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62539         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
62540         open_by_handle.
62542         * io/fcntl.h (AT_EMPTY_PATH): Define.
62544 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
62546         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
62547         * sysdeps/unix/sysv/linux/bits/time.h: New file.
62548         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
62549         to...
62550         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
62551         * Versions.def: Add GLIBC_2.14.
62552         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
62553         Export.
62555 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
62557         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
62558         round counter.
62559         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62561 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62563         [BZ #12597]
62564         * string/test-strncmp.c (do_page_test): New function.
62565         (check2): Likewise.
62566         (test_main): Call check2.
62567         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
62569 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
62571         [BZ #12587]
62572         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
62573         Handle cache information in CPU leaf 4.
62574         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62576 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
62578         [BZ #12583]
62579         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
62580         character representation.
62581         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
62583 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
62585         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
62586         END(__isnan) to END(__isnanf) to match function entry point/label
62587         EALIGN(__isnanf,...).
62589 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
62591         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
62593 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
62595         [BZ #12510]
62596         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
62597         copy from the symbol referenced in the relocation to initialize the
62598         used variable.
62599         Patch by Piotr Bury <pbury@goahead.com>.
62600         * elf/Makefile: Add rules to build and tst-unique3.
62601         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62602         * elf/tst-unique3.cc: New file.
62603         * elf/tst-unique3.h: New file.
62604         * elf/tst-unique3lib.cc: New file.
62605         * elf/tst-unique3lib2.cc: New file.
62607         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62609 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
62611         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62612         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
62613         to _start.
62615 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
62617         * elf/dl-load.c (_dl_map_object): If we are looking for the first
62618         to-be-loaded object along a path to loader is ld.so.
62620 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62621             Ulrich Drepper  <drepper@gmail.com>
62623         * sysdeps/x86_64/memset.S: After aligning destination, code
62624         branches to different locations depending on the value of
62625         misalignment, when multiarch is enabled. Fix this.
62627 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62629         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62630         Set _x86_64_preferred_memory_instruction for AMD processsors.
62631         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62632         Set bit_Prefer_SSE_for_memop for AMD processors.
62634 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
62636         * libio/fmemopen.c (fmemopen): Optimize a bit.
62638 2011-03-03  Andreas Schwab  <schwab@redhat.com>
62640         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62642 2011-03-03  Roland McGrath  <roland@redhat.com>
62644         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62646 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
62648         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62649         __bzero_ultra1 instead of __memset_ultra1.
62651 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62652             Ulrich Drepper  <drepper@gmail.com>
62654         [BZ #12509]
62655         * include/link.h (struct link_map): Add l_orig_initfini.
62656         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62657         returning unsuccessfully.
62658         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62659         close of a file loaded at startup, restore the original l_initfini
62660         list.
62661         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62662         list, store the pointer.
62663         * elf/Makefile ($(objpfx)noload-mem): New rule.
62664         (noload-ENV): Define.
62665         (tests): Add $(objpfx)noload-mem.
62666         * elf/noload.c: Include <memcheck.h>.
62667         (main): Call mtrace.  Close all opened handles.
62669 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62671         [BZ #12454]
62672         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62673         dependencies are missing.
62675 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62677         Fix __if_freereq crash: Unlike the generic version which uses free,
62678         Hurd needs munmap.
62679         * sysdeps/mach/hurd/ifreq.h: New file.
62681 2011-01-27  Petr Baudis  <pasky@suse.cz>
62682             Ulrich Drepper  <drepper@gmail.com>
62684         [BZ 12445]#
62685         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62686         to extend_alloca().
62687         * stdio-common/bug23.c: New file.
62688         * stdio-common/Makefile (tests): Add bug23.
62690 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62691             Ulrich Drepper  <drepper@gmail.com>
62693         [BZ #12489]
62694         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62695         before performing relro protection.  At old place add assertion
62696         to make sure nothing changed.
62698 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62699             Glauber de Oliveira Costa  <glommer@gmail.com>
62701         * elf/elf.h: Add new ARM TLS relocs.
62703 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62706         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62707         cast from r3.
62708         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62709         'tests' variable.
62710         * sysdeps/wordsize-64/tst-writev.c: New file.
62712 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62714         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62715         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62716         insns in _dl_start to prevent a TOC reference before relocs are
62717         resolved.
62719 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62721         [BZ #12469]
62722         * Makeconfig: Remove RANLIB definition.
62723         * Makerules: Don't use RANLIB.
62724         * aclocal.m4: Remove ranlib test.
62725         * configure.in: No need to check for ranlib.
62726         * elf/rtld-Rules: Don't use RANLIB.
62728 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62730         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62731         protection macro.
62732         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62733         inclusion protection macro.
62735         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62736         SIGRTMIN and SIGRTMAX and print information in that case only when
62737         SIGRTMIN is defined.
62739 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62741         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62742         arginfo fn returning -1.
62744         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62745         and thousands string is zero terminated.
62747 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62749         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62750         sysdeps/unix/sysv/linux/bits/socket.h.
62752 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62754         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62755         (__CPU_COUNT): Remove old macros.
62756         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62757         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62758         (__CPU_ALLOC, __CPU_FREE): Add macros.
62759         (__sched_cpualloc, __sched_cpufree): Add declarations.
62761 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62763         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62764         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62765         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62766         (readdhstai): Return value of addhstaiX call.
62767         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62768         (addgrbyX): Return value returned by cache_addgr.
62769         (readdgrbyname): Return value returned by addgrbyX.
62770         (readdgrbygid): Likewise.
62771         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62772         (addpwbyX): Return value returned by cache_addpw.
62773         (readdpwbyname): Return value returned by addhstbyX.
62774         (readdpwbyuid): Likewise.
62775         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62776         (addservbyX): Return value returned by cache_addserv.
62777         (readdservbyname): Return value returned by addservbyX:
62778         (readdservbyport): Likewise.
62779         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62780         (addhstbyX): Return value returned by cache_addhst.
62781         (readdhstbyname): Return value returned by addhstbyX.
62782         (readdhstbyaddr): Likewise.
62783         (readdhstbynamev6): Likewise.
62784         (readdhstbyaddrv6): Likewise.
62785         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62786         (readdinitgroups): Return value returned by addinitgroupsX.
62787         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62788         (prune_cache): Keep track of timeout value of re-added entries.
62789         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62790         * nscd/nscd.h: Adjust prototypes of readd* functions.
62792 2011-02-04  Roland McGrath  <roland@redhat.com>
62794         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62795         (nis_stats): Likewise.
62796         * nis/nis_modify.c (nis_modify): Likewise.
62797         * nis/nis_remove.c (nis_remove): Likewise.
62798         * nis/nis_add.c (nis_add): Likewise.
62800         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62802         * posix/fnmatch_loop.c: Add some consts.
62804         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62806 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62808         [BZ #12460]
62809         * config.make.in (config-cflags-novzeroupper): Define.
62810         * configure.in: Substitute libc_cv_cc_novzeroupper.
62811         * elf/Makefile (AVX-CFLAGS): Define.
62812         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62813         (CFLAGS-tst-auditmod4a.c): Likewise.
62814         (CFLAGS-tst-auditmod4b.c): Likewise.
62815         (CFLAGS-tst-auditmod6b.c): Likewise.
62816         (CFLAGS-tst-auditmod6c.c): Likewise.
62817         (CFLAGS-tst-auditmod7b.c): Likewise.
62818         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62820 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62822         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62823         function to the callback.
62824         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62826 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62828         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62829         of errno.
62831 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62833         [BZ #11724]
62834         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62835         of constructors.
62836         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62837         of destructors.
62838         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62840         [BZ #11724]
62841         * elf/Makefile: Add rules to build and run new test.
62842         * elf/tst-initorder.c: New file.
62843         * elf/tst-initorder.exp: New file.
62844         * elf/tst-initordera1.c: New file.
62845         * elf/tst-initordera2.c: New file.
62846         * elf/tst-initordera3.c: New file.
62847         * elf/tst-initordera4.c: New file.
62848         * elf/tst-initorderb1.c: New file.
62849         * elf/tst-initorderb2.c: New file.
62850         * elf/tst-order-a1.c: New file.
62851         * elf/tst-order-a2.c: New file.
62852         * elf/tst-order-a3.c: New file.
62853         * elf/tst-order-a4.c: New file.
62854         * elf/tst-order-b1.c: New file.
62855         * elf/tst-order-b2.c: New file.
62856         * elf/tst-order-main.c: New file.
62857         New test case by George Gensure <werkt0@gmail.com>.
62859 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62861         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62862         decoding ACE if AI_CANONIDN.
62864 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62866         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62868 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62870         * version.h (RELEASE): Bump for 2.13 release.
62871         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62873         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62875         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62876         MADV_NOHUGEPAGE.
62877         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62878         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62879         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62880         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62881         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62882         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62884         * posix/getconf.c: Update copyright year.
62885         * catgets/gencat.c: Likewise.
62886         * csu/version.c: Likewise.
62887         * debug/catchsegv.sh: Likewise.
62888         * debug/xtrace.sh: Likewise.
62889         * elf/ldconfig.c: Likewise.
62890         * elf/ldd.bash.in: Likewise.
62891         * elf/sprof.c (print_version): Likewise.
62892         * iconv/iconv_prog.c: Likewise.
62893         * iconv/iconvconfig.c: Likewise.
62894         * locale/programs/locale.c: Likewise.
62895         * locale/programs/localedef.c: Likewise.
62896         * malloc/memusage.sh: Likewise.
62897         * malloc/mtrace.pl: Likewise.
62898         * nscd/nscd.c (print_version): Likewise.
62899         * nss/getent.c: Likewise.
62901         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62902         PF_CAIF, and PF_ALG.
62903         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62905 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62907         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62908         (modules-names): Use them.
62909         (ifunc-test-modules, ifunc-pie-tests): Define.
62910         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62911         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62912         (test-extras): Likewise.
62913         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62914         $(compile-command.c).
62915         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62916         (all-built-dso): Define.
62917         (check-textrel.out, check-execstack.out): Depend on it.
62919         * configure.in: Don't override --enable-multi-arch.
62921 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62923         [BZ #6812]
62924         * nscd/hstcache.c (tryagain): Define.
62925         (cache_addhst): Return tryagain not notfound for temporary errors.
62926         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62927         failed.
62929 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
62931         [BZ #10563]
62932         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62933         to make the syscall.
62934         * sysdeps/unix/sysv/linux/setgroups.c: New file.
62936         [BZ #12378]
62937         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62938         and fall back to matching as normal character if the string ends before
62939         the matching ']' is found.  This is what POSIX requires.
62940         * posix/testfnm.c: Adjust test result.
62941         * posix/globtest.sh: Adjust test result.  Add new test.
62942         * posix/tst-fnmatch.input: Likewise.
62943         * posix/tst-fnmatch2.c: Add new test.
62945 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62947         * elf/Makefile (check-execstack): Revert last change.  Depend on
62948         check-execstack.h.
62949         (check-execstack.h): New target.
62950         (generated): Add check-execstack.h.
62951         * elf/check-execstack.c: Include "check-execstack.h".
62952         (main): Revert last change.
62953         (handle_file): Return zero if GNU_STACK is absent and
62954         DEFAULT_STACK_PERMS doesn't include PF_X.
62956 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62958         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62959         in child fails because the descriptor is already closed.
62960         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62961         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62962         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62964         [BZ #12397]
62965         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62966         syscall.
62968         [BZ #10484]
62969         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62970         temporary buffer used to handle multi lookups locally.
62971         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62973 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62975         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62976         loader is ld.so.
62978 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62980         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62981         alignment for SSE2.
62983 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62985         [BZ #12394]
62986         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62987         characters.  When rounding increased number of integer digits recompute
62988         number of groups.
62989         * stdio-common/tst-grouping.c: New file.
62990         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62992 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62994         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62995         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62997         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62998         void.
62999         * bits/select.h: Likewise.
63001 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
63003         * po/ja.po: Update from translation team.
63005 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
63007         [BZ #11155]
63008         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
63009         implementation just like for lxstat, fxstatat, et al.
63011 2010-12-27  Jim Meyering  <meyering@redhat.com>
63013         [BZ #12348]
63014         * posix/regexec.c (build_trtable): Return failure indication upon
63015         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
63017 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
63019         [BZ #12201]
63020         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
63021         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
63022         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
63023         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
63025         [BZ #12207]
63026         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
63028         [BZ #12204]
63029         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
63030         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
63032 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
63034         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
63035         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
63036         script has SORT_BY_INIT_PRIORITY.
63037         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
63038         NO_CTORS_DTORS_SECTIONS is defined.
63039         * elf/soinit.c: Likewise.
63040         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
63041         NO_CTORS_DTORS_SECTIONS is defined.
63042         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
63043         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
63044         * sysdeps/sh/init-first.c: Likewise.
63045         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
63047 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
63049         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
63050         always use the slow path.
63052 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
63054         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
63055         similar rule which adds the sysdep directories to the header search in
63056         order to pick up the correct platform stackinfo.h.
63057         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
63058         perform test if it is, otherwise return successfully without testing.
63059         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
63060         DEFAULT_STACK_PERMS define in stackinfo.h.
63061         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
63062         defined in stackinfo.h.
63063         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
63064         DEFAULT_STACK_PERMS defined in stackinfo.h.
63065         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
63066         * sysdeps/ia64/stackinfo.h: Likewise.
63067         * sysdeps/s390/stackinfo.h: Likewise.
63068         * sysdeps/sh/stackinfo.h: Likewise.
63069         * sysdeps/sparc/stackinfo.h: Likewise.
63070         * sysdeps/x86_64/stackinfo.h: Likewise.
63071         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
63072         PF_X for powerpc64.  Retain PF_X for powerpc32.
63074 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
63076         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
63077         accurately.
63078         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
63079         GETDENTS_64BIT_ALIGNED.
63081 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
63083         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
63085 2010-12-10  Andreas Schwab  <schwab@redhat.com>
63087         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
63088         _GNU_SOURCE.
63090         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
63091         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
63092         Remove __restrict.
63093         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
63094         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
63096 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
63098         [BZ #11655]
63099         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
63100         are initialized.
63102 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
63104         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
63106 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
63108         * po/it.po: Update from translation team.
63110 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
63112         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
63113         unused codes.
63115 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
63117         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
63119 2010-11-24  Andreas Schwab  <schwab@redhat.com>
63121         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
63122         specially.
63123         (gaih_getanswer_slice): Likewise.
63125 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
63127         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
63129 2010-05-31  Petr Baudis  <pasky@suse.cz>
63131         [BZ #11149]
63132         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
63133         silently even in the chroot mode.
63135 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
63137         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
63138         last patch a bit.  Pretty printing
63140 2010-05-31  Petr Baudis <pasky@suse.cz>
63142         [BZ #10085]
63143         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
63144         initialization of skip_initgroups_dyn.
63146 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
63148         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
63149         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63151 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
63153         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
63155 2010-11-11  Andreas Schwab  <schwab@redhat.com>
63157         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
63158         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
63159         (tst-fnmatch-ENV): Set MALLOC_TRACE.
63160         ($(objpfx)tst-fnmatch-mem): New rule.
63161         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
63162         * posix/tst-fnmatch.c (main): Call mtrace.
63164 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
63166         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63167         Support Intel processor model 6 and model 0x2c.
63169 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
63171         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
63172           signed comparison.
63174 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
63176         [BZ #12205]
63177         * string/test-strncasecmp.c (check_result): New function.
63178         (do_one_test): Use it.
63179         (check1): New function.
63180         (test_main): Use it.
63181         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
63182         Support strcasecmp and strncasecmp.
63184 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
63186         [BZ #12194]
63187         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
63188         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63190 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
63192         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
63193         IFUNC support.
63194         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63195         memset-x86-64.
63196         * sysdeps/x86_64/multiarch/bzero.S: New file.
63197         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
63198         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
63199         * sysdeps/x86_64/multiarch/memset.S: New file.
63200         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
63201         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63202         Set bit_Prefer_SSE_for_memop for Intel processors.
63203         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
63204         Define.
63205         (index_Prefer_SSE_for_memop): Define.
63206         (HAS_PREFER_SSE_FOR_MEMOP): Define.
63208 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
63210         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
63211         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
63213 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
63215         [BZ #12191]
63216         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63217         (__x86_64_raw_data_cache_size_half): Likewise.
63218         (__x86_64_raw_shared_cache_size): Likewise.
63219         (__x86_64_raw_shared_cache_size_half): Likewise.
63221         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63222         (__x86_64_raw_data_cache_size_half): Likewise.
63223         (__x86_64_raw_shared_cache_size): Likewise.
63224         (__x86_64_raw_shared_cache_size_half): Likewise.
63225         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
63226         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
63227         and __x86_64_raw_shared_cache_size_half.  Round
63228         __x86_64_data_cache_size_half, __x86_64_data_cache_size
63229         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
63230         to multiple of 256 bytes.
63232 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
63234         [BZ #12167]
63235         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
63236         of inacessible symlinks.  Verify result of symlink before returning it.
63237         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
63238         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
63240 2010-10-28  Erich Ritz  <erichritz@gmail.com>
63242         * math/math.h (isinf): Fix typo in comment.
63244 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
63246         * po/da.po: Update from translation team.
63248 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
63250         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
63251         is added to the list.
63253 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63254             Ulrich Drepper  <drepper@gmail.com>
63256         * elf/dl-object.c (_dl_new_object): Don't append the new object to
63257         the global list here.  Move code to...
63258         (_dl_add_to_namespace_list): ...here.  New function.
63259         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
63260         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
63261         * elf/dl-load.c (lose): Don't remove the element from the list.
63262         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
63263         (_dl_map_object): Likewise.
63265 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
63267         [BZ #12159]
63268         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
63269         into all bytes of SSE register.
63270         Patch by Richard Li <richardpku@gmail.com>.
63272 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
63274         [BZ #12140]
63275         * malloc/malloc.c (_int_free): Fill correct number of bytes when
63276         perturbing.
63278 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
63280         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
63281         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
63282         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
63283         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
63285         submachine.
63286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
63288 2010-10-22  Andreas Schwab  <schwab@redhat.com>
63290         * include/dlfcn.h (__RTLD_SECURE): Define.
63291         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
63292         mode & __RTLD_SECURE instead.
63293         (open_path): Rename preloaded parameter to secure.
63294         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
63295         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
63296         * elf/dl-deps.c (openaux): Likewise.
63297         * elf/rtld.c (struct map_args): Remove is_preloaded.
63298         (map_doit): Don't use it.
63299         (dl_main): Likewise.
63300         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
63301         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
63303 2010-09-09  Andreas Schwab  <schwab@redhat.com>
63305         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
63306         (sysd-rules-targets): Remove duplicates.
63307         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
63308         rtld-%.$o dependency.
63310 2010-10-18  Andreas Schwab  <schwab@redhat.com>
63312         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
63313         _dl_map_object do it.
63315 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
63317         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
63318         fast fma builtins, define the macros in the C99 standard.
63319         (FP_FAST_FMAF): Likewise.
63320         (FP_FAST_FMAL): Likewise.
63321         * sysdeps/x86_64/bits/mathdef.h: Likewise.
63323         * bits/mathdef.h: Update copyright year.
63324         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63326 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
63328         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
63329         builtins, define the macros in the C99 standard.
63330         (FP_FAST_FMAF): Likewise.
63331         (FP_FAST_FMAL): Likewise.
63332         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
63333         multiply/add.
63334         (FP_FAST_FMAF): Likewise.
63336 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
63338         [BZ #3268]
63339         * math/libm-test.inc (fma_test): Some new testcases.
63340         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
63341         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
63342         y and infinite z.  Do multiplication by C already in long double.
63343         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
63344         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
63345         y and infinite z.  Do bitwise or of inexact bit into u.d.
63346         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
63347         * sysdeps/i386/fpu/s_fmaf.S: Removed.
63348         * sysdeps/i386/fpu/s_fma.S: Removed.
63349         * sysdeps/i386/fpu/s_fmal.S: Removed.
63351 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
63353         [BZ #3268]
63354         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
63355         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
63356         computation is not scheduled after fetestexcept.  Fix value
63357         of minimum denormal long double.
63359 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
63361         [BZ #3268]
63362         * math/libm-test.inc (fma_test): Add some more tests.
63363         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
63364         correctly.
63366 2010-10-15  Andreas Schwab  <schwab@redhat.com>
63368         * scripts/data/localplt-s390-linux-gnu.data: New file.
63369         * scripts/data/localplt-s390x-linux-gnu.data: New file.
63371 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
63373         [BZ #3268]
63374         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
63375         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
63376         instead of dbl-64.
63377         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
63378         inlines.
63379         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
63380         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
63381         if one of x and y is very large and the other is subnormal.
63382         * sysdeps/s390/fpu/s_fmaf.c: New file.
63383         * sysdeps/s390/fpu/s_fma.c: New file.
63384         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
63385         * sysdeps/powerpc/fpu/s_fma.S: New file.
63386         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
63387         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
63388         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
63390 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
63392         [BZ #3268]
63393         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
63394         fma tests.
63395         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
63396         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
63397         * sysdeps/i386/i686/multiarch/s_fma.c: Include
63398         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
63399         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
63400         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
63401         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
63403 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
63405         [BZ #12078]
63406         * posix/regcomp.c (parse_branch): One more memory leak plugged.
63407         * posix/bug-regex31.input: Add test case.
63409 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63411         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
63412         * posix/bug-regex31.input: New file.
63414         [BZ #12078]
63415         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
63416         (parse_sub_exp): Fix last change, use postorder.
63418         * posix/bug-regex31.c: New file.
63419         * posix/Makefile: Add rules to build and run bug-regex31.
63421         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
63423         [BZ #12078]
63424         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
63426         [BZ #12108]
63427         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
63428         to have entries in sys_siglist.
63430         [BZ #12093]
63431         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
63432         be NULL.
63434 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
63436         [BZ #3268]
63437         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
63438         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
63439         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
63440         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
63441         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63442         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
63443         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
63444         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
63445         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
63446         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
63447         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
63448         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
63449         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
63450         * math/ftestexcept.c (fetestexcept): Likewise.
63451         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
63452         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
63453         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
63454         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
63455         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
63456         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
63457         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63459 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63461         [BZ #12107]
63462         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
63463         newline.
63465 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
63467         * string/bug-strstr1.c: New file.
63468         * string/Makefile: Add rules to build and run bug-strstr1.
63470 2010-10-05  Eric Blake  <eblake@redhat.com>
63472         [BZ #12092]
63473         * string/str-two-way.h (two_way_long_needle): Always clear memory
63474         when skipping input due to the shift table.
63476 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
63478         [BZ #12005]
63479         * malloc/mcheck.c: Handle large requests.
63481         [BZ #12077]
63482         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
63483         for strncmp and strncasecmp.
63484         * string/stratcliff.c: Add tests for strcmp and strncmp.
63485         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
63487 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63489         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
63490         __set_fpscr.
63492 2010-09-30  Andreas Jaeger  <aj@suse.de>
63494         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
63495         (CGROUP_SUPER_MAGIC): Define.
63496         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63497         Handle btrfs and cgroup file systems.
63498         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63499         Likewise.
63501 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
63503         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
63504         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
63506 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63508         [BZ #12067]
63509         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
63510         trying to locate the ELF header.
63512 2010-09-27  Andreas Schwab  <schwab@redhat.com>
63514         [BZ #11611]
63515         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
63516         Mask out sign-bit copies when constructing f_fsid.
63518 2010-09-24  Petr Baudis <pasky@suse.cz>
63520         * debug/stack_chk_fail_local.c: Add missing licence exception.
63521         * debug/warning-nop.c: Likewise.
63523 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
63525         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
63526         implementing getdents64 using getdents syscall, set d_type if
63527         __ASSUME_GETDENTS32_D_TYPE.
63529 2010-09-16  Andreas Schwab  <schwab@redhat.com>
63531         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
63532         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
63534 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
63536         [BZ #12037]
63537         * posix/unistd.h: Undo change of feature selection for ftruncate from
63538         2010-01-11.
63540 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
63542         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
63543         detection.
63545 2010-09-20  Andreas Schwab  <schwab@redhat.com>
63547         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
63548         fanotify_mark.
63549         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63551 2010-09-14  Andreas Schwab  <schwab@redhat.com>
63553         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
63554         variables after CHECK_SP call.
63555         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
63557 2010-09-13  Andreas Schwab  <schwab@redhat.com>
63558             Ulrich Drepper  <drepper@redhat.com>
63560         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
63561         re-relocationg ld.so.
63562         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
63563         _dl_init_paths call.
63564         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
63565         here anymore.
63567 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
63569         * resolv/res_init.c (__res_vinit): Count the default server we added.
63571 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
63572             Ulrich Drepper  <drepper@redhat.com>
63574         [BZ #11968]
63575         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
63576         (____longjmp_chk): Use %ebx for saving value across system call.
63577         Add unwind info.
63579 2010-09-06  Andreas Schwab  <schwab@redhat.com>
63581         * manual/Makefile: Don't mix pattern rules with normal rules.
63583 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63585         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
63586         operation.
63587         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
63588         * libio/iofopncook.c (_IO_cookie_init): Likewise.
63589         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
63590         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
63591         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63592         Likewise.
63594 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
63596         [BZ #11979]
63597         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
63598         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
63600 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
63602         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63603         * sysdeps/x86_64/addmul_1.S: Likewise.
63604         * sysdeps/x86_64/lshift.S: Likewise.
63605         * sysdeps/x86_64/mul_1.S: Likewise.
63606         * sysdeps/x86_64/rshift.S: Likewise.
63607         * sysdeps/x86_64/sub_n.S: Likewise.
63608         * sysdeps/x86_64/submul_1.S: Likewise.
63610 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63612         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63613         Define __sched_param instead of SCHED_* and sched_param when
63614         <bits/sched.h> is included with __need_schedparam defined.
63615         * bits/sched.h [__need_schedparam]
63616         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63617         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63618         (__defined_schedparam): Define to 1.
63619         (__sched_param): New structure, identical to sched_param.
63620         (__need_schedparam): Undefine.
63622 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
63624         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63625         (epoll_create1): Declare.
63627         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63629 2010-08-31  Andreas Schwab  <schwab@redhat.com>
63631         [BZ #7066]
63632         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63633         shifting retval into place.
63635 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
63637         * nis/rpcsvc/nis.h: Update copyright notice.
63638         * nis/rpcsvc/nis.x: Likewise.
63639         * nis/rpcsvc/nis_callback.h: Likewise.
63640         * nis/rpcsvc/nis_callback.x: Likewise.
63641         * nis/rpcsvc/nis_object.x: Likewise.
63642         * nis/rpcsvc/nis_tags.h: Likewise.
63643         * nis/rpcsvc/yp.h: Likewise.
63644         * nis/rpcsvc/yp.x: Likewise.
63645         * nis/rpcsvc/ypupd.h: Likewise.
63646         * nis/yp_xdr.c: Likewise.
63647         * nis/ypupdate_xdr.c: Likewise.
63649         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63650         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63651         (pmap_getport): Use __libc_rpc_getport.
63652         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63653         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63654         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63656 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63659         fanotify_mark.
63661 2010-08-27  Roland McGrath  <roland@redhat.com>
63663         * sysdeps/i386/i686/multiarch/Makefile
63664         (CFLAGS-varshift.c): New variable.
63666 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63668         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63669         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63671         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63673         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63675 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63677         * sysdeps/x86_64/strlen.S: Unroll the loop.
63678         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63679         strlen-sse2 strlen-sse2-bsf.
63680         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63681         __strlen_no_bsf if bit_Slow_BSF is set.
63682         (__strlen_sse42): Removed.
63683         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63684         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63686 2010-08-25  Roland McGrath  <roland@redhat.com>
63688         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63689         * sysdeps/x86_64/multiarch/varshift.c: New file.
63690         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63691         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63692         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63693         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63695 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63697         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63698         strlen-sse2 strlen-sse2-bsf.
63699         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63700         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63701         (__strlen_sse2): Removed.
63702         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63703         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63704         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63705         bit_Slow_BSF for Atom.
63706         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63707         (index_Slow_BSF): Define.
63708         (HAS_SLOW_BSF): Define.
63710 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63712         [BZ #10851]
63713         * resolv/res_init.c (__res_vinit): When no server address at all
63714         is given default to loopback.
63716 2010-08-24  Roland McGrath  <roland@redhat.com>
63718         * configure.in: Remove config-name.h generation.
63719         * configure: Regenerated.
63720         * config-name.in: File removed.
63721         * scripts/config-uname.sh: New file.
63722         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63723         ($(objdir)config-name.h): New target.
63725         * sunrpc/rpc_parse.h: Avoid nested comment.
63727 2010-08-24  Richard Henderson  <rth@redhat.com>
63728             Ulrich Drepper  <drepper@redhat.com>
63729             H.J. Lu  <hongjiu.lu@intel.com>
63731         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63732         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63733         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63734         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63735         _mm_alignr_epi8 with _mm_loadu_si128.
63736         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63737         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63738         (__m128i_shift_right): Removed.
63739         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63740         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63741         * sysdeps/x86_64/multiarch/varshift.h: New file.
63742         * sysdeps/x86_64/multiarch/varshift.S: New file.
63744 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63746         * configure.in: Move assembler checks to before sysdep dir checking.
63748 2010-08-20  Petr Baudis  <pasky@suse.cz>
63750         * LICENSES: Sync the sunrpc license.
63752 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63754         * sunrpc/auth_des.c: Update copyright notice once again.
63755         * sunrpc/auth_none.c: Likewise.
63756         * sunrpc/auth_unix.c: Likewise.
63757         * sunrpc/authdes_prot.c: Likewise.
63758         * sunrpc/authuxprot.c: Likewise.
63759         * sunrpc/bindrsvprt.c: Likewise.
63760         * sunrpc/clnt_gen.c: Likewise.
63761         * sunrpc/clnt_perr.c: Likewise.
63762         * sunrpc/clnt_raw.c: Likewise.
63763         * sunrpc/clnt_simp.c: Likewise.
63764         * sunrpc/clnt_tcp.c: Likewise.
63765         * sunrpc/clnt_udp.c: Likewise.
63766         * sunrpc/clnt_unix.c: Likewise.
63767         * sunrpc/des_crypt.c: Likewise.
63768         * sunrpc/des_soft.c: Likewise.
63769         * sunrpc/get_myaddr.c: Likewise.
63770         * sunrpc/getrpcport.c: Likewise.
63771         * sunrpc/key_call.c: Likewise.
63772         * sunrpc/key_prot.c: Likewise.
63773         * sunrpc/openchild.c: Likewise.
63774         * sunrpc/pm_getmaps.c: Likewise.
63775         * sunrpc/pm_getport.c: Likewise.
63776         * sunrpc/pmap_clnt.c: Likewise.
63777         * sunrpc/pmap_prot.c: Likewise.
63778         * sunrpc/pmap_prot2.c: Likewise.
63779         * sunrpc/pmap_rmt.c: Likewise.
63780         * sunrpc/rpc/auth.h: Likewise.
63781         * sunrpc/rpc/auth_unix.h: Likewise.
63782         * sunrpc/rpc/clnt.h: Likewise.
63783         * sunrpc/rpc/des_crypt.h: Likewise.
63784         * sunrpc/rpc/key_prot.h: Likewise.
63785         * sunrpc/rpc/netdb.h: Likewise.
63786         * sunrpc/rpc/pmap_clnt.h: Likewise.
63787         * sunrpc/rpc/pmap_prot.h: Likewise.
63788         * sunrpc/rpc/pmap_rmt.h: Likewise.
63789         * sunrpc/rpc/rpc.h: Likewise.
63790         * sunrpc/rpc/rpc_des.h: Likewise.
63791         * sunrpc/rpc/rpc_msg.h: Likewise.
63792         * sunrpc/rpc/svc.h: Likewise.
63793         * sunrpc/rpc/svc_auth.h: Likewise.
63794         * sunrpc/rpc/types.h: Likewise.
63795         * sunrpc/rpc/xdr.h: Likewise.
63796         * sunrpc/rpc_clntout.c: Likewise.
63797         * sunrpc/rpc_cmsg.c: Likewise.
63798         * sunrpc/rpc_common.c: Likewise.
63799         * sunrpc/rpc_cout.c: Likewise.
63800         * sunrpc/rpc_dtable.c: Likewise.
63801         * sunrpc/rpc_hout.c: Likewise.
63802         * sunrpc/rpc_main.c: Likewise.
63803         * sunrpc/rpc_parse.c: Likewise.
63804         * sunrpc/rpc_parse.h: Likewise.
63805         * sunrpc/rpc_prot.c: Likewise.
63806         * sunrpc/rpc_sample.c: Likewise.
63807         * sunrpc/rpc_scan.c: Likewise.
63808         * sunrpc/rpc_scan.h: Likewise.
63809         * sunrpc/rpc_svcout.c: Likewise.
63810         * sunrpc/rpc_tblout.c: Likewise.
63811         * sunrpc/rpc_util.c: Likewise.
63812         * sunrpc/rpc_util.h: Likewise.
63813         * sunrpc/rpcinfo.c: Likewise.
63814         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63815         * sunrpc/rpcsvc/key_prot.x: Likewise.
63816         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63817         * sunrpc/rpcsvc/mount.x: Likewise.
63818         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63819         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63820         * sunrpc/rpcsvc/rex.x: Likewise.
63821         * sunrpc/rpcsvc/rstat.x: Likewise.
63822         * sunrpc/rpcsvc/rusers.x: Likewise.
63823         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63824         * sunrpc/rpcsvc/spray.x: Likewise.
63825         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63826         * sunrpc/rtime.c: Likewise.
63827         * sunrpc/svc.c: Likewise.
63828         * sunrpc/svc_auth.c: Likewise.
63829         * sunrpc/svc_authux.c: Likewise.
63830         * sunrpc/svc_raw.c: Likewise.
63831         * sunrpc/svc_run.c: Likewise.
63832         * sunrpc/svc_simple.c: Likewise.
63833         * sunrpc/svc_tcp.c: Likewise.
63834         * sunrpc/svc_udp.c: Likewise.
63835         * sunrpc/svc_unix.c: Likewise.
63836         * sunrpc/svcauth_des.c: Likewise.
63837         * sunrpc/xcrypt.c: Likewise.
63838         * sunrpc/xdr.c: Likewise.
63839         * sunrpc/xdr_array.c: Likewise.
63840         * sunrpc/xdr_float.c: Likewise.
63841         * sunrpc/xdr_mem.c: Likewise.
63842         * sunrpc/xdr_rec.c: Likewise.
63843         * sunrpc/xdr_ref.c: Likewise.
63844         * sunrpc/xdr_sizeof.c: Likewise.
63845         * sunrpc/xdr_stdio.c: Likewise.
63847         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63848         handling.
63850 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63852         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63854 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63856         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63857         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63858         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63859         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63860         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63861         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63862         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63863         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63864         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63865         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63866         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63867         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63868         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63869         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63871 2010-07-26  Anton Blanchard  <anton@samba.org>
63873         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63874         * malloc/arena.c (heap_trim): Likewise.
63876 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
63878         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63879         here.  Not...
63880         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63881         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63883 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63885         * sysdeps/i386/elf/Makefile: New file.
63887 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63889         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63890         from fanotify_init.
63891         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63892         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63894 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63896         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63897         of strncasecmp_l.
63898         * sysdeps/multiarch/strcmp.S: Likewise.
63900 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63902         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63903         strncase_l-nonascii.
63904         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63905         Add strncase_l-ssse3.
63906         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63907         * sysdeps/x86_64/strcmp.S: Likewise.
63908         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63909         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63910         * sysdeps/x86_64/strncase.S: New file.
63911         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63912         * sysdeps/x86_64/strncase_l.S: New file.
63913         * string/Makefile (strop-tests): Add strncasecmp.
63914         * string/test-strncasecmp.c: New file.
63916         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63917         warning.
63919         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63920         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63922 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63924         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63926 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63928         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63929         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63930         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63932 2010-05-01  Alan Modra  <amodra@gmail.com>
63934         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63935         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63936         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63937         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63938         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63939         tidying.  Don't tail-call __sigjmp_save for static lib.
63940         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63941         save location.
63942         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63943         (CALL_MCOUNT): Add eh info, and nop after bl.
63944         (TAIL_CALL_SYSCALL_ERROR): New macro.
63945         (PSEUDO_RET): Use it.
63946         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63947         Correct save location of integer regs and cr.
63948         (_dl_profile_resolve): Correct cr save location.  Delete nops
63949         after bl when SHARED.  Reduce cfi size a little by better
63950         placement of cfi directives.
63951         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63952         make a stack frame.  Instead use parm save area as a temp.
63953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63954         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63956         Don't make a stack frame for parent, use parm save area.
63957         Increase child stack frame to 112 bytes.  Don't save unused reg,
63958         and adjust reg usage.  Set up cfi on error recovery and
63959         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63961         (__makecontext): Add dummy nop after jump to exit.
63962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63963         Use correct parm save area and cr save, reduce stack frame.
63964         Correct cfi for possible PSEUDO_RET frame setup.
63965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63966         Branch to local label emitted by PSEUDO_RET rather than
63967         __syscall_error.
63969 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63971         [BZ #11904]
63972         * locale/programs/locale.c (print_assignment): New function.
63973         (show_locale_vars): Use it.
63975 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63977         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63978         field.
63979         (struct statfs64): Likewise.
63980         (_STATFS_F_FLAGS): Define.
63981         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63982         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63983         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63984         (ST_VALID): Define locally.
63985         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63986         __statvfs_getflags, use the provided value.
63987         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63988         __ASSUME_STATFS_F_FLAGS.
63990         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63992         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63993         Add sys/fanotify.h.
63994         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63995         fanotify_mask for GLIBC_2.13.
63996         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63997         fanotify_init and fanotify_mark.
63998         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63999         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
64001         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
64002         Add prlimit.
64003         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
64004         prlimit64 for GLIBC_2.13.
64005         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
64006         prlimit64.
64007         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
64008         syscall.
64009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
64010         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64011         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
64012         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
64013         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
64014         add prlimit alias.
64015         * sysdeps/unix/sysv/linux/prlimit.c: New file.
64017         [BZ #11903]
64018         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
64019         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
64021         * nss/Makefile: Add rules to build and run tst-nss-test1.
64022         * shlib-versions: Add entry for libnss_test1.
64023         * nss/nss_test1.c: New file.
64024         * nss/tst-nss-test1.c: New file.
64026         * nss/nsswitch.c (__nss_database_custom): Define new variable.
64027         (__nss_configure_lookup): Set appropriate entry in
64028         __nss_configure_lookup to true.
64029         * nss/nsswitch.h: Define enum with indeces of databases in
64030         databases and __nss_database_custom arrays.  Declare
64031         __nss_database_custom.
64032         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
64033         to avoid using nscd when custom rules are installed.
64034         * nss/getXXbyYY_r.c: Likewise.
64035         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64037         * nss/nss_files/files-parse.c: Whitespace fixes.
64039 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
64041         [BZ #11883]
64042         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
64043         * posix/fnmatch_loop.c: Likewise.
64045 2010-07-17  Andi Kleen  <ak@linux.intel.com>
64047         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
64048         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
64049         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
64050         * Versions.def [GLIBC_2.13]: Add.
64052 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
64054         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64055         Also fail if tpwd after pwuid call is NULL.
64057 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64059         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
64060         when converting to ms.
64062 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64064         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
64065         EOPNOTSUPP errors with ENOTTY.
64066         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
64067         EOPNOTSUPP errors with ENOTTY.
64069 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
64071         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64072         Add strcasecmp_l-ssse3.
64073         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
64074         strcasecmp.
64075         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
64076         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
64077         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
64079 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
64081         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
64083         * string/Makefile (strop-tests): Add strcasecmp.
64084         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64085         strcasecmp_l-nonascii.
64086         (gen-as-const-headers): Add locale-defines.sym.
64087         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
64088         * sysdeps/x86_64/strcasecmp.S: New file.
64089         * sysdeps/x86_64/strcasecmp_l.S: New file.
64090         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
64091         * sysdeps/x86_64/locale-defines.sym: New file.
64092         * string/test-strcasecmp.c: New file.
64094         * string/test-strcasestr.c: Test both ends of the range of characters.
64095         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
64097 2010-07-29  Roland McGrath  <roland@redhat.com>
64099         [BZ #11856]
64100         * manual/locale.texi (Yes-or-No Questions): Fix example code.
64102 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
64104         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
64105         for ld.so.
64107 2010-07-27  Andreas Schwab  <schwab@redhat.com>
64109         * manual/memory.texi (Malloc Tunable Parameters): Document
64110         M_PERTURB.
64112 2010-07-26  Roland McGrath  <roland@redhat.com>
64114         [BZ #11840]
64115         * configure.in (-fgnu89-inline check): Set and substitute
64116         gnu89_inline, not libc_cv_gnu89_inline.
64117         * configure: Regenerated.
64118         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
64120 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
64122         * string/test-strnlen.c: New file.
64123         * string/Makefile (strop-tests): Add strnlen.
64124         * string/tester.c (test_strnlen): Add a few more test cases.
64125         * string/tst-strlen.c: Better error reporting.
64127         * sysdeps/x86_64/strnlen.S: New file.
64129 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
64131         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
64132         lower-latency instructions.
64134 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
64136         * string/test-strcasestr.c: New file.
64137         * string/test-strstr.c: New file.
64138         * string/Makefile (strop-tests): Add strstr and strcasestr.
64139         * string/str-two-way.h: Don't undefine MAX.
64140         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
64142 2010-07-21  Andreas Schwab  <schwab@redhat.com>
64144         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64145         strcasestr-nonascii.
64146         (CFLAGS-strcasestr-nonascii.c): Define.
64147         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
64148         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
64149         Remove unused attribute.
64151 2010-07-20  Roland McGrath  <roland@redhat.com>
64153         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
64154         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
64155         ld.so.cache was broken.  With it, there is no way to disable dsocaps
64156         like LD_HWCAP_MASK can disable hwcaps.
64158 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64160         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
64162 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
64164         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
64165         call in strcasestr.
64166         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
64167         __strcasestr_sse42_nonascii.
64168         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
64169         strcasestr-nonascii.c.
64170         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
64172 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
64174         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
64175         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
64176         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
64177         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
64179 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
64181         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
64182         fcntl.
64184 2010-07-06  Andreas Schwab  <schwab@redhat.com>
64186         [BZ #11577]
64187         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
64188         dl_signal_cerror.
64190 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
64192         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
64193         _PC_PIPE_BUF using F_GETPIPE_SZ.
64195 2010-07-05  Roland McGrath  <roland@redhat.com>
64197         * manual/arith.texi (Rounding Functions): Fix rint description
64198         implicit in round description.
64200 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
64202         * elf/Makefile: Fix linking for a few tests to make recent linker
64203         happy.
64205 2010-06-30  Andreas Schwab  <schwab@redhat.com>
64207         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64208         $(common-objpfx)libc_nonshared.a.
64210 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
64212         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
64213         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
64214         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64215         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64216         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
64217         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
64218         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64219         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
64221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
64222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
64223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
64225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
64227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
64228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
64229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
64230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
64232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
64234         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
64235         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
64236         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
64237         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
64238         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
64239         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
64240         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
64241         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
64242         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
64243         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
64244         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
64245         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
64246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
64247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
64248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
64249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
64250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
64251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
64252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
64253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
64254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
64255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
64256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
64257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
64258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
64259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
64261 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
64263         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
64264         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
64265         * string/memmove.c (memmove): Renamed to ...
64266         (MEMMOVE): ...this.  Default to memmove.
64267         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
64268         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
64269         (END_CHK): Define.
64270         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64271         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
64272         mempcpy-ssse3-back memmove-ssse3-back.
64273         * sysdeps/x86_64/multiarch/bcopy.S: New file .
64274         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
64275         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
64276         * sysdeps/x86_64/multiarch/memcpy.S: New file.
64277         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
64278         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
64279         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
64280         * sysdeps/x86_64/multiarch/memmove.c: New file.
64281         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
64282         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
64283         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
64284         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
64285         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
64286         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
64287         Define.
64288         (index_Fast_Copy_Backward): Define.
64289         (HAS_ARCH_FEATURE): Define.
64290         (HAS_FAST_REP_STRING): Define.
64291         (HAS_FAST_COPY_BACKWARD): Define.
64293 2010-06-21  Andreas Schwab  <schwab@redhat.com>
64295         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64296         Restore proper fallback handling.
64298 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
64300         [BZ #11701]
64301         * posix/group_member.c (__group_member): Correct checking loop.
64303         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
64304         OOM in getpwuid_r correctly.  Return error number when the caller
64305         should return, otherwise -1.
64306         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
64307         call returning > 0 value.
64308         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
64310 2010-06-07  Andreas Schwab  <schwab@redhat.com>
64312         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
64313         libc_nonshared.a from targets in modules-names.
64315 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
64317         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
64318         requires it.
64320 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
64322         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
64323         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
64324         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
64325         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
64327 2010-06-02  Andreas Schwab  <schwab@redhat.com>
64329         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
64331 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
64333         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
64334         and F_GETPIPE_SZ.
64335         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64336         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64337         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64338         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64339         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64340         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
64342 2010-06-14  Roland McGrath  <roland@redhat.com>
64344         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
64346 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
64348         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
64349         __REDIRECT followed by __THROW.
64350         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
64351         * posix/getopt.h (getopt): Likewise.
64353 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64355         * hurd/lookup-at.c (__file_name_lookup_at): Accept
64356         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
64357         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
64358         in AT_FLAGS.
64359         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
64360         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
64362 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
64364         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
64366 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
64368         [BZ #11640]
64369         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64370         Properly check family and model.
64372 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
64374         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
64376 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
64378         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
64380 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
64382         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
64383         symbol reference.
64385 2010-05-19  Andreas Schwab  <schwab@redhat.com>
64387         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
64388         symbol reference.
64390 2010-05-21  Andreas Schwab  <schwab@redhat.com>
64392         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
64393         and internal_recvmmsg.
64394         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
64395         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
64396         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
64397         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
64399         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
64400         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
64401         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
64403 2010-05-20  Andreas Schwab  <schwab@redhat.com>
64405         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
64407 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
64409         POWER7 optimizations.
64410         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
64411         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
64413 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
64415         * version.h: Update for 2.13 development version.
64417 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
64419         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
64420         exceptions.  Return 0.
64422 2010-05-07  Roland McGrath  <roland@redhat.com>
64424         * elf/ldconfig.c (main): Add a const.
64426 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
64428         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
64429         (args_options): Add no-idn option.
64430         (ahosts_keys_int): Add idn_flags to ai_flags.
64431         (parse_option): Handle 'i' option to clear idn_flags.
64433         * malloc/malloc.c (_int_free): Possible race in the most recently
64434         added check.  Only act on the data if no current modification
64435         happened.
64437 See ChangeLog.17 for earlier changes.