Note bug 14941 as having been fixed in 2.18.
[glibc.git] / ChangeLog
blob2f146bf8ce444f405e86c8d702322067db951860
1 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/i386/init-arch.h: New file.
4         * sysdeps/i386/i586/init-arch.h: Likewise.
5         * sysdeps/i386/i686/init-arch.h: Likewise.
6         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
7         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
8         * sysdeps/x86/cpu-features.h (bit_I586): New.
9         (bit_I686): Likewise.
10         (bit_CX8): Likewise.
11         (bit_CMOV): Likewise.
12         (index_CX8): Likewise.
13         (index_CMOV): Likewise.
14         (index_I586): Likewise.
15         (index_I686): Likewise.
16         (reg_CX8): Likewise.
17         (reg_CMOV): Likewise.
18         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
19         available at compile-time.
20         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
21         available at compile-time.
22         * sysdeps/x86/init-arch.h (USE_I586): New macro.
23         (USE_I686): Likewise.
25 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
27         * sysdeps/i386/bcopy.S: New file.
28         * sysdeps/i386/bzero.S: Likewise.
29         * sysdeps/i386/memcpy.S: Likewise.
30         * sysdeps/i386/memmove.S: Likewise.
31         * sysdeps/i386/mempcpy.S: Likewise.
32         * sysdeps/i386/memset.S: Likewise.
33         * sysdeps/i386/bzero.c: Removed.
34         * sysdeps/i386/memset.c: Likewise.
35         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
36         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
37         * sysdeps/i386/i586/memset_chk.S: Likewise.
38         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
39         * sysdeps/i386/memcpy_chk.S: Here.
40         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
41         * sysdeps/i386/memmove_chk.S: Here.
42         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
43         * sysdeps/i386/mempcpy_chk.S: Likewise.
44         * sysdeps/i386/i686/memset_chk.S: Moved to ...
45         * sysdeps/i386/memset_chk.S: Likewise.
47 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
49         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
50         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
51         file, move DIAG_POP_NEEDS_COMMENT to end of file.
52         * soft-fp/fmadf4.c: Ditto.
53         * soft-fp/fmatf4.c: Ditto.
55 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
57         * sysdeps/i386/i586/Implies: Removed.
58         * sysdeps/i386/i686/Implies: Likewise.
60 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
62         * sysdeps/i386/i486/strlen.S: Moved to ...
63         * sysdeps/i386/strlen.S: Here.
65 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
67         * sysdeps/i386/i486/strcat.S: Moved to ...
68         * sysdeps/i386/strcat.S: Here.
70 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
72         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
73         * sysdeps/i386/pthread_spin_trylock.S: Here.
74         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
75         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
77 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
79         * sysdeps/i386/i486/string-inlines.c: Moved to ...
80         * sysdeps/i386/string-inlines.c: Here.
82 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
84         * sysdeps/i386/i486/htonl.S: Moved ...
85         * sysdeps/i386/htonl.S: here.
87 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
89         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
90         * sysdeps/i386/bits/atomic.h: Here.
92 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
94         * sysdeps/i386/i486/Versions: Removed.
96 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
98         [BZ #2898]
99         * misc/mktemp.c: Add mkdtemp to the link_warning message.
100         Based on patch by Aurelien Jarno.
102 2015-08-26  Stan Shebs  <stanshebs@google.com>
104         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
105         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
107 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
109         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
110         * sysdeps/powerpc/dl-procinfo.c:
111         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
112         feature so it shows when LD_SHOW_AUXV=1.
114 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
116         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
117         (__arch_compare_and_exchange_val_32_acq): Remove and use common
118         definition.  ISA 2.07B no longer requires full sync.
120 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
122         [BZ #18863]
123         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
124         (si_call_addr): Define.
125         (si_syscall): Define.
126         (si_arch): Define.
128 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
130         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
131         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
132         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
133         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
134         (__memset_zero_constant_len_parameter): New.
135         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
136         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
137         (__memset_zero_constant_len_parameter): Don't define if
138         __memset_chk or USE_AS_BZERO are defined.
140         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
141         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
142         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
144         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
145         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
146         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
147         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
148         comments.
149         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
150         -mno-mmx for $(all-rtld-routines).
151         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
152         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
153         i386.
155 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
157         * sysdeps/generic/unwind.h
158         (_Unwind_Word): Use __mode__(__unwind_word__)
159         instead of __mode__(__word__).
160         (_Unwind_Sword): Likewise.
162         * sysdeps/s390/s390-64/utf8-utf16-z9.c
163         (MAX_NEEDED_INPUT): New define.
164         (MAX_NEEDED_OUTPUT): New define.
166         * NEWS: New item for IBM z13 string optimizations.
168         * sysdeps/s390/multiarch/memrchr-c.c: New File.
169         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
170         * sysdeps/s390/multiarch/memrchr.c: Likewise.
171         * sysdeps/s390/multiarch/Makefile
172         (sysdep_routines): Add memrchr functions.
173         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
174         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
176         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
177         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
178         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
179         * sysdeps/s390/multiarch/Makefile
180         (sysdep_routines): Add wmemcmp functions.
181         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
182         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
183         * benchtests/bench-wmemcmp.c: New File.
184         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
186         * sysdeps/s390/multiarch/wmemset-c.c: New File.
187         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
188         * sysdeps/s390/multiarch/wmemset.c: Likewise.
189         * sysdeps/s390/multiarch/Makefile
190         (sysdep_routines): Add wmemset functions.
191         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
192         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
193         * wcsmbs/wmemset.c: Use WMEMSET if defined.
194         * string/test-memset.c: Add wmemset support.
195         * wcsmbs/test-wmemset.c: New File.
196         * wcsmbs/Makefile (strop-tests): Add wmemset.
197         * benchtests/bench-memset.c: Add wmemset support.
198         * benchtests/bench-wmemset.c: New File.
199         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
201         * sysdeps/s390/multiarch/memccpy-c.c: New File.
202         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
203         * sysdeps/s390/multiarch/memccpy.c: Likewise.
204         * sysdeps/s390/multiarch/Makefile
205         (sysdep_routines): Add memccpy functions.
206         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
207         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
208         * string/memccpy.c: Use MEMCCPY if defined.
210         * sysdeps/s390/multiarch/memchr-vx.S: New File.
211         * sysdeps/s390/multiarch/memchr.c: Likewise.
212         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
213         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
214         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
215         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
216         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
217         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
218         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
219         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
220         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
221         and rawmemchr functions.
222         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
223         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
224         and wmemchr.
225         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
226         * string/test-memchr.c: Add wmemchr support.
227         * wcsmbs/test-wmemchr.c: New File.
228         * wcsmbs/Makefile (strop-tests): Add wmemchr.
229         * benchtests/bench-memchr.c: Add wmemchr support.
230         * benchtests/bench-wmemchr.c: New File.
231         * benchtests/Makefile (wcsmbs-bench): wmemchr.
233         * sysdeps/s390/multiarch/strcspn-c.c: New File.
234         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
235         * sysdeps/s390/multiarch/strcspn.c: Likewise.
236         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
237         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
238         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
239         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
240         wcscspn functions.
241         * sysdeps/s390/multiarch/ifunc-impl-list.c
242         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
243         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
244         * string/test-strcspn.c: Add wcscspn support.
245         * wcsmbs/test-wcscspn.c: New File.
246         * wcsmbs/Makefile (strop-tests): Add wcscspn.
247         * benchtests/bench-strcspn.c: Add wcscspn support.
248         * benchtests/bench-wcscspn.c: New File.
249         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
251         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
252         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
253         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
254         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
255         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
256         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
257         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
258         wcspbrk functions.
259         * sysdeps/s390/multiarch/ifunc-impl-list.c
260         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
261         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
262         * string/test-strpbrk.c: Add wcspbrk support.
263         * wcsmbs/test-wcspbrk.c: New File.
264         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
265         * benchtests/bench-strpbrk.c: Add wcspbrk support.
266         * benchtests/bench-wcspbrk.c: New File.
267         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
269         * sysdeps/s390/multiarch/strspn-c.c: New File.
270         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
271         * sysdeps/s390/multiarch/strspn.c: Likewise.
272         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
273         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
274         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
275         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
276         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
277         wcsspn functions.
278         * sysdeps/s390/multiarch/ifunc-impl-list.c
279         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
280         * string/test-strspn.c: Add wcsspn support.
281         * wcsmbs/test-wcsspn.c: New File.
282         * wcsmbs/Makefile (strop-tests): Add wcsspn.
283         * benchtests/bench-strspn.c: Add wcsspn support.
284         * benchtests/bench-wcsspn.c: New File.
285         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
287         * sysdeps/s390/multiarch/strrchr-c.c: New File.
288         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
289         * sysdeps/s390/multiarch/strrchr.c: Likewise.
290         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
291         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
292         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
293         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
294         wcsrchr functions.
295         * sysdeps/s390/multiarch/ifunc-impl-list.c
296         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
297         * benchtests/bench-wcsrchr.c: New File.
298         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
300         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
301         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
302         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
303         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
304         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
305         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
306         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
307         wcschrnul functions.
308         * sysdeps/s390/multiarch/ifunc-impl-list.c
309         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
310         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
311         * string/test-strchr.c: Add wcschrnul support.
312         * wcsmbs/test-wcschrnul.c: New File.
313         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
314         * benchtests/bench-strchr.c: Add wcschrnul support.
315         * benchtests/bench-wcschrnul.c: New File.
316         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
318         * sysdeps/s390/multiarch/strchr-c.c: New File.
319         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
320         * sysdeps/s390/multiarch/strchr.c: Likewise.
321         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
322         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
323         * sysdeps/s390/multiarch/wcschr.c: Likewise.
324         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
325         wcschr functions.
326         * sysdeps/s390/multiarch/ifunc-impl-list.c
327         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
328         * string/strchr.c (STRCHR): Define and use macro.
329         * benchtests/bench-wcschr.c: New File.
330         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
332         * sysdeps/s390/multiarch/strncmp-c.c: New File.
333         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
334         * sysdeps/s390/multiarch/strncmp.c: Likewise.
335         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
336         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
337         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
338         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
339         wcsncmp functions.
340         * sysdeps/s390/multiarch/ifunc-impl-list.c
341         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
342         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
343         * benchtests/bench-strncmp.c: Add wcsncmp support.
344         * benchtests/bench-wcsncmp.c: New File.
345         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
347         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
348         * sysdeps/s390/multiarch/strcmp.c: Likewise.
349         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
350         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
351         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
352         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
353         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
354         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
355         wcscmp functions.
356         * sysdeps/s390/multiarch/ifunc-impl-list.c
357         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
358         * string/strcmp.c (STRCMP): Define and use macro.
359         * benchtests/bench-wcscmp.c: New File.
360         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
361         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
362         instead of _HAVE_STRING_ARCH_memchr.
364         * sysdeps/s390/multiarch/strncat-c.c: New File.
365         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
366         * sysdeps/s390/multiarch/strncat.c: Likewise.
367         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
368         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
369         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
370         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
371         wcsncat functions.
372         * sysdeps/s390/multiarch/ifunc-impl-list.c
373         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
374         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
375         * string/test-strncat.c: Add wcsncat support.
376         * wcsmbs/test-wcsncat.c: New File.
377         * wcsmbs/Makefile (strop-tests): Add wcsncat.
378         * benchtests/bench-strncat.c: Add wcsncat support.
379         * benchtests/bench-wcsncat.c: New File.
380         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
382         * sysdeps/s390/multiarch/strcat-c.c: New File.
383         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
384         * sysdeps/s390/multiarch/strcat.c: Likewise.
385         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
386         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
387         * sysdeps/s390/multiarch/wcscat.c: Likewise.
388         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
389         wcscat functions.
390         * sysdeps/s390/multiarch/ifunc-impl-list.c
391         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
392         * string/strcat.c (STRCAT): Define and use macro.
393         * wcsmbs/wcscat.c: Use WCSCAT if defined.
394         * string/test-strcat.c: Add wcscat support.
395         * wcsmbs/test-wcscat.c: New File.
396         * wcsmbs/Makefile (strop-tests): Add wcscat.
397         * benchtests/bench-strcat.c: Add wcscat support.
398         * benchtests/bench-wcscat.c: New File.
399         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
401         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
402         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
403         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
404         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
405         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
406         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
407         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
408         wcpncpy functions.
409         * sysdeps/s390/multiarch/ifunc-impl-list.c
410         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
411         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
412         * string/test-stpncpy.c: Add wcpncpy support.
413         * wcsmbs/test-wcpncpy.c: New File.
414         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
415         * benchtests/bench-stpncpy.c: Add wcpncpy support.
416         * benchtests/bench-wcpncpy.c: New File.
417         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
419         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
420         * sysdeps/s390/multiarch/strncpy.c: Likewise.
421         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
422         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
423         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
424         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
425         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
426         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
427         wcsncpy functions.
428         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
429         * sysdeps/s390/multiarch/ifunc-impl-list.c
430         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
431         * string/test-strncpy.c: Add wcsncpy support.
432         * wcsmbs/test-wcsncpy.c: New File.
433         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
434         * benchtests/bench-strncpy.c: Add wcsncpy support.
435         * benchtests/bench-wcsncpy.c: New File.
436         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
438         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
439         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
440         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
441         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
442         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
443         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
444         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
445         wcpcpy functions.
446         * string/stpcpy.c: Use STPCPY if defined.
447         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
448         * sysdeps/s390/multiarch/ifunc-impl-list.c
449         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
450         * string/test-stpcpy.c: Add wcpcpy support.
451         * wcsmbs/test-wcpcpy.c: New File.
452         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
453         * benchtests/bench-stpcpy.c: Add wcpcpy support.
454         * benchtests/bench-wcpcpy.c: New File.
455         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
457         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
458         * sysdeps/s390/multiarch/strcpy.c: Likewise.
459         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
460         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
461         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
462         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
463         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
464         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
465         wcscpy functions.
466         * sysdeps/s390/multiarch/ifunc-impl-list.c
467         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
468         * benchtests/bench-wcscpy.c: New File.
469         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
471         * sysdeps/s390/multiarch/strnlen-c.c: New File.
472         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
473         * sysdeps/s390/multiarch/strnlen.c: Likewise.
474         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
475         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
476         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
477         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
478         wcsnlen functions.
479         * sysdeps/s390/multiarch/ifunc-impl-list.c
480         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
481         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
482         * string/test-strnlen.c: Add wcsnlen support.
483         * wcsmbs/test-wcsnlen.c: New File.
484         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
485         * benchtests/bench-strnlen.c: Add wcsnlen support.
486         * benchtests/bench-wcsnlen.c: New File.
487         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
489         * sysdeps/s390/multiarch/Makefile: New File.
490         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
491         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
492         * sysdeps/s390/multiarch/strlen.c: Likewise.
493         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
494         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
495         * sysdeps/s390/multiarch/wcslen.c: Likewise.
496         * string/strlen.c (STRLEN): Define and use macro.
497         * sysdeps/s390/multiarch/ifunc-impl-list.c
498         (IFUNC_VX_IMPL): New macro function.
499         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
500         * benchtests/Makefile (wcsmbs-bench): New variable.
501         (string-bench-all): Added wcsmbs-bench.
502         * benchtests/bench-wcslen.c: New File.
504         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
505         s390_vx_libc_ifunc2): New macro function.
507         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
508         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
509         assembler support.
510         * sysdeps/s390/configure: Regenerated.
512         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
513         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
515         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
516         * sysdeps/s390/dl-procinfo.h: Add vector capability.
517         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
519         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
520         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
521         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
522         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
523         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
524         (memcmp, bcmp): Use __memcmp_default as alias source.
525         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
526         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
527         Rename to __memcmp_default.
528         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
529         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
530         (memcpy): Use __memcpy_default as alias source.
531         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
532         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
533         Rename to __memcpy_default.
534         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
535         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
536         (memset): Use __memset_default as alias source.
537         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
538         * sysdeps/s390/s390-32/memset.S (__memset_g5):
539         Rename to __memset_default.
540         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
541         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
542         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
543         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
544         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
545         (memcmp, bcmp): Use __memcmp_default as alias source.
546         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
547         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
548         Rename to __memcmp_default.
549         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
550         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
551         (memcpy): Use __memcpy_default as alias source.
552         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
553         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
554         Rename to __memcpy_default.
555         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
556         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
557         (memset): Use __memset_default as alias source.
558         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
559         * sysdeps/s390/s390-64/memset.S (__memset_z900):
560         Rename to __memset_default.
561         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
562         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
564         [BZ #18610]
565         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
566         __ieee_instruction_pointer to __unused.
567         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
568         __ieee_instruction_pointer.
569         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
570         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
571         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
572         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
573         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
574         Mark dxc-field as reserved.
576 2015-08-25  Roland McGrath  <roland@hack.frob.com>
578         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
579         if the weak reference is not null.
581 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
583         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
585         [BZ #11214]
586         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
588 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
590         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
591         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
592         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
593         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
594         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
595         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
596         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
597         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
598         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
599         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
600         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
601         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
602         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
603         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
604         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
605         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
606         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
607         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
609 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
611         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
612         register other than r0 for tabort, it has special meaning.
613         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
614         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
615         transaction before starting syscall.
617 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
619         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
621 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
623         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
625         * sysdeps/x86_64/rtld-memcmp.c: Removed.
626         * sysdeps/x86_64/rtld-memset.S: Likewise.
627         * sysdeps/x86_64/rtld-strchr.S: Likewise.
628         * sysdeps/x86_64/rtld-strlen.S: Likewise.
629         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
630         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
632         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
634 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
636         * debug/strcpy_chk.c: Improve performance.
637         * debug/stpcpy_chk.c: Likewise.
638         * sysdeps/x86_64/strcpy_chk.S: Remove.
639         * sysdeps/x86_64/stpcpy_chk.S: Remove.
641         [BZ #18240]
642         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
644 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
646         [BZ #15128]
647         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
648         ifuncmain8.
649         (modules-names): Add ifuncmod8.
650         ($(objpfx)ifuncmain8): New rule.
651         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
652         <cpuid.h>.
653         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
654         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
655         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
656         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
657         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
658         * sysdeps/x86_64/dl-trampoline.h: Likewise.
659         * sysdeps/x86_64/ifuncmain8.c: New file.
660         * sysdeps/x86_64/ifuncmod8.c: Likewise.
661         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
662         Removed.
663         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
664         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
665         Change rtld_savespace_sse to __glibc_unused2.
666         (RTLD_CHECK_FOREIGN_CALL): Removed.
667         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
668         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
669         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
671 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
673         * sysdeps/aarch64/bzero.S (__bzero): Remove.
675 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
677         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
678         Unconditionally set __fpcr to avoid uninialized warning.
679         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
681 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
683         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
684         is corrupt.
686         * malloc/arena.c (arena_get2): Drop unused argument.
687         (arena_lock): Adjust.
688         (arena_get_retry): Likewise.
690 2015-08-24  Andreas Schwab  <schwab@suse.de>
692         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
693         Don't define.
694         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
695         (__ASSUME_IPC64): Don't undef.
696         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
697         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
698         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
699         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
700         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
701         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
702         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
703         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
704         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
705         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
706         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
707         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
708         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
709         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
710         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
711         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
712         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
713         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
714         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
715         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
716         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
718 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
720         * manual/Makefile (install): Only build manual when perl is available.
722 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
724         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
725         '#undef memcpy' by '#undef memchr'.
727 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
729         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
730         memchr not point to the internal __GI_memchr implementation.
732 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
734         * timezone/Makefile (CFLAGS-zdump.c): Remove
735         -Wno-strict-prototypes.
736         (CFLAGS-zic.c): Likewise.
737         (CFLAGS-ialloc.c): Likewise.
738         (CFLAGS-scheck.c): Likewise.
740         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
741         -Wno-error=undef.
743 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
745         * i386/i686/multiarch/strcasestr-c.c: Removed.
746         * x86_64/multiarch/strcasestr.c: Likewise.
747         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
748         Remove strcasestr.
750 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
752         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
754         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
755         variables for high and low parts before possibly modifying them.
757 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
759         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
760         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
761         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
762         of "multiarch/init-arch.h".
763         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
764         * sysdeps/x86/init-arch.h: This.
766 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
768         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
769         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
771 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
773         [BZ #17787]
774         * manual/macros.texi: Add twoexp macro.
775         * manual/filesys.texi: Fix exponents.
776         * manual/llio.texi: Likewise.
777         * manual/stdio.texi: Likewise.
779 2015-08-20  Florian Weimer  <fweimer@redhat.com>
781         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
782         incorrect use.
784 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
786         [BZ #18370]
787         * math/s_csqrt.c (__csqrt): Force underflow exception for results
788         whose real or imaginary part has small absolute value.
789         * math/s_csqrtf.c (__csqrtf): Likewise.
790         * math/s_csqrtl.c (__csqrtl): Likewise.
791         * math/auto-libm-test-in: Add more tests of csqrt.
792         * math/auto-libm-test-out: Regenerated.
793         * sysdeps/i386/fpu/libm-test-ulps: Update.
795 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
797         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
798         __ppc_set_ppr_very_low): New functions.
799         * manual/platform.texi: Add documentation about
800         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
802 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
804         * string/stpncpy.c (stpncpy): Improve performance using
805         __strnlen/memcpy/memset.
807 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
809         [BZ #18796]
810         * scripts/test-installation.pl: Don't add -lmvec to build options if
811         libmvec wasn't built.
813 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
815         [BZ #14341]
816         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
817         case when there is a gap between DT_REL and DT_JMPREL sections.
818         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
819         (LDFLAGS-tst-split-dynreloc): New.
820         (tst-split-dynreloc-ENV): Likewise.
821         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
822         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
824 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
826         [BZ #18822]
827         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
828         attribute_hidden.
829         (__xstat64_conv): Likewise.
830         (__xstat32_conv): Likewise.
832 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
834         [BZ #18822]
835         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
836         Don't load %ebx when calling __setcontext.  Call __setcontext
837         with HIDDEN_JUMPTARGET.
838         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
839         libc_hidden_def.
841 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
843         * sysdeps/i386/i686/Makefile
844         [$(subdir) == string] (sysdep_routines): Moved to ...
845         * sysdeps/i386/Makefile: Here.
846         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
847         * sysdeps/i386/cacheinfo.c: Here.
848         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
849         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
850         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
851         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
853 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
855         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
856         __i586__ is defined.
857         (HAS_I686): Defined to 1 if __i686__ is defined.
859 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
861         * elf/Makefile [$(have-z-execstack) = yes]
862         (CPPFLAGS-tst-execstack.c): New variable.
864         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
865         conditional to [defined UTMPX || _HAVE_UT_TYPE].
866         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
867         UTMPX || _HAVE_UT_TV].
868         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
869         UTMPX || _HAVE_UT_TV - 0].
871 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
873         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
874         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
875         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
877 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
879         * sysdeps/powerpc/dl-procinfo.c:
880         (_dl_powerpc_cap_flags): Added missing strings for some
881         hwcap features.
882         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
884 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
886         Port the 0x7efe...feff pattern to GCC 6.
887         See Steve Ellcey's bug report in:
888         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
889         * string/memrchr.c (MEMRCHR):
890         * string/rawmemchr.c (RAWMEMCHR):
891         * string/strchr.c (strchr):
892         * string/strchrnul.c (STRCHRNUL):
893         Rewrite code to avoid issues with signed shift overflow.
895 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
897         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
898         whether cpuid is available only if HAS_CPUID is 0.
899         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
900         (HAS_I586): Likewise.
901         (HAS_I686): Likewise.
903 2015-08-18  Zack Weinberg  <zackw@panix.com>
905         * misc/Versions (libc): Add GLIBC_2.23.
907 2015-08-18  Alan Modra  <amodra@gmail.com>
909         [BZ #18421]
910         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
911         .Lp__global.
912         (_start): Load %dp via .Lp__global.
913         [!SHARED]: Use .section .rodata.
915 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
917         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
918         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
920 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
922         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
923         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
925 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
927         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
928         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
930 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
932         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
933         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
935 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
937         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
938         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
940 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
942         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
943         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
945 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
947         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
949 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
951         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
952         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
953         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
954         (__ASSUME_LWS_CAS): Delete.
956 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
958         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
959         * sysdeps/hppa/configure: Regenerated.
960         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
961         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
962         * sysdeps/hppa/nptl/tls.h: Likewise.
964 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
966         [BZ #18823]
967         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
968         for scaling up small arguments.
969         * math/s_csqrtf.c (__csqrtf): Likewise.
970         * math/s_csqrtl.c (__csqrtl): Likewise.
971         * math/auto-libm-test-in: Add more tests of csqrt.
972         * math/auto-libm-test-out: Regenerated.
974 2015-08-17  Andreas Schwab  <schwab@suse.de>
976         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
977         version set GLIBC_2.19.
979 2015-08-16  Zack Weinberg  <zackw@panix.com>
981         [BZ #18681]
982         * misc/regexp.h: This interface is no longer supported.
983         Remove all contents, leaving only an #error directive.
984         * misc/regexp.c (loc1, loc2, locs, step, advance):
985         Demote to compatibility symbols.
987 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
989         [BZ #18084]
990         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
991         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
992         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
993         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
994         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
995         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
996         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
997         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
998         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
1000 2015-08-15  Zack Weinberg  <zackw@panix.com>
1002         [BZ #18795]
1003         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
1004         buffer length is known to be too large, not if it's known to be
1005         small enough.
1006         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
1007         overflow at runtime, involving a length parameter, twice: once
1008         with a compile-time constant length parameter, once without.
1010 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
1012         [BZ #18824]
1013         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
1014         scaling x * y up instead of down.
1015         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1016         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1017         * math/auto-libm-test-in: Add more tests of fma.
1018         * math/auto-libm-test-out: Regenerated.
1020 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
1022         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1024 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1026         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
1027         unnecessary movq.
1028         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
1029         Likewise.
1031 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
1033         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1034         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
1035         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
1036         and tgamma.
1037         * math/auto-libm-test-out: Regenerated.
1038         * sysdeps/i386/fpu/libm-test-ulps: Update.
1039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1041         [BZ #16520]
1042         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
1043         (__tanh): Force underflow exception for arguments with small
1044         absolute value.
1045         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
1046         (__tanhf): Force underflow exception for arguments with small
1047         absolute value.
1048         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
1049         (__tanhl): Force underflow exception for arguments with small
1050         absolute value.
1051         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
1052         (__tanhl): Force underflow exception for arguments with small
1053         absolute value.
1054         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
1055         (__tanhl): Force underflow exception for arguments with small
1056         absolute value.
1057         * math/auto-libm-test-in: Add more tests of tanh.
1058         * math/auto-libm-test-out: Regenerated.
1059         * sysdeps/i386/fpu/libm-test-ulps: Update.
1061 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1063         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
1064         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
1066 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1068         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
1069         <cpuid.h>.
1071 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1073         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
1074         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
1076 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1078         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
1079         Remove $(objpfx)init-arch.o.
1080         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
1081         init-arch.
1082         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
1083         (INIT_ARCH_EXT): Defined as empty.
1084         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
1085         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
1086         __init_cpu_features call.  Replace HAS_XXX with
1087         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1088         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
1089         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
1090         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
1091         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
1092         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1093         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
1094         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
1095         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1096         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
1097         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
1098         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1099         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
1100         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
1101         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1102         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
1103         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
1104         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1105         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1106         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
1107         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
1108         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1109         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
1110         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
1111         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1112         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
1113         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
1114         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1115         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
1116         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
1117         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1118         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
1119         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
1120         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1121         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
1122         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
1124 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1126         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
1127         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1128         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1129         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1130         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
1131         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
1132         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
1133         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
1134         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
1135         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
1136         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
1137         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
1138         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1139         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1140         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1141         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1142         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1143         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1144         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1145         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1146         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1147         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1148         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1149         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1150         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1151         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1152         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1153         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1154         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1155         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1156         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1157         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1158         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1159         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1160         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1161         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1162         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1163         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1164         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1165         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1166         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1167         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1168         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1170 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1172         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
1173         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1174         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1175         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1176         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1177         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
1178         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1179         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
1180         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1181         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1182         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1183         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
1184         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
1185         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
1186         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
1187         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
1188         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
1189         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
1190         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
1191         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
1192         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1193         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
1194         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
1195         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1196         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1197         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
1198         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
1199         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
1200         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1201         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1202         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1203         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1204         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1205         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1206         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1207         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1208         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1209         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1210         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1211         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1212         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1213         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1214         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1216 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1218         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
1219         (dl_platform_init): Call init_cpu_features.
1220         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
1221         * sysdeps/i386/i686/cacheinfo.c
1222         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
1223         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
1224         * sysdeps/i386/i686/multiarch/Versions: Removed.
1225         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
1226         Removed.
1227         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
1228         * sysdeps/unix/sysv/linux/x86/Makefile
1229         (libpthread-sysdep_routines): Remove init-arch.
1230         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
1231         <sysdeps/x86_64/dl-procinfo.c> instead of
1232         sysdeps/generic/dl-procinfo.c>.
1233         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
1234         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
1235         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
1236         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
1237         [$(subdir) == elf] (tests-static): Add
1238         tst-get-cpu-features-static.
1239         * sysdeps/x86/Versions: New file.
1240         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
1241         * sysdeps/x86/cpu-features.c: Likewise.
1242         * sysdeps/x86/cpu-features.h: Likewise.
1243         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
1244         * sysdeps/x86/libc-start.c: Likewise.
1245         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1246         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
1247         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
1248         * sysdeps/x86_64/dl-procinfo.c: Likewise.
1249         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
1250         Assume USE_MULTIARCH is defined and don't check it.
1251         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
1252         (is_amd): Likewise.
1253         (max_cpuid): Likewise.
1254         (intel_check_word): Likewise.
1255         (__cache_sysconf): Don't call __init_cpu_features.
1256         (__x86_preferred_memory_instruction): Removed.
1257         (init_cacheinfo): Don't call __init_cpu_features. Replace
1258         __cpu_features with GLRO(dl_x86_cpu_features).
1259         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
1260         (dl_platform_init): Call init_cpu_features.
1261         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
1262         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
1263         * sysdeps/x86_64/multiarch/Versions: Removed.
1264         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
1265         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
1266         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
1267         Removed.
1268         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
1270 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1272         [BZ #18820]
1273         * libio/Makefile (test-fmemopen-mem): New test.
1274         * libio/test-fmemopen.c (do_bz18820): New test.
1275         * libio/fmemopen.c (__fmemopen): Fix memory leak.
1276         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
1278 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1280         [BZ #16734]
1281         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
1282         (FREE_BUF): Delete.
1283         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
1284         * libio/genops.c (_IO_setb): Use malloc and free directly.
1285         (_IO_default_doallocate, _IO_default_finish): Likewise.
1286         ( _IO_unbuffer_all): Likewise.
1287         ( libc_freeres_fn): Likewise.
1288         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1289         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1290         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
1291         (_IO_wdefault_doallocate): Likewise.
1293 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1295         [BZ #18086]
1296         * sysdeps/posix/nice.c (nice): Restore old errno.
1297         * posix/tst-nice.c (do_test): Add test for BZ #18086.
1299 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
1301         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
1303 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1305         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
1306         __bcopy and add a weak_alias to bcopy.
1307         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
1308         for static build.
1310         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
1311         cleanup macro usage.
1312         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
1313         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
1314         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1315         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
1316         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1317         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
1318         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
1319         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1320         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1321         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
1322         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1323         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
1324         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1325         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
1326         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1327         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
1328         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
1329         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
1330         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1332         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
1333         libc_hidden_def.
1334         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
1336         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
1337         (sysdep_routines): Add strstr-ppc64.
1338         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
1340 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1342         [BZ #18778]
1343         * elf/Makefile (tests): Add Add tst-nodelete2.
1344         (modules-names): Add tst-nodelete2mod.
1345         (tst-nodelete2mod.so-no-z-defs): New.
1346         ($(objpfx)tst-nodelete2): Likewise.
1347         ($(objpfx)tst-nodelete2.out): Likewise.
1348         (LDFLAGS-tst-nodelete2): Likewise.
1349         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
1350         out of loop through all loaded libraries.
1351         * elf/tst-nodelete2.c: New file.
1352         * elf/tst-nodelete2mod.c: Likewise.
1354 2015-08-11  Andreas Schwab  <schwab@suse.de>
1356         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
1357         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
1358         (__openat64_nocancel): Likewise.
1360 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
1362         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
1363         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
1364         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
1365         * math/auto-libm-test-out: Regenerated.
1366         * sysdeps/i386/fpu/libm-test-ulps: Update.
1367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1369 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1371         [BZ #18790]
1372         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
1373         threshold for returning +/- 1.
1374         * math/auto-libm-test-in: Add more tests of tanh.
1375         * math/auto-libm-test-out: Regenerated.
1376         * sysdeps/i386/fpu/libm-test-ulps: Update.
1378 2015-08-10  Andreas Schwab  <schwab@suse.de>
1380         [BZ #18781]
1381         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
1382         MORE_OFLAGS to oflag.
1383         * io/test-lfs.c (do_test): Test openat64.
1385 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1387         [BZ #18789]
1388         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
1389         smaller threshold for returning the argument.
1390         * math/auto-libm-test-in: Add more tests of sinh.
1391         * math/auto-libm-test-out: Regenerated.
1392         * sysdeps/i386/fpu/libm-test-ulps: Update.
1394 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
1396         [BZ #18674]
1397         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
1398         break.
1400 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
1402         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
1403         (generated): Don't add $(addprefix z.,$(tzfiles)).
1405 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1407         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
1408         * scripts/sysd-rules.awk: Likewise.
1410 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1412         * iconvdata/tst-tables.sh: Change echo -n to printf.
1413         * nss/db-Makefile: Likewise.
1414         * posix/tst-getconf.sh: Likewise.
1415         * stdio-common/tst-unbputc.sh: Likewise.
1417 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1419         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
1420         MADV_*_PAGES defines behind this feature check.
1422 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
1424         [BZ #18480]
1425         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
1426         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
1427         Define.
1428         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
1429         LOAD_REGS_5, LOAD_REGS_6): Update.
1430         (INTERNAL_SYSCALL): Update using new LOAD defines.
1431         (INTERNAL_SYSCALL_NCS): Likewise.
1432         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
1434 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1436         [BZ #16734]
1437         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
1439 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1441         [BZ #17905]
1442         * catgets/Makefile (tst-catgets-mem): New test.
1443         * catgets/catgets.c (catopen): Don't use unbounded alloca.
1444         * catgets/open_catalog.c (__open_catalog): Likewise.
1445         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
1447 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
1449         [BZ #18787]
1450         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
1451         clobber registers.
1452         (atomic_compare_and_exchange_val_acq): Use register asms to assign
1453         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
1454         Cast return to __typeof (oldval).
1456 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
1458         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
1459         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
1460         and delete sys/syscall.h include.
1462 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
1464         [BZ #16517]
1465         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
1466         (tan): Force underflow exception for arguments with small absolute
1467         value.
1468         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
1469         (__kernel_tanf): Force underflow exception for arguments with
1470         small absolute value.
1471         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
1472         (__kernel_tanl): Force underflow exception for arguments with
1473         small absolute value.
1474         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
1475         (__kernel_tanl): Force underflow exception for arguments with
1476         small absolute value.
1477         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
1478         (__kernel_tanl): Force underflow exception for arguments with
1479         small absolute value.
1480         * math/auto-libm-test-in: Add more tests of tan.
1481         * math/auto-libm-test-out: Regenerated.
1483 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1485         Fix sysdeps/i386/fpu/s_scalbn.S build
1487         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
1489 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
1491         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1493 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1495         Fix gcrt0.o compilation
1497         When static-start-installed-name is different from
1498         start-installed-name, we must not use the shared objects.
1500         * csu/Makefile
1501         (extra-objs): Add gmon-start.o when building shared library and
1502         $(static-start-installed-name) is different from
1503         $(start-installed-name).
1504         $(objpfx)g$(static-start-installed-name): When building shared
1505         library and $(static-start-installed-name) is different from
1506         $(static-start-installed-name), revert to non-shared rule,
1507         i.e. using $(objpfx)% and gmon-start.o.
1509 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
1511         [BZ #16519]
1512         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
1513         (__ieee754_sinh): Force underflow exception for arguments with
1514         small absolute value.
1515         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
1516         (__ieee754_sinhf): Force underflow exception for arguments with
1517         small absolute value.
1518         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
1519         (__ieee754_sinhl): Force underflow exception for arguments with
1520         small absolute value.
1521         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
1522         (__ieee754_sinhl): Force underflow exception for arguments with
1523         small absolute value.
1524         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
1525         (__ieee754_sinhl): Force underflow exception for arguments with
1526         small absolute value.
1527         * math/auto-libm-test-in: Add more tests of sinh.
1528         * math/auto-libm-test-out: Regenerated.
1529         * sysdeps/i386/fpu/libm-test-ulps: Update.
1531 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1533         * libio/oldfileops.c: Include unistd.h.
1535 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
1537         * stdlib/isomac.c: Include ctype.h.
1539 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
1541         * dirent/tst-seekdir.c (main): Converted to ...
1542         (do_test): ... this.
1543         (TEST_FUNCTION): New macro.
1544         Include test-skeleton.c.
1545         * elf/tst-dlmodcount.c (main): Converted to ...
1546         (do_test): ... this.
1547         (TEST_FUNCTION): New macro.
1548         Include test-skeleton.c.
1549         * elf/tst-order-main.c (main): Converted to ...
1550         (do_test): ... this.
1551         (TEST_FUNCTION): New macro.
1552         Include test-skeleton.c.
1553         * elf/tst-pie2.c (main): Converted to ...
1554         (do_test): ... this.
1555         (TEST_FUNCTION): New macro.
1556         Include test-skeleton.c.
1557         * inet/tst-ether_aton.c (main): Converted to ...
1558         (do_test): ... this.
1559         (TEST_FUNCTION): New macro.
1560         Include test-skeleton.c.
1561         * misc/tst-mntent.c (main): Converted to ...
1562         (do_test): ... this.
1563         (TEST_FUNCTION): New macro.
1564         Include test-skeleton.c.
1565         * misc/tst-tsearch.c (main): Converted to ...
1566         (do_test): ... this.
1567         (TEST_FUNCTION): New macro.
1568         Include test-skeleton.c.
1569         * posix/tst-regexloc.c (main): Converted to ...
1570         (do_test): ... this.
1571         (TEST_FUNCTION): New macro.
1572         Include test-skeleton.c.
1573         * resolv/tst-aton.c (main): Converted to ...
1574         (do_test): ... this.
1575         (TEST_FUNCTION): New macro.
1576         Include test-skeleton.c.
1577         * stdio-common/test-fwrite.c (main): Converted to ...
1578         (do_test): ... this.
1579         (TEST_FUNCTION): New macro.
1580         Include test-skeleton.c.
1581         * stdio-common/tst-ferror.c (main): Converted to ...
1582         (do_test): ... this.
1583         (TEST_FUNCTION): New macro.
1584         Include test-skeleton.c.
1585         * stdio-common/tst-printf.c (main): Converted to ...
1586         (do_test): ... this.
1587         (TEST_FUNCTION): New macro.
1588         Include test-skeleton.c.
1589         * stdio-common/tst-printfsz.c (main): Converted to ...
1590         (do_test): ... this.
1591         (TEST_FUNCTION): New macro.
1592         Include test-skeleton.c.
1593         * stdlib/tst-strtod.c (main): Converted to ...
1594         (do_test): ... this.
1595         (TEST_FUNCTION): New macro.
1596         Include test-skeleton.c.
1597         * string/tst-strlen.c (main): Converted to ...
1598         (do_test): ... this.
1599         (TEST_FUNCTION): New macro.
1600         Include test-skeleton.c.
1601         * string/tst-svc.c (main): Converted to ...
1602         (do_test): ... this.
1603         (TEST_FUNCTION): New macro.
1604         Include test-skeleton.c.
1605         * time/tst-strptime.c (main): Converted to ...
1606         (do_test): ... this.
1607         (TEST_FUNCTION): New macro.
1608         Include test-skeleton.c.
1609         * timezone/tst-timezone.c (main): Converted to ...
1610         (do_test): ... this.
1611         (TEST_FUNCTION): New macro.
1612         Include test-skeleton.c.
1614 2015-08-05  Zack Weinberg  <zackw@panix.com>
1616         * misc/regexp.h: Update comments.
1618 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
1620         [BZ #18635]
1621         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
1622         before return label.
1624 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1626         [BZ #18661]
1627         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
1628         when calling __errno_location.
1629         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
1630         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
1632 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1634         [BZ #18661]
1635         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
1636         (__lll_timedwait_tid): Align stack to 16 bytes when calling
1637         __gettimeofday.
1639 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1641         [BZ #18661]
1642         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1643         (__start_context): Don't use pop to restore %rdi so that stack
1644         is aligned to 16 bytes when calling __setcontext.
1646 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1648         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
1649         only for libc.
1650         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1652 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1654         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
1655         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
1656         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
1658 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1660         * string/memccpy.c (memccpy):
1661         Improve performance by using memchr/memcpy/__mempcpy.
1663 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1665         * string/strncpy.c (strncpy):
1666         Improve performance by using __strnlen/memcpy.
1668 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1670         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1671         Optimize to avoid an unnecessary FPCR read.
1673 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1675         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1676         Optimize to reduce FPCR/FPSR accesses.
1678 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1680         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1681         dead->data[category] != NULL.
1683 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
1685         [BZ #18647]
1686         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1687         and |x| close to 1, use absolute value of x when computing log.
1688         * math/auto-libm-test-in: Add more tests of pow.
1689         * math/auto-libm-test-out: Regenerated.
1691 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1693         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1694         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1695         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1697 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
1699         [BZ #18525]
1700         * locales/km_KH: Remove timezone definition.
1701         * locales/lo_LA: Likewise.
1702         * locales/my_MM: Likewise.
1703         * locales/nan_TW@latin: Likewise.
1704         * locales/th_TH: Likewise.
1705         * locales/uk_UA: Likewise.
1707 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1709         [BZ #18265]
1710         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1711         (wcsncat): Likewise.
1712         (wcscmp): Likewise.
1713         (wcsncmp): Likewise.
1715 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1717         * test-skeleton.c (usage): New function.
1718         (main): Call usage when opt is '?'.
1720 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1722         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1723         before first use.
1725 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1727         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1728         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1729         in there too.
1731 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1733         * version.h (RELEASE): Set to "development".
1734         (VERSION): Set to "2.22.90"
1736         * version.h (RELEASE): Set to "stable".
1737         (VERSION): Set to "2.22"
1738         * include/features.h (__GLIBC_MINOR__): Set to 22.
1740 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1742         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1743         Restructure macro to avoid "value computed is not used" warning.
1744         (atomic_compare_and_exchange_val_acq): Likewise.
1746 2015-08-04  Andreas Schwab  <schwab@suse.de>
1748         [BZ #18635]
1749         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1750         ret.
1751         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1753 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1755         * po/pl.po: Updated translation.
1756         * po/uk.po: Likewise.
1757         * po/fi.po: Likewise.
1758         * po/ko.po: Likewise.
1759         * po/ru.po: Likewise.
1760         * po/vi.po: Likewise.
1762 2015-07-31  Zack Weinberg  <zackw@panix.com>
1764         [BZ #18681]
1765         * regexp.h: Add unconditional #warning stating that this header
1766         will be removed soon.  Revise banner comment to match.
1767         (compile): Consistently use ERROR instead of RETURN to report
1768         errors (partial fix for bz#18681).
1769         * regexp.c: Don't include regexp.h. Remove some unnecessary
1770         declarations.
1772 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1774         * po/libc.pot: Regenerated.
1776 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1778         [BZ #18740]
1779         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1780         float-vlen4-arch-ext-cflags): Removed.
1781         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1782         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1784 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1786         [BZ #14113]
1787         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1788         aligned to __aligned__.
1789         (pthread_cond_t, pthread_rwlock_t): Likewise.
1791 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1793         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1795 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1797         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1798         (struct sigaction): Change sa_flags from a long to an int, and add
1799         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1801 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1803         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1804         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1805         sysdeps/generic/sysdep.h include.
1806         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1807         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1808         sysdeps/hppa/sysdep.h.
1809         (ENTRY, PSEUDO): Undefine before defining.
1811 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1813         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1814         from scratch to use INTERNAL_SYSCALL.
1816 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1818         [BZ #18078]
1819         * scripts/check-localplt.awk: Support alternate relocations.
1820         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1821         sections.
1822         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1823         malloc entries with + REL R_386_GLOB_DAT.
1824         * sysdeps/x86_64/localplt.data: New file.
1826 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1828         [BZ #18731]
1829         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1830         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1831         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1833 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1835         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1837 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1839         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1840         directly in terms of __sync_fetch_and_add and delete (int) cast.
1842 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1844         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1845         the -D_ASM_IA64_CURRENT_H flag.
1847 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1849         [BZ #18641]
1850         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1852 2015-07-27  Andreas Schwab  <schwab@suse.de>
1854         * conform/conformtest.pl (checknamespace): Filter out string
1855         literals while tokenizing.
1857 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1859         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1860         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1861         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1863 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1865         * nptl/tst-join7mod.c: Add #include <string.h>.
1867 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1869         * sysdeps/nios2/libm-test-ulps: Update.
1871 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1873         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1874         Fix order of arguments to the rt_sigprocmask syscall.
1875         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1876         Likewise.
1878 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1880         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1882 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1884         [BZ #18457]
1885         * nptl/Makefile (tests): New test case tst-join7.
1886         (modules-names): New test case module tst-join7mod.
1887         * nptl/tst-join7.c: New file.
1888         * nptl/tst-join7mod.c: New file.
1889         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1890         all translation units in libc.so, libpthread.so and rtld.
1892 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1896 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1898         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1899         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1900         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1901         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1902         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1903         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1904         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1905         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1906         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1907         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1908         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1909         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1910         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1911         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1912         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1913         implementation.
1915 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1917         [BZ #17711]
1918         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1919         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1920         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1921         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1922         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1923         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1925 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1927         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1928         instead of just saying load lock in the comments.
1930 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1932         * sysdeps/unix/Subdirs: Moved ...
1933         * sysdeps/posix/Subdirs: ... here.
1934         * login/pty.h (struct termios, struct winsize): Add forward decls.
1935         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1936         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1937         * sysdeps/arm/nacl/libc.abilist: Updated.
1938         * sysdeps/nacl/libutil.abilist: New file.
1940         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1941         (SIGWINCH): New macro.
1943         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1944         * sysdeps/arm/nacl/libc.abilist: Add it.
1946 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1948         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1950 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1952         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1953         Swap __glibc_reserved0 and sa_flags order.
1955 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1957         [BZ #18657]
1958         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1959         are pending TLS destructor calls.
1960         * include/link.h (struct link_map): Add concurrency note for
1961         L_TLS_DTOR_COUNT.
1962         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1963         Don't touch the link map flag.  Atomically increment
1964         l_tls_dtor_count.
1965         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1966         Avoid taking the load lock and don't touch the link map flag.
1967         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1968         * stdlib/Makefile (tests): Use it.
1969         * stdlib/tst-tls-atexit.c (do_test): dlopen
1970         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1971         to allow tst-tls-atexit-nodelete test case to use it.
1973 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1975         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1976         to bits/types.h.
1977         (msgqnum_t): New typedef.
1978         (msglen_t): Likewise.
1979         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1980         and msg_qbytes type to msglen_t.
1982 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1984         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1985         pad0 to __glibc_reserved0.
1986         (struct stat64): Likewise.
1988 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1990         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1991         Change sa_flags from a long to an int and add __glibc_reserved0 before
1992         it for padding.
1994 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1996         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1997         anonymous by deleting "siginfo" name.
1999 2015-07-21  Roland McGrath  <roland@hack.frob.com>
2001         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
2002         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
2003         rather than __nacl_irt_filename.
2004         * sysdeps/nacl/xstat.c (__xstat): Likewise.
2006         * NEWS: New item for arm-nacl port.
2007         * sysdeps/arm/nacl/libc.abilist: New file.
2008         * sysdeps/nacl/ld.abilist: New file.
2009         * sysdeps/nacl/libBrokenLocale.abilist: New file.
2010         * sysdeps/nacl/libanl.abilist: New file.
2011         * sysdeps/nacl/libcrypt.abilist: New file.
2012         * sysdeps/nacl/libdl.abilist: New file.
2013         * sysdeps/nacl/libm.abilist: New file.
2014         * sysdeps/nacl/libpthread.abilist: New file.
2015         * sysdeps/nacl/libresolv.abilist: New file.
2016         * sysdeps/nacl/librt.abilist: New file.
2018 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
2020         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
2021         __startcontext to initialize the new context.
2022         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
2023         up CFI directive to forbid further backtracing.
2025 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
2027         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
2028         reference.
2029         * charmaps/ANSI_X3.4-1968: Likewise.
2030         * charmaps/BS_4730: Likewise.
2031         * charmaps/BS_VIEWDATA: Likewise.
2032         * charmaps/CP1250: Likewise.
2033         * charmaps/CP1251: Likewise.
2034         * charmaps/CP1252: Likewise.
2035         * charmaps/CP1253: Likewise.
2036         * charmaps/CP1254: Likewise.
2037         * charmaps/CP1255: Likewise.
2038         * charmaps/CP1256: Likewise.
2039         * charmaps/CSN_369103: Likewise.
2040         * charmaps/EBCDIC-DK-NO: Likewise.
2041         * charmaps/GB_1988-80: Likewise.
2042         * charmaps/GREEK-CCITT: Likewise.
2043         * charmaps/GREEK7: Likewise.
2044         * charmaps/INIS-8: Likewise.
2045         * charmaps/ISIRI-3342: Likewise.
2046         * charmaps/ISO_2033-1983: Likewise.
2047         * charmaps/ISO_5427-EXT: Likewise.
2048         * locales/POSIX: Likewise.
2049         * locales/ar_SA: Likewise.
2050         * locales/be_BY: Likewise.
2051         * locales/be_BY@latin: Likewise.
2052         * locales/ca_ES: Likewise.
2053         * locales/cs_CZ: Likewise.
2054         * locales/da_DK: Likewise.
2055         * locales/de_BE: Likewise.
2056         * locales/de_CH: Likewise.
2057         * locales/de_LU: Likewise.
2058         * locales/en_AU: Likewise.
2059         * locales/en_BW: Likewise.
2060         * locales/en_CA: Likewise.
2061         * locales/en_DK: Likewise.
2062         * locales/en_GB: Likewise.
2063         * locales/en_IE: Likewise.
2064         * locales/en_NZ: Likewise.
2065         * locales/en_ZA: Likewise.
2066         * locales/en_ZW: Likewise.
2067         * locales/es_AR: Likewise.
2068         * locales/es_BO: Likewise.
2069         * locales/es_CL: Likewise.
2070         * locales/es_CO: Likewise.
2071         * locales/es_DO: Likewise.
2072         * locales/es_EC: Likewise.
2073         * locales/es_ES: Likewise.
2074         * locales/es_HN: Likewise.
2075         * locales/es_MX: Likewise.
2076         * locales/es_PA: Likewise.
2077         * locales/es_PE: Likewise.
2078         * locales/es_PY: Likewise.
2079         * locales/es_SV: Likewise.
2080         * locales/es_US: Likewise.
2081         * locales/es_UY: Likewise.
2082         * locales/es_VE: Likewise.
2083         * locales/et_EE: Likewise.
2084         * locales/fa_IR: Likewise.
2085         * locales/fo_FO: Likewise.
2086         * locales/fr_CA: Likewise.
2087         * locales/fr_CH: Likewise.
2088         * locales/gv_GB: Likewise.
2089         * locales/he_IL: Likewise.
2090         * locales/hr_HR: Likewise.
2091         * locales/id_ID: Likewise.
2092         * locales/is_IS: Likewise.
2093         * locales/it_CH: Likewise.
2094         * locales/iw_IL: Likewise.
2095         * locales/kl_GL: Likewise.
2096         * locales/ko_KR: Likewise.
2097         * locales/kw_GB: Likewise.
2098         * locales/lg_UG: Likewise.
2099         * locales/lt_LT: Likewise.
2100         * locales/lv_LV: Likewise.
2101         * locales/mi_NZ: Likewise.
2102         * locales/nhn_MX: Likewise.
2103         * locales/nl_BE: Likewise.
2104         * locales/pl_PL: Likewise.
2105         * locales/sk_SK: Likewise.
2106         * locales/sl_SI: Likewise.
2107         * locales/sv_FI: Likewise.
2108         * locales/tl_PH: Likewise.
2109         * locales/tr_TR: Likewise.
2110         * locales/vi_VN: Likewise.
2112 2015-07-21  Khem Raj  <raj.khem@gmail.com>
2114         [BZ #17475]
2115         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
2116         of tu_IN and bh_IN.
2118 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
2120         [BZ #18694]
2121         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
2122         bits/wordsize.h.
2123         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
2125 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2127         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
2128         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
2129         (spawn_thread): New function.
2130         (load): Rename to reg_dtor_and_close.  Move dlopen to...
2131         (do_test): ... here.  Use IS_LOADED to test for its
2132         availability.
2134 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
2136         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2138 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
2140         [BZ #18696]
2141         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
2142         si_addr_bnd.
2143         (si_lower): New.
2144         (si_upper): Likewise.
2146 2015-07-16  David S. Miller  <davem@davemloft.net>
2148         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2150 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2152         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
2153         buffer.
2154         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
2155         fail output information.
2157 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2159         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
2160         and strstr-ppc64..
2161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2162         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
2163         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
2164         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
2165         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
2167 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2169         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2170         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2171         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2172         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2174 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2176         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2177         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
2178         rtld_hidden_proto.
2179         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
2181 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2183         * tst-nodelete-opened.c (do_test): Add comment to clarify how
2184         the test can fail.
2186         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
2188         [BZ #18676]
2189         * elf/tst-nodelete-opened.c: New test case.
2190         * elf/tst-nodelete-opened-lib.c: New test case module.
2191         * elf/Makefile (tests, modules-names): Use them.
2192         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
2193         early.
2195 2015-07-15  David S. Miller  <davem@davemloft.net>
2197         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
2198         futex-intenal.h
2199         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
2200         * sysdeps/sparc/sparc64/Makefile: Likewise.
2201         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2202         Remove space from macro define.
2203         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
2205 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
2207         [BZ #17475]
2208         * locale/iso-639.def: Update Bhili and Tulu language codes as
2209         per iso639-3.
2211 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
2213         * elf/tst-leaks1.c (main): Converted to ...
2214         (do_test): ... this.
2215         (TEST_FUNCTION): New macro.
2216         Include test-skeleton.c.
2217         * localedata/tst-langinfo.c (main): Converted to ...
2218         (do_test): ... this.
2219         (TEST_FUNCTION): New macro.
2220         Include test-skeleton.c.
2221         * math/test-fpucw.c (main): Converted to ...
2222         (do_test): ... this.
2223         (TEST_FUNCTION): New macro.
2224         Include test-skeleton.c.
2225         * math/test-tgmath.c (main): Converted to ...
2226         (do_test): ... this.
2227         (TEST_FUNCTION): New macro.
2228         Include test-skeleton.c.
2229         * math/test-tgmath2.c (main): Converted to ...
2230         (do_test): ... this.
2231         (TEST_FUNCTION): New macro.
2232         Include test-skeleton.c.
2233         * setjmp/tst-setjmp.c (main): Converted to ...
2234         (do_test): ... this.
2235         (TEST_FUNCTION): New macro.
2236         Include test-skeleton.c.
2237         * stdio-common/tst-sscanf.c (main): Converted to ...
2238         (do_test): ... this.
2239         (TEST_FUNCTION): New macro.
2240         Include test-skeleton.c.
2241         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
2242         (do_test): ... this.
2243         (TEST_FUNCTION): New macro.
2244         Include test-skeleton.c.
2246         * elf/tst-audit9.c (main): Converted to ...
2247         (do_test): ... this.
2248         (TEST_FUNCTION): New macro.
2249         Include test-skeleton.c.
2251 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
2253         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
2255 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2257         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
2258         New variable.
2260 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2262         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2264 2015-07-14  Roland McGrath  <roland@hack.frob.com>
2266         * sysdeps/generic/dl-fileid.h: New file.
2267         * sysdeps/posix/dl-fileid.h: New file.
2268         * sysdeps/nacl/dl-fileid.h: New file.
2269         * include/link.h: Include <dl-fileid.h>.
2270         (struct link_map): Replace l_dev and l_ino with l_file_id.
2271         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
2272         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
2273         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
2275 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2277         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
2279 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2281         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
2282         Add iff $CXX is set.
2283         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
2284         Likewise.
2285         (tst-nodelete-zmodiff): Likewise.
2286         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
2288 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2290         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
2292 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2294         * sysdeps/aarch64/fpu/math_private.h
2295         (define math_opt_barrier): Add AArch64 version.
2296         (math_force_eval): Likewise.
2298 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2300         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
2302 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2304         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
2305         %ld with %jd and cast to intmax_t.
2306         (do_test_length_zero): Likewise.
2308 2015-07-10  Roland McGrath  <roland@hack.frob.com>
2310         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
2312 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
2314         * sysdeps/tile/libm-test-ulps: Regenerated.
2316         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
2317         Comment out the whole function, not just its body.
2319 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2321         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
2322         locks.
2324         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
2326 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2328         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
2329         (sem_assume_only_signals_cause_futex_EINTR): Remove.
2331 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2333         * sysdeps/nptl/futex-internal.h: New file.
2334         * sysdeps/nacl/futex-internal.h: New file.
2335         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
2336         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
2337         error checking.
2338         (setxid_unmark_thread): Likewise.
2339         (__nptl_setxid): Likewise.
2340         (__wait_lookup_done): Likewise.
2341         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
2342         * nptl/nptl-init.c (sighandler_setxid): Likewise.
2343         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2344         * nptl/pthread_once.c (clear_once_control): Likewise.
2345         (__pthread_once_slow): Likewise.
2346         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2347         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
2348         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
2349         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2350         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
2351         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
2352         Likewise.
2353         (__pthread_rwlock_rdlock): Likewise.
2354         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2355         Likewise.
2356         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2357         Likewise.
2358         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2359         Likewise.
2360         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
2361         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
2362         Likewise.
2363         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
2364         __ASSUME_PRIVATE_FUTEX check.
2365         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
2366         Check that shared futexes are supported.
2367         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
2368         wrappers with error checking.
2369         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
2370         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
2371         * nptl/pthread_barrierattr_setpshared.c
2372         (pthread_barrierattr_setpshared): Check that shared futexes are
2373         supported.
2374         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
2375         Likewise.
2376         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
2377         Likewise.
2378         * nptl/sem_init.c (futex_private_if_supported): Remove.
2379         (__new_sem_init): Adapt and check that shared futexes are supported.
2380         * nptl/sem_open.c (sem_open): Likewise.
2381         * nptl/sem_post.c (futex_wake): Remove.
2382         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
2383         (do_futex_wait): Use futex wrappers with error checking.
2384         * nptl/sem_wait.c: Include lowlevellock.h.
2385         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
2386         Use futex_supports_pshared.
2387         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
2388         Use futex wrappers with error checking.
2389         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
2390         Likewise.
2391         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
2392         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
2393         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
2394         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
2395         (futex_wake): Likewise.
2396         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
2397         (do_futex_wait): Use futex wrappers with error checking.
2398         (__new_sem_wait_slow): Update EINTR handling.
2399         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
2401 2015-07-09  Martin Sebor  <msebor@redhat.com>
2403         [BZ #18435]
2404         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2405         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
2406         * nptl/Makefile (test-xfail-tst-once5): Define.
2408 2015-07-09  Roland McGrath  <roland@hack.frob.com>
2410         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
2411         * elf/dl-minimal.c: For readability, reorder some definitions and
2412         introduce more page breaks.  Include <stdio.h>.
2413         (__libc_fatal): New function.
2415         * include/unistd.h: Add rtld_hidden_proto for _exit.
2416         * posix/_exit.c: Add rtld_hidden_def.
2417         * sysdeps/mach/hurd/_exit.c: Likewise.
2418         * sysdeps/nacl/_exit.c: Likewise.
2419         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
2420         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
2422 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
2424         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
2425         bndmov encoding with zero displacement.
2427 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
2428             H.J. Lu  <hongjiu.lu@intel.com>
2430         [BZ #18134]
2431         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
2432         * sysdeps/i386/configure: Regenerated.
2433         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2434         (_dl_runtime_profile): Save and restore Intel MPX return bound
2435         registers when calling _dl_call_pltexit.  Add
2436         PRESERVE_BND_REGS_PREFIX before return.
2437         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
2438         (LRV_BND1_OFFSET): Likewise.
2439         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
2440         lrv_bnd1.
2441         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
2442         typo in bndmov encoding.
2443         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
2444         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
2445         branch instructions to preserve bounds.
2447 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2450         [GLIBC_2.22]: Add fmemopen.
2452 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2454         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
2455         returns an error, also try to use host port from __mach_host_self for
2456         the __vm_wire call.
2457         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
2459 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2461         [BZ #18400]
2462         [BZ #18648]
2463         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
2464         Fix pr_uid and pr_gid members.
2465         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
2466         definition to elf_greg_t.
2468 2015-07-08  Roland McGrath  <roland@hack.frob.com>
2470         [BZ #18383]
2471         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
2472         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
2473         * sysdeps/arm/configure: Regenerated.
2474         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
2475         (test-xfail-tst-tlsalign-static): Variable removed.
2477         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
2478         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
2479         rather than explicit 'ln -s'.
2481         * resolv/rpc/netdb.h: New file.
2482         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
2484 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2486         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
2487         length buffers.
2488         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2489         test-skeleton.c.
2491         [BZ #6544]
2492         [BZ #11216]
2493         [BZ #12836]
2494         [BZ #13151]
2495         [BZ #13152]
2496         [BZ #14292]
2497         * include/stdio.h (fmemopen): Remove hidden prototype.
2498         (__fmemopen): Add new hidden prototype.
2499         * libio/Makefile: Add oldfmemopen object.
2500         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
2501         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
2502         compliance.
2503         * libio/oldfmemopen.c: New file: old fmemopen implementation for
2504         symbol compatibility.
2505         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
2506         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
2507         fmemopen.
2508         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
2509         on append and read mode.
2510         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
2511         fmemopen.
2512         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
2513         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
2514         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
2515         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
2516         Likewise.
2517         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2518         [GLIBC_2.22]: Likewise.
2519         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
2520         Likewise.
2521         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
2522         Likewise.
2523         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2524         [GLIBC_2.22]: Likewise.
2525         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2526         [GLIBC_2.22]: Likewise.
2527         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2528         [GLIBC_2.22]: Likewise.
2529         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2530         [GLIBC_2.22]: Likewise.
2531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2532         [GLIBC_2.22]: Likewise.
2533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2534         [GLIBC_2.22]: Likewise.
2535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2536         [GLIBC_2.22]: Likewise.
2537         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
2538         Likewise.
2539         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
2540         Likewise.
2541         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
2542         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2543         [GLIBC_2.22]: Likewise.
2544         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2545         [GLIBC_2.22]: Likewise.
2546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2547         [GLIBC_2.22]: Likewise.
2548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2549         [GLIBC_2.22]: Likewise.
2550         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
2551         Likewise.
2552         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
2553         Likewise.
2554         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
2555         Likewise.
2556         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
2557         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
2559 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2561         [BZ #18643]
2562         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
2563         IPV6_PATHMTU, and IPV6_DONTFRAG.
2565 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
2567         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
2568         and _IO_UNBUFFERED.
2569         * libio/oldfileops.c: Likewise.
2570         * libio/wfileops.c: Likewise.
2572 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2574         * nscd/selinux.c: Delete selinux/flask.h include.
2576 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2578         [BZ #18641]
2579         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
2580         (putpwent): Likewise.
2581         (getpwnam): Likewise.
2582         (getpwent_r): Likewise.
2583         (getpwuid_r): Likewise.
2584         (getpwnam_r): Likewise.
2585         (fgetpwent_r): Likewise.
2587 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2589         [BZ #18557]
2590         * inet/rcmd.c (__validuser2_sa): Check user first to
2591         short-circuit host check.
2593 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
2594             Mikhail Ilin  <m.ilin@samsung.com>
2596         [BZ #17833]
2597         * elf/Makefile (tests): Add tst-nodelete.
2598         (modules-names): Add tst-nodelete-uniquemod.
2599         (tst-nodelete-uniquemod.so-no-z-defs): New.
2600         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
2601         (tst-nodelete-zmod.so-no-z-defs): Likewise.
2602         ($(objpfx)tst-nodelete): Likewise.
2603         ($(objpfx)tst-nodelete.out): Likewise.
2604         (LDFLAGS-tst-nodelete): Likewise.
2605         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
2606         * elf/dl-close.c (_dl_close_worker): Add a parameter to
2607         implement forced object deletion.
2608         (_dl_close): Pass false to _dl_close_worker.
2609         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
2610         * elf/tst-nodelete.cc: New file.
2611         * elf/tst-nodeletelib.cc: Likewise.
2612         * elf/tst-znodeletelib.cc: Likewise.
2613         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
2615 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2617         [BZ #18508]
2618         * stdlib/Makefile ($(objpfx)tst-makecontext3):
2619         Depend on $(libdl).
2620         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
2621         is not called infinitely times.
2622         (backtrace_helper): New function.
2623         (trace_arg): New struct.
2624         (st1): Enlarge stack size.
2625         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2626         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
2627         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2628         Likewise.
2630 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2632         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2634 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2636         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
2637         Include sys/types.h instead of bits/types.h.
2638         Remove inclusion of bits/wordsize.h.
2640 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2642         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
2643         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
2644         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
2645         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
2646         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
2647         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
2649 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2651         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
2652         link-defines.sym.
2653         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
2654         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
2655         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
2656         and LR_SIZE.
2657         * sysdeps/i386/link-defines.sym: New file.
2659 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2661         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
2662         (modules-names): Add tst-auditmod3a tst-auditmod3b.
2663         ($(objpfx)tst-audit3): New rule.
2664         ($(objpfx)tst-audit3.out): Likewise.
2665         * sysdeps/i386/tst-audit3.c: New file.
2666         * sysdeps/i386/tst-audit3.h: Likewise.
2667         * sysdeps/i386/tst-auditmod3a.c: Likewise.
2668         * sysdeps/i386/tst-auditmod3b.c: Likewise.
2670 2015-07-07  Torvald Riegel  <triegel@redhat.com>
2672         [BZ #18633]
2673         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2674         pointer in C code.
2675         (__strcat_c): Likewise.
2676         (__strcat_g): Likewise.
2678 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
2680         [BZ #18592]
2681         * misc/sbrk.c: Set errno to ENOMEM on overflow.
2683 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2685         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2686         New function.  (__ieee754_sqrtf): New function.
2687         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2688         New function.
2689         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2690         New function.
2692 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2694         * sysdeps/ieee754/support.c: Remove unused file.
2696 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2698         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2699         registers instead of d ones so the layout is kernel abi compatible.
2700         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2701         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2702         Likewise.
2704 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2706         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2708 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2710         [BZ #18619]
2711         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2712         and return argument in case of subnormal argument.
2714 2015-07-01  Martin Sebor  <msebor@redhat.com>
2716         [BZ #18435]
2717         * nptl/Makefile: Add tst-once5.cc.
2718         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2719         Remove macro redefinitions.
2720         * nptl/tst-once5.cc: New test.
2722 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2724         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2726         * sysdeps/arm/libm-test-ulps: Regenerated.
2728         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2729         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2731 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2733         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2734         lll_lock_wait_private and lll_futex_wake probes.
2736         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2737         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2738         Likewise.
2739         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2740         atomic_spin_nop.
2741         * sysdeps/x86_64/bits/atomic.h: Likewise.
2742         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2743         to atomic_spin_nop and move ...
2744         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2745         ... here and ...
2746         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2747         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2748         atomic_spin_nop instead of BUSY_WAIT_NOP.
2749         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2750         Likewise.
2751         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2752         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2753         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2754         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2755         instead of atomic_delay.
2757 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2759         [BZ #18613]
2760         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2761         X_ADJ not X when adjusting exponent.
2762         (__ieee754_gamma_r): Do intermediate computations in
2763         round-to-nearest then adjust overflowing and underflowing results
2764         as needed.
2765         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2766         of X_ADJ not X when adjusting exponent.
2767         (__ieee754_gammaf_r): Do intermediate computations in
2768         round-to-nearest then adjust overflowing and underflowing results
2769         as needed.
2770         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2771         log of X_ADJ not X when adjusting exponent.
2772         (__ieee754_gammal_r): Do intermediate computations in
2773         round-to-nearest then adjust overflowing and underflowing results
2774         as needed.  Use 1.0L not 1.0f as numerator of division.
2775         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2776         log of X_ADJ not X when adjusting exponent.
2777         (__ieee754_gammal_r): Do intermediate computations in
2778         round-to-nearest then adjust overflowing and underflowing results
2779         as needed.  Use 1.0L not 1.0f as numerator of division.
2780         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2781         of X_ADJ not X when adjusting exponent.
2782         (__ieee754_gammal_r): Do intermediate computations in
2783         round-to-nearest then adjust overflowing and underflowing results
2784         as needed.  Use 1.0L not 1.0f as numerator of division.
2785         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2786         to auto-libm-test-in.
2787         (tgamma_test): Use ALL_RM_TEST.
2788         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2789         tests of tgamma with spurious-overflow.
2790         * math/auto-libm-test-out: Regenerated.
2791         * math/gen-libm-have-vector-test.sh: Do not check for START.
2792         * sysdeps/i386/fpu/libm-test-ulps: Update.
2793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2795         [BZ #18612]
2796         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2797         arguments, just return 0.5 times the argument, with underflow
2798         forced as needed.
2799         * math/auto-libm-test-in: Add more tests of j1.
2800         * math/auto-libm-test-out: Regenerated.
2802         [BZ #16559]
2803         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2804         (__ieee754_j1): Force underflow exception for small results.
2805         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2806         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2807         (__ieee754_j1f): Force underflow exception for small results.
2808         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2809         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2810         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2811         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2812         (__ieee754_j1l): Force underflow exception for small results.
2813         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2814         * math/auto-libm-test-in: Add more tests of j1 and jn.
2815         * math/auto-libm-test-out: Regenerated.
2817         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2818         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2819         (PF_MPLS): Likewise.
2820         (AF_IB): Likewise.
2821         (AF_MPLS): Likewise.
2822         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2823         value and macro.
2824         (MS_RMT_MASK): Include MS_LAZYTIME.
2826 2015-06-26  Mel Gorman  <mgorman@suse.de>
2828         [BZ #18502]
2829         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2830         already minimal.
2832 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2834         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2835         (DT_MIPS_NUM): Update.
2836         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2837         DT_MIPS_RLD_MAP_REL.
2839 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2841         [BZ #16559]
2842         [BZ #18602]
2843         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2844         round-to-nearest internally then recompute results that
2845         underflowed to zero in the original rounding mode.
2846         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2847         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2848         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2849         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2850         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2851         * sysdeps/i386/fpu/libm-test-ulps: Update.
2852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2854 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2856         * NEWS: Fixed description of link with vector math library.
2858 2015-06-25  Andreas Schwab  <schwab@suse.de>
2860         [BZ #18549]
2861         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2862         * libio/test-fmemopen.c (do_test): Add test for it.
2864 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2866         [BZ #17841]
2867         * Makeconfig (no-pie-ldflag): New.
2868         (+link): Set to $(+link-pie) if default to PIE.
2869         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2870         * config.make.in (build-pie-default): New.
2871         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2872         is default.  AC_SUBST.
2873         * configure: Regenerated.
2874         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2876 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2878         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2879         to 'unsigned int'.
2881         * resolv/gai_misc.h (struct waitlist): Change type of field
2882         counterp to 'volatile unsigned int *'.
2883         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2884         FUTEXADDR and OLDVAL.
2885         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2886         Give local variable TOTAL type 'volatile unsigned int'.
2887         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2888         * resolv/gai_suspend.c (gai_suspend):
2889         Give local variable CNTR type 'unsigned int'.
2891         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2892         counterp to 'volatile unsigned int *'.
2893         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2894         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2895         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2896         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2897         Give local variable TOTAL type 'volatile unsigned int'.
2898         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2900 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2902         [BZ #18383]
2903         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2904         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2905         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2906         comment for i386/x86-64.
2907         (test-xfail-tst-tlsalign-extern-static): Removed.
2909 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2911         * math/test-double.h: New file.
2912         * math/test-float.h: Likewise.
2913         * math/test-ldouble.h: Likewise.
2914         * math/test-math-inline.h: Likewise.
2915         * math/test-math-no-inline.h: Likewise.
2916         * math/test-math-scalar.h: Likewise.
2917         * math/test-math-vector.h: Likewise.
2918         * math/test-vec-loop.h: Remove file.  Contents moved into
2919         test-math-vector.h.
2920         * math/libm-test.inc (MATHCONST): Do not document macro.
2921         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2922         and test-math-scalar.h.
2923         (FUNC): Remove macro.
2924         (FUNC_TEST): Likewise.
2925         (FLOAT): Likewise.
2926         (MATHCONST): Likewise.
2927         (PRINTF_EXPR): Likewise.
2928         (PRINTF_XEXPR): Likewise.
2929         (PRINTF_NEXPR): Likewise.
2930         (TEST_DOUBLE): Likewise.
2931         (TEST_MATHVEC): Likewise.
2932         (__NO_MATH_INLINES): Likewise.
2933         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2934         and test-math-scalar.h.
2935         (FUNC): Remove macro.
2936         (FUNC_TEST): Likewise.
2937         (FLOAT): Likewise.
2938         (MATHCONST): Likewise.
2939         (PRINTF_EXPR): Likewise.
2940         (PRINTF_XEXPR): Likewise.
2941         (PRINTF_NEXPR): Likewise.
2942         (TEST_FLOAT): Likewise.
2943         (TEST_MATHVEC): Likewise.
2944         (__NO_MATH_INLINES): Likewise.
2945         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2946         and test-math-scalar.h.
2947         (FUNC): Remove macro.
2948         (FUNC_TEST): Likewise.
2949         (FLOAT): Likewise.
2950         (MATHCONST): Likewise.
2951         (PRINTF_EXPR): Likewise.
2952         (PRINTF_XEXPR): Likewise.
2953         (PRINTF_NEXPR): Likewise.
2954         (TEST_DOUBLE): Likewise.
2955         (TEST_MATHVEC): Likewise.
2956         (TEST_INLINE): Likewise.
2957         (__NO_MATH_INLINES): Likewise.
2958         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2959         test-math-scalar.h.
2960         (FUNC): Remove macro.
2961         (FUNC_TEST): Likewise.
2962         (FLOAT): Likewise.
2963         (MATHCONST): Likewise.
2964         (PRINTF_EXPR): Likewise.
2965         (PRINTF_XEXPR): Likewise.
2966         (PRINTF_NEXPR): Likewise.
2967         (TEST_FLOAT): Likewise.
2968         (TEST_MATHVEC): Likewise.
2969         (TEST_INLINE): Likewise.
2970         (__NO_MATH_INLINES): Likewise.
2971         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2972         and test-math-scalar.h.
2973         (FUNC): Remove macro.
2974         (FUNC_TEST): Likewise.
2975         (FLOAT): Likewise.
2976         (MATHCONST): Likewise.
2977         (PRINTF_EXPR): Likewise.
2978         (PRINTF_XEXPR): Likewise.
2979         (PRINTF_NEXPR): Likewise.
2980         (TEST_LDOUBLE): Likewise.
2981         (TEST_MATHVEC): Likewise.
2982         (TEST_INLINE): Likewise.
2983         (__NO_MATH_INLINES): Likewise.
2984         * math/test-ldouble.c: Include test-ldouble.h,
2985         test-math-no-inline.h and test-math-scalar.h.
2986         (FUNC): Remove macro.
2987         (FUNC_TEST): Likewise.
2988         (FLOAT): Likewise.
2989         (MATHCONST): Likewise.
2990         (PRINTF_EXPR): Likewise.
2991         (PRINTF_XEXPR): Likewise.
2992         (PRINTF_NEXPR): Likewise.
2993         (TEST_LDOUBLE): Likewise.
2994         (TEST_MATHVEC): Likewise.
2995         (__NO_MATH_INLINES): Likewise.
2996         * math/test-double-vlen2.h: Include test-double.h,
2997         test-math-no-inline.h and test-math-vector.h.
2998         (FLOAT): Remove macro.
2999         (FUNC): Likewise.
3000         (MATHCONST): Likewise.
3001         (PRINTF_EXPR): Likewise.
3002         (PRINTF_XEXPR): Likewise.
3003         (PRINTF_NEXPR): Likewise.
3004         (TEST_DOUBLE): Likewise.
3005         (TEST_MATHVEC): Likewise.
3006         (__NO_MATH_INLINES): Likewise.
3007         (CNCT): Likewise.
3008         (CONCAT): Likewise.
3009         (WRAPPER_NAME): Likewise.
3010         (WRAPPER_DECL): Likewise.
3011         (WRAPPER_DECL_ff): Likewise.
3012         (WRAPPER_DECL_fFF): Likewise.
3013         (VECTOR_WRAPPER): Likewise.
3014         (VECTOR_WRAPPER_ff): Likewise.
3015         (VECTOR_WRAPPER_fFF): Likewise.
3016         (VEC_LEN): New macro.
3017         * math/test-double-vlen4.h: Include test-double.h,
3018         test-math-no-inline.h and test-math-vector.h.
3019         (FLOAT): Remove macro.
3020         (FUNC): Likewise.
3021         (MATHCONST): Likewise.
3022         (PRINTF_EXPR): Likewise.
3023         (PRINTF_XEXPR): Likewise.
3024         (PRINTF_NEXPR): Likewise.
3025         (TEST_DOUBLE): Likewise.
3026         (TEST_MATHVEC): Likewise.
3027         (__NO_MATH_INLINES): Likewise.
3028         (CNCT): Likewise.
3029         (CONCAT): Likewise.
3030         (WRAPPER_NAME): Likewise.
3031         (WRAPPER_DECL): Likewise.
3032         (WRAPPER_DECL_ff): Likewise.
3033         (WRAPPER_DECL_fFF): Likewise.
3034         (VECTOR_WRAPPER): Likewise.
3035         (VECTOR_WRAPPER_ff): Likewise.
3036         (VECTOR_WRAPPER_fFF): Likewise.
3037         (VEC_LEN): New macro.
3038         * math/test-double-vlen8.h: Include test-double.h,
3039         test-math-no-inline.h and test-math-vector.h.
3040         (FLOAT): Remove macro.
3041         (FUNC): Likewise.
3042         (MATHCONST): Likewise.
3043         (PRINTF_EXPR): Likewise.
3044         (PRINTF_XEXPR): Likewise.
3045         (PRINTF_NEXPR): Likewise.
3046         (TEST_DOUBLE): Likewise.
3047         (TEST_MATHVEC): Likewise.
3048         (__NO_MATH_INLINES): Likewise.
3049         (CNCT): Likewise.
3050         (CONCAT): Likewise.
3051         (WRAPPER_NAME): Likewise.
3052         (WRAPPER_DECL): Likewise.
3053         (WRAPPER_DECL_ff): Likewise.
3054         (WRAPPER_DECL_fFF): Likewise.
3055         (VECTOR_WRAPPER): Likewise.
3056         (VECTOR_WRAPPER_ff): Likewise.
3057         (VECTOR_WRAPPER_fFF): Likewise.
3058         (VEC_LEN): New macro.
3059         * math/test-float-vlen4.h: Include test-float.h,
3060         test-math-no-inline.h and test-math-vector.h.
3061         (FLOAT): Remove macro.
3062         (FUNC): Likewise.
3063         (MATHCONST): Likewise.
3064         (PRINTF_EXPR): Likewise.
3065         (PRINTF_XEXPR): Likewise.
3066         (PRINTF_NEXPR): Likewise.
3067         (TEST_FLOAT): Likewise.
3068         (TEST_MATHVEC): Likewise.
3069         (__NO_MATH_INLINES): Likewise.
3070         (CNCT): Likewise.
3071         (CONCAT): Likewise.
3072         (WRAPPER_NAME): Likewise.
3073         (WRAPPER_DECL): Likewise.
3074         (WRAPPER_DECL_ff): Likewise.
3075         (WRAPPER_DECL_fFF): Likewise.
3076         (VECTOR_WRAPPER): Likewise.
3077         (VECTOR_WRAPPER_ff): Likewise.
3078         (VECTOR_WRAPPER_fFF): Likewise.
3079         (VEC_LEN): New macro.
3080         * math/test-float-vlen8.h: Include test-float.h,
3081         test-math-no-inline.h and test-math-vector.h.
3082         (FLOAT): Remove macro.
3083         (FUNC): Likewise.
3084         (MATHCONST): Likewise.
3085         (PRINTF_EXPR): Likewise.
3086         (PRINTF_XEXPR): Likewise.
3087         (PRINTF_NEXPR): Likewise.
3088         (TEST_FLOAT): Likewise.
3089         (TEST_MATHVEC): Likewise.
3090         (__NO_MATH_INLINES): Likewise.
3091         (CNCT): Likewise.
3092         (CONCAT): Likewise.
3093         (WRAPPER_NAME): Likewise.
3094         (WRAPPER_DECL): Likewise.
3095         (WRAPPER_DECL_ff): Likewise.
3096         (WRAPPER_DECL_fFF): Likewise.
3097         (VECTOR_WRAPPER): Likewise.
3098         (VECTOR_WRAPPER_ff): Likewise.
3099         (VECTOR_WRAPPER_fFF): Likewise.
3100         (VEC_LEN): New macro.
3101         * math/test-float-vlen16.h: Include test-float.h,
3102         test-math-no-inline.h and test-math-vector.h.
3103         (FLOAT): Remove macro.
3104         (FUNC): Likewise.
3105         (MATHCONST): Likewise.
3106         (PRINTF_EXPR): Likewise.
3107         (PRINTF_XEXPR): Likewise.
3108         (PRINTF_NEXPR): Likewise.
3109         (TEST_FLOAT): Likewise.
3110         (TEST_MATHVEC): Likewise.
3111         (__NO_MATH_INLINES): Likewise.
3112         (CNCT): Likewise.
3113         (CONCAT): Likewise.
3114         (WRAPPER_NAME): Likewise.
3115         (WRAPPER_DECL): Likewise.
3116         (WRAPPER_DECL_ff): Likewise.
3117         (WRAPPER_DECL_fFF): Likewise.
3118         (VECTOR_WRAPPER): Likewise.
3119         (VECTOR_WRAPPER_ff): Likewise.
3120         (VECTOR_WRAPPER_fFF): Likewise.
3121         (VEC_LEN): New macro.
3122         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
3123         test-vec-loop.h.
3124         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3125         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3126         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3127         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3128         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3129         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3130         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3132 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3134         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
3135         (__getlogin_r): ... this.
3137 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3139         [BZ #18594]
3140         * math/s_ccosh.c (__ccosh): Compare with least normal value
3141         instead of comparing class with FP_SUBNORMAL.
3142         * math/s_ccoshf.c (__ccoshf): Likewise.
3143         * math/s_ccoshl.c (__ccoshl): Likewise.
3144         * math/s_cexp.c (__cexp): Likewise.
3145         * math/s_cexpf.c (__cexpf): Likewise.
3146         * math/s_cexpl.c (__cexpl): Likewise.
3147         * math/s_csin.c (__csin): Likewise.
3148         * math/s_csinf.c (__csinf): Likewise.
3149         * math/s_csinh.c (__csinh): Likewise.
3150         * math/s_csinhf.c (__csinhf): Likewise.
3151         * math/s_csinhl.c (__csinhl): Likewise.
3152         * math/s_csinl.c (__csinl): Likewise.
3153         * math/s_ctan.c (__ctan): Likewise.
3154         * math/s_ctanf.c (__ctanf): Likewise.
3155         * math/s_ctanh.c (__ctanh): Likewise.
3156         * math/s_ctanhf.c (__ctanhf): Likewise.
3157         * math/s_ctanhl.c (__ctanhl): Likewise.
3158         * math/s_ctanl.c (__ctanl): Likewise.
3159         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
3160         csin, csinh, ctan and ctanh.
3161         * math/auto-libm-test-out: Regenerated.
3162         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
3163         * sysdeps/i386/fpu/libm-test-ulps: Update.
3164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3166 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3168         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
3169         return value is wrong, print the expected value too.
3171 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
3173         [BZ #18585]
3174         * elf/readlib.c (is_gdb_python_file): New.
3175         (process_file): Don't issue errors on filenames with -gdb.py
3176         suffix.
3178 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3180         * math/auto-libm-test-in: Add more tests of csin and csinh.
3181         * math/auto-libm-test-out: Regenerated.
3182         * math/libm-test.inc (csin_test_data): Remove tests moved to
3183         auto-libm-test-in.
3184         (csinh_test_data): Likewise.
3186         [BZ #18593]
3187         * math/s_csin.c (__csin): Negate before rather than after possibly
3188         overflowing multiplication.
3189         * math/s_csinf.c (__csinf): Likewise.
3190         * math/s_csinh.c (__csinh): Likewise.
3191         * math/s_csinhf.c (__csinhf): Likewise.
3192         * math/s_csinhl.c (__csinhl): Likewise.
3193         * math/s_csinl.c (__csinl): Likewise.
3194         * math/auto-libm-test-in: Add some tests of csin and csinh.
3195         * math/auto-libm-test-out: Regenerated.
3196         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
3197         (csinh_test_data): Likewise.
3198         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3200         [BZ #18586]
3201         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
3202         underflow exception for small results.
3204 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
3206         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3207         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
3208         variable and included header.
3209         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
3210         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
3211         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
3212         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
3213         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
3214         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3215         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3216         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
3217         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
3218         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
3219         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
3220         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
3221         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
3222         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
3223         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
3224         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
3226 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3228         [BZ #16526]
3229         [BZ #16538]
3230         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
3231         (__sin): Force underflow exception for arguments with small
3232         absolute value.
3233         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
3234         (__kernel_sinf): Force underflow exception for arguments with
3235         small absolute value.
3236         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
3237         (__kernel_sincosl): Force underflow exception for arguments with
3238         small absolute value.
3239         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
3240         (__kernel_sinl): Force underflow exception for arguments with
3241         small absolute value.
3242         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
3243         (__kernel_sincosl): Force underflow exception for arguments with
3244         small absolute value.
3245         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
3246         (__kernel_sinl): Force underflow exception for arguments with
3247         small absolute value.
3248         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
3249         (__kernel_sinl): Force underflow exception for arguments with
3250         small absolute value.
3251         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
3252         (__kernel_sinf): Force underflow exception for arguments with
3253         small absolute value.
3254         * math/auto-libm-test-in: Add more tests of sin and sincos.
3255         * math/auto-libm-test-out: Regenerated.
3257         [BZ #18245]
3258         [BZ #18583]
3259         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
3260         (__kernel_standard_l): Use feholdexcept and fesetenv around
3261         conversion to double instead of special-casing overflow and
3262         underflow.
3263         * math/libm-test.inc (fmod_test_data): Add more tests.
3264         (remainder_test_data): Likewise.
3265         (sqrt_test_data): Likewise.
3267 2015-06-23  Torvald Riegel  <triegel@redhat.com>
3269         [BZ #17403]
3270         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
3271         atomic_read_barrier, atomic_write_barrier): Define.
3272         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
3273         atomic_read_barrier, atomic_write_barrier): Define.
3275 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3277         * math/Makefile [$(PERL) != no]
3278         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
3279         dependency on libm-test.stmp below the inclusion of Rules.
3281 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
3283         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3284         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
3285         and included header.
3286         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
3287         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
3288         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
3289         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
3290         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
3291         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
3292         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3293         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3294         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
3295         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
3296         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
3297         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
3298         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
3299         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
3300         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
3301         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
3302         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
3303         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
3304         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
3306 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3308         [BZ #18371]
3309         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
3310         intermediate but not final result might underflow.
3311         * math/s_csqrtf.c (__csqrtf): Likewise.
3312         * math/s_csqrtl.c (__csqrtl): Likewise.
3313         * math/auto-libm-test-in: Add more tests of csqrt.
3314         * math/auto-libm-test-out: Regenerated.
3315         * sysdeps/i386/fpu/libm-test-ulps: Update.
3317         [BZ #18219]
3318         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
3319         threshold on absolute value of exponent for which scaling is used.
3320         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3321         * math/auto-libm-test-in: Add more tests of exp2.
3322         * math/auto-libm-test-out: Regenerated.
3324 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
3326         [BZ #17977]
3327         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
3328         when initializing interface list, based on the bug analysis
3329         and the patch proposed by Eric Newton.
3330         * resolv/tst-res_hconf_reorder.c: New test.
3331         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
3332         tst-res_hconf_reorder.
3333         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
3334         and $(shared-thread-library).
3335         (tst-res_hconf_reorder-ENV): New variable.
3337         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
3338         in comment.
3340 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
3342         [BZ #16353]
3343         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
3344         (__expm1): Force underflow exception for arguments with small
3345         absolute value.
3346         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
3347         (__expm1f): Force underflow exception for arguments with small
3348         absolute value.
3349         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
3350         (__expm1): Force underflow exception for arguments with small
3351         absolute value.
3352         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
3353         (__expm1f): Force underflow exception for arguments with small
3354         absolute value.
3355         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3356         Check for small arguments before calling __expm1.
3357         * math/auto-libm-test-in: Do not mark underflow exceptions as
3358         possibly missing for bug 16353.
3359         * math/auto-libm-test-out: Regenerated.
3361 2015-06-22  Andreas Schwab  <schwab@suse.de>
3363         [BZ #18513]
3364         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
3365         PTR queries.
3367 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
3369         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
3371         * string/strcoll_l.c: Remove unused struct element idxnow.
3373 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
3375         [BZ #18569]
3376         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
3377         underflow and return argument in case of subnormal argument.
3378         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3379         Likewise.
3380         * math/auto-libm-test-in: Add more tests of expm1.
3381         * math/auto-libm-test-out: Regenerated.
3383         [BZ #16361]
3384         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3385         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3386         tiny results.
3387         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3388         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3389         tiny results.
3390         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
3391         mark underflow exceptions as possibly missing for bug 16361.
3392         * math/auto-libm-test-out: Regenerated.
3394 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
3396         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
3397         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
3398         Remove variable.
3399         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3400         (test-xfail-XOPEN2K8/utmpx.h/conform).
3402         * conform/conformtest.pl ($xerrors): New variable.
3403         (note_error): New function.
3404         (compiletest): New argument $xfail.  Use not_error.
3405         (runtest): Likewise.
3406         (top level): Handle xfail- lines.  Update calls to compiletest and
3407         runtest.  Handle xfail- and optional- in headers listed with
3408         allow-header.
3409         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
3410         (O_EXEC): Likewise.
3411         (O_SEARCH): Likewise.
3412         * conform/data/stropts.h-data (ioctl): Likewise.
3413         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
3414         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
3415         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
3416         (msghdr.msg_controllen): Likewise.
3417         (cmsghdr.cmsg_len): Likewise.
3418         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
3419         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
3420         variable.
3421         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3422         (test-xfail-XPG4/stropts.h/conform): Likewise.
3423         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3424         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3425         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3426         (test-xfail-UNIX98/stropts.h/conform): Likewise.
3427         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3428         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3429         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3430         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3431         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3432         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3433         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3434         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3435         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3436         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3437         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3438         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3439         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3440         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3441         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3443 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3445         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
3446         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
3447         definitions for proper unfolding of __MATHDECL_VEC.
3449 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3451         * benchtests/bench-strcoll.c:
3452         Include string.h.
3453         (main): Remove unused variable res.
3455 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3457         * timezone/Makefile (%/UTC %/Universal):
3458         Generate test-result files for UTC and Universal.
3460 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3462         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3464 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
3466         [BZ #16350]
3467         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
3468         for arguments with small absolute value.
3469         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
3470         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
3471         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
3472         (__asinh): Force underflow exception for arguments with small
3473         absolute value.
3474         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
3475         (__asinhf): Force underflow exception for arguments with small
3476         absolute value.
3477         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
3478         (__asinhl): Force underflow exception for arguments with small
3479         absolute value.
3480         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
3481         (__asinhl): Force underflow exception for arguments with small
3482         absolute value.
3483         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
3484         (__asinhl): Force underflow exception for arguments with small
3485         absolute value.
3486         * math/auto-libm-test-in: Do not mark underflow exceptions as
3487         possibly missing for bug 16350.
3488         * math/auto-libm-test-out: Regenerated.
3490         * include/bits/ipc.h: Remove file.
3491         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
3492         variable.
3493         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3494         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3495         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3496         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3497         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3498         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3499         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3500         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3501         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3503         * math/auto-libm-test-in: Remove spurious underflow allowance for
3504         tests of cexp.
3505         * math/auto-libm-test-out: Regenerated.
3507         [BZ #18558]
3508         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
3509         unconditional definition.
3510         (MCAST_BLOCK_SOURCE): Likewise.
3511         (MCAST_UNBLOCK_SOURCE): Likewise.
3512         (MCAST_LEAVE_GROUP): Likewise.
3513         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3514         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3515         (MCAST_MSFILTER): Likewise.
3516         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
3517         Remove variable.
3518         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3519         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3520         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3521         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3522         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3524 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
3526         * NEWS: Mention addition of x86_64 vector sincosf.
3527         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
3528         * math/test-float-vlen4.h: Likewise.
3529         * math/test-float-vlen8.h: Likewise.
3530         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3531         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
3532         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3533         * sysdeps/x86_64/fpu/Versions: New versions added.
3534         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3535         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3536         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3537         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
3538         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3539         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
3540         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3541         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
3542         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3543         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
3544         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
3545         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
3546         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
3547         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
3548         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
3549         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
3550         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
3551         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3552         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3553         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3554         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3555         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3556         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3557         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3559         * NEWS: Mention addition of x86_64 vector sincos.
3560         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
3561         * math/math.h (__MATHDECL_VEC): New macro.
3562         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
3563         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
3564         declaration under condition.
3565         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
3566         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
3567         TEST_VEC_LOOP change.
3568         * math/test-double-vlen4.h: Likewise.
3569         * math/test-double-vlen8.h: Likewise.
3570         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
3571         * math/test-float-vlen4.h: Likewise.
3572         * math/test-float-vlen8.h: Likewise.
3573         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3574         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
3575         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3576         * sysdeps/x86_64/fpu/Versions: New versions added.
3577         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3578         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3579         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3580         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
3581         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
3582         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
3583         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
3584         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
3585         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
3586         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
3587         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
3588         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
3589         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
3590         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
3591         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
3592         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
3593         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
3594         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3595         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3596         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3597         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3598         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3599         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3600         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3602         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3603         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3604         redirections for powf.
3605         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3606         * sysdeps/x86_64/fpu/Versions: New versions added.
3607         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3608         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3609         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3610         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
3611         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
3612         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
3613         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
3614         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
3615         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
3616         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
3617         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
3618         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
3619         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
3620         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
3621         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
3622         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
3623         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
3624         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3625         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3626         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3627         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3628         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3629         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3630         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3631         * math/test-float-vlen16.h: Fixed 2 argument macro.
3632         * math/test-float-vlen4.h: Likewise.
3633         * math/test-float-vlen8.h: Likewise.
3634         * NEWS: Mention addition of x86_64 vector powf.
3636 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
3638         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3639         and redefine.
3640         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3641         and redefine.
3642         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
3643         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3644         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3646         [BZ #18553]
3647         * resource/getpriority.c (getpriority): Rename to __getpriority
3648         and define as weak alias of __getpriority.
3649         * resource/setpriority.c (setpriority): Rename to __setpriority
3650         and define as weak alias of __setpriority.
3651         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
3652         __getpriority and define as weak alias of __getpriority.
3653         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
3654         __setpriority and define as weak alias of __setpriority.
3655         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
3656         strong name.
3657         (setpriority): Use __setpriority as strong name.
3658         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
3659         __getpriority and define as weak alias of __getpriority.
3660         * include/sys/resource.h (__getpriority): Declare.  Use
3661         libc_hidden_proto.
3662         (__setpriority): Likewise.
3663         (getpriority): Don't use libc_hidden_proto.
3664         (setpriority): Likewise.
3665         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
3666         getpriority.  Call __setpriority instead of setpriority.
3667         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
3668         Remove variable.
3670         [BZ #18547]
3671         * misc/getttyent.c (getttynam): Rename to __getttynam and define
3672         as weak alias of __getttynam.  Use prototype function definition.
3673         Call __setttyent, __getttyent and __endttyent instead of
3674         setttyent, getttyent and endttyent.
3675         (getttyent): Rename to __getttyent and define as weak alias of
3676         __getttyent.  Call __setttyent instead of setttyent.  Call
3677         __fgets_unlocked instead of fgets_unlocked.
3678         (setttyent): Rename to __setttyent and define as weak alias of
3679         __setttyent.
3680         (endttyent): Rename to __endttyent and define as weak alias of
3681         __endttyent.
3682         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
3683         (__setttyent): Likewise.
3684         (__endttyent): Likewise.
3685         (getttyent): Don't use libc_hidden_proto.
3686         (setttyent): Likewise.
3687         (endttyent): Likewise.
3688         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3689         __endttyent instead of setttyent, getttyent and endttyent.
3690         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3691         Remove variable.
3693         [BZ #18546]
3694         * socket/recv.c (__recv): Use libc_hidden_def.
3695         * socket/socket.c (__socket): Likewise.
3696         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3697         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3698         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3699         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3700         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3701         libc_hidden_def.
3702         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3703         libc_hidden_weak.
3704         * include/sys/socket.h (__socket): Do not use attribute_hidden.
3705         Use libc_hidden_proto.
3706         (__recv): Likewise.
3707         * socket/Versions (libc): Export __recv and __socket at version
3708         GLIBC_PRIVATE.
3709         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3710         instead of recv.
3711         (init_mq_netlink): Call __socket instead of socket.
3712         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3713         Remove variable.
3715         [BZ #18545]
3716         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3717         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3718         hidden_weak.
3719         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3720         define as alias of __mq_timedsend.  Use hidden_weak.
3721         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3722         __mq_timedsend as strong name.
3723         (mq_timedreceive): Use __mq_timedreceive as strong name.
3724         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3725         (__mq_timedreceive): Likewise.
3726         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3727         __mq_timedreceive instead of mq_timedreceive.
3728         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3729         instead of mq_timedsend.
3730         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3731         Remove variable.
3733         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3734         hidden_def and hidden_weak instead of libc_hidden_def and
3735         libc_hidden_weak.
3736         (top level): Refer to hidden_def in comment.
3737         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3738         macro.  Use it instead of libc_hidden_def.
3739         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3740         specify __GI_* name explicitly.
3741         (mq_timedreceive): Likewise.
3742         (mq_setattr): Likewise.
3744         [BZ #18544]
3745         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3746         __pthread_barrier_init and define as weak alias of
3747         __pthread_barrier_init.
3748         * sysdeps/sparc/nptl/pthread_barrier_init.c
3749         (pthread_barrier_init): Likewise.
3750         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3751         __pthread_barrier_wait and define as weak alias of
3752         __pthread_barrier_wait.
3753         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3754         (pthread_barrier_wait): Likewise.
3755         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3756         (pthread_barrier_wait): Likewise.
3757         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3758         (pthread_barrier_wait): Likewise.
3759         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3760         (pthread_barrier_wait): Likewise.
3761         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3762         __pthread_barrier_wait at version GLIBC_PRIVATE.
3763         * include/pthread.h (__pthread_barrier_init): Declare.
3764         (__pthread_barrier_wait): Likewise.
3765         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3766         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3767         (helper_thread): Likewise.
3768         (init_mq_netlink): Call __pthread_barrier_init instead of
3769         pthread_barrier_init.
3771         [BZ #18542]
3772         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3773         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3774         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3775         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3776         vswscanf.
3777         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3778         Remove variable.
3780         [BZ #18540]
3781         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3782         strong alias of _IO_fflush.  Use libc_hidden_def.
3783         * libio/iofflush_u.c (fflush_unlocked): Rename to
3784         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3785         Use libc_hidden_weak.
3786         * include/stdio.h (__fflush_unlocked): Declare.  Use
3787         libc_hidden_proto.
3788         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3789         fflush_unlocked.
3790         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3791         Remove variable.
3793         [BZ #18539]
3794         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3795         define as weak alias of __addseverity.
3796         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3797         Remove variable.
3798         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3799         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3800         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3802         [BZ #18536]
3803         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3804         (__tfind): Likewise.
3805         (__tdelete): Likewise.
3806         (__twalk): Likewise.
3807         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3808         __twalk to GLIBC_PRIVATE.
3809         * include/search.h (__tsearch): Use libc_hidden_proto.
3810         (__tfind): Likewise.
3811         (__tdelete): Likewise.
3812         (__twalk): Likewise.
3813         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3814         Call __tdelete instead of tdelete.
3815         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3816         tfind.  Call __tsearch instead of tsearch.
3817         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3818         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3819         Remove variable.
3820         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3822         [BZ #18534]
3823         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3824         (dprintf): Define as a weak alias of __dprintf, not a strong
3825         alias.
3826         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3827         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3828         dprintf.
3829         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3830         Remove variable.
3831         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3832         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3834         [BZ #18533]
3835         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3836         not a strong alias.
3837         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3838         Remove variable.
3840         [BZ #18532]
3841         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3842         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3843         (in6addr_loopback): Rename to __in6addr_loopback and define as
3844         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3845         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3846         libc_hidden_proto.
3847         (__in6addr_any): Likewise.
3848         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3849         in6addr_any.
3850         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3851         variable.
3852         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3854 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3856         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3857         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3858         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3859         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3860         redirections for pow.
3861         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3862         * sysdeps/x86_64/fpu/Versions: New versions added.
3863         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3864         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3865         build of SSE, AVX2 and AVX512 IFUNC versions.
3866         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3867         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3868         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3869         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3870         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3871         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3872         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3873         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3874         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3875         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3876         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3877         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3878         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3879         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3880         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3881         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3882         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3883         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3884         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3885         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3886         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3887         * NEWS: Mention addition of x86_64 vector pow.
3889         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3890         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3891         redirections for expf.
3892         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3893         * sysdeps/x86_64/fpu/Versions: New versions added.
3894         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3895         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3896         build of SSE, AVX2 and AVX512 IFUNC versions.
3897         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3898         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3899         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3900         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3901         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3902         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3903         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3904         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3905         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3906         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3907         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3908         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3909         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3910         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3911         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3912         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3913         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3914         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3915         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3916         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3917         * NEWS: Mention addition of x86_64 vector expf.
3919         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3920         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3921         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3922         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3923         redirections for exp.
3924         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3925         * sysdeps/x86_64/fpu/Versions: New versions added.
3926         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3927         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3928         build of SSE, AVX2 and AVX512 IFUNC versions.
3929         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3930         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3931         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3932         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3933         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3934         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3935         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3936         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3937         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3938         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3939         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3940         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3941         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3942         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3943         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3944         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3945         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3946         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3947         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3948         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3949         * NEWS: Mention addition of x86_64 vector exp.
3951         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3952         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3953         redirections for logf.
3954         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3955         * sysdeps/x86_64/fpu/Versions: New versions added.
3956         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3957         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3958         build of SSE, AVX2 and AVX512 IFUNC versions.
3959         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3960         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3961         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3962         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3963         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3964         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3965         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3966         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3967         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3968         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3969         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3970         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3971         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3972         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3973         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3974         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3975         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3976         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3977         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3978         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3979         * NEWS: Mention addition of x86_64 vector logf.
3981         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3982         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3983         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3984         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3985         redirections for log.
3986         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3987         * sysdeps/x86_64/fpu/Versions: New versions added.
3988         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3989         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3990         build of SSE, AVX2 and AVX512 IFUNC versions.
3991         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3992         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3993         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3994         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3995         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3996         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3997         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3998         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3999         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
4000         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
4001         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
4002         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
4003         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
4004         test.
4005         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4006         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4007         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4008         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4009         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4010         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4011         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4012         * NEWS: Mention addition of x86_64 vector log.
4014 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4016         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
4017         cfi_adjust_cfa_offset argument.
4018         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
4019         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
4021         [BZ #18034]
4022         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
4023         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
4024         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
4025         ordering using ldar.
4026         (_dl_tlsdesc_dynamic): Likewise.
4027         (_dl_tlsdesc_return_lazy): Likewise.
4028         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
4029         relaxed atomics instead of volatile and synchronize with release store.
4030         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
4031         volatile.
4032         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4034 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
4036         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4037         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
4038         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4039         * sysdeps/x86_64/fpu/Versions: New versions added.
4040         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4041         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4042         build of SSE, AVX2 and AVX512 IFUNC versions.
4043         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
4044         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
4045         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
4046         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
4047         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
4048         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
4049         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
4050         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
4051         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
4052         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
4053         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
4054         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
4055         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
4056         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4057         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4058         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4059         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4060         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4061         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4062         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4063         * NEWS: Mention addition of x86_64 vector sinf.
4065 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
4067         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
4068         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
4069         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
4070         Remove variable.
4071         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4072         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4074 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
4076         [BZ #18530]
4077         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
4078         strong alias of _IO_fputs.  Use libc_hidden_def.
4079         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
4080         and define as weak alias of __fputs_unlocked.  Use
4081         libc_hidden_weak.
4082         * include/stdio.h (__fputs_unlocked): Declare.  Use
4083         libc_hidden_proto.
4084         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
4085         fputs_unlocked.
4087         [BZ #18529]
4088         * resolv/netdb.h [__USE_POSIX]: Change condition to
4089         [__USE_XOPEN2K].
4090         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
4091         not expect.
4092         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
4093         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
4094         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
4095         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
4096         [XPG4 || UNIX98] (AI_ALL): Likewise.
4097         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
4098         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
4099         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
4100         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
4101         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
4102         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
4103         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
4104         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
4105         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
4106         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
4107         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
4108         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
4109         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
4110         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
4111         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
4112         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4113         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4114         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
4115         [XPG4 || UNIX98] (gai_strerror): Likewise.
4116         [XPG4 || UNIX98] (getaddrinfo): Likewise.
4117         [XPG4 || UNIX98] (getnameinfo): Likewise.
4119         [BZ #18528]
4120         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
4121         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
4122         __USE_XOPEN2K8].
4123         (getgrent): Likewise.
4124         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
4125         expect.
4126         [XPG3 || POSIX2008] (endgrent): Likewise.
4127         [XPG3] (setgrent): Likewise.
4128         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
4129         variable.
4130         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4132         [BZ #18527]
4133         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
4134         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
4135         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
4136         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4137         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
4138         * include/unistd.h (__getlogin_r): Declare.  Use
4139         libc_hidden_proto.
4140         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
4141         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
4142         variable.
4143         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4144         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4145         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4147 2015-06-12  Martin Sebor  <msebor@redhat.com>
4149         [BZ #18512]
4150         * Makerules (check-install-supported): New target.
4151         (install): Add check-install-supported as a dependency.
4152         * manual/install.texi (Installing the C Library): Document
4153         that overriding prefix and exec_prefix is not supported.
4154         Mention DESTDIR.
4155         * INSTALL: Regenerate from the above.
4157 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
4159         [BZ #18519]
4160         * posix/Versions (libc): Export __libc_pread at version
4161         GLIBC_PRIVATE.
4162         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
4163         instead of pread.
4164         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
4165         variable.
4167         [BZ #18522]
4168         * misc/efgcvt_r.c
4169         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
4170         (cvt_symbol): Use weak_alias instead of strong_alias.
4171         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
4172         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
4173         Remove variable.
4174         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4175         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4177         [BZ #18520]
4178         * inet/herrno.c (h_errno): Rename to __h_errno.
4179         (__libc_h_errno): Define as alias of __h_errno not h_errno.
4180         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
4181         to __h_errno instead of h_errno.
4182         * nptl/herrno.c (h_errno): Rename to __h_errno.
4183         (__h_errno_location): Refer to __h_errno not h_errno.
4184         * resolv/Versions (h_errno): Rename to __h_errno.
4185         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
4186         Remove variable.
4187         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4189 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
4191         * configure.ac: More strict check for AVX512 assembler support.
4192         * configure: Regenerated.
4194         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
4195         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
4196         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4197         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
4198         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4199         * sysdeps/x86_64/fpu/Versions: New versions added.
4200         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4201         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4202         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4203         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
4204         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
4205         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
4206         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
4207         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
4208         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
4209         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
4210         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
4211         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
4212         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
4213         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
4214         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
4215         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
4216         test.
4217         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4218         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4219         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4220         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4221         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4222         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4223         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4224         * NEWS: Mention addition of x86_64 vector sin.
4226 2015-06-11  Florian Weimer  <fweimer@redhat.com>
4228         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
4229         comment.
4231 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4233         [BZ #18479]
4234         * nptl/pt-interp.c: New file.
4235         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
4236         Add pt-interp.
4237         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
4238         $(common-objpfx)runtime-linker.h.
4240 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
4242         * Makeconfig (+interp): Remove unused variable.
4243         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
4244         only.  Depend on $(common-objpfx)runtime-linker.h instead of
4245         $(elf-objpfx)runtime-linker.h.
4246         ($(elf-objpfx)runtime-linker.h): Rename to
4247         $(common-objpfx)runtime-linker.h and move ...
4248         * Makerules [$(build-shared) = yes]: ... here.
4249         * elf/interp.c: Include <runtime-linker.h> instead of
4250         <elf/runtime-linker.h>.
4252 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4254         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
4255         (__gettimeofday_syscall): Remove vsyscall fallback.
4256         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
4257         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
4258         Add syscall fallback function.
4259         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
4260         if vDSO is not present.
4261         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
4262         fallback function.
4263         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
4264         present.
4265         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
4266         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4268 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
4270         [BZ #18497]
4271         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
4272         of wcscmp.
4273         (wcscmp): Define as weak alias of WCSCMP.
4274         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
4275         wcscoll.
4276         (USE_HIDDEN_DEF): Define.
4277         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
4278         __wcscoll.  Don't use libc_hidden_weak.
4279         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
4280         wcscmp.
4281         * sysdeps/i386/i686/multiarch/wcscmp-c.c
4282         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
4283         __GI_wcscmp.
4284         (weak_alias): Undefine and redefine.
4285         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
4286         __wcscmp and define as weak alias of __wcscmp.
4287         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
4288         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
4289         (__wcscoll): Likewise.
4290         (wcscmp): Don't use libc_hidden_proto.
4291         (wcscoll): Likewise.
4292         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
4293         wcscoll.
4294         * posix/regexec.c (check_node_accept_bytes): Likewise.
4295         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
4296         variable.
4297         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4298         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4300         [BZ #18507]
4301         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
4302         __fstatvfs and define as weak alias of __fstatvfs.  Use
4303         libc_hidden_weak.
4304         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
4305         and define as weak alias of __statvfs.  Use libc_hidden_weak.
4306         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
4307         Define as alias of __fstatvfs, not fstatvfs.
4308         (fstatvfs64): Likewise.
4309         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
4310         Define as alias of __statvfs, not statvfs.
4311         (statvfs64): Likewise.
4312         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
4313         Remove variable.
4315 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4318         (HAVE_GETCPU_VSYSCALL): Define.
4319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4320         (HAVE_GETCPU_VSYSCALL): Likewise.
4321         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
4322         * sysdeps/unix/sysv/linux/sched_getcpu.c
4323         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
4324         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
4325         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
4326         prototype.
4327         * sysdeps/unix/sysv/linux/x86_64/init-first.c
4328         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
4329         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
4330         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
4331         Define.
4332         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
4333         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4334         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
4335         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4337 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
4339         * sysdeps/x86_64/fpu/Makefile: New file.
4340         * sysdeps/x86_64/fpu/Versions: New file.
4341         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
4342         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
4343         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
4344         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
4345         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
4346         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
4347         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
4348         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
4349         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
4350         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
4351         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
4352         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
4353         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
4354         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4355         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4356         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
4357         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
4358         * sysdeps/x86_64/configure.ac: Options for libmvec build.
4359         * sysdeps/x86_64/configure: Regenerated.
4360         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
4361         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
4362         * manual/install.texi (Configuring and compiling): Document
4363         --disable-mathvec.
4364         * INSTALL: Regenerated.
4365         * NEWS: Mention addition of libmvec and x86_64 vector cos.
4367         * math/Makefile: Added rules for vector tests.
4368         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
4369         declaration under condition.
4370         * math/test-double-vlen2.h: New file.
4371         * math/test-double-vlen4.h: New file.
4372         * math/test-double-vlen8.h: New file.
4373         * math/test-vec-loop.h: Added initialization macro.
4374         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
4375         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
4376         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
4377         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
4378         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
4379         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
4380         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
4381         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
4382         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
4383         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
4384         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
4386         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4387         * sysdeps/x86_64/fpu/Versions: New versions added.
4388         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
4389         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
4390         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
4391         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
4392         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
4393         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
4394         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
4395         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
4396         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
4397         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
4398         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
4399         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
4400         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
4401         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4402         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4403         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4404         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
4405         * NEWS: Mention addition of x86_64 vector cosf.
4407         * math/Makefile: Added CFLAGS for new tests.
4408         * math/test-float-vlen16.h: New file.
4409         * math/test-float-vlen4.h: New file.
4410         * math/test-float-vlen8.h: New file.
4411         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
4412         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
4413         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4414         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
4415         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
4416         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
4417         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
4418         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
4419         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
4420         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
4421         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
4423 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
4425         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
4426         * locale/programs/ld-ctype.c: Likewise.
4428 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
4430         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
4431         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
4432         bit_ZMM16_31_state): New macro.
4433         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4434         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
4436 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
4438         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
4440 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
4442         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
4444 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
4446         [BZ #18498]
4447         * libio/memstream.c (open_memstream): Rename to __open_memstream
4448         and define as weak alias of __open_memstream.
4449         * include/stdio.h (__open_memstream): Declare.  Use
4450         libc_hidden_proto.
4451         (open_memstream): Don't use libc_hidden_proto.
4452         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
4453         open_memstream.
4454         * posix/getopt.c (_getopt_internal_r): Likewise.
4455         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
4456         variable.
4457         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4458         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4459         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4461         [BZ #18496]
4462         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
4463         instead of wcrtomb.
4465         [BZ #18483]
4466         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
4467         [__USE_XOPEN2K8].  Remove redundant #endif.
4468         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
4469         Remove redundant #if.
4470         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
4471         Remove variable.
4472         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4473         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4475         [BZ #18495]
4476         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
4477         (__iswlower): Likewise.
4478         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
4479         (__iswlower): Likewise.
4480         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
4481         instead of towlower.
4482         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
4483         instead of iswlower.  Call __towupper instead of towupper.
4484         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
4485         instead of iswalnum.
4487 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4489         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
4490         errors to stderr.
4492 2015-06-05  Florian Weimer  <fweimer@redhat.com>
4494         [BZ #15661]
4495         [BZ #17322]
4496         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4497         Check for overflow properly.  Check for O_APPEND.  Ignore large
4498         file system block sizes.  Add comments about problems.
4499         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
4500         * manual/filesys.texi (Storage Allocation): New node.
4502 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4504         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
4505         cancellable syscalls.
4506         (SYS_ify): Add guard to no redefine it.
4507         (INLINE_SYSCALL): Likewise.
4508         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
4509         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
4510         SYSCALL_CANCEL instead.
4511         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
4512         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4513         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4514         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4515         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4516         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
4517         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
4518         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
4519         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4520         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4521         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
4522         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
4523         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
4524         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
4525         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
4526         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4527         Likewise.
4528         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4529         (__libc_pread64): Likewise.
4530         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
4531         (__libc_preadv): Likewise.
4532         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
4533         (__libc_readv64): Likewise.
4534         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4535         (__libc_pwrite): Likewise.
4536         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4537         (__libc_pwrite64): Likewise.
4538         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
4539         (__libc_pwritev): Likewise.
4540         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
4541         (__libc_pwritev64): Likewise.
4542         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
4543         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4544         (sync_file_range): Likewise.
4545         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
4546         Likewise.
4547         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
4548         Likewise.
4549         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4550         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4551         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4552         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4553         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4554         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4555         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4556         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
4557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4558         Likewise.
4559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4560         (__libc_read64): Likewise.
4561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
4562         Likewise.
4563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
4564         Likewise.
4565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
4566         Likewise.
4567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
4568         Likewise.
4569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4570         (__libc_pread64): Likewise.
4571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
4572         Likewise.
4573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4574         (__libc_pwrite64): Likewise.
4575         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
4576         (sync_file_range): Likewise.
4577         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
4578         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4579         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4580         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
4581         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
4582         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4583         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4584         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
4585         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
4586         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4587         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4588         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4589         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4590         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4591         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
4592         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4593         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4594         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4595         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4596         Likewise.
4597         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
4598         Likewise.
4599         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
4600         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
4601         Likewise.
4602         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
4603         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
4604         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
4605         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
4606         Likewise.
4607         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
4608         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
4609         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
4610         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
4611         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
4613 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
4615         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
4616         Include dl-vdso.
4617         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
4618         Use VDSO routines for gettimeofday, clock_gettime if
4619         available.
4620         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
4621         Declare VDSO symbols.
4622         * sysdeps/unix/sysv/linux/arm/sysdep.h:
4623         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
4624         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4625         * sysdeps/unix/sysv/linux/arm/Versions: Add
4626         __vdso_clock_gettime.
4628 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4630         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
4631         be an inline implementation regardless of library is built within.
4632         (open_not_cancel_2): Likewise.
4633         (__read_nocancel): Likewise.
4634         (__write_nocancel): Likewise.
4635         (openat_not_cancel): Likewise.
4636         (openat_not_cancel_3): Likewise.
4637         (openat64_not_cancel): Likewise.
4638         (openat64_not_cancel_3): Likewise.
4639         (__close_nocancel): Likewise.
4640         (pause_not_cancel): Likewise.
4641         (nanosleep_not_cancel): Likewise.
4642         (sigsuspend_not_cancel): Likewise.
4644 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4646         [BZ #14958]
4647         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
4648         wake-up.
4649         (__pthread_rwlock_rdlock_slow): Likewise.
4650         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4651         Likewise.
4652         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4653         Likewise.
4654         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
4655         * nptl/tst-rwlock16.c: New file.
4656         * nptl/Makefile (tests): Add new test.
4658 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4660         [BZ #18324]
4661         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
4662         missing wake-up of readers.
4663         * nptl/tst-rwlock15.c: New file.
4664         * nptl/Makefile (tests): Add new test.
4666 2015-06-03  Roland McGrath  <roland@hack.frob.com>
4668         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
4669         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4670         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4671         and __nacl_supply_interface_rtld.
4672         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4673         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4674         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4675         Add __nacl_supply_interface_rtld.
4676         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4678 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4680         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4681         isfinite.
4682         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4683         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4685 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4687         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4688         __signbit* with standard C99 macros.
4689         * math/e_exp10l.c: Likewise.
4690         * math/e_exp2l.c: Likewise.
4691         * math/e_scalb.c: Likewise.
4692         * math/e_scalbf.c: Likewise.
4693         * math/e_scalbl.c: Likewise.
4694         * math/s_ldexp.c: Likewise.
4695         * math/s_ldexpf.c: Likewise.
4696         * math/s_ldexpl.c: Likewise.
4697         * math/w_atan2.c: Likewise.
4698         * math/w_atan2f.c: Likewise.
4699         * math/w_atan2l.c: Likewise.
4700         * math/w_cosh.c: Likewise.
4701         * math/w_coshf.c: Likewise.
4702         * math/w_coshl.c: Likewise.
4703         * math/w_exp10.c: Likewise.
4704         * math/w_exp10f.c: Likewise.
4705         * math/w_exp10l.c: Likewise.
4706         * math/w_exp2.c: Likewise.
4707         * math/w_exp2f.c: Likewise.
4708         * math/w_exp2l.c: Likewise.
4709         * math/w_fmod.c: Likewise.
4710         * math/w_fmodf.c: Likewise.
4711         * math/w_fmodl.c: Likewise.
4712         * math/w_hypot.c: Likewise.
4713         * math/w_hypotf.c: Likewise.
4714         * math/w_hypotl.c: Likewise.
4715         * math/w_jnl.c: Likewise.
4716         * math/w_lgamma.c: Likewise.
4717         * math/w_lgamma_r.c: Likewise.
4718         * math/w_lgammaf.c: Likewise.
4719         * math/w_lgammaf_r.c: Likewise.
4720         * math/w_lgammal.c: Likewise.
4721         * math/w_lgammal_r.c: Likewise.
4722         * math/w_pow.c: Likewise.
4723         * math/w_powf.c: Likewise.
4724         * math/w_powl.c: Likewise.
4725         * math/w_remainder.c: Likewise.
4726         * math/w_remainderf.c: Likewise.
4727         * math/w_remainderl.c: Likewise.
4728         * math/w_scalb.c: Likewise.
4729         * math/w_scalbf.c: Likewise.
4730         * math/w_scalbl.c: Likewise.
4731         * math/w_scalbln.c: Likewise.
4732         * math/w_scalblnf.c: Likewise.
4733         * math/w_scalblnl.c: Likewise.
4734         * math/w_sinh.c: Likewise.
4735         * math/w_sinhf.c: Likewise.
4736         * math/w_sinhl.c: Likewise.
4737         * math/w_tgamma.c: Likewise.
4738         * math/w_tgammaf.c: Likewise.
4739         * math/w_tgammal.c: Likewise.
4740         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4741         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4742         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4743         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4744         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4745         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4746         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4747         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4748         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4749         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4750         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4751         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4752         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4753         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4754         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4755         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4756         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4757         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4758         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4759         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4760         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4761         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4762         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4763         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4764         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4765         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4766         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4767         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4768         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4769         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4770         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4771         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4772         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4773         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4774         * stdio-common/printf_fp.c: Likewise.
4775         * stdio-common/printf_fphex.c: Likewise.
4776         * stdio-common/printf_size.c: Likewise.
4778 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4780         [BZ #18470]
4781         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4782         strnlen.
4783         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4784         Remove variable.
4785         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4786         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4787         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4788         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4789         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4790         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4791         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4792         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4793         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4794         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4796         [BZ #18468]
4797         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4798         weak alias of __wmemchr.  Use libc_hidden_weak.
4799         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4800         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4801         instead of wmemchr.
4803 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4805         [BZ #18383]
4806         * elf/tst-tlsalign-extern.c: New file.
4807         * elf/tst-tlsalign-extern-static.c: New file.
4808         * elf/tst-tlsalign-vars.c: New file.
4809         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4810         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4811         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4812         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4813         (test-xfail-tst-tlsalign-extern-static): New variable.
4815 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4817         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4818         Use variable name _sc_err instead of err.
4819         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4820         instead of ret.
4821         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4822         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4823         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4824         (INLINE_SYSCALL): Likewise.
4826         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4827         * include/string.h (__strnlen): Use libc_hidden_proto.
4828         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4829         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4830         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4831         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4832         (libc_hidden_def): Undefine and redefine.
4833         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4834         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4835         __GI_strnlen.
4836         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4837         libc_hidden_def.
4838         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4840         [BZ #18469]
4841         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4842         weak alias of __towlower.  Use libc_hidden_weak.
4843         (towupper): Rename to __towupper and define as weak alias of
4844         __towupper.  Use libc_hidden_weak.
4845         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4846         (__towupper): Likewise.
4847         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4848         __towlower instead of towlower.
4850 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4852         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4853         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4855 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4857         * sysdeps/aarch64/libm-test-ulps: Update.
4859 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4861         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4862         Define.
4863         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4864         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4865         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4866         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4867         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4868         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4869         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4871 2015-06-01  Martin Sebor  <msebor@redhat.com>
4873         [BZ #18116]
4874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4875         (__setcontext): Use extended four-operand version of mtsf whenever
4876         possible.
4877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4878         (__novec_swapcontext): Likewise.
4880 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4882         * benchtests/scripts/compare_bench.py: New file.
4883         * benchtests/scripts/import_bench.py (mean): New function.
4884         (split_list): Likewise.
4885         (do_for_all_timings): Likewise.
4886         (compress_timings): Likewise.
4888         * benchtests/scripts/import_bench.py: New file.
4889         * benchtests/scripts/validate_benchout.py: Import import_bench
4890         instead of jsonschema.
4891         (validate_bench): Remove function.
4892         (main): Use import_bench.
4894 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4896         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4897         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4899 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4903 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4905         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4906         set THREAD_SELF->tid to a magic value and futex-wake it.
4907         Pass its address to the thread_exit system call.
4908         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4909         bit is clear.
4910         * sysdeps/nacl/lowlevellock.h: New file.
4911         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4913         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4914         Add TIMEOUT to current time, don't subtract it.
4916 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4918         [BZ #2981]
4919         [BZ #18422]
4920         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4921         ($(objpfx)tst-audit2.out): Also depend on
4922         $(objpfx)tst-auditmod9b.so.
4923         * elf/tst-audit2.c: Include <dlfcn.h>.
4924         (calloc_called): New.
4925         (calloc): Allow to be called more than once.
4926         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4928 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4930         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4931         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4933 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4935         * stdlib/monetary.h: Fix comment.
4937 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4939         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4940         Avoid using variables in #defines that might cause shadowing.
4941         (INTERNAL_VSYSCALL_CALL): Likewise.
4943 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4945         * sysdeps/nacl/lll_timedlock_wait.c: New file.
4947         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4948         * nptl/lll_timedlock_wait.c: ... to this new file.
4949         * nptl/Makefile (libpthread-routines): Add it.
4950         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4951         * nptl/lll_timedwait_tid.c: ... to this new file.
4952         * nptl/Makefile (libpthread-routines): Add it.
4953         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4954         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4955         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4956         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4957         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4958         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4959         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4960         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4961         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4962         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4964 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4966         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4967         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4968         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4969         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4970         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4971         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4972         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4973         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4974         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4975         * sysdeps/unix/sysv/linux/tile/sysdep.h
4976         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4977         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4978         using vDSO syscall macro.
4980 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4982         [BZ #17293]
4983         * uk_UA: Fix sorting order for Ukrainian locale
4985 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4987         * stdlib/monetary.h: Fix comment.
4989 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4991         [BZ #18234]
4992         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4993         st_mtim and st_ctim members.
4994         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4995         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4996         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4997         (struct stat64): Likewise.
4998         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4999         (struct stat64): Likewise.
5000         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
5001         (struct stat64): Likewise.
5003 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5005         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
5006         Define and include sysdep-vdso.h.
5007         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
5008         Likewise.
5009         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
5010         Likewise.
5011         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
5012         Define with VDSO_SYMBOL and use PTR_MANGLE.
5013         (__vdso_clock_gettime): Likewise.
5014         (__vdso_clock_getres): Likewise.
5015         (_libc_vdso_platform_setup): Likewise.
5016         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5017         Likewise.
5018         (_libc_vdso_platform_setup): Likewise.
5019         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
5020         Likewise.
5021         (__vdso_clock_gettime): Likewise.
5022         (__vdso_clock_getres): Likewise.
5023         (__vdso_get_tbfreq): Likewise.
5024         (__vdso_getcpu): Likewise.
5025         (__vdso_time): Likewise.
5026         (__vdso_sigtramp_rt64): Likewise.
5027         (__vdso_signtramp32): Likewise.
5028         (__vdso_sigtramp_rt32): Likewise.
5029         (_libc_vdso_platform_setup): Likewise.
5030         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
5031         Likewise.
5032         (__vdso_clock_gettime): Likewise.
5033         (__vdso_clock_getres): Likewise.
5034         (_libc_vdso_platform_setup): Likewise.
5035         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
5036         Likewise.
5037         (__vdso_clock_gettime): Likewise.
5038         (_libc_vdso_platform_setup): Likewise.
5039         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5040         Likewise.
5041         (__vdso_getcpu): Likewise.
5042         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
5043         Use VDSO_SYMBOL macro to define.
5044         (__vdso_clock_gettime): Likewise.
5045         (__vdso_clock_getres): Likewise.
5046         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
5047         Likewise.
5048         (__vdso_clock_gettime): Likewise.
5049         (__vdso_clock_getres): Likewise.
5050         (__vdso_get_tbfreq): Likewise.
5051         (__vdso_getcpu): Likewise.
5052         (__vdso_time): Likewise.
5053         (__vdso_sigtramp_rt64): Likewise.
5054         (__vdso_signtramp32): Likewise.
5055         (__vdso_sigtramp_rt32): Likewise.
5056         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
5057         Likewise.
5058         (__vdso_clock_gettime): Likewise.
5059         (__vdso_clock_getres): Likewise.
5060         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
5061         Likewise.
5062         (__vdso_clock_gettime): Likewise.
5063         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5064         Likewise.
5065         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
5066         macro.
5067         (INTERNAL_VSYSCALL): Likewise.
5068         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
5069         Remove macro.
5070         (INTERNAL_VSYSCALL): Likewise.
5071         (INTERNAL_VSYSCALL_NCS): Likewise.
5072         (INTERNAL_VSYSCALL_CALL): New macro.
5073         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5074         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
5075         Likewise.
5076         (INTERNAL_VSYSCALL): Likewise.
5077         (INTERNAL_VSYSCALL_NCS): Likewise.
5078         (INTERNAL_VSYSCALL_CALL): New macro.
5079         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5081         (INLINE_VSYSCALL): Remove macro.
5082         (INTERNAL_VSYSCALL): Remove macro.
5083         (INTERNAL_VSYSCALL_NCS): Remove macro.
5084         (INTERNAL_VSYSCALL_CALL): New macro.
5085         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
5086         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
5087         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5088         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
5089         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5091         (INLINE_VSYSCALL): Remove macro.
5092         (INTERNAL_VSYSCALL): Likewise.
5093         (INTERNAL_VSYSCALL_NCS): Likewise.
5094         (INTERNAL_VSYSCALL_CALL): New macro.
5095         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
5096         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
5097         PTR_DEMANGLE on vDSO pointer.
5098         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5099         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
5100         macro.
5101         (INTERNAL_SYSCALL): Likewise.
5102         (INTERNAL_VSYSCALL_NCS): Remove macro.
5103         (INTERNAL_VSYSCALL_CALL): New macro.
5104         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
5105         Remove macro.
5106         (INTERNAL_VSYSCALL): Likewise.
5107         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
5108         sysdep-vdso.h instead of libc-vdso.h.
5109         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
5110         definition.
5111         (INLINE_VSYSCALL): Likewise.
5112         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
5113         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
5114         definition.
5115         (INLINE_VSYSCALL): Likewise.
5116         (INTERNAL_VSYSCALL): Likewise.
5117         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5118         * sysdeps/unix/sysv/linux/timespec_get.c
5119         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5120         (timespec_get): Use ANSI prototype.
5121         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
5122         and definition for Linux.
5124 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
5126         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
5127         * include/libc-symbols.h: libmvec_hidden_* macro series added.
5129 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
5131         [BZ #2981]
5132         [BZ #18410]
5133         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
5134         for missing DT_PLTRELSZ.
5136 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
5138         Remove obsolete aliases that broke 'locale -a'
5139         [BZ #18412]
5140         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
5141         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
5142         breaking some applications that use 'locale -a' output.
5143         Change the encoding of this file from Latin-1 to ASCII to avoid
5144         other potential problems with people grepping this file.
5146 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5148         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
5149         -fasynchronous-unwind-tables.
5150         (CFLAGS-sendto.c): Likewise.
5151         (CFLAGS-sendmsg.c): Likewise.
5152         (CFLAGS-connect.c): Likewise.
5153         (CFLAGS-recvmsg.c): Likewise.
5154         (CFLAGS-recvfrom.c): Likewise.
5155         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
5156         (SOCKETCALL): New macro: non-cancellable socketcall.
5157         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
5158         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
5159         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
5160         * sysdeps/unix/sysv/linux/accept.c: New file.
5161         * sysdeps/unix/sysv/linux/bind.c: Likewise.
5162         * sysdeps/unix/sysv/linux/connect.c: Likewise.
5163         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
5164         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
5165         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
5166         * sysdeps/unix/sysv/linux/listen.c: Likewise.
5167         * sysdeps/unix/sysv/linux/recv.c: Likewise.
5168         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
5169         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5170         * sysdeps/unix/sysv/linux/send.c: Likewise.
5171         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5172         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
5173         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
5174         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
5175         * sysdeps/unix/sysv/linux/socket.c: Likewise.
5176         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
5177         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
5178         prototype.
5179         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
5180         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5181         instead of __internal_xxx function.
5182         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
5183         prototype.
5184         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
5185         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5186         instead of __internal_xxx function.
5187         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
5188         prototype.
5189         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
5190         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5191         instead of __internal_xxx function.
5192         * sysdeps/unix/sysv/linux/accept.S: Remove file.
5193         * sysdeps/unix/sysv/linux/bind.S: Likewise.
5194         * sysdeps/unix/sysv/linux/connect.S: Likewise.
5195         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
5196         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
5197         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
5198         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
5199         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
5200         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
5201         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
5202         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
5203         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5204         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
5205         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
5206         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
5207         * sysdeps/unix/sysv/linux/listen.S: Likewise.
5208         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
5209         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
5210         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
5211         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
5212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
5213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
5214         * sysdeps/unix/sysv/linux/recv.S: Likewise.
5215         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5216         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5217         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
5218         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5219         * sysdeps/unix/sysv/linux/send.S: Likewise.
5220         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5221         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5222         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
5223         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
5224         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
5225         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
5226         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
5227         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
5228         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
5229         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
5230         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
5231         socketcall is implemented in GLIBC.
5233 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5235         * soft-fp/fmadf4.c: Include <libc-internal.h>.
5236         (__fma): Ignore uninitialized warnings around packing.
5237         * soft-fp/fmasf4.c: Include <libc-internal.h>.
5238         (__fmaf): Ignore uninitialized warnings around packing.
5239         * soft-fp/fmatf4.c: Include <libc-internal.h>.
5240         (__fmal): Ignore uninitialized warnings around packing.
5242         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
5243         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5244         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
5245         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5247         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
5248         switch statement into default case.
5249         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
5251         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
5252         a conditional in forcing "inexact".
5253         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5254         Likewise.
5256 2015-05-22  Roland McGrath  <roland@hack.frob.com>
5258         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5259         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
5260         for each INTERNAL_SYSCALL use.
5262 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5264         [BZ #438]
5265         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
5266         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
5267         variable.
5269         [BZ #18444]
5270         * string/basename.c (basename): Rename to __basename and define as
5271         weak alias of __basename.  Use libc_hidden_weak.
5272         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
5273         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
5274         __basename instead of basename.
5275         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
5276         Remove variable.
5277         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5279 2015-05-18  Florian Weimer  <fweimer@redhat.com>
5281         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
5282         (_IO_JUMPS_FILE_plus): New.
5283         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
5284         _IO_CAST_FIELD_ACCESS.
5285         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
5286         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
5287         * libio/freopen.c (freopen): Likewise.
5288         * libio/freopen64.c (freopen64): Likewise.
5289         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
5290         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
5291         * libio/iofwide.c (_IO_fwide): Likewise.
5292         * libio/memstream.c (open_memstream): Likewise.
5293         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5294         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5295         * libio/oldiopopen.c (_IO_old_popen): Likewise.
5297 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
5299         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
5300         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
5301         NADJ.
5302         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
5303         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
5304         NADJ.
5305         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
5306         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
5307         NADJ.
5309         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
5310         (p == 4) case.
5312         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
5313         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
5314         Remove variable.
5315         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5316         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5317         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5319 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5321         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
5322         Adjust jump table label generation macros.
5324 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5326         * stdio-common/vfprintf.c (vfprintf): Move local variables
5327         args_malloced, specs, specs_malloced, and the code after
5328         do_positional to the printf_positional function.
5329         (printf_positional): New function.
5331 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5333         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
5334         function.
5335         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
5336         STEP4_TABLE, process_arg): Move macro definitions
5337         out of the vfprintf function.  (Cosmetic change only.)
5339 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
5341         * benchtests/Makefile (stdio-common-bench): Define.
5342         (benchset): Add stdio-common-bench.
5343         * sprintf-inputs: New file.
5344         * sprintf-source.c: New file.
5346 2015-05-21  Andreas Schwab  <schwab@suse.de>
5348         [BZ #13028]
5349         [BZ #17053]
5350         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
5351         of struct __res_state.
5352         * resolv/res_send.c (__libc_res_nsend): Likewise.
5353         (get_nsaddr): New function.
5354         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
5355         statp directly.
5357 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
5359         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
5360         -D_POSIX_C_SOURCE=199506L.
5362         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
5364         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
5365         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
5366         Do not mention otherwise.
5367         [POSIX] (_XOPEN_VERSION): Do not expect.
5368         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
5369         [POSIX] (_POSIX2_C_BIND): Likewise.
5370         [POSIX] (_POSIX2_VERSION): Likewise.
5371         [POSIX] (_XOPEN_XPG2): Likewise.
5372         [POSIX] (_XOPEN_XPG3): Likewise.
5373         [POSIX] (_XOPEN_XPG4): Likewise.
5374         [POSIX] (_XOPEN_UNIX): Likewise.
5375         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
5376         [POSIX] (_POSIX_BARRIERS): Likewise.
5377         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
5378         [POSIX] (_POSIX_CPUTIME): Likewise.
5379         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
5380         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
5381         [POSIX] (_POSIX_SHELL): Likewise.
5382         [POSIX] (_POSIX_SPAWN): Likewise.
5383         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
5384         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
5385         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
5386         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
5387         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
5388         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
5389         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
5390         [POSIX] (_XBS5_LP64_OFF64): Likewise.
5391         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
5392         [POSIX] (_POSIX_TIMEOUTS): Likewise.
5393         [POSIX] (_POSIX2_PBS): Likewise.
5394         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
5395         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
5396         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
5397         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
5398         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
5399         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
5400         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
5401         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
5402         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
5403         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
5404         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
5405         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
5406         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
5407         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
5408         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
5409         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
5410         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
5411         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
5412         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
5413         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
5414         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
5415         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
5416         [POSIX] (_SC_2_C_BIND): Likewise.
5417         [POSIX] (_SC_2_C_VERSION): Likewise.
5418         [POSIX] (_SC_2_PBS): Likewise.
5419         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
5420         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
5421         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
5422         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
5423         [POSIX] (_SC_2_PBS_TRACK): Likewise.
5424         [POSIX] (_SC_ATEXIT_MAX): Likewise.
5425         [POSIX] (_SC_BARRIERS): Likewise.
5426         [POSIX] (_SC_BASE): Likewise.
5427         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
5428         [POSIX] (_SC_DEVICE_IO): Likewise.
5429         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
5430         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
5431         [POSIX] (_SC_FD_MGMT): Likewise.
5432         [POSIX] (_SC_FIFO): Likewise.
5433         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
5434         [POSIX] (_SC_FILE_LOCKING): Likewise.
5435         [POSIX] (_SC_FILE_SYSTEM): Likewise.
5436         [POSIX] (_SC_IOV_MAX): Likewise.
5437         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
5438         [POSIX] (_SC_NETWORKING): Likewise.
5439         [POSIX] (_SC_PAGE_SIZE): Likewise.
5440         [POSIX] (_SC_PASS_MAX): Likewise.
5441         [POSIX] (_SC_PIPE): Likewise.
5442         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
5443         [POSIX] (_SC_REGEXP): Likewise.
5444         [POSIX] (_SC_SHELL): Likewise.
5445         [POSIX] (_SC_SIGNALS): Likewise.
5446         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
5447         [POSIX] (_SC_SPIN_LOCKS): Likewise.
5448         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
5449         [POSIX] (_SC_USER_GROUPS): Likewise.
5450         [POSIX] (_SC_USER_GROUPS_R): Likewise.
5451         [POSIX] (_SC_STREAMS): Likewise.
5452         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
5453         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
5454         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
5455         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
5456         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
5457         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
5458         [POSIX] (_PC_FILESIZEBITS): Likewise.
5459         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
5460         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
5461         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
5462         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
5463         [POSIX] (uid_t): Likewise.
5464         [POSIX] (gid_t): Likewise.
5465         [POSIX] (off_t): Likewise.
5466         [POSIX] (pid_t): Likewise.
5467         [POSIX] (cuserid): Allow.
5468         (_SC_2_CHAR_TERM): Require constant.
5469         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
5470         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
5471         variable.
5473 2015-05-20  Roland McGrath  <roland@hack.frob.com>
5475         * sysdeps/nacl/pthread-pids.h: New file.
5476         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
5477         (create_thread): Use __nacl_get_tid to initialize PD->tid.
5479         * nptl/pthread-pids.h: New file.
5480         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
5481         * nptl/nptl-init.c: Include <pthread-pids.h>.
5482         (__pthread_initialize_minimal_internal):
5483         Call __pthread_initialize_pids instead of set_tid_address syscall.
5485         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
5486         * sysdeps/posix/usleep.c: ... here.
5488 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5490         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
5491         call_pselect6 object.
5492         [$(subdir) = io]: Remove call_sync_file_range object.
5493         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
5494         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
5495         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
5496         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
5498 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
5500         * math/s_cproj.c: Add include "math_private.h".
5501         * math/s_cprojf.c: Likewise.
5502         * math/s_cprojl.c: Likewise.
5504 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
5506         [BZ #18244]
5507         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
5508         high mantissa bit when testing whether P is a NaN.
5509         * math/libm-test.inc (remainder_test_data): Add more tests.
5510         (remquo_test_data): Likewise.
5512         [BZ #18049]
5513         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
5514         below -32, return the argument, with underflow if subnormal.
5515         * math/auto-libm-test-in: Add more tests of atanh.
5516         * math/auto-libm-test-out: Regenerated.
5518 2015-05-19  Roland McGrath  <roland@hack.frob.com>
5520         [BZ #18434]
5521         * nptl/tst-sem15.c: New file.
5522         * nptl/Makefile (tests): Add it.
5523         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
5524         s/<</>>/ to fix typo in EOVERFLOW check.
5525         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
5527 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5529         * manual/strings.texi (envz_remove): Fix typo in safety
5530         annotations.
5532 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
5533             Steve Ellcey  <sellcey@imgtec.com>
5535         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
5536         in order to avoid strict alias warnings.
5537         (iruserok_af): Ditto for ra.
5539 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
5541         [BZ #17581]
5542         * malloc/hooks.c
5543         (magicbyte): Convert to a function and avoid returning 0x01.
5544         (mem2mem_check): Avoid using a length byte equal to the magic byte.
5545         (mem2chunk_check): Fix unsigned comparisons to zero.
5546         Hoist defs of sz and magic.
5548 2015-05-19  Richard Henderson  <rth@redhat.com>
5550         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
5552         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5554 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5556         [BZ #16159]
5557         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
5558         * malloc/arena.c (arena_lock): Check if arena is corrupt.
5559         (reused_arena): Find a non-corrupt arena.
5560         (heap_trim): Pass arena to unlink.
5561         * malloc/hooks.c (malloc_check_get_size): Pass arena to
5562         malloc_printerr.
5563         (top_check): Likewise.
5564         (free_check): Likewise.
5565         (realloc_check): Likewise.
5566         * malloc/malloc.c (malloc_printerr): Add arena argument.
5567         (unlink): Likewise.
5568         (munmap_chunk): Adjust.
5569         (ARENA_CORRUPTION_BIT): New macro.
5570         (arena_is_corrupt): Likewise.
5571         (set_arena_corrupt): Likewise.
5572         (sysmalloc): Use mmap if there are no usable arenas.
5573         (_int_malloc): Likewise.
5574         (__libc_malloc): Don't fail if arena_get returns NULL.
5575         (_mid_memalign): Likewise.
5576         (__libc_calloc): Likewise.
5577         (__libc_realloc): Adjust for additional argument to
5578         malloc_printerr.
5579         (_int_free): Likewise.
5580         (malloc_consolidate): Likewise.
5581         (_int_realloc): Likewise.
5582         (_int_memalign): Don't touch corrupt arenas.
5583         * malloc/tst-malloc-backtrace.c: New test case.
5585         * Makefile (summarize-tests): Fix return value on success.
5587         * manual/string.texi (Envz Functions): Add envz_remove.
5589 2015-05-18  Roland McGrath  <roland@hack.frob.com>
5591         * sysdeps/posix/opendir.c: Include <stdbool.h>.
5592         (invalid_name): New function, broken out of ...
5593         (__opendirat): ... here.  Call it.
5594         (need_isdir_precheck): New function, broken out of ...
5595         (__opendirat): ... here.  Call it.
5596         Use __fxstatat64, not __xstatat64.
5597         (opendir_oflags): New function, broken out of ...
5598         (__opendirat): ... here.  Call it.
5599         (opendir_tail): New function, broken out of ...
5600         (__opendirat): ... here.  Call it.
5601         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
5602         opendir_tail, rather than punting to __opendirat.
5603         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
5605 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5607         * .gitignore: Ignore generated *.pyc.
5609 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
5611         * include/stdio.h: Define __need_wint_t.
5612         * test-skeleton.c: Avoid `for' loop initial declaration.
5613         * nptl/tst-initializers1.c: Use test-skeleton.c.
5615 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5617         [BZ #18418]
5618         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
5620 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5622         [BZ #16352]
5623         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
5624         (__ieee754_atanh): Force underflow exception for results with
5625         small absolute value.
5626         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
5627         (__ieee754_atanhf): Force underflow exception for results with
5628         small absolute value.
5629         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
5630         (__ieee754_atanh): Force underflow exception for results with
5631         small absolute value.
5632         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
5633         (__ieee754_atanhf): Force underflow exception for results with
5634         small absolute value.
5635         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
5636         (__ieee754_atanhl): Force underflow exception for results with
5637         small absolute value.
5638         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
5639         (__ieee754_atanhl): Force underflow exception for results with
5640         small absolute value.
5641         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
5642         (__ieee754_atanhl): Force underflow exception for results with
5643         small absolute value.
5644         * math/auto-libm-test-in: Do not allow missing underflow
5645         exceptions from atanh.
5646         * math/auto-libm-test-out: Regenerated.
5648         [BZ #18221]
5649         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
5650         2**-28 as threshold for returning x or +/- 1/x.
5651         * math/auto-libm-test-in: Add more tests of tan.
5652         * math/auto-libm-test-out: Regenerated.
5654         [BZ #18220]
5655         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5656         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
5657         * math/auto-libm-test-in: Add another test of lgamma.
5658         * math/auto-libm-test-out: Regenerated.
5660 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
5662         * stdio-common/printf_fp.c (___printf_fp): Use abs.
5663         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
5664         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
5665         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
5666         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
5667         (ADD2A): Use fabs.  (SUB2A): Use fabs.
5668         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
5669         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5670         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5671         (log1): Use fabs.  (my_log2): Use fabs.
5672         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5673         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5674         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5675         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5676         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5677         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
5678         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
5679         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
5680         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
5681         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5682         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5684 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5686         [BZ #18217]
5687         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5688         as threshold for returning 1 - x.
5689         * math/auto-libm-test-in: Add more tests of erfc.
5690         * math/auto-libm-test-out: Regenerated.
5692 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
5694         [BZ #18196]
5695         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5696         threshold for large arguments.
5697         * math/auto-libm-test-in: Add another test of atan.
5698         * math/auto-libm-test-out: Regenerated.
5700         [BZ #16339]
5701         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5702         (__log1p): Force underflow exception for results with small
5703         absolute value.
5704         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5705         (__log1pf): Force underflow exception for results with small
5706         absolute value.
5707         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5708         (__log1p): Force underflow exception for results with small
5709         absolute value.
5710         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5711         (__log1pf): Force underflow exception for results with small
5712         absolute value.
5713         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5714         (__log1pl): Force underflow exception for results with small
5715         absolute value.
5716         * math/auto-libm-test-in: Do not allow missing underflow
5717         exceptions from log1p.
5718         * math/auto-libm-test-out: Regenerated.
5720 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5721             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5723         [BZ #16704]
5724         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5726 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5728         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5729         (libmvec): New variable.
5730         * configure.ac: Added option for mathvec build.
5731         * configure: Regenerated.
5732         * mathvec/Depend: New file.
5733         * mathvec/Makefile: New file.
5734         * shlib-versions: Added libmvec.
5735         * math/Makefile: Added rule for libm.so installation.
5737         * bits/math-vector.h: New file.
5738         * bits/libm-simd-decl-stubs.h: New header.
5739         * math/Makefile (headers): Added new header
5740         libm-simd-decl-stubs.h.
5741         * math/math.h (__MATHCALL_VEC): New macro.
5743         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5744         for conditions in testing functions.
5745         * math/Makefile: Added call of libm-have-vector-test.sh.
5746         * math/libm-test.inc (HAVE_VECTOR): New macros.
5748         * math/libm-test.inc: START refactored.
5749         * math/test-double.c (TEST_MATHVEC): Add define.
5750         * math/test-float.c: Likewise.
5751         * math/test-idouble.c: Likewise.
5752         * math/test-ifloat.c: Likewise.
5753         * math/test-ildoubl.c: Likewise.
5754         * math/test-ldouble.c: Likewise.
5755         * sysdeps/generic/math-tests-arch.h
5756         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5757         architecture check.
5759         * math/test-double.c (FUNC_TEST): New macro.
5760         * math/test-float.c: Likewise.
5761         * math/test-idouble.c: Likewise.
5762         * math/test-ifloat.c: Likewise.
5763         * math/test-ildoubl.c: Likewise.
5764         * math/test-ldouble.c: Likewise.
5765         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5767 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5769         * sysdeps/nacl/fdopendir.c: New file.
5771         * dirent/scandir-tail.c: New file.
5772         * dirent/scandir64-tail.c: New file.
5773         * dirent/Makefile (routines): Add them.
5774         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5775         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5776         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5777         [!SCANDIR] (SCANDIR_TAIL): New macro.
5778         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5779         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5780         (SCANDIRAT): Macro removed.
5781         (SCANDIR_TAIL): New macro.
5782         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5783         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5784         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5785         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5786         (READDIR): Macro removed.
5787         (SCANDIR_TAIL): New macro.
5788         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5789         (SCANDIR_TAIL): New macro.
5791         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5792         * dirent/scandir-cancel.c: ... to this new file.
5793         * dirent/Makefile (routines): Add it.
5794         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5795         * sysdeps/unix/sysv/linux/i386/scandir64.c
5796         (SKIP_SCANDIR_CANCEL): Macro removed.
5797         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5799         * dirent/tst-scandir.c: New file.
5800         * dirent/tst-scandir64.c: New file.
5801         * dirent/Makefile (tests): Add them.
5803 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5805         [BZ #18409]
5806         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5808 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5810         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5811         list.
5813 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5815         * benchtests/bench-strcoll.c: New benchmark.
5816         * benchtests/Makefile: Generate locales and run benchmark.
5817         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5818         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5819         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5820         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5821         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5822         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5823         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5824         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5825         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5826         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5827         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5828         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5829         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5830         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5831         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5832         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5833         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5834         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5835         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5836         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5837         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5838         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5839         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5840         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5842 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5844         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5845         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5847 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5849         * posix/uname-values.h: New file.
5850         * posix/uname.c: Include that instead of <config-name.h>.
5851         * sysdeps/nacl/uname-values.h: New file.
5852         * sysdeps/arm/nacl/uname-values.h: New file.
5854 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5856         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5857         splitting into fields.
5859 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5861         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5862         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5863         * locale/localeinfo.h: Add enum collation_encoding_type.
5864         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5865         * programs/ld-collate.c (collate_output): Add encoding type info.
5866         * string/strcoll_l.c (STRDIFF): New function.
5867         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5868         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5870 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5872         [BZ #18397]
5873         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5874         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5875         <fpu_control.h> instead of <math/fpu_control.c>.
5876         * sysdeps/mips/mips32/fpu/Makefile: New file.
5878 2015-05-11  Andreas Schwab  <schwab@suse.de>
5880         [BZ #18007]
5881         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5882         nss_endgrent.
5883         (_nss_compat_endgrent): Call nss_endgrent.
5884         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5885         nss_endpwent.
5886         (_nss_compat_endpwent): Call nss_endpwent.
5887         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5888         needent, call nss_setspent only if non-zero.
5889         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5890         (internal_endspent): Don't call nss_endspent.
5891         (_nss_compat_endspent): Call nss_endspent.
5892         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5893         Remove.  All uses removed.
5894         (internal_setent): Remove parameter stayopen, add parameter
5895         stream.  Use it instead of global variable.
5896         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5897         (internal_endent, internal_getent): Add parameter stream.  Use it
5898         instead of global variable.
5899         (CONCAT(_nss_files_end,ENTNAME))
5900         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5901         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5902         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5903         uses removed.
5904         (internal_setent, internal_endent): Add parameter stream.  Use it
5905         instead of global variable.
5906         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5907         stream.
5908         (get_next_alias): Add parameter stream.
5909         (_nss_files_getaliasent_r): Pass global stream.
5910         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5911         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5912         (_nss_files_gethostbyname4_r): Pass local stream to
5913         internal_setent, internal_getent and internal_endent.  Remove
5914         locking.
5916 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5918         * tst-strfmon1.c (tests): Update expected currency symbol.
5920 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5922         * sysdeps/nacl/gethostname.c: New file.
5924 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5926         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5927         and sinh.
5928         * math/auto-libm-test-out: Regenerated.
5929         * sysdeps/i386/fpu/libm-test-ulps: Update.
5930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5932 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5934         [BZ #18125]
5935         * stdlib/tst-setcontext3.c: New file.
5936         * stdlib/tst-setcontext3.sh: New file.
5937         * stdlib/Makefile (tests): Add tst-setcontext3.
5938         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5939         to verify test program created output file.
5940         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5941         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5942         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5943         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5945 2015-05-06  Roland McGrath  <roland@hack.frob.com>
5947         [BZ #18383]
5948         * elf/tst-tlsalign.c: New file.
5949         * elf/tst-tlsalign-static.c: New file.
5950         * elf/tst-tlsalign-lib.c: New file.
5951         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5952         (tests-static): Add tst-tlsalign-static.
5953         (modules-names): Add tst-tlsalign-lib.
5954         (test-xfail-tst-tlsalign): New variable.
5955         (test-xfail-tst-tlsalign-static): New variable.
5957         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5958         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5960 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5962         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5963         csqrt, erfc, sin and sincos.
5964         * math/auto-libm-test-out: Regenerated.
5965         * sysdeps/i386/fpu/libm-test-ulps: Update.
5966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5968 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5970         * sysdeps/aarch64/libm-test-ulps: Update.
5972 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5974         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5975         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5976         * math/auto-libm-test-out: Regenerated.
5977         * sysdeps/i386/fpu/libm-test-ulps: Update.
5978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5980 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5982         [BZ #18265]
5983         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5984         (wcsncpy): Likewise.
5986 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5988         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5989         Assume __ASSUME_FALLOCATE is always true.
5990         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5991         (__posix_fallocate64_l64): Likweise.
5992         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5993         (posix_fallocate): Likewise.
5994         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5995         (__posix_fallocate64_l64): Likewise.
5996         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5997         [!__ASSUME_FALLOCATE]: Add comment.
5999 2015-05-05  Florian Weimer  <fweimer@redhat.com>
6001         * sysdeps/unix/sysv/linux/i386/Makefile
6002         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
6003         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
6004         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
6005         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6006         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6007         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
6008         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
6010 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
6012         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
6013         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
6014         tgamma.
6015         * math/auto-libm-test-out: Regenerated.
6016         * sysdeps/i386/fpu/libm-test-ulps: Update.
6017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6019 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
6021         * math/auto-libm-test-in: Add more tests of tgamma.
6022         * math/auto-libm-test-out: Regenerated.
6023         * sysdeps/i386/fpu/libm-test-ulps: Update.
6024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6026         * math/auto-libm-test-in: Add more tests of tanh.
6027         * math/auto-libm-test-out: Regenerated.
6028         * sysdeps/i386/fpu/libm-test-ulps: Update.
6029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6031         * math/auto-libm-test-in: Add more tests of tan.
6032         * math/auto-libm-test-out: Regenerated.
6033         * sysdeps/i386/fpu/libm-test-ulps: Update.
6034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6036         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
6037         * math/auto-libm-test-out: Regenerated.
6038         * sysdeps/i386/fpu/libm-test-ulps: Update.
6039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6041         * math/auto-libm-test-in: Add another test of pow.
6042         * math/auto-libm-test-out: Regenerated.
6043         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6045         * math/auto-libm-test-in: Add more tests of lgamma.
6046         * math/auto-libm-test-out: Regenerated.
6047         * sysdeps/i386/fpu/libm-test-ulps: Update.
6048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6050         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
6051         log1p.
6052         * math/auto-libm-test-out: Regenerated.
6053         * sysdeps/i386/fpu/libm-test-ulps: Update.
6054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6056 2015-05-01  Mark Wielaard  <mjw@redhat.com>
6058         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
6059         Elf64_Chdr structs and ELFCOMPRESS constants.
6061 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
6063         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
6064         expm1.
6065         * math/auto-libm-test-out: Regenerated.
6066         * sysdeps/i386/fpu/libm-test-ulps: Update.
6067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6069         * math/auto-libm-test-in: Add more tests of erf and erfc.
6070         * math/auto-libm-test-out: Regenerated.
6071         * sysdeps/i386/fpu/libm-test-ulps: Update.
6072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6074 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6076         * config.h.in (HAVE_AARCH64_BE): Add.
6078 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
6080         * math/auto-libm-test-in: Add more tests of csqrt.
6081         * math/auto-libm-test-out: Regenerated.
6082         * sysdeps/i386/fpu/libm-test-ulps: Update.
6083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6085         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6086         * math/auto-libm-test-out: Regenerated.
6087         * sysdeps/i386/fpu/libm-test-ulps: Update.
6088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6090         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
6092 2015-04-29  Roland McGrath  <roland@hack.frob.com>
6094         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
6095         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
6097         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
6098         (euidaccess, eaccess): Define as weak aliases.
6100         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
6101         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
6102         but __suseconds_t is often 'long int' so some sources assume that
6103         type is being used (e.g. they use %ld to print tv_usec).
6105 2015-04-29  Florian Weimer  <fweimer@redhat.com>
6107         [BZ #18007]
6108         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
6109         (CVE-2014-8121)
6110         * nss/tst-nss-getpwent.c: New file.
6111         * nss/Makefile (tests): Add new test.
6113 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
6115         [BZ #18346]
6116         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
6117         exponents less than 48 as cases where high part of mantissa needs
6118         examining to determine whether argument is integral.
6119         * math/libm-test.inc (round_test_data): Add more tests.
6121 2015-04-28  Mark Wielaard  <mjw@redhat.com>
6123         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
6125 2015-04-27  David S. Miller  <davem@davemloft.net>
6127         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
6128         __tls_get_addr.
6129         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6131 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
6133         [BZ#18333]
6134         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
6136 2015-04-27  Florian Weimer  <fweimer@redhat.com>
6138         [BZ#18333]
6139         * time/tzset.c (parse_tzname): Return error on memory allocation
6140         failure.
6141         * test-skeleton.c (struct temp_name_list): Change type of name
6142         member to non-const.
6143         (add_temp_file): Create a copy of the file name.
6144         (delete_temp_files): Deallocate memory.
6145         (create_temp_file): Add comment.
6147 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6149         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
6150         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
6152 2015-04-24  Roland McGrath  <roland@hack.frob.com>
6154         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
6155         * sysdeps/arm/configure: Regenerated.
6157 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6159         [BZ #17715]
6160         * time/tzfile.c (__tzfile_read): Check for large values of
6161         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
6162         * time/tzset.c (__tzstring_len): New function, based on the old
6163         __tzstring function.
6164         (__tzstring): Call __tzstring_len.
6165         (parse_tzname): New helper function extracted from
6166         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
6167         the input string.
6168         (parse_offset): New helper function extracted from
6169         __tzset_parse_tz.  Replace switch with fallthrough with
6170         initialization before sscanf.
6171         (parse_rule): Likewise.
6172         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
6173         new-style function definition.
6174         * timezone/Makefile (tests): Add tst-tzset.
6175         (tst-tzset.out): Dependencies on time zone files.
6176         (tst-tzset-ENV): Set TZDIR.
6177         (testdata/XT%): Copy crafted time zone files.
6178         * timezone/README: Mention crafted time zone files.
6179         * timezone/testdata/XT1, timezone/testdata/XT2,
6180         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
6181         files.
6182         * timezone/tst-tzset.c: New test.
6184 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6186         * Makeconfig (+gccwarn): Remove -Winline.
6188 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6190         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
6192 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6194         * NEWS: Mention sysconf() cache information support for s390.
6195         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
6197 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
6199         * math/k_casinh.c (__kernel_casinh): Use __copysign.
6200         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
6201         (__nearbyint): Likewise.
6202         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
6203         (copysignl): Likewise.
6205 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
6207         [BZ #18287]
6208         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
6209         based on padding.  (CVE-2015-1781)
6211 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6213         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
6214         libc-vdso.h.
6215         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
6216         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
6217         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
6218         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6219         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6220         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
6221         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
6222         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6223         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6224         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
6225         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6226         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6227         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6228         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
6229         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6230         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
6231         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
6232         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
6233         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
6234         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
6235         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
6236         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
6237         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
6239 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
6241         * stdlib/setenv.c (__add_to_environ):
6242         Dump core quickly if setenv (..., NULL, ...) is called.
6243         This time, do it the right way, and pacify GCC with a pragma.
6245 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6247         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
6248         IMAP->l_prev cannot be null, and #if out the code for the contrary
6249         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
6250         believe that NS (&_dl_ns[NSID]) could point outside the array.
6252         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
6253         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
6254         before using NSID as an index.
6256 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
6258         [BZ #17825]
6259         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
6260         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6261         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6263 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6265         Add preliminary port to Google Native Client on ARM.
6266         * abi-tags (.*-.*-nacl.*): New entry.
6267         * sysdeps/arm/nacl: New directory.
6268         * sysdeps/nacl: New directory.
6270 2015-04-16  David S. Miller  <davem@davemloft.net>
6272         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
6273         lowlevellock-futex.h
6275 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
6277         * sysdeps/tile/configure.ac: New file.
6278         * sysdeps/tile/configure: Regenerated.
6280 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6282         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
6283         conditionals for weak_alias and libc_hidden_weak.
6284         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
6285         libc_hidden_weak and weak_alias.
6286         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
6287         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
6288         and weak_alias for static one.
6290 2015-04-15  David S. Miller  <davem@davemloft.net>
6292         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6294 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6296         [BZ #18206]
6297         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
6298           Use signed comparision instead of substraction to avoid
6299           overflow bug.
6300         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
6301           Take the sign of ret.
6302         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
6303           Do not expect precise return values. Only the sign matters.
6304         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
6305         * wcsmbs/test-wcsncmp.c: New File.
6306         * string/test-strncmp.c: Add wcsncmp support.
6308 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6310         [BZ #6792]
6311         * math/w_log1p.c: New file.
6312         * math/w_log1pf.c: Likewise.
6313         * math/w_log1pl.c: Likewise.
6314         * math/Makefile (libm-calls): Add w_log1p.
6315         * math/s_log1pl.c (log1pl): Remove weak_alias.
6316         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
6317         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
6318         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
6319         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
6320         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
6321         [NO_LONG_DOUBLE] (log1pl): Likewise.
6322         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
6323         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
6324         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
6325         (log1p): Remove long_double_symbol.
6326         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
6327         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
6328         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
6329         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
6330         remove weak_alias for corresponding log1p function.
6331         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
6332         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
6333         * sysdeps/ia64/fpu/w_log1p.c: New file.
6334         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
6335         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
6336         * math/libm-test.inc (log1p_test_data): Add errno expectations.
6338 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
6340         [BZ #18247]
6341         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
6342         decimal exponent by 1.
6343         * stdlib/tst-strtod-round-data: Add more tests.
6344         * stdlib/tst-strtod-round.c (tests): Regenerated.
6346 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
6348         * math/auto-libm-test-in: Add more tests of clog and clog10.
6349         * math/auto-libm-test-out: Regenerated.
6350         * sysdeps/i386/fpu/libm-test-ulps: Update.
6351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6353 2015-04-09  Roland McGrath  <roland@hack.frob.com>
6355         * Makeconfig (module-cppflags): Exclude all .v.i files.
6356         (skip-module-cppflags): Variable removed.
6358         * configure.ac (libc_config_ok): Initialize before reading
6359         preconfigure scripts, not after.
6360         * configure: Regenerated.
6362         * test-skeleton.c (TIMEOUT): Move #define to top level.
6363         (main): Grok environment variable TEST_DIRECT.  If set, print
6364         test expectation details into that file and then behave as if
6365         given --direct.
6367 2015-04-09  Florian Weimer  <fweimer@redhat.com>
6369         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
6370         warning on 32-bit.
6372 2015-04-08  David S. Miller  <davem@davemloft.net>
6374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6376 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6378         * math/auto-libm-test-in: Add more tests of atanh.
6379         * math/auto-libm-test-out: Regenerated.
6380         * sysdeps/i386/fpu/libm-test-ulps: Update.
6381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6383         * math/auto-libm-test-in: Add more tests of atan.
6384         * math/auto-libm-test-out: Regenerated.
6385         * sysdeps/i386/fpu/libm-test-ulps: Update.
6386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6388 2015-04-08  Florian Weimer  <fweimer@redhat.com>
6390         * elf/pldd.c (main): Rewrite to use struct
6391         scratch_buffer instead of extend_alloca.
6392         * elf/pldd-xx.c (find_maps): Likewise.
6393         * grp/initgroups.c: Include <scratch_buffer.h> instead of
6394         <alloca.h>.
6395         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
6396         scratch_buffer instead of extend_alloca.
6397         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
6398         grp/compat-initgroups.c.
6399         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
6400         Rewrite to use struct scratch_buffer instead of extend_alloca.
6401         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
6402         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6404 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6406         * math/auto-libm-test-in: Add more tests of cbrt.
6407         * math/auto-libm-test-out: Regenerated.
6408         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6410         * math/auto-libm-test-in: Add more tests of cabs.
6411         * math/auto-libm-test-out: Regenerated.
6412         * sysdeps/i386/fpu/libm-test-ulps: Update.
6413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6415         [BZ #18210]
6416         [BZ #18211]
6417         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
6418         (__ieee754_atan2): Set FE_TONEAREST mode for internal
6419         computations.
6420         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
6421         clog10.
6422         * math/auto-libm-test-out: Regenerated.
6423         * sysdeps/i386/fpu/libm-test-ulps: Update.
6424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6426         [BZ #18197]
6427         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
6428         (atan): Set FE_TONEAREST mode for internal computations.
6429         * math/auto-libm-test-in: Add more tests of atan.
6430         * math/auto-libm-test-out: Regenerated.
6432 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
6434         [BZ #17930]
6435         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
6437 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6439         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
6441 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6443         * include/scratch_buffer.h: New file.
6444         * malloc/scratch_buffer_grow.c: Likewise.
6445         * malloc/scratch_buffer_grow_preserve.c: Likewise.
6446         * malloc/scratch_buffer_set_array_size.c: Likewise.
6447         * malloc/tst-scratch_buffer.c: Likewise.
6448         * malloc/Makefile (routines): Add scratch_buffer_grow.
6449         (tests): Add test case.
6450         * malloc/Versions (GLIBC_PRIVATE): Export
6451         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
6452         __libc_scratch_buffer_set_array_size.
6454 2015-04-06  Richard Henderson  <rth@redhat.com>
6456         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
6457         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6459         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
6460         unsigned int before printing.
6462 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6464         [BZ #17596]
6465         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
6466         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6468 2015-04-02  Florian Weimer  <fweimer@redhat.com>
6470         * include/libc-internal.h (libc_max_align_t): Define.
6472 2015-04-02  Andreas Schwab  <schwab@suse.de>
6474         [BZ #16850]
6475         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
6477 2015-04-02  Mel Gorman  <mgorman@suse.de>
6479         [BZ #17195]
6480         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
6481         as well as the main arena.
6483 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6485         [BZ #18185]
6486         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
6487         sharing L2 cache to 2 for Silvermont/Knights Landing.
6489 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6491         [BZ #17711]
6492         * config.make.in (have-protected-data): New.
6493         * configure.ac: Check linker support for protected data symbol.
6494         * configure: Regenerated.
6495         * elf/Makefile (modules-names): Add tst-protected1moda and
6496         tst-protected1modb if $(have-protected-data) is yes.
6497         (tests): Add tst-protected1a and tst-protected1b if
6498         $(have-protected-data) is yes.
6499         ($(objpfx)tst-protected1a): New.
6500         ($(objpfx)tst-protected1b): Likewise.
6501         (tst-protected1modb.so-no-z-defs): Likewise.
6502         * elf/tst-protected1a.c: New file.
6503         * elf/tst-protected1b.c: Likewise.
6504         * elf/tst-protected1mod.h: Likewise.
6505         * elf/tst-protected1moda.c: Likewise.
6506         * elf/tst-protected1modb.c: Likewise.
6508 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6510         [BZ #17711]
6511         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
6512         indicates it is called from do_lookup_x on relocation against
6513         protected data, skip the data definion in the executable from
6514         copy reloc.
6515         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
6516         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
6517         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
6518         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
6519         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
6520         otherwise to 0.
6521         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6522         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
6523         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
6524         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6525         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
6526         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
6528 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
6530         * sysdeps/nptl/pthread.h: Remove duplicate definition of
6531         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
6533 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
6535         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
6536         THREAD_SETMEM_NC.
6537         * sysdeps/x86_64/nptl/tls.h: Ditto.
6539 2015-03-27  Roland McGrath  <roland@hack.frob.com>
6541         * dlfcn/tststatic.c (main): Converted to ...
6542         (do_test): ... this.
6543         (TEST_FUNCTION): New macro.
6544         Include test-skeleton.c.
6546 2015-03-26  Alan Modra  <amodra@gmail.com>
6548         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
6549         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
6550         zero for undefined weak.
6551         (elf_machine_plt_conflict): Similarly.
6553 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6555         * math/auto-libm-test-in: Add more tests of acosh, asinh and
6556         atanh.
6557         * math/auto-libm-test-out: Regenerated.
6558         * sysdeps/i386/fpu/libm-test-ulps: Update.
6559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6561         * math/auto-libm-test-in: Add another test of asin.
6562         * math/auto-libm-test-out: Regenerated.
6563         * sysdeps/i386/fpu/libm-test-ulps: Update.
6564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6566         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
6567         Remove macro.
6568         (LLL_EBX_REG): Likewise.
6569         (LLL_ENTER_KERNEL): Likewise.
6571         * math/auto-libm-test-in: Add more tests of asin.
6572         * math/auto-libm-test-out: Regenerated.
6573         * sysdeps/i386/fpu/libm-test-ulps: Update.
6574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6576         [BZ #18138]
6577         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
6578         libc_do_syscall_args): New structure.
6579         (INTERNAL_SYSCALL_MAIN_0): New macro.
6580         (INTERNAL_SYSCALL_MAIN_1): Likewise.
6581         (INTERNAL_SYSCALL_MAIN_2): Likewise.
6582         (INTERNAL_SYSCALL_MAIN_3): Likewise.
6583         (INTERNAL_SYSCALL_MAIN_4): Likewise.
6584         (INTERNAL_SYSCALL_MAIN_5): Likewise.
6585         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
6586         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
6587         Replace conditional definitions by conditional definitions of ....
6588         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
6589         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
6590         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
6591         (libpthread-sysdep_routines): Add libc-do-syscall.
6592         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
6593         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
6594         to __NR_futex not 240.
6596 2015-03-25  Alan Modra  <amodra@gmail.com>
6598         * NEWS: Advertise TLS optimization.
6599         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
6600         (DT_PPC_NUM): Increment.
6601         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
6602         (CHECK_STATIC_TLS): Use here.
6603         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
6604         TLS descriptors.
6605         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6606         * sysdeps/powerpc/dl-tls.c: New file.
6607         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
6608         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
6609         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
6610         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
6611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
6612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6615 2015-03-25  Alan Modra  <amodra@gmail.com>
6617         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
6618         for overlapping .opd entries" to "support...".
6619         * sysdeps/powerpc/powerpc64/configure: Regenerate
6621 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6623         * math/auto-libm-test-in: Add more tests of acos.
6624         * math/auto-libm-test-out: Regenerated.
6625         * sysdeps/i386/fpu/libm-test-ulps: Update.
6626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6628         * math/auto-libm-test-in: Add more tests of expm1.
6629         * math/auto-libm-test-out: Regenerated.
6630         * sysdeps/i386/fpu/libm-test-ulps: Update.
6631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6633 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
6635         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6636         * math/auto-libm-test-out: Regenerated.
6637         * sysdeps/i386/fpu/libm-test-ulps: Update.
6638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6640         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6643         * math/auto-libm-test-in: Add more tests of log2.
6644         * math/auto-libm-test-out: Regenerated.
6645         * sysdeps/i386/fpu/libm-test-ulps: Update.
6646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6648 2015-03-23  Roland McGrath  <roland@hack.frob.com>
6650         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
6651         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
6652         _IO_IS_APPENDING bit in READ_WRITE instead.
6654 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6656         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6657         (__determine_cpumask_size): Replace extend_alloca with a
6658         variable-length array.  Do not treat res == 0 as an error.
6660 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6662         [BZ #18100]
6663         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
6664         and integer overflow.
6665         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
6666         (main): Add integer overflow tests.
6667         * manual/pattern.texi (Calling Wordexp): Document additional use
6668         for WRDE_SYNTAX.
6670 2015-03-23  Alan Modra  <amodra@gmail.com>
6672         * config.h.in: Remove HAVE_ASM_PPC_REL16.
6673         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6674         and false branch of conditional.
6675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6676         Likewise.
6678 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
6680         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6681         libc-modules.h
6682         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6683         unused declaration of _hurd_intr_rpc_msg_in_trap.
6684         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6685         defined instead of whether it is non-zero.
6686         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6687         input constraint instead of both input and output constraint.  Use ecx
6688         clobber instead of %ecx.
6689         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6690         mutex_unlock): Use a statement expression instead of an expression list.
6691         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6692         type to vm_size_t instead of vm_address_t.
6693         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6694         defined instead of whether it is non-zero.
6695         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6696         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6697         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6698         comparisons with mapaddr.
6699         * nscd/nscd-client.h: Include <time.h>.
6700         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6701         9th parameter to __vm_region instead of int.
6702         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6703         * scripts/check-local-headers.sh (exclude): Add device/,
6704         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6705         cthreads.h.
6707 2015-03-19  Roland McGrath  <roland@hack.frob.com>
6709         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6710         to account for alignment padding.
6711         * sysdeps/arm/memmove.S: Likewise.
6713 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
6715         * sysdeps/unix/sysv/linux/generic/README: New file.
6717 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6719         [BZ #18138]
6720         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6721         (futex_abstimed_wait)
6722         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6723         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6724         of lll_futex_timed_wait.
6726 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6728         [BZ #17542]
6729         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6731 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6733         [BZ #17090]
6734         [BZ #17620]
6735         [BZ #17621]
6736         [BZ #17628]
6737         * NEWS: Update.
6738         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6739         entries with Static TLS too.  Skip entries past the end of the
6740         allocated DTV, from Alan Modra.
6741         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6742         Static TLS DTV entry set up from...
6743         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6744         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6745         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6746         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6747         for Static TLS.
6748         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6749         that the slot we find is associated with the given map before
6750         using its generation count.
6751         * nptl_db/db_info.c: Include ldsodefs.h.
6752         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6753         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6754         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6755         (link_map::l_tls_offset): New struct field.
6756         (dtv_t::counter): Likewise.
6757         (rtld_global): New struct.
6758         (_rtld_global): New rtld variable.
6759         (dl_tls_dtv_slotinfo_list): New rtld global field.
6760         (dtv_slotinfo_list): New struct.
6761         (dtv_slotinfo): Likewise.
6762         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6763         (td_lookup): Rename to...
6764         (td_mod_lookup): ... this.  Use new mod parameter instead of
6765         LIBPTHREAD_SO.
6766         * nptl_db/td_thr_tlsbase.c: Include link.h.
6767         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6768         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6769         addresses even if the DTV is out of date or missing them.
6770         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6771         index zero-length arrays.
6772         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6773         (td_lookup): Make it a macro implemented in terms of...
6774         (td_mod_lookup): ... this declaration.
6775         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6776         (DB_MAIN_VARIABLE): Likewise.
6778 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6780         [BZ #18134]
6781         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6783 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6785         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6787 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6789         [BZ #18128]
6790         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6791         (atomic_add, atomic_increment_and_test)
6792         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6794 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6796         * stdlib/setenv.c (__add_to_environ):
6797         Dump core quickly if setenv (..., NULL, ...) is called.
6799 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6801         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6802         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6803         all the necessary asm magic in one place.
6804         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6805         using those.
6807 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6809         [BZ #14906]
6810         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6811         traced file mtime. Use consistent log message.
6812         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6813         (register_traced_file): Call install_watches. Always set mtime.
6814         (invalidate_cache): Iterate over all trace files. Call install_watches.
6815         (inotify_check_files): Don't inline. Handle watching parent
6816         directories and configuration file movement in and out.
6817         (handle_inotify_events): New function.
6818         (main_loop_poll): Call handle_inotify_events.
6819         (main_loop_epoll): Likewise.
6820         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6821         (struct traced_file): Use array of inotify fds. Add parent directory,
6822         and basename.
6823         (struct database_dyn): Remove unused file_mtime.
6824         (init_traced_file): New inline function.
6825         (define_traced_file): New macro.
6826         * nss/nss_db/db-init.c: Use define_traced_file.
6827         (_nss_db_init): Use init_traced_file.
6828         * nss/nss_files/files-init.c: Use define_traced_file.
6829         (_nss_files_init): Use init_traced_file.
6831 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6833         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6834         [_LIBC]: Do not include <stdlib.h>.
6835         [!_LIBC] (abort): Remove declaration.
6836         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6837         _FP_STATIC_ASSERT instead of conditionally calling abort.
6838         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6839         (_FP_EXTEND_CNAN): Likewise.
6840         (FP_TRUNC): Likewise.
6841         (__FP_CLZ): Likewise.
6842         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6844 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6846         * manual/string.texi (XPG basename): Fix prototype.
6848 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6850         [BZ #18080]
6851         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6852         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6853         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6854         (__setcontext): Likewise.
6855         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6856         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6857         Call rt_sigprocmask syscall one time to set new signal mask
6858         and retrieve the current signal mask instead of two calls.
6859         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6860         (__swapcontext): Likewise.
6861         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6862         * stdlib/tst-setcontext2.c: New file.
6864 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6866         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6868 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6870         [BZ #18093]
6871         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6872         the wrong size.
6874 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6876         [BZ #18043]
6877         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6879 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6881         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6882         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6883         Remove define.
6884         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6885         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6886         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6887         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6888         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6889         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6890         define.
6891         * nptl_db/td_symbol_list.c (td_lookup): Remove
6892         HAVE_ASM_GLOBAL_DOT_NAME code.
6893         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6894         HAVE_ASM_GLOBAL_DOT_NAME check.
6895         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6896         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6897         (DOT_LABEL): Remove define.
6898         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6899         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6900         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6901         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6902         (__TLS_GET_ADDR): Likewise.
6903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6904         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6906 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6908         [BZ #18111]
6909         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6910         (_FPU_SETCW): Initialize cw from fpsr before storing.
6911         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6912         (fesetexceptflag): Rewrite using fpu_control.h.
6913         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6915 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6917         [BZ #18110]
6918         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6919         asms.
6920         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6922 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6924         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6925         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6926         abort.
6927         (_FP_FMA): Likewise.
6928         (_FP_DIV): Likewise.
6930 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6932         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6933         with 0 in that case.
6934         * Makefile (summarize-tests): New canned sequence, factored out of
6935         commands for targets tests and xtests.  Display summary lines that
6936         don't start with PASS: or XFAIL: rather than ones that do start with
6937         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6938         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6939         do start with ERROR: or FAIL:.
6940         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6941         (except for [$(build-shared) = yes]).
6942         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6943         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6944         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6945         * nptl/Makefile: Revert 2015-03-04 changes.
6946         [$(CXX) empty] (tests-unsupported): New variable.
6947         * debug/Makefile: Likewise.
6949         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6950         gnulib file.  Replace __attribute with __attribute__ throughout.
6952 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6954         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6956 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6958         [BZ #18104]
6959         * math/auto-libm-test-in: Add another test of pow.
6960         * math/auto-libm-test-out: Regenerated.
6962 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6964         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6965         $(config-cflags-nofma).
6967 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6969         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6970         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6971         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6972         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6973         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6974         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6975         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6976         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6977         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6978         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6979         Add comment on closing #endif.
6981 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6983         * posix/wordexp.c (CHAR_IN_SET): New macro.
6984         (parse_param): Use it.
6986 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6988         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6990 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6992         [BZ #18043]
6993         * posix/wordexp.c (parse_param): Fix buffer overflow.
6994         * posix/wordexp-test.c (test_case): Add test case.
6996 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6998         [BZ #18042]
6999         * posix/wordexp.c (parse_backtick): Fix off-by-one.
7000         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
7002 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7004         [BZ #18043]
7005         * posix/wordexp-test.c (test_case): Add test for BZ #18043
7006         (do_bz18043): Delete.
7007         (at_page_end): New.
7008         (testit): Refactor to have words at the edge of unreadable page.
7010 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7012         [BZ #16734]
7013         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
7014         Cleanup read-only streams as well.
7015         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
7017 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7019         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
7020         <bits/libc-lockP.h>
7022 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
7024         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
7025         on [__KERNEL__].
7026         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
7027         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
7028         * soft-fp/op-common.h (_FP_DECL): Likewise.
7030 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7032         * elf/ifuncdep2.c (global): Replace
7033         __attribute__((visibility("protected"))) with
7034         asm (".protected global").
7035         * elf/ifuncmod1.c (global): Likewise.
7036         * elf/ifuncmod5.c (global): Likewise.
7038 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
7040         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
7041         <asm/sfp-machine.h> instead of <sfp-machine.h>.
7043 2015-03-06  Roland McGrath  <roland@hack.frob.com>
7045         * manual/install.texi (Configuring and compiling):
7046         Document test-wrapper-env-only.
7047         * INSTALL: Regenerated.
7049 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7051         [BZ #18043]
7052         * posix/wordexp.c (parse_param): Fix buffer overflow.
7053         * posix/wordexp-test.c (do_bz18043): Add test case.
7055 2015-03-06  Vincent Bernat  <vincent@bernat.im>
7057         * time/tst-strptime2.c (do_test): Ensure failing tests are
7058         reported correctly.
7059         * time/tst-strptime3.c (do_test): Likewise.
7061 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
7063         Fix aio_error thread-safety.
7064         * sysdeps/pthread/aio_error.c: New file
7065         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
7066         synchronization.
7068 2015-03-06  Florian Weimer  <fweimer@redhat.com>
7070         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
7071         (group_number, vfprintf): Use it.
7072         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
7073         (JUMP, REF): Use it.
7074         (WORK_BUFFER_SIZE): New enum constant.
7075         (process_arg, vfprintf): Use it.
7077 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
7079         * manual/errno.texi (Error Messages): Complete example function
7080         by adding missing #define.
7081         (program_invocation_name): Add statement indicating GNU
7082         extension and reference which header file declares the variable.
7083         (program_invocation_short_name): Likewise.
7085 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
7087         * manual/errno.texi (Error Messages): Delete strerror ISO C89
7088         compatibility note.
7090 2015-03-05  Roland McGrath  <roland@hack.frob.com>
7092         * Makeconfig (test-wrapper-env-only): New variable.
7093         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
7094         then use that with $(test-wrapper-env-only) rather than using
7095         $(test-wrapper-env) $(run-program-env) $($*-ENV).
7097 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
7099         [BZ #18082]
7100         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
7101         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
7102         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
7103         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
7104         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
7105         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
7106         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
7107         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
7108         Likewise.
7109         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
7110         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
7111         Likewise.
7112         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
7113         Likewise.
7114         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
7115         Likewise.
7116         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
7117         Likewise.
7118         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
7119         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
7120         Likewise.
7121         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
7122         Likewise.
7123         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
7124         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
7126 2015-03-04  Roland McGrath  <roland@hack.frob.com>
7128         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
7129         (ETH_ALEN): New macro.
7130         (struct ether_addr): Use it for length of ether_addr_octet.
7132         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
7133         (setdb): Don't call __nss_configure_lookup for "rpc".
7134         (do_test): Don't call test_rpc.
7135         (output_rpcent, test_rpc): Functions moved ...
7136         * sunrpc/test-rpcent.c: ... to this new file.
7137         * sunrpc/Makefile (tests): Add it.
7139         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
7140         __xpg_sigpause.
7141         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
7142         * nptl/tst-signal6.c: Likewise.
7143         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
7144         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
7146         * configure.ac (libc_cv_cxx_link_ok): New check.
7147         Reset CXX to empty if it fails to link.
7148         * configure: Regenerated.
7149         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
7150         bug-atexit3-lib only if $(CXX) is nonempty.
7151         * nptl/Makefile (tests): Likewise for tst-cancel24.
7152         (tests, tests-static): Likewise for tst-cancel24-static.
7153         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
7154         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
7155         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
7156         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
7158 2015-03-04  Andreas Schwab  <schwab@suse.de>
7160         [BZ #17631]
7161         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
7162         for non-GCC compilers.
7163         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7164         Likewise.
7166 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7168         [BZ #17776]
7169         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
7170         integer before bitwise and assembly operations.
7171         (feclearexcept): Likewise.
7172         * math/test-fenvinline.c: New file.
7173         * math/Makefile: Add test-fenvinline test.
7175 2015-03-03  Alan Modra  <amodra@gmail.com>
7177         [BZ #16512]
7178         * scripts/localplt.awk: Strip off symbol version.
7179         * NEWS: Mention bug fix.
7181 2015-03-02  Roland McGrath  <roland@hack.frob.com>
7183         * sysdeps/pthread/timer_routines.c
7184         (timer_free_list, thread_free_list, thread_active_list): Make static.
7186 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
7188         [BZ #17779]
7189         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7190         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7191         Undefine.
7192         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7193         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7194         Likewise.
7195         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7196         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7197         Likewise.
7199 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
7201         [BZ #18036]
7202         * posix/fnmatch_loop.c (END): Detect invalid pattern.
7203         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
7205 2015-03-02  Andreas Schwab  <schwab@suse.de>
7207         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
7208         variable name.
7210 2015-03-02  Florian Weimer  <fweimer@redhat.com>
7212         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
7213         Return error status.
7215 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
7217         [BZ #15969]
7218         * locale/findlocale.c (_nl_find_locale): Introduce const
7219         version of loc_name and drop unsafe type casts.
7221 2015-02-27  Roland McGrath  <roland@hack.frob.com>
7223         * dlfcn/tststatic2.c (main): Converted to ...
7224         (do_test): ... this.
7225         (TEST_FUNCTION): New macro.
7226         Include test-skeleton.c.
7228 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
7230         [BZ #17711]
7231         * elf/Makefile (tests): Add vismain only if PIE is enabled.
7232         (tests-pie): Add vismain.
7233         (CFLAGS-vismain.c): New.
7234         * elf/vismain.c: Add comments for PIE requirement.
7236 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7238         [BZ #18046]
7239         [BZ #18047]
7240         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
7241         0x1p-56L as threshold for just returning the argument.
7242         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
7243         0x1p-32L as threshold for just returning the argument.
7244         * math/auto-libm-test-in: Add more tests of atanh.
7245         * math/auto-libm-test-out: Regenerated.
7246         * sysdeps/i386/fpu/libm-test-ulps: Update.
7247         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
7249 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
7251         * string/bcopy.c (bcopy): Call memmove for performance.
7253 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
7255         * string/bzero.c (__bzero): Call memset for performance.
7257 2015-02-27  John David Anglin  <dave.anglin@bell.net>
7259         [BZ #18068]
7260         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
7261         to 00100000.
7263 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7265         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
7267 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7269         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
7270         (__kernel_standard): Use CSTR macro when setting exc.name.
7271         * sysdeps/ieee754/Makefile [$(subdir) = math]
7272         (CFLAGS-k_standard.c): Remove variable.
7274         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
7275         setting p and q from "else if" to "else".
7276         (qzero): Likewise.
7277         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
7278         (qone): Likewise.
7279         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
7280         (qzerof): Likewise.
7281         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
7282         (qonef): Likewise.
7283         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
7284         (qzero): Likewise.
7285         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
7286         (qone): Likewise.
7288         [BZ #18038]
7289         [BZ #18039]
7290         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
7291         return pi/2 for arguments below 0x1p-113L.
7292         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
7293         return pi/2 for arguments below 0x1p-106L.
7294         * math/auto-libm-test-in: Add more tests of acos.
7295         * math/auto-libm-test-out: Regenerated.
7297         [BZ #16351]
7298         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
7299         (MO): New macro.
7300         (__ieee754_asin): Force underflow exception for results with small
7301         absolute value.
7302         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
7303         (MO): New macro.
7304         (__ieee754_asinf): Force underflow exception for results with
7305         small absolute value.
7306         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
7307         (__ieee754_asin): Force underflow exception for results with small
7308         absolute value.
7309         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
7310         (__ieee754_asinf): Force underflow exception for results with
7311         small absolute value.
7312         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
7313         (__ieee754_asinl): Force underflow exception for results with
7314         small absolute value.
7315         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
7316         (__ieee754_asinl): Force underflow exception for results with
7317         small absolute value.
7318         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
7319         (__ieee754_asinl): Force underflow exception for results with
7320         small absolute value.
7321         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7322         Include <math.h>.
7323         * math/auto-libm-test-in: Do not mark underflow exceptions as
7324         possibly missing for bug 16351.
7325         * math/auto-libm-test-out: Regenerated.
7327         [BZ #18030]
7328         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
7329         of power of 2 down when low part has opposite sign.
7330         * math/libm-test.inc (logb_test_data): Add more tests.
7332 2015-02-26  Andreas Schwab  <schwab@suse.de>
7334         [BZ #18032]
7335         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
7336         over collating symbol inside a bracket expression.  Minor cleanup.
7337         * posix/tst-fnmatch3.c (do_test): Add test case.
7339 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7341         [BZ #18029]
7342         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
7343         Adjust exponent of power of 2 down when low part has opposite
7344         sign.
7345         * math/libm-test.inc (ilogb_test_data): Add more tests.
7347 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
7349         [BZ #15969]
7350         * locale/findlocale.c (_nl_find_locale): Fix constness error in
7351         the previous change.
7353         [BZ #15969]
7354         * locale/findlocale.c (_nl_find_locale): Retry archive search
7355         after alias expansion.
7357 2015-02-25  Roland McGrath  <roland@hack.frob.com>
7359         * iconv/tst-iconv3.c (main): Converted to ...
7360         (do_test): ... this.
7361         (TEST_FUNCTION): New macro.
7362         Include test-skeleton.c.
7364         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
7365         (convert): Make function static.
7366         (test_unalign): Likewise.  Add const to argument pointee types.
7367         (main): Replace with static function do_test.
7368         Print "Succeeded." only if RET is zero.
7369         (TEST_FUNCTION): New macro.
7370         Include test-skeleton.c.
7372         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
7373         returns a null pointer.
7375 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7377         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
7378         to __memcpy_ppc only for static builds.
7380 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
7382         [BZ #18020]
7383         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
7384         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
7385         * math/auto-libm-test-in: Add more tests of asinh.
7386         * math/auto-libm-test-out: Regenerated.
7387         * sysdeps/i386/fpu/libm-test-ulps: Update.
7388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7390 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
7392         [BZ #15850]
7393         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
7394         and ip6_mtuinfo definitions here.
7395         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
7396         in this define too.  Update comment.
7398 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
7400         * elf/sprof.c (load_shobj): Tweak error message to match others.
7402 2015-02-24  Kevin Easton  <kevin@guarana.org>
7404         [BZ #16145] (partial fix)
7405         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
7406         to reduce lock contention.
7408 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
7410         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
7411         (struct timex): Update time comment.
7412         (ADJ_SETOFFSET): Define.
7414 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7416         [BZ #18019]
7417         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7418         2**56 not 2**28 as threshold for log (2x) formula.
7419         * math/auto-libm-test-in: Add more tests of acosh.
7420         * math/auto-libm-test-out: Regenerated.
7421         * sysdeps/i386/fpu/libm-test-ulps: Update.
7422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7424 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7426         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
7427         parenthesis around the buf assignment.
7428         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
7430 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7432         [BZ #16783]
7433         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
7434         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
7435         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
7436         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7437         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7438         * math/libm-test.inc (scalb_test_data): Add more tests.
7440 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7442         [BZ #17916]
7443         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
7444         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
7446 2015-02-24  Eric Rannaud  <e@nanocritical.com>
7448         [BZ #17523]
7449         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
7450         * io/bits/fcntl2.h (open): Use it.
7451         (openat): Likewise.
7452         * io/open.c (__libc_open): Likewise.
7453         * io/open64.c (__libc_open64): Likewise.
7454         * io/open64_2.c (__open64_2): Likewise.
7455         * io/open_2.c (__open_2): Likewise.
7456         * io/openat.c (__openat): Likewise.
7457         * io/openat64.c (__openat64): Likewise.
7458         * io/openat64_2.c (__openat64_2): Likewise.
7459         * io/openat_2.c (__openat_2): Likewise.
7460         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
7461         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7462         * sysdeps/posix/open64.c (__libc_open64): Likewise.
7463         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7464         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
7465         (__open_nocancel): Likewise.
7466         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
7467         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
7468         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
7470 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7472         [BZ #14841]
7473         * resolv/gethnamaddr.c (getanswer): Skip logging if
7474         RES_USE_DNSSEC is set.
7475         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7477 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7479         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
7481 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
7483         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7484         201304L, for Unicode 7.
7486 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
7488         [BZ #17836]
7489         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
7490         shared library.  Add gmon-start.os otherwise.
7491         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
7492         $(objpfx)gmon-start.os if builing shared library.
7493         ($(objpfx)g$(static-start-installed-name)): Likewise.
7495 2015-02-23  Andreas Schwab  <schwab@suse.de>
7497         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
7499 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
7501         [BZ #17269]
7502         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
7503         (enlarge_userbuf): Likewise.
7505 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
7507         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
7508         * math/atest-exp.c (TIMEOUT): Adjust to 200.
7509         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
7510         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
7512 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
7514         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
7515         expression inside statement expression.
7517 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7519         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
7520         <sysdeps/nptl/lowlevellock.h> and remove macros and
7521         functions that are now defined there.
7522         (SYS_futex): Remove.
7523         (lll_compare_and_swap): Remove.
7524         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
7526 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
7528         [BZ #17999]
7529         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
7530         instead of scandirat.
7531         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
7532         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
7533         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
7534         __scandirat.
7535         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
7536         (__scandirat): Declare.  Use libc_hidden_proto.
7537         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
7538         Remove variable.
7539         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7541 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7543         [BZ #15319]
7544         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
7545         (MO): New macro.
7546         (__ieee754_atan2): For results with small absolute value, force
7547         underflow exception and remove excess range and precision from
7548         return value.
7549         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
7550         (MO): New macro.
7551         (__ieee754_atan2f): For results with small absolute value, force
7552         underflow exception and remove excess range and precision from
7553         return value.
7554         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
7555         (MO): New macro.
7556         (__atan): For results with small absolute value, force underflow
7557         exception and remove excess range and precision from return value.
7558         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
7559         (MO): New macro.
7560         (__atanf): For results with small absolute value, force underflow
7561         exception and remove excess range and precision from return value.
7562         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
7563         <math.h>.
7564         (__ieee754_atan2): Force underflow exception for results with
7565         small absolute value.
7566         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
7567         <math_private.h>.
7568         (atan): Force underflow exception for results with small absolute
7569         value.
7570         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
7571         (__atanf): Force underflow exception for results with small
7572         absolute value.
7573         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
7574         <math.h>.
7575         (__atanl): Force underflow exception for results with small
7576         absolute value.
7577         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
7578         (__atanl): Force underflow exception for results with small
7579         absolute value.
7580         * sysdeps/x86/fpu/bits/mathinline.h
7581         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
7582         (__ieee754_atan2): Only define inline for long double.
7583         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7584         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
7585         * math/auto-libm-test-in: Do not mark underflow exceptions as
7586         possibly missing for bug 15319.  Add more tests of atan2.
7587         * math/auto-libm-test-out: Regenerated.
7588         * math/libm-test.inc (casin_test_data): Do not mark underflow
7589         exceptions as possibly missing for bug 15319.
7590         (casinh_test_data): Likewise.
7591         * sysdeps/i386/fpu/libm-test-ulps: Update.
7593 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
7595         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
7596         * sysdeps/mips/bits/endian.h: Fix comments.
7598 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7600         [BZ #17996]
7601         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
7602         (hdestroy_r): Likewise.
7603         (hsearch_r): Likewise.
7604         (__hcreate_r): Declare and use libc_hidden_proto.
7605         (__hdestroy_r): Likewise.
7606         (__hsearch_r): Likewise.
7607         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
7608         (hcreate): Call __hcreate_r instead of hcreate_r.
7609         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
7610         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
7611         as weak alias of __hcreate_r.
7612         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
7613         __hdestroy_r.
7614         (hsearch_r): Rename to __hsearch_r and define as weak alias of
7615         __hsearch_r.
7616         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
7617         Remove variable.
7618         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7619         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7620         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7621         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7623 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7625         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
7626         arena_lock into a single arena_get.
7628 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
7630         * dl-reloc.c: Inlucde libc-internal.h.
7631         (_dl_try_allocate_static_tls): Call ALIGN_UP.
7632         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
7633         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
7634         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
7635         (grow_heap): Likewise.
7636         * malloc/malloc.c: Include libc-internal.h.
7637         (do_check_malloc): Call powerof2.
7638         (sysmalloc): Use pagesize. Call ALIGN_UP.
7639         (systrim): Use pagesize.
7640         (mremap_chunk): Use pagesize. Call ALIGN_UP.
7641         (__libc_valloc): Use pagesize.
7642         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
7644 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7646         [BZ #17991]
7647         * include/sys/resource.h (__getrlimit64): Declare.  Use
7648         libc_hidden_proto.
7649         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
7650         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
7651         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
7652         getrlimit64.
7653         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
7654         __getrlimit64.
7655         [!getrlimit64] (getrlimit64): Define as weak alias of
7656         __getrlimit64.  Use libc_hidden_weak.
7657         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
7658         using __getrlimit64 not __new_getrlimit64.
7659         (__GI_getrlimit64): Likewise.
7660         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
7661         Likewise.
7662         (__GI_getrlimit64): Likewise.
7663         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
7664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
7665         (getrlimit): Add __getrlimit64 alias.
7666         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
7667         Likewise.
7668         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
7669         Remove variable.
7670         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7671         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7673 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7675         * libio/fileops.c: Add missing sys/mman.h
7676         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7678 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7680         * manual/math.texi (Errors in Math Functions): Clarify goals
7681         regarding inexact and underflow exceptions.
7683 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7685         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7686         * sysdeps/mips/memset.S: Ditto.
7688 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7690         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7692 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7694         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7695         (__v1longjmp): Remove versioned symbol.
7696         (__v1siglongjmp): Remove alias and versioned symbol.
7697         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7698         (__v2siglongjmp): Likewise.
7700 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7702         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7704 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
7706         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7708 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7710         [BZ #17987]
7711         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7712         zero result does not depend on the sign resulting from
7713         subtraction.
7714         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7715         Likewise.
7716         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7717         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7718         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7719         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7720         * math/libm-test.inc (remquo_test_data): Add more tests.
7722 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7724         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7725         Problem reported by J William Piggott.
7727 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7729         [BZ #17978]
7730         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7731         products 4 * y and 2 * y where those would overflow.
7732         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7733         Likewise.
7734         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7735         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7736         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7737         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7738         * math/libm-test.inc (remquo_test_data): Add more tests.
7740         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7742         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7743         [defined _COMPILING_NEWLIB].
7744         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7745         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7747         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7748         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7750 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7752         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7753         acquired.
7755 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7757         [BZ #17792]
7758         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7759         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7760         HOST_STACK_END_ADDR): Likewise.
7762 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7764         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7765         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7766         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7768 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7770         * sysdeps/generic/c++-types.data: New file.
7771         * sysdeps/generic/ld.abilist: New file.
7772         * sysdeps/generic/libBrokenLocale.abilist: New file.
7773         * sysdeps/generic/libanl.abilist: New file.
7774         * sysdeps/generic/libc.abilist: New file.
7775         * sysdeps/generic/libcrypt.abilist: New file.
7776         * sysdeps/generic/libdl.abilist: New file.
7777         * sysdeps/generic/libm.abilist: New file.
7778         * sysdeps/generic/libpthread.abilist: New file.
7779         * sysdeps/generic/libresolv.abilist: New file.
7780         * sysdeps/generic/librt.abilist: New file.
7782 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7784         [BZ #17569]
7785         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7786         Compute absolute value of x as modified by fmod, not original
7787         value of x.
7788         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7789         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7790         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7791         RUN_TEST_ffI_f1_mod8.
7792         (remquo_test_data): Add more tests.
7794 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7796         * sysdeps/init_array/pt-crti.S: New file.
7798 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7800         [BZ #17967]
7801         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7802         __builtin_fmaf instead of relying on contraction of a * b + c.
7804 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7806         [BZ #17969]
7807         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7808         node.
7810 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7812         [BZ #17964]
7813         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7814         __builtin_fma instead of relying on contraction of a * b + c.
7816 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7818         * Makeconfig (ASFLAGS): Add -Werror=undef.
7819         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7820         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7821         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7823         * Makeconfig (after-link): New variable.
7824         (+link-pie, +link-pie-tests): Use it.
7825         (+link-static, +link-static-tests): Likewise.
7826         (+link, +link-tests): Likewise.
7827         * Makerules (build-module, build-module-asneeded): Likewise.
7828         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7829         Likewise.
7830         * elf/Makefile ($(objpfx)ld.so): Likewise.
7832 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7834         [BZ #17965]
7835         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7836         both struct timeval and struct timespec.
7838 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7840         [BZ #16560]
7841         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7842         and redefine.
7843         (__ieee754_exp2l): Do not multiply small fractional parts by
7844         M_LN2l.
7845         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7846         small argument.
7847         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7848         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7849         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7850         * math/auto-libm-test-in: Add more tests of exp2.
7851         * math/auto-libm-test-out: Regenerated.
7853 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7855         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7856         unaligned path.
7858 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7860         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7861         little endian.
7863 2015-02-12  Andreas Schwab  <schwab@suse.de>
7865         [BZ #15790]
7866         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7867         Filter out elision flags from value returned in kind.
7868         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7869         * nptl/tst-pthread-mutexattr.c: New file.
7871 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7873         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7874         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7875         into gnu-gnu, and update comment to refer to abi-tags.
7877 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7879         [BZ #15467]
7880         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7881         (__sincos): Set errno to EDOM for infinite argument.
7882         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7883         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7884         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7885         (__sincosl): Set errno to EDOM for infinite argument.
7886         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7887         (__sincosl): Set errno to EDOM for infinite argument.
7888         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7889         (__sincosl): Set errno to EDOM for infinite argument.
7890         * math/libm-test.inc (sincos_test_data): Test errno setting.
7892 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7894         * string/strxfrm_l.c: Remove #define STRCMP.
7895         * string/strcoll_l.c: Remove #define STRLEN.
7896         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7897         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7899 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7901         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7902         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7903         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7904         * sysdeps/mips/mips64/Makefile: ... here.
7905         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7906         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7907         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7908         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7909         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7910         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7911         * sysdeps/mips/mips64/n64/Implies: Likewise.
7913 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7915         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7916         <sys/time.h>, <string.h>, and <errno.h>.
7917         (dest_offset, dest_address, value, zero): Remove unused variables.
7918         (ldouble): Remove typedef.
7919         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7920         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7921         1).  Fix code style.
7922         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7923         (check): Function removed.
7924         (CHECK): New macro.
7925         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7926         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7927         Don't call set_sigaction_FP and remove_sigaction_FP here.
7928         (ldouble_test): Just use 'long double' as macro argument, no need for
7929         the 'ldouble' typedef.
7930         (do_test): Set up SIGFPE handler at start, using plain signal rather
7931         than sigaction.  Fix code style.
7933 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7935         [BZ #17949]
7936         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7937         jump label.
7939 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7941         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7942         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7944         * sysdeps/powerpc/configure.ac: Remove file.
7945         * sysdeps/powerpc/configure: Likewise.
7947         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7948         [sysdep_routines]: Remove wordcopy-power6 object.
7949         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7950         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7951         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7952         (__memmove_ppc32): Likewise.
7953         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7954         file.
7955         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7956         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7957         Remove preprocessor.
7959         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7960         [sysdep_routines]: Remove wide chars objects.
7961         [wcsmbs]: New rule for wide char objects.
7963         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7964         Remove wordcopy-power6 obejct.
7965         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7966         Use local call for wordcopy and memcpy symbols.
7967         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7968         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7969         implementation for loader.
7970         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7972         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7973         Remove wordcopy-power7 object.
7974         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7975         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7976         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7977         (_wordcopy_fwd_dest_aligned): Likewise.
7978         (_wordcopy_bwd_aligned): Likewise.
7979         (_wordcopy_bwd_dest_aligned): Likewise.
7981         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7982         Rewrite to call __memmove_ppc instead of include default
7983         implementation.
7985         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7986         Remove wide chars objects.
7987         [wcsmbs]: New rule for wide char objects.
7989 2015-02-09  Andreas Schwab  <schwab@suse.de>
7991         [BZ #17912]
7992         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7993         in terms of __O_DIRECTORY.
7995 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7997         * time/getdate.c: Include <stdbool.h>.
7998         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7999         call PTR_MANGLE.
8000         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
8001         PTR_DEMANGLE.
8003 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
8005         Add ersatz _Static_assert on older C hosts
8006         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
8007         pre-C11 C platform that is not known to support _Static_assert.
8009 2015-02-07  Richard Braun  <rbraun@sceen.net>
8011         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
8012         sigstate.
8013         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
8015 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8017         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
8018         priority against unexistent AIO_PRIO_DELTA_MAX.
8019         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
8020         instead of int.
8021         * misc/fchflags.c (fchflags): Likewise.
8022         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
8023         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
8024         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
8025         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
8026         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
8027         Declare macros.
8028         [__USE_MISC] (chflags, fchflags): Declare functions.
8029         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
8030         EINVAL when nfds is greater than FD_SETSIZE.
8031         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
8032         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
8033         45.
8034         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
8035         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
8036         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
8037         MACH_RCV_TIMED_OUT.
8038         * hurd/hurd/signal.h (_hurd_self_sigstate,
8039         _hurd_critical_section_lock, _hurd_critical_section_unlock):
8040         Explicit casts from void *.
8041         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
8042         * abi-tags: Rename gnu-gnu os into gnu.
8044         [BZ #4719]
8045         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
8046         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
8047         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
8048         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
8049         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
8050         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
8052         [BZ #17944]
8053         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
8054         duplicates ADDR->sun_path with sockaddr LEN limitation.
8055         * sysdeps/mach/hurd/connect.c: Include <string.h>
8056         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
8057         * sysdeps/mach/hurd/sendmsg.c: Likewise.
8058         * sysdeps/mach/hurd/sendto.c: Likewise.
8059         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
8060         implementing it by hand.
8062 2015-02-06  Roland McGrath  <roland@hack.frob.com>
8064         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
8065         Use sfi_breg on ldr.
8066         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
8067         Likewise.
8069         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
8070         it's defined.
8071         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
8072         Test SIGSETXID only if it's defined.
8074         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
8076         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
8077         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
8079         * nptl/tst-align2.c: Moved ...
8080         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
8081         * nptl/Makefile (tests): Remove tst-align2.
8082         * sysdeps/unix/sysv/linux/Makefile
8083         [$(subdir) = nptl] (tests): Add tst-align-clone.
8084         * nptl/tst-getpid1.c: Moved ...
8085         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
8086         * nptl/tst-getpid2.c: Moved ...
8087         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
8088         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
8089         * sysdeps/unix/sysv/linux/Makefile
8090         [$(subdir) = nptl] (tests): ... here.
8091         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
8092         * sysdeps/unix/sysv/linux/Makefile
8093         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
8095         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
8096         Drop trailing \n from perror argument.  Use return rather than exit.
8098         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
8099         on [SA_SIGINFO].
8100         * nptl/tst-cancel21.c (do_test): Likewise.
8101         * debug/tst-backtrace6.c: Include <signal.h> first thing.
8102         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
8103         [!SA_SIGINFO]: Make it a stub test.
8105         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
8106         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
8108         * posix/tst-getlogin.c: Move to ...
8109         * login/tst-getlogin.c: ... here.
8110         * posix/Makefile (tests): Move tst-getlogin to ...
8111         * login/Makefile (tests): ... here.
8113         * libio/tst-atime.c (do_test): Move local variables SV and E
8114         inside [ST_NOATIME] conditional.
8116         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
8118         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
8120         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
8121         (wait_code): New function replaces macro.
8122         Call nanosleep rather than syscall.
8124         * nptl/pt-system.c: Rewritten.  Put everything under
8125         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8126         Use IFUNC to redirect when possible.
8128         * nptl/pt-longjmp.c: Rewritten.  Put everything under
8129         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8130         Use IFUNC to redirect when possible.
8132         * nptl/pt-fork.c: Rewritten.  Put everything under
8133         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8134         Use IFUNC to redirect when possible.
8135         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
8137         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
8138         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
8139         unconditionally nowadays.  This included the only reference to
8140         __vdso_clock_gettime that appears outside libc proper.
8141         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
8142         Remove version set (containing only __vdso_clock_gettime).
8143         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
8144         Add attribute_hidden.
8145         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
8146         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
8147         libc_hidden_data_def.
8148         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8149         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8151         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
8152         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
8153         setrpcent, and getrpcport to ...
8154         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
8155         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
8156         getrpcbynumber_r, and getrpcent_r to ...
8157         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
8158         * inet/getrpcbyname.c: Moved ...
8159         * sunrpc/getrpcbyname.c: ... here.
8160         * inet/getrpcbyname_r.c: Moved ...
8161         * sunrpc/getrpcbyname_r.c: ... here.
8162         * inet/getrpcbynumber.c: Moved ...
8163         * sunrpc/getrpcbynumber.c: ... here.
8164         * inet/getrpcbynumber_r.c: Moved ...
8165         * sunrpc/getrpcbynumber_r.c: ... here.
8166         * inet/getrpcent.c: Moved ...
8167         * sunrpc/getrpcent.c: ... here.
8168         * inet/getrpcent_r.c: Moved ...
8169         * sunrpc/getrpcent_r.c: ... here.
8170         * inet/Makefile (routines): Move those to ...
8171         * sunrpc/Makefile (routines): ... here.
8172         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
8173         the $(subdirs) list.
8174         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
8175         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
8176         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
8177         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
8179         * elf/Makefile (routines): Include $(all-dl-routines), not just
8180         $(dl-routines).
8181         (rtld-routines): Likewise.  Use = rather than :=.
8182         * sysdeps/aarch64/Makefile [$(subdir) = elf]
8183         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
8184         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
8185         * sysdeps/arm/Makefile: Likewise.
8186         * sysdeps/i386/Makefile: Likewise.
8187         * sysdeps/x86_64/Makefile: Likewise.
8188         * sysdeps/hppa/Makefile [$(subdir) = elf]
8189         (sysdep_routines, sysdep-rtld-routines): Don't add
8190         $(sysdep-dl-routines) to these.
8191         * sysdeps/ia64/Makefile: Likewise.
8192         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
8193         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
8194         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
8195         Don't add dl-static to these; sysdep-dl-routines alone is enough.
8196         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
8197         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
8198         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
8199         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
8200         * sysdeps/powerpc/Makefile [$(subdir) = elf]
8201         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
8202         these; sysdep-dl-routines alone is enough.
8204 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
8206         [BZ #17932]
8207         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
8208         where multiplication results in zero and third argument is finite
8209         and nonzero.
8210         * math/auto-libm-test-in: Add more tests of fma.
8211         * math/auto-libm-test-out: Regenerated.
8213         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
8214         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
8215         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
8216         (_FP_CMP_EQ): Likewise.
8217         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
8219         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
8220         extra argument CHECK_NAN.  Redefine as wrapper around
8221         _FP_EXTEND_CNAN.
8223 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
8225         * version.h (RELEASE): Set to "stable".
8226         (VERSION): Set to "2.21"
8227         * include/features.h (__GLIBC_MINOR__): Set to 21.
8229         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
8231 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8232             Paul Eggert  <eggert@cs.ucla.edu>
8234         [BZ #16618]
8235         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
8236         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
8237         size in bytes. Store needed elements in wpmax. Use needed size
8238         in bytes for extend_alloca.
8240 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
8242         * manual/install.texi: Latest tested versions are GCC 4.9.2,
8243         binutls 2.25, and texinfo 5.2.
8244         * INSTALL: Regenerate.
8245         * sysdeps/nios2/configure: Regenerate.
8246         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
8247         * manual/contrib.texi: Update.
8248         * po/be.po: Update.
8249         * po/bg.po: Update.
8250         * po/ca.po: Update.
8251         * po/cs.po: Update.
8252         * po/da.po: Update.
8253         * po/de.po: Update.
8254         * po/el.po: Update.
8255         * po/eo.po: Update.
8256         * po/es.po: Update.
8257         * po/fi.po: Update.
8258         * po/fr.po: Update.
8259         * po/gl.po: Update.
8260         * po/hr.po: Update.
8261         * po/hu.po: Update.
8262         * po/ia.po: Update.
8263         * po/id.po: Update.
8264         * po/it.po: Update.
8265         * po/ja.po: Update.
8266         * po/ko.po: Update.
8267         * po/lt.po: Update.
8268         * po/nb.po: Update.
8269         * po/nl.po: Update.
8270         * po/pl.po: Update.
8271         * po/pt_BR.po: Update.
8272         * po/ru.po: Update.
8273         * po/rw.po: Update.
8274         * po/sk.po: Update.
8275         * po/sl.po: Update.
8276         * po/sv.po: Update.
8277         * po/tr.po: Update.
8278         * po/uk.po: Update.
8279         * po/vi.po: Update.
8280         * po/zh_CN.po: Update.
8281         * po/zh_TW.po: Update.
8283         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
8284         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
8285         * sysdeps/hppa/dl-irel.h: Remove #warning.
8286         * sysdeps/hppa/entry.h: Provide prototype for
8287         __canonicalize_funcptr_for_compare and cast argument.
8288         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
8289         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
8290         * sysdeps/hppa/sotruss-lib.c: New file.
8291         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
8292         (atomic_compare_and_exchange_val_acq): Use __typeof__.
8293         (atomic_compare_and_exchange_bool_acq): Likewise.
8294         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
8295         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
8297         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
8298         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
8299         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
8301 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
8303         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
8304         called function in non-PIC case.
8306 2015-01-31  David S. Miller  <davem@davemloft.net>
8308         * sysdeps/sparc/sparc32/bits/atomic.h
8309         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
8310         unlock not after it.
8311         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
8312         volatile register usage warnings from the compiler.
8314         * sysdeps/sparc/nptl/sem_init.c: Delete.
8315         * sysdeps/sparc/nptl/sem_post.c: Delete.
8316         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
8317         * sysdeps/sparc/nptl/sem_wait.c: Delete.
8318         * sysdeps/sparc/sparc32/sem_init.c: New file.
8319         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
8320         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
8321         padding explicitly initialized.
8322         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
8323         padding for in-semaphore spinlock.
8324         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
8325         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
8326         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
8327         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
8328         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
8329         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
8330         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
8331         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
8332         version.
8333         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
8334         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
8336 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8338         [BZ #17801]
8339         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8340         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
8341         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
8342         New.
8343         (index_AVX_Fast_Unaligned_Load): Likewise.
8344         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
8345         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
8346         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
8347         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
8348         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
8349         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
8350         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
8351         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
8352         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
8354 2015-01-29  Andreas Schwab  <schwab@suse.de>
8356         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
8358 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
8360         [BZ #17892]
8361         * nscd/nscd_stat.c (send_stats): Initialize DATA.
8363 2015-01-28  Martin Sebor  <msebor@redhat.com>
8365         * math/README.libm-test: Clarify. Add "How to read the test output."
8367 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
8369         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
8370         Define to 0.
8372 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
8374         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
8375         (__HAVE_64B_ATOMICS): Define to 0.
8377 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8379         [BZ #17885]
8380         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
8381         value to set as new flag.
8383         [BZ #16576]
8384         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
8385         and use _ARCH_PPCSQ instead.
8386         (__ieee754_sqrt): Likewise.
8387         (__ieee754_sqrtf): Likewise.
8388         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
8389         _ARCH_PPCSQ is defined.
8390         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
8391         fsqrt instruction.
8392         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
8393         _ARCH_PPCSQ is defined.
8394         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
8395         fsqrts instruction.
8396         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
8398 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8400         * iconv/loop.c: Suppress array out of bound warning caused by GCC
8401         bug (GCC BZ #64739).
8403 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
8405         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
8406         Mark _retval as used.
8407         (lll_futex_wake_unlock): Likewise.
8408         (lll_futex_timed_wait_requeue_pi): Likewise.
8410         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8411         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
8412         register variables.
8414         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
8415         libm_hidden_def.
8417         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
8418         (__bswap_64): Mark as __always_inline.
8420 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
8422         [BZ #15378]
8423         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
8424         when none of the search directories exist.
8426 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8428         [BZ #17869]
8429         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
8430         power8 in .machine directive.
8432         [BZ #17868]
8433         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
8434         set dependency from opd value.
8436 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8438         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8439         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
8440         architecture.
8442 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8444         [BZ #17870]
8445         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
8446         with uint64_t.
8447         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
8448         (uint64_t) 1.
8449         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
8450         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
8451         Replace 1UL with (uint64_t) 1.
8452         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
8453         int with uint64_t.
8455 2015-01-23  Roland McGrath  <roland@hack.frob.com>
8457         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
8458         (if_freenameindex): Likewise.
8460         * resource/getrlimit64.c: Add missing libc_hidden_def.
8462 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
8464         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
8465         __label__.
8466         (_FP_FMA): Likewise.
8467         (_FP_TO_INT_ROUND): Likewise.
8468         (_FP_FROM_INT): Likewise.
8470 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8472         [BZ #16418]
8473         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
8474         Make code racy and cancel safe.
8476 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
8478         * sysdeps/arm/unwind-resume.h: Fix copyright year.
8479         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
8480         attribution.
8482         * pwd/tst-getpw.c: Rewrite.
8484         [BZ #17702]
8485         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
8486         (modules-names): Add moddummy1 and moddummy2.
8487         ($(objpfx)tst-rec-dlopen): Define.
8488         * dlfcn/moddummy1.c: New file.
8489         * dlfcn/moddummy2.c: New file.
8490         * dlfcn/tst-rec-dlopen.c: New file.
8491         * elf/dl-cache.c (_dl_load_cache_lookup):
8492         Return char*. Copy result with alloca/strcpy/strdup.
8493         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
8494         returns char*. Free cached. If not saving realname
8495         free cached.
8496         * elf/dl-open.c (dl_open_worker): Do not assert that
8497         _r_debug->r_state is RT_CONSISTENT.
8498         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
8499         returns char*.
8501 2015-01-21  Torvald Riegel  <triegel@redhat.com>
8502             Carlos O'Donell  <carlos@redhat.com>
8504         [BZ #12674]
8505         * nptl/sem_waitcommon.c: New file.
8506         * nptl/sem_wait.c: Include sem_waitcommon.c.
8507         (__sem_wait_cleanup, do_futex_wait): Remove.
8508         (__new_sem_wait): Adapt.
8509         (__new_sem_trywait): New function.
8510         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
8511         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
8512         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
8513         (sem_timedwait): Adapt.
8514         * nptl/sem_post.c (__new_sem_post): Adapt.
8515         (futex_wake): New function.
8516         (__old_sem_post): Add release MO fence.
8517         * nptl/sem_open.c (sem_open): Adapt.
8518         * nptl/sem_init.c (__new_sem_init): Adapt.
8519         (futex_private_if_supported): New function.
8520         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
8521         (__old_sem_getvalue): Add using previous code.
8522         * sysdeps/nptl/internaltypes.h: Adapt.
8523         * nptl/tst-sem13.c (do_test): Adapt.
8524         * nptl/tst-sem11.c (main): Adapt.
8525         * nptl/sem_trywait.c: Remove.
8526         * nptl/DESIGN-sem.txt: Remove.
8527         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
8528         (gen-as-const-headers): Remove structsem.sym.
8529         * nptl/structsem.sym: Remove.
8530         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
8531         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
8532         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
8533         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
8534         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
8535         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
8536         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
8537         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
8538         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
8539         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
8540         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
8541         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
8542         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
8543         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
8544         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
8545         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
8546         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
8547         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
8548         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
8549         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
8550         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
8551         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
8553 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
8555         * INSTALL: Regenerated.
8557         * po/libc.pot: Regenerated.
8559 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
8560             Sandra Loosemore  <sandra@codesourcery.com>
8561             Andrew Jenner  <andrew@codesourcery.com>
8562             Joseph Myers  <joseph@codesourcery.com>
8563             Nathan Sidwell  <nathan@codesourcery.com>
8565         * NEWS: Mention new Nios II port.
8566         * sysdeps/nios2/Implies: New file.
8567         * sysdeps/nios2/Makefile: New file.
8568         * sysdeps/nios2/Subdirs: New file.
8569         * sysdeps/nios2/Versions: New file.
8570         * sysdeps/nios2/__longjmp.S: New file.
8571         * sysdeps/nios2/abort-instr.h: New file.
8572         * sysdeps/nios2/backtrace.c: New file.
8573         * sysdeps/nios2/bits/endian.h: New file.
8574         * sysdeps/nios2/bits/fenv.h: New file.
8575         * sysdeps/nios2/bits/link.h: New file.
8576         * sysdeps/nios2/bits/setjmp.h: New file.
8577         * sysdeps/nios2/bsd-_setjmp.S: New file.
8578         * sysdeps/nios2/bsd-setjmp.S: New file.
8579         * sysdeps/nios2/configure: New generated file.
8580         * sysdeps/nios2/configure.ac: New file.
8581         * sysdeps/nios2/crti.S: New file.
8582         * sysdeps/nios2/crtn.S: New file.
8583         * sysdeps/nios2/dl-init.c: New file.
8584         * sysdeps/nios2/dl-machine.h: New file.
8585         * sysdeps/nios2/dl-sysdep.h: New file.
8586         * sysdeps/nios2/dl-tls.h: New file.
8587         * sysdeps/nios2/dl-trampoline.S: New file.
8588         * sysdeps/nios2/gccframe.h: New file.
8589         * sysdeps/nios2/gmp-mparam.h: New file.
8590         * sysdeps/nios2/jmpbuf-offsets.h: New file.
8591         * sysdeps/nios2/jmpbuf-unwind.h: New file.
8592         * sysdeps/nios2/ldsodefs.h: New file.
8593         * sysdeps/nios2/libc-tls.c: New file.
8594         * sysdeps/nios2/libm-test-ulps: New file.
8595         * sysdeps/nios2/machine-gmon.h: New file.
8596         * sysdeps/nios2/math-tests.h: New file.
8597         * sysdeps/nios2/math_private.h: New file.
8598         * sysdeps/nios2/memusage.h: New file.
8599         * sysdeps/nios2/nptl/Makefile: New file.
8600         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
8601         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
8602         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
8603         * sysdeps/nios2/nptl/pthreaddef.h: New file.
8604         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
8605         * sysdeps/nios2/nptl/tls.h: New file.
8606         * sysdeps/nios2/preconfigure: New file.
8607         * sysdeps/nios2/s_fma.c: New file.
8608         * sysdeps/nios2/s_fmaf.c: New file.
8609         * sysdeps/nios2/setjmp.S: New file.
8610         * sysdeps/nios2/sfp-machine.h: New file.
8611         * sysdeps/nios2/sotruss-lib.c: New file.
8612         * sysdeps/nios2/stackguard-macros.h: New file.
8613         * sysdeps/nios2/stackinfo.h: New file.
8614         * sysdeps/nios2/start.S: New file.
8615         * sysdeps/nios2/sysdep.h: New file.
8616         * sysdeps/nios2/tls-macros.h: New file.
8617         * sysdeps/nios2/tst-audit.h: New file.
8618         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
8619         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
8620         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
8621         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
8622         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
8623         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
8624         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
8625         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
8626         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
8627         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
8628         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
8629         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
8630         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
8631         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
8632         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
8633         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
8634         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
8635         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
8636         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
8637         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
8638         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
8639         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
8640         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
8641         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
8642         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
8643         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
8644         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
8645         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
8646         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
8647         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
8648         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
8649         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
8650         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
8651         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
8652         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
8653         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
8654         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
8655         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
8656         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
8657         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
8658         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
8659         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
8660         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
8661         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
8663 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8665         [BZ #17844]
8666         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
8667         (getutent): Use weak_alias in non SHARED case
8668         and default_symbol_version in SHARED case.
8669         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8670         (getutent_r, pututline): Likewise.
8671         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8672         (getutid): Likewise.
8673         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8674         (getutid_r): Likewise.
8675         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8676         (getutline): Likewise.
8677         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8678         (getutline_r): Likewise.
8679         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8680         (updwtmp): Likewise.
8682 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8684         [BZ #17848]
8685         * sysdeps/s390/s390-32/memcmp.S
8686         (memcmp_g5): Rename to __memcmp_g5.
8687         * sysdeps/s390/s390-32/memcpy.S
8688         (memcpy_g5): Rename to __memcpy_g5.
8689         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8690         (memcpy_mvcle) Rename to __memcpy_mvcle.
8691         * sysdeps/s390/s390-32/memset.S
8692         (memset_g5): Rename to __memset_g5.
8693         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8694         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8695         and use prefixed functions.
8696         * sysdeps/s390/s390-32/multiarch/memcmp.S
8697         (memcmp_z196): Rename to __memcmp_z196.
8698         (memcmp_z10): Rename to __memcmp_z10.
8699         (memcmp): Set alias to __memcmp_g5.
8700         (bcmp): Set alias to __memcmp_g5.
8701         * sysdeps/s390/s390-32/multiarch/memcpy.S
8702         (memcpy_z196): Rename to __memcpy_z196.
8703         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8704         (memcpy_z10): Rename to __memcpy_z10.
8705         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8706         (memcpy): Set alias to __memcpy_g5.
8707         * sysdeps/s390/s390-32/multiarch/memset.S
8708         (memset_z196): Rename to __memset_z196.
8709         Jump to __memset_mvcle instead of memset_mvcle.
8710         (memset_z10): Rename to __memset_z10.
8711         Jump to __memset_mvcle instead of memset_mvcle.
8712         (memset_mvcle) Rename to __memset_mvcle.
8713         (memset): Set alias to __memset_g5.
8714         * sysdeps/s390/s390-64/memcmp.S
8715         (memcmp_z900): Rename to __memcmp_z900.
8716         * sysdeps/s390/s390-64/memcpy.S
8717         (memcpy_z900): Rename to __memcpy_z900.
8718         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8719         (memcpy_mvcle) Rename to __memcpy_mvcle.
8720         * sysdeps/s390/s390-64/memset.S
8721         (memset_z900): Rename to __memset_z900.
8722         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8723         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8724         and use prefixed functions.
8725         * sysdeps/s390/s390-64/multiarch/memcmp.S
8726         (memcmp_z196): Rename to __memcmp_z196.
8727         (memcmp_z10): Rename to __memcmp_z10.
8728         (memcmp): Set alias to __memcmp_z900.
8729         (bcmp): Set alias to __memcmp_z900.
8730         * sysdeps/s390/s390-64/multiarch/memcpy.S
8731         (memcpy_z196): Rename to __memcpy_z196.
8732         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8733         (memcpy_z10): Rename to __memcpy_z10.
8734         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8735         (memcpy): Set alias to __memcpy_z900.
8736         * sysdeps/s390/s390-64/multiarch/memset.S
8737         (memset_z196): Rename to __memset_z196.
8738         Jump to __memset_mvcle instead of memset_mvcle.
8739         (memset_z10): Rename to __memset_z10.
8740         Jump to __memset_mvcle instead of memset_mvcle.
8741         (memset_mvcle) Rename to __memset_mvcle.
8742         (memset): Set alias to __memset_z900.
8744 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8746         [BZ #17748]
8747         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8748         __fesetenv instead of fesetenv.
8750 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8752         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8753         macro.
8755 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8757         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8758         regression on LE.
8760         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8761         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8762         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8763         strncmp-power8 object.
8764         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8765         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8766         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8767         * NEWS: Update.
8769 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8770             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8772         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8773         trailing byte check.
8775 2015-01-13  David S. Miller  <davem@davemloft.net>
8777         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8779 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8781         * login/logout.c (logout): Use memset rather than bzero.
8782         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8783         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8784         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8785         (_gethtbyaddr): Likewise.
8786         * locale/programs/simple-hash.c (bcopy): Macro removed.
8788 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8790         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8791         Add strcmp-power8 object.
8792         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8793         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8794         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8795         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8796         __strcmp_power8 implementation.
8797         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8798         * NEWS: Update.
8800         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8801         Add strncpy-power8 and stpncpy-power8 objects.
8802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8803         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8804         implementations.
8805         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8806         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8807         __stpncpy_power8 implementation.
8808         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8809         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8810         __strncpy_power8 implementation.
8811         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8812         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8813         * NEWS: Update.
8815         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8816         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8817         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8819         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8820         strncat-power8 object.
8821         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8822         __strcat_power8 implementation.
8823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8824         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8825         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8826         optimized strcat for power8.
8828         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8829         strcpy-power8 and stpcpy-power8 objects.
8830         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8831         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8832         implementations.
8833         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8834         multiarch stpcpy implementation for POWER8.
8835         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8836         multiarch strcpy implementation for POWER8.
8837         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8838         __strcpy_power8 function.
8839         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8840         stpcpy for POWER8.
8841         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8842         strcpy for POWER8.
8843         * NEWS: Update.
8845 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8847         [BZ #16009]
8848         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8849         weights and rules. Use do_xfrm_cached if data fits in cache,
8850         do_xfrm otherwise.  Moved former main loop to...
8851         * (do_xfrm_cached): New function.
8852         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8853         find_idx, find_position and stack_push.
8854         * (find_idx): New function.
8855         * (find_position): Likewise.
8856         * localedata/sort-test.sh: Added test run for do_xfrm.
8857         * localedata/xfrm-test.c (main): Added command line option
8858         -nocache to run the test with strings that are too large for
8859         the STRXFRM cache.
8861 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8863         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8864         variable to lll_futex_wake call, not the value itself.
8866 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8868         [BZ #17803]
8869         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8870         twom64.  Adjust value to 0x1p-64L.
8871         (__scalblnl): Only return standard underflowing result for K <=
8872         -64 not K <= -63; adjust exponent for underflowing result by 64
8873         not 63.
8874         * math/libm-test.inc (scalbn_test_data): Add more tests.
8875         (scalbln_test_data): Likewise.
8877         [BZ #17834]
8878         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8879         0x1p63L.
8880         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8881         not HX.
8882         * math/libm-test.inc (scalbn_test_data): Add more tests.
8883         (scalbln_test_data): Likewise.
8885 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8886             Stefani Seibold  <stefani@seibold.net>
8888         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8889         (sysdep_routines): Add dl-vdso here, ...
8890         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8891         (sysdep_routines): ... not here.
8892         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8893         fallback when vDSO is not presented.
8894         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8895         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8896         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8897         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8898         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8899         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8900         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8901         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8902         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8903         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8904         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8905         fallback configurable symbol when vDSO is not available.
8906         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8907         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8908         be able to redefine fallback symbol when vDSO is not available.
8909         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8910         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8912 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8914         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8915         (TLS_INIT_TP): Add tm_capable initialization.
8916         (TLS_DEFINE_INIT_TP): Likewise.
8917         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8918         TCB.
8919         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8920         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8921         calculation.
8922         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8923         transactoion is lock elision is built and TCB tm_capable is set.
8924         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8926         (INTERNAL_SYSCALL_NCS): Likewise.
8927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8928         (INTERNAL_SYSCALL_NCS): Likewise.
8929         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8931         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8932         for powerpc.
8933         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8934         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8935         and remove it for 32 bits case.
8936         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8937         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8938         initialization.
8939         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8940         Disable lock elision with rdlocks if elision is not available.
8942         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8943         (sysdep_routines): Add lock elision objects.
8944         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8945         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8946         [pthread_mutex_t] (__elision): Add field.
8947         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8948         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8949         elision definitions for powerpc.
8950         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8951         implementation of lock elision for powerpc.
8952         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8953         implementation of timed lock elision for powerpc.
8954         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8955         implementation of trylock with lock elision for powerpc.
8956         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8957         implementaion of unlock for lock elision for powerpc.
8958         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8959         automatic enable lock elision for mutexes.
8960         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8961         transaction execution definitions for powerpc.
8962         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8963         definitions.
8964         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8965         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8966         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8967         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8968         * NEWS: Update.
8970 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8972         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8973         for #include of <shm-directory.h>.
8975 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8977         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8978         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8980 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8982         [BZ #17791]
8983         * NEWS: Mention bug fix.
8984         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8985         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8986         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8988 2015-01-09  Torvald Riegel <triegel@redhat.com>
8990         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8992 2015-01-09  Torvald Riegel <triegel@redhat.com>
8994         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8996 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8998         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8999         pointer and cast to uintptr_t.
9001 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
9003         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
9004         removed.
9005         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
9007 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
9009         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
9010         of 0.
9012 2015-01-08  Roland McGrath  <roland@hack.frob.com>
9014         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
9015         <nptl/pthreadP.h> instead.
9016         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
9018         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
9019         already defined.
9020         [__SIGRTMIN] (init): Function removed.
9021         [__SIGRTMIN] (initialized): Variable removed.
9022         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
9023         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
9024         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
9025         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
9026         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
9027         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
9028         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
9029         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
9030         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
9031         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
9032         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
9033         * sysdeps/nptl/allocrtsig.c: New file.
9034         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
9035         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
9036         * sysdeps/generic/testrtsig.h: File removed.
9038         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
9039         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
9041         * nptl/nptl-init.c (pthread_functions): Conditionalize
9042         .ptr__nptl_setxid initialization on [SIGSETXID].
9044         * sysdeps/nptl/sys/procfs.h: New file.
9045         * nptl_db/Makefile (headers): Add it.
9046         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
9048         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
9049         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
9050         * nptl/pthread_attr_setaffinity.c: Include it.
9051         * nptl/pthread_setattr_default_np.c: Likewise.
9052         * nptl/check-cpuset.h: New file.
9054 2015-01-08  Richard Henderson  <rth@redhat.com>
9056         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
9057         (CFLAGS-tst-execstack-prog.c): Likewise.
9058         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
9060 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
9061             Sandra Loosemore  <sandra@codesourcery.com>
9062             Andrew Jenner  <andrew@codesourcery.com>
9063             Joseph Myers  <joseph@codesourcery.com>
9064             Nathan Sidwell  <nathan@codesourcery.com>
9066         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
9067         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
9068         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
9069         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
9070         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
9071         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
9072         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
9073         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
9074         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
9075         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
9076         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
9077         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
9078         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
9079         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
9080         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
9081         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
9082         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
9084 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9086         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
9087         timespec struct member in syscall macro.
9088         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9089         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
9090         first timeval struct member in syscall macro.
9091         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
9093 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
9095         [BZ #17748]
9096         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
9097         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
9098         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
9099         __feupdateenv and define as weak alias of __feupdateenv.  Use
9100         libm_hidden_weak.
9101         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
9102         libm_hidden_def.
9103         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
9104         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
9105         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9106         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
9107         libm_hidden_def.
9108         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
9109         __feupdateenv and define as weak alias of __feupdateenv.  Use
9110         libm_hidden_weak.
9111         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
9112         libm_hidden_def.
9113         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
9114         __feupdateenv and define as weak alias of __feupdateenv.  Use
9115         libm_hidden_weak.
9116         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
9117         libm_hidden_def.
9118         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9119         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9120         (__feupdateenv): Likewise.
9121         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
9122         __feupdateenv and define as weak alias of __feupdateenv.  Use
9123         libm_hidden_weak.
9124         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9125         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
9126         libm_hidden_def.
9127         * sysdeps/tile/math_private.h (__feupdateenv): New inline
9128         function.
9129         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
9130         libm_hidden_def.
9131         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
9132         __feupdateenv instead of feupdateenv.
9133         (default_libc_feupdateenv_test): Likewise.
9134         (libc_feresetround_ctx): Likewise.
9136 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9138         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
9139         prototype.
9141 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
9143         * posix/regcomp.c (parse_bracket_exp): Initialize type to
9144         COLL_SYM in a couple of places to avoid uninitialized variable
9145         wanings on tilegx gcc 4.8.2.
9147 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9149         * sysdeps/aarch64/strcpy.S: New file.
9150         * sysdeps/aarch64/stpcpy.S: New file.
9151         * NEWS: Updated.
9153 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9155         * sysdeps/aarch64/strrchr.S: New file.
9156         * NEWS: Updated.
9158 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
9160         [BZ #17658]
9161         * stdlib/setenv.c: Fix memory leak when setting large,
9162         duplicate string.
9164 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
9166         [BZ #17273]
9167         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
9168         and tabs from buffer before parsing fstab entry.
9169         * misc/tst-mntent.c (main): Add test for mount entry with
9170         trailing spaces and tabs.
9172 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
9174         [BZ #17748]
9175         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
9176         * math/fesetround.c (fesetround): Rename to __fesetround and
9177         define as weak alias of __fesetround.  Use libm_hidden_weak.
9178         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
9179         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
9180         * sysdeps/arm/fesetround.c (fesetround): Likewise.
9181         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
9182         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
9183         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
9184         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
9185         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
9186         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
9187         __fesetround_inline.
9188         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
9189         __fesetround_inline instead of __fesetround.
9190         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
9191         __fesetround and define as weak alias of __fesetround.  Use
9192         libm_hidden_weak.  Call __fesetround_inline instead of
9193         __fesetround.
9194         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
9195         __fesetround and define as weak alias of __fesetround.  Use
9196         libm_hidden_weak.
9197         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
9198         Likewise.
9199         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
9200         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9201         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
9202         * sysdeps/tile/math_private.h (__fesetround): New inline function.
9203         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
9204         __fesetround and define as weak alias of __fesetround.  Use
9205         libm_hidden_weak.
9206         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
9207         __fesetround instead of fesetround.
9208         (default_libc_feholdexcept_setround): Likewise.
9209         (libc_feholdsetround_ctx): Likewise.
9210         (libc_feholdsetround_noex_ctx): Likewise.
9212         [BZ #17748]
9213         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
9214         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
9215         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9216         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9217         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9218         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
9219         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9220         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9221         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9222         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9223         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9224         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9225         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9226         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9227         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
9228         libm_hidden_def.
9229         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
9230         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
9231         Likewise.
9232         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9233         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9234         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9235         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9236         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
9237         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9238         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9239         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
9240         __fesetenv instead of fesetenv.
9241         (libc_feresetround_noex_ctx): Likewise.
9242         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9243         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9244         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
9245         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9246         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9247         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9248         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9249         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9250         (__feupdateenv): Likewise.
9251         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9252         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9253         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9254         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
9256 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9258         [BZ #17806]
9259         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
9260         addresses have been freed.
9262 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9264         * resolv/res_init.c (__res_vinit): Improve comments about nserv
9265         and nservall.
9267 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
9269         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
9270         Clean up check_pf allocation pattern. addresses
9272 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9274         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
9275         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
9276         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9277         * nptl/pthread_exit.c (__pthread_exit): Likewise.
9278         * nptl/pthread_join.c (pthread_join): Likewise.
9279         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
9280         * sysdeps/posix/waitid.c (__waitid): Likewise.
9281         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9282         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9283         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9284         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9285         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9286         Likewise.
9287         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9288         (__libc_pread64): Likewise.
9289         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9290         (__libc_pwrite): Likewise.
9291         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9292         (__libc_pwrite64): Likewsie.
9293         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9294         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9295         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9296         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9297         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9298         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9299         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9301         Likewise.
9302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9303         (__libc_pread64): Likewise.
9304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
9305         Likewise.
9306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9307         (__libc_pwrite64): Likewise.
9308         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9309         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9310         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
9311         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9312         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9313         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9314         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
9315         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9316         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9317         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9318         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
9319         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9320         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9321         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
9322         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9323         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9324         Likewise.
9326 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9328         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
9329         (CFLAGS-test-double.c): Likewise.
9330         (CFLAGS-test-ldouble.c): Likewise.
9331         (CPPFLAGS-test-ifloat.c): Likewise.
9332         (CPPFLAGS-test-idouble.c): Likewise.
9333         (CPPFLAGS-test-ildoubl.c): Likewise.
9334         (CFLAGS-test-test-fenv.c): Remove variable.
9335         (CFLAGS-test-misc.c): Likewise.
9337 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
9339         [BZ #17797]
9340         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
9341         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
9342         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
9343         CLOCKS_PER_SEC == 1000000.
9344         * time/clocktest.c (main): Replace %ld with %jd and cast to
9345         intmax_t.
9347 2015-01-05  Roland McGrath  <roland@hack.frob.com>
9349         * sysdeps/generic/unwind-resume.h: New file.
9350         * sysdeps/gnu/unwind-resume.c: Include it.
9351         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
9352         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
9353         argument list.
9354         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
9355         global rather than static.
9356         (_Unwind_Resume): Update user.
9357         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
9358         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
9359         rather than static.  Add __attribute__ ((cold)).
9360         (_Unwind_Resume, __gcc_personality_v0): Update callers.
9361         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
9362         * sysdeps/arm/arm-unwind-resume.S: New file.
9363         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
9364         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
9365         * sysdeps/arm/Makefile [$(subdir) = csu]
9366         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
9367         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9368         Add rt-arm-unwind-resume.
9369         [$(subdir) = nptl]
9370         (libpthread-sysdep_routines, libpthread-shared-only-routines):
9371         Add pt-arm-unwind-resume.
9372         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
9373         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
9375 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9377         [BZ #17748]
9378         * include/fenv.h (__feholdexcept): Declare.  Use
9379         libm_hidden_proto.
9380         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
9381         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
9382         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9383         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
9384         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
9385         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
9386         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
9387         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9388         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
9389         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
9390         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9391         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
9392         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
9393         (feholdexcept): Likewise.
9394         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9395         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9396         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9397         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9398         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
9399         __feholdexcept instead of feholdexcept.
9400         (default_libc_feholdexcept_setround): Likewise.
9402 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9404         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
9405         to avoid using stl/str to align destination.
9407 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9409         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
9411 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9413         [BZ #17796]
9414         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
9415         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
9416         Define as weak alias not strong alias.
9418 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9420         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
9421         bltzal with addiupc.
9422         (RTLD_START): Ditto.
9424 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
9426         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
9427         for __vdso_* functions in declarations.
9428         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
9429         definitions.
9430         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
9431         INTERNAL_VSYSCALL): Use struct return types to check for error.
9433         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
9434         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
9435         function with cast from llround().
9436         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
9437         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9438         Define.
9440 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9442         [BZ #17793]
9443         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
9444         Define as weak alias not strong alias.
9446         [BZ #17635]
9447         * ctype/ctype-c99.c: New file.  isblank implementation moved from
9448         ...
9449         * ctype/ctype-extn.c: ... here.
9450         (__isblank_l): Move to ...
9451         * ctype/ctype-c99_l.c: ... here.  New file.
9452         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
9453         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
9454         Remove variable.
9455         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9456         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9457         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9458         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9459         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9461         [BZ #17777]
9462         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
9463         (posix_fadvise64): Define as weak alias not strong alias.
9464         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9465         (posix_fallocate64): Likewise.
9466         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
9467         Remove variable.
9468         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9469         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9470         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9471         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9472         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9474 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
9476         [BZ #16191]
9477         * NEWS: Mention bug fix.
9478         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
9479         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
9480         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
9481         (HOST_STACK_END_ADDR): Likewise.
9483 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9485         [BZ #17748]
9486         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
9487         * math/fegetround.c (fegetround): Rename to __fegetround and
9488         define as weak alias of __fegetround.  Use libm_hidden_weak.
9489         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
9490         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
9491         * sysdeps/arm/fegetround.c (fegetround): Likewise.
9492         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
9493         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9494         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
9495         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
9496         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
9497         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9498         Undefine after rather than before function definition; use
9499         parentheses around function name in definition.
9500         (__fegetround): Also undefine macro after function definition.
9501         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
9502         __fegetround and define as weak alias of __fegetround.  Use
9503         libm_hidden_weak.  Do not undefine as macro.
9504         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9505         Likewise.
9506         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
9507         __fegetround and define as weak alias of __fegetround.  Use
9508         libm_hidden_weak.
9509         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9510         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9511         * sysdeps/tile/math_private.h (__fegetround): New inline function.
9512         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
9513         __fegetround and define as weak alias of __fegetround.  Use
9514         libm_hidden_weak.
9515         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
9516         __fegetround instead of fegetround.
9518         [BZ #17782]
9519         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
9520         Condition macro definition on [__USE_MISC].
9522         [BZ #17781]
9523         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
9524         (struct sigaction): Change type of sa_flags field to int.
9526         [BZ #17780]
9527         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
9528         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
9529         __glibc_reserved0.
9531         * nptl/version.c (banner): Use single year in copyright notice.
9533         * NEWS: Update copyright dates.
9534         * catgets/gencat.c (print_version): Likewise.
9535         * csu/version.c (banner): Likewise.
9536         * debug/catchsegv.sh: Likewise.
9537         * debug/pcprofiledump.c (print_version): Likewise.
9538         * debug/xtrace.sh (do_version): Likewise.
9539         * elf/ldconfig.c (print_version): Likewise.
9540         * elf/ldd.bash.in: Likewise.
9541         * elf/pldd.c (print_version): Likewise.
9542         * elf/sotruss.sh: Likewise.
9543         * elf/sprof.c (print_version): Likewise.
9544         * iconv/iconv_prog.c (print_version): Likewise.
9545         * iconv/iconvconfig.c (print_version): Likewise.
9546         * locale/programs/locale.c (print_version): Likewise.
9547         * locale/programs/localedef.c (print_version): Likewise.
9548         * login/programs/pt_chown.c (print_version): Likewise.
9549         * malloc/memusage.sh (do_version): Likewise.
9550         * malloc/memusagestat.c (print_version): Likewise.
9551         * malloc/mtrace.pl: Likewise.
9552         * manual/libc.texinfo: Likewise.
9553         * nptl/version.c (banner): Likewise.
9554         * nscd/nscd.c (print_version): Likewise.
9555         * nss/getent.c (print_version): Likewise.
9556         * nss/makedb.c (print_version): Likewise.
9557         * posix/getconf.c (main): Likewise.
9558         * scripts/test-installation.pl: Likewise.
9559         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9561 2015-01-02  Will Newton  <will.newton@linaro.org>
9563         * sysdeps/arm/armv7/configure: Removed.
9564         * sysdeps/arm/armv7/configure.ac: Likewise.
9566 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9568         * All files with FSF copyright notices: Update copyright dates
9569         using scripts/update-copyrights.
9570         * intl/plural.c: Regenerated.
9571         * locale/programs/charmap-kw.h: Likewise.
9572         * locale/programs/locfile-kw.h: Likewise.
9574 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9576         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
9578 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9580         [BZ #17748]
9581         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
9582         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
9583         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9584         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9585         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9586         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
9587         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9588         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
9589         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9590         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9591         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9592         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9593         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9594         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9595         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
9596         libm_hidden_def.
9597         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
9598         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
9599         Likewise.
9600         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9601         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9602         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9603         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9604         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
9605         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9606         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9607         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
9608         __fegetenv instead of fegetenv.
9609         (libc_feholdsetround_noex_ctx): Likewise.
9611 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9613         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
9614         (Elf_MIPS_ABIFlags_v0): New structure.
9615         (EF_MIPS_FP64): Define.
9616         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
9617         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
9618         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
9619         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
9620         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
9621         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
9622         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
9623         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
9624         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
9625         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
9626         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
9627         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
9628         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
9629         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
9630         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
9631         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
9632         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
9633         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
9634         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
9635         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
9636         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
9637         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
9638         field.
9639         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
9640         EF_MIPS_FP64.
9641         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
9642         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
9643         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
9644         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
9645         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
9646         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
9647         * sysdeps/mips/tst-abi-interlink.c: Likewise.
9648         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
9649         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
9650         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
9651         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
9652         record the current FP ABI extension.
9653         (mips-mode-switch): Define to show if kernel headers support mode
9654         switching.
9655         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9656         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
9657         supported SYSV ABI version to 3.
9658         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
9659         feature.
9661 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9662             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9664         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
9665         path.
9666         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
9668 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9670         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9671         __fegetround and redefine to call __fegetround.  Remove condition
9672         on [!__NO_MATH_INLINES].
9673         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9674         function.
9675         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9676         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9677         Remove macro.
9678         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9679         instead of <fenv_libc.h>.
9680         (__llrintl): Call fegetround instead of __fegetround.
9681         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9682         instead of <fenv_libc.h>.
9683         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9684         (__lrintl): Call fegetround instead of __fegetround.
9685         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9686         instead of <fenv_libc.h>.
9687         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9688         (__rintl): Call fegetround instead of __fegetround.
9690 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9692         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9693         arrays.
9695 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9697         [BZ #17775]
9698         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9699         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9700         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9702 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9704         * sysdeps/i386/tls-macros.h: Include <features.h>.
9705         (TLS_LE): Use non-PIC version for GCC >= 5.0.
9706         (TLS_IE): Likewise.
9707         (TLS_LD): Likewise.
9708         (TLS_GD): Likewise.
9709         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9710         define for GCC >= 5.0.
9712 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
9714         * math/test-fenv.c (test_single_exception, set_single_exc,
9715         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9716         feexcp_mask_test, feenable_test, fe_single_test): Add
9717         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9718         case where they are not used.
9719         * math/libm-test.inc: Likewise.
9720         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9721         unused in the absence of FP rounding/exception support.
9722         * stdio-common/tst-printf-round.c: Likewise.
9723         * stdlib/tst-strtod-round.c: Likewise.
9724         * stdlib/tst-strtod-underflow.c: Likewise.
9726 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9728         [BZ #17723]
9729         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9730         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9731         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9732         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9733         libm_hidden_weak.
9734         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9735         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9736         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9737         libm_hidden_def.
9738         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9739         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9740         libm_hidden_weak.
9741         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9742         Likewise.
9743         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9744         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9745         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9746         libm_hidden_weak.
9747         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9748         libm_hidden_def.
9749         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9750         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9751         (__feraiseexcept): Likewise.
9752         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9753         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9754         libm_hidden_weak.
9755         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9756         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9757         libm_hidden_def.
9758         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9759         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9760         Use libm_hidden_def.
9761         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9762         libm_hidden_def.
9763         (feraiseexcept): Define as weak not strong alias.  Use
9764         libm_hidden_weak.
9765         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9766         New inline function.  Factored out of ...
9767         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9768         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9769         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9770         feraiseexcept.
9771         * math/w_acos.c (__acos): Likewise.
9772         * math/w_asin.c (__asin): Likewise.
9773         * math/w_ilogb.c (__ilogb): Likewise.
9774         * math/w_j0.c (y0): Likewise.
9775         * math/w_j1.c (y1): Likewise.
9776         * math/w_jn.c (yn): Likewise.
9777         * math/w_log.c (__log): Likewise.
9778         * math/w_log10.c (__log10): Likewise.
9779         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9780         * sysdeps/aarch64/fpu/math_private.h
9781         (libc_feupdateenv_test_aarch64): Likewise.
9782         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9783         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9784         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9785         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9786         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9787         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9788         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9789         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9790         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9791         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9793 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9795         [BZ #17732]
9796         * io/test-utime.c (main): Replace %ld with %jd and cast to
9797         intmax_t.
9798         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9799         * nptl/tst-mutex5.c: Include <stdint.h>.
9800         (do_test): Replace %ld with %jd and cast to intmax_t.
9801         * posix/tst-regex.c (run_test): Likewise.
9802         (run_test_backwards): Likewise.
9803         * rt/tst-clock.c: Include <stdint.h>.
9804         (clock_test): Replace %ld with %jd and cast to intmax_t.
9805         * rt/tst-cpuclock1.c: Include <stdint.h>.
9806         (do_test): Replace %lu with %ju and cast to uintmax_t.
9807         * rt/tst-cpuclock2.c: Include <stdint.h>.
9808         (do_test): Replace %lu with %ju and cast to uintmax_t.
9809         * rt/tst-mqueue1.c: Include <stdint.h>.
9810         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9811         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9812         intmax_t.
9813         * rt/tst-mqueue4.c (do_test): Likewise.
9814         * rt/tst-timer4.c: Include <stdint.h>.
9815         (check_ts): Replace %ld with %jd and cast to intmax_t.
9816         (do_test): Likewise.
9817         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9818         and cast to intmax_t.
9819         * sysdeps/pthread/tst-timer.c (main): Likewise.
9820         * time/clocktest.c (main): Likewise.
9821         * time/tst-posixtz.c (do_test): Likewise.
9822         * timezone/tst-timezone.c (main): Likewise.
9824 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9825             H.J. Lu  <hongjiu.lu@intel.com>
9827         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9828         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9829         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9830         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9831         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9832         version if bit_Fast_Unaligned_Load is set.
9833         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9834         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9835         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9836         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9837         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9838         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9839         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9840         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9841         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9842         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9843         to 4.
9844         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9845         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9846         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9847         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9849 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9851         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9852         instead of #if to avoid a Wundef warning.
9853         * stdlib/tst-limits.c (do_test): Likewise.
9855         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9856         parallel other exception macros.
9857         (fegetenv): Convert from macro to extern inline so that it applies
9858         retroactively to inline functions already seen by the compiler.
9859         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9861         * posix/Makefile (before-compile): Use $(objpfx) for
9862         posix-conf-vars-def.h.
9864 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9866         * posix/getconf.c (main): Use size_t for type of I.
9867         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9868         NSPEC.
9870         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9871         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9872         * posix/posix-envs.def: Likewise.
9873         * sysdeps/posix/sysconf.c: Likewise.
9874         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9875         (specs): Remove array.
9876         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9877         array.
9879         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9880         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9881         (__sysconf): Use CONF_IS_* macros.
9883         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9884         ($(objpfx)posix-conf-vars-def.h): New target.
9885         * posix/posix-conf-vars.list: New file.
9886         * posix/posix-conf-vars.h: New file.
9887         * posix/confstr.c: Include posix-conf-vars.h.
9888         (confstr): Use CONF_IS_* macros.
9889         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9890         CONF_IS_* macros.
9891         * scripts/gen-posix-conf-vars.awk: New file.
9893 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9895         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9896         fegetround): Add no-op macros to avoid linknamespace issues.
9898         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9899         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9901         * sysdeps/unix/sysv/linux/tile/sysdep.h
9902         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9903         assembly-specific section to avoid a redefinition warning.
9905         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9906         long before casting to pointer to avoid a cast warning.
9908 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9910         * sysdeps/tile/tilegx/Implies: New file.
9912 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9914         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9916 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9918         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9920 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9922         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9923         not define.
9924         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9925         <kernel-features.h>.
9926         (__utimes) [__NR_utimes]: Make code unconditional.
9927         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9928         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9929         (__ASSUME_UTIMES): Do not undefine.
9930         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9931         (__ASSUME_UTIMES): Likewise.
9932         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9933         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9934         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9935         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9937 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9939         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9941 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9943         [BZ #17747]
9944         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9945         alias to weak alias for j0l, y0l.
9946         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9947         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9949         [BZ #17746]
9950         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9951         conversion.
9953 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9955         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9956         to zero if not already defined.
9958 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9960         [BZ #17724]
9961         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9962         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9963         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9964         (char *) casts added.
9965         * sysdeps/ieee754/k_standardf.c: New file.
9966         * sysdeps/ieee754/k_standardl.c: Likewise.
9967         * math/Makefile (libm-support): Remove k_standard.
9968         (libm-calls): Add k_standard.
9970 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9972         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9973         Optimize to avoid an unnecessary FPCR read.
9975 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9977         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9978         Optimize to reduce FPCR/FPSR accesses.
9980 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9982         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9983         Call libc_fetestexcept_aarch64.
9985 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9987         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9988         Call libc_fesetround_aarch64.
9990 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9992         [BZ #17733]
9993         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9994         (__bind): Do not define as weak alias.
9995         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9996         define.
9997         (__getsockname): Do not define as weak alias.
9999 2014-12-22  Will Newton  <will.newton@linaro.org>
10001         * manual/install.texi: Document that we require bison 2.7
10002         or above.
10003         * INSTALL: Regenerate.
10004         * configure.ac: Use AC_CHECK_PROG_VER instead of
10005         AC_PATH_PROG when checking for bison and check for
10006         version 2.7 or above.
10007         * configure: Regenerate.
10009 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
10011         [BZ #17745]
10012         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
10013         * sysdeps/tile/ffsll.c (ffsll): To here.
10015         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
10017 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
10019         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
10020         if not defined.
10021         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
10022         definition.
10023         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10024         hidden ___tls_get_addr.
10025         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10026         hidden __tls_get_addr.
10027         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
10028         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
10029         Likewise.
10031 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
10033         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
10034         _dl_init call.
10036 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
10038         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
10039         from "call _dl_init@PLT".
10040         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
10042 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
10044         * manual/search.texi: (Array Sort Function): Clarify stable sorting
10045         guarantees.
10047 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
10049         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
10051 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
10053         [BZ #17744]
10054         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
10055         strnlen.
10057 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
10059         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
10060         of multu on MIPSr6.
10061         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
10062         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
10063         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
10064         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
10065         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
10067 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
10069         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
10070         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
10071         (PTR_SUBU): Use subu for mips32r6/mips64r6.
10072         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
10073         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
10074         mips32r6/mips64r6.
10075         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
10077 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
10079         * string/strncat.c (STRNCAT): Simplify implementation.
10081 2014-12-19  David S. Miller  <davem@davemloft.net>
10083         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
10084         access the quad as both a long double and as a series of 4 words.
10086         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
10087         link_map->l_info array access.
10089 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
10091         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
10093         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
10094         * math/atest-exp2.c (TIMEOUT): Likewise.
10095         * math/atest-sincos.c (TIMEOUT): Likewise.
10097 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10099         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
10100         -Wno-error with -fno-builtin-lround.
10102 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10104         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
10105         Contains futex constants and functions moved over from ...
10106         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
10107         <lowlevellock-futex.h>.
10108         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10109         (lll_timedwait_tid): Add comments and parentheses around macro
10110         arguments.
10112 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10114         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
10115         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
10116         (__lll_private_flag): Remove.
10117         (lll_futex_wait): Likewise.
10118         (lll_futex_timed_wait): Likewise.
10119         (lll_futex_wake): Likewise.
10120         (lll_futex_requeue): Likewise.
10121         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10122         (__lll_timedwait_tid): Spell out argument names.
10123         (lll_timedwait_tid): Add comments and parentheses around macro
10124         arguments.
10125         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
10126         LLL_SHARED and LLL_PRIVATE usable from assembly code.
10128 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10130         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
10131         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10132         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10133         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
10134         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
10135         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
10136         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
10137         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
10138         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
10139         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
10140         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
10141         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
10142         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
10143         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
10144         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
10145         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
10146         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
10147         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
10148         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
10150 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10152         * sysdeps/x86_64/x32/Makefile: New file.
10154 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10156         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
10157         1L with (mp_limb_t) 1.
10159 2014-12-17  Roland McGrath  <roland@hack.frob.com>
10161         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
10162         * nptl/libc_pthread_init.c: ... here.
10163         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
10164         * nptl/register-atfork.c: ... here.
10166         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
10167         Use pthread_sigmask rather than INTERNAL_SYSCALL.
10168         Use assert_perror to check its return value.
10169         (__gai_create_helper_thread): Likewise.
10171         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
10173         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
10175 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
10177         [BZ #17725]
10178         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
10179         __profil_counter.
10180         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
10181         Likewise.
10182         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
10183         Likewise.
10184         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
10185         Likewise.
10186         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
10187         (profil_counter): Likewise.
10188         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
10189         (profil_counter): Likewise.
10190         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
10191         Likewise.
10192         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
10193         Likewise.
10194         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
10195         (profil_counter): Likewise.
10196         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
10197         Likewise.
10198         [!__profil_counter] (profil_counter): Define as weak alias of
10199         __profil_counter.
10200         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
10201         (profil_counter): Rename to __profil_counter.
10202         [!__profil_counter] (profil_counter): Define as weak alias of
10203         __profil_counter.
10204         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
10205         (profil_counter): Rename to __profil_counter.
10206         [!__profil_counter] (profil_counter): Define as weak alias of
10207         __profil_counter.
10208         * sysdeps/posix/profil.c: Update comment referring to
10209         profil_counter.
10210         (__profil): Use __profil_counter instead of profil_counter.
10211         * sysdeps/posix/sprofil.c (profil_counter): Rename to
10212         __profil_counter.  Use __profil_counter_ushort and
10213         __profil_counter_uint in definitions.
10214         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
10215         instead of profil_counter_uint and profil_counter_ushort.
10217         [BZ #17722]
10218         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
10219         define as weak alias of __inet_makeaddr.
10220         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
10221         as weak alias of __inet_addr.
10222         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
10223         as weak alias of __inet_pton.  Use libc_hidden_weak.
10224         * include/arpa/inet.h (__inet_pton): Declare.  Use
10225         libc_hidden_proto.
10226         (inet_makeaddr): Don't use libc_hidden_proto.
10227         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
10228         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
10229         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
10230         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
10231         Remove variable.
10232         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10233         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10235 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
10237         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
10239 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10241         * stdio-common/bug-vfprintf-nargs.c (do_test):
10242         Cast value to intptr_t to avoid format warning
10243         for usage with PRIdPTR printing macro.
10245 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10247         * libio/tst-widetext.c (do_test):
10248         Use format type %td instead of %Zd for ptrdiff_t
10249         in order to avoid format warning.
10251 2014-12-17  Andreas Schwab  <schwab@suse.de>
10253         * nscd/mem.c (gc): Add size_t cast to match printf format.
10255 2014-12-16  Roland McGrath  <roland@hack.frob.com>
10257         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
10258         (init): Apply PTR_MANGLE to pointers before storing them.
10259         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
10260         before using them.
10262 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
10264         [BZ #17719]
10265         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
10266         define as weak alias of __memrchr.
10267         (__memrchr): Do not define as strong alias of memrchr.
10268         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
10269         Remove variable.
10270         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10271         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10272         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10274         [BZ #17717]
10275         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
10276         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
10277         (if_indextoname): Rename to __if_indextoname and define as weak
10278         alias of __if_indextoname.  Use libc_hidden_weak.
10279         (if_freenameindex): Rename to __if_freenameindex and define as
10280         weak alias of __if_freenameindex.
10281         (if_nameindex): Rename to __if_nameindex and define as weak alias
10282         of __if_nameindex.
10283         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
10284         __if_nametoindex and define as weak alias of __if_nametoindex.
10285         Use libc_hidden_weak.
10286         (if_freenameindex): Rename to __if_freenameindex and define as
10287         weak alias of __if_freenameindex.
10288         (if_nameindex): Rename to __if_nameindex and define as weak alias
10289         of __if_nameindex.
10290         (if_indextoname): Rename to __if_indextoname and define as weak
10291         alias of __if_indextoname.  Use libc_hidden_weak.
10292         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
10293         __if_nametoindex and define as weak alias of __if_nametoindex.
10294         Use libc_hidden_weak.
10295         (if_freenameindex): Rename to __if_freenameindex and define as
10296         weak alias of __if_freenameindex.  Use libc_hidden_weak.
10297         (if_nameindex_netlink): Use __if_freenameindex instead of
10298         if_freenameindex.
10299         (if_nameindex): Rename to __if_nameindex and define as weak alias
10300         of __if_nameindex.  Use libc_hidden_weak.
10301         (if_indextoname): Rename to __if_indextoname and define as weak
10302         alias of __if_indextoname.  Use libc_hidden_weak.
10303         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
10304         libc_hidden_proto.
10305         [!_ISOMAC] (__if_freenameindex): Likewise.
10306         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
10307         if_nametoindex.
10308         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
10309         variable.
10310         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10311         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10312         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10313         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10314         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10315         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10316         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10318         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
10319         Remove variable.
10320         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10321         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10323 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10325         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
10326         subscript above bounds'
10328         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
10329         bounds.
10331 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
10333         * libio/tst-fopenloc.c: Use test-skeleton.c.
10335         * stdlib/tst-bsearch.c: Use test-skeleton.c.
10336         (entry): Rename to ITEM.
10337         (do_test, comp): Adjust.
10339         * stdio-common/tst-fseek.c: Use test-skeleton.c.
10341 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10343         * string/tester.c: Include <libc-internal.h>.
10344         (test_memset): Ignore -Wmemset-transposed-args.
10346 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10348         * misc/tst-mntent2.c (do_test): Fix warning.
10350 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10352         * elf/tst-unique4lib.cc(a): Mark as used.
10354 2014-12-16  Florian Weimer  <fweimer@redhat.com>
10356         [BZ #17630]
10357         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
10358         names.
10360 2014-12-16  Allan McRae  <allan@archlinux.org>
10362         * stdio-common/Makefile (tests): Re-add bug26.
10364 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
10366         [BZ #17657]
10367         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
10368         static array.
10370 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
10372         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
10373         (__lll_lock_wait): Likewise.
10374         (__lll_timedlock_wait): Likewise.
10375         (__lll_timedwait_tid): Likewise.
10376         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
10377         (__lll_robust_timedlock_wait): Likewise.
10378         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
10379         (lll_cond_trylock): Likewise.
10380         (__lll_lock): Likewise.
10381         (__lll_robust_lock): Likewise.
10382         (__lll_cond_lock): Likewise.
10383         (lll_robust_cond_lock): Likewise.
10384         (__lll_timedlock): Likewise.
10385         (__lll_robust_timedlock): Likewise.
10386         (__lll_unlock): Likewise.
10387         (__lll_robust_unlock): Likewise.
10388         (lll_wait_tid): Likewise.
10389         (lll_timedwait_tid): Likewise.
10391 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10393         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
10395 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10397         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
10399 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10401         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
10402         * stdio-common/tst-sprintf.c: Likewise.
10404 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10406         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
10408 2014-12-15  Jeff Law  <law@redhat.com>
10410         [BZ #16617]
10411         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
10412         on the heap.  (CVE-2012-3406)
10413         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
10414         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
10415         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
10417 2014-12-15  Will Newton  <will.newton@linaro.org>
10419         * manual/install.texi: Bump required version of texinfo
10420         to 4.7 from 4.5.
10421         * INSTALL: Regenerated.
10422         * configure.ac: Check for makeinfo version 4.7 and above.
10423         * configure: Regenerated.
10425 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10427         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
10428         PREFIX, string constant to insert between directory and name.
10429         * sysdeps/posix/shm_open.c: Update caller.
10430         * sysdeps/posix/shm_unlink.c: Likewise.
10431         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
10432         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
10433         (SEM_SHM_PREFIX): New macro.
10434         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
10435         [$(have-thread-library) = no].
10436         * nptl/Makefile (libpthread-routines): Add shm-directory.
10437         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
10438         * sysdeps/nptl/shm-directory.h: New file.
10439         * sysdeps/posix/shm-directory.c
10440         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
10441         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10442         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
10443         INTERNAL_SYSCALL.
10444         (__where_is_shmfs): Function removed.
10445         (mountpoint, defaultmount, defaultdir, __namedsem_once):
10446         Variables removed.
10447         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
10448         Use SHM_GET_NAME.
10449         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
10451         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
10452         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
10453         unconditional for use inside libpthread.
10454         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
10456 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10458         * nptl/pthread_getaffinity.c: New file.
10459         * nptl/pthread_setaffinity.c: New file.
10460         * nptl/pthread_getname.c: New file.
10461         * nptl/pthread_setname.c: New file.
10463         * nptl/pthread_create.c (START_THREAD_DEFN)
10464         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
10466 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10467             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10469         * resolv/res_send.c (send_vc): Disable warning resplen may
10470         be used uninitialized.
10472 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10474         * nptl/tst-mutex6.c
10475         (ATTR_NULL): New define checks ATTR against NULL.
10476         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
10477         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
10479 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
10481         [BZ #17581]
10482         * malloc/hooks.c
10483         (mem2mem_check): Revert my previous change.
10484         (malloc_check_get_size): Revert my previous change.
10485         (mem2chunk_check): Revert my previous change.
10487 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10489         * sysdeps/posix/shm-directory.c: New file.
10490         * sysdeps/posix/shm-directory.h: New file.
10491         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
10492         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
10493         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
10494         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
10495         Transmute EPERM to EACCES.
10496         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
10497         from ...
10498         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
10499         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
10501 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10503         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
10504         pointer and cast to uintptr_t.
10505         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
10506         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
10507         Add cast to avoid warning.
10508         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
10510 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10512         * nptl/semaphore.h: Move to ...
10513         * sysdeps/pthread/semaphore.h: ... here.
10514         * Makefile (installed-headers): Change nptl/semaphore.h to
10515         sysdeps/pthread/semaphore.h.
10517 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10519         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
10520         generated error format strings.
10522         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
10523         -Wformat-extra-args warnings for scanf formats.
10524         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
10525         test of zero-length format (duh).
10526         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
10527         corner-case scanf format test.
10528         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
10529         generated fprintf format string.
10530         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
10531         corner-case sprintf format tests.
10532         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
10533         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
10534         -Wformat-extra-args warnings throughout.
10535         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
10536         (CFLAGS-scanf4.c): Likewise.
10537         (CFLAGS-scanf7.c): Likewise.
10538         (CFLAGS-tst-sprintf.c): Likewise.
10539         (CFLAGS-tst-printf.c): Likewise.
10540         (CFLAGS-tst-printfsz.c): Likewise.
10542 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10544         * include/cpio.h: New file.
10545         * include/fmtmsg.h: Likewise.
10547         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
10548         corresponding format argument to size_t.
10549         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
10550         arguments.
10551         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
10552         corresponding format argument to size_t.
10553         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
10554         arguments.
10555         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
10556         corresponding format argument to size_t.
10557         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
10558         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
10559         (CFLAGS-tst-mbswcs2.c): Likewise.
10560         (CFLAGS-tst-mbswcs3.c): Likewise.
10561         (CFLAGS-tst-mbswcs4.c): Likewise.
10562         (CFLAGS-tst-mbswcs5.c): Likewise.
10563         (CFLAGS-tst-trans.c): Likewise
10565 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10567         * posix/regexbug1.c (main): Use "%s" format with regerror results,
10568         rather than assuming they won't contain any '%'s.
10570 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
10572         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
10573         inhibit_loop_to_libcall to avoid recursive calls.
10574         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
10575         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
10577 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10579         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
10580         prototype.
10582 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10584         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
10585         integer value instead of boolean.
10587 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10589         * malloc/malloc.c: Fix powerof2 check.
10591 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10593         * locale/programs/locfile.h (maybe_swap_uint32):
10594         Remove inline and add unused attribute.
10596 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10598         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10599         Truncating assembler expression to a .long expression.
10601 2014-12-11  Andreas Schwab  <schwab@suse.de>
10603         * elf/rtld.c (struct map_args): Constify str member.
10604         (do_preload): Constify fname argument.
10606 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10608         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
10609         constants definition.
10611 2014-12-11  Andreas Schwab  <schwab@suse.de>
10613         [BZ #16657]
10614         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
10615         FORCE_ELISION instead of DO_ELISION.
10616         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
10617         Remove.
10618         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
10619         Likewise.
10621         * iconvdata/gconv-modules: Remove duplicate entry.
10623 2014-12-11  Will Newton  <will.newton@linaro.org>
10625         Merge gettext 0.19.3 into intl/.
10627         This involves a number of cosmetic changes to comments
10628         and ANSI function definitions and prototypes throughout
10629         all the files. The gettext copyright header is used but
10630         with the date ranges taken from the glibc copy.
10632         * NEWS: Add gettext merge to 2.21.
10633         * intl/bindtextdom.c: Switch to gettext copyright.
10634         Use ANSI definitions and prototypes.
10635         Use gl_* locking primitives rather than __libc_* ones.
10636         Use __builtin_expect rather than __glibc_likely/unlikely.
10637         * intl/dcgettext.c: Switch to gettext copyright.
10638         Use ANSI definitions and prototypes.
10639         * intl/dcigettext.c: Switch to gettext copyright.
10640         Use ANSI definitions and prototypes.
10641         (INTDIV0_RAISES_SIGFPE): New define.
10642         Use gl_* locking primitives rather than __libc_* ones.
10643         Include eval-plural.h instead of plural-eval.c.
10644         Use __builtin_expect rather than __glibc_likely/unlikely.
10645         * intl/dcngettext.c: Switch to gettext copyright.
10646         Use ANSI definitions and prototypes.
10647         * intl/dgettext.c: Likewise.
10648         * intl/dngettext.c: Likewise.
10649         * intl/plural-eval.c: Renamed to...
10650         * intl/eval-plural.h: ...this.
10651         * intl/explodename.c: Switch to gettext copyright.
10652         Use ANSI definitions and prototypes.
10653         (_nl_explode_name): Use strchr instead of __rawmemchr.
10654         * intl/finddomain.c: Switch to gettext copyright.
10655         Use ANSI definitions and prototypes.
10656         Use gl_* locking primitives rather than __libc_* ones.
10657         (_nl_find_domain): Use malloc rather than alloca for
10658         allocation of temporary locale name.
10659         * intl/gettext.c: Switch to gettext copyright.
10660         Use ANSI definitions and prototypes.
10661         * intl/gettextP.h: Switch to gettext copyright.
10662         Use ANSI definitions and prototypes.
10663         Use gl_* locking primitives rather than __libc_* ones.
10664         * intl/gmo.h: Switch to gettext copyright.
10665         (struct sysdep_string): Move struct segment_pair outside of
10666         struct definition.
10667         * intl/hash-string.c: Use ANSI definitions and prototypes.
10668         * intl/hash-string.h: Switch to gettext copyright.
10669         Use ANSI definitions and prototypes.
10670         * intl/l10nflist.c: Switch to gettext copyright.
10671         Use ANSI definitions and prototypes.
10672         (_nl_normalize_codeset): Avoid integer overflow.
10673         * intl/loadinfo.h: Switch to gettext copyright.
10674         Use ANSI definitions and prototypes.
10675         (LIBINTL_DLL_EXPORTED): New define.
10676         (PATH_SEPARATOR): New define.
10677         * intl/loadmsgcat.c: Switch to gettext copyright.
10678         * intl/localealias.c: Switch to gettext copyright.
10679         Use ANSI definitions and prototypes.
10680         (_nl_expand_alias): Use PATH_SEPARATOR.
10681         * intl/ngettext.c: Switch to gettext copyright.
10682         Use ANSI definitions and prototypes.
10683         * intl/plural-exp.c: Likewise.
10684         * intl/plural-exp.h: Switch to gettext copyright.
10685         Use ANSI definitions and prototypes.
10686         (struct expression): Move definition of enum operator outside
10687         of struct definition.
10688         * intl/plural.c: Regenerate.
10689         * intl/plural.y: Switch to gettext copyright.
10690         Use ANSI definitions and prototypes.
10691         Port to bison 3.0.
10692         * intl/textdomain.c: Switch to gettext copyright.
10693         Use ANSI definitions and prototypes.
10694         Use gl_* locking primitives rather than __libc_* ones.
10696 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
10698         * debug/warning-nop.c: Add used atrribute.
10700 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10702         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10704         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10705         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10706         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10708 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10709             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10711         [BZ #17634]
10712         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10713         Undefine after defining function.  Define as weak alias of
10714         __wcschr.  Use libc_hidden_weak.
10715         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
10716         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10717         (libc_hidden_def): Also define __GI___wcschr alias.
10718         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10719         __wcschr and define as weak alias of __wcschr.
10720         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10721         __wcschr.
10722         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10723         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10724         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10725         libc_hidden_weak.  Do not use libc_hidden_def.
10726         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10727         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10728         __GI___wcschr alias.
10729         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10730         [IS_IN (libc)] (wcschr): Define as macro expanding to
10731         __redirect_wcschr.
10732         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10733         [IS_IN (libc)] (__wcschr_power6): Likewise.
10734         [IS_IN (libc)] (__wcschr_power7): Likewise.
10735         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10736         instead of wcschr.
10737         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10738         __libc_wcschr.
10739         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10740         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10741         __wcschr and define as weak alias of __wcschr.  Use
10742         libc_hidden_builtin_def.
10743         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10744         as weak alias of __wcschr.  Use libc_hidden_weak.
10745         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10746         wcschr.
10747         * time/era.c (_nl_init_era_entries): Likewise.
10748         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10749         variable.
10750         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10751         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10753 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10755         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10756         format for long int variable.
10758 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10760         [BZ #10672]
10761         * manual/search.texi: (Array Sort Function): Remove claim how to make
10762         qsort stable.
10764 2014-12-10  Andreas Schwab  <schwab@suse.de>
10766         [BZ #12847]
10767         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10768         user-controlled locks.
10770 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10772         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10773         register.
10775 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10777         * configure.ac (--disable-werror): New configure option.
10778         (enable_werror): New AC_SUBST.
10779         * configure: Regenerated.
10780         * config.make.in (enable-werror): New variable.
10781         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10782         -Wno-error=undef.
10783         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10784         * manual/install.texi (Configuring and compiling): Document
10785         --disable-werror.
10786         * INSTALL: Regenerated.
10787         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10788         (CFLAGS-tst-chk2.c): Likewise.
10789         (CFLAGS-tst-chk3.c): Likewise.
10790         (CFLAGS-tst-chk4.cc): Likewise.
10791         (CFLAGS-tst-chk5.cc): Likewise.
10792         (CFLAGS-tst-chk6.cc): Likewise.
10793         (CFLAGS-tst-lfschk1.c): Likewise.
10794         (CFLAGS-tst-lfschk2.c): Likewise.
10795         (CFLAGS-tst-lfschk3.c): Likewise.
10796         (CFLAGS-tst-lfschk4.cc): Likewise.
10797         (CFLAGS-tst-lfschk5.cc): Likewise.
10798         (CFLAGS-tst-lfschk6.cc): Likewise.
10800         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10801         (main): Disable -Wdeprecated-declarations around calls to
10802         register_printf_function.
10804         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10805         (do_test): Disable -Wdiv-by-zero around some calls to
10806         fwrite_unlocked and fread_unlocked.
10808         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10809         (DIAG_POP_NEEDS_COMMENT): Likewise.
10810         (_DIAG_STR1): Likewise.
10811         (_DIAG_STR): Likewise.
10812         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10813         * stdio-common/bug21.c: Include <libc-internal.h>.
10814         (do_test): Disable -Wformat around call to sscanf.
10815         * stdio-common/scanf14.c: Include <libc-internal.h>.
10816         (main): Disable -Wformat around some calls to scanf functions.
10818 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10820         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10822 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10824         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10825         stack variable alignment.
10827 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10829         [BZ #17682]
10830         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10831         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10832         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10833         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10834         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10835         __getrlimit instead of getrlimit.
10836         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10837         __gettimeofday instead of gettimeofday.
10838         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10839         Likewise.
10840         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10841         Likewise.
10842         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10843         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10844         Remove variable.
10845         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10846         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10848 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10850         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10851         for wide-character tests.
10853 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10855         * io/openat64.c: #include <libc-internal.h>
10856         (__openat64): Prototypify.  Use ignore_value on MODE.
10857         * io/openat.c: Likewise.
10858         * misc/reboot.c: #include <libc-internal.h>
10859         (reboot): Prototypify.  Use ignore_value on HOWTO.
10860         * misc/ptrace.c: #include <libc-internal.h>
10861         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10863 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10865         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10866         XPG4, UNIX98 and XOPEN2K.
10867         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10868         Remove variable.
10869         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10871 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10873         * libio/fileops.c: Use ISO C style for function definitions.
10874         * libio/iofopen.c: Likewise.
10875         * libio/wfileops.c: Likewise.
10877         [BZ #17653]
10878         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10879         offset on EOF.
10880         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10881         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10882         (fgets_func): Function pointer to fgets and fgetws.
10883         (do_ftell_test): Add test to verify ftell value after read
10884         EOF.
10885         (do_test): Set fgets_func.
10887         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10888         O_TRUNC flag for w and w+ modes.
10889         (do_rewind_test): Likewise.
10890         (do_ftell_test): Likewise.
10891         (do_write_test): Likewise.
10893         [BZ #17647]
10894         * libio/fileops.c (do_ftell): Seek only when there are
10895         unflushed writes.
10896         * libio/wfileops.c (do_ftell_wide): Likewise.
10897         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10898         test case.
10899         (do_one_test): Call it.
10901 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10903         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10904         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10905         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10906         Remove variable.
10907         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10908         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10909         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10911 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10913         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10914         Remove variable.
10915         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10917         [BZ #17668]
10918         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10919         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10920         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10921         __freeifaddrs.  Use libc_hidden_weak.
10922         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10923         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10924         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10925         __freeifaddrs.  Use libc_hidden_weak.
10926         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10927         __getifaddrs and define as weak alias of __getifaddrs.  Use
10928         libc_hidden_weak.
10929         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10930         __freeifaddrs.  Use libc_hidden_weak.
10931         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10932         Remove variable.
10933         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10934         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10936 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10938         [BZ #17601]
10939         * sysdeps/mips/start.S (__start): Use indirect jump to call
10940         __libc_start_main.
10942 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10944         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10946         * nptl/tst-mutex1.c: Include <stdbool.h>.
10947         [!ATTR] (ATTR_NULL): New macro.
10948         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10949         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10950         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10952         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10953         to char *.
10955         [BZ #17665]
10956         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10957         Change conditional to [__USE_MISC].
10959         [BZ #17664]
10960         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10961         fgets_unlocked.
10962         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10963         __fgets_unlocked.
10964         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10965         fgets_unlocked.
10966         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10967         Remove variable.
10968         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10969         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10970         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10971         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10972         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10973         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10974         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10975         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10976         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10978         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10980 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10982         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10983         Remove strpbrk objects.
10984         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10985         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10986         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10987         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10988         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10989         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10991         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10992         Remove strcspn objects.
10993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10994         (__libc_ifunc_impl_list): Remove strcspn implementation.
10995         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10996         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10997         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10998         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
11000         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11001         Remove strspn objetcs.
11002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11003         (__libc_ifunc_impl_list): Remove strspn implementation.
11004         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
11005         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11006         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
11007         * sysdeps/powerpc/powerpc64/strspn.S: New file.
11009 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
11011         [BZ #17581]
11012         * malloc/hooks.c
11013         (mem2mem_check): Add a terminator to the chain of checking blocks.
11014         (malloc_check_get_size): Use it here.
11015         (mem2chunk_check): Ditto.
11017 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11019         * sysdeps/powerpc/powerpc64/strtok.S: New file.
11020         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
11022 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
11024         * bits/ioctl-types.h: Indent preprocessor directives correctly.
11026         * nptl/nptl-init.c: Include libc-internal.h.
11027         (__pthread_initialize_minimal_internal): Use ROUND_UP.
11029         * elf/ldconfig.c (search_dir): Expand comment.
11031 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
11033         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
11034         variable.
11035         (linknamespace-symlist-stdlibs-tests): Likewise.
11036         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
11037         instead of $(objpfx)symlist-stdlibs.
11038         (linknamespace-libs-isoc): New variable.
11039         (linknamespace-libs): Use $(linknamespace-libs-isoc).
11040         (linknamespace-libs-ISO): New variable.
11041         (linknamespace-libs-ISO99): Likewise.
11042         (linknamespace-libs-ISO11): Likewise.
11043         (linknamespace-libs-XPG3): Likewise.
11044         (linknamespace-libs-XPG4): Likewise.
11045         (linknamespace-libs-POSIX): Likewise.
11046         (linknamespace-libs-UNIX98): Likewise.
11047         (linknamespace-libs-XOPEN2K): Likewise.
11048         (linknamespace-libs-POSIX2008): Likewise.
11049         (linknamespace-libs-XOPEN2K8): Likewise.
11050         ($(objpfx)symlist-stdlibs): Replace by
11051         $(linknamespace-symlist-stdlibs-tests).  Use
11052         $(linknamespace-libs-$*) as set of libraries.
11053         ($(linknamespace-header-tests)): Update dependencies.  Use
11054         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
11055         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
11056         * conform/linknamespace.pl: Remove comment about considering
11057         definitions of symbols from irrelevant libraries.
11059 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
11061         [BZ #13862]
11062         * elf/dl-tls.c: Include <atomic.h>.
11063         (oom): Remove #ifdef SHARED/#endif.
11064         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
11065         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
11066         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
11067         big enough.
11068         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
11069         * nptl/Makefile (tests): Add tst-stack4.
11070         (modules-names): Add tst-stack4mod.
11071         ($(objpfx)tst-stack4): New.
11072         (tst-stack4mod.sos): Likewise.
11073         ($(objpfx)tst-stack4.out): Likewise.
11074         ($(tst-stack4mod.sos)): Likewise.
11075         (clean): Likewise.
11076         * nptl/tst-stack4.c: New file.
11077         * nptl/tst-stack4mod.c: Likewise.
11079 2014-11-27  J. Brown  <jb999@gmx.de>
11081         * sysdeps/x86/bits/string.h: Add recent CPUs.
11083 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
11085         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
11086         sigblock.
11088         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
11089         feof.
11091         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
11092         variable.
11094 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
11096         * nscd/connections.c: Include libc-internal.h because of macro
11097         usage ignore_value.
11099 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11101         * string/bits/string3.h (__warn_memset_zero_len): Don't
11102         declare for gcc newer than 5.0.
11103         (memset): Don't test for zero-length __LEN for gcc newer than
11104         5.0.
11106 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
11108         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
11109         size_t for %zu format.
11111         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
11112         difference, not %ju.
11114 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
11116         * include/libc-internal.h (ignore_value): New macro.
11117         * nscd/connections.c (restart): Wrap calls to setuid and setgid
11118         with ignore_value.
11120         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
11121         definition.
11123         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
11124         pthread_cleanup_push to void *.
11126         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
11127         Undefine.
11129         [BZ #16619]
11130         [BZ #16740]
11131         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
11132         instead of 1L << 52.
11134         * libio/bug-rewind.c (do_test): Check fwscanf return values.
11135         * libio/bug-rewind2.c (do_test): Likewise.
11137         * debug/test-stpcpy_chk-ifunc.c: Remove file.
11138         * debug/test-strcpy_chk-ifunc.c: Likewise.
11139         * wcsmbs/test-wcschr-ifunc.c: Likewise.
11140         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11141         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11142         * wcsmbs/test-wcslen-ifunc.c: Likewise.
11143         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11144         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11145         * Rules [$(multi-arch) = no] (tests): Do not filter out
11146         $(tests-ifunc).
11147         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
11148         * debug/Makefile (tests-ifunc): Remove variable.
11149         (tests): Do not add $(tests-ifunc).
11150         * wcsmbs/Makefile (tests-ifunc): Remove variable.
11151         (tests): Do not add $(tests-ifunc).
11152         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
11153         [TEST_IFUNC]: Remove conditionals.
11154         * string/test-string.h (TEST_IFUNC): Remove macro.
11155         [TEST_IFUNC]: Remove conditionals.
11157         * string/test-strchr.c [!WIDE] (L): New macro.
11158         [WIDE] (L): Likewise.
11159         (check1): Use CHAR instead of char.  Use L on string and character
11160         constants.
11162 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
11164         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
11165         tests.
11166         * sysdeps/powerpc/bits/atomic.h
11167         (__arch_atomic_exchange_and_add_32_acq): Add definition.
11168         (__arch_atomic_exchange_and_add_32_rel): Likewise.
11169         (atomic_exchange_and_add_acq): Likewise.
11170         (atomic_exchange_and_add_rel): Likewise.
11171         * sysdeps/powerpc/powerpc32/bits/atomic.h
11172         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11173         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11174         * sysdeps/powerpc/powerpc64/bits/atomic.h
11175         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11176         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11178 2014-11-26  Torvald Riegel  <triegel@redhat.com>
11180         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
11181         Change synchronization of __sched_fifo_min_prio and
11182         __sched_fifo_max_prio.
11183         * nptl/pthread_mutexattr_getprioceiling.c
11184         (pthread_mutexattr_getprioceiling): Likewise.
11185         * nptl/pthread_mutexattr_setprioceiling.c
11186         (pthread_mutexattr_setprioceiling): Likewise.
11187         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
11188         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11189         Likewise.
11191 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
11193         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
11194         void.
11196 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11198         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
11199         third argument const.
11201 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
11203         fnmatch: work around GCC compiler warning bug with uninit var
11204         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
11205         This works around a bug with x86-64 GCC 4.9.2 and earlier
11206         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
11207         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
11208         used uninitialized in this function [-Wmaybe-uninitialized]".
11210 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11212         * posix/bug-regex31.c (main): Return RES not 0.
11214 2014-11-25  Anton Blanchard <anton@samba.org>
11216         * sysdeps/powerpc/bits/atomic.h
11217         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
11219 2014-11-24  Sterling Augustine  <saugustine@google.com>
11221         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
11223 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
11225         [BZ #17608]
11226         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
11228 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
11230         [BZ #17633]
11231         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
11232         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
11233         variable.
11234         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11235         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11237 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
11239         * string/strncpy.c (strncpy): Improve performance by using memset.
11241 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
11243         * string/strcpy.c (strcpy):
11244         Improve performance by using strlen and memcpy.
11246 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
11248         * string/strcoll_l.c (get_next_seq): __always_inline.
11249         * string/strcoll_l.c (do_compare): __always_inline.
11251 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11253         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
11254         defined.
11255         * include/mqueue.h: Likewise.
11256         * include/stdlib.h: Likewise.
11258         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
11259         (get_null_defines): Adjust.
11260         * sunrpc/Makefile: Adjust comment.
11261         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
11262         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
11263         (CFLAGS-interp.c): Likewise.
11264         (CFLAGS-ldconfig.c): Likewise.
11265         (CPPFLAGS-.os): Likewise.
11266         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11267         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11268         * extra-modules.mk (extra-modules.mk): Likewise.
11269         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
11270         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
11271         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
11272         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
11273         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
11274         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
11275         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
11276         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
11277         * iconvdata/Makefile (CPPFLAGS): Likewise.
11278         (cpp-srcs-left): Add libof for all iconvdata routines.
11279         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
11280         * include/assert.h: Likewise.
11281         * include/ctype.h: Likewise.
11282         * include/errno.h: Likewise.
11283         * include/libc-symbols.h: Likewise.
11284         * include/math.h: Likewise.
11285         * include/netdb.h: Likewise.
11286         * include/resolv.h: Likewise.
11287         * include/stdio.h: Likewise.
11288         * include/stdlib.h: Likewise.
11289         * include/string.h: Likewise.
11290         * include/sys/stat.h: Likewise.
11291         * include/wctype.h: Likewise.
11292         * intl/l10nflist.c: Likewise.
11293         * libidn/idn-stub.c: Likewise.
11294         * libio/libioP.h: Likewise.
11295         * nptl/libc_multiple_threads.c: Likewise.
11296         * nptl/pthreadP.h: Likewise.
11297         * posix/regex_internal.h: Likewise.
11298         * resolv/res_hconf.c: Likewise.
11299         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
11300         * sysdeps/arm/memmove.S: Likewise.
11301         * sysdeps/arm/sysdep.h: Likewise.
11302         * sysdeps/generic/_itoa.h: Likewise.
11303         * sysdeps/generic/symbol-hacks.h: Likewise.
11304         * sysdeps/gnu/errlist.awk: Likewise.
11305         * sysdeps/gnu/errlist.c: Likewise.
11306         * sysdeps/i386/i586/memcpy.S: Likewise.
11307         * sysdeps/i386/i586/memset.S: Likewise.
11308         * sysdeps/i386/i686/memcpy.S: Likewise.
11309         * sysdeps/i386/i686/memmove.S: Likewise.
11310         * sysdeps/i386/i686/mempcpy.S: Likewise.
11311         * sysdeps/i386/i686/memset.S: Likewise.
11312         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11313         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11314         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
11315         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
11316         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11317         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11318         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
11319         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11320         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11321         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11322         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11323         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11324         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11325         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11326         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11327         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11328         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
11329         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
11330         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
11331         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11332         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11333         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11334         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11335         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11336         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11337         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11338         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
11339         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11340         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
11341         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11342         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11343         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11344         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11345         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11346         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11347         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11348         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11349         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11350         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11351         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11352         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11353         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11354         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11355         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11356         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11357         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11358         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
11359         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
11360         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11361         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11362         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11363         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
11364         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
11365         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11366         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11367         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
11368         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11369         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
11370         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
11371         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11372         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11373         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11374         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
11375         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11376         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11377         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
11378         * sysdeps/posix/closedir.c: Likewise.
11379         * sysdeps/posix/opendir.c: Likewise.
11380         * sysdeps/posix/readdir.c: Likewise.
11381         * sysdeps/posix/rewinddir.c: Likewise.
11382         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
11383         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
11384         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11385         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11386         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11387         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
11388         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
11389         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
11390         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11391         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
11392         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
11393         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
11394         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
11395         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
11396         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
11397         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
11398         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
11399         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
11400         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
11401         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
11402         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
11403         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
11404         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
11405         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
11406         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
11407         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
11408         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
11409         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
11410         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
11411         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
11412         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
11413         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
11414         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
11415         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
11416         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
11417         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
11418         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11419         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11420         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
11421         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
11422         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
11423         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
11424         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
11425         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
11426         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
11427         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
11428         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
11429         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
11430         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
11431         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
11432         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
11433         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
11434         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11435         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
11436         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
11437         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
11438         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
11439         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
11440         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
11441         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
11442         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
11443         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
11444         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11445         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
11446         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
11447         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
11448         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
11449         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
11450         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
11451         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
11452         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
11453         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11454         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
11455         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11456         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11457         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
11458         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
11459         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11460         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11461         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
11462         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11463         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11464         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
11465         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
11466         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11467         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
11468         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
11469         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11470         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11471         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11472         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
11473         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
11474         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
11475         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11476         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11477         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
11478         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11479         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11480         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
11481         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
11482         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11483         * sysdeps/unix/alpha/sysdep.S: Likewise.
11484         * sysdeps/unix/alpha/sysdep.h: Likewise.
11485         * sysdeps/unix/make-syscalls.sh: Likewise.
11486         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11487         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11488         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11489         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11490         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11491         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11492         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
11493         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11494         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11495         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
11496         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11497         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11498         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11499         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11500         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11501         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11502         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11503         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11504         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11505         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11506         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11507         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11508         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11509         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11510         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11511         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11512         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11515         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
11516         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11517         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11518         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11519         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11520         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11521         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11522         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11523         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11524         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11525         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11526         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11527         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11528         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11529         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11530         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11531         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11532         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11533         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11534         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11535         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11536         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11537         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11538         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11539         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11540         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11541         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11542         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11543         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11544         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
11545         * sysdeps/x86_64/memcpy.S: Likewise.
11546         * sysdeps/x86_64/memmove.c: Likewise.
11547         * sysdeps/x86_64/memset.S: Likewise.
11548         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
11549         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11550         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11551         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
11552         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11553         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11554         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11555         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11556         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11557         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11558         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11559         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11560         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
11561         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11562         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11563         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
11564         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11565         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11566         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11567         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11568         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
11569         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11570         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11571         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11572         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11573         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11574         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11575         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
11576         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11577         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11578         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
11579         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11580         * sysdeps/x86_64/strcmp.S: Likewise.
11582         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
11584         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
11585         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
11586         * elf/rtld-Rules: Likewise.
11587         * elf/setup-vdso.h: Likewise.
11588         * include/assert.h: Likewise.
11589         * include/bits/stdlib-float.h: Likewise.
11590         * include/errno.h: Likewise.
11591         * include/sys/stat.h: Likewise.
11592         * include/unistd.h: Likewise.
11593         * sysdeps/aarch64/setjmp.S: Likewise.
11594         * sysdeps/alpha/setjmp.S: Likewise.
11595         * sysdeps/arm/__longjmp.S: Likewise.
11596         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
11597         * sysdeps/arm/setjmp.S: Likewise.
11598         * sysdeps/arm/sysdep.h: Likewise.
11599         * sysdeps/generic/_itoa.h: Likewise.
11600         * sysdeps/generic/dl-sysdep.h: Likewise.
11601         * sysdeps/generic/ldsodefs.h: Likewise.
11602         * sysdeps/i386/dl-tls.h: Likewise.
11603         * sysdeps/i386/setjmp.S: Likewise.
11604         * sysdeps/m68k/setjmp.c: Likewise.
11605         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
11606         * sysdeps/mach/hurd/opendir.c: Likewise.
11607         * sysdeps/posix/getcwd.c: Likewise.
11608         * sysdeps/posix/opendir.c: Likewise.
11609         * sysdeps/posix/profil.c: Likewise.
11610         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11611         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11612         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11613         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11614         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11615         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
11616         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11617         * sysdeps/s390/dl-tls.h: Likewise.
11618         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11619         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11620         * sysdeps/sh/sh3/setjmp.S: Likewise.
11621         * sysdeps/sh/sh4/setjmp.S: Likewise.
11622         * sysdeps/unix/alpha/sysdep.h: Likewise.
11623         * sysdeps/unix/arm/sysdep.S: Likewise.
11624         * sysdeps/unix/i386/sysdep.S: Likewise.
11625         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11626         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11627         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11628         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11629         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11630         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11631         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11632         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11633         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11634         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11635         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11636         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11637         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11640         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11641         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11642         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11643         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11644         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11645         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11646         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11647         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11648         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11649         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11650         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11651         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11652         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11653         * sysdeps/x86_64/setjmp.S: Likewise.
11655         * include/math.h: Use IS_IN instead of IS_IN_libm.
11656         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
11657         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11658         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11659         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11660         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11661         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11662         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11663         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11664         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11665         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11666         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
11667         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11668         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
11669         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11670         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11671         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11672         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11673         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11674         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11675         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11676         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11677         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11678         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11679         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11680         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11681         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11682         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11683         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11684         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11685         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11686         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11687         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11688         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11690         Likewise.
11691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11692         Likewise.
11693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11694         Likewise.
11695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11696         Likewise.
11697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11698         Likewise.
11699         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11700         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11701         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11702         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11703         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11704         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11710         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11711         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11712         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11713         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11714         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11715         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11716         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11717         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11718         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11719         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11720         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11721         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11722         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11723         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11725         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11727         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11728         * nptl/pthreadP.h: Likewise.
11729         * nptl_db/structs.def: Likewise.
11730         * sysdeps/arm/sysdep.h: Likewise.
11731         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11732         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11733         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11734         * sysdeps/unix/alpha/sysdep.h: Likewise.
11735         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11736         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11737         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11738         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11739         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11740         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11741         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11742         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11743         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11744         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11745         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11746         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11747         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11748         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11751         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11752         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11753         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11754         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11755         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11756         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11757         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11758         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11759         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11760         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11762         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11763         * nptl/pthreadP.h: Likewise.
11764         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11765         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11766         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11767         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11768         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11769         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11770         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11771         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11772         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11773         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11774         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11775         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11777         Likewise.
11778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11779         Likewise.
11780         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11781         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11782         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11783         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11784         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11785         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11786         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11787         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11789         * dlfcn/dladdr.c: Use IS_IN.
11790         * dlfcn/dladdr1.c: Likewise.
11791         * dlfcn/dlclose.c: Likewise.
11792         * dlfcn/dlerror.c: Likewise.
11793         * dlfcn/dlinfo.c: Likewise.
11794         * dlfcn/dlmopen.c: Likewise.
11795         * dlfcn/dlopen.c: Likewise.
11796         * dlfcn/dlsym.c: Likewise.
11797         * dlfcn/dlvsym.c: Likewise.
11799         * include/ifaddrs.h: Use IS_IN.
11800         * inet/check_pf.c: Likewise.
11801         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11802         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11804         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11805         IS_IN_ldconfig.
11806         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11807         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11809         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11810         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11811         IS_IN (libc).
11813         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11815         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11816         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11817         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11818         * include/libc-symbols.h (IS_IN_LIB): New macro.
11819         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11820         * include/netdb.h: Likewise.
11821         * include/stap-probe.h: Remove all uses of IN_LIB.
11823         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11824         instead of IN_MODULE.
11825         * include/libc-symbols.h (IN_MODULE): Define using
11826         MODULE_NAME.
11827         (PASTE_NAME, PASTE_NAME1): New macros.
11828         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11829         of IN_LIB.
11830         (STAP_PROBE_ASM): Likewise.
11832 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11834         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11835         __mach_init in dlopened libc.
11837 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11839         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11840         * sysdeps/arm/preconfigure: Regenerate.
11842 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11844         * nptl/pthread_create.c (__pthread_create_2_1): Set
11845         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11846         when copying values from IATTR into PD.
11848 2014-11-21  Will Newton  <will.newton@linaro.org>
11849             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11851         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11852         Refactor inline-asm.  Also add comment.
11854         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11855         ElfW macro instead of hardcoded Elf64 types.
11856         (la_aarch64_gnu_pltenter): Likewise.
11857         * sysdeps/aarch64/dl-machine.h
11858         (elf_machine_runtime_setup): Use ElfW(Addr).
11860         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11861         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11862         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11863         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11864         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11865         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11866         (R_AARCH64_TLS_DTPMOD): This.
11867         (R_AARCH64_TLS_DTPREL64): Rename to ...
11868         (R_AARCH64_TLS_DTPREL): This.
11869         (R_AARCH64_TLS_TPREL64): Rename to ...
11870         (R_AARCH64_TLS_TPREL): This.
11871         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11872         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11873         R_AARCH64_TLS_TPREL64.
11874         (elf_machine_rela): Likewise.
11876 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11878         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11879         by setting it to 0.  64b atomics are not supported currently.
11881 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11883         [BZ #16469]
11884         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11885         search domain names.
11887 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11889         [BZ #16469]
11890         * NEWS: Update.
11891         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11892         trailing dot.
11893         * posix/tst-getaddrinfo5.c: New.
11894         * posix/Makefile (tests): Add it.
11896 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11898         [BZ #14498]
11899         * NEWS: Fixed.
11900         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11901         after parsing line but before break_if_match.
11902         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11903         if there is a protocol mismatch.
11905 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11907         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11908         because the potential race is on the user-supplied stream.
11910 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11912         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11913         string literal if not passed a buffer.
11914         * manual/job.texi (ctermid): Update reasoning, note deviation
11915         from posix, suggest mtasurace when not passed a buffer, for
11916         future non-preliminary safety notes.
11918 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11920         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11921         of not passing it a buffer.
11922         Reported by Peng Haitao.
11924 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11926         * manual/Makefile ($(objpfx)stamp-summary): Require
11927         check-safety.sh to pass.
11928         * manual/check-safety.sh: Wish for verification that every
11929         @deftypefn and @deftypefun is followed by a @safety remark.
11931 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11933         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11935         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11936         PTHREAD_CANCEL_ASYNCHRONOUS.
11937         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11938         send SIGCANCEL.
11940         * nptl/default-sched.h: New file.
11941         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11942         * nptl/pthread_create.c: Include it.
11943         (__pthread_create_2_1): Use collect_default_sched instead of making
11944         Linux syscalls here directly.
11946 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11948         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11949         __pthread_once): Use C11 atomics.
11951 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11953         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11955 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11957         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11958         atomic_thread_fence_acquire, atomic_thread_fence_release,
11959         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11960         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11961         atomic_compare_exchange_weak_relaxed,
11962         atomic_compare_exchange_weak_acquire,
11963         atomic_compare_exchange_weak_release,
11964         atomic_exchange_acquire, atomic_exchange_release,
11965         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11966         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11967         atomic_fetch_and_acquire,
11968         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11970 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11972         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11973         USE_ATOMIC_COMPILER_BUILTINS): Define.
11974         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11975         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11976         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11977         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11978         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11979         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11980         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11981         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11982         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11983         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11984         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11985         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11986         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11987         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11988         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11989         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11990         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11991         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11992         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11993         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11994         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11995         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11996         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11997         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11998         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11999         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12000         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12001         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12002         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
12003         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12004         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
12005         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12006         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
12007         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12008         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12009         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12010         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
12011         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12012         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
12013         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12015 2014-11-19  Roland McGrath  <roland@hack.frob.com>
12017         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
12018         the sched_priority value here.  It was already checked when the user
12019         called pthread_attr_setschedparam.
12021         * nptl/tst-bad-schedattr.c: New file.
12022         * nptl/Makefile (tests): Add it.
12024 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
12025             Florian Weimer  <fweimer@redhat.com>
12026             Joseph Myers  <joseph@codesourcery.com>
12027             Adam Conrad  <adconrad@0c3.net>
12028             Andreas Schwab  <schwab@suse.de>
12029             Brooks  <bmoses@google.com>
12031         [BZ #17625]
12032         * wordexp-test.c (__dso_handle): Add prototype.
12033         (__register_atfork): Likewise.
12034         (__app_register_atfork): New function.
12035         (registered_forks): New global.
12036         (register_fork): New function.
12037         (test_case): Add 3 new tests for WRDE_CMDSUB.
12038         (main): Call __app_register_atfork.
12039         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
12040         fork count is non-zero fail the test.
12041         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
12042         is set.
12043         (parse_dollars): Remove check for WRDE_NOCMD.
12044         (parse_dquote): Likewise.
12046 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12048         * Makeconfig (built-modules): List non-library modules to be
12049         built.
12050         (module-cppflags): Include libc-modules.h for
12051         everything except shlib-versions.v.i.
12052         (CPPFLAGS): Use it.
12053         (before-compile): Add libc-modules.h.
12054         ($(common-objpfx)libc-modules.h,
12055         $(common-objpfx)libc-modules.stmp): New targets.
12056         (common-generated): Add libc-modules.h and libc-modules.stmp.
12057         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
12058         * include/libc-symbols.h: Don't include libc-modules.h.
12059         * include/libc-modules.h: Remove file.
12060         * scripts/gen-libc-modules.awk: New script to generate
12061         libc-modules.h.
12062         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
12063         Depend on libc-modules.stmp.
12065         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
12067         * Makeconfig (in-module): Get value of libof set for the
12068         translation unit.
12069         (CPPFLAGS): Use $(in-module).
12070         * Makerules: Don't suffix routine names for nonlib.
12071         * include/libc-modules.h: New file.
12072         * include/libc-symbols.h: Include libc-modules.h
12073         (IS_IN): New macro to replace IS_IN_* macros.
12074         * elf/Makefile: Set libof-* for each routine.
12075         * elf/rtld-Rules: Likewise.
12076         * extra-modules.mk: Likewise.
12077         * iconv/Makefile: Likewise.
12078         * iconvdata/Makefile: Likewise.
12079         * locale/Makefile: Likewise.
12080         * malloc/Makefile: Likewise.
12081         * nss/Makefile: Likewise.
12082         * sysdeps/gnu/Makefile: Likewise.
12083         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
12084         * sysdeps/unix/sysv/linux/Makefile: Likewise.
12085         * sysdeps/s390/s390-64/Makefile: Likewise.
12086         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
12087         CPPFLAGS for nscd instead of nonlib.
12089 2014-11-18  Roland McGrath  <roland@hack.frob.com>
12091         * nptl/createthread.c: New file.
12093         * nptl/createthread.c: Moved ...
12094         * sysdeps/unix/sysv/linux/createthread.c: ... here.
12096         * nptl/createthread.c: Add proper top-line comment.
12097         (do_clone): Folded into ...
12098         (create_thread): ... here.  Take new arguments STOPPED_START and
12099         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
12100         increment __nptl_threads, do event-reporting logic, do
12101         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
12102         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
12103         resource cleanup if sched_setaffinity or sched_setscheduler fails,
12104         just send SIGCANCEL.
12105         * nptl/pthread_create.c: Forward-declare create_thread before
12106         including createthread.c.
12107         (start_thread): Use new macro START_THREAD_DEFN to replace defining
12108         declaration, and new macro START_THREAD_SELF to replace argument.
12109         Remove return statement.
12110         (report_thread_creation): New function.
12111         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
12112         synchronization logic, and __nptl_nthreads increment here, around
12113         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
12114         PD->parent_cancelhandling here, before create_thread.  When
12115         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
12116         __deallocate_stack, and ENOMEM translation here.
12118 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
12120         [BZ #17616]
12121         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
12122         (mptwo): Rename to __mptwo.
12123         (__inv): Use __mptwo instead of mptwo.
12124         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
12125         (mptwo): Rename to __mptwo.
12126         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
12127         of mpone and __mptwo instead of mptwo.
12128         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
12129         instead of mpone.
12130         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12131         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
12132         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
12133         of mpone and __mptwo instead of mptwo.
12134         (__mpranred): Use __mpone instead of mpone.
12135         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
12136         variable.
12137         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12138         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12139         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12140         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12141         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12142         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12143         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12144         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12145         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12146         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12147         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12148         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12149         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12150         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12151         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12152         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12153         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12154         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12155         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12157 2014-11-18  Tom de Vries  <tom@codesoucery.com>
12159         * manual/signal.texi (Primitives Interrupted by Signals): In section,
12160         replace BSD Handler xref with BSD Signal Handling.
12162 2014-11-17  Richard Henderson  <rth@redhat.com>
12164         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
12165         (_FP_PACK_RAW_2): Remove.
12166         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
12167         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
12168         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
12169         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
12170         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
12171         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
12172         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
12173         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
12174         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
12175         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
12176         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
12177         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
12178         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
12179         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
12180         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
12181         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
12183 2014-11-14  Roland McGrath  <roland@hack.frob.com>
12185         * signal/signal.h [__USE_MISC]
12186         (struct sigvec): Remove type.
12187         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
12188         (sigvec): Remove declaration.
12189         * sysdeps/posix/sigvec.c: Moved ...
12190         * signal/sigvec.c: ... here, replacing old file.
12191         (struct sigvec): New type, copied from old signal.h definition.
12192         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
12193         (__sigvec): Convert definition to prototype.
12194         (sigvec): Replace weak_alias with compat_symbol.
12195         * signal/Versions (libc: GLIBC_2.21): New version set.
12196         * include/signal.h: Remove __sigvec declaration.
12197         * sysdeps/unix/bsd/sigvec.c: Remove file.
12198         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
12199         * manual/signal.texi (BSD Handler): Remove subsection.
12200         Move siginterrupt up to ...
12201         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
12202         (Blocking in BSD): Fold subsection into its parent.
12203         * NEWS: Mention sigvec removal.
12205 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12207         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
12208         (DLA_FMS): Make definition conditional only on [__FMA4__].
12209         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
12210         definition.
12212         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
12213         Make definition conditional only on [PROF].
12214         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
12215         definition.
12216         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
12217         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
12219         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
12220         !__GNUC__].
12221         * include/signal.h (__sigpause): Move declaration above call to
12222         libc_hidden_proto.
12223         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
12224         variable.
12225         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12226         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12228 2014-11-14  David S. Miller  <davem@davemloft.net>
12230         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
12231         Define before including <string/memcpy.c> and <string/mempcpy.c>.
12233 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12235         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
12236         * configure: Regenerated.
12237         * manual/install.texi (Tools for Compilation): Document a
12238         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
12239         compiler verified to work.
12240         * INSTALL: Regenerated.
12242         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
12243         redeclare with asm name.
12244         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
12245         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
12246         including <string.h>.
12247         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12248         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
12249         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12250         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
12251         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12252         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12253         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12255 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
12257         * stdlib/strtol.c (__strtol): Use prototype definition.
12259         [BZ #17594]
12260         * stdlib/strtol.c (SYM__): New macro.
12261         (SYM__1): Likewise.
12262         (__strtol): Likewise.
12263         (strtol): Rename to __strtol and define as weak alias of
12264         __strtol.  Use libc_hidden_weak.
12266 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12268         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
12269         Use numbered labels in inline assembly.
12271 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12273         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
12274         Add setjmp LIBC_PROBE.
12275         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
12276         Likewise.
12277         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
12278         Add longjmp, longjmp_target LIBC_PROBE.
12279         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
12280         Likewise.
12282 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12284         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12285         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
12286         to get rid of unused variable warning.
12288 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12290         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
12291         Check for unwind_backtrace ==  NULL only in SHARED case.
12292         (__backchain_backtrace): Compile only in SHARED case.
12293         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
12294         Likewise.
12295         (__backchain_backtrace): Declare as static.
12297 2014-11-12  Roland McGrath  <roland@hack.frob.com>
12299         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
12300         (__libc_multiple_threads_ptr): Variable moved ...
12301         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
12303 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
12305         * conform/GlibcConform.pm: New file.
12306         * conform/conformtest.pl: Use GlibcConform module.
12307         * conform/linknamespace.pl: New file.
12308         * conform/list-header-symbols.pl: Likewise.
12309         * conform/Makefile (linknamespace-symlists-base): New variable.
12310         (linknamespace-symlists-tests): Likewise.
12311         (linknamespace-header-base): Likewise.
12312         (linknamespace-header-tests): Likewise.
12313         (tests-special): Add new tests.
12314         ($(linknamespace-symlists-tests)): New rule.
12315         (linknamespace-libs): New variable.
12316         ($(objpfx)symlist-stdlibs): New rule.
12317         ($(linknamespace-header-tests)): Likewise.
12318         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
12319         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
12320         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
12321         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
12322         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
12323         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
12324         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
12325         (test-xfail-ISO/math.h/linknamespace): Likewise.
12326         (test-xfail-ISO/signal.h/linknamespace): Likewise.
12327         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
12328         (test-xfail-ISO/time.h/linknamespace): Likewise.
12329         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12330         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
12331         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12332         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12333         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12334         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12335         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12336         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
12337         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12338         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12339         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12340         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12341         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
12342         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
12343         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
12344         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12345         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
12346         (test-xfail-XPG3/search.h/linknamespace): Likewise.
12347         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
12348         (test-xfail-XPG3/time.h/linknamespace): Likewise.
12349         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
12350         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12351         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
12352         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
12353         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12354         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12355         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
12356         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
12357         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12358         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
12359         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12360         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12361         (test-xfail-XPG4/search.h/linknamespace): Likewise.
12362         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12363         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
12364         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
12365         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
12366         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
12367         (test-xfail-XPG4/time.h/linknamespace): Likewise.
12368         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
12369         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12370         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
12371         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12372         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12373         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12374         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
12375         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
12376         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12377         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12378         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
12379         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12380         (test-xfail-POSIX/time.h/linknamespace): Likewise.
12381         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
12382         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12383         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12384         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
12385         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12386         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12387         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12388         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12389         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12390         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12391         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
12392         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12393         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12394         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12395         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
12396         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12397         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
12398         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
12399         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12400         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12401         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12402         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12403         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12404         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12405         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
12406         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
12407         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12408         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
12409         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12410         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
12411         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12412         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12413         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12414         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
12415         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12416         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12417         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
12418         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
12419         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
12420         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
12421         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12422         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12423         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
12424         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12425         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
12426         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
12427         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12428         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12429         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12430         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12431         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12432         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12433         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12434         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12435         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12436         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12437         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
12438         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12439         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
12440         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
12441         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
12442         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12443         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12444         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
12445         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12446         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12447         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12448         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12449         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12450         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12451         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12452         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12453         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12454         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12455         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
12456         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12457         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12458         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12459         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
12460         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12461         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
12462         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12463         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12464         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
12465         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12466         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12467         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12468         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12469         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12470         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12471         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12472         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12473         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12474         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12475         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
12476         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12477         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12478         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12480         [BZ #17589]
12481         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
12482         of fgets_unlocked.
12484         [BZ #17585]
12485         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
12486         (memmem): Rename to __memmem and define as weak alias of
12487         __memmem.  Use libc_hidden_weak.
12488         (__memmem): Use libc_hidden_def.
12489         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
12490         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
12491         memmem.
12493         [BZ #17582]
12494         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
12495         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
12496         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
12497         and define as weak alias of __fgets_unlocked.  Use
12498         libc_hidden_weak.
12499         (__fgets_unlocked): Use libc_hidden_def.
12500         * include/stdio.h (__fgets_unlocked): Declare.  Use
12501         libc_hidden_proto.
12502         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
12503         __fgets_unlocked instead of fgets_unlocked.
12504         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
12505         (GET_NPROCS_CONF_PARSER): Likewise.
12506         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
12507         (GET_NPROCS_CONF_PARSER): Likewise.
12509         [BZ #17574]
12510         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
12511         weak alias of __wmemset.  Use libc_hidden_weak.
12512         (__wmemset): Use libc_hidden_def.
12513         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
12514         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
12515         of wmemset.
12517         [BZ #17573]
12518         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
12519         with asm name __mempcpy.
12520         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
12522         [BZ #17572]
12523         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
12524         and define as weak alias of __rawmemchr.
12525         (__rawmemchr): Do not define as strong alias of rawmemchr.
12527         [BZ #17571]
12528         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
12529         alias of __qsort_r.
12530         (qsort): Call __qsort_r instead of qsort_r.
12531         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
12532         (__qsort_r): Declare.  Call libc_hidden_proto.
12533         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
12534         instead of qsort_r.
12535         * nscd/gai.c (__qsort_r): Define to qsort_r.
12536         * posix/tst-rfc3484.c (__qsort_r): Likewise.
12537         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
12538         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
12540         [BZ #17570]
12541         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
12542         define as weak alias of __malloc_info.
12544         [BZ #17584]
12545         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
12546         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12547         (__rewinddir): Use libc_hidden_def.
12548         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
12549         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12550         (__rewinddir): Use libc_hidden_def.
12551         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
12552         weak alias of __rewinddir.  Don't use libc_hidden_def.
12553         (__rewinddir): Use libc_hidden_def.
12554         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
12555         (__rewinddir): Use libc_hidden_proto.
12556         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
12557         rewinddir.
12558         (__getcwd): Use __rewinddir instead of rewinddir.
12560         [BZ #17583]
12561         * libio/fileno.c (fileno): Rename to __fileno and define as weak
12562         alias of __fileno.  Use libc_hidden_weak.
12563         (__fileno): Use libc_hidden_def.
12564         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
12565         * libio/ftello.c (ftello): Rename to __ftello and define as weak
12566         alias of __ftello.
12567         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
12568         __ftello.
12569         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
12570         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
12571         libc_hidden_def.
12572         (fread_unlocked): Don't use libc_hidden_ver.
12573         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
12574         and define as weak alias of __fread_unlocked.  Don't use
12575         libc_hidden_def.
12576         (__fread_unlocked): Use libc_hidden_def.
12577         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
12578         (ftello): Don't use libc_hidden_proto.
12579         (__ftello): Declare.  Use libc_hidden_proto.
12580         (fread_unlocked): Don't use libc_hidden_proto.
12581         (__fread_unlocked): Declare.  Use libc_hidden_proto.
12582         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
12583         and __ftello instead of fileno, fread_unlocked and ftello.
12585 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12587         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
12588         GOT12.
12589         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12590         Likewise.
12591         (_dl_start_user): Likewise.
12592         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
12594 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
12595             Siddhesh Poyarekar  <siddhesh@redhat.com>
12597         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
12598         Move argv and envp down instead of moving argc up.
12599         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
12601 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
12603         [BZ #17506]
12604         * test-skeleton.c (main): Return successful if one of
12605         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
12606         * string/tst-strcoll-overflow.c: Define expected status.
12608 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
12610         [BZ #17475]
12611         * locale/iso-639.def: Define Bhili and Tulu language codes.
12613 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
12615         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
12617 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
12619         [BZ #17555]
12620         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
12622 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
12624         * configure.ac: Updated check of minimal required version to
12625         2.22.
12626         * manual/install.texi (Tools for Compilation): Updated version
12627         number.
12628         * configure: Regenerated.
12629         * INSTALL: Likewise.
12631 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
12633         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
12634         __tls_get_addr.
12636 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
12638         * include/sys/wait.h (__libc_waitpid): Remove declaration.
12639         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
12640         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12641         libc_hidden_weak.
12642         (waitpid): Define as alias of __waitpid.
12643         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
12644         __waitpid.
12645         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12646         libc_hidden_weak.
12647         (waitpid): Define as alias of __waitpid.
12648         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
12649         __libc_waitpid alias.
12650         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
12651         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
12652         Likewise.
12653         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
12654         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
12655         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
12656         alias.
12657         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
12658         __waitpid.
12659         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12660         libc_hidden_weak.
12661         (waitpid): Define as alias of __waitpid.
12663 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
12665         * manual/llio.texi: Add comment that write safety has been
12666         fixed in Linux.
12668         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
12669         (localplt-build-dso): Add elf/ld.so.
12670         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12671         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12672         and free for ld.so.
12673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12674         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12676         Likewise.
12677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12678         Likewise.
12679         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12680         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12681         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12682         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12683         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12684         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12685         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12686         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12687         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12688         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12689         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12691 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
12693         [BZ #14132]
12694         * include/libc-symbols.h (INTUSE): Remove macro.
12695         (INTDEF): Likewise.
12696         (INTVARDEF): Likewise.
12697         (_INTVARDEF): Likewise.
12698         (INTDEF2): Likewise.
12699         (INTVARDEF2): Likewise.
12700         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12701         rtld_hidden_def instead of INTVARDEF.
12702         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12703         (_dl_starting_up_internal): Remove declaration.
12704         (_dl_starting_up): Use rtld_hidden_proto.
12705         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12706         declaration.
12707         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12708         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12709         _dl_starting_up.
12710         * elf/dl-writev.h (_dl_writev): Likewise.
12711         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12712         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12713         _dl_starting_up_internal.
12715 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12717         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12718         test-skeleton.c.
12720 2014-11-05  Will Newton  <will.newton@linaro.org>
12722         * benchtests/Makefile: (bench-malloc): Add malloc thread
12723         scalability benchmark.
12724         * benchtests/bench-malloc-threads.c: New file.
12726 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12728         * sysdeps/aarch64/strchrnul.S: New file.
12730 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12732         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12733         definition.
12734         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12735         Likwise.
12736         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12737         Likewise.
12738         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12739         Likewise.
12740         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12741         Likewise.
12742         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12743         Likewise.
12745 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12747         * catgets/test-gencat.c: Use test-skeleton.c.
12748         * catgets/tst-catgets.c: Likewise.
12749         * csu/tst-empty.c: Likewise.
12750         * elf/tst-audit2.c: Likewise.
12751         * elf/tst-global1.c: Likewise.
12752         * elf/tst-pathopt.c: Likewise.
12753         * elf/tst-piemod1.c: Likewise.
12754         * elf/tst-tls10.c: Likewise.
12755         * elf/tst-tls11.c: Likewise.
12756         * elf/tst-tls12.c: Likewise.
12757         * gnulib/tst-gcc.c: Likewise.
12758         * iconvdata/tst-e2big.c: Likewise.
12759         * iconvdata/tst-loading.c: Likewise.
12760         * iconv/tst-iconv1.c: Likewise.
12761         * iconv/tst-iconv2.c: Likewise.
12762         * inet/test-inet6_opt.c: Likewise.
12763         * inet/tst-gethnm.c: Likewise.
12764         * inet/tst-network.c: Likewise.
12765         * inet/tst-ntoa.c: Likewise.
12766         * intl/tst-codeset.c: Likewise.
12767         * intl/tst-gettext2.c: Likewise.
12768         * intl/tst-gettext3.c: Likewise.
12769         * intl/tst-ngettext.c: Likewise.
12770         * intl/tst-translit.c: Likewise.
12771         * io/test-stat.c: Likewise.
12772         * libio/test-fmemopen.c: Likewise.
12773         * libio/tst-freopen.c: Likewise.
12774         * libio/tst-sscanf.c: Likewise.
12775         * libio/tst-ungetwc1.c: Likewise.
12776         * libio/tst-ungetwc2.c: Likewise.
12777         * libio/tst-widetext.c: Likewise.
12778         * localedata/tst-ctype.c: Likewise.
12779         * localedata/tst-digits.c: Likewise.
12780         * localedata/tst-leaks.c: Likewise.
12781         * localedata/tst-mbswcs1.c: Likewise.
12782         * localedata/tst-mbswcs2.c: Likewise.
12783         * localedata/tst-mbswcs3.c: Likewise.
12784         * localedata/tst-mbswcs4.c: Likewise.
12785         * localedata/tst-mbswcs5.c: Likewise.
12786         * localedata/tst-setlocale.c: Likewise.
12787         * localedata/tst-trans.c: Likewise.
12788         * localedata/tst-wctype.c: Likewise.
12789         * localedata/tst-xlocale1.c: Likewise.
12790         * login/tst-grantpt.c: Likewise.
12791         * malloc/tst-calloc.c: Likewise.
12792         * malloc/tst-malloc.c: Likewise.
12793         * malloc/tst-mallocstate.c: Likewise.
12794         * malloc/tst-mcheck.c: Likewise.
12795         * malloc/tst-mtrace.c: Likewise.
12796         * malloc/tst-obstack.c: Likewise.
12797         * math/atest-exp2.c: Likewise.
12798         * math/atest-exp.c: Likewise.
12799         * math/atest-sincos.c: Likewise.
12800         * math/test-matherr.c: Likewise.
12801         * math/test-misc.c: Likewise.
12802         * math/test-powl.c: Likewise.
12803         * math/tst-definitions.c: Likewise.
12804         * misc/tst-dirname.c: Likewise.
12805         * misc/tst-efgcvt.c: Likewise.
12806         * misc/tst-fdset.c: Likewise.
12807         * misc/tst-hsearch.c: Likewise.
12808         * misc/tst-mntent2.c: Likewise.
12809         * nptl/tst-sem7.c: Likewise.
12810         * nptl/tst-sem8.c: Likewise.
12811         * nptl/tst-sem9.c: Likewise.
12812         * nss/test-netdb.c: Likewise.
12813         * posix/tst-fnmatch.c: Likewise.
12814         * posix/tst-getlogin.c: Likewise.
12815         * posix/tst-gnuglob.c: Likewise.
12816         * posix/tst-mmap.c: Likewise.
12817         * pwd/tst-getpw.c: Likewise.
12818         * resolv/tst-inet_ntop.c: Likewise.
12819         * rt/tst-timer.c: Likewise.
12820         * stdio-common/test-fseek.c: Likewise.
12821         * stdio-common/test-popen.c: Likewise.
12822         * stdio-common/test-vfprintf.c: Likewise.
12823         * stdio-common/tst-cookie.c: Likewise.
12824         * stdio-common/tst-fileno.c: Likewise.
12825         * stdio-common/tst-gets.c: Likewise.
12826         * stdio-common/tst-obprintf.c: Likewise.
12827         * stdio-common/tst-perror.c: Likewise.
12828         * stdio-common/tst-sprintf2.c: Likewise.
12829         * stdio-common/tst-sprintf3.c: Likewise.
12830         * stdio-common/tst-sprintf.c: Likewise.
12831         * stdio-common/tst-swprintf.c: Likewise.
12832         * stdio-common/tst-tmpnam.c: Likewise.
12833         * stdio-common/tst-unbputc.c: Likewise.
12834         * stdio-common/tst-wc-printf.c: Likewise.
12835         * stdlib/tst-environ.c: Likewise.
12836         * stdlib/tst-fmtmsg.c: Likewise.
12837         * stdlib/tst-limits.c: Likewise.
12838         * stdlib/tst-rand48-2.c: Likewise.
12839         * stdlib/tst-rand48.c: Likewise.
12840         * stdlib/tst-random2.c: Likewise.
12841         * stdlib/tst-random.c: Likewise.
12842         * stdlib/tst-strtol.c: Likewise.
12843         * stdlib/tst-strtoll.c: Likewise.
12844         * stdlib/tst-tls-atexit.c: Likewise.
12845         * stdlib/tst-xpg-basename.c: Likewise.
12846         * string/test-ffs.c: Likewise.
12847         * string/tst-bswap.c: Likewise.
12848         * string/tst-inlcall.c: Likewise.
12849         * string/tst-strtok.c: Likewise.
12850         * string/tst-strxfrm.c: Likewise.
12851         * sysdeps/x86_64/tst-audit10.c: Likewise.
12852         * sysdeps/x86_64/tst-audit3.c: Likewise.
12853         * sysdeps/x86_64/tst-audit4.c: Likewise.
12854         * sysdeps/x86_64/tst-audit5.c: Likewise.
12855         * time/tst-ftime_l.c: Likewise.
12856         * time/tst-getdate.c: Likewise.
12857         * time/tst-mktime3.c: Likewise.
12858         * time/tst-mktime.c: Likewise.
12859         * time/tst-posixtz.c: Likewise.
12860         * time/tst-strptime2.c: Likewise.
12861         * time/tst-strptime3.c: Likewise.
12862         * wcsmbs/tst-btowc.c: Likewise.
12863         * wcsmbs/tst-mbrtowc.c: Likewise.
12864         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12865         * wcsmbs/tst-wchar-h.c: Likewise.
12866         * wcsmbs/tst-wcpncpy.c: Likewise.
12867         * wcsmbs/tst-wcrtomb.c: Likewise.
12868         * wcsmbs/tst-wcsnlen.c: Likewise.
12869         * wcsmbs/tst-wcstof.c: Likewise.
12871 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12873         [BZ #14132]
12874         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12875         INTDEF.
12876         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12877         declaration.
12878         (_dl_mcount): Use rtld_hidden_proto.
12879         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12880         _dl_mcount.
12881         * elf/rtld.c (_rtld_global_ro): Likewise.
12883         [BZ #14132]
12884         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12885         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12886         of _dl_init_internal.
12887         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12888         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12889         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12890         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12891         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12892         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12893         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12894         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12895         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12896         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12897         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12898         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12899         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12900         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12901         * sysdeps/tile/dl-start.S (_start): Likewise.
12902         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12903         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12905         [BZ #14132]
12906         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12907         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12908         (rtld_progname): Make macro definition unconditional.
12909         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12910         INTDEF.
12911         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12912         (dl_main): Likewise.
12913         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12914         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12915         instead of _dl_argv_internal.
12916         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12917         __GI__dl_argv instead of INTUSE(_dl_argv).
12918         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12919         __GI__dl_argv instead of _dl_argv_internal.
12921         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12922         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12923         macro.
12924         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12925         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12926         New macro.
12927         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12928         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12929         macro.
12930         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12931         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12933 2014-11-04  Andreas Schwab  <schwab@suse.de>
12935         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12937 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12939         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12940         mtvsrd instruction in binary form.
12942 2014-11-03  Andreas Schwab  <schwab@suse.de>
12944         [BZ #17522]
12945         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12946         for less than MB_LEN_MAX use a local buffer of that size.
12947         * libio/tst-fputws.c: New file.
12948         * libio/Makefile (tests): Add tst-fputws.
12950 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12952         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12953         the size of the fpu_fr.fpu_dregs[] array.
12955 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12957         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12958         (__nanosleep): Do not define as alias.
12959         (nanosleep): Define as alias of __nanosleep.
12960         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12961         __libc_nanosleep name.
12963 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12965         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12966         install.texi in comment.
12968 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12970         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12971         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12972         ... add here and use lwsync or sync ...
12973         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12974         ... and add here using lwsync.
12976 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12978         * elf/dl-machine-reject-phdr.h: New file.
12979         * elf/dl-load.c: #include that.
12980         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12981         if that returned true.
12983 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12985         [BZ #17496]
12986         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12987         gen-as-const-headers chunk.  Add a big scare comment after the last
12988         safe place to touch before-compile.
12990 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12992         * manual/install.texi (Tools for Compilation): Update autoconf
12993         version requirements.
12994         * INSTALL: Regenerated.
12996         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12997         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12998         (__libc_pselect): Likewise.
13000         [BZ #14138]
13001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
13002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13006 2014-10-31  Torvald Riegel  <triegel@redhat.com>
13008         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
13009         correct barrier instruction.
13010         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
13011         Likewise.
13012         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
13013         Likewise.
13015 2014-10-30  Roland McGrath  <roland@hack.frob.com>
13017         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
13018         after defining inlines.  Instead, just use parens to defeat macro
13019         expansion of __isctype in its declaration.
13021 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
13023         * include/sys/uio.h (__libc_readv): Remove declaration.
13024         (__libc_writev): Likewise.
13025         * misc/readv.c (__libc_readv): Rename to __readv.
13026         (__readv): Do not define as alias.
13027         (readv): Define as alias of __readv.
13028         * misc/writev.c (__libc_writev): Rename to __writev.
13029         (__writev): Do not define as alias.
13030         (writev): Define as alias of __writev.
13031         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
13032         (__readv): Do not define as alias.
13033         (readv): Define unconditionally as alias of __readv.
13034         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
13035         (__writev): Do not define as alias.
13036         (writev): Define unconditionally as alias of __writev.
13037         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
13038         name.
13039         (writev): Do not define __libc_writev name.
13041 2014-10-30  Roland McGrath  <roland@hack.frob.com>
13043         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
13044         (convert_charseq): New function, broken out of ...
13045         (use_from_charmap): ... here.  Call it.
13046         (use_to_charmap): Use convert_charseq and free instead of duplicating
13047         its code with a variable-length stack struct.
13049 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
13051         * include/fcntl.h (__libc_creat): Remove declaration.
13052         * io/creat.c (__libc_creat): Rename to creat.
13053         (creat): Do not define as alias.
13054         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
13055         of creat instead of __libc_creat.
13056         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
13057         to creat.
13058         (creat): Do not define as alias.
13059         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
13060         __libc_creat.
13061         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
13062         __libc_creat name.
13063         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
13064         Likewise.
13066 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
13068         * manual/llio.texi: Add comments discussing why write() may be
13069         considered MT-unsafe on Linux.
13071 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
13073         * dl-load.c (local_strdup): Remove.
13074         (expand_dynamic_string_token): Use __strdup.
13075         (decompose_rpath): Likewise.
13076         (_dl_map_object): Likewise.
13078 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
13080         [BZ #14132]
13081         * sysdeps/generic/unwind-dw2-fde.c
13082         (__register_frame_info_bases_internal): Do not declare.
13083         (__register_frame_info_table_bases_internal): Likewise.
13084         (__deregister_frame_info_bases_internal): Likewise.
13085         (__register_frame_info_bases): Declare and use hidden_proto before
13086         definition.  Use hidden_def instead of INTDEF.
13087         (__register_frame_info_table_bases): Likewise.
13088         (__deregister_frame_info_bases): Likewise.
13089         (__register_frame_info): Do not use INTUSE.
13090         (__register_frame): Likewise.
13091         (__register_frame_info_table): Likewise.
13092         (__register_frame_table): Likewise.
13093         (__deregister_frame_info): Likewise.
13094         (__deregister_frame): Likewise.
13096 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
13098         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13099         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
13100         not undefine.
13101         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
13102         Likewise.
13103         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
13104         Likewise.
13106 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
13108         [BZ #14138]
13109         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
13110         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
13111         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
13112         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
13113         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
13114         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
13115         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
13116         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
13117         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
13118         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
13119         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
13120         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
13121         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
13122         syscall.
13123         (setfsuid): Likewise.
13124         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
13125         (setfsuid): Likewise.
13126         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
13127         (setfsuid): Likewise.
13128         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
13129         Likewise.
13130         (setfsuid): Likewise.
13131         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
13132         (setfsuid): Likewise.
13133         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
13134         Likewise.
13135         (setfsuid): Likewise.
13137 2014-10-27  Andreas Schwab  <schwab@suse.de>
13139         [BZ #17501]
13140         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
13141         check for Slow_SSE4_2 feature bit.
13142         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
13143         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13144         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
13145         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
13147 2014-10-24  Roland McGrath  <roland@hack.frob.com>
13149         * configure.ac: Validate compiler version with a empirical test of
13150         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
13151         $CC -v output.
13152         * configure: Regenerated.
13154         * inet/htons.c (htons): Prototypify.
13155         * inet/htonl.c (htonl): Likewise.
13157 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13159         * string/strncat.c (strncat): Improve performance by using strlen.
13161 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13163         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
13165 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13167         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
13168         Call libc_fetestexcept_aarch64.
13170 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13172         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
13173         Call libc_feholdexcept_aarch64.
13175 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13177         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
13178         Call get_rounding_mode.
13180 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13182         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13183         Simplify logic.
13185 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13187         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
13188         Simplify logic.
13190 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
13192         [BZ #14138]
13193         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
13194         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
13195         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
13196         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
13197         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
13198         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
13199         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
13200         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
13201         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
13202         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
13203         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13204         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
13205         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
13206         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
13207         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
13208         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
13209         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
13210         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
13211         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
13212         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
13213         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
13214         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
13215         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
13216         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
13217         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
13218         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
13219         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
13220         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
13221         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
13222         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
13223         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
13224         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
13225         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
13226         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
13227         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
13228         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
13229         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
13230         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
13231         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
13232         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
13233         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
13234         syscall.
13235         (geteuid): Likewise.
13236         (getgid): Likewise.
13237         (getuid): Likewise.
13238         (getresgid): Likewise.
13239         (getresuid): Likewise.
13240         (getgroups): Likewise.
13241         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
13242         (geteuid): Likewise.
13243         (getgid): Likewise.
13244         (getuid): Likewise.
13245         (getresgid): Likewise.
13246         (getresuid): Likewise.
13247         (getgroups): Likewise.
13248         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
13249         (geteuid): Likewise.
13250         (getgid): Likewise.
13251         (getuid): Likewise.
13252         (getresgid): Likewise.
13253         (getresuid): Likewise.
13254         (getgroups): Likewise.
13255         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
13256         Likewise.
13257         (geteuid): Likewise.
13258         (getgid): Likewise.
13259         (getuid): Likewise.
13260         (getresgid): Likewise.
13261         (getresuid): Likewise.
13262         (getgroups): Likewise.
13263         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
13264         (geteuid): Likewise.
13265         (getgid): Likewise.
13266         (getuid): Likewise.
13267         (getresgid): Likewise.
13268         (getresuid): Likewise.
13269         (getgroups): Likewise.
13270         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
13271         Likewise.
13272         (geteuid): Likewise.
13273         (getgid): Likewise.
13274         (getuid): Likewise.
13275         (getgroups): Likewise.
13277         [BZ #14138]
13278         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
13279         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
13280         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
13281         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13282         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
13283         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
13284         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
13285         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
13286         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
13287         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
13288         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
13289         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
13290         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
13291         __chown.
13292         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
13293         (lchown): Likewise.
13294         (fchown): Likewise.
13295         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
13296         Likewise.
13297         (lchown): Likewise.
13298         (fchown): Likewise.
13299         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
13300         (lchown): Likewise.
13301         (fchown): Likewise.
13302         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
13303         Likewise.
13304         (lchown): Likewise.
13305         (fchown): Likewise.
13307 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13309         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
13310         Simplify logic.
13312 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13314         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13315         Cleanup logic.
13317 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13319         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13320         Remove unused include.
13322 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13324         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
13325         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
13326         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
13327         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
13329 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
13330             Helge Deller <deller@gmx.de>
13332         [BZ #17508]
13333         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
13334         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
13335         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
13337 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
13339         [BZ #14132]
13340         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
13341         Remove macro definition.
13342         (__ashrdi3_v_glibc20): Likewise.
13343         (__lshrdi3_v_glibc20): Likewise.
13344         (__cmpdi2_v_glibc20): Likewise.
13345         (__ucmpdi2_v_glibc20): Likewise.
13346         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
13347         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13348         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13349         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13350         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13351         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
13353 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13355         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
13356         old GNU extension [0] syntax.
13357         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
13358         alloca rather than an array member with variable length.
13359         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
13360         * nscd/nscd.c (invalidate_db): New function, broken out of ...
13361         (parse_opt): ... here.  Likewise use alloca there.
13362         Validate the -i argument before checking for rootness.
13363         (send_shutdown): New function, broken out of ...
13364         (parse_opt): ... here.
13366 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13368         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
13369         macro to get at the _rt_local_ro field.
13370         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
13371         ([PIC] case) or _dl_hwcap ([!PIC] case).
13372         * sysdeps/arm/setjmp.S: Likewise.
13374         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
13375         * sysdeps/arm/configure.ac: New check to define it.
13376         * sysdeps/arm/configure: Regenerated.
13377         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
13378         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
13379         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
13380         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
13381         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
13382         Use move/movt pair instead of a load.
13383         (LDST_GLOBAL): Macro removed.
13384         (LDR_GLOBAL): New macro replaces it.
13385         (LDR_HIDDEN): New macro.
13386         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
13387         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
13389         * setjmp/tst-setjmp-static.c: New file.
13390         * setjmp/Makefile (tests): Add it.
13391         (tests-static): New variable.
13393 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
13395         [BZ #17485]
13396         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
13398 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
13400         [BZ #14132]
13401         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
13403 2014-10-21  Roland McGrath  <roland@hack.frob.com>
13405         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
13407 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13409         * io/fts.c (dirent_not_directory): New function.
13410         (fts_build): Call it.
13412 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13414         * nptl/version.c (__nptl_main): Use normal __write rather than
13415         INTERNAL_SYSCALL.
13416         (banner): Update copyright years.
13418         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
13419         gettimeofday.
13420         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13421         * nptl/pthread_cond_timedwait.c: Likewise.
13422         * nptl/pthread_mutex_timedlock.c: Likewise.
13423         * nptl/sem_timedwait.c: Likewise.
13425         * sysdeps/nptl/bits/libc-lock.h
13426         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13427         (__libc_lock_init_recursive): Return void, not 0.
13428         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
13429         (__libc_rwlock_init): Likewise.
13430         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
13432 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13434         [BZ #15215]
13435         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
13436         (__pthread_once_slow): ... here.
13437         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
13438         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
13440 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13442         [BZ #15215]
13443         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
13444         __PTHREAD_ONCE_FORK_GEN_INCR): New.
13445         * sysdeps/nptl/fork.c (__libc_fork): Use them.
13446         * nptl/pthread_once.c (__pthread_once): Likewise.
13447         Update comments.
13449 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
13451         [BZ #14138]
13452         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
13453         name.
13454         (writev): Use __libc_writev as strong name.
13455         * sysdeps/unix/sysv/linux/readv.c: Remove file.
13456         * sysdeps/unix/sysv/linux/writev.c: Likewise.
13458 2014-10-17  Roland McGrath  <roland@hack.frob.com>
13460         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
13462         * sysdeps/i386/nptl/tls.h
13463         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
13464         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
13465         New macros.
13466         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
13467         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
13468         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
13469         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
13470         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
13471         Call CHECK_THREAD_SYSINFO instead of doing an assert.
13473         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13474         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
13475         on [__NR_futex].
13476         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
13477         broken out of ...
13478         (__pthread_mutex_init): ... here.  Call it.
13479         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
13480         Conditionalize PI cases on [__NR_futex].
13481         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
13482         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
13483         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13485         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
13486         conditional on [SIGSETXID].
13487         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
13488         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
13489         is defined.  Likewise for SIGSETXID.
13490         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
13491         Conditionalize definitions on [SIGSETXID].
13492         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
13493         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
13494         unblocking on [SIGCANCEL].
13496         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
13497         [__NR_set_robust_list].
13499 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13501         * string/strcoll_l.c (get_next_seq): Fix up formatting.
13502         (do_compare): Likewise.
13504 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
13506         [BZ #15884]
13507         * string/strcoll_l.c: Don't include stdio.h.
13508         (coll_seq): Remove members idxarr and rulearr.
13509         (get_next_seq_cached): Remove function.
13510         (get_next_seq): Likewise.
13511         (get_next_seq_nocache): Rename to get_next_seq.
13512         (do_compare): Remove function.
13513         (do_compare_nocache): Rename to do_compare.
13514         (STRCOLL): Remove weight and rules cache.
13516 2014-10-16  Roland McGrath  <roland@hack.frob.com>
13518         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
13519         * sysdeps/arm/sfp-machine.h: ... to here.
13520         * sysdeps/arm/Implies: Remove arm/soft-fp.
13522 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
13524         * conform/data/sys/utsname.h-data (*_t): Allow.
13525         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
13526         [POSIX] (WEXITED): Do not expect constant.
13527         [POSIX] (WSTOPPED): Likewise.
13528         [POSIX] (WNOHANG): Likewise.
13529         [POSIX] (WNOWAIT): Likewise.
13530         [POSIX] (siginfo_t): Do not expect type or elements.
13531         [POSIX] (pid_t): Do not expect type.
13532         [POSIX] (signal.h): Do not allow header.
13533         [POSIX] (sys/resource.h): Likewise.
13534         [POSIX] (si_*): Do not allow pattern.
13535         [POSIX] (W*): Likewise.
13536         [POSIX] (P_*): Likewise.
13537         [POSIX] (BUS_*): Likewise.
13538         [POSIX] (CLD_*): Likewise.
13539         [POSIX] (FPE_*): Likewise.
13540         [POSIX] (ILL_*): Likewise.
13541         [POSIX] (POLL_*): Likewise.
13542         [POSIX] (SEGV_*): Likewise.
13543         [POSIX] (SI_*): Likewise.
13544         [POSIX] (TRAP_*): Likewise.
13545         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
13546         variable.
13548 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13550         [BZ #12926]
13551         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
13552         infinite loop when __recvmsg returns 0.
13554 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
13556         * CANCEL-FCT-WAIVE: Remove file.
13557         * CANCEL-FILE-WAIVE: Likewise.
13559         [BZ #14132]
13560         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
13561         instead of INTVARDEF.
13562         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13563         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
13564         rtld_hidden_data_def instead of INTVARDEF.
13565         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13566         * elf/dl-deps.c (expand_dst): Likewise.
13567         * elf/dl-load.c (_dl_dst_count): Likewise.
13568         (_dl_dst_substitute): Likewise.
13569         (decompose_rpath): Likewise.
13570         (_dl_init_paths): Likewise.
13571         (open_path): Likewise.
13572         (_dl_map_object): Likewise.
13573         * elf/rtld.c (dl_main): Likewise.
13574         (process_dl_audit): Likewise.
13575         (process_envvars): Likewise.
13576         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
13577         Remove declaration.
13578         (__libc_enable_secure): Use rtld_hidden_proto.
13580 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13582         * elf/dl-load.c
13583         (add_path): New function broken out of _dl_rtld_di_serinfo.
13584         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
13586 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13588         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
13589         parentheses around macro arguments.
13590         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
13591         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
13592         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
13593         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
13594         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
13595         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13596         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13597         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
13598         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
13599         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
13600         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
13601         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
13602         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
13603         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
13604         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
13605         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
13606         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
13607         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
13608         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
13609         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
13610         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
13611         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
13612         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
13613         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13614         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13615         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
13616         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
13617         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
13618         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
13619         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
13620         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
13621         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
13622         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
13623         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
13624         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
13625         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
13626         Likewise.
13627         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
13628         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13629         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13630         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
13631         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
13632         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
13633         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
13634         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
13635         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
13636         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
13637         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
13638         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
13639         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
13640         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
13641         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
13642         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13643         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13644         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
13645         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
13646         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
13647         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
13648         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
13649         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
13650         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
13651         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
13652         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
13653         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
13654         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
13655         (_FP_FRAC_SRS_1): Likewise.
13656         (_FP_FRAC_CLZ_1): Likewise.
13657         (_FP_MUL_MEAT_1_imm): Likewise.
13658         (_FP_MUL_MEAT_1_wide): Likewise.
13659         (_FP_MUL_MEAT_1_hard): Likewise.
13660         (_FP_SQRT_MEAT_1): Likewise.
13661         (_FP_FRAC_ASSEMBLE_1): Likewise.
13662         (_FP_FRAC_DISASSEMBLE_1): Likewise.
13663         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
13664         (__FP_CLZ_2): Likewise.
13665         (_FP_MUL_MEAT_2_wide): Likewise.
13666         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13667         (_FP_MUL_MEAT_2_gmp): Likewise.
13668         (_FP_MUL_MEAT_2_120_240_double): Likewise.
13669         (_FP_SQRT_MEAT_2): Likewise.
13670         (_FP_FRAC_ASSEMBLE_2): Likewise.
13671         (_FP_FRAC_DISASSEMBLE_2): Likewise.
13672         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13673         (_FP_FRAC_CLZ_4): Likewise.
13674         (_FP_MUL_MEAT_4_wide): Likewise.
13675         (_FP_MUL_MEAT_4_gmp): Likewise.
13676         (_FP_SQRT_MEAT_4): Likewise.
13677         (_FP_FRAC_ASSEMBLE_4): Likewise.
13678         (_FP_FRAC_DISASSEMBLE_4): Likewise.
13679         * soft-fp/op-common.h (_FP_CMP): Likewise.
13680         (_FP_CMP_EQ): Likewise.
13681         (_FP_CMP_UNORD): Likewise.
13682         (_FP_TO_INT): Likewise.
13683         (_FP_FROM_INT): Likewise.
13684         [!__FP_CLZ] (__FP_CLZ): Likewise.
13685         (_FP_DIV_HELP_imm): Likewise.
13686         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13687         Likewise.
13688         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13689         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13690         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13691         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13692         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13693         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13694         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13695         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13696         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13697         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13698         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13699         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13700         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13701         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13702         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13703         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13704         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13705         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13706         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13707         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13708         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13709         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13710         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13711         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13712         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13713         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13714         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13715         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13716         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13717         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13718         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13719         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13720         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13721         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13722         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13723         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13724         (FP_UNPACK_RAW_SP): Likewise.
13725         (FP_PACK_RAW_S): Likewise.
13726         (FP_PACK_RAW_SP): Likewise.
13727         (FP_UNPACK_S): Likewise.
13728         (FP_UNPACK_SP): Likewise.
13729         (FP_UNPACK_SEMIRAW_S): Likewise.
13730         (FP_UNPACK_SEMIRAW_SP): Likewise.
13731         (FP_PACK_S): Likewise.
13732         (FP_PACK_SP): Likewise.
13733         (FP_PACK_SEMIRAW_S): Likewise.
13734         (FP_PACK_SEMIRAW_SP): Likewise.
13735         (_FP_SQRT_MEAT_S): Likewise.
13736         (FP_CMP_S): Likewise.
13737         (FP_CMP_EQ_S): Likewise.
13738         (FP_CMP_UNORD_S): Likewise.
13739         (FP_TO_INT_S): Likewise.
13740         (FP_FROM_INT_S): Likewise.
13742         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13744         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13745         (FP_EX_INVALID_IMZ): Likewise.
13746         (FP_EX_INVALID_IMZ_FMA): Likewise.
13747         (FP_EX_INVALID_ISI): Likewise.
13748         (FP_EX_INVALID_ZDZ): Likewise.
13749         (FP_EX_INVALID_IDI): Likewise.
13750         (FP_EX_INVALID_SQRT): Likewise.
13751         (FP_EX_INVALID_CVI): Likewise.
13752         (FP_EX_INVALID_VC): Likewise.
13753         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13754         "invalid" exceptions.
13755         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13756         (_FP_ADD_INTERNAL): Likewise.
13757         (_FP_MUL): Likewise.
13758         (_FP_FMA): Likewise.
13759         (_FP_DIV): Likewise.
13760         (_FP_CMP_CHECK_NAN): Likewise.
13761         (_FP_SQRT): Likewise.
13762         (_FP_TO_INT): Likewise.
13763         (FP_EXTEND): Likewise.
13765 2014-10-09  Allan McRae  <allan@archlinux.org>
13767         * po/fr.po: Update French translation from translation project.
13769 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13771         [BZ #14132]
13772         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13773         of INTDEF.
13774         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13775         (__cxa_atexit): Use libc_hidden_proto.
13776         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13778         [BZ #14132]
13779         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13780         declaration.
13781         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13782         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13783         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13784         [!_ISOMAC] (__iswctype_internal): Likewise.
13785         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13786         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13787         alias.
13788         (fcntl): Remove __fcntl_internal alias.
13789         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13790         __connect_internal alias.
13791         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13792         Likewise.
13794         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13795         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13796         FP_DENORM_ZERO.
13797         (_FP_CHECK_FLUSH_ZERO): New macro.
13798         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13799         (_FP_CMP): Likewise.
13800         (_FP_CMP_EQ): Likewise.
13801         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13802         FP_DENORM_ZERO.
13803         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13804         (FP_TRUNC): Likewise.
13806         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13807         treated as invalid conversion, not as normal exponent.
13809         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13810         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13811         (_FP_CMP_EQ): Likewise.
13812         (_FP_CMP_UNORD): Likewise.
13813         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13814         (FP_CMP_EQ_D): Likewise.
13815         (FP_CMP_UNORD_D): Likewise.
13816         * soft-fp/extended.h (FP_CMP_E): Likewise.
13817         (FP_CMP_EQ_E): Likewise.
13818         (FP_CMP_UNORD_E): Likewise.
13819         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13820         (FP_CMP_EQ_Q): Likewise.
13821         (FP_CMP_UNORD_Q): Likewise.
13822         * soft-fp/single.h (FP_CMP_S): Likewise.
13823         (FP_CMP_EQ_S): Likewise.
13824         (FP_CMP_UNORD_S): Likewise.
13825         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13826         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13827         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13828         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13829         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13830         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13831         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13832         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13833         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13834         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13835         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13836         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13837         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13838         to FP_CMP_Q.
13839         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13840         FP_CMP_Q.
13841         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13842         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13843         FP_CMP_EQ_Q.
13844         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13845         FP_CMP_Q.
13846         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13847         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13848         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13849         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13850         FP_CMP_EQ_Q.
13851         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13852         FP_CMP_Q.
13853         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13854         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13855         FP_CMP_EQ_Q.
13856         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13857         FP_CMP_Q.
13858         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13859         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13860         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13861         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13862         FP_CMP_EQ_Q.
13864         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13865         a subnormal result, set the underflow exception if trapping on
13866         underflow is enabled.
13867         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13868         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13869         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13870         redefine to 0.
13871         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13872         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13873         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13874         * soft-fp/extendxftf2.c (__extendxftf2): Use
13875         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13877         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13878         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13879         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13880         FP_HANDLE_EXCEPTIONS.
13881         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13882         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13883         FP_HANDLE_EXCEPTIONS.
13884         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13885         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13886         FP_HANDLE_EXCEPTIONS.
13887         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13888         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13889         FP_HANDLE_EXCEPTIONS.
13891 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13893         [BZ #14132]
13894         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13895         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13896         use INTUSE.
13897         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13898         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13899         Remove alias.
13900         (__adjtimex): Define using libc_hidden_ver.
13901         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13902         Remove declaration.
13903         (ntp_gettime): Call __adjtimex directly.
13904         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13905         Remove declaration.
13906         (ntp_gettimex): Call __adjtimex directly.
13907         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13908         __adjtimex_internal alias.
13910 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13912         [BZ #17460]
13913         * nscd/nscd.c (more_help): Rewrite list of tables collection
13914         using xstrdup and asprintf.
13916         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13918 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13919             Roland McGrath  <roland@hack.frob.com>
13921         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13922         (do_lookup_unique): ... local function 'enter' here; update callers.
13924 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13926         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13927         compat_symbol calls on [SHARED].
13928         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13929         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13930         Remove.
13931         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13932         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13933         (oldsetrlimit): Remove.
13934         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13936         (lchown): New syscall entry.
13937         (oldsetrlimit): Remove.
13938         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13939         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13940         (oldsetrlimit): Remove.
13941         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13943         [BZ #14138]
13944         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13945         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13946         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13947         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13948         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13949         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13950         (fchown): Likewise.
13951         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13952         (fchown): Likewise.
13953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13954         Likewise.
13956 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13958         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13959         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13960         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13961         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13962         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13963         Likewise.
13964         (__old_sem_post): Likewise.
13966 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13968         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13969         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13970         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13971         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13972         Use INLINE_VSYSCALL macro.
13973         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13974         __vdso_clock_gettime.
13975         * sysdeps/unix/sysv/linux/tile/init-first.c
13976         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13977         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13978         __vdso_clock_gettime.
13980         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13981         to set up frame more cleanly.
13983         * sysdeps/tile/memcmp.c: New file.
13985         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13987         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13988         * sysdeps/tile/tilegx/strcasestr.c: New file.
13989         * sysdeps/tile/tilegx/strnlen.c: New file.
13990         * sysdeps/tile/tilegx/strstr.c: New file.
13992         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13994 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13996         * nptl/tst-setuid3.c: Write errors to stdout.
13998 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14000         * elf/dl-deps.c
14001         (preload): New functions broken out of _dl_map_object_deps.
14002         (_dl_map_object_deps):  Remove a nested function. Update call sites.
14004 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
14006         [BZ #14138]
14007         * sysdeps/unix/sysv/linux/execve.c: Remove file.
14008         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
14010 2014-10-01  Steve Ellcey  <sellcey@mips.com>
14012         * sysdeps/mips/strcmp.S: New.
14014 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
14016         [BZ #14138]
14017         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
14018         (linkat): Likewise.
14019         (mkdirat): Likewise.
14020         (readlinkat): Likewise.
14021         (renameat): Likewise.
14022         (symlinkat): Likewise.
14023         (unlinkat): Likewise.
14024         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
14025         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
14026         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
14027         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
14028         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14029         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
14030         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
14032 2014-09-30  Will Newton  <will.newton@linaro.org>
14034         * math/math.h: Define long double math functions if
14035         _LIBC_TEST is defined.
14036         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
14038         * localedata/Makefile: Move assignment to tests-special
14039         into an ifdef testing run-built-tests.
14040         * timezone/Makefile: Likewise.
14042 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
14044         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
14045         with $(BASH) not $(SHELL).
14047 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
14048             Matthew LeGendre  <legendre1@llnl.gov>
14050         [BZ #17411]
14051         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
14052         l_reloc_result.
14054 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14056         * stdio-common/printf_fp.c
14057         (hack_digit): New function, broken out of ...
14058         (__printf_fp): ... local function here.  Update call sites.
14059         hack_digit now takes an additional parameter that is a pointer
14060         to a struct of the referenced locals.  Those locals moved inside
14061         the struct and references updated.
14063 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
14065         * aclocal.m4: Require autoconf 2.69.
14066         * configure: Regenerated.
14067         * sysdeps/aarch64/configure: Likewise.
14068         * sysdeps/alpha/configure: Likewise.
14069         * sysdeps/arm/armv7/configure: Likewise.
14070         * sysdeps/arm/configure: Likewise.
14071         * sysdeps/ia64/configure: Likewise.
14072         * sysdeps/mach/configure: Likewise.
14073         * sysdeps/mips/configure: Likewise.
14074         * sysdeps/s390/configure: Likewise.
14075         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
14076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
14078         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
14079         file.
14080         * sysdeps/ia64/configure.ac: Likewise.
14082 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
14084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
14085         specify symbol version for ld.so.  Do not include entry for
14086         libpthread.
14087         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14088         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14089         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14091         [BZ #14171]
14092         * Makeconfig [$(build-shared) = yes]
14093         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
14094         makefiles.
14095         [$(build-shared) = yes && $(soversions.mk-done) = t]
14096         ($(common-objpfx)gnu/lib-names.h): Remove rule.
14097         [$(build-shared) = yes && $(soversions.mk-done) = t]
14098         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
14099         to Makerules.
14100         [$(build-shared) = yes && $(soversions.mk-done) = t]
14101         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
14102         here.
14103         [$(build-shared) = yes && $(soversions.mk-done) = t]
14104         (common-generated): Don't append gnu/lib-names.h and
14105         gnu/lib-names.stmp here.
14106         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
14107         (lib-names-h-abi): New variable.
14108         [$(build-shared) = yes && $(soversions.mk-done) = t]
14109         (lib-names-stmp-abi): Likewise.
14110         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14111         abi-variants] (before-compile): Append
14112         $(common-objpfx)$(lib-names-h-abi).
14113         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14114         abi-variants] (common-generated): Append gnu/lib-names.h.
14115         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14116         abi-variants] (install-others-nosubdir): Depend on
14117         $(inst_includedir)/$(lib-names-h-abi).
14118         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14119         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
14120         [$(build-shared) = yes && $(soversions.mk-done) = t]
14121         ($(common-objpfx)$(lib-names-h-abi)): New rule.
14122         [$(build-shared) = yes && $(soversions.mk-done) = t]
14123         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
14124         [$(build-shared) = yes && $(soversions.mk-done) = t]
14125         (common-generated): Append $(lib-names-h-abi) and
14126         $(lib-names-stmp-abi).
14127         * scripts/lib-names.awk: Do not handle multi being set.
14128         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
14129         Remove variable.
14130         (abi-lp64_be-ld-soname): Likewise.
14131         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
14132         Likewise.
14133         (abi-hard-ld-soname): Likewise.
14134         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
14135         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
14136         Remove variable.
14137         (abi-o32_hard-ld-soname): Likewise.
14138         (abi-o32_soft_2008-ld-soname): Likewise.
14139         (abi-o32_hard_2008-ld-soname): Likewise.
14140         (abi-n32_soft-ld-soname): Likewise.
14141         (abi-n32_hard-ld-soname): Likewise.
14142         (abi-n32_soft_2008-ld-soname): Likewise.
14143         (abi-n32_hard_2008-ld-soname): Likewise.
14144         (abi-n64_soft-ld-soname): Likewise.
14145         (abi-n64_hard-ld-soname): Likewise.
14146         (abi-n64_soft_2008-ld-soname): Likewise.
14147         (abi-n64_hard_2008-ld-soname): Likewise.
14148         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
14149         Likewise.
14150         (abi-64-v2-ld-soname): Likewise.
14151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
14152         ld.so entries.
14153         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
14154         variable.
14155         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
14156         entry.
14157         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
14158         variable.
14159         (abi-64-ld-soname): Likewise.
14160         (abi-x32-ld-soname): Likewise.
14161         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
14162         entry.
14163         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14165 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
14167         [BZ #14138]
14168         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
14169         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
14170         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
14171         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
14172         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
14173         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
14174         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
14175         syscall entry for GLIBC_2.2 symbol version.
14176         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
14177         Likewise.
14178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14179         (setrlimit): Likewise.
14180         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
14181         Likewise.
14183 2014-09-23  Will Newton  <will.newton@linaro.org>
14185         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
14186         _LINUX_ARM_SYSDEP_H include guard too.
14187         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
14188         define.
14190 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14192         * sysdeps/unix/sysv/linux/eventfd.c:
14193         Make first argument unsigned.
14194         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
14195         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
14197 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
14199         * socket/recvmmsg.c (recvmmsg): Drop const argument.
14200         * socket/sys/socket.h: Likewise
14201         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
14203 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14205         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
14207 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
14209         * time/tst-ftime.c: New test.
14210         * time/Makefile (tests): Add tst-ftime.
14212 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
14214         * soft-fp/extended.h: Fix comment formatting.
14215         * soft-fp/op-1.h: Likewise.
14216         * soft-fp/op-2.h: Likewise.
14217         * soft-fp/op-4.h: Likewise.
14218         * soft-fp/op-8.h: Likewise.
14219         * soft-fp/op-common.h: Likewise.
14220         * soft-fp/soft-fp.h: Likewise.
14222         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
14224 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
14226         [BZ #6652]
14227         * Makeconfig (soversions-default-setname): Remove variable.
14228         ($(common-objpfx)soversions.i): Don't pass default_setname to
14229         soversions.awk.
14230         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
14231         oldest_abi to abi-versions.awk.
14232         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
14233         * config.make.in (oldest-abi): Remove variable.
14234         * configure.ac (--enable-oldest-abi): Remove configure option.
14235         * configure: Regenerated.
14236         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
14237         text.
14238         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
14239         * scripts/soversions.awk: Do not handle default_setname variable.
14240         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
14241         variable.
14242         * sysdeps/mach/hurd/configure: Regenerated.
14243         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
14244         variable.
14245         * sysdeps/unix/sysv/linux/configure: Regenerated.
14247 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14249         * elf/Makefile (CFLAGS-interp.c): Remove.
14250         ($(elf-objpfx)runtime-linker.h): Generate header with linker
14251         path string.
14252         * elf/interp.c: Include generated runtime-linker.h
14254         * Makerules (lib%.so): Don't include $(+interp) in
14255         prerequisites.
14256         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
14257         * dlfcn/eval.c: Remove file.
14259         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
14260         macros.
14262         [BZ #17266]
14263         * misc/sys/cdefs.h: Define __extern_always_inline for clang
14264         4.2 and newer.
14266         [BZ #17370]
14267         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
14269 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14270             Jakub Jelinek  <jakub@redhat.com>
14272         [BZ #17266]
14273         * libio/stdio.h: Check definition of __fortify_function
14274         instead of __extern_always_inline to include bits/stdio2.h.
14275         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
14276         check if __extern_always_inline is defined.
14277         [__USE_MISC || __USE_XOPEN]: Likewise.
14278         [__USE_ISOC99] Likewise.
14279         * misc/sys/cdefs.h (__fortify_function): Define only if
14280         __extern_always_inline is defined.
14281         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
14282         __extern_always_inline and __extern_inline only for g++-4.3
14283         and newer or a compatible gcc.
14285 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
14287         [BZ #17371]
14288         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14289         last change to handle zero prefix length.
14291 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14293         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
14294         _SC_REGEX_VERSION.
14296         * posix/getconf.c (vars): Add _POSIX_IPV6 and
14297         _POSIX_RAW_SOCKETS.
14299 2014-09-13  Allan McRae  <allan@archlinux.org>
14301         * po/ru.po: Update Russian translation from translation project.
14303 2014-09-12  Roland McGrath  <roland@hack.frob.com>
14305         * locale/programs/locale.c (show_locale_vars): Inline local function
14306         into its sole call site.  Clean up some style nits.
14307         (print_item): New function, broken out of ...
14308         (show_info): ... local function here.  Clean up style nits.
14310         * locale/programs/ld-ctype.c (set_one_default): New function, broken
14311         out of ...
14312         (set_class_defaults): ... local function set_default here.
14313         Define set_default as a macro locally to pass constant parameters.
14314         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
14315         rather than a shared local.
14317         * stdlib/rpmatch.c (try): New function, broken out of ...
14318         (rpmatch): ... local function here.  Also, prototypify definition.
14320 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
14322         * scripts/soversions.awk: Do not handle configuration names.
14323         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
14324         vendor and os variables to soversions.awk.
14325         * configure.ac: Do not modify gnu-* host_os.
14326         * configure: Regenerated
14327         * shlib-versions: Remove first column with configuration names.
14328         * nptl/shlib-versions: Likewise.
14329         * nptl_db/shlib-versions: Likewise.
14330         * sysdeps/hppa/shlib-versions: Likewise.
14331         * sysdeps/m68k/shlib-versions: Likewise.
14332         * sysdeps/mach/hurd/shlib-versions: Likewise.
14333         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
14334         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
14335         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
14336         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
14337         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
14338         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
14339         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
14340         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
14341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14342         Likewise.
14343         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14344         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14345         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14346         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14347         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14348         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
14349         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14350         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14353         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
14354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14355         Regenerated.
14356         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
14357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14358         Condition symbol version definitions on [HAVE_ELFV2_ABI].
14360         * shlib-versions: Remove OS-specific entries.  Moved to files in
14361         sysdeps.
14362         * sysdeps/mach/hurd/shlib-versions: New file.
14363         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14365         * nptl/shlib-versions: Remove architecture-specific entries.
14366         Moved to files in sysdeps.
14367         * shlib-versions: Likewise.
14368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
14369         file.
14370         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14371         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14372         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14373         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14375         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
14376         (UDP_NO_CHECK6_RX): Likewise.
14378 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14380         * sysdeps/posix/sysconf.c (__sysconf): Spell
14381         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
14383 2014-08-12  Florian Weimer  <fweimer@redhat.com>
14385         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
14386         loading.
14387         * iconv/Versions (__gconv_transliterate): Export for use from
14388         gconv modules.
14389         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
14390         (struct __gconv_trans_data, __gconv_trans_fct,
14391         __gconv_trans_context_fct, __gconv_trans_query_fct,
14392         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
14393         definitions.
14394         (struct __gconv_step_data): Remove __trans member.
14395         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
14396         longer hidden.  Remove unused trans_data argument.
14397         * iconv/gconv_int.h (struct trans_struct): Remove definition.
14398         (__gconv_translit_find): Remove declaration.
14399         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
14400         prototype.
14401         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
14402         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
14403         trans_data argument.  Add hidden definition.
14404         (__gconv_translit_find): Remove.
14405         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
14406         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
14407         * iconv/skeleton.c: Remove transliteration initialization.
14408         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
14409         __gconv_step_data initialization.
14410         * libio/iofwide.c (__libio_translit_): Remove.
14411         (_IO_fwide): Adjust struct __gconv_step_data initialization.
14412         * wcsmbs/btowc.c (__btowc): Likewise.
14413         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14414         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14415         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14416         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14417         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
14418         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14419         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14420         * wcsmbs/wctob.c (wctob): Likewise.
14422 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14424         [BZ #16194]
14425         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
14426         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
14427         register usage.
14428         * sysdeps/x86/Makefile: Adjust.
14430 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14431             Roland McGrath  <roland@hack.frob.com>
14433         * locale/weight.h: Add include guard.
14434         (findidx): Make static rather than auto; take new parameters
14435         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
14436         * locale/weightwc.h: Likewise.
14437         * posix/fnmatch_loop.c
14438         (FCT): Change type of EXTRA from int32_t to wint_t.
14439         Don't include either header inside the function.
14440         Call FINDIDX rather than findidx, and pass new arguments.
14441         #undef FINDIDX at the end of the file.
14442         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
14443         FINDIDX before including fnmatch_loop.c for the non-wide version.
14444         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
14445         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
14446         for the wide version.
14447         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
14448         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
14449         Pass new arguments to findidx.
14450         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
14451         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
14452         Don't #include it inside the function.  Pass new arguments to findidx.
14453         * posix/regex_internal.h
14454         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
14455         (re_string_elem_size_at): Don't #include it inside the function.
14456         Pass new arguments to findidx.
14457         * string/strcoll_l.c: #include WEIGHT_H at top level.
14458         (get_next_seq): Don't #include it inside the function.
14459         Pass new arguments to findidx.
14460         (get_next_seq_nocache): Likewise.
14461         * string/strxfrm_l.c: #include WEIGHT_H at top level.
14462         (STRXFRM): Don't #include it inside the function.
14463         Pass new arguments to findidx.
14465 2014-09-11  Florian Weimer  <fweimer@redhat.com>
14467         [BZ #17344]
14468         * malloc/malloc.c (unlink): Turn asserts into a call to
14469         malloc_printerr.
14471 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
14473         [BZ #17370]
14474         * libio/wfileops (do_ftell_wide): Free OUT.
14476 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
14478         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
14480 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14482         [BZ #17363]
14483         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
14484         group if the current group is empty.
14486 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14488         * benchtests/bench-memset.c (test_main): Add more test from size
14489         from 32 to 512 bytes.
14490         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14491         Add POWER8 memset object.
14492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14493         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
14494         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
14495         implementation.
14496         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
14497         Likewise.
14498         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
14499         multiarch POWER8 memset optimization.
14500         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
14501         POWER8 memset optimization.
14503         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14504         Remove bzero multiarch objects.
14505         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
14506         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
14507         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
14508         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
14509         Remove define.
14510         [__bzero]: Redefine to specific name.
14511         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
14512         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
14513         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
14514         define.
14515         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14516         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14518 2014-09-10  Florian Weimer  <fweimer@redhat.com>
14520         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
14521         warnings into errors.
14523         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
14524         __cxa_thread_atexit_impl prototype.
14526 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14528         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
14529         Fix capitalization of error message.
14531 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14533         * sysdeps/mips/preconfigure: Modify ABI tests.
14535 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
14537         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
14539 2014-09-07  Roland McGrath  <roland@hack.frob.com>
14540             Carlos O'Donell  <carlos@systemhalted.org>
14542         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
14543         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
14544         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
14545         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
14546         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
14547         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
14548         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
14549         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
14550         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
14551         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
14552         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
14553         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
14554         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
14555         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
14556         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
14557         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
14558         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
14559         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
14560         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
14561         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
14562         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
14563         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
14564         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
14565         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
14566         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
14567         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
14568         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
14569         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
14570         Deconditionalize the code that was previously under [RESET_PID].
14571         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
14572         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
14573         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
14574         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
14575         include sysdep.h.
14577 2014-09-08  Allan McRae  <allan@archlinux.org>
14579         * version.h (RELEASE): Set to "development".
14580         (VERSION): Set to "2.20.90"
14582 2014-09-07  Allan McRae  <allan@archlinux.org
14584         * version.h (RELEASE): Set to "stable".
14585         (VERSION): Set to "2.20"
14586         * include/features.h (__GLIBC_MINOR__): Set to 20.
14588         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
14589         Liebler.
14591         * po/ko.po: Update Korean translation from translation project.
14593 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
14595         [BZ #17354]
14596         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
14597         macro for handling signed relocations.
14599 2014-09-03  Florian Weimer  <fweimer@redhat.com>
14601         [BZ #17325]
14602         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
14603         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
14604         assert.
14605         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
14606         * iconvdata/ibm935.c (BODY): Likewise.
14607         * iconvdata/ibm937.c (BODY): Likewise.
14608         * iconvdata/ibm939.c (BODY): Likewise.
14609         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
14610         assert.
14611         * iconvdata/Makefile (iconv-test.out): Pass module list to test
14612         script.
14613         * iconvdata/run-iconv-test.sh: New test loop for checking for
14614         decoder crashers.
14616 2014-09-02  Khem Raj  <raj.khem@gmail.com>
14618         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
14619         libm_hidden_ver.
14621 2014-09-01  Allan McRae  <allan@archlinux.org>
14623         * po/eo.po: Update Esperanto translation from translation project.
14625         * po/ca.po: Update Catalan translation from translation project.
14627 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14629         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
14630         __proc_dostop call.
14632 2014-08-27  Mark Wielaard  <mjw@redhat.com>
14634         [BZ #17319]
14635         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
14636         to call set_thread_area instead of hand written asm.
14637         (__NR_set_thread_area): Removed define.
14638         (TLS_FLAG_WRITABLE): Likewise.
14639         (__ASSUME_SET_THREAD_AREA): Remove check.
14640         (TLS_EBX_ARG): Remove define.
14641         (TLS_LOAD_EBX): Likewise.
14643 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14645         Simplify atomicity of socket creation in bind.
14647         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
14648         looking up the name after linking the file.
14650 2014-08-27  Allan McRae  <allan@archlinux.org>
14652         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14654 2014-08-26  Florian Weimer  <fweimer@redhat.com>
14656         [BZ #17187]
14657         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
14658         trans_compare, open_translit, __gconv_translit_find):
14659         Remove module loading code.
14661 2014-08-26  Allan McRae  <allan@archlinux.org>
14663         * po/vi.po: Update Vietnamese translation from translation project.
14665         * po/uk.po: Update Ukrainian translation from translation project.
14667         * po/fr.po: Update French translation from translation project.
14669         * po/ru.po: Update Russian translation from translation project.
14671         * po/pl.po: Update Polish translation from translation project.
14673         * po/cs.po: Update Czech translation from translation project.
14675         * po/de.po: Update German translation from translation project.
14677         * po/bg.po: Update Bulgarian translation from translation project.
14679         * po/sv.po: Update Sweedish translation from translation project.
14681         * po/nl.po: Update Dutch translation from translation project.
14683         * po/es.po: Update Spanish translation from translation project.
14685 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14687         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14689         * catgets/Makefile (CPPFLAGS-gencat): Remove.
14690         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14691         (CPPFLAGS-iconvconfig): Likewise.
14692         * timezone/Makefile (CPPFLAGS-zic): Likewise.
14694         * include/libc-symbols.h: Remove unnecessary check for
14695         NOT_IN_libc.
14696         * nptl/pthreadP.h: Likewise.
14697         * sysdeps/aarch64/setjmp.S: Likewise.
14698         * sysdeps/alpha/setjmp.S: Likewise.
14699         * sysdeps/arm/sysdep.h: Likewise.
14700         * sysdeps/i386/setjmp.S: Likewise.
14701         * sysdeps/m68k/setjmp.c: Likewise.
14702         * sysdeps/posix/getcwd.c: Likewise.
14703         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14704         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14705         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14706         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14707         * sysdeps/sh/sh3/setjmp.S: Likewise.
14708         * sysdeps/sh/sh4/setjmp.S: Likewise.
14709         * sysdeps/unix/alpha/sysdep.h: Likewise.
14710         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14711         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14712         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14713         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14716         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14717         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14718         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14719         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14720         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14721         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14722         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14723         * sysdeps/x86_64/setjmp.S: Likewise.
14725 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14727         [BZ #17263]
14728         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14729         <stdint.h>.
14730         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14731         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14733 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14735         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14737         [BZ #17262]
14738         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14739         and __x86_64__ when disabling x87 inline functions.
14741 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14743         [BZ #17259]
14744         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14745         asm statement with __cpuid_count.
14747 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14749         * configure.ac: Change __ehdr_start code to dereference the struct.
14750         Run readelf on the output to look for relocations.
14751         * configure: Regenerated.
14753 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14755         [BZ #17261]
14756         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14757         value to 0.
14758         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14760 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14762         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14764 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14766         [BZ #16892]
14767         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14768         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14770 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14772         * malloc/malloc.c: Fix typo in comment.
14774 2014-08-09  Allan McRae  <allan@archlinux.org>
14776         * Regenerate libc.po.
14778 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14780         * intl/tst-gettext2.sh: Check every lang file for creation.
14782 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14784         * sysdeps/aarch64/fpu/math_private.h
14785         (libc_feholdsetround_noex_aarch64_ctx): New function.
14787 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14789         * sysdeps/arm/armv6/strcpy.S (strcpy):
14790         Fix performance issue in misaligned cases.
14792 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14794         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14795         Move definition from termios.h.
14796         (struct termio): Likewise.
14797         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14798         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14799         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14800         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14801         Likewise.
14802         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14803         Move definition to ioctl-types.h
14804         (struct termio): Likewise.
14805         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14806         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14807         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14808         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14809         Likewise.
14811 2014-08-05  Richard Henderson  <rth@redhat.com>
14813         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14814         exceptions.
14815         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14816         Add fraiseexcpt.
14817         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14818         Use __feraiseexcept.
14819         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14820         Protect libm symbols with IS_IN_libm.
14822         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14824 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14826         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14828 2014-08-04  Will Newton  <will.newton@linaro.org>
14830         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14831         file.
14833 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14835         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14836         variants for each function.
14838 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14840         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14841         appended ...
14842         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14843         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14844         appended ...
14845         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14846         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14847         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14848         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14849         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14850         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14851         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14852         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14853         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14854         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14855         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14856         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14857         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14858         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14859         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14860         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14861         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14862         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14863         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14864         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14865         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14866         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14867         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14868         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14869         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14870         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14871         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14872         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14873         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14874         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14875         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14876         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14877         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14878         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14879         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14880         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14881         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14882         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14883         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14884         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14885         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14886         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14887         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14888         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14889         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14890         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14891         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14892         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14893         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14894         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14895         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14896         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14897         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14898         Update #include.
14899         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14900         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14902 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14904         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14905         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14906         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14907         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14908         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14909         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14911 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14913         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14914         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14915         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14916         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14918 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14920         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14921         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14922         (__libc_vfork): Define function under this name.
14923         (__vfork): Define as an alias.
14924         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14925         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14927 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14929         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14930         that was previously under [RESET_PID].
14931         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14933 2014-08-04  Andreas Schwab  <schwab@suse.de>
14935         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14937 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14939         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14940         (main): Likewise.
14942 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14944         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14946 2014-08-01  Richard Henderon  <rth@redhat.com>
14948         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14949         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14950         typo in exact zero test.
14951         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14952         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14953         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14955 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14957         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14958         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14959         * sysdeps/arm/sysdep.h: ... here.
14960         [!__ASSEMBLER__]: Include <stdint.h>.
14962 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14964         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14965         (HAVE_WCTYPE_H): Likewise.
14966         (HAVE_ISWCTYPE): Likewise.
14967         (ENABLE_NLS): Likewise.
14968         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14969         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14971         * posix/regex_internal.c: Check if DEBUG is defined and is
14972         set.
14974         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14975         (HAVE_MBSRTOWCS): Likewise.
14976         * posix/fnmatch.c: Include string.h unconditionally.
14978 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14980         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14981         reversal.
14983 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14985         * sysdeps/generic/safe-fatal.h: New file.
14986         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14987         * nptl/forward.c: Include it.
14988         (__pthread_unwind): Use __safe_fatal as default action, rather
14989         than a bogus use of INTERNAL_SYSCALL that could never work.
14991         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14992         * configure.ac (libc_cv_builtin_trap): New test.
14993         * configure: Regenerated.
14994         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14995         (ABORT_INSTRUCTION): Define using __builtin_trap.
14997         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14998         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14999         * sysdeps/nptl/nptl-signals.h: New file.
15000         * nptl/pthreadP.h: Include <nptl-signals.h>.
15002 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15004         * sysdeps/s390/s390-64/utf16-utf32-z9.c
15005         (ONE_DIRECTION): Define.
15006         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15007         (ONE_DIRECTION): Define.
15008         * sysdeps/s390/s390-64/utf8-utf32-z9.c
15009         (ONE_DIRECTION): Define.
15011 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15013         * sysdeps/s390/Makefile: Delete file.
15014         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
15015         * sysdeps/s390/__longjmp.c: Delete file.
15016         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
15017         Remove fields __flags and __reserved.
15018         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
15019         and add versioning.
15020         * sysdeps/s390/rtld-__longjmp.c: Delete file.
15021         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
15022         * sysdeps/s390/rtld-setjmp.S: Likewise.
15023         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
15024         * sysdeps/s390/s390-32/__longjmp.c: ... here.
15025         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
15026         * sysdeps/s390/s390-32/setjmp.S: ... here.
15027         Add versioning.
15028         (__sigsetjmp): Remove setting __flags field.
15029         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
15030         * sysdeps/s390/s390-64/__longjmp.c: ... here.
15031         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
15032         * sysdeps/s390/s390-64/setjmp.S: ... here.
15033         Add versioning.
15034         (__sigsetjmp): Remove setting __flags field.
15035         * sysdeps/s390/setjmp.S: Delete file.
15036         * sysdeps/s390/sigjmp.c: Likewise.
15037         * sysdeps/s390/v1-longjmp.c: Likewise.
15038         * sysdeps/s390/v1-setjmp.h: Likewise.
15039         * sysdeps/s390/v1-sigjmp.c: Likewise.
15040         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
15041         Remove v1-longjmp_chk.
15042         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
15043         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
15044         Include debug/longjmp_chk.c and add versioning.
15045         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
15046         Include nptl/pt-longjmp.c and add versioning.
15047         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
15048         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
15049         Include __longjmp.c.
15050         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15051         Move to ...
15052         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
15053         (__getcontext): Remove setting __flags field.
15054         Add versioning.
15055         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15056         Don't restore upper high grps.
15057         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
15058         Likewise.
15059         (__swapcontext): Remove setting uc_flags field.
15060         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
15061         Delete file.
15062         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15063         Include __longjmp.c.
15064         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15065         Move to ...
15066         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
15067         (__getcontext): Remove setting __flags field.
15068         Add versioning.
15069         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
15070         (__swapcontext): Remove setting uc_flags field.
15071         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
15072         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
15073         Remove fields uc_high_gprs and __reserved.
15074         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
15075         New file with reverted content.
15076         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
15077         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
15078         Regenerated.
15079         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
15080         Regenerated.
15082 2014-07-31  Andreas Schwab  <schwab@suse.de>
15084         * config.h.in (HAVE_IFUNC): Define to 0.
15085         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
15086         definedness.
15088 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
15090         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15091         memmove-avx-unaligned, memcpy-avx-unaligned and
15092         mempcpy-avx-unaligned.
15093         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15094         Add tests for AVX memcpy functions.
15095         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
15096         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
15097         memcpy_chk.
15098         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
15099         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
15100         memmove_chk.
15101         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
15102         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
15103         mempcpy_chk.
15104         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
15105         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
15106         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
15108 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15110         [BZ #17213]
15111         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
15112         powerpc64le.
15114 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
15116         [BZ #16839]
15117         * manual/llio.texi: Add section about open file description locks.
15118         * manual/examples/ofdlocks.c: Example of open file description
15119         lock usage.
15120         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
15121         F_OFD_SETLK, and F_OFD_SETLKW.
15123 2014-07-23  Allan McRae  <allan@archlinux.org>
15125         * po/es.po: Update Spanish translation from translation project.
15127 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
15129         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
15131 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
15133         [BZ #17078]
15134         * sysdeps/arm/dl-machine.h (elf_machine_rela)
15135         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
15136         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
15138 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
15140         [BZ #17088]
15141         * math/fesetenv.c (__fesetenv)
15142         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
15143         * math/feupdateenv.c (__feupdateenv)
15144         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
15146         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
15147         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15148         (__ASSUME_SOCKETCALL): Do not define.
15150         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
15151         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
15152         (__ASSUME_SOCKETCALL): Do not define.
15153         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
15154         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15155         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15156         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15157         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15158         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
15159         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15160         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15162         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
15163         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
15164         (__ASSUME_SOCKETCALL): Do not define.
15165         (__ASSUME_IPC64): Define unconditionally.
15166         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15167         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15168         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15169         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15170         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
15171         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15172         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
15173         Likewise.
15175         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
15176         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
15177         (__ASSUME_SOCKETCALL): Do not define.
15178         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
15179         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15180         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15181         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15182         (__ASSUME_REQUEUE_PI): Define unconditionally.
15183         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
15184         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15185         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15186         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
15187         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15188         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15190         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
15191         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
15192         (__ASSUME_SOCKETCALL): Do not define.
15193         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
15194         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15195         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15196         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
15197         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15198         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15200         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
15201         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
15202         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15203         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
15204         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15205         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
15206         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15207         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
15208         (__ASSUME_GETCPU_SYSCALL): Likewise.
15210         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
15211         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
15212         cases for individual architectures.
15213         * sysdeps/gnu/configure: Regenerated.
15214         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
15215         LIBC_SLIBDIR_RTLDDIR.
15216         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
15217         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
15218         LIBC_SLIBDIR_RTLDDIR.
15219         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
15220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
15221         LIBC_SLIBDIR_RTLDDIR.
15222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15223         Regenerated.
15224         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
15225         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
15226         file.
15227         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
15228         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
15229         file.
15230         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
15231         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
15232         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
15233         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
15235         * sysdeps/aarch64/shlib-versions: Move to ...
15236         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
15237         * sysdeps/alpha/shlib-versions: Move to ...
15238         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
15239         * sysdeps/arm/shlib-versions: Move to ...
15240         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
15241         * sysdeps/hppa/shlib-versions: Move all contents except for
15242         libgcc_s entry to ...
15243         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
15244         entry from ...
15245         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
15246         * sysdeps/ia64/shlib-versions: Move to ...
15247         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
15248         entry from ...
15249         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
15250         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
15251         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
15252         * sysdeps/microblaze/shlib-versions: Move to ...
15253         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
15254         * sysdeps/mips/shlib-versions: Move to ...
15255         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
15256         entry from ...
15257         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
15258         * sysdeps/tile/shlib-versions: Move to ...
15259         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
15260         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
15261         from ...
15262         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
15263         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
15264         entry from ...
15265         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
15267 2014-07-17  Will Newton  <will.newton@linaro.org>
15269         * sysdeps/arm/bits/atomic.h
15270         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
15271         (__arch_compare_and_exchange_bool_16_int): Likewise.
15272         (__arch_compare_and_exchange_bool_64_int): Likewise.
15274         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
15275         into an #else block.
15277 2014-07-16  Roland McGrath  <roland@hack.frob.com>
15279         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
15280         just Linux configurations.  Test empirically that the compiler sets
15281         __ARM_EABI__, rather than using the tuple to decide.
15282         * sysdeps/arm/preconfigure: Regenerated.
15283         * sysdeps/unix/sysv/linux/arm/configure: File removed.
15284         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
15285         contents appended ...
15286         * sysdeps/arm/configure.ac: ... here.
15287         * sysdeps/arm/configure: Regenerated.
15289 2014-07-15  Roland McGrath  <roland@hack.frob.com>
15291         * nptl/pthread_kill.c: New file.
15292         * nptl/pthread_sigmask.c: New file.
15293         * nptl/pthread_sigqueue.c: New file.
15295         * sysdeps/nptl/lowlevellock.h: New file.
15296         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
15297         * sysdeps/nptl/lowlevellock-futex.h: New file.
15299         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
15300         Remove dead declarations.
15302 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
15304         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
15305         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
15306         config-cflags-avx2.
15307         * sysdeps/x86_64/configure.ac: Likewise.
15308         * sysdeps/i386/configure: Regenerated.
15309         * sysdeps/x86_64/configure: Likewise.
15310         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15311         memset-avx2 only if config-cflags-avx2 is yes.
15312         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15313         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
15314         defined.
15315         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
15316         only if HAVE_AVX2_SUPPORT is defined.
15317         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15319 2014-07-14  Alan Modra  <amodra@gmail.com>
15321         [BZ #17153]
15322         * elf/elf.h (DT_PPC64_NUM): Correct value.
15323         * NEWS: Add to fixed bug list.
15325 2014-07-13  Jim Meyering  <meyering@fb.com>
15327         [BZ 17150]
15328         regex: don't deref NULL upon heap allocation failure
15329         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
15330         failure in one more place.
15331         To trigger the segfault, configure grep -with-included-regex,
15332         build it, and run these commands:
15333         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
15335 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
15337         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15339 2014-07-11  Richard Henderson  <rth@redhat.com>
15341         * sysdeps/aarch64/libm-test-ulps: Update.
15343 2014-07-10  Florian Weimer  <fweimer@redhat.com>
15345         [BZ #17135]
15346         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
15347         * nptl/allocatestack.c (__nptl_setxid_error): New function.
15348         (__nptl_setxid): Initialize error member.  Call
15349         __nptl_setxid_error.
15350         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
15351         * nptl/descr.h (struct xid_command): Add error member.
15352         * nptl/tst-setuid3.c: New file.
15353         * nptl/Makefile (tests): Add it.
15355 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15357         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
15358         New define.
15359         (__lll_trylock): Use __lll_base_trylock.
15360         (__lll_cond_trylock): Likewise.
15362 2014-07-10  Roland McGrath  <roland@hack.frob.com>
15364         * nptl/pthread_create.c (start_thread): Use atomic_or and
15365         lll_futex_wake directly rather than lll_robust_dead.
15366         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15367         (lll_robust_dead): Macro removed.
15368         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
15369         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15370         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15371         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15372         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15373         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15374         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15375         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15376         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15377         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15378         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15379         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15380         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15381         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15382         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15384         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
15385         Use atomic_compare_and_exchange_val_acq directly rather than
15386         lll_robust_trylock.
15387         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15388         (__lll_robust_trylock, lll_robust_trylock): Removed.
15389         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15390         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15391         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15392         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15393         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15394         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15395         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15396         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15397         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15398         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15399         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15400         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15401         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15402         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15404 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15406         * manual/locale.texi (Locale Names): New section documenting
15407         locale name syntax.  Adjust menu and node chaining accordingly.
15408         (Choosing Locale): Reference Locale Names, Locale Categories.
15409         Mention setting LC_ALL=C.  Reflect that name syntax is now
15410         documented.
15411         (Locale Categories): New section title.  Reference Locale Names.
15412         LC_ALL is an environment variable, but not a category.
15413         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
15414         description, now in Locale Name.  Reference that section.  Locale
15415         name syntax is now documented.
15417 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15419         [BZ #17137]
15420         * locale/findlocale.c (name_present, valid_locale_name): New
15421         functions.
15422         (_nl_find_locale): Use the loc_name variable to store name
15423         candidates.  Call name_present and valid_locale_name to check and
15424         validate locale names.  Return an error if the locale is invalid.
15426 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15428         * locale/setlocale.c (setlocale): Use strdup for allocating
15429         composite name copy.
15431 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15433         Sync up with gnulib.
15434         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
15435         [!_LIBC && ENABLE_NLS]: Include gettext.h.
15436         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
15437         and _GL_ARG_NONNULL.
15438         [USE_UNLOCKED_IO]: Include unlocked-io.h.
15439         [!_LIBC]: Include code for Windows and Cygwin.
15440         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
15441         Include prototype for int strerror_r.
15442         [!_LIBC] (is_open): New function.
15443         (flush_stdout): New function.
15444         (print_errno_message): Use it.
15445         (error): Likewise.
15446         (error_at_line): Likewise.
15447         (error_tail) Add function attribute macros.  Use
15448         __builtin_expect.
15450         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
15452         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
15454         * io/ftw.c: Include sys/param.h unconditionally.
15456         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
15458         [BZ #17125]
15459         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
15460         libc_freeres_ptr.
15461         (freecache): New function to free CACHE on exit.
15463         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
15464         initialization.
15466 2014-07-09  David S. Miller  <davem@davemloft.net>
15468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15470         * sysdeps/sparc/nptl/internaltypes.h: Delete.
15471         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
15472         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
15473         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
15474         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
15475         * sysdeps/sparc/nptl/sem_init.c: Likewise.
15476         * sysdeps/sparc/nptl/sem_post.c: Likewise.
15477         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
15478         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
15479         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
15480         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
15481         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
15482         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
15484 2014-07-09  Andreas Schwab  <schwab@suse.de>
15486         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
15487         output.
15488         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
15489         (do_test): Likewise.
15491         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15493 2014-07-09  Will Newton  <will.newton@linaro.org>
15495         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
15496         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
15497         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
15498         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
15499         * sysdeps/hppa/start.S (_start): Likewise.
15501 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15503         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
15505         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
15506         defined.
15508 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15510         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
15511         after checking that it is non-NULL.
15513         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
15515 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15517         * sysdeps/powerpc/memmove.c: Remove file.
15518         * sysdeps/powerpc/powerpc32/power4/memcopy.h
15519         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
15520         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15521         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
15522         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
15523         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
15524         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
15525         string memmove instead of removed powerpc one.
15527         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15528         [weak_alias]: Fix compiler warning due trailing data.
15529         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
15530         [weak_alias]: Likewise.
15531         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
15532         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
15534         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15535         (__libc_ifunc_impl_list): Add memmove functions.
15537 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15539         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
15540         Remove code.
15541         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
15542         Likewise
15543         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
15544         Likewise
15545         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
15546         Likewise
15547         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
15548         Likewise
15549         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
15550         Likewise
15551         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
15552         Likewise
15553         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
15554         Likewise
15555         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
15556         Likewise
15557         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
15558         Likewise
15559         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
15560         Likewise
15561         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
15562         Likewise
15563         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
15564         Likewise
15565         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
15566         Likewise
15567         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
15568         Likewise
15569         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
15570         Likewise
15571         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
15572         Likewise
15574 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15576         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
15577         to avoid alignment traps in non-cacheable memory.
15578         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15580         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
15581         multiarch objects.
15582         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
15583         file: multiarch power7 memmove.
15584         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
15585         multiarch default memmove.
15586         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
15587         multiarch memove for powerpc32/power4.
15589         * string/bcopy.c: Use full path to include memmove.c.
15590         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
15591         multiarch objects.
15592         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
15593         bcopy for powerpc64.
15594         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
15595         bcopy for powerpc64.
15596         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
15597         and memmove implementations.
15598         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
15599         optimized multiarch memmove for POWER7/powerpc64.
15600         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
15601         default multiarch memmove for powerpc64.
15602         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
15603         multiarch for powerpc64.
15604         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
15605         for POWER7/powerpc64.
15606         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
15607         memmove for POWER7/powerpc64.
15609         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
15610         glibc default one.
15612         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
15613         __ELF_NATIVE_CLASS equal to 64.
15615 2014-07-07  Roland McGrath  <roland@hack.frob.com>
15617         * sysdeps/nptl/lowlevellock.h: File removed.
15619         * NEWS: NPTL is no longer an add-on!
15620         * nptl/internaltypes.h: Moved ...
15621         * sysdeps/nptl/internaltypes.h: ... here.
15622         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
15623         * sysdeps/nptl/fork.c: Likewise.
15624         * sysdeps/nptl/gai_misc.h: Likewise.
15625         * sysdeps/nptl/librt-cancellation.c: Likewise.
15626         * sysdeps/nptl/jmp-unwind.c: Likewise.
15627         * sysdeps/nptl/setxid.h: Likewise.
15628         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
15629         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
15630         * sysdeps/unix/sysv/linux/arm/Implies: New file.
15631         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
15632         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
15633         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
15634         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
15635         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
15636         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
15637         * sysdeps/unix/sysv/linux/mips/Implies: New file.
15638         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
15639         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
15640         * sysdeps/unix/sysv/linux/sh/Implies: New file.
15641         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
15642         * sysdeps/unix/sysv/linux/tile/Implies: New file.
15643         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
15644         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
15645         * nptl/Makeconfig: Moved ...
15646         * sysdeps/nptl/Makeconfig: ... here.
15647         * nptl/configure: File removed.
15648         * nptl/ANNOUNCE: File removed.
15649         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
15650         * sysdeps/unix/sysv/linux/configure: Regenerated.
15652         * nptl/Makefile (routines): Add libc_pthread_init,
15653         libc_multiple_threads, register-atfork and unregister-atfork.
15654         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
15655         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
15656         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
15657         pthread-pi-defines.sym, structsem.sym.
15658         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
15659         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
15660         [$(subdir) = nptl] (tests): Add tst-setgetname.
15661         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
15662         * sysdeps/unix/sysv/linux/sigaction.c: Just include
15663         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
15664         [!LIBC_SIGACTION]: Remove aliases.
15665         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15666         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15667         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15668         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
15669         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15670         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15671         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15672         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15673         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15674         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15675         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15676         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15677         __libc_allocate_rtsig_private.
15678         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15679         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15680         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15681         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15682         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15683         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15684         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15685         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15686         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15687         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15688         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15689         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15690         * nptl/internaltypes.h: ... here.
15691         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15692         * sysdeps/nptl/jmp-unwind.c: ... here.
15693         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15694         * nptl/libc-lowlevellock.c: ... here.
15695         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15696         * nptl/libc_multiple_threads.c: ... here.
15697         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15698         * nptl/libc_pthread_init.c: ... here.
15699         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15700         * nptl/lowlevelbarrier.sym: ... here.
15701         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15702         * nptl/lowlevelcond.sym: ... here.
15703         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15704         * nptl/lowlevellock.c: ... here.
15705         * nptl/lowlevellock.h: Moved ...
15706         * sysdeps/nptl/lowlevellock.h: ... here.
15707         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15708         * nptl/lowlevelrobustlock.c: ... here.
15709         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15710         * nptl/lowlevelrobustlock.sym: ... here.
15711         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15712         * nptl/lowlevelrwlock.sym: ... here.
15713         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15714         * nptl/pt-fork.c: ... here.
15715         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15716         * nptl/pthread-pi-defines.sym: ... here.
15717         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15718         * nptl/pthread_attr_getaffinity.c: ... here.
15719         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15720         * nptl/pthread_attr_setaffinity.c: ... here.
15721         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15722         * nptl/pthread_mutex_cond_lock.c: ... here.
15723         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15724         Update #include.
15725         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15726         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15727         * nptl/pthread_once.c: ... here, replacing old file.
15728         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15729         * nptl/pthread_yield.c: ... here.
15730         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15731         * nptl/register-atfork.c: ... here.
15732         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15733         * nptl/sem_post.c: ... here.
15734         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15735         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15736         * nptl/sem_timedwait.c: ... here.
15737         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15738         * nptl/sem_trywait.c: ... here.
15739         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15740         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15741         * nptl/sem_wait.c: ... here.
15742         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15743         * nptl/structsem.sym: ... here.
15744         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15745         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15746         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15747         * nptl/unregister-atfork.c: ... here.
15748         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15749         * nptl/unwindbuf.sym: ... here.
15750         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15751         * sysdeps/nptl/fork.c: ... here.
15752         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15753         * sysdeps/nptl/fork.h: ... here.
15754         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15755         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15756         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15757         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15758         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15759         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15760         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15761         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15762         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15763         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15764         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15765         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15766         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15767         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15768         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15769         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15770         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15771         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15772         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15773         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15774         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15775         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15776         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15777         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15778         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15779         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15780         * sysdeps/unix/sysv/linux/raise.c: ... here.
15781         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15782         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15783         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15784         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15785         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15786         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15787         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15788         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15789         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15790         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15791         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15792         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15793         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15794         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15795         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15797 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15799         * sysdeps/generic/memcopy.h: Add comment for
15800         MEMCPY_OK_FOR_FWD_MEMMOVE.
15802 2014-07-04  Will Newton  <will.newton@linaro.org>
15804         * string/memchr.c: Merge from gnulib.
15805         [_LIBC]: Remove conditionals.
15806         (__ptr_t): Remove define.
15807         (LONG_MAX_32_BITS): Likewise.
15808         (LONG_MAX): Likewise.
15809         (MEMCHR): Use ANSI prototype and optimize algorithm.
15811         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15813 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15815         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15816         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15818         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15819         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15820         in a bare environment with no <stdlib.h> installed.
15821         * sysdeps/nptl/configure: Regenerated.
15823         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15825         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15826         AC_EGREP_CPP for kernel header checks, so they only succeed if
15827         including <linux/version.h> actually works right.
15828         * sysdeps/unix/sysv/linux/configure: Regenerated.
15830         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15831         value so it's not diagnosed as unused.
15833         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15834         thing) with "ifeq ($(subdir),rt)".
15836 2014-07-03  Richard Henderson  <rth@redhat.com>
15838         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15839         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15840         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15842         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15843         (math_force_eval): New.
15845         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15846         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15848         * sysdeps/alpha/fpu/s_round.c: Remove file.
15849         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15851         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15852         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15853         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15854         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15855         (_dl_start, print_statistics): Likewise.
15856         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15857         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15859         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15860         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15861         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15862         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15863         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15864         (HP_SMALL_TIMING_AVAIL): Define.
15865         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15866         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15867         (HP_SMALL_TIMING_AVAIL): Define.
15868         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15869         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15871         * sysdeps/aarch64/hp-timing.h: New file.
15873         * sysdeps/generic/hp-timing.h: Remove dead comment.
15874         * sysdeps/generic/hp-timing-common.h: New file.
15875         * sysdeps/alpha/hp-timing.h: Include it.
15876         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15877         * sysdeps/i386/i686/hp-timing.h: Likewise.
15878         * sysdeps/ia64/hp-timing.h: Likewise.
15879         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15880         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15881         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15882         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15883         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15884         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15885         (hp_timing_t): New.
15887         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15888         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15889         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15890         * elf/rtld.c (_dl_start_final): Likewise.
15891         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15892         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15893         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15894         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15895         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15896         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15897         (HP_TIMING_DIFF_INIT): Remove.
15898         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15899         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15900         (HP_TIMING_DIFF_INIT): Remove.
15901         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15902         * sysdeps/i386/i686/hp-timing.c: Remove file.
15903         * sysdeps/x86_64/hp-timing.c: Remove file.
15904         * sysdeps/ia64/hp-timing.c: Remove file.
15905         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15906         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15907         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15908         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15910         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15911         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15912         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15913         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15914         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15915         (HP_TIMING_ACCUM): Remove.
15916         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15917         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15918         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15920         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15921         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15922         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15923         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15924         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15925         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15926         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15927         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15929         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15931 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15933         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15935 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15937         Sync up with gettext.
15938         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15939         [_MSC_VER]: Include malloc.h
15940         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15941         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15942         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15943         TEMP_FAILURE_RETRY.  Cast return of alloca.
15944         [!_LIBC] Call gl_rwlock_init.
15945         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15947 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15949         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15950         before checking its value.
15952 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15954         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15956         * debug/memcpy_chk.c: Don't include pagecopy.h.
15957         * debug/mempcpy_chk.c: Likewise.
15958         * string/memcpy.c: Likewise.
15959         * string/memmove.c: Likewise.
15960         * sysdeps/powerpc/memmove.c: Likewise.
15961         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15962         definition of PAGE_COPY_FWD_MAYBE here...
15963         * sysdeps/generic/pagecopy.h: ... from here.
15964         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15966 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15967             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15969         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15970         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15971         optimizations.
15972         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15973         (__libc_ifunc_impl_list): Likewise.
15974         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15975         multiarch strcat for PPC64.
15976         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15977         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15979 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15981         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15983 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15985         * intl/loadmsgcat.c: Remove declaration of
15986         get_sysdep_segment_value.
15987         (get_sysdep_segment_value): Use ISO C style.
15988         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15989         semicolon.  Fix typo and formatting in comment.
15990         (_nl_unload_domain): Use ISO C style.
15992         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15994 2014-07-02  Will Newton  <will.newton@linaro.org>
15996         * malloc/obstack.c: Merge from gnulib master.
15997         [HAVE_CONFIG_H]: Remove conditional code.
15998         [!_LIBC]: Include config.h.
15999         [!ELIDE_CODE]: Don't include inttypes.h, include
16000         stdint.h unconditionally.
16001         (print_and_abort): Mark as _Noreturn.
16002         (_obstack_allocated_p): Mark as __attribute_pure__.
16003         (obstack_free): Rename to __obstack_free.
16004         [!__attribute__]: Remove conditional code.
16005         * malloc/obstack.h: Merge from gnulib master.
16006         [__cplusplus]: Move conditional down.
16007         [!__attribute_pure__]: Define __attribute_pure__ here
16008         if it is not already defined.
16009         (_obstack_memory_used): Mark as __attribute_pure__.
16010         [!__obstack_free]: Define as obstack_free.
16011         [__GNUC__]: Remove check for ancient NeXT gcc.
16013 2014-07-02  Will Newton  <will.newton@linaro.org>
16014             Paul Eggert  <eggert@cs.ucla.edu>
16016         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
16018 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16020         * resolv/gethnamaddr.c: Add comment warning that the file is
16021         not maintained.
16023 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
16025         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
16026         entries.
16028         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
16029         entry for aio_cancel and aio_cancel64.
16030         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
16031         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
16032         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
16033         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
16034         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
16035         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
16036         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
16037         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
16038         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
16039         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
16040         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
16041         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
16042         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
16044 2014-07-01  Roland McGrath  <roland@hack.frob.com>
16046         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
16047         * nptl/pthread_mutex_lock.c: Likewise.
16048         * nptl/pthread_mutex_timedlock.c: Likewise.
16049         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
16051 2014-07-01  Richard henderson  <rth@redhat.com>
16053         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
16054         (__isnan, __isnanl): Remove.
16055         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
16057         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16059 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
16061         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16063 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16065         * resolv/nss_dns/dns-host.c (getanswer_r)
16066         [MULTI_PTRS_ARE_ALIASES]: Remove code.
16068 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
16070         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16071         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
16072         undefine.
16073         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
16074         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
16076 2014-07-01  Roland McGrath <roland@hack.frob.com>
16078         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
16079         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
16081         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
16082         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
16084         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
16085         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
16086         ... here.
16087         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
16088         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
16090         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
16091         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
16092         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
16093         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
16095         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
16096         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
16097         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
16098         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
16099         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
16100         Moved ...
16101         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
16102         ... here.
16103         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
16104         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
16105         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
16106         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
16107         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
16108         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
16109         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
16110         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
16111         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
16112         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
16113         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
16114         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
16115         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
16116         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
16117         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
16118         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
16119         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
16120         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
16121         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
16122         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
16123         ... here.
16124         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
16125         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
16126         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
16127         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
16128         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
16129         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
16130         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
16131         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
16133 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
16135         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
16136         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
16137         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
16138         Add sysdep.
16140 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16144 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16146         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16147         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16149         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16151         * sysdeps/arm/libm-test-ulps: Regenerated.
16153 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16154             Roland McGrath <roland@hack.frob.com>
16156         * test-skeleton.c (signal_handler): Kill the whole process group
16157         before killing the child individually.
16158         (main): Report any failure on `setpgid'.
16160 2014-06-30  Roland McGrath  <roland@hack.frob.com>
16162         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
16163         from _TLS_H to _ARM_NPTL_TLS_H.
16164         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
16165         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
16167 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16169         [BZ #16539]
16170         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
16171         (__expm1l): Return argument unchanged when small but not
16172         subnormal.
16174         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
16175         include macro name.
16176         (_FP_UNPACK_RAW_1_P): Likewise.
16177         (_FP_PACK_RAW_1): Likewise.
16178         (_FP_PACK_RAW_1_P): Likewise.
16179         (_FP_MUL_MEAT_1_wide): Likewise.
16180         (_FP_MUL_MEAT_DW_1_hard): Likewise.
16181         (_FP_MUL_MEAT_1_hard): Likewise.
16182         (_FP_DIV_MEAT_1_imm): Likewise.
16183         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
16184         (_FP_DIV_MEAT_1_udiv): Likewise.
16185         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
16186         (_FP_UNPACK_RAW_2): Likewise.
16187         (_FP_UNPACK_RAW_2_P): Likewise.
16188         (_FP_PACK_RAW_2): Likewise.
16189         (_FP_PACK_RAW_2_P): Likewise.
16190         (_FP_MUL_MEAT_DW_2_wide): Likewise.
16191         (_FP_MUL_MEAT_2_wide): Likewise.
16192         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
16193         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16194         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
16195         (_FP_MUL_MEAT_2_gmp): Likewise.
16196         (_FP_DIV_MEAT_2_udiv): Likewise.
16197         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
16198         (_FP_FRAC_SRL_4): Likewise.
16199         (_FP_FRAC_SRST_4): Likewise.
16200         (_FP_FRAC_SRS_4): Likewise.
16201         (_FP_UNPACK_RAW_4): Likewise.
16202         (_FP_UNPACK_RAW_4_P): Likewise.
16203         (_FP_PACK_RAW_4): Likewise.
16204         (_FP_PACK_RAW_4_P): Likewise.
16205         (_FP_MUL_MEAT_DW_4_wide): Likewise.
16206         (_FP_MUL_MEAT_4_wide): Likewise.
16207         (_FP_MUL_MEAT_4_gmp): Likewise.
16208         (umul_ppppmnnn): Likewise.
16209         (_FP_DIV_MEAT_4_udiv): Likewise.
16210         (__FP_FRAC_ADD_4): Likewise.
16211         (__FP_FRAC_SUB_3): Likewise.
16212         (__FP_FRAC_SUB_4): Likewise.
16213         (__FP_FRAC_DEC_3): Likewise.
16214         (__FP_FRAC_DEC_4): Likewise.
16215         (__FP_FRAC_ADDI_4): Likewise.
16216         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
16217         (_FP_FRAC_SRL_8): Likewise.
16218         (_FP_FRAC_SRS_8): Likewise.
16220         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
16221         include macro name.
16222         (FP_UNPACK_RAW_EP): Likewise.
16223         (FP_PACK_RAW_E): Likewise.
16224         (FP_PACK_RAW_EP): Likewise.
16225         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
16226         (_FP_ISSIGNAN): Likewise.
16227         (_FP_ADD_INTERNAL): Likewise.
16228         (_FP_FMA): Likewise.
16229         (_FP_CMP): Likewise.
16230         (_FP_SQRT): Likewise.
16231         (_FP_TO_INT): Likewise.
16232         (_FP_FROM_INT): Likewise.
16233         (FP_EXTEND): Likewise.
16234         (_FP_DIV_MEAT_N_loop): Likewise.
16236 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16238         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
16239         throughout.
16241 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
16243         [BZ #17097]
16244         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
16245         result with correct sign in case of exponents that produce
16246         overflow except for X very close to 1.
16248 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
16250         mktime: merge #if/#ifdef usage from glibc
16251         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
16252         as that works with both Glibc's and Gnulib's style.
16253         See thread starting at Siddhesh Poyarekar's bug report at:
16254         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
16256 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16258         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
16259         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
16260         * sysdeps/tile/tilegx/memmove.c: Remove file.
16262 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16264         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
16265         abi-name definition.
16266         * scripts/soversions.awk: Do not handle or generate ABI lines.
16267         * shlib-versions: Remove ABI entries.
16268         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
16269         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
16271 2014-06-27  Roland McGrath  <roland@hack.frob.com>
16273         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
16274         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
16275         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
16276         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
16277         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
16278         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
16279         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
16280         Moved ...
16281         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16282         ... here.
16283         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
16284         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
16285         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
16286         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
16287         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
16288         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
16289         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
16290         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
16291         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
16292         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
16293         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
16294         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
16295         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
16296         Moved ...
16297         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
16298         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
16299         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
16300         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
16301         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
16302         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
16303         Moved ...
16304         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
16305         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
16306         Moved ...
16307         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
16308         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
16309         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
16310         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
16311         Moved ...
16312         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
16313         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
16314         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
16315         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
16316         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
16317         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
16318         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
16319         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
16320         Moved ...
16321         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
16322         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
16323         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
16324         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
16325         Moved ...
16326         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
16327         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
16328         Moved ...
16329         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
16330         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
16331         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
16332         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
16333         Moved ...
16334         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16335         ... here.
16336         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
16337         Identical file removed.
16338         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
16339         Moved ...
16340         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
16341         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
16342         Identical file removed.
16343         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
16344         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
16345         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
16346         Moved ...
16347         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
16348         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
16349         Identical file removed.
16350         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
16351         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
16352         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
16353         Identical file removed.
16354         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
16355         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
16356         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
16357         Identical file removed.
16358         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
16359         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
16360         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
16361         Identical file removed.
16362         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
16363         Moved ...
16364         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
16365         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
16366         Identical file removed.
16367         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
16368         Moved ...
16369         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
16370         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
16371         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
16372         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
16373         Identical file removed.
16374         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
16375         Moved ...
16376         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
16377         ... here.
16378         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
16379         Identical file removed.
16380         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
16381         Moved ...
16382         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
16383         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
16384         Identical file removed.
16385         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
16386         Moved ...
16387         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
16388         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
16389         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
16390         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
16391         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
16392         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
16393         Moved ...
16394         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
16395         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
16396         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
16398         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
16399         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
16400         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
16401         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
16402         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
16404 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
16406         [BZ #17092]
16407         * nscd/nscd.c (monitor_child): Return exit status of child
16408         instead of return value from wait syscall.
16410 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16412         * configure.ac (libc_commonpagesize): Remove variable.
16413         (libc_relro_required): Likewise.
16414         (libc_cv_z_relro): Remove configure test.
16415         * configure: Regenerated.
16416         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
16417         variable.
16418         (libc_relro_required): Likewise.
16419         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
16420         (libc_relro_required): Likewise.
16421         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
16422         (libc_relro_required): Likewise.
16423         * sysdeps/arm/preconfigure: Regenerated.
16424         * sysdeps/ia64/preconfigure: Remove file.
16425         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
16426         variable.
16427         (libc_relro_required): Likewise.
16429         [BZ #16561]
16430         [BZ #16562]
16431         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
16432         (__ieee754_yn): Set FE_TONEAREST mode internally and then
16433         recompute overflowing results in original rounding mode.
16434         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
16435         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
16436         recompute overflowing results in original rounding mode.
16437         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
16438         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16439         recompute overflowing results in original rounding mode.
16440         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
16441         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16442         recompute overflowing results in original rounding mode.
16443         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
16444         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16445         recompute overflowing results in original rounding mode.
16446         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
16447         (libc_feholdsetround_ctx): New macro.
16448         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
16449         * sysdeps/i386/fpu/libm-test-ulps: Update.
16450         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
16452 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16454         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
16455         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
16456         corresponding .cpsetup call.
16458 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16460         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
16461         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
16462         * sysdeps/arm/Makefile [$(subdir) = csu]
16463         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
16464         (static-only-routines): Add aeabi_read_tp here.
16465         (shared-only-routines): Add libc-aeabi_read_tp here.
16466         (CFLAGS-libc-start.c): Add -fexceptions here.
16467         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
16468         (sysdep_routines, static-only-routines, shared-only-routines):
16469         Don't add to these here.
16470         (CFLAGS-libc-start.c): Likewise.
16472         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
16473         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16474         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
16475         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16476         * sysdeps/arm/Makefile [$(subdir) = rt]
16477         (librt-sysdep_routines, librt-shared-only-routines):
16478         Append rt-aeabi_unwind_cpp_pr1 here.
16479         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
16480         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
16481         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
16482         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16483         Append nptl-aeabi_unwind_cpp_pr1 here.
16484         (tests): Filter out tst-cleanupx4 here.
16485         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
16486         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
16487         Don't do those here.
16489 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16491         * scripts/list-sources.sh: Do not handle ports specially.
16493 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16495         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
16496         * sysdeps/arm/feupdateenv.c: Likewise.
16498         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
16500 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16502         * manual/texinfo.tex: Update to version 2014-05-05.10 with
16503         trailing whitespace removed.
16504         * scripts/config.guess: Update to version 2014-03-23.
16505         * scripts/config.sub: Update to version 2014-05-01
16506         * scripts/install-sh: Update to version 2013-12-25.23.
16507         * scripts/move-if-change: Update from gnulib.
16509 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16511         * debug/memmove_chk.c: Remove pagecopy.h include.
16513 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
16515         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
16516         identical to gnulib mktime.
16518 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16520         * configure.ac: Do not test for machine being rs6000.  Do not test
16521         for powerpc*-*soft.
16522         * configure: Regenerated.
16524         [BZ #11505]
16525         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
16526         test.
16527         * configure: Regenerated.
16528         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
16529         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
16530         Remove configure test.
16531         * sysdeps/arm/configure: Regenerated.
16532         * sysdeps/nptl/configure.ac: Do not check
16533         libc_cv_asm_cfi_directives.
16534         * sysdeps/nptl/configure: Regenerated.
16535         * sysdeps/x86_64/nptl/configure.ac: Remove file.
16536         * sysdeps/x86_64/nptl/configure: Remove generated file.
16537         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
16538         unconditional.
16539         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
16541 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16543         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
16544         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
16545         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
16546         it is defined.
16548         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
16549         instead of whether it is defined.
16550         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
16551         * sysdeps/hppa/dl-machine.h: Likewise.
16552         * sysdeps/ia64/dl-machine.h: Likewise.
16553         * sysdeps/m68k/dl-machine.h: Likewise.
16554         * sysdeps/microblaze/dl-machine.h: Likewise.
16555         * sysdeps/mips/dl-machine.: Likewise.
16556         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16557         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16558         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16559         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16560         * sysdeps/sh/dl-machine.h: Likewise.
16561         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16562         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16563         * sysdeps/tile/dl-machine.h: Likewise.
16564         * sysdeps/x86_64/dl-machine.h: Likewise.
16566         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
16567         code.
16568         (verify_persistent_db): Likewise.
16570 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
16573         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
16574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
16575         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
16576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16577         Moved ...
16578         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16579         ... here.
16580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
16581         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
16582         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
16583         Identical file removed.
16584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
16585         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
16586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
16587         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
16588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
16589         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
16590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
16591         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
16592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
16593         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
16594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16595         Moved ...
16596         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
16597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
16598         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
16599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
16600         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
16601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16602         Moved ...
16603         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
16604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
16605         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
16606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
16607         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
16608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16609         Identical file removed.
16610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
16611         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
16612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
16613         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
16614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16615         Moved ...
16616         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16617         ... here.
16618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
16619         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
16620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
16621         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
16622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
16623         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
16624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
16625         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
16626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
16627         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
16628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16629         Moved ...
16630         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
16631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
16632         Moved ...
16633         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
16634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
16635         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
16636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16637         Moved ...
16638         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
16639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
16640         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
16642         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
16643         folded into ...
16644         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
16645         * sysdeps/unix/sysv/linux/s390/Versions
16646         (libpthread: GLIBC_2.19): New version set.
16647         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
16648         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
16649         (librt: GLIBC_2.3.3): New version set.
16650         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
16651         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
16652         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
16653         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
16654         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
16655         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
16656         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
16657         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
16658         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
16659         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
16660         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
16661         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
16662         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
16663         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
16664         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
16665         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
16666         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
16667         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
16668         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
16669         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16670         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16671         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16672         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16673         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16674         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16675         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16676         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16677         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16678         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16679         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16680         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16681         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16682         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16683         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16684         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16685         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16686         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16687         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16688         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16689         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16690         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16691         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16692         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16693         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16694         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16696         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16697         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16698         (__libc_vfork): Define the function under this name.
16699         [!NOT_IN_libc] (__vfork): Make this an alias.
16700         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16701         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16702         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16703         (__libc_vfork): Define the function under this name.
16704         [!NOT_IN_libc] (__vfork): Make this an alias.
16705         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16706         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16707         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16708         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16709         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16710         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16712         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16713         code that was previously under [RESET_PID].
16714         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16715         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16716         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16718         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16719         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16720         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16721         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16722         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16723         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16724         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16725         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16726         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16727         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16728         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16729         Moved ...
16730         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16731         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16732         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16733         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16734         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16735         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16736         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16737         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16738         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16739         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16740         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16741         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16742         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16743         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16744         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16745         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16746         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16747         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16748         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16749         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16750         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16751         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16752         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16753         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16754         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16755         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16756         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16757         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16758         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16760 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16762         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16763         that was previously under [RESET_PID].
16764         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16766 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16768         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16769         not undefine and redefine.
16770         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16771         [O_CLOEXEC]: Make code unconditional.
16772         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16773         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16774         <kernel-features.h>.
16775         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16776         conditional variable definition.
16777         (shm_open) [O_CLOEXEC]: Make code unconditional.
16778         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16779         code.
16781         * configure.ac (USE_REGPARMS): Don't define here.
16782         * configure: Regenerated.
16783         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16784         * sysdeps/i386/configure: Regenerated.
16786         * nptl/createthread.c: Don't include kernel-features.h.
16787         * nptl/pthread_cancel.c: Likewise.
16788         * nptl/pthread_condattr_setclock.c: Likewise.
16789         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16790         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16791         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16792         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16793         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16794         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16795         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16796         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16797         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16798         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16799         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16800         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16801         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16802         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16803         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16804         * nscd/gai.c: Likewise.
16805         * nss/nss_db/db-open.c: Likewise.
16806         * sysdeps/generic/ldsodefs.h: Likewise.
16807         * sysdeps/sh/nptl/tls.h: Likewise.
16808         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16809         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16810         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16811         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16812         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16813         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16814         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16815         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16816         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16817         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16818         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16819         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16820         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16821         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16822         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16823         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16824         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16825         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16826         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16827         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16828         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16829         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16830         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16831         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16832         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16833         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16834         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16835         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16836         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16837         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16838         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16839         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16840         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16841         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16842         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16843         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16844         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16845         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16846         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16847         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16848         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16849         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16850         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16851         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16852         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16853         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16854         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16855         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16856         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16857         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16858         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16859         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16860         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16861         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16862         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16863         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16864         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16865         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16888         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16889         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16890         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16891         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16892         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16893         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16894         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16895         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16896         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16897         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16898         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16899         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16900         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16901         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16902         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16903         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16904         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16905         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16906         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16907         * sysdeps/unix/sysv/linux/system.c: Likewise.
16908         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16909         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16910         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16911         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16912         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16913         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16914         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16916         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16917         * configure: Regenerated.
16918         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16920         * configure.ac (base_machine): Do not set specially for particular
16921         machines here.
16922         * configure: Regenerated.
16923         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16924         settings from configure.ac.
16925         * sysdeps/i386/preconfigure: New file.
16926         * sysdeps/s390/preconfigure: Likewise.
16927         * sysdeps/sh/preconfigure: Likewise.
16928         * sysdeps/sparc/preconfigure: Likewise.
16930 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16932         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16933         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16934         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16935         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16936         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16937         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16938         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16939         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16940         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16941         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16942         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16943         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16944         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16945         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16946         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16947         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16948         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16949         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16950         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16952         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16953         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16954         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16955         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16956         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16957         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16958         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16959         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16960         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16961         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16962         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16963         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16964         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16965         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16966         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16967         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16968         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16969         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16970         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16971         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16972         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16973         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16974         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16975         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16976         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16977         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16978         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16979         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16980         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16981         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16982         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16983         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16984         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16985         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16986         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16987         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16988         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16989         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16992         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16993         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16994         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16995         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16996         Moved ...
16997         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16998         ... here.
16999         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
17000         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
17001         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
17002         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
17003         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
17004         Moved ...
17005         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
17006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
17007         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
17008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
17009         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
17010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
17011         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
17012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17013         Moved ...
17014         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
17015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17016         Moved ...
17017         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
17018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
17019         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
17020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17021         Moved ...
17022         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
17023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
17024         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
17025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
17026         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
17027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
17028         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
17029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
17030         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
17031         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17032         Moved ...
17033         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17034         ... here.
17035         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
17036         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
17037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
17038         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
17039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
17040         Moved ...
17041         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
17042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
17043         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
17044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
17045         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
17046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
17047         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
17048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17049         Moved ...
17050         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
17051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17052         Moved ...
17053         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
17054         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
17055         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
17056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17057         Moved ...
17058         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
17059         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
17060         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
17061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
17062         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
17064 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
17066         * timezone/checktab.awk: Update from tzcode 2014e.
17067         * timezone/private.h: Likewise.
17068         * timezone/tzfile.h: Likewise.
17069         * timezone/zdump.c: Likewise.
17070         * timezone/zic.c: Likewise.
17072         * sysdeps/unix/sysv/linux/kernel-features.h
17073         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
17074         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
17075         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
17076         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17077         Remove conditional code.
17079 2014-06-25  Will Newton  <will.newton@linaro.org>
17081         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
17082         (_dl_arm_cap_flags): Add HWCAP2 values.
17083         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
17084         (_DL_HWCAP_COUNT): Increase to 37.
17085         (_DL_HWCAP_LAST): New define.
17086         (_DL_HWCAP2_LAST): New define.
17087         (_dl_procinfo): Add support for printing
17088         AT_HWCAP2 entries.
17089         (_dl_string_hwcap): Use _dl_hwcap_string.
17091 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17093         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17095 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
17097         * README: Do not mention ports directory.
17099         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
17100         Remove macro.
17101         * sysdeps/unix/sysv/linux/futimes.c: Do not include
17102         <kernel-features.h>.
17103         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
17104         conditional variable definition.
17105         (__futimes): Update comment.
17106         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
17107         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
17109         [BZ #16560]
17110         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
17111         arguments close to 0.
17112         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
17113         Likewise.
17114         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
17115         Likewise.
17116         * math/auto-libm-test-in: Add more tests of exp10.
17117         * math/auto-libm-test-out: Regenerated.
17118         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17120         * sysdeps/unix/sysv/linux/kernel-features.h
17121         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
17122         * sysdeps/unix/sysv/linux/readv.c: Do not include
17123         <kernel-features.h>.
17124         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17125         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17126         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17127         unconditional.
17128         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17129         conditional code.
17130         * sysdeps/unix/sysv/linux/writev.c: Do not include
17131         <kernel-features.h>.
17132         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17133         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17134         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17135         unconditional.
17136         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17137         conditional code.
17139 2014-06-25  Will Newton  <will.newton@linaro.org>
17141         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
17142         comment changes throughout the file.  Remove checks
17143         for HAVE_*_H definitions that are not required.
17144         (__gen_tempname): Call abort if an unknown kind value is
17145         passed.
17147 2014-06-25  Andreas Schwab  <schwab@suse.de>
17149         [BZ #17086]
17150         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
17151         scalbln, scalblnf, scalblnl in libc.
17153 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17155         [BZ #17086]
17156         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
17157         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17158         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17160 2014-06-24  Roland McGrath  <roland@hack.frob.com>
17162         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
17163         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
17164         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
17165         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
17166         Update #include.
17167         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
17168         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
17169         Update #include.
17170         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
17171         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
17172         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
17173         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
17174         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
17175         * sysdeps/x86/bits/pthreadtypes.h: ... here.
17176         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
17177         * sysdeps/x86/bits/semaphore.h: ... here.
17178         * sysdeps/x86/nptl/elide.h: Moved ...
17179         * sysdeps/x86/elide.h: ... here.
17180         * sysdeps/x86_64/nptl/Implies: File removed.
17181         * sysdeps/i386/nptl/Implies: File removed.
17183 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
17185         [BZ #16539]
17186         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
17187         return the argument for normal arguments with exponent below -64.
17188         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17189         Likewise.
17190         * math/auto-libm-test-in: Add another test of expm1.
17191         * math/auto-libm-test-out: Regenerated.
17193         [BZ #16287]
17194         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
17195         calling __erfcl for arguments at least 16.
17196         * math/auto-libm-test-in: Add more tests of erf.
17197         * math/auto-libm-test-out: Regenerated.
17199         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
17200         individual architectures.
17201         * sysdeps/unix/sysv/linux/configure: Regenerated.
17202         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
17203         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
17204         * sysdeps/unix/sysv/linux/powerpc/configure.ac
17205         (ldd_rewrite_script): Define variable.
17206         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
17208         file.
17209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
17210         generated file.
17211         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
17212         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
17213         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
17214         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
17215         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
17216         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
17217         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
17218         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
17220 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17222         [BZ #17084]
17223         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
17224         Rename member __data.d to __data.__elision_data.
17226 2014-06-24  Wilco  <wdijkstr@arm.com>
17228         * NEWS: Add 16918 to fixed bug list.
17230 2014-06-24  Wilco  <wdijkstr@arm.com>
17232         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
17234 2014-06-24  Wilco  <wdijkstr@arm.com>
17236         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
17237         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
17238         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
17239         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
17240         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
17241         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
17242         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
17243         Use _FPU_MASK_RM.
17245 2014-06-24  Wilco  <wdijkstr@arm.com>
17247         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
17249 2014-06-24  Wilco  <wdijkstr@arm.com>
17251         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
17252         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
17253         * sysdeps/arm/fesetround.c (fesetround): Remove space.
17254         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
17256 2014-06-24  Wilco  <wdijkstr@arm.com>
17258         [BZ #16918]
17259         * sysdeps/arm/feupdateenv.c (feupdateenv):
17260         Rewrite to reduce FPSCR accesses and fix return value.
17262 2014-06-24  Wilco  <wdijkstr@arm.com>
17264         * sysdeps/arm/fclrexcpt.c (feclearexcept):
17265         Optimize to avoid unnecessary FPSCR writes.
17266         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
17267         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
17268         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
17269         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
17271 2014-06-24  Wilco  <wdijkstr@arm.com>
17273         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
17274         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
17275         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
17276         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
17277         Call libc_fetestexcept_vfp.
17278         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
17279         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
17280         __SOFTFP__ ifdef so that they can be built for softfp.
17282 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17284         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
17285         argument type signed char.
17287         * Makerules (check-abi): Dump diff of symlist if the test
17288         fails.
17290 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17292         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
17293         using abort.
17295         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17296         Remove unused variable ST.
17298 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17300         [BZ #16354]
17301         [BZ #17061]
17302         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
17303         small arguments before calling __expm1.
17304         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
17305         small arguments before calling __expm1f.
17306         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
17307         small arguments before calling __expm1l.
17308         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17309         Likewise.
17310         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
17311         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
17312         spurious underflow for some cosh tests.
17313         * math/auto-libm-test-out: Regenerated.
17314         * sysdeps/i386/fpu/libm-test-ulps: Update.
17316         [BZ #17050]
17317         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
17318         (__ieee754_y1): Set errno if return value overflows.
17319         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
17320         (__ieee754_y1f): Set errno if return value overflows.
17321         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
17322         (__ieee754_y1l): Set errno if return value overflows.
17323         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
17324         (__ieee754_y1l): Set errno if return value overflows.
17325         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
17326         * math/auto-libm-test-out: Regenerated.
17328         * math/gen-auto-libm-tests.c: Document use of
17329         ignore-zero-inf-sign.
17330         (input_flag_type): Add value flag_ignore_zero_inf_sign.
17331         (input_flags): Add ignore-zero-inf-sign.
17332         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
17333         * math/gen-libm-test.pl (generate_testfile): Handle
17334         ignore-zero-inf-sign.
17335         * math/auto-libm-test-in: Mark some cpow tests with
17336         ignore-zero-inf-sign and some with xfail-rounding.
17337         * math/auto-libm-test-out: Regenerated.
17338         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
17339         * sysdeps/i386/fpu/libm-test-ulps: Update.
17340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17342         [BZ #16315]
17343         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
17344         overflowing or underflowing operations take place with sign of
17345         result.
17346         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17347         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17348         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
17349         (__ieee754_pow): Recompute overflowing and underflowing results in
17350         original rounding mode.
17351         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
17352         (__powl_helper): Allow negative argument X and scale negated value
17353         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
17354         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
17355         overflowing or underflowing operations take place with sign of
17356         result.
17357         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
17358         Include <math.h>.
17359         * math/auto-libm-test-in: Add more tests of pow.
17360         * math/auto-libm-test-out: Regenerated.
17361         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
17362         (pow_tonearest_test_data): Remove.
17363         (pow_test_tonearest): Likewise.
17364         (pow_towardzero_test_data): Likewise.
17365         (pow_test_towardzero): Likewise.
17366         (pow_downward_test_data): Likewise.
17367         (pow_test_downward): Likewise.
17368         (pow_upward_test_data): Likewise.
17369         (pow_test_upward): Likewise.
17370         (main): Don't call removed functions.
17371         * sysdeps/i386/fpu/libm-test-ulps: Update.
17372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17374 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
17377         Moved ...
17378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
17379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17380         Moved ...
17381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
17382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17383         Moved ...
17384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
17385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17386         Moved ...
17387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
17388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17389         File removed.
17390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17391         File removed.
17392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
17393         File removed.
17394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
17395         File removed.
17396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
17397         File removed.
17398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
17399         File removed.
17400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
17401         File removed.
17402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17403         File removed.
17404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
17405         File removed.
17406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17407         File removed.
17408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
17409         File removed.
17410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
17411         File removed.
17412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
17413         Moved ...
17414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
17415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
17416         Moved ...
17417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17418         ... here.
17419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
17420         Moved ...
17421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
17422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
17423         Moved ...
17424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
17425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
17426         Moved ...
17427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
17428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
17429         Moved ...
17430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
17431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
17432         Moved ...
17433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
17434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
17435         Moved ...
17436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
17437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
17438         Moved ...
17439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
17440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
17441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17442         ... here.
17443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
17444         Moved ...
17445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
17446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17447         Moved ...
17448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17449         ... here.
17450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
17451         Moved ...
17452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17453         ... here.
17454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17455         Moved ...
17456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17457         ... here.
17458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17459         Moved ...
17460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
17461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17462         Moved ...
17463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
17464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
17465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
17466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17467         Moved ...
17468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17469         ... here.
17470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17471         Moved ...
17472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17473         ... here.
17474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17475         Moved ...
17476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
17477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17478         Moved ...
17479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
17480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17481         Moved ...
17482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
17483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17484         Moved ...
17485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
17486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17487         Moved ...
17488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17489         ... here.
17490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17491         Moved ...
17492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
17493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17494         Moved ...
17495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
17496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17497         Moved ...
17498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
17499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17500         Moved ...
17501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
17502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
17503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
17504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17505         Moved ...
17506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
17507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17508         Moved ...
17509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
17510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17511         Moved ...
17512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17513         ... here.
17514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17515         Moved ...
17516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17517         ... here.
17518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17519         Moved ...
17520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17521         ... here.
17522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17523         Moved ...
17524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
17525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17526         Moved ...
17527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
17528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17529         Moved ...
17530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
17531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17532         Moved ...
17533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17534         ... here.
17535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17536         Moved ...
17537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17538         ... here.
17539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17540         Moved ...
17541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17542         ... here.
17543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17544         Moved ...
17545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
17546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17547         Moved ...
17548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
17550 2014-06-23  Will Newton  <will.newton@linaro.org>
17551             Wilco  <wdijkstr@arm.com>
17553         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
17554         implementation.  Include get-rounding-mode.h.
17555         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
17556         [!libc_feholdsetround_noex_ctx]: Define
17557         libc_feholdsetround_noex_ctx.
17558         [!libc_feholdsetround_noexf_ctx]: Define
17559         libc_feholdsetround_noexf_ctx.
17560         [!libc_feholdsetround_noexl_ctx]: Define
17561         libc_feholdsetround_noexl_ctx.
17562         (libc_feholdsetround_ctx): New function.
17563         (libc_feresetround_ctx): New function.
17564         (libc_feholdsetround_noex_ctx): New function.
17565         (libc_feresetround_noex_ctx): New function.
17567 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17569         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
17570         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
17571         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
17572         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
17573         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
17574         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
17576         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
17577         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
17578         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
17579         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
17580         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
17581         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
17582         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
17583         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
17584         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
17585         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
17586         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
17587         Moved ...
17588         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17589         ... here.
17590         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
17591         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
17592         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
17593         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
17594         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
17595         Moved ...
17596         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
17597         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
17598         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
17599         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
17600         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
17601         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
17602         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
17603         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
17604         Moved ...
17605         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
17606         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
17607         Moved ...
17608         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
17609         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
17610         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
17611         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
17612         Moved ...
17613         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
17614         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
17615         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
17616         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
17617         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
17618         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
17619         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
17620         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
17621         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
17622         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
17623         Moved ...
17624         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17625         ... here.
17626         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
17627         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
17628         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
17629         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
17630         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
17631         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
17632         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
17633         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
17634         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
17635         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
17636         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
17637         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
17638         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
17639         Moved ...
17640         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
17641         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
17642         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
17643         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
17644         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
17645         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
17646         Moved ...
17647         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
17648         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
17649         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
17650         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
17651         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
17653         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
17654         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
17655         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
17656         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
17657         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
17658         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
17659         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
17660         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
17661         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
17662         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
17663         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
17664         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
17665         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
17666         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17667         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
17668         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
17669         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17670         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17671         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17672         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17673         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17674         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17675         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17676         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17677         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17678         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17679         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17680         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17682 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17684         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17685         (FALLOC_FL_COLLAPSE_RANGE): New macro.
17686         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17687         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17688         (IPV6_PMTUDISC_INTERFACE): Likewise.
17689         (IPV6_PMTUDISC_OMIT): Likewise.
17691 2014-06-23  Andreas Schwab  <schwab@suse.de>
17693         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17694         Remove unused errout label.
17696 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17698         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17699         macro: hardware supports Vector Crypto instructions.
17701 2014-06-23  Will Newton  <will.newton@linaro.org>
17703         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17704         rather than __builtin_expect.
17706         * elf/dl-lookup.c (undefined_msg): Remove variable.
17707         (_dl_lookup_symbol_x): Replace undefined_msg with string
17708         literal.
17710         * elf/dl-lookup.c (do_lookup_unique): New function.
17711         (do_lookup_x): Move STB_GNU_UNIQUE handling code
17712         to a separate function.
17714 2014-06-23  Andreas Schwab  <schwab@suse.de>
17716         [BZ #17079]
17717         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17718         before reading the next line.
17720 2014-06-23  Will Newton  <will.newton@linaro.org>
17722         * test-skeleton.c (signal_handler): Use printf and %m
17723         rather than perror.  Use printf rather than fprintf to
17724         stderr.  Use puts rather than fputs to stderr.
17725         (main): Likewise.
17727 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17729         * nscd/nscd.c (thread_info_t): Remove typedef.
17730         (thread_info): Remove variable.
17732 2014-06-21  Allan McRae  <allan@archlinux.org>
17734         * NEWS: Mention CVE-2014-4043.
17736 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17738         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17739         * nptl/smp.h: ... here.
17741         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17743         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17744         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17745         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17746         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17748         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17749         * nptl/stack-aliasing.h: New file.
17750         * sysdeps/i386/i686/stack-aliasing.h: New file.
17751         * sysdeps/i386/i686/nptl/Makefile: File removed.
17752         * sysdeps/x86_64/stack-aliasing.h: New file.
17753         * sysdeps/x86_64/nptl/Makefile
17754         (CFLAGS-pthread_create.c): Variable removed.
17756         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17757         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17758         old file.
17759         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17760         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17761         old file.
17763 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17765         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17766         (__ASSUME_SIGFRAME_V2): Remove macro.
17767         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17768         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17769         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17770         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17771         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17772         Declare as function.  Remove conditional macro definitions.
17773         (__default_rt_sa_restorer): Likewise.
17774         (__default_sa_restorer_v1): Remove declaration.
17775         (__default_sa_restorer_v2): Likewise.
17776         (__default_rt_sa_restorer_v1): Likewise.
17777         (__default_rt_sa_restorer_v2): Likewise.
17778         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17779         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17780         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17782 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17784         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17785         (libpthread-routines): Add sysdep.
17786         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17787         * sysdeps/unix/sysv/linux/sparc/Versions
17788         (libpthread: GLIBC_2.3.3): New version set.
17789         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17790         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17791         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17792         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17793         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17794         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17795         Moved ...
17796         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17797         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17798         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17799         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17800         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17801         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17802         * sysdeps/sparc/nptl/sem_init.c: ... here.
17803         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17804         * sysdeps/sparc/nptl/sem_post.c: ... here.
17805         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17806         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17807         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17808         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17809         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17810         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17811         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17812         (libpthread-routines): Add cpu_relax.
17813         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17814         File removed.
17815         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17816         (librt: GLIBC_2.3.3): New version set.
17817         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17818         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17819         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17820         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17821         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17822         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17823         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17824         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17825         Moved ...
17826         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17827         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17828         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17829         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17830         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17831         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17832         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17833         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17834         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17835         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17836         Moved ...
17837         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17838         Update #include.
17839         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17840         Moved ...
17841         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17842         Update #include.
17843         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17844         Moved ...
17845         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17846         Update #include.
17847         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17848         Moved ...
17849         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17850         Update #include.
17851         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17852         Moved ...
17853         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17854         Update #include.
17855         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17856         Moved ...
17857         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17858         Update #include.
17859         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17860         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17861         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17862         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17863         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17864         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17865         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17866         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17867         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17868         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17869         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17870         Moved ...
17871         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17872         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17873         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17874         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17875         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17877 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17879         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17880         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17881         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17882         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17883         * nscd/nscd.c: Likewise.
17884         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17885         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17886         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17887         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17889         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17890         <kernel-features.h>.
17891         (init_mq_netlink): Remove conditional have_sock_cloexec
17892         definitions.  Remove code conditional on have_sock_cloexec < 0.
17893         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17894         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17895         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17896         <kernel-features.h>.
17897         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17898         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17900 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17902         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17903         Add tests for memset_chk and memset.
17905         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17906         with AVX2_Usable.
17908 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17910         [BZ #16046]
17911         * elf/tst-dl-iter-static.c: New file.
17912         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17914         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17915         error.
17917 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17919         * sysdeps/unix/sysv/linux/kernel-features.h
17920         (__ASSUME_F_GETOWN_EX): Remove macro.
17921         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17922         <kernel-features.h>.
17923         (miss_F_GETOWN_EX): Remove variable or macro.
17924         (do_fcntl): Do not check miss_F_GETOWN_EX.
17925         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17927         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17928         Remove macro.
17929         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17930         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17931         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17933         * sysdeps/unix/sysv/linux/kernel-features.h
17934         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17935         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17936         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17937         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17939 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17941         [BZ #17075]
17942         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17943         Fix calculation of the symbol's value.
17944         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17945         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17946         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17947         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17948         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17949         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17950         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17951         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17952         (modules-names): Add `tst-armtlsdescmod',
17953         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17954         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17955         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17956         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17957         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17958         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17959         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17960         ($(objpfx)tst-armtlsdescloc): New dependency.
17961         ($(objpfx)tst-armtlsdescextnow): Likewise.
17962         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17963         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17964         TLS scheme support.
17965         * sysdeps/arm/configure: Regenerate.
17967 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17969         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17970         (__atfct_seterrno_2): Likewise.
17971         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17972         <kernel-features.h>.
17973         (__ASSUME_ATFCTS): Do not undefine and redefine.
17974         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17975         (__have_atfcts): Remove conditional definition.
17976         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17977         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17978         unreachable if [__ASSUME_ATFCTS].
17979         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17980         not undefine and redefine.
17981         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17982         <kernel-features.h>.
17983         (faccessat) [__NR_faccessat]: Make code unconditional.
17984         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17985         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17986         <kernel-features.h>.
17987         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17988         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17989         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17990         <kernel-features.h>.
17991         (fchownat) [__NR_fchownat]: Make code unconditional.
17992         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17993         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17994         <kernel-features.h>.
17995         (futimesat) [__NR_futimesat]: Make code unconditional.
17996         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17997         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17998         <kernel-features.h>.
17999         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18000         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18001         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18002         <kernel-features.h>.
18003         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
18004         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18005         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
18006         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18007         <kernel-features.h>.
18008         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
18009         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18010         * sysdeps/unix/sysv/linux/linkat.c: Do not include
18011         <kernel-features.h>.
18012         (linkat) [__NR_linkat]: Make code unconditional.
18013         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18014         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
18015         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
18016         <kernel-features.h>.
18017         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
18018         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18019         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
18020         <kernel-features.h>.
18021         (mkdirat) [__NR_mkdirat]: Make code unconditional.
18022         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
18023         * sysdeps/unix/sysv/linux/openat.c: Do not include
18024         <kernel-features.h>.
18025         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
18026         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
18027         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
18028         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
18029         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
18030         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
18031         <kernel-features.h>.
18032         (readlinkat) [__NR_readlinkat]: Make code unconditional.
18033         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
18034         result of INLINE_SYSCALL directly, not via int variable.
18035         * sysdeps/unix/sysv/linux/renameat.c: Do not include
18036         <kernel-features.h>.
18037         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
18038         (renameat) [__NR_renameat]: Make code unconditional.
18039         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
18040         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
18041         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
18042         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
18043         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
18044         (__ASSUME_ATFCTS): Do not undefine and redefine.
18045         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
18046         <kernel-features.h>.
18047         (symlinkat) [__NR_symlinkat]: Make code unconditional.
18048         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18049         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
18050         <kernel-features.h>.
18051         (unlinkat) [__NR_unlinkat]: Make code unconditional.
18052         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18053         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
18054         (__ASSUME_ATFCTS): Do not undefine and redefine.
18055         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18056         <kernel-features.h>.
18057         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18058         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18059         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18060         <kernel-features.h>.
18061         (__xmknodat) [__NR_mknodat]: Make code unconditional.
18062         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18064 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
18066         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
18068 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
18070         [BZ #17069]
18071         * posix/regcomp.c (parse_reg_exp): Deallocate partially
18072         constructed tree before returning error.
18073         * posix/bug-regexp36.c: Expand test case.
18075 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18077         [BZ #6803]
18078         * math/libm-test.inc (scalbln_test_date):
18079         Add errno expectations.
18080         * math/w_scalblnf.c: New File.
18081         Add wrapper which checks for setting errno to ERANGE.
18082         Add weak_alias for corresponding scalbln function.
18083         * math/w_scalbln.c: Likewise.
18084         * math/w_scalblnl.c: Likewise.
18085         * math/Makefile (libm-calls): Add w_scalbln.
18086         * sysdeps/ieee754/flt-32/s_scalblnf.c:
18087         Remove weak_alias for corresponding scalbln function.
18088         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18089         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18090         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18091         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18092         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18093         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18094         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
18095         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18096         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
18097         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
18098         Remove long_double_symbol for scalblnl function in libm, libc.
18099         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
18100         Add wrapper which checks for setting errno to ERANGE.
18101         Add long_double_symbol for scalblnl function in libm, libc.
18102         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
18103         Remove long_double_symbol for scalblnl in libm.
18104         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
18105         Add wrapper which checks for setting errno to ERANGE.
18106         Add long_double_symbol for scalblnl function in libm.
18107         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
18108         Do not use wrapper because of own implementation.
18110 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
18112         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
18113         3 bytes for __pad1 for x32.
18114         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
18116 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
18117             H.J. Lu  <hongjiu.lu@intel.com>
18119         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
18120         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
18121         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18122         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18123         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18125 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
18127         [BZ #17069]
18128         * posix/regcomp.c (parse_expression): Deallocate partially
18129         constructed tree before returning error.
18130         * posix/Makefile.c (tests): Add bug-regex36.
18131         (generated): Add bug-regex36.mtrace.
18132         (tests-special): Add $(objpfx)bug-regex36-mem.out
18133         (bug-regex36-ENV): New variable.
18134         ($(objpfx)bug-regex36-mem.out): New rule.
18135         * posix/bug-regex36.c: New file.
18137 2014-06-19  Will Newton  <will.newton@linaro.org>
18139         * malloc/malloc.c (systrim): If extra is zero then return
18140         early.
18142 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18144         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
18146 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
18148         * sysdeps/aarch64/strchr.S: New file.
18150 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18152         [BZ #17022]
18153         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
18154         from arguments -2 or below.
18155         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18156         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18158 2014-06-18  Andreas Schwab  <schwab@suse.de>
18160         [BZ #17062]
18161         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
18162         of a bracket expr not to run off the end of the string.
18163         * posix/Makefile (tests): Add tst-fnmatch3.
18164         * posix/tst-fnmatch3.c: New file.
18166 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18168         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
18169         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18170         [$(cross-compiling) = no]: Likewise.
18171         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18172         [$(cross-compiling) = no]: Likewise.
18174 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18176         [BZ #17031]
18177         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
18178         double, adjusted for any remainder from the high double.
18179         * math/libm-test.inc (nearbyint): Add tests.
18180         (rint): Likewise.
18182 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18184         * nptl/sysdeps/powerpc/Makefile: Moved ...
18185         * sysdeps/powerpc/nptl/Makefile: ... here.
18186         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
18187         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
18188         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
18189         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
18190         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
18191         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
18192         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
18193         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
18194         * nptl/sysdeps/powerpc/tls.h: Moved ...
18195         * sysdeps/powerpc/nptl/tls.h: ... here.
18197 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
18199         [BZ #16681]
18200         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
18201         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18202         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
18203         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
18204         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18205         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
18206         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
18207         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18208         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
18210 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
18212         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18214 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
18216         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
18217         defined operator.
18219         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
18220         $TIMEOUTFACTOR.
18222 2014-06-16  Florian Weimer  <fweimer@redhat.com>
18224         [BZ #17058]
18225         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
18226         non-executed part of the test.
18228 2014-06-16  Andreas Schwab  <schwab@suse.de>
18230         * string/bits/string2.h (strdup, strndup): Update feature guard.
18232 2014-06-14  David S. Miller  <davem@davemloft.net>
18234         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18236 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
18238         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
18239         that was previously under [RESET_PID].
18240         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
18242         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
18243         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
18244         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
18245         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18246         (__libc_vfork): New strong alias.
18247         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
18249 2014-06-14 Andi Kleen  <ak@linux.intel.com>
18251         * sysdeps/generic/elide.h: New file.
18253 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18255         * Makefile (installed-headers): Adjust path of pthread.h header.
18257 2014-06-13  Roland McGrath  <roland@hack.frob.com>
18259         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
18260         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
18261         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
18262         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
18264         * nptl/sysdeps/s390/Makefile: Moved ...
18265         * sysdeps/s390/nptl/Makefile: ... here.
18266         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
18267         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
18268         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
18269         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
18270         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
18271         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
18272         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
18273         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
18274         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
18275         * sysdeps/s390/nptl/pthreaddef.h: ... here.
18276         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
18277         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
18278         * nptl/sysdeps/s390/tls.h: Moved ...
18279         * sysdeps/s390/nptl/tls.h: ... here.
18281         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
18282         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
18284 2014-06-13  David S. Miller  <davem@davemloft.net>
18286         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
18287         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
18288         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
18289         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
18290         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
18291         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
18292         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
18293         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
18294         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
18295         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
18296         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
18297         Remove RESET_PID cpp guards.
18298         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
18299         Remove RESET_PID cpp guards.
18300         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
18302 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
18304         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
18305         __sp to uintptr_t.
18307 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18309         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
18310         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
18311         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
18312         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
18313         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
18314         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
18315         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
18316         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
18317         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
18318         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
18319         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
18320         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
18321         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
18322         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
18323         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
18324         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
18325         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
18326         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
18327         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
18328         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
18330         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
18331         (pthread_rwlock_rdlock): Add elision.
18332         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
18333         (pthread_rwlock_wrlock): Add elision.
18334         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
18335         (pthread_rwlock_trywrlock): Add elision.
18336         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
18337         (pthread_rwlock_tryrdlock): Add elision.
18338         * nptl/pthread_rwlock_unlock.c: Include elide.h.
18339         (pthread_rwlock_tryrdlock): Add elision unlock.
18340         * nptl/sysdeps/pthread/pthread.h:
18341         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
18342         (PTHREAD_RWLOCK_INITIALIZER,
18343         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
18344         Handle new elision field.
18345         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
18346         * sysdeps/arm/nptl/bits/pthreadtypes.h
18347         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18348         * sysdeps/sh/nptl/bits/pthreadtypes.h
18349         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18350         * sysdeps/tile/nptl/bits/pthreadtypes.h
18351         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18352         * sysdeps/a/nptl/bits/pthreadtypes.h
18353         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18354         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18355         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18356         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18357         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18358         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
18359         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18360         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18361         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18362         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18363         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18364         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18365         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18366         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18367         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18368         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
18369         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18370         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
18371         (elision_init): Set try_xbegin to zero when no RTM.
18372         * sysdeps/x86/nptl/bits/pthreadtypes.h
18373         (pthread_rwlock_t): Change __pad1 to __rwelision.
18374         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18376 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18378         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
18379         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
18380         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
18381         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
18383 2014-06-13  Meador Inge  <meadori@codesourcery.com>
18385         [BZ #16996]
18386         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
18387         that the cached result has been set before returning it.
18389 2014-06-12  Roland McGrath  <roland@hack.frob.com>
18391         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
18392         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
18393         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
18394         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
18395         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
18396         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
18398         * nptl/sysdeps/sparc/Makefile: Moved ...
18399         * sysdeps/sparc/nptl/Makefile: ... here.
18400         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
18401         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
18402         * nptl/sysdeps/sparc/tls.h: Moved ...
18403         * sysdeps/sparc/nptl/tls.h: ... here.
18404         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
18405         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
18406         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
18407         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
18408         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
18409         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
18410         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
18411         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
18412         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
18413         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
18414         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
18415         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
18416         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
18417         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
18418         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
18419         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
18420         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
18421         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
18422         Update #include.
18423         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
18424         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
18425         Update #include.
18426         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
18427         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
18428         Update #include.
18429         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
18430         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
18431         Update #include.
18433         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18435         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
18436         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
18438         * sysdeps/pthread/posix-timer.h: Include <list.h>.
18439         (struct list_links): Type removed.
18440         (struct thread_node, struct timer_node): Replace struct list_links
18441         with struct list_head.
18442         (list_unlink_ip): Likewise.
18443         * sysdeps/pthread/timer_routines.c
18444         (timer_free_list, thread_free_list, thread_active_list): Likewise.
18445         (list_append, list_insbefore): Likewise.
18446         (list_init): Function removed.
18447         (thread_init, init_module): Use INIT_LIST_HEAD instead.
18448         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
18449         * sysdeps/pthread/Makefile: ... here, new file.
18451         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
18452         * sysdeps/nptl/Implies: ... here.
18453         * sysdeps/unix/sysv/linux/Implies: Add nptl.
18454         * nptl/sysdeps/pthread/list.h: Moved ...
18455         * include/list.h: ... here.
18456         * nptl/sysdeps/pthread/createthread.c: Moved ...
18457         * nptl/createthread.c: ... here.
18458         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
18459         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
18460         * nptl/pt-longjmp.c: ... here.
18461         * nptl/sysdeps/pthread/Makefile: Moved ...
18462         * sysdeps/nptl/Makefile: ... here.
18463         * nptl/sysdeps/pthread/Subdirs: Moved ...
18464         * sysdeps/nptl/Subdirs: ... here.
18465         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
18466         * sysdeps/nptl/aio_misc.h: ... here.
18467         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
18468         * sysdeps/nptl/bits/libc-lock.h: ... here.
18469         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
18470         * sysdeps/nptl/bits/libc-lockP.h: ... here.
18471         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
18472         * sysdeps/nptl/bits/stdio-lock.h: ... here.
18473         * nptl/sysdeps/pthread/configure: Moved ...
18474         * sysdeps/nptl/configure: ... here.
18475         * nptl/sysdeps/pthread/configure.ac: Moved ...
18476         * sysdeps/nptl/configure.ac: ... here.
18477         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
18478         * sysdeps/nptl/gai_misc.h: ... here.
18479         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
18480         * sysdeps/nptl/librt-cancellation.c: ... here.
18481         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
18482         * sysdeps/nptl/malloc-machine.h: ... here.
18483         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
18484         * sysdeps/nptl/pthread-functions.h: ... here.
18485         * nptl/sysdeps/pthread/pthread.h: Moved ...
18486         * sysdeps/nptl/pthread.h: ... here.
18487         * nptl/sysdeps/pthread/setxid.h: Moved ...
18488         * sysdeps/nptl/setxid.h: ... here.
18489         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
18490         * sysdeps/nptl/sigfillset.c: ... here.
18491         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
18492         * sysdeps/nptl/tcb-offsets.h: ... here.
18493         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
18494         * sysdeps/nptl/tst-mqueue8x.c: ... here.
18495         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
18496         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
18497         * nptl/sysdeps/pthread/allocalim.h: Moved ...
18498         * sysdeps/pthread/allocalim.h: ... here.
18499         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
18500         * sysdeps/pthread/bits/sigthread.h: ... here.
18501         * nptl/sysdeps/pthread/flockfile.c: Moved ...
18502         * sysdeps/pthread/flockfile.c: ... here.
18503         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
18504         * sysdeps/pthread/ftrylockfile.c: ... here.
18505         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
18506         * sysdeps/pthread/funlockfile.c: ... here.
18507         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
18508         * sysdeps/pthread/posix-timer.h: ... here.
18509         * nptl/sysdeps/pthread/timer_create.c: Moved ...
18510         * sysdeps/pthread/timer_create.c: ... here.
18511         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
18512         * sysdeps/pthread/timer_delete.c: ... here.
18513         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
18514         * sysdeps/pthread/timer_getoverr.c: ... here.
18515         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
18516         * sysdeps/pthread/timer_gettime.c: ... here.
18517         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
18518         * sysdeps/pthread/timer_routines.c: ... here.
18519         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
18520         * sysdeps/pthread/timer_settime.c: ... here.
18521         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
18522         * sysdeps/pthread/tst-timer.c: ... here.
18523         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
18524         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
18526         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
18527         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
18529         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
18530         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
18531         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
18532         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
18533         Update #include target.
18534         * nptl/sysdeps/i386/i686/Makefile: Moved ...
18535         * sysdeps/i386/i686/nptl/Makefile: ... here.
18536         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
18537         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
18538         Update #include target.
18539         * nptl/sysdeps/i386/i686/tls.h: Moved ...
18540         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
18541         * nptl/sysdeps/i386/Makefile: Moved ...
18542         * sysdeps/i386/nptl/Makefile: ... here.
18543         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
18544         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
18545         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
18546         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
18547         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
18548         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
18549         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
18550         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
18551         * sysdeps/i386/nptl/pthreaddef.h: ... here.
18552         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
18553         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
18554         * nptl/sysdeps/i386/tls.h: Moved ...
18555         * sysdeps/i386/nptl/tls.h: ... here.
18557         * sysdeps/sh/Makefile [$(subdir) = csu]
18558         (gen-as-const-headers): Add tcb-offsets.sym.
18559         * nptl/sysdeps/sh/Makefile: File removed.
18560         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
18561         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
18562         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
18563         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
18564         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
18565         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
18566         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
18567         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
18568         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
18569         * sysdeps/sh/nptl/pthreaddef.h: ... here.
18570         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
18571         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
18572         * nptl/sysdeps/sh/tls.h: Moved ...
18573         * sysdeps/sh/nptl/tls.h: ... here.
18574         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
18575         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
18576         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
18577         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
18578         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
18579         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
18580         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
18581         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
18582         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
18583         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
18584         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
18585         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
18586         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
18587         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
18588         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
18589         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
18590         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
18591         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
18592         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
18593         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
18594         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
18595         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
18596         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
18597         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
18598         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
18599         Moved ...
18600         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
18601         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
18602         Moved ...
18603         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
18604         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
18605         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
18606         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
18607         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
18608         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
18609         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
18610         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
18611         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
18612         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
18613         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
18614         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
18615         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
18616         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
18617         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
18618         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
18619         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
18620         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
18621         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
18623 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18625         * posix/spawn_faction_addopen.c: Include string.h.
18627 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18629         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
18630         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
18631         * nptl/sysdeps/x86_64/Makefile: Moved ...
18632         * sysdeps/x86_64/nptl/Makefile: ... here.
18633         * nptl/sysdeps/x86_64/configure: Moved ...
18634         * sysdeps/x86_64/nptl/configure: ... here.
18635         * nptl/sysdeps/x86_64/configure.ac: Moved ...
18636         * sysdeps/x86_64/nptl/configure.ac: ... here.
18637         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
18638         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
18639         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
18640         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
18641         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
18642         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
18643         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
18644         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
18645         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
18646         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
18647         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
18648         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
18649         * nptl/sysdeps/x86_64/tls.h: Moved ...
18650         * sysdeps/x86_64/nptl/tls.h: ... here.
18651         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
18652         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
18653         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
18654         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
18656         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
18658 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18662 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
18664         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
18665         type.
18666         [POSIX] (off_t): Likewise.
18667         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
18668         [POSIX] (S_ISBLK): Require macro.
18669         [POSIX] (S_ISCHR): Likewise.
18670         [POSIX] (S_ISDIR): Likewise.
18671         [POSIX] (S_ISFIFO): Likewise.
18672         [POSIX] (S_ISREG): Likewise.
18673         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18674         optional-macro.
18675         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18676         type.
18677         [POSIX] (time_t): Likewise.
18678         [POSIX] (timer_t): Likewise.
18680 2014-06-11  Florian Weimer  <fweimer@redhat.com>
18682         [BZ #17048]
18683         * posix/spawn_int.h (struct __spawn_action): Make the path string
18684         non-const to support deallocation.
18685         * posix/spawn_faction_addopen.c
18686         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18687         * posix/spawn_faction_destroy.c
18688         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
18689         path in all spawn_do_open actions.
18690         * posix/tst-spawn.c (do_test): Exercise the copy operation in
18691         posix_spawn_file_actions_addopen.
18693 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
18695         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18696         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18697         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18698         conditional code always true.
18699         (__libc_vfork): New alias.
18701 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18703         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18704         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18706         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18708         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18709         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18711         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18712         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18714         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18715         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18717 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18719         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18720         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18721         multiarch strcmp for PPC64.
18722         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18723         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18724         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18725         multiarch optimizations.
18726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18727         (__libc_ifunc_impl_list): Likewise.
18729 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18731         * benchtests/scripts/validate_benchout.py: New script.
18732         * benchtests/Makefile (bench-func): Call it.
18733         * benchtests/scripts/benchout.schema.json: New file.
18735 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18737         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18738         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18739         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18740         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18741         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18742         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18743         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18744         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18745         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18746         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18747         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18748         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18749         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18750         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18751         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18752         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18754         Moved ...
18755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18756         ... here.
18757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18758         Moved ...
18759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18761         Moved ...
18762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18763         ... here.
18764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18765         Moved ...
18766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18767         ... here.
18768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18769         Moved ...
18770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18772         Moved ...
18773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18774         ... here.
18775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18776         Moved ...
18777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18778         ... here.
18779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18780         Moved ...
18781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18783         Moved ...
18784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18785         ... here.
18786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18787         Moved ...
18788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18789         ... here.
18790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18791         Moved ...
18792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18793         ... here.
18794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18795         Moved ...
18796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18798         Moved ...
18799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18800         ... here.
18801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18802         Moved ...
18803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18804         ... here.
18805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18806         Moved ...
18807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18808         ... here.
18809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18810         Moved ...
18811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18813         Moved ...
18814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18815         ... here.
18816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18817         Moved ...
18818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18819         ... here.
18820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18821         Moved ...
18822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18824         Moved ...
18825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18826         ... here.
18827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18828         Moved ...
18829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18831         Moved ...
18832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18834         Moved ...
18835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18836         ... here.
18837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18838         Moved ...
18839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18840         ... here.
18841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18842         Moved ...
18843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18844         ... here.
18845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18846         Moved ...
18847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18849         Moved ...
18850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18851         ... here.
18852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18853         Moved ...
18854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18855         ... here.
18856         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18857         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18858         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18859         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18860         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18861         Moved ...
18862         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18863         ... here.
18864         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18865         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18866         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18867         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18868         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18869         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18870         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18871         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18872         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18873         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18874         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18875         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18876         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18877         Moved ...
18878         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18879         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18880         Moved ...
18881         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18882         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18883         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18884         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18885         Moved ...
18886         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18887         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18888         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18889         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18890         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18891         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18892         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18894 2014-06-10  Wilco  <wdijkstr@arm.com>
18896         * math/test-fenv-return.c: New file.
18897         * math/Makefile: Add new test test-fenv-return.
18899 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18901         [BZ #17042]
18902         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18903         when x - 1 is zero.
18904         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18905         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18906         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18907         0.0L for an argument of 1.0L.
18908         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18909         Likewise.
18910         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18911         value when x - 1 is zero.
18912         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18913         * sysdeps/i386/fpu/libm-test-ulps: Update.
18914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18916 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18918         [BZ #15119]
18919         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18921 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18923         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18924         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18926 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18928         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18929         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18931         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18932         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18934         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18935         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18937         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18938         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18940         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18941         if not already defined.
18942         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18943         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18944         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18945         (TLS_INIT_TP): Use it.
18946         (TLS_DEFINE_INIT_TP): New macro.
18947         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18949 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18951         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18952         constant.
18953         [POSIX] (IXANY): Likewise.
18954         [POSIX] (OLCUC): Likewise.
18955         [POSIX || POSIX2008] (CBAUD): Do not allow.
18956         [POSIX || POSIX2008] (DEFECHO): Likewise.
18957         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18958         [POSIX || POSIX2008] (ECHOKE): Likewise.
18959         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18960         [POSIX || POSIX2008] (EXTA): Likewise.
18961         [POSIX || POSIX2008] (EXTB): Likewise.
18962         [POSIX || POSIX2008] (FLUSHO): Likewise.
18963         [POSIX || POSIX2008] (LOBLK): Likewise.
18964         [POSIX || POSIX2008] (PENDIN): Likewise.
18965         [POSIX || POSIX2008] (SWTCH): Likewise.
18966         [POSIX || POSIX2008] (VDISCARD): Likewise.
18967         [POSIX || POSIX2008] (VDSUSP): Likewise.
18968         [POSIX || POSIX2008] (VLNEXT): Likewise.
18969         [POSIX || POSIX2008] (VREPRINT): Likewise.
18970         [POSIX || POSIX2008] (VSTATUS): Likewise.
18971         [POSIX || POSIX2008] (VWERASE): Likewise.
18972         (B*): Change to B[0123456789]*.
18973         * conform/data/time.h-data [POSIX || UNIX98]
18974         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18975         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18976         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18977         [POSIX] (tm_*): Do not allow.
18979 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18981         * Makefile (install): Don't set LANGUAGE.
18982         * Makefile.in (install): Likewise.
18983         * assert/Makefile (test-assert-ENV): Remove variable.
18984         (test-assert-perr-ENV): Likewise.
18985         * elf/Makefile (neededtest4-ENV): Likewise.
18986         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18987         [$(cross-compiling) = no]: Don't set LANGUAGE.
18988         * io/ftwtest-sh (LANG): Remove variable.
18989         * libio/Makefile (tst-widetext-ENV): Likewise.
18990         * manual/install.texi (Running make install): Don't refer to
18991         environment settings for make install.
18992         * INSTALL: Regenerated.
18993         * nptl/tst-tls6.sh: Don't set LANG.
18994         * posix/globtest.sh (LANG): Remove variable.
18995         * string/Makefile (tester-ENV): Likewise.
18996         (inl-tester-ENV): Likewise.
18997         (noinl-tester-ENV): Likewise.
18998         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18999         [$(cross-compiling) = no]: Don't set LANGUAGE.
19000         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
19001         without explicit environment settings.
19003 2014-06-06  Roland McGrath  <roland@hack.frob.com>
19005         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
19006         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
19007         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
19008         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
19010 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
19012         * crypt/crypt-private.h [DOS]: Add some includes taken from the
19013         other files in the crypt directory.
19014         * crypt/crypt.c: Remove duplicate includes.
19015         * crypt/crypt-entry.c: Likewise.
19016         * crypt/crypt_util.c: Likewise.
19018 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
19020         * Makeconfig (run-program-env): New variable.
19021         (run-program-prefix-before-env): Likewise.
19022         (run-program-prefix-after-env): Likewise.
19023         (run-program-prefix): Define in terms of new variables.
19024         (built-program-cmd-before-env): New variable.
19025         (built-program-cmd-after-env): Likewise.
19026         (built-program-cmd): Define in terms of new variables.
19027         (test-program-prefix-before-env): New variable.
19028         (test-program-prefix-after-env): Likewise.
19029         (test-program-prefix): Define in terms of new variables.
19030         (test-program-cmd-before-env): New variable.
19031         (test-program-cmd-after-env): Likewise.
19032         (test-program-cmd): Define in terms of new variables.
19033         * Rules (make-test-out): Use $(run-program-env).
19034         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
19035         (help): Do not mention environment variables.  Mention
19036         --timeoutfactor option.
19037         (timeoutfactor): New variable.
19038         (blacklist_exports): Remove function.
19039         (exports): Remove variable.
19040         (command): Do not include ${exports}.
19041         * manual/install.texi (Configuring and compiling): Do not mention
19042         test wrappers preserving environment variables.  Mention that last
19043         assignment to a variable must take precedence.
19044         * INSTALL: Regenerated.
19045         * benchtests/Makefile (run-bench): Use $(run-program-env).
19046         * catgets/Makefile ($(objpfx)test1.cat): Use
19047         $(built-program-cmd-before-env), $(run-program-env) and
19048         $(built-program-cmd-after-env).
19049         ($(objpfx)test2.cat): Do not specify environment variables
19050         explicitly.
19051         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
19052         $(run-program-env) and $(built-program-cmd-after-env).
19053         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
19054         $(run-program-env) and $(test-program-cmd-after-env).
19055         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
19056         explicitly.
19057         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
19058         run_program_env and test_program_cmd_after_env arguments.
19059         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
19060         * elf/tst-pathopt.sh: Use run_program_env argument.
19061         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
19062         $(test-wrapper-env) and $(run-program-env).
19063         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
19064         run_program_env arguments.
19065         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
19066         * intl/Makefile ($(objpfx)tst-gettext.out): Use
19067         $(test-program-prefix-before-env), $(run-program-env) and
19068         $(test-program-prefix-after-env).
19069         ($(objpfx)tst-gettext2.out): Likewise.
19070         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
19071         run_program_env and test_program_prefix_after_env arguments.
19072         * intl/tst-gettext2.sh: Likewise.
19073         * intl/tst-gettext4.sh: Do not set environment variables
19074         explicitly.
19075         * intl/tst-gettext6.sh: Likewise.
19076         * intl/tst-translit.sh: Likewise.
19077         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
19078         $(test-program-prefix-before-env), $(run-program-env) and
19079         $(test-program-prefix-after-env).
19080         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
19081         run_program_env and test_program_prefix_after_env arguments.
19082         * math/Makefile (run-regen-ulps): Use $(run-program-env).
19083         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
19084         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
19085         explicitly with each use of ${test_wrapper_env}.
19086         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
19087         $(test-program-prefix-before-env), $(run-program-env) and
19088         $(test-program-prefix-after-env).
19089         * posix/tst-getconf.sh: Do not set environment variables
19090         explicitly.
19091         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
19092         run_program_env and test_program_prefix_after_env arguments.
19093         * stdio-common/tst-printf.sh: Do not set environment variables
19094         explicitly.
19095         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
19096         $(test-program-prefix-before-env), $(run-program-env) and
19097         $(test-program-prefix-after-env).
19098         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
19099         run_program_env and test_program_prefix_after_env arguments.
19100         Split $test calls into $test_pre and $test.
19101         * timezone/Makefile (build-testdata): Use
19102         $(built-program-cmd-before-env), $(run-program-env) and
19103         $(built-program-cmd-after-env).
19105 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19107         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
19108         strlen for non SHARED builds.
19110 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19112         * nptl/allocatestack.c (check_list): Inlined function...
19113         (__reclaim_stacks): ... here.
19115 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19117         [BZ #15698]
19118         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19119         memory overrun.
19121 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
19123         * Rules (make-test-out): Include
19124         LOCPATH=$(common-objpfx)localedata in default environment.
19125         * debug/Makefile (tst-chk1-ENV): Remove variable.
19126         (tst-chk2-ENV): Likewise.
19127         (tst-chk3-ENV): Likewise.
19128         (tst-chk4-ENV): Likewise.
19129         (tst-chk5-ENV): Likewise.
19130         (tst-chk6-ENV): Likewise.
19131         (tst-lfschk1-ENV): Likewise.
19132         (tst-lfschk2-ENV): Likewise.
19133         (tst-lfschk3-ENV): Likewise.
19134         (tst-lfschk4-ENV): Likewise.
19135         (tst-lfschk5-ENV): Likewise.
19136         (tst-lfschk6-ENV): Likewise.
19137         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
19138         (tst-iconv7-ENV): Likewise.
19139         * intl/Makefile (LOCPATH-ENV): Likewise.
19140         (tst-codeset-ENV): Likewise.
19141         (tst-gettext3-ENV): Likewise.
19142         (tst-gettext5-ENV): Likewise.
19143         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
19144         (tst-fopenloc-ENV): Likewise.
19145         (tst-fgetws-ENV): Remove variable.
19146         (tst-ungetwc1-ENV): Likewise.
19147         (tst-ungetwc2-ENV): Likewise.
19148         (bug-ungetwc2-ENV): Likewise.
19149         (tst-swscanf-ENV): Likewise.
19150         (bug-ftell-ENV): Likewise.
19151         (tst-fgetwc-ENV): Likewise.
19152         (tst-fseek-ENV): Likewise.
19153         (tst-ftell-partial-wide-ENV): Likewise.
19154         (tst-ftell-active-handler-ENV): Likewise.
19155         (tst-ftell-append-ENV): Likewise.
19156         * posix/Makefile (tst-fnmatch-ENV): Likewise.
19157         (tst-regexloc-ENV): Likewise.
19158         (bug-regex1-ENV): Likewise.
19159         (tst-regex-ENV): Likewise.
19160         (tst-regex2-ENV): Likewise.
19161         (bug-regex5-ENV): Likewise.
19162         (bug-regex6-ENV): Likewise.
19163         (bug-regex17-ENV): Likewise.
19164         (bug-regex18-ENV): Likewise.
19165         (bug-regex19-ENV): Likewise.
19166         (bug-regex20-ENV): Likewise.
19167         (bug-regex22-ENV): Likewise.
19168         (bug-regex23-ENV): Likewise.
19169         (bug-regex25-ENV): Likewise.
19170         (bug-regex26-ENV): Likewise.
19171         (bug-regex30-ENV): Likewise.
19172         (bug-regex32-ENV): Likewise.
19173         (bug-regex33-ENV): Likewise.
19174         (bug-regex34-ENV): Likewise.
19175         (bug-regex35-ENV): Likewise.
19176         (tst-rxspencer-ENV): Likewise.
19177         (tst-rxspencer-no-utf8-ENV): Likewise.
19178         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
19179         (tst-sscanf-ENV): Likewise.
19180         (tst-swprintf-ENV): Likewise.
19181         (tst-swscanf-ENV): Likewise.
19182         (test-vfprintf-ENV): Likewise.
19183         (scanf13-ENV): Likewise.
19184         (bug14-ENV): Likewise.
19185         (tst-grouping-ENV): Likewise.
19186         * stdlib/Makefile (tst-strtod-ENV): Likewise.
19187         (tst-strtod3-ENV): Likewise.
19188         (tst-strtod4-ENV): Likewise.
19189         (tst-strtod5-ENV): Likewise.
19190         (testmb2-ENV): Likewise./
19191         * string/Makefile (tst-strxfrm-ENV): Likewise.
19192         (tst-strxfrm2-ENV): Likewise.
19193         (bug-strcoll1-ENV): Likewise.
19194         (test-strcasecmp-ENV): Likewise.
19195         (test-strncasecmp-ENV): Likewise.
19196         * time/Makefile (tst-strptime-ENV): Likewise.
19197         (tst-ftime_l-ENV): Likewise.
19198         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
19199         (tst-mbrtowc-ENV): Likewise.
19200         (tst-wcrtomb-ENV): Likewise.
19201         (tst-mbrtowc2-ENV): Likewise.
19202         (tst-c16c32-1-ENV): Likewise.
19203         (tst-mbsnrtowcs-ENV): Likewise.
19205 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19207         * manual/resource.texi (How to get information about the memory
19208         subsystem?): Fix typo.
19209         Reported by Peon de la Parra Ivan <peon@keba.com>
19211 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
19213         [BZ #16882]
19214         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
19215         (pthread_spin_lock): Branch out of spin loop to proper location.
19216         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
19217         (pthread_spin_lock): Likewise.
19219         * nptl/tst-spin4.c: New test.
19220         * nptl/Makefile (tests): Add tst-spin4.
19222 2014-06-03  Andreas Schwab  <schwab@suse.de>
19224         [BZ #15946]
19225         * resolv/res_send.c (send_dg): Reload file descriptor after
19226         calling reopen.
19228 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
19230         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19232 2014-06-03  Richard Henderson  <rth@redhat.com>
19234         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
19235         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
19236         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
19237         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
19238         in the SAVE_PID block.
19239         (__libc_vfork): New alias.
19240         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
19242         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
19243         child in registers, not on the stack.  Remove RESET_PID conditionals.
19244         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
19246 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19248         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19250 2014-06-03  Wilco  <wdijkstr@arm.com>
19252         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
19253         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
19254         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19255         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
19256         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
19257         Likewise.
19259 2014-06-03  Wilco  <wdijkstr@arm.com>
19261         * sysdeps/aarch64/fpu/math_private.h
19262         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
19263         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
19264         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
19265         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19266         Fix declarations.
19268 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19270         * crypt/crypt-private.h: Include ufc-crypt.h.
19271         (__b64_from_24bit): Declare extern.
19272         * crypt/crypt_util.c(__b64_from_24bit): New function.
19273         (b64t): New static const variable.
19274         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
19275         (b64t): Remove variable.
19276         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
19277         * crypt/sha256-crypt.c: Include crypt-private.h.
19278         (b64t): Remove variable.
19279         (__sha256_crypt_r): Remove b64_from_24bit and replace
19280         with __b64_from_24bit.
19281         * crypt/sha512-crypt.c: Likewise.
19283 2014-06-02  Roland McGrath  <roland@hack.frob.com>
19285         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
19286         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
19287         Label the code __libc_vfork rather than __vfork.
19288         [!NOT_IN_libc] (vfork): Define as weak alias.
19289         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
19290         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
19291         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
19293 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19295         * malloc/malloc.c (malloc_info): Fix format specifier for
19296         n_mmaps.
19298 2014-06-02  Wilco  <wdijkstr@arm.com>
19300         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
19301         FPCR write.
19303 2014-06-02  Wilco  <wdijkstr@arm.com>
19305         [BZ #17009]
19306         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
19307         Rewrite to reduce FPCR/FPSR accesses.
19309 2014-06-01  David S. Miller  <davem@davemloft.net>
19311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19313 2014-05-31  David S. Miller  <davem@davemloft.net>
19315         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
19316         to occur in round to nearest mode when |x| >= 2.0
19318 2014-05-30  Richard Henderson  <rth@twiddle.net>
19320         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
19321         (PSEUDO_RET_NOERRNO): Remove.
19322         (ret): Don't redefine.
19323         (ret_NOERRNO): Define in terms of ret.
19324         (ret_ERRVAL): Likewise.
19326         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
19327         use of PSEUDO_RET; perform the error check directly.
19329 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
19331         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
19332         with __int128_t.
19334 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19336         * malloc/malloc (malloc_info): Fix formatting.
19338 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19339             Roland McGrath  <roland@hack.frob.com>
19341         * malloc/malloc (malloc_info): Also print mmapped statistics.
19343 2014-05-30  Roland McGrath  <roland@hack.frob.com>
19345         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
19346         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
19348 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
19350         * malloc/malloc.c (malloc_info): Inline mi_arena.
19352 2014-05-29  Richard Henderson  <rth@twiddle.net>
19354         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
19355         Remove comma before expanding ASM_ARGS_##nr.
19356         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
19357         Make _x0 a strict output; make _x8 a strict input; adjust expansion
19358         of ASM_ARGS_##nr.
19359         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
19360         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
19361         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
19362         (ASM_ARGS_1): Add leading comma.
19364         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
19365         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
19366         to __errno_location.
19367         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
19368         Remove the expected plt for __errno_location.
19370         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19371         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
19372         call to __read_tp.
19374         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19375         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
19376         it and break it down.
19377         (DOCARGS_0, DOCARGS_1): Do nothing.
19378         (DOCARGS_2): Update to store into the new stack frame.
19379         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
19380         (UNDOCARGS_1): Update to restore from the new stack frame.
19381         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
19382         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
19384         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19385         (SINGLE_THREAD_P): New parameter for result regno.
19386         (PSEUDO): Update to match; use cbz instead of beq.
19388         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19389         Use ENTRY to define the _nocancel entry point.  Share the syscall
19390         and syscall error check paths with the cancel path.
19391         (PSEUDO_END): New.
19393         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
19394         whitespace; tabs before and after asm mnemonics.
19396 2014-05-29  Eric Wong  <normalperson@yhbt.net>
19398         [BZ #15132]
19399         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19400         Call fstat64 or stat64 internally, depending on arguments passed.
19401         Replace stat buffer argument with file descriptor argument.
19402         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
19403         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19404         Pass fd to __internal_statvfs instead of calling fstat64.
19405         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
19406         Pass fd to __internal_statvfs64 instead of calling fstat64.
19407         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
19408         Pass -1 to __internal_statvfs instead of calling stat64.
19409         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
19410         Pass -1 to __internal_statvfs64 instead of calling stat64.
19412 2014-05-28  Roland McGrath  <roland@hack.frob.com>
19414         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
19415         that was previously under [RESET_PID].
19416         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
19418         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
19419         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
19421 2014-05-27  Roland McGrath  <roland@hack.frob.com>
19423         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
19425         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
19426         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
19428 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
19430         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
19432 2014-05-27  Andreas Schwab  <schwab@suse.de>
19434         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
19435         TLS_INIT_TP macro.
19436         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
19437         * elf/rtld.c (init_tls, dl_main): Likewise.
19438         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
19439         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
19440         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
19441         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
19442         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
19443         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
19444         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
19445         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
19446         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
19447         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
19448         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
19449         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
19450         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
19451         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
19452         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
19453         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
19454         * sysdeps/generic/tls.h: Update description.
19456 2014-05-27  Will Newton  <will.newton@linaro.org>
19458         [BZ #16990]
19459         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
19460         and restore r2 rather than just restoring.
19462 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19464         [BZ #16724]
19465         * libio/tst-ftell-append.c: New test case.
19466         * libio/Makefile (tests): Add test case.
19467         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
19468         append mode.
19469         * libio/wfileops.c (do_ftell_wide): Likewise.
19471 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19475         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
19476         ...
19477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
19478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19479         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
19480         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
19481         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
19482         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
19483         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
19484         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
19485         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19486         Moved ...
19487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
19488         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19489         Moved ...
19490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
19491         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
19492         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
19493         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
19494         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
19495         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
19496         ...
19497         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
19498         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
19499         Moved ...
19500         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
19501         here.
19502         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
19503         ...
19504         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
19505         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
19506         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
19508         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
19509         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
19510         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
19511         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
19513         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
19514         merge into ...
19515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
19516         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
19517         ...
19518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
19519         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
19520         ...
19521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
19522         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19523         Moved ...
19524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
19525         here.
19526         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19527         Moved ...
19528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
19529         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19530         Moved ...
19531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
19533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
19534         conditional [RESET_PID].
19535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
19536         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
19537         removed.
19538         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
19539         removed.
19541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
19542         <tcb-offsets.h>.
19543         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19544         (__libc_vfork): New strong alias.
19545         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
19546         removed.
19547         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
19548         Removed.
19550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
19551         <tcb-offsets.h>.
19552         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
19553         (__libc_vfork): New strong alias.
19554         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
19555         removed.
19556         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
19557         removed.
19559 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
19561         * malloc/malloc.c (mi_arena): New function.
19562         (malloc_info): Remove nested function mi_arena. Call non-nosted
19563         function mi_arena.
19565 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19567         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
19568         by insrwi.
19569         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
19570         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
19571         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
19572         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
19573         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
19574         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
19575         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
19577 2014-05-26  Andreas Schwab  <schwab@suse.de>
19579         [BZ #16984]
19580         * locale/programs/repertoire.c (repertoire_read): Add slash
19581         between I18NPATH element and file name.
19582         * locale/programs/locfile.c (locfile_read): Likewise.
19584 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19586         * nptl/pthread_mutexattr_settype.c
19587         (__pthread_mutexattr_settype):
19588         Disable lock elision for PTHREAD_MUTEX_NORMAL.
19590 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19592         * nptl/tst-mutex5 (do_test):
19593         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
19595 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19597         * benchtests/README: Document 'init' directive.
19598         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
19599         BENCH_INIT.
19600         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
19601         (parse_file): Recognize 'init' directive.
19603 2014-05-26  Kyle McMartin  <kyle@redhat.com>
19605         [BZ #16796]
19606         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
19607         alignment of struct pthread.
19609 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19611         [BZ #16878]
19612         * nscd/netgroupcache.c (addgetnetgrentX): Look for
19613         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19614         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
19615         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19617 2014-05-25  Richard Henderson  <rth@twiddle.net>
19619         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19620         (SINGLE_THREAD_P_PIC): Remove.
19621         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
19622         (SINGLE_THREAD_P_PIC): Remove.
19624         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
19625         branch to syscall error ...
19626         (PSEUDO): ... here.
19627         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
19628         from __local_syscall_error to .Lsyscall_error.
19629         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
19630         (SYSCALL_ERROR): Update label name.
19632         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19633         Do not use DOARGS/UNDOARGS.
19634         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
19635         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
19636         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
19637         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
19638         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
19640         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
19641         block comment.
19643         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
19644         define if !NOT_IN_libc.
19645         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
19646         define with non-default symbol versions.
19648 2014-05-23  Richard Henderson  <rth@twiddle.net>
19650         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
19651         (vfork, __vfork): Define via compat_symbol.
19653         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
19654         [!HAVE_IFUNC] (vfork_compat): Remove.
19655         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19657 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19659         [BZ #16978]
19660         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
19661         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
19662         variable.
19664 2014-05-23  Richard Henderson  <rth@twiddle.net>
19666         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
19667         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
19668         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19669         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19671         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19672         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19673         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19674         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19675         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19676         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19677         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19678         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19679         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19680         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19681         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19682         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19683         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19684         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19685         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19686         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19687         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19688         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19689         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19690         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19691         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19692         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19693         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19694         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19695         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19696         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19697         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19698         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19699         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19700         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19701         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19702         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19703         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19704         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19705         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19706         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19707         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19708         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19709         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19710         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19711         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19712         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19713         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19714         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19715         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19716         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19717         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19718         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19719         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19720         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19721         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19722         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19723         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19724         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19725         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19726         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19728         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19729         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19730         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19731         before exiting on error.
19732         (__libc_vfork): New strong alias.
19733         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19734         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19736         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19737         that was previously under [RESET_PID].
19738         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19740         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19742 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19744         [BZ #16977]
19745         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19746         value when x - 1 is zero.
19747         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19748         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19749         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19750         0.0L for an argument of 1.0L.
19751         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19752         Likewise.
19753         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19754         value when x - 1 is zero.
19755         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19756         * sysdeps/i386/fpu/libm-test-ulps: Update.
19757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19759 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19761         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19762         alphasort and versionsort.
19764 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19766         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19767         macro.
19768         [copysignf]: Likewise.
19770 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19772         * crypt/md5-crypt.c: Fix formatting.
19774 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19776         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19777         (b64_from_24bit): New function.
19779 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19781         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19782         libc_hidden_builtin_def to ifunc.
19783         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19784         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19786 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19788         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19789         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19791 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19793         * nscd/Depend (linuxthreads): Remove.
19794         (nptl): Add.
19795         * resolv/Depend (linuxthreads): Remove.
19796         * rt/Depend (linuxthreads): Remove.
19798         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19799         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19800         $(common-objpfx)elf/.
19801         (link-libc-before-gnulib): Likewise.
19802         (elfobjdir): Remove variable.
19803         * Makefile (install): Use $(elf-objpfx) instead of
19804         $(common-objpfx)elf/.
19805         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19806         $(elfobjdir)/.
19807         (link-libc-deps): Likewise.
19808         ($(common-objpfx)libc.so): Likewise.
19809         ($(common-objpfx)linkobj/libc.so): Likewise.
19810         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19811         instead of $(common-objpfx)elf/.
19812         (symbolic-link-list): Likewise.
19813         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19814         [$(cross-compiling) = no]: Likewise.
19815         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19816         $(elfobjdir)/.
19817         (static-gnulib-arch): Likewise.
19818         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19819         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19820         $(common-objpfx)elf/.
19822 2014-05-21  Richard Henderson  <rth@redhat.com>
19824         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19825         (SINGLE_THREAD_P): Use the correct width load.  Fold
19826         into the ldr offset.
19828         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19829         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19831 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19833         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19834         (libgcc_s_resume): Use __attribute_used__.
19835         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19836         Likewise.
19838 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19840         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19841         optimization when used with float constants.
19843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19845 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19847         [BZ #16915]
19848         * locale/nl_langinfo_l.c: Make direct reference to every
19849         _nl_current_CATEGORY symbol.
19850         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19851         (tests-static): Add tst-langinfo-static.
19852         (tests-special): Add tst-langinfo-static.out.
19853         ($(objpfx)tst-langinfo.out): Redirect output.
19854         ($(objpfx)tst-langinfo-static.out): New.
19855         * localedata/tst-langinfo.sh: Send output to stdout.
19856         * localedata/tst-langinfo-static.c: New file.
19858         [BZ #16965]
19859         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19860         when the shift amount is modulo the limb size.
19862 2014-05-20  Richard Henderson  <rth@redhat.com>
19864         [BZ #16967]
19865         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19866         Change type of sa_flags from unsigned int to int.
19868         [BZ #16966]
19869         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19871         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19873 2014-05-20  Will Newton  <will.newton@linaro.org>
19875         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19876         Test the return value of the system call in the nocancel case.
19878 2014-05-20  Will Newton  <will.newton@linaro.org>
19879             Yvan Roux  <yvan.roux@linaro.org>
19881         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19882         #include of asm/ptrace.h.
19883         (PTRACE_GET_THREAD_AREA): Remove #undef.
19884         (PTRACE_GETHBPREGS): Likewise.
19885         (PTRACE_SETHBPREGS): Likewise.
19886         (struct user_regs_struct): New structure.
19887         (struct user_fpsimd_struct): New structure.
19888         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19889         #include of asm/ptrace.h and second #include of sys/user.h.
19890         (PTRACE_GET_THREAD_AREA): Remove #undef.
19891         (PTRACE_GETHBPREGS): Likewise.
19892         (PTRACE_SETHBPREGS): Likewise.
19893         (ELF_NGREG): Use new struct user_regs_struct.
19894         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19896 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19898         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19899         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19901 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19903         [BZ #16958]
19904         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19905         membar to avoid block loads/stores to overlap previous stores.
19907 2014-05-17  Richard Henderson  <rth@redhat.com>
19909         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19910         Create the __##syscall_name##_nocancel entry point.
19911         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19912         Remove; let the sysdep-cancel.h code create it.
19914 2014-05-17  David S. Miller  <davem@davemloft.net>
19916         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19917         Protect with __USE_GNU.
19918         (TIOCSET_TEMPT): Likewise.
19919         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19920         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19921         these are already provided in bits/ioctl-types.h
19923 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19925         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19926         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19928         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19929         Use wait4 regardless of [__NR_waitpid].
19931 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19933         PR libgcc/60166
19934         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19935         (_FP_NANSIGN_Q): Set the quiet bit.
19937 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19939         * benchtests/Makefile
19940         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19941         not $(common-objpfx)math/libm.so.
19942         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19943         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19944         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19945         $(common-objpfx)dlfcn/libdl.so.
19946         ($(objpfx)tst-audit8): Depend on $(libm), not
19947         $(common-objpfx)math/libm.so.
19948         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19949         not $(common-objpfx)dlfcn/libdl.so.
19950         * math/Makefile
19951         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19952         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19953         [$(build-shared) = yes].
19954         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19955         $(common-objpfx)nptl/libpthread.so.
19956         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19957         $(common-objpfx)math/libm.so$(libm.so-version) or
19958         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19959         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19960         $(common-objpfx)dlfcn/libdl.so.
19961         * setjmp/Makefile (link-libm): Remove variable.
19962         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19963         * stdio-common/Makefile (link-libm): Remove variable.
19964         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19965         * stdlib/Makefile (link-libm): Remove variable.
19966         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19967         ($(objpfx)tst-strtod-round): Likewise.
19968         ($(objpfx)tst-tininess): Likewise.
19969         ($(objpfx)tst-strtod-underflow): Likewise.
19970         ($(objpfx)tst-strtod6): Likewise.
19971         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19972         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19973         $(common-objpfx)dlfcn/libdl.so.
19975 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19977         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19978         BSD terminal modes definitions.
19980 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19982         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19983         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19985         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19986         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19987         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19988         Don't do #include_next.
19989         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19990         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19991         Don't do #include_next.
19992         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19993         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19994         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19995         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19997 2014-05-16  Allan McRae  <allan@archlinux.org>
19999         * po/sv.po: Update Swedish translation from translation project.
20001         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
20002         in sed expression.
20004 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
20006         [BZ #16917]
20007         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
20008         errno if the TIOCGPTN ioctl fails with an error different than
20009         EINVAL.
20010         * login/tst-ptsname.c: New file.
20011         * login/Makefile (tests): Add tst-ptsname.
20013         [BZ #16943]
20014         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
20015         and prlimit64.
20017 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20019         [BZ #16849]
20020         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
20021         herrno to return EAI_AGAIN.
20023 2014-05-14  Roland McGrath  <roland@hack.frob.com>
20025         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
20026         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
20027         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
20028         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
20029         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
20030         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
20031         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
20032         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
20033         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
20034         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
20035         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
20036         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
20037         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
20038         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
20039         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
20040         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
20041         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
20042         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
20043         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
20044         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
20045         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
20046         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
20047         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
20048         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
20049         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
20050         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
20051         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
20052         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
20053         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
20054         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
20055         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
20056         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
20057         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
20058         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
20059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20060         Moved ...
20061         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
20062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
20063         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
20064         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
20065         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
20066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
20067         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
20068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
20069         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
20070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
20071         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
20072         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
20073         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
20074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
20075         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
20076         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
20077         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
20078         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
20079         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
20080         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
20081         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
20082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
20083         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
20084         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
20085         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
20086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
20087         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
20088         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20089         Moved ...
20090         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
20091         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
20092         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
20093         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
20094         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
20095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
20096         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
20097         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
20098         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
20099         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
20100         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
20101         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
20102         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
20103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
20104         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
20105         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
20106         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
20107         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
20108         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
20109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20110         Moved ...
20111         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
20112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
20113         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
20115         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
20116         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
20117         (libpthread-sysdep_routines): Add elision-related stuff here instead.
20118         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
20119         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
20120         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
20121         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
20122         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
20123         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
20124         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
20125         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
20126         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
20127         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
20128         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
20129         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
20130         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
20131         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
20132         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
20133         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
20134         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
20135         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
20136         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
20137         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
20138         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
20139         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
20140         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
20141         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
20142         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
20143         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
20144         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
20145         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
20147         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
20148         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
20150         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
20151         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
20152         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
20153         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
20154         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
20155         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
20156         Moved ...
20157         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
20158         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20159         Moved ...
20160         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
20161         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20162         Moved ...
20163         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
20164         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
20165         Moved ...
20166         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
20167         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
20168         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
20169         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20170         Moved ...
20171         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
20172         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
20173         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
20174         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
20175         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
20176         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
20177         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
20178         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20179         Moved ...
20180         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
20181         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20182         Moved ...
20183         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20184         ... here.
20185         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
20186         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
20187         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
20188         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
20189         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20190         Moved ...
20191         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20192         ... here.
20193         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
20194         Moved ...
20195         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
20196         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
20197         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
20198         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
20199         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
20200         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
20201         Moved ...
20202         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
20203         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20204         Moved ...
20205         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
20206         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20207         Moved ...
20208         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
20209         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
20210         Moved ...
20211         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
20212         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
20213         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
20214         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
20215         Moved ...
20216         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
20217         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
20218         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
20219         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
20220         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
20221         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
20222         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
20223         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
20224         Moved ...
20225         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
20226         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20227         Moved ...
20228         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20229         ... here.
20230         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
20231         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
20232         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
20233         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
20234         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20235         Moved ...
20236         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20237         ... here.
20238         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
20239         Moved ...
20240         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
20241         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
20242         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
20243         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
20244         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
20245         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
20246         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
20247         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
20248         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
20249         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
20250         Moved ...
20251         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
20252         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
20253         Moved ...
20254         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
20255         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
20256         Moved ...
20257         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
20258         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
20259         Moved ...
20260         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
20261         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
20262         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
20263         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
20264         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
20265         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
20266         Moved ...
20267         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
20268         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
20269         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
20270         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
20271         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
20272         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
20273         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
20274         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
20275         Moved ...
20276         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
20277         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20278         Moved ...
20279         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20280         ... here.
20281         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
20282         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
20283         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
20284         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
20285         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20286         Moved ...
20287         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20288         ... here.
20289         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
20290         Moved ...
20291         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
20292         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
20293         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
20294         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
20295         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
20296         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
20297         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
20298         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
20299         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
20300         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
20301         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
20303         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
20304         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
20306         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
20307         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
20309         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
20310         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
20311         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
20312         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
20313         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
20314         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
20315         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
20316         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
20317         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
20318         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
20319         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
20320         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
20321         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
20322         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
20323         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
20324         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
20325         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
20326         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
20327         Moved ...
20328         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
20329         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
20330         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
20331         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
20332         Moved ...
20333         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
20334         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
20335         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
20336         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
20337         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
20338         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
20339         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
20340         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
20341         Moved ...
20342         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
20343         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
20344         Moved ...
20345         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
20346         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
20347         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
20348         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
20349         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
20350         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
20351         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
20352         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
20353         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
20354         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
20355         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
20356         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
20357         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
20358         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
20359         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
20360         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
20361         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
20363         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
20364         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
20365         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
20366         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
20367         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
20369         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
20370         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
20371         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
20372         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
20373         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
20374         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
20375         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
20376         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
20377         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
20378         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
20380         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
20381         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
20383         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
20384         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
20385         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
20386         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
20387         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
20388         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
20389         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
20390         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
20391         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
20392         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
20393         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
20394         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
20395         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
20396         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
20397         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
20398         Update #include.
20399         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
20400         Likewise.
20401         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20402         Likewise.
20403         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20404         Likewise.
20405         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20406         Likewise.
20407         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
20408         Likewise.
20409         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
20410         Likewise.
20411         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
20412         Likewise.
20413         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
20414         Likewise.
20415         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
20416         Likewise.
20417         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
20418         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
20419         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
20420         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
20421         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
20422         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
20423         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
20424         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
20425         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
20426         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
20427         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
20428         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
20429         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
20430         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
20431         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
20433         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
20434         that was previously under [RESET_PID].
20435         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20436         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
20437         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
20439         * sysdeps/i386/nptl/Implies: New file.
20440         * sysdeps/x86_64/nptl/Implies: New file.
20441         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
20442         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
20443         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
20444         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
20446         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
20447         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20448         (__libc_vfork): New strong alias.
20449         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
20450         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
20452         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
20453         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20454         (__libc_vfork): New strong alias.
20455         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
20456         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
20458         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
20459         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20460         (__libc_vfork): New strong alias.
20461         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
20462         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
20463         * nptl/pt-vfork.c: New file.
20464         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
20465         (libpthread: GLIBC_2.20): New version set (empty).
20467 2014-05-14  Will Newton  <will.newton@linaro.org>
20469         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
20470         rather than #if.
20472 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20474         [BZ #16564]
20475         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
20476         arguments with exponent 65 or above.
20477         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
20478         arguments 0x1p113L or above.
20479         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
20480         to arguments 0x1p107L or above.
20481         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
20482         positive arguments with exponent 65 or above.
20483         * math/auto-libm-test-in: Add more tests of log1p.
20484         * math/auto-libm-test-out: Regenerated.
20486         [BZ #16928]
20487         * math/s_cacos.c (__cacos): Ensure zero real part of result from
20488         non-finite arguments is +0.
20489         * math/s_cacosf.c (__cacosf): Likewise.
20490         * math/s_cacosl.c (__cacosl): Likewise.
20491         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
20492         * sysdeps/i386/fpu/libm-test-ulps: Update.
20493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20495         [BZ #16927]
20496         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
20497         value.
20498         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
20499         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
20500         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
20501         for explicit high bit of mantissa when testing for argument equal
20502         to 1.
20503         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
20504         * sysdeps/i386/fpu/libm-test-ulps: Update.
20505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20507         [BZ #16516]
20508         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
20509         (__erf): Scale by 16 instead of 8 in potentially underflowing
20510         case.  Ensure exception if result actually underflows.
20511         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
20512         (__erff): Scale by 16 instead of 8 in potentially underflowing
20513         case.  Ensure exception if result actually underflows.
20514         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
20515         (efx8): Remove variable.
20516         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20517         case.  Ensure exception if result actually underflows.
20518         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
20519         (efx8): Remove variable.
20520         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20521         case.  Ensure exception if result actually underflows.
20522         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
20523         (efx8): Remove variable.
20524         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20525         case.  Ensure exception if result actually underflows.
20526         * math/auto-libm-test-in: Add more tests of erf.
20527         * math/auto-libm-test-out: Regenerated.
20529 2014-05-14  Andreas Schwab  <schwab@suse.de>
20531         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
20532         Remove code conditionalized on USE___THREAD.
20534         * config.h.in (HAVE_PT_CHOWN): Define as 0.
20535         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
20536         not definedness.
20538 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20540         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
20541         Define unconditionally.
20542         (__ASSUME_O_CLOEXEC): Likewise.
20543         (__ASSUME_SOCK_CLOEXEC): Likewise.
20544         (__ASSUME_IN_NONBLOCK): Likewise.
20545         (__ASSUME_PIPE2): Likewise.
20546         (__ASSUME_EVENTFD2): Likewise.
20547         (__ASSUME_SIGNALFD4): Likewise.
20548         (__ASSUME_DUP3): Likewise.
20549         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20550         (__ASSUME_DUP3): Do not define.
20551         (__ASSUME_EVENTFD2): Likewise.
20552         (__ASSUME_IN_NONBLOCK): Likewise.
20553         (__ASSUME_O_CLOEXEC): Likewise.
20554         (__ASSUME_PIPE2): Likewise.
20555         (__ASSUME_SIGNALFD4): Likewise.
20556         (__ASSUME_SOCK_CLOEXEC): Likewise.
20557         (__ASSUME_UTIMES): Undefine.
20558         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20559         (__ASSUME_UTIMES): Do not define.
20560         (__ASSUME_O_CLOEXEC): Likewise.
20561         (__ASSUME_SOCK_CLOEXEC): Likewise.
20562         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
20563         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
20564         0x020621].
20565         (__ASSUME_PIPE2): Likewise.
20566         (__ASSUME_EVENTFD2): Likewise.
20567         (__ASSUME_SIGNALFD4): Likewise.
20568         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
20569         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
20570         Do not define.
20571         (__ASSUME_EVENTFD2): Likewise.
20572         (__ASSUME_SIGNALFD4): Likewise.
20573         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20574         (__ASSUME_32BITUIDS): Likewise.
20575         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20576         (__ASSUME_IPC64): Likewise.
20577         (__ASSUME_ST_INO_64_BIT): Likewise.
20578         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
20579         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
20580         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20581         (__ASSUME_UTIMES): Do not define.
20582         (__ASSUME_PSELECT): Likewise.
20583         (__ASSUME_PPOLL): Likewise.
20584         (__ASSUME_O_CLOEXEC): Likewise.
20585         (__ASSUME_SOCK_CLOEXEC): Likewise.
20586         (__ASSUME_IN_NONBLOCK): Likewise.
20587         (__ASSUME_PIPE2): Likewise.
20588         (__ASSUME_EVENTFD2): Likewise.
20589         (__ASSUME_SIGNALFD4): Likewise.
20590         (__ASSUME_DUP3): Likewise.
20591         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20592         (__ASSUME_UTIMES): Likewise.
20593         (__ASSUME_O_CLOEXEC): Likewise.
20594         (__ASSUME_SOCK_CLOEXEC): Likewise.
20595         (__ASSUME_IN_NONBLOCK): Likewise.
20596         (__ASSUME_PIPE2): Likewise.
20597         (__ASSUME_EVENTFD2): Likewise.
20598         (__ASSUME_SIGNALFD4): Likewise.
20599         (__ASSUME_DUP3): Likewise.
20600         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20601         (__ASSUME_UTIMES): Likewise.
20602         (__ASSUME_O_CLOEXEC): Likewise.
20603         (__ASSUME_SOCK_CLOEXEC): Likewise.
20604         (__ASSUME_IN_NONBLOCK): Likewise.
20605         (__ASSUME_PIPE2): Likewise.
20606         (__ASSUME_EVENTFD2): Likewise.
20607         (__ASSUME_SIGNALFD4): Likewise.
20608         (__ASSUME_DUP3): Likewise.
20609         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
20610         Likewise.
20611         (__ASSUME_UTIMES): Likewise.
20612         (__ASSUME_EVENTFD2): Likewise.
20613         (__ASSUME_SIGNALFD4): Likewise.
20614         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20615         (__ASSUME_O_CLOEXEC): Likewise.
20616         (__ASSUME_SOCK_CLOEXEC): Likewise.
20617         (__ASSUME_IN_NONBLOCK): Likewise.
20618         (__ASSUME_PIPE2): Likewise.
20619         (__ASSUME_EVENTFD2): Likewise.
20620         (__ASSUME_SIGNALFD4): Likewise.
20621         (__ASSUME_DUP3): Likewise.
20622         (__ASSUME_UTIMES): Undefine.
20624         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
20625         feclearexcept.  Remove symbol versioning code.
20626         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
20627         symbol versioning code.
20628         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
20629         symbol versioning code.
20630         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
20631         feupdateenv.  Remove symbol versioning code.
20632         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
20633         fegetexceptflag.  Remove symbol versioning code.
20634         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
20635         fesetexceptflag.  Remove symbol versioning code.
20636         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
20637         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
20638         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
20639         (__posix_fadvise64_l32): Remove prototype.
20640         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
20641         code.
20643 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20645         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
20646         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
20647         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
20648         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
20650 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
20652         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
20653         current working directory
20655 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20657         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
20658         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
20659         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
20660         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
20661         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20662         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
20663         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
20664         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
20665         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
20666         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
20667         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
20668         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
20669         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20670         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20671         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20672         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20673         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20674         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20675         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20676         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20677         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20678         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20679         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20680         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20681         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20682         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20683         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20684         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20685         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20686         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20687         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20688         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20689         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20690         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20691         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20692         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20693         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20694         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20695         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20696         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20697         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20698         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20700         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20701         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20703         * sysdeps/unix/sysv/linux/arm/Makefile
20704         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20705         Add rt-aeabi_unwind_cpp_pr1.
20706         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20707         Add nptl-aeabi_unwind_cpp_pr1.
20708         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20709         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20710         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20711         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20712         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20713         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20715         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20716         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20717         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20718         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20720         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20721         Deconditionalize the code that was previously under [RESET_PID].
20722         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20724         * sysdeps/generic/exit-thread.h: New file.
20725         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20726         * include/unistd.h (__exit_thread): Remove declaration.
20727         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20728         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20729         * csu/libc-start.c: Include <exit-thread.h>.
20730         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20731         * nptl/pthread_create.c: Include <exit-thread.h>.
20732         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20733         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20734         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20735         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20736         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20737         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20738         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20739         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20740         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20741         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20742         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20743         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20744         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20745         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20746         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20747         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20748         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20750 2014-05-13  Andreas Schwab  <schwab@suse.de>
20752         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20754 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20756         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20757         (__ASSUME_UTIMES): Do not condition on kernel version.
20758         (__ASSUME_PSELECT): Define unconditionally.
20759         (__ASSUME_PPOLL): Likewise.
20760         (__ASSUME_ATFCTS): Likewise.
20761         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20762         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20763         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20764         (__ASSUME_UTIMENSAT): Define unconditionally.
20765         (__ASSUME_PRIVATE_FUTEX): Likewise.
20766         (__ASSUME_FALLOCATE): Likewise.
20767         (__ASSUME_O_CLOEXEC): Likewise.
20768         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20769         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20770         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20771         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20772         (__ASSUME_IN_NONBLOCK): Likewise.
20773         (__ASSUME_PIPE2): Likewise.
20774         (__ASSUME_EVENTFD2): Likewise.
20775         (__ASSUME_SIGNALFD4): Likewise.
20776         (__ASSUME_DUP3): Likewise.
20777         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20778         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20779         (__ASSUME_AT_RANDOM): Likewise.
20780         (__ASSUME_PREADV): Likewise.
20781         (__ASSUME_PWRITEV): Likewise.
20782         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20783         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20784         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20785         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20786         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20787         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20788         (__ASSUME_O_CLOEXEC): Define unconditionally.
20789         (__ASSUME_PSELECT): Do not undefine conditionally.
20790         (__ASSUME_PPOLL): Likewise.
20791         (__ASSUME_ATFCTS): Likewise.
20792         (__ASSUME_SET_ROBUST_LIST): Likewise.
20793         (__ASSUME_UTIMENSAT): Likewise.
20794         (__ASSUME_FDATASYNC): Define unconditionally.
20795         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20796         (__ASSUME_SIGFRAME_V2): Likewise.
20797         )__ASSUME_EVENTFD2): Likewise.
20798         (__ASSUME_SIGNALFD4): Likewise.
20799         (__ASSUME_PSELECT): Do not undefine conditionally.
20800         (__ASSUME_PPOLL): Likewise.
20801         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20802         (__ASSUME_PSELECT): Define unconditionally.
20803         (__ASSUME_PPOLL): Likewise.
20804         (__ASSUME_O_CLOEXEC): Likewise.
20805         (__ASSUME_SOCK_CLOEXEC): Likewise.
20806         (__ASSUME_IN_NONBLOCK): Likewise.
20807         (__ASSUME_PIPE2): Likewise.
20808         (__ASSUME_EVENTFD2): Likewise.
20809         (__ASSUME_SIGNALFD4): Likewise.
20810         (__ASSUME_DUP3): Likewise.
20811         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20812         (__ASSUME_O_CLOEXEC): Likewise.
20813         (__ASSUME_SOCK_CLOEXEC): Likewise.
20814         (__ASSUME_IN_NONBLOCK): Likewise.
20815         (__ASSUME_PIPE2): Likewise.
20816         (__ASSUME_EVENTFD2): Likewise.
20817         (__ASSUME_SIGNALFD4): Likewise.
20818         (__ASSUME_DUP3): Likewise.
20819         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20820         (__ASSUME_EVENTFD2): Likewise.
20821         (__ASSUME_SIGNALFD4): Likewise.
20822         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20824 2014-05-12  Andreas Schwab  <schwab@suse.de>
20826         [BZ #16932]
20827         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20828         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20829         than maximum RPC packet size.
20830         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20831         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20832         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20833         (_nss_nis_getservbyport_r): Likewise.
20835 2014-05-12  Will Newton  <will.newton@linaro.org>
20837         * malloc/Makefile (tests): Add tst-mallopt.
20838         * malloc/tst-mallopt.c: New file.
20840 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20842         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20843         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20845 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20847         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20848         (tst-tlsmod6.so): Likewise.
20850 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20852         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20854 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20856         [BZ #16064]
20857         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20858         and <dl-procinfo.h>.
20859         (__fegetenv): Save SSE state in envp->__eip if supported.
20860         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20861         envp->__eip if supported.
20862         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20863         and <dl-procinfo.h>.
20864         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20865         __data_offset and __data_selector in environment to 0.  Set SSE
20866         state if supported.
20867         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20868         test-fenv-sse.
20869         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20870         -mfpmath=sse.
20871         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20873 2014-05-09  Will Newton  <will.newton@linaro.org>
20875         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20876         and libc_relro_required for ARM.
20877         * sysdeps/arm/preconfigure: Regenerate.
20879 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20880             Stefan Liebler  <stli@linux.vnet.ibm.com>
20882         * config.make.in (enable-lock-elision): New Makefile variable.
20883         * configure.ac: Likewise.
20884         * configure: Regenerate.
20885         * sysdeps/s390/configure.ac:
20886         Add check for gcc transactions support.
20887         * sysdeps/s390/configure: Regenerate.
20888         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20889         Build elision files if enabled.
20890         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20891         Add lock elision support for s390.
20892         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20893         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20894         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20895         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20896         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20897         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20898         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20899         Likewise.
20900         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20901         Likewise.
20902         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20903         Likewise.
20904         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20905         Likewise.
20906         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20907         (__lll_timedlock_elision, __lll_lock_elision)
20908         (__lll_unlock_elision, __lll_trylock_elision)
20909         (lll_timedlock_elision, lll_lock_elision)
20910         (lll_unlock_elision, lll_trylock_elision): Add.
20911         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20912         (pthread_mutex_t): Add lock elision support for s390.
20914 2014-05-14  Wilco  <wdijkstr@arm.com>
20916         * sysdeps/arm/fclrexcpt.c: Cleanup.
20917         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20918         * sysdeps/arm/feenablxcpt.c: Cleanup.
20919         * sysdeps/arm/fegetenv.c: Cleanup.
20920         * sysdeps/arm/fegetexcept.c: Cleanup.
20921         * sysdeps/arm/fegetround.c: Cleanup.
20922         * sysdeps/arm/feholdexcpt.c: Cleanup.
20923         * sysdeps/arm/fesetenv.c: Cleanup.
20924         * sysdeps/arm/fesetround.c: Cleanup.
20925         * sysdeps/arm/feupdateenv.c: Cleanup.
20926         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20927         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20928         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20929         * sysdeps/arm/ftestexcept.c: Cleanup.
20930         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20931         * sysdeps/arm/setfpucw.c: Cleanup.
20933 2014-05-09  Will Newton  <will.newton@linaro.org>
20935         * sysdeps/arm/armv7/strcmp.S: New file.
20936         * NEWS: Mention addition of ARMv7 optimized strcmp.
20938 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20940         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20941         look for %.ac rather than %.in.
20943         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20944         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20945         * sysdeps/mach/hurd/configure: Regenerated.
20946         * sysdeps/unix/sysv/linux/configure: Regenerated.
20948         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20950 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20952         [BZ# 16922]
20953         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20954         (LONG_SUB): Ditto.
20955         (PTR_SUB): Ditto.
20957 2014-05-07  Andreas Schwab  <schwab@suse.de>
20959         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20960         when skipping over non-matching result from nscd.
20962 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20964         [BZ #16876]
20965         * nptl/sockperf.c (client): Check socket return value.
20967         [BZ #16877]
20968         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20969         nscd security class.
20971 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20973         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20974         * sysdeps/arm/unwind.h: ... here.
20976 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20978         [BZ# 16916]
20979         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20980         Define.
20982 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20984         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20985         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20986         multiarch strncpy for PPC64.
20987         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20988         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20989         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20990         multiarch optimizations.
20991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20992         (__libc_ifunc_impl_list): Likewise.
20993         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20994         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20995         multiarch stpncpy for PPC64.
20996         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20997         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20999 2014-05-06  Andreas Schwab  <schwab@suse.de>
21001         [BZ #16912]
21002         * gmon/mcount.c (_MCOUNT_DECL): Use
21003         atomic_compare_and_exchange_bool_acq instead of
21004         catomic_compare_and_exchange_bool_acq.
21006 2014-05-05  Roland McGrath  <roland@hack.frob.com>
21008         * elf/Makefile (others, install-bin): Remove pldd.
21009         (pldd-modules): Variable removed.
21010         ($(objpfx)pldd): Target removed.
21011         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
21012         (others, install-bin): Append pldd here.
21013         ($(objpfx)pldd): New target.
21015         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
21016         to 0, so the first #if test emitted later doesn't see it undefined.
21017         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
21018         * sysdeps/gnu/errlist.c: Regenerated.
21020 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21022         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21023         [libc_hidden_builtin_def]: Define to empty value.
21024         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
21025         [libc_hidden_builtin_def]: Likewise.
21026         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
21027         [libc_hidden_builtin_def]: Likewise.
21028         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
21029         [libc_hidden_builtin_def]: Likewise.
21030         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
21031         __redirect_memcpy and define ifunc as default hidden symbol.
21032         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
21033         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
21035 2014-05-04  Adam Conrad  <adconrad@0c3.net>
21037         * locale/iso-4217.def: Reintroduce XDR currency.
21039 2014-05-04  Allan McRae  <allan@archlinux.org>
21041         * po/eo.po: Update Esperanto translation from translation project.
21043 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
21045         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
21046         and FEATURE_INDEX_MAX to 1.
21047         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
21049 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21051         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
21052         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
21053         * iconvdata/big5.c (ONE_DIRECTION): Define.
21054         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
21055         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
21056         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
21057         * iconvdata/cp932.c (ONE_DIRECTION): Define.
21058         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
21059         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
21060         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
21061         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
21062         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
21063         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
21064         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
21065         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
21066         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
21067         * iconvdata/gbk.c (ONE_DIRECTION): Define.
21068         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
21069         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
21070         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
21071         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
21072         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
21073         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
21074         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
21075         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
21076         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
21077         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
21078         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
21079         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
21080         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
21081         * iconvdata/iso646.c (ONE_DIRECTION): Define.
21082         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
21083         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
21084         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
21085         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
21086         * iconvdata/johab.c (ONE_DIRECTION): Define.
21087         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
21088         * iconvdata/sjis.c (ONE_DIRECTION): Define.
21089         * iconvdata/t.61.c (ONE_DIRECTION): Define.
21090         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
21091         * iconvdata/tscii.c (ONE_DIRECTION): Define.
21092         * iconvdata/uhc.c (ONE_DIRECTION): Define.
21093         * iconvdata/unicode.c (ONE_DIRECTION): Define.
21094         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
21095         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
21096         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
21098 2014-05-01  Roland McGrath  <roland@hack.frob.com>
21100         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
21101         (_IO_JUMPS_OFFSET): Define to 0.
21103         * nptl/sysdeps/pthread/bits/libc-lock.h
21104         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21105         (__libc_lock_define_initialized_recursive): Always define using
21106         initializer.  Modern compilers treat uninitialized (implicit zero) and
21107         explicit zero initializers the same (i.e. put the datum in bss).
21109 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21111         * nscd/nscd-client.h: Include <string.h>.
21113 2014-05-01  David S. Miller  <davem@davemloft.net>
21115         [BZ #16885]
21116         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
21117         multiple zero bytes exist at the end of a string.
21118         Reported by Aurelien Jarno <aurelien@aurel32.net>
21120         * string/test-strcmp.c (check): Add explicit test for situations where
21121         there are multiple zero bytes after the first.
21123 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21125         [BZ #16890]
21126         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
21127         when compiling wprintf.
21128         * stdio-common/tstdiomisc.c (t3): New function.
21129         (main): Call it.
21131 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21133         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
21134         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
21135         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
21136         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
21138 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21140         * stdlib/longlong.h: Updated from GCC.
21142 2014-05-01  Will Newton  <will.newton@linaro.org>
21143             Bernard Ogden  <bernie.ogden@linaro.org>
21145         * NEWS: Update fixed bug list.
21147         [BZ #15119]
21148         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
21150 2014-04-30  David S. Miller  <davem@davemloft.net>
21152         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
21153         (libc_feholdexcept_setround_sparc_ctx): New function.
21154         (libc_fesetenv_sparc_ctx): Likewise.
21155         (libc_feupdateenv_sparc_ctx): Likewise.
21156         (libc_feholdsetround_sparc_ctx): Likewise.
21157         (libc_feholdexcept_setround_ctx): Define.
21158         (libc_feholdexcept_setroundf_ctx): Likewise.
21159         (libc_feholdexcept_setroundl_ctx): Likewise.
21160         (libc_fesetenv_ctx): Likewise.
21161         (libc_fesetenvf_ctx): Likewise.
21162         (libc_fesetenvl_ctx): Likewise.
21163         (libc_feupdateenv_ctx): Likewise.
21164         (libc_feupdateenvf_ctx): Likewise.
21165         (libc_feupdateenvl_ctx): Likewise.
21166         (libc_feresetround_ctx): Likewise.
21167         (libc_feresetroundf_ctx): Likewise.
21168         (libc_feresetroundl_ctx): Likewise.
21169         (libc_feholdsetround_ctx): Likewise.
21170         (libc_feholdsetroundf_ctx): Likewise.
21171         (libc_feholdsetroundl_ctx): Likewise.
21173         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21174         with __USE_GNU instead of XOPEN cpp guards.
21176         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
21177         0.
21179         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21180         with XOPEN cpp guards.
21182 2014-04-30  Julian Brown  <julian@codesourcery.com>
21184         [BZ #16888]
21185         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
21186         handling.
21188 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
21190         [BZ #9894]
21191         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21192         Change to 2.6.32.
21193         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
21194         * sysdeps/unix/sysv/linux/configure: Regenerated.
21195         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
21196         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
21197         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
21198         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
21199         * README: Update reference to required Linux kernel version.
21200         * manual/install.texi (Linux): Update reference to required Linux
21201         kernel headers version.
21202         * INSTALL: Regenerated.
21204         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
21205         header inclusion.
21206         [POSIX] (limits.h): Likewise.
21207         [POSIX] (math.h): Likewise.
21208         [POSIX] (sys/wait.h): Likewise.
21209         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
21210         function.
21211         [POSIX] (stddef.h): Do not allow header inclusion.
21213 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21215         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
21217 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
21219         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21220         Return immediately after lll_futex_wake.
21222 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21224         [BZ #16791]
21225         * nscd/nscd-client.h (datahead_init_common): Initialize entire
21226         structure.
21227         (datahead_init_pos): Call datahead_init_common early.
21228         (datahead_init_neg): Likewise.
21230         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
21231         datahead_init_neg): New functions.
21232         * nscd/aicache.c (addhstaiX): Use them.
21233         * nscd/grpcache.c (cache_addgr): Likewise.
21234         * nscd/hstcache.c (cache_addhst): Likewise.
21235         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21236         * nscd/netgroupcache.c (do_notfound): Likewise.
21237         (addgetnetgrentX): Likewise.
21238         (addinnetgrX): Likewise.
21239         * nscd/pwdcache.c (cache_addpw): Likewise.
21240         * nscd/servicescache.c (cache_addserv): Likewise.
21242 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21243             Atsushi Onoe  <atsushi@onoe.org>
21245         [BZ #14308]
21246         [BZ #12994]
21247         [BZ #13651]
21248         * resolv/res_query.c (__libc_res_nsearch): Return if at least
21249         one response is valid.
21250         * resolv/res_send.c (send_dg): Check for validity of other
21251         response if the current response is a referral.
21253 2014-04-29  Steve Ellcey  <sellcey@mips.com>
21255         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
21257 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
21259         [BZ #16823]
21260         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
21261         Always divide by positive zero when computing -Inf result.
21262         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21263         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21265 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21267         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
21268         FPSCR if value do not change.
21269         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21270         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
21271         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21272         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21273         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
21274         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
21275         function.
21277 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
21279         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
21280         * sysdeps/unix/sysv/linux/hppa: Move directory from
21281         ports/systeps/unix/sysv/linux/hppa.
21282         * README: Update listing for hppa-*-linux-gnu.
21284 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
21286         [BZ #16754]
21287         * manual/stdio.texi (Hook functions): Fix types of stream hook
21288         functions.
21289         [BZ #16854]
21290         * socket/sys/socket.h: Fix typo in comment.
21292 2014-04-28  Wilco  <wdijkstr@arm.com>
21294         * sysdeps/arm/fenv_private.h: New file.
21295         * sysdeps/arm/math_private.h: New file.
21296         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
21298 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
21300         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
21301         with __int128_t.
21302         (La_x86_64_retval): Likewise.
21304 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
21306         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
21307         fpsr if value didn't change.
21308         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
21309         to fpcr if value didn't change.
21310         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
21311         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
21312         fpsr or fpcr if value didn't change.
21313         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21314         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
21315         fpcr if value didn't change.
21316         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
21317         to fpsr if value didn't change.
21319 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21321         * nptl/tst-sem3.c: Use test-skeleton.c
21322         (main): Rename to do_test.  Use return instead of
21323         exit.
21324         * nptl/tst-sem4.c: Use test-skeleton.c
21325         (main): Rename to do_test.
21327 2014-04-22  David S. Miller  <davem@davemloft.net>
21329         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
21330         (struct sigaction): New struct member __glibc_reserved0, change
21331         type of sa_flags to int.
21333 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
21335         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
21336         (COUNT_LEADING_ZEROS_0): Define for AArch64.
21338 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21340         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
21341         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
21343 2014-04-22  Will Newton  <will.newton@linaro.org>
21344             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
21346         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
21347         (__longjmp): Add longjmp and longjmp_target SystemTap
21348         probes.
21349         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
21350         (__sigsetjmp): Add setjmp SystemTap probe.
21352 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
21354         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
21355         match manual order.
21357 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21359         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
21361         * sysdeps/powerpc/fpu/fenv_private.h
21362         (libc_feholdexcept_setroundl_ctx): Define to
21363         libc_feholdexcept_setround_ppc_ctx.
21364         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
21365         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
21366         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
21367         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
21369 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21371         * sysdeps/aarch64/math-tests.h: New file.
21373 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
21375         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
21376         New.
21377         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21378         Check and set bit_AVX2_Usable.
21379         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
21380         macro.
21381         (bit_AVX2): Likewise.
21382         (index_AVX2_Usable): Likewise.
21383         (CPUID_AVX2): Likewise.
21384         (HAS_AVX2): Likewise.
21386 2014-04-17  Will Newton  <will.newton@linaro.org>
21388         * manual/setjmp.texi (System V contexts): Add note that
21389         calling setcontext on a context created by a call to a
21390         signal handler is undefined.  Update text to note that
21391         setcontext from a signal handler is possible but not
21392         recommended.
21394         [BZ #16629]
21395         * stdlib/tst-setcontext.c: Include signal.h.
21396         (main): Check that the signal stack before and
21397         after swapcontext is the same.
21399         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
21400         Re-implement to restore registers in user code and avoid
21401         rt_sigreturn system call.
21403 2014-04-17  Wilco  <wdijkstr@arm.com>
21405         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
21406         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
21407         * math/test-fenv.c: Skip exception trap tests on targets which only
21408         support non-stop mode.
21410 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21411             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21413         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
21414         (libc_feholdsetround_aarch64_ctx)
21415         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
21416         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
21417         (libc_feresetround_ctx, libc_feresetroundf_ctx)
21418         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
21419         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
21420         (libc_feresetround_noexl_ctx): Define.
21422 2014-04-16  Richard Henderson  <rth@redhat.com>
21424         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
21426         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
21427         unwind tables.
21429         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
21430         const from the non-libc, non-ldso copy.
21432         * sysdeps/alpha/libm-test-ulps: Regenerate.
21434 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
21435             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21437         * sysdeps/aarch64/fpu/math_private.h: New file.
21439 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21441         * sysdeps/aarch64/libm-test-ulps: Regenerate.
21443 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
21445         [BZ #16275]
21446         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
21447         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
21448         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
21449         Intel MPX bound registers before _dl_profile_fixup.
21450         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
21451         registers after _dl_profile_fixup.  Save and restore bound
21452         registers bnd0/bnd1 when calling _dl_call_pltexit.
21453         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
21454         (LR_BND_OFFSET): Likewise.
21455         (LRV_BND0_OFFSET): Likewise.
21456         (LRV_BND1_OFFSET): Likewise.
21458 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21460         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
21461         to...
21462         * sysdeps/mach/hurd/i386/tls.h: ... here.
21463         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
21464         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
21465         fields.
21467 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21469         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
21471 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21473         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21475 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21477         [BZ #14770]
21478         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
21479         * sysdeps/s390/configure: Regenerate.
21481         [BZ #16824]
21482         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
21483         Set round-to-nearest internally to reduce error accumulation.
21485 2014-04-16  Alan Modra  <amodra@gmail.com>
21487         [BZ #16740]
21488         [BZ #16619]
21489         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
21490         * math/libm-test.inc (frexp_test_data): Add tests.
21491         * NEWS: Update fixed bug list.
21493 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21495         * benchtests/Makefile: Depend on libraries in build directory.
21496         (bench-math): Separate out math tests.
21497         (bench-pthread): Separate out pthread tests.
21498         (bench): Include math and pthread tests.
21500 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
21502         [BZ #16831]
21503         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
21504         _dl_debug_initialize.
21506         * configure.ac: Remove SELinux header check.
21507         * configure: Regenerate.
21508         * nscd/selinux.c (perms): Array of const char* to permission names.
21509         (nscd_request_avc_has_perm): Call security_deny_unknown to find
21510         default policy. Call string_to_security_class and string_to_av_perm to
21511         translate strings. Enforce default policy and call avs_has_perm with
21512         results of translated strings.
21514 2014-04-13  David S. Miller  <davem@davemloft.net>
21516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21518 2014-04-12  Allan McRae  <allan@archlinux.org>
21520         [BZ #16838]
21521         * manual/string.texi (Collation Functions): Fix qsort argument
21522         order in example.
21523         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21525 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
21527         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
21528         Make the test a no-op if there are no exceptions defined.
21530 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21532         * elf/Makefile (tests): make tst-dlopen-aout conditional on
21533         enable-hardcoded-path-in-tests
21535 2014-04-11  Will Newton  <will.newton@linaro.org>
21537         * benchtests/Makefile (extra-objs): Add json-lib.o.
21538         (bench-func): Tidy up JSON output.
21539         * benchtests/bench-skeleton.c: Include json-lib.h.
21540         (main): Use JSON library functions to do output of
21541         benchmark results.
21542         * benchtests/bench-timing-type.c (main): Output the
21543         timing type simply, leaving formatting to the user.
21544         * benchtests/json-lib.c: New file.
21545         * benchtests/json-lib.h: Likewise.
21547 2014-04-11  Torvald Riegel  <triegel@redhat.com>
21549         [BZ #15215]
21550         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
21551         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
21552         memory barriers.  Add comments.
21553         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
21554         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
21555         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
21556         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
21557         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
21558         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
21560 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21562         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
21563         * sysdeps/s390/s390-64/configure.ac: ... this ...
21564         * sysdeps/s390/configure.ac: ... to here.
21565         * sysdeps/s390/s390-32/configure: Delete file.
21566         * sysdeps/s390/s390-64/configure: Delete file.
21567         * sysdeps/s390/configure: Regenerate.
21569 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
21571         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
21573 2014-04-11  Will Newton  <will.newton@linaro.org>
21575         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
21576         to zero if it is not defined elsewhere.  (mtrim): Test
21577         the value of MALLOC_DEBUG with #if rather than #ifdef.
21579 2014-04-10 Torvald Riegel  <triegel@redhat.com>
21581         * benchtests/pthread_once-inputs: New file.
21582         * benchtests/pthread_once-source.c: New file.
21583         * benchtests/README: Update documentation.
21585 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21586             H.J. Lu  <hongjiu.lu@intel.com>
21588         [BZ #16275]
21589         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
21590         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
21591         * sysdeps/x86_64/configure: Regenerated.
21592         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
21593         macro.
21594         (REGISTER_SAVE_RAX): Likewise.
21595         (REGISTER_SAVE_RCX): Likewise.
21596         (REGISTER_SAVE_RDX): Likewise.
21597         (REGISTER_SAVE_RSI): Likewise.
21598         (REGISTER_SAVE_RDI): Likewise.
21599         (REGISTER_SAVE_R8): Likewise.
21600         (REGISTER_SAVE_R9): Likewise.
21601         (REGISTER_SAVE_BND0): Likewise.
21602         (REGISTER_SAVE_BND1): Likewise.
21603         (REGISTER_SAVE_BND2): Likewise.
21604         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
21605         bound registers when calling _dl_fixup.
21607 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21609         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
21610         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
21611         of its definition.
21612         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
21613         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
21614         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
21615         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
21616         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
21617         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
21618         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
21620 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
21622         [BZ #15514]
21623         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
21624         pathconf(_PC_NAME_MAX).
21626 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21628         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
21629         Remove macro usage.
21630         (__PTHREAD_SPINS): Move definition to ...
21631         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21632         (__PTHREAD_SPINS): ... here.
21633         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21634         (__PTHREAD_SPIN): Likewise.
21635         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
21636         (__PTHREAD_SPIN): Likewise.
21637         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
21638         (__PTHREAD_SPIN): Likewise.
21639         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
21640         (__PTHREAD_SPIN): Likewise.
21641         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
21642         (__PTHREAD_SPIN): Likewise.
21643         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
21644         (__PTHREAD_SPIN): Likewise.
21645         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
21646         (__PTHREAD_SPIN): Likewise.
21647         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
21648         (__PTHREAD_SPIN): Likewise.
21649         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21650         (__PTHREAD_SPIN): Likewise.
21651         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21652         (__PTHREAD_SPIN): Likewise.
21653         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21654         (__PTHREAD_SPIN): Likewise.
21655         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
21656         (__PTHREAD_SPIN): Likewise.
21658         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
21659         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
21660         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
21661         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
21662         imply folder.
21663         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
21664         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
21665         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
21666         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
21667         correct imply path.
21668         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
21669         strlen symbol for non multi-arch builds.
21670         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21671         missing hidden_def and weak_alias.
21673 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
21675         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21677 2014-04-07  Will Newton  <will.newton@linaro.org>
21679         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21680         and contents.  [!_LIBC] Remove #ifndef and contents.
21681         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
21682         * string/memccpy.c (__memccpy): Use ANSI prototype.
21683         * string/memfrob.c (memfrob): Likewise.
21684         * string/strcoll.c (STRCOLL): Likewise.
21685         * string/strlen.c (strlen): Likewise.
21686         * string/strtok.c (STRTOK): Likewise.
21687         * string/strcat.c: Remove unused #include of memcopy.h.
21688         (strcat): Use ANSI prototype.
21689         * string/strchr.c: Remove unused #include of memcopy.h.
21690         (strchr): Use ANSI prototype.
21691         * string/strcmp.c: Remove unused #include of memcopy.h.
21692         (strcmp): Use ANSI prototype.
21693         * string/strcpy.c: Remove unused #include of memcopy.h.
21694         (strcpy): Use ANSI prototype.
21696 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21698         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21699         * config.make.in (config-extra-cppflags): Set it from
21700         libc_extra_cppflags.
21701         * configure.ac (libc_extra_cflags): Make it accumulate over
21702         configure fragments.
21703         (libc_extra_cppflags): New flag.
21704         * configure. Regenerate.
21705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21706         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21707         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21710         [BZ #16815]
21711         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21712         result for FE_DOWNWARD rounding mode.
21713         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21714         Likewise.
21715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21717 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21719         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21720         in function argument name.
21722 2014-04-03  David Svoboda  <svoboda@cert.org>
21724         [BZ #5666]
21725         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21726         explicitly.
21728 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21730         * elf/dl-unmap-segments.h: New file.
21731         * sysdeps/generic/ldsodefs.h
21732         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21733         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21734         * elf/dl-fptr.c: Likewise.
21735         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21736         * sysdeps/aarch64/tlsdesc.c: Likewise.
21737         * sysdeps/arm/tlsdesc.c: Likewise.
21738         * sysdeps/i386/tlsdesc.c: Likewise.
21739         * sysdeps/tile/dl-runtime.c: Likewise.
21740         * sysdeps/x86_64/tlsdesc.c: Likewise.
21741         * elf/dl-load.h: New file.
21742         * elf/dl-load.c: Include it.
21743         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21744         Macros moved to dl-load.h.
21745         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21746         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21747         Use _dl_unmap_segments in place of __munmap.
21748         Break out segment-mapping loop into ...
21749         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21751 2014-04-03  Will Newton  <will.newton@linaro.org>
21753         * elf/dl-lookup.c (do_lookup_x): Remove comment
21754         referring to nested function and move variable
21755         declarations down to before first use.
21757 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21759         [BZ #16799]
21760         [BZ #16800]
21761         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21762         with 0 numerator.
21763         * math/s_catanf.c (__catanf): Likewise.
21764         * math/s_catanh.c (__catanh): Likewise.
21765         * math/s_catanhf.c (__catanhf): Likewise.
21766         * math/s_catanhl.c (__catanhl): Likewise.
21767         * math/s_catanl.c (__catanl): Likewise.
21768         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21769         by positive zero when computing -Inf result.
21770         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21771         (catanh_test): Likewise.
21772         * sysdeps/i386/fpu/libm-test-ulps: Update.
21773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21775         [BZ #16789]
21776         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21777         instead of using underflowing value in computing result.
21778         * math/s_clog10.c (__clog10): Likewise.
21779         * math/s_clog10f.c (__clog10f): Likewise.
21780         * math/s_clog10l.c (__clog10l): Likewise.
21781         * math/s_clogf.c (__clogf): Likewise.
21782         * math/s_clogl.c (__clogl): Likewise.
21783         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21784         (clog10_test): Likewise.
21785         * sysdeps/i386/fpu/libm-test-ulps: Update.
21786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21788 2014-04-02  Alan Modra  <amodra@gmail.com>
21790         [BZ #16739]
21791         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21792         output when value is near a power of two.  Use int64_t for lx and
21793         remove casts.  Use decimal rather than hex exponent constants.
21794         Don't use long double multiplication when double will suffice.
21795         * math/libm-test.inc (nextafter_test_data): Add tests.
21796         * NEWS: Add 16739 and 16786 to bug list.
21798         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21800         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21802 2014-04-01  Will Newton  <will.newton@linaro.org>
21804         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21805         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21807 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21809         [BZ #13347]
21810         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21811         * nptl/tst-setuid2.c: New file.
21812         * nptl/Makefile (xtests): Add tst-setuid2.
21814 2014-04-01  Alan Modra  <amodra@gmail.com>
21816         [BZ #16786]
21817         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21819 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21821         [BZ #6803]
21822         [BZ #6804]
21823         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21824         set errno as appropriate.
21825         * math/w_scalbf.c (__scalbf): Likewise.
21826         * math/w_scalbl.c (__scalbl): Likewise.
21827         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21828         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21829         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21830         Add more NaN tests.
21832         [BZ #16349]
21833         * math/w_atan2.c: Include <errno.h>.
21834         (__atan2): Set errno for result underflowing to zero.
21835         * math/w_atan2f.c: Include <errno.h>.
21836         (__atan2f): Set errno for result underflowing to zero.
21837         * math/w_atan2l.c: Include <errno.h>.
21838         (__atan2l): Set errno for result underflowing to zero.
21839         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21840         tests.
21841         * math/auto-libm-test-out: Regenerated.
21843 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21845         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21846         Encode instruction correctly in little endian.
21847         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21848         Likewise.
21849         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21850         Likewise.
21851         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21852         Likewise.
21853         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21854         Likewise.
21856 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21858         [BZ #9894]
21859         * sysdeps/unix/sysv/linux/kernel-features.h
21860         [__sparc__ && !__arch64__ && !__sparc_v9__]
21861         (__ASSUME_SET_ROBUST_LIST): Do not define.
21862         [__sparc__ && !__arch64__ && !__sparc_v9__]
21863         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21864         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21865         Likewise.
21866         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21867         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21868         (__ASSUME_REQUEUE_PI): Likewise.
21869         (__ASSUME_SET_ROBUST_LIST): Likewise.
21870         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21871         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21872         Undefine.
21873         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21874         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21875         Likewise.
21876         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21877         Likewise.
21878         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21879         Likewise.
21880         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21881         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21882         Undefine.
21883         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21884         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21885         Likewise.
21887         [BZ #16648]
21888         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21889         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21890         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21892 2014-03-31  Will Newton  <will.newton@linaro.org>
21894         * benchtests/Makefile (bench): Add ffs and ffsll to list
21895         of tests.
21896         * benchtests/ffs-inputs: New file.
21897         * benchtests/ffsll-inputs: Likewise.
21899 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21901         [BZ #16770]
21902         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21903         too large before casting to int.
21904         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21905         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21906         * math/libm-test.inc (scalb_test_data): Add more tests.
21908 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21910         * benchtests/Makefile (DETAILED_OPT): New make option.
21911         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21912         set.
21913         * benchtests/bench-skeleton.c: Include stdbool.h.
21914         (main): Store and print timings per input.
21915         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21916         member to each argument value.
21917         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21918         (_print_arg_data): Initialize per-input timing to 0.
21920         * benchtests/Makefile (timing-type): New binary.
21921         (bench-clean): Also remove bench-timing-type.
21922         (bench): New target for timing-type.
21923         (bench-func): Print output in JSON format.
21924         * benchtests/bench-skeleton.c (main): Print output in JSON
21925         format.
21926         * benchtests/bench-timing-type.c: New file.
21927         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21928         (TIMING_PRINT_STATS): Remove.
21929         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21930         name separately.
21932         * benchtests/bench-modf.c: Remove.
21933         * benchtests/modf-inputs: New inputs file.
21935 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21937         [BZ #16362]
21938         * math/s_clog10.c (M_PI_LOG10E): New macro.
21939         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21940         imaginary parts are 0.
21941         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21942         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21943         imaginary parts are 0.
21944         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21945         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21946         imaginary parts are 0.
21947         * math/libm-test.inc (clog10_test_data): Update expected results
21948         for when real and imaginary parts are 0.
21950 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21952         * elf/dl-load.c: Finish conversion of __builtin_expect into
21953         __glibc_{un}likely.
21955 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21957         [BZ #16348]
21958         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21959         1+x for argument with exponent below -67.
21960         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21961         Likewise.
21962         * math/auto-libm-test-in: Add more tests of exp.
21963         * math/auto-libm-test-out: Regenerated.
21965 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21967         [BZ #16759]
21968         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21969         (nscd_getnetgrent): Use it.
21971         [BZ #16760]
21972         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21973         of stpcpy.
21975 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21977         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21978         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21979         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21980         (lll_robust_unlock): Remove out of line section. Use cfi
21981         intrinsics.
21982         (LLL_STUB_UNWIND_INFO*): Remove.
21983         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21984         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21985         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21986         (lll_robust_unlock): Remove out of line section. Use cfi
21987         intrinsics.
21988         (LLL_STUB_UNWIND_INFO*): Remove.
21990 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21992         [BZ #16758]
21993         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21994         blank values.
21996 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21998         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
22000 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
22002         [BZ #16198]
22003         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
22004         fnstenv.
22005         * math/test-fenv-preserve.c: New file.
22006         * math/Makefile (tests): Add test-fenv-preserve.
22008 2014-03-26  Will Newton <will.newton@linaro.org>
22010         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
22012 2014-03-25  Roland McGrath  <roland@hack.frob.com>
22014         * scripts/versionlist.awk: Partition the version sets and emit all
22015         GLIBC_* (sorted) before all others (sorted).
22017 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
22019         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
22020         GLIBC_2.2.5 version.
22022 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22024         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
22025         calls.
22027         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
22028         previous change.
22030         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22032 2014-03-25  Andreas Schwab  <schwab@suse.de>
22034         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
22035         label to be used after in6ailist is initialized.
22037 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22039         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22040         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22042 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
22044         [BZ #16357]
22045         [BZ #16599]
22046         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
22047         min_plus_half.
22048         (fp_formats): Update initializers.
22049         (init_fp_formats): Initialize new field.
22050         (output_for_one_input_case): Allow underflow for results up to
22051         min_plus_half.
22052         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
22053         * math/auto-libm-test-in: Don't mark some underflows from asin and
22054         atanh as spurious.
22055         * math/auto-libm-test-out: Regenerated.
22056         * sysdeps/i386/fpu/libm-test-ulps: Update.
22057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22059 2014-03-25  Andreas Schwab  <schwab@suse.de>
22061         * libio/Makefile (tst-ftell-partial-wide-ENV)
22062         (tst-ftell-active-handler-ENV): Define.
22064 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
22066         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
22068 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22070         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
22072 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
22074         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
22075         * sysdeps/x86_64/fpu/multiarch/e_exp.c
22076         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22078 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22080         [BZ #16634]
22081         * elf/dl-load.c (open_verify): Add mode parameter.
22082         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
22083         (open_path): Change from boolean 'secure' to complete flag 'mode'
22084         (_dl_map_object): Adjust.
22085         * elf/Makefile (tests): Add tst-dlopen-aout.
22086         * elf/tst-dlopen-aout.c: New test.
22088 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
22090         [BZ #16714]
22091         * sysdeps/unix/sysv/linux/s390/bits/stat.h
22092         (struct stat): Rename member pad0 to __glibc_reserved0.
22094         [BZ #16712]
22095         * sysdeps/s390/s390-32/bits/wordsize.h
22096         (__WORDSIZE32_SIZE_ULONG): New define.
22097         * sysdeps/s390/s390-64/bits/wordsize.h
22098         (__WORDSIZE32_SIZE_ULONG): Likewise.
22099         * sysdeps/generic/stdint.h (SIZE_MAX):
22100         Define as UL if __WORDSIZE32_SIZE_ULONG.
22102         [BZ #16713]
22103         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
22104         (__glibc_reserved0): New variable.
22105         (sa_flags): Change type to int.
22107         * posix/Makefile (before-compile): Use += before-compile instead
22108         of a :=.
22110         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22111         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22113 2014-03-20  Andreas Schwab  <schwab@suse.de>
22115         [BZ #16743]
22116         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
22117         non-matching result from nscd.
22119 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22121         * scripts/bench.py: Moved to ...
22122         * benchtests/scripts/bench.py: ... here.
22123         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
22125 2014-03-24  Andreas Schwab  <schwab@suse.de>
22127         [BZ #16002]
22128         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
22129         alloca_account and account alloca use for struct in6ailist.
22131 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
22133         [BZ #16284]
22134         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
22135         rounding mode to recompute results that overflow to infinity or
22136         underflow to zero.
22137         * math/auto-libm-test-in: Don't mark tests as expected to fail for
22138         bug 16284.
22139         * math/auto-libm-test-out: Regenerated.
22140         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
22141         (ccosh_test): Likewise.
22142         (csin_test_data): Use plus_oflow.
22143         (csin_test): Use ALL_RM_TEST.
22144         (csinh_test_data): Use plus_oflow.
22145         (csinh_test): Use ALL_RM_TEST.
22146         * sysdeps/i386/fpu/libm-test-ulps: Update.
22147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22149 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
22151         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
22152         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
22153         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
22155         [BZ #16731]
22156         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
22157         when x - 1 is zero.
22158         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
22159         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
22160         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22161         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
22162         argument is 1.
22163         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
22164         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
22165         zero.
22166         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
22167         * sysdeps/i386/fpu/libm-test-ulps: Update.
22168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22170 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22172         * scripts/bench.pl: Remove file.
22173         * scripts/bench.py: New benchmark script.
22174         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
22175         * benchtests/README: Mention python dependency.
22176         * scripts/pylintrc: New file.
22177         * scripts/pylint: New file.
22179         * bits/mathdef.h: Use #ifdef instead of #if.
22180         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
22181         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22182         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
22183         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22184         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
22185         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22187 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22188             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22190         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
22191         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
22192         and strpbrk-ppc64 objects.
22193         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22194         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
22195         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
22196         multiarch strpbrk for POWER7.
22197         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
22198         multiarch strpbrk for PPC64.
22199         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
22200         ifunc selector.
22201         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
22202         strpbrk for POWER7.
22204 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22206         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
22207         (atan_test): Likewise.
22208         (atanh_test_data): Use NO_TEST_INLINE for two tests.
22209         (atanh_test): Use ALL_RM_TEST.
22210         (atan2_test_data): Likewise.
22211         (cabs_test): Likewise.
22212         (cacosh_test): Likewise.
22213         (carg_test): Likewise.
22214         (casin_test): Likewise.
22215         (casinh_test): Likewise.
22216         (cbrt_test): Likewise.
22217         (csqrt_test): Likewise.
22218         (erf_test): Likewise.
22219         (erfc_test): Likewise.
22220         (pow10_test): Likewise.
22221         (exp2_test): Likewise.
22222         (hypot_test): Likewise.
22223         (j0_test): Likewise.
22224         (j1_test): Likewise.
22225         (lgamma_test): Likewise.
22226         (gamma_test): Likewise.
22227         (sincos_test): Likewise.
22228         (tanh_test): Likewise.
22229         (y0_test): Likewise.
22230         (y1_test): Likewise.
22231         * sysdeps/i386/fpu/libm-test-ulps: Update.
22232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22234 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22236         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
22237         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
22238         and strcspn-ppc64 objects.
22239         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22240         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
22241         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
22242         multiarch strcspn for POWER7.
22243         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
22244         multiarch strcspn for PPC64.
22245         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
22246         ifunc selector.
22247         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
22248         strcspn for POWER7.
22250 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22252         * math/gen-libm-test.pl (generate_testfile): Expect only function
22253         name as argument to AUTO_TESTS_* and pass results for all rounding
22254         modes to parse_args.
22255         (parse_auto_input): Separate inputs of automatic tests from
22256         outputs before storing in %auto_tests.
22257         * math/libm-test.inc (acos_test_data): Update call to
22258         AUTO_TESTS_f_f.
22259         (acos_test): Use ALL_RM_TEST.
22260         (acos_tonearest_test_data): Remove.
22261         (acos_test_tonearest): Likewise.
22262         (acos_towardzero_test_data): Likewise.
22263         (acos_test_towardzero): Likewise.
22264         (acos_downward_test_data): Likewise.
22265         (acos_test_downward): Likewise.
22266         (acos_upward_test_data): Likewise.
22267         (acos_test_upward): Likewise.
22268         (acosh_test_data): Update call to AUTO_TESTS_f_f.
22269         (asin_test_data): Likewise.
22270         (asin_test): Use ALL_RM_TEST.
22271         (asin_tonearest_test_data): Remove.
22272         (asin_test_tonearest): Likewise.
22273         (asin_towardzero_test_data): Likewise.
22274         (asin_test_towardzero): Likewise.
22275         (asin_downward_test_data): Likewise.
22276         (asin_test_downward): Likewise.
22277         (asin_upward_test_data): Likewise.
22278         (asin_test_upward): Likewise.
22279         (asinh_test_data): Update call to AUTO_TESTS_f_f.
22280         (atan_test_data): Likewise.
22281         (atanh_test_data): Likewise.
22282         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
22283         (cabs_test_data): Update call to AUTO_TESTS_c_f.
22284         (carg_test_data): Likewise.
22285         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
22286         (ccos_test_data): Update call to AUTO_TESTS_c_c.
22287         (ccosh_test_data): Likewise.
22288         (cexp_test_data): Likewise.
22289         (clog_test_data): Likewise.
22290         (clog10_test_data): Likewise.
22291         (cos_test_data): Update call to AUTO_TESTS_f_f.
22292         (cos_test): Use ALL_RM_TEST.
22293         (cos_tonearest_test_data): Remove.
22294         (cos_test_tonearest): Likewise.
22295         (cos_towardzero_test_data): Likewise.
22296         (cos_test_towardzero): Likewise.
22297         (cos_downward_test_data): Likewise.
22298         (cos_test_downward): Likewise.
22299         (cos_upward_test_data): Likewise.
22300         (cos_test_upward): Likewise.
22301         (cosh_test_data): Update call to AUTO_TESTS_f_f.
22302         (cosh_test): Use ALL_RM_TEST.
22303         (cosh_tonearest_test_data): Remove.
22304         (cosh_test_tonearest): Likewise.
22305         (cosh_towardzero_test_data): Likewise.
22306         (cosh_test_towardzero): Likewise.
22307         (cosh_downward_test_data): Likewise.
22308         (cosh_test_downward): Likewise.
22309         (cosh_upward_test_data): Likewise.
22310         (cosh_test_upward): Likewise.
22311         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
22312         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
22313         (ctan_test_data): Likewise.
22314         (ctan_test): Use ALL_RM_TEST.
22315         (ctan_tonearest_test_data): Remove.
22316         (ctan_test_tonearest): Likewise.
22317         (ctan_towardzero_test_data): Likewise.
22318         (ctan_test_towardzero): Likewise.
22319         (ctan_downward_test_data): Likewise.
22320         (ctan_test_downward): Likewise.
22321         (ctan_upward_test_data): Likewise.
22322         (ctan_test_upward): Likewise.
22323         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
22324         (ctanh_test): Use ALL_RM_TEST.
22325         (ctanh_tonearest_test_data): Remove.
22326         (ctanh_test_tonearest): Likewise.
22327         (ctanh_towardzero_test_data): Likewise.
22328         (ctanh_test_towardzero): Likewise.
22329         (ctanh_downward_test_data): Likewise.
22330         (ctanh_test_downward): Likewise.
22331         (ctanh_upward_test_data): Likewise.
22332         (ctanh_test_upward): Likewise.
22333         (erf_test_data): Update call to AUTO_TESTS_f_f.
22334         (erfc_test_data): Likewise.
22335         (exp_test_data): Likewise.
22336         (exp_test): Use ALL_RM_TEST.
22337         (exp_tonearest_test_data): Remove.
22338         (exp_test_tonearest): Likewise.
22339         (exp_towardzero_test_data): Likewise.
22340         (exp_test_towardzero): Likewise.
22341         (exp_downward_test_data): Likewise.
22342         (exp_test_downward): Likewise.
22343         (exp_upward_test_data): Likewise.
22344         (exp_test_upward): Likewise.
22345         (exp10_test_data): Update call to AUTO_TESTS_f_f.
22346         (exp10_test): Use ALL_RM_TEST.
22347         (exp10_tonearest_test_data): Remove.
22348         (exp10_test_tonearest): Likewise.
22349         (exp10_towardzero_test_data): Likewise.
22350         (exp10_test_towardzero): Likewise.
22351         (exp10_downward_test_data): Likewise.
22352         (exp10_test_downward): Likewise.
22353         (exp10_upward_test_data): Likewise.
22354         (exp10_test_upward): Likewise.
22355         (exp2_test_data): Update call to AUTO_TESTS_f_f.
22356         (expm1_test_data): Likewise.
22357         (expm1_test): Use ALL_RM_TEST.
22358         (expm1_tonearest_test_data): Remove.
22359         (expm1_test_tonearest): Likewise.
22360         (expm1_towardzero_test_data): Likewise.
22361         (expm1_test_towardzero): Likewise.
22362         (expm1_downward_test_data): Likewise.
22363         (expm1_test_downward): Likewise.
22364         (expm1_upward_test_data): Likewise.
22365         (expm1_test_upward): Likewise.
22366         (fma_test_data): Update call to AUTO_TESTS_fff_f.
22367         (fma_test): Use ALL_RM_TEST.
22368         (fma_towardzero_test_data): Remove.
22369         (fma_test_towardzero): Likewise.
22370         (fma_downward_test_data): Likewise.
22371         (fma_test_downward): Likewise.
22372         (fma_upward_test_data): Likewise.
22373         (fma_test_upward): Likewise.
22374         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
22375         (j0_test_data): Update call to AUTO_TESTS_f_f.
22376         (j1_test_data): Likewise.
22377         (jn_test_data): Update call to AUTO_TESTS_if_f.
22378         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
22379         (log_test_data): Update call to AUTO_TESTS_f_f.
22380         (log10_test_data): Likewise.
22381         (log1p_test_data): Likewise.
22382         (log2_test_data): Likewise.
22383         (pow_test_data): Update call to AUTO_TESTS_ff_f.
22384         (pow_tonearest_test_data): Likewise.
22385         (sin_test_data): Update call to AUTO_TESTS_f_f.
22386         (sin_test): Use ALL_RM_TEST.
22387         (sin_tonearest_test_data): Remove.
22388         (sin_test_tonearest): Likewise.
22389         (sin_towardzero_test_data): Likewise.
22390         (sin_test_towardzero): Likewise.
22391         (sin_downward_test_data): Likewise.
22392         (sin_test_downward): Likewise.
22393         (sin_upward_test_data): Likewise.
22394         (sin_test_upward): Likewise.
22395         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
22396         (sinh_test_data): Update call to AUTO_TESTS_f_f.
22397         (sinh_test): Use ALL_RM_TEST.
22398         (sinh_tonearest_test_data): Remove.
22399         (sinh_test_tonearest): Likewise.
22400         (sinh_towardzero_test_data): Likewise.
22401         (sinh_test_towardzero): Likewise.
22402         (sinh_downward_test_data): Likewise.
22403         (sinh_test_downward): Likewise.
22404         (sinh_upward_test_data): Likewise.
22405         (sinh_test_upward): Likewise.
22406         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
22407         (sqrt_test): Use ALL_RM_TEST.
22408         (sqrt_tonearest_test_data): Remove.
22409         (sqrt_test_tonearest): Likewise.
22410         (sqrt_towardzero_test_data): Likewise.
22411         (sqrt_test_towardzero): Likewise.
22412         (sqrt_downward_test_data): Likewise.
22413         (sqrt_test_downward): Likewise.
22414         (sqrt_upward_test_data): Likewise.
22415         (sqrt_test_upward): Likewise.
22416         (tan_test_data): Update call to AUTO_TESTS_f_f.
22417         (tan_test): Use ALL_RM_TEST.
22418         (tan_tonearest_test_data): Remove.
22419         (tan_test_tonearest): Likewise.
22420         (tan_towardzero_test_data): Likewise.
22421         (tan_test_towardzero): Likewise.
22422         (tan_downward_test_data): Likewise.
22423         (tan_test_downward): Likewise.
22424         (tan_upward_test_data): Likewise.
22425         (tan_test_upward): Likewise.
22426         (tanh_test_data): Update call to AUTO_TESTS_f_f.
22427         (tgamma_test_data): Likewise.
22428         (y0_test_data): Likewise.
22429         (y1_test_data): Likewise.
22430         (yn_test_data): Update call to AUTO_TESTS_if_f.
22431         (main): Do not call removed functions.
22433 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22435         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
22436         (ldexp_test_data): Remove.
22437         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
22438         scalbn_test_data.
22439         (scalb_test): Use ALL_RM_TEST.
22441 2014-03-19  Andreas Schwab  <schwab@suse.de>
22443         * nscd/nscd.service: Also invalidate netgroup cache on reload.
22445 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22447         [BZ #16649]
22448         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22449         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
22450         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
22451         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22452         (__ASSUME_PREADV): Undefine.
22453         (__ASSUME_PWRITEV): Likewise.
22455 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22457         * bits/mman-linux.h: Add comment about non-Linux use.
22458         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
22459         bits/mman-linux.h resting place.
22461         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
22462         * bits/mman-linux.h: ... here.
22464 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22466         * conform/conformtest.pl: Add standard definition when calling C
22467         preprocessor on data files.
22468         (checknamespace): Remove unused variable.
22470 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22472         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
22473         minus_oflow, plus_uflow and minus_uflow in expected results.
22474         * math/libm-test.inc (scalbn_test_data): Add more tests of
22475         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
22476         minus_uflow.
22477         (scalbn_test): Use ALL_RM_TEST.
22478         (scalbln_test_data): Add more tests of negative arguments.  Use
22479         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
22480         (scalbln_test): Use ALL_RM_TEST.
22482 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22484         * scripts/abilist.awk: Ignore symbols marked with .hidden.
22486 2014-03-18  Will Newton  <will.newton@linaro.org>
22488         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
22489         inaccurate comment.
22491 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22493         * Makerules [!subdir] (check-abi): Exit with error status if a
22494         test failed.
22496 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22498         * math/libm-test.inc (nearbyint_test_data): Include all tests used
22499         for rint.  Include results for all rounding modes.
22500         (nearbyint_test): Use ALL_RM_TEST.
22501         (rint_test_data): Include all tests used for nearbyint.
22503 2014-03-17  Will Newton  <will.newton@linaro.org>
22505         * nptl/sysdeps/pthread/pthread.h: Revert previous
22506         change.
22508         * sysdeps/generic/ldsodefs.h: Revert previous
22509         change.
22511         * libio/genops.c: Revert previous change.
22512         * libio/libioP.h: Likewise.
22513         * stdio-common/vfprintf.c: Likewise.
22515         * sysdeps/generic/math_private.h: Revert previous
22516         change.
22518         * sysdeps/generic/math_private.h: Check whether
22519         HAVE_RM_CTX is defined with #ifdef rather
22520         than #if.
22522         * argp/argp-fmtstream.h: Check whether
22523         __STRICT_ANSI__ is defined with #ifdef rather
22524         than #if.
22525         * argp/argp.h: Likewise.
22527         * libio/genops.c: Check whether
22528         _IO_JUMPS_OFFSET is defined with #ifdef rather
22529         than #if.
22530         * libio/libioP.h: Likewise.
22531         * stdio-common/vfprintf.c: Likewise.
22533         * sysdeps/generic/ldsodefs.h: Check whether
22534         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
22535         than #if.
22537         * nptl/sysdeps/pthread/pthread.h: Check
22538         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
22539         its value.
22541 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22543         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
22544         setting O_APPEND.
22545         * libio/tst-ftell-active-handler.c (do_append_test): Add a
22546         test case.
22548         [BZ #16680]
22549         * libio/fileops.c (_IO_file_open): Seek to end of file but
22550         don't cache the offset.
22551         (get_file_offset): Remove function.
22552         (do_ftell): Use cached offset when available.
22553         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
22554         don't cache the offset.
22555         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
22556         case.
22557         (do_one_test): Call it.
22558         (do_ftell_test): Fix up expected old offset for a+ mode.
22559         * libio/wfileops.c (do_ftell_wide): Used cached offset when
22560         available.
22562         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
22563         up test status with function return status.
22564         (do_write_test): Likewise.
22565         (do_append_test): Likewise.
22567         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
22568         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
22569         Remove.
22571 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22573         * math/gen-libm-test.pl (parse_args): Handle results specified for
22574         each rounding mode separately.
22575         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
22576         tests and results from lrint_tonearest_test_data,
22577         lrint_towardzero_test_data, lrint_downward_test_data and
22578         lrint_upward_test_data.
22579         (lrint_test): Use ALL_RM_TEST.
22580         (lrint_tonearest_test_data): Remove.
22581         (lrint_test_tonearest): Likewise.
22582         (lrint_towardzero_test_data): Likewise.
22583         (lrint_test_towardzero): Likewise.
22584         (lrint_downward_test_data): Likewise.
22585         (lrint_test_downward): Likewise.
22586         (lrint_upward_test_data): Likewise.
22587         (lrint_test_upward): Likewise.
22588         (llrint_test_data): Merge in per-rounding-mode tests and results
22589         from llrint_tonearest_test_data, llrint_towardzero_test_data,
22590         llrint_downward_test_data and llrint_upward_test_data.
22591         (llrint_test): Use ALL_RM_TEST.
22592         (llrint_tonearest_test_data): Remove.
22593         (llrint_test_tonearest): Likewise.
22594         (llrint_towardzero_test_data): Likewise.
22595         (llrint_test_towardzero): Likewise.
22596         (llrint_downward_test_data): Likewise.
22597         (llrint_test_downward): Likewise.
22598         (llrint_upward_test_data): Likewise.
22599         (llrint_test_upward): Likewise.
22600         (rint_test_data): Merge in per-rounding-mode tests and results
22601         from rint_tonearest_test_data, rint_towardzero_test_data,
22602         rint_downward_test_data and rint_upward_test_data.  Add
22603         per-rounding-mode results for tests not in those arrays.
22604         (rint_test): Use ALL_RM_TEST.
22605         (rint_tonearest_test_data): Remove.
22606         (rint_test_tonearest): Likewise.
22607         (rint_towardzero_test_data): Likewise.
22608         (rint_test_towardzero): Likewise.
22609         (rint_downward_test_data): Likewise.
22610         (rint_test_downward): Likewise.
22611         (rint_upward_test_data): Likewise.
22612         (rint_test_upward): Likewise.
22613         (main): Don't call removed functions.
22615 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22617         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
22618         "Compiled on ..." crapola.  It is anti-useful.
22620 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
22622         * scripts/evaluate-test.sh: Handle fourth argument to determine
22623         whether test run should stop on failure.
22624         * Makeconfig (stop-on-test-failure): New variable.
22625         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
22626         $(stop-on-test-failure).
22627         * Makefile (tests): Give a summary of results from testing and
22628         exit with failure status if they include an ERROR or FAIL.
22629         (xtests): Likewise.
22630         * manual/install.texi (Configuring and compiling): Mention
22631         stop-on-test-failure=y.
22632         * INSTALL: Regenerated.
22634 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22636         * scripts/versionlist.awk: New file.
22637         * Makerules [$(build-shared) = yes]
22638         (postclean-generated): Add Versions.def, not Versions.def.v and
22639         Versions.def.v.i.
22640         ($(common-objpfx)Versions.def.v.i): Target removed.
22641         ($(common-objpfx)Versions.def): New target.
22642         ($(common-objpfx)Versions.all): Depend on that rather that
22643         $(common-objpfx)Versions.def.v.
22644         * Versions.def: File removed.
22646         * Makeconfig (+gccwarn): Add -Wundef.
22647         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
22648         a dl-sysdep.h breaking its contract.
22649         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
22650         * include/stackinfo.h: New file.
22651         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
22652         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
22653         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
22654         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22655         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
22656         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
22657         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22658         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22659         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22660         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22661         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22662         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
22663         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22664         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22665         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22667 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22669         [BZ #16707]
22670         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22671         implementation.
22672         * math/libm-test.inc (round_test_data): Add more tests.
22674         [BZ #16706]
22675         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22676         implementation.
22677         * math/libm-test.inc (nearbyint_test_data): Add more tests.
22679         [BZ #16701]
22680         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22681         implementation.
22682         * math/libm-test.inc (ceil_test_data): Add more tests.
22684         * math/libm-test.inc (trunc_test_data): Add more tests related to
22685         BZ#16414.
22687 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22689         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22690         with #if rather than #ifdef.
22691         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22693 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
22695         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22696         first.  Disable AVX-512 GCC support if assembler doesn't support
22697         it.
22698         * sysdeps/x86_64/configure: Regenerated.
22700 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
22702         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22703         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22704         (__old_pthread_attr_setstack): Likewise.
22705         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22706         [!_STACK_GROWS_DOWN]: Likewise.
22708 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22710         * config.make.in (have-bash2): Delete.
22711         * configure.ac (libc_cv_have_bash2): Delete.
22712         * configure: Regenerate.
22713         * elf/Makefile (common-ldd-rewrite): Rename to ...
22714         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
22715         (sh-ldd-rewrite): Delete.
22716         (bash-ldd-rewrite): Delete.
22717         (have-bash2): Delete checks.
22718         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22719         ldd-rewrite.
22721         * config.make.in (have-ksh): Delete.
22722         (KSH): Delete.
22723         * configure.ac (libc_cv_have_ksh): Delete.
22724         * configure: Regenerate.
22726         * elf/Makefile: Delete $(have-ksh) check.
22727         ($(objpfx)sotruss): Change KSH to BASH.
22728         * elf/sotruss.ksh: Rename to ...
22729         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22730         function style to match POSIX.  Drop ksh vim mode setting.
22732         * manual/time.texi (Specifying the Time Zone with TZ): Change
22733         Tuesday to Thursday.
22735         * debug/tst-longjmp_chk2.c: Update header comment.
22736         (stackoverflow_handler): Add comment.  Call assert on pass value.
22738 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22740         [BZ #16194]
22741         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22742         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22743         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22744         (La_x86_64_vector): Add zmm.
22745         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22746         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22747         ($(objpfx)tst-audit10): New target.
22748         ($(objpfx)tst-audit10.out): Likewise.
22749         (tst-audit10-ENV): New.
22750         (AVX512-CFLAGS): Likewise.
22751         (CFLAGS-tst-audit10.c): Likewise.
22752         (CFLAGS-tst-auditmod10a.c): Likewise.
22753         (CFLAGS-tst-auditmod10b.c): Likewise.
22754         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22755         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22756         * sysdeps/x86_64/configure: Regenerated.
22757         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22758         AVX-512 zmm register support.
22759         (_dl_x86_64_save_sse): Likewise.
22760         (_dl_x86_64_restore_sse): Likewise.
22761         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22762         size vector registers.
22763         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22764         (ZMM_SIZE): Likewise.
22765         * sysdeps/x86_64/tst-audit10.c: New file.
22766         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22767         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22769 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22771         * configure.ac (HAVE_EHDR_START): New check.
22772         * configure: Regenerated.
22773         * config.h.in (HAVE_EHDR_START): New #undef.
22774         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22775         assuming the lowest-addressed segment maps the start of the file.
22777 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22779         * INSTALL: Regenerated.
22781 2014-03-13  Will Newton  <will.newton@linaro.org>
22783         * manual/setjmp.texi (System V contexts): Improve
22784         clarity and grammar of documentation.
22786 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22788         [BZ #16381]
22789         * elf/Makefile (tests): Add tst-pie2.
22790         (tests-pie): Add tst-pie2.
22791         * elf/tst-pie2.c: New file.
22792         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22793         for ET_EXEC.
22794         * elf/rtld.c (map_doit): Load executable as lt_executable.
22795         (dl_main): Likewise.
22797 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22799         [BZ #16642]
22800         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22801         (__ASSUME_PSELECT): Undefine.
22803 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22805         [BZ #16689]
22806         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22807         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22808         static build.
22809         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22810         selector for static builds.
22812 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22814         [BZ #16695]
22815         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22816         key in the buffer.
22818 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22820         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22821         IFUNC selector for static builds.
22823 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22825         * sysdeps/mips/math_private.h [__mips_hard_float]
22826         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22827         libc_feresetround_mips_ctx.
22828         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22829         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22830         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22832         [BZ #16677]
22833         * math/s_nextafter.c (__nextafter): Do not return value from
22834         overflowing computation.
22835         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22836         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22837         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22838         Likewise.
22839         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22840         Likewise.
22841         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22842         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22844 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22846         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22847         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22848         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22849         the new mov targetting sp.
22851 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22853         [BZ #16683]
22854         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22855         Define it for static builds as well.
22856         (NO_BZERO_IMPL): Likewise.
22858 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22860         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22861         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22862         multiarch strspn for PPC64.
22863         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22864         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22866         (__libc_ifunc_impl_list): Likewise.
22867         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22868         multiarch optimizations
22869         * string/strspn.c (strspn): Using macro to redefine symbol name.
22871 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22872             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22874         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22875         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22876         multiarch strncat for PPC64.
22877         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22878         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22879         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22880         (__libc_ifunc_impl_list): Likewise.
22881         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22882         multiarch optimizations
22884 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22886         [BZ #16639]
22887         * nscd/nscd.service: Make service type forking.
22889 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22891         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22892         sign in non default rounding modes.
22893         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22895 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22897         * math/libm-test.inc (ALL_RM_TEST): New macro.
22898         (ceil_test): Use ALL_RM_TEST.
22899         (cimag_test): Likewise.
22900         (conj_test): Likewise.
22901         (copysign_test): Likewise.
22902         (cproj_test): Likewise.
22903         (creal_test): Likewise.
22904         (fabs_test): Likewise.
22905         (floor_test): Likewise.
22906         (fmax_test): Likewise.
22907         (fmin_test): Likewise.
22908         (fmod_test): Likewise.
22909         (fpclassify_test): Likewise.
22910         (frexp_test): Likewise.
22911         (ilogb_test): Likewise.
22912         (isfinite_test): Likewise.
22913         (finite_test): Likewise.
22914         (isgreater_test): Likewise.
22915         (isgreaterequal_test): Likewise.
22916         (isinf_test): Likewise.
22917         (isless_test): Likewise.
22918         (islessequal_test): Likewise.
22919         (islessgreater_test): Likewise.
22920         (isnan_test): Likewise.
22921         (isnormal_test): Likewise.
22922         (issignaling_test): Likewise.
22923         (isunordered_test): Likewise.
22924         (logb_test): Likewise.
22925         (logb_downward_test_data): Remove.
22926         (logb_test_downward): Likewise.
22927         (lround_test): Use ALL_RM_TEST.
22928         (llround_test): Likewise.
22929         (modf_test): Likewise.
22930         (nexttoward_test): Likewise.
22931         (remainder_test): Likewise.
22932         (drem_test): Likewise.
22933         (remainder_tonearest_test_data): Likewise.
22934         (remainder_test_tonearest): Likewise.
22935         (drem_test_tonearest): Likewise.
22936         (remainder_towardzero_test_data): Likewise.
22937         (remainder_test_towardzero): Likewise.
22938         (drem_test_towardzero): Likewise.
22939         (remainder_downward_test_data): Likewise.
22940         (remainder_test_downward): Likewise.
22941         (drem_test_downward): Likewise.
22942         (remainder_upward_test_data): Likewise.
22943         (remainder_test_upward): Likewise.
22944         (drem_test_upward): Likewise.
22945         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22946         (round_test): Use ALL_RM_TEST.
22947         (signbit_test): Likewise.
22948         (trunc_test): Likewise.
22949         (significand_test): Likewise.
22950         (main): Don't call removed functions.
22952 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22954         [BZ #16674]
22955         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22956         || __USE_XOPEN2K8].
22957         (ILL_ILLOPN): Likewise.
22958         (ILL_ILLADR): Likewise.
22959         (ILL_ILLTRP): Likewise.
22960         (ILL_PRVOPC): Likewise.
22961         (ILL_PRVREG): Likewise.
22962         (ILL_COPROC): Likewise.
22963         (ILL_BADSTK): Likewise.
22964         (FPE_INTDIV): Likewise.
22965         (FPE_INTOVF): Likewise.
22966         (FPE_FLTDIV): Likewise.
22967         (FPE_FLTOVF): Likewise.
22968         (FPE_FLTUND): Likewise.
22969         (FPE_FLTRES): Likewise.
22970         (FPE_FLTINV): Likewise.
22971         (FPE_FLTSUB): Likewise.
22972         (SEGV_MAPERR): Likewise.
22973         (SEGV_ACCERR): Likewise.
22974         (BUS_ADRALN): Likewise.
22975         (BUS_ADRERR): Likewise.
22976         (BUS_OBJERR): Likewise.
22977         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22978         (TRAP_TRACE): Likewise.
22979         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22980         __USE_XOPEN2K8].
22981         (CLD_KILLED): Likewise.
22982         (CLD_DUMPED): Likewise.
22983         (CLD_TRAPPED): Likewise.
22984         (CLD_STOPPED): Likewise.
22985         (CLD_CONTINUED): Likewise.
22986         (POLL_IN): Likewise.
22987         (POLL_OUT): Likewise.
22988         (POLL_MSG): Likewise.
22989         (POLL_ERR): Likewise.
22990         (POLL_PRI): Likewise.
22991         (POLL_HUP): Likewise.
22992         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22993         Likewise.
22994         (ILL_ILLOPN): Likewise.
22995         (ILL_ILLADR): Likewise.
22996         (ILL_ILLTRP): Likewise.
22997         (ILL_PRVOPC): Likewise.
22998         (ILL_PRVREG): Likewise.
22999         (ILL_COPROC): Likewise.
23000         (ILL_BADSTK): Likewise.
23001         (FPE_INTDIV): Likewise.
23002         (FPE_INTOVF): Likewise.
23003         (FPE_FLTDIV): Likewise.
23004         (FPE_FLTOVF): Likewise.
23005         (FPE_FLTUND): Likewise.
23006         (FPE_FLTRES): Likewise.
23007         (FPE_FLTINV): Likewise.
23008         (FPE_FLTSUB): Likewise.
23009         (SEGV_MAPERR): Likewise.
23010         (SEGV_ACCERR): Likewise.
23011         (BUS_ADRALN): Likewise.
23012         (BUS_ADRERR): Likewise.
23013         (BUS_OBJERR): Likewise.
23014         (BUS_MCEERR_AR): Likewise.
23015         (BUS_MCEERR_AO): Likewise.
23016         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23017         (TRAP_TRACE): Likewise.
23018         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23019         __USE_XOPEN2K8].
23020         (CLD_KILLED): Likewise.
23021         (CLD_DUMPED): Likewise.
23022         (CLD_TRAPPED): Likewise.
23023         (CLD_STOPPED): Likewise.
23024         (CLD_CONTINUED): Likewise.
23025         (POLL_IN): Likewise.
23026         (POLL_OUT): Likewise.
23027         (POLL_MSG): Likewise.
23028         (POLL_ERR): Likewise.
23029         (POLL_PRI): Likewise.
23030         (POLL_HUP): Likewise.
23031         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
23032         (ILL_ILLOPN): Likewise.
23033         (ILL_ILLADR): Likewise.
23034         (ILL_ILLTRP): Likewise.
23035         (ILL_PRVOPC): Likewise.
23036         (ILL_PRVREG): Likewise.
23037         (ILL_COPROC): Likewise.
23038         (ILL_BADSTK): Likewise.
23039         (FPE_INTDIV): Likewise.
23040         (FPE_INTOVF): Likewise.
23041         (FPE_FLTDIV): Likewise.
23042         (FPE_FLTOVF): Likewise.
23043         (FPE_FLTUND): Likewise.
23044         (FPE_FLTRES): Likewise.
23045         (FPE_FLTINV): Likewise.
23046         (FPE_FLTSUB): Likewise.
23047         (SEGV_MAPERR): Likewise.
23048         (SEGV_ACCERR): Likewise.
23049         (BUS_ADRALN): Likewise.
23050         (BUS_ADRERR): Likewise.
23051         (BUS_OBJERR): Likewise.
23052         (BUS_MCEERR_AR): Likewise.
23053         (BUS_MCEERR_AO): Likewise.
23054         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23055         (TRAP_TRACE): Likewise.
23056         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23057         __USE_XOPEN2K8].
23058         (CLD_KILLED): Likewise.
23059         (CLD_DUMPED): Likewise.
23060         (CLD_TRAPPED): Likewise.
23061         (CLD_STOPPED): Likewise.
23062         (CLD_CONTINUED): Likewise.
23063         (POLL_IN): Likewise.
23064         (POLL_OUT): Likewise.
23065         (POLL_MSG): Likewise.
23066         (POLL_ERR): Likewise.
23067         (POLL_PRI): Likewise.
23068         (POLL_HUP): Likewise.
23069         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
23070         Likewise.
23071         (ILL_ILLOPN): Likewise.
23072         (ILL_ILLADR): Likewise.
23073         (ILL_ILLTRP): Likewise.
23074         (ILL_PRVOPC): Likewise.
23075         (ILL_PRVREG): Likewise.
23076         (ILL_COPROC): Likewise.
23077         (ILL_BADSTK): Likewise.
23078         (ILL_BADIADDR): Likewise.
23079         (ILL_BREAK): Likewise.
23080         (FPE_INTDIV): Likewise.
23081         (FPE_INTOVF): Likewise.
23082         (FPE_FLTDIV): Likewise.
23083         (FPE_FLTOVF): Likewise.
23084         (FPE_FLTUND): Likewise.
23085         (FPE_FLTRES): Likewise.
23086         (FPE_FLTINV): Likewise.
23087         (FPE_FLTSUB): Likewise.
23088         (FPE_DECOVF): Likewise.
23089         (FPE_DECDIV): Likewise.
23090         (FPE_DECERR): Likewise.
23091         (FPE_INVASC): Likewise.
23092         (FPE_INVDEC): Likewise.
23093         (SEGV_MAPERR): Likewise.
23094         (SEGV_ACCERR): Likewise.
23095         (SEGV_PSTKOVF): Likewise.
23096         (BUS_ADRALN): Likewise.
23097         (BUS_ADRERR): Likewise.
23098         (BUS_OBJERR): Likewise.
23099         (BUS_MCEERR_AR): Likewise.
23100         (BUS_MCEERR_AO): Likewise.
23101         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23102         (TRAP_TRACE): Likewise.
23103         (TRAP_BRANCH): Likewise.
23104         (TRAP_HWBKPT): Likewise.
23105         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23106         __USE_XOPEN2K8].
23107         (CLD_KILLED): Likewise.
23108         (CLD_DUMPED): Likewise.
23109         (CLD_TRAPPED): Likewise.
23110         (CLD_STOPPED): Likewise.
23111         (CLD_CONTINUED): Likewise.
23112         (POLL_IN): Likewise.
23113         (POLL_OUT): Likewise.
23114         (POLL_MSG): Likewise.
23115         (POLL_ERR): Likewise.
23116         (POLL_PRI): Likewise.
23117         (POLL_HUP): Likewise.
23118         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
23119         (ILL_ILLOPN): Likewise.
23120         (ILL_ILLADR): Likewise.
23121         (ILL_ILLTRP): Likewise.
23122         (ILL_PRVOPC): Likewise.
23123         (ILL_PRVREG): Likewise.
23124         (ILL_COPROC): Likewise.
23125         (ILL_BADSTK): Likewise.
23126         (FPE_INTDIV): Likewise.
23127         (FPE_INTOVF): Likewise.
23128         (FPE_FLTDIV): Likewise.
23129         (FPE_FLTOVF): Likewise.
23130         (FPE_FLTUND): Likewise.
23131         (FPE_FLTRES): Likewise.
23132         (FPE_FLTINV): Likewise.
23133         (FPE_FLTSUB): Likewise.
23134         (SEGV_MAPERR): Likewise.
23135         (SEGV_ACCERR): Likewise.
23136         (BUS_ADRALN): Likewise.
23137         (BUS_ADRERR): Likewise.
23138         (BUS_OBJERR): Likewise.
23139         (BUS_MCEERR_AR): Likewise.
23140         (BUS_MCEERR_AO): Likewise.
23141         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23142         (TRAP_TRACE): Likewise.
23143         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23144         __USE_XOPEN2K8].
23145         (CLD_KILLED): Likewise.
23146         (CLD_DUMPED): Likewise.
23147         (CLD_TRAPPED): Likewise.
23148         (CLD_STOPPED): Likewise.
23149         (CLD_CONTINUED): Likewise.
23150         (POLL_IN): Likewise.
23151         (POLL_OUT): Likewise.
23152         (POLL_MSG): Likewise.
23153         (POLL_ERR): Likewise.
23154         (POLL_PRI): Likewise.
23155         (POLL_HUP): Likewise.
23156         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
23157         (ILL_ILLOPN): Likewise.
23158         (ILL_ILLADR): Likewise.
23159         (ILL_ILLTRP): Likewise.
23160         (ILL_PRVOPC): Likewise.
23161         (ILL_PRVREG): Likewise.
23162         (ILL_COPROC): Likewise.
23163         (ILL_BADSTK): Likewise.
23164         (FPE_INTDIV): Likewise.
23165         (FPE_INTOVF): Likewise.
23166         (FPE_FLTDIV): Likewise.
23167         (FPE_FLTOVF): Likewise.
23168         (FPE_FLTUND): Likewise.
23169         (FPE_FLTRES): Likewise.
23170         (FPE_FLTINV): Likewise.
23171         (FPE_FLTSUB): Likewise.
23172         (SEGV_MAPERR): Likewise.
23173         (SEGV_ACCERR): Likewise.
23174         (BUS_ADRALN): Likewise.
23175         (BUS_ADRERR): Likewise.
23176         (BUS_OBJERR): Likewise.
23177         (BUS_MCEERR_AR): Likewise.
23178         (BUS_MCEERR_AO): Likewise.
23179         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23180         (TRAP_TRACE): Likewise.
23181         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23182         __USE_XOPEN2K8].
23183         (CLD_KILLED): Likewise.
23184         (CLD_DUMPED): Likewise.
23185         (CLD_TRAPPED): Likewise.
23186         (CLD_STOPPED): Likewise.
23187         (CLD_CONTINUED): Likewise.
23188         (POLL_IN): Likewise.
23189         (POLL_OUT): Likewise.
23190         (POLL_MSG): Likewise.
23191         (POLL_ERR): Likewise.
23192         (POLL_PRI): Likewise.
23193         (POLL_HUP): Likewise.
23194         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
23195         (ILL_ILLOPN): Likewise.
23196         (ILL_ILLADR): Likewise.
23197         (ILL_ILLTRP): Likewise.
23198         (ILL_PRVOPC): Likewise.
23199         (ILL_PRVREG): Likewise.
23200         (ILL_COPROC): Likewise.
23201         (ILL_BADSTK): Likewise.
23202         (FPE_INTDIV): Likewise.
23203         (FPE_INTOVF): Likewise.
23204         (FPE_FLTDIV): Likewise.
23205         (FPE_FLTOVF): Likewise.
23206         (FPE_FLTUND): Likewise.
23207         (FPE_FLTRES): Likewise.
23208         (FPE_FLTINV): Likewise.
23209         (FPE_FLTSUB): Likewise.
23210         (SEGV_MAPERR): Likewise.
23211         (SEGV_ACCERR): Likewise.
23212         (BUS_ADRALN): Likewise.
23213         (BUS_ADRERR): Likewise.
23214         (BUS_OBJERR): Likewise.
23215         (BUS_MCEERR_AR): Likewise.
23216         (BUS_MCEERR_AO): Likewise.
23217         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23218         (TRAP_TRACE): Likewise.
23219         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23220         __USE_XOPEN2K8].
23221         (CLD_KILLED): Likewise.
23222         (CLD_DUMPED): Likewise.
23223         (CLD_TRAPPED): Likewise.
23224         (CLD_STOPPED): Likewise.
23225         (CLD_CONTINUED): Likewise.
23226         (POLL_IN): Likewise.
23227         (POLL_OUT): Likewise.
23228         (POLL_MSG): Likewise.
23229         (POLL_ERR): Likewise.
23230         (POLL_PRI): Likewise.
23231         (POLL_HUP): Likewise.
23232         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
23233         (ILL_ILLOPN): Likewise.
23234         (ILL_ILLADR): Likewise.
23235         (ILL_ILLTRP): Likewise.
23236         (ILL_PRVOPC): Likewise.
23237         (ILL_PRVREG): Likewise.
23238         (ILL_COPROC): Likewise.
23239         (ILL_BADSTK): Likewise.
23240         (ILL_DBLFLT): Likewise.
23241         (ILL_HARDWALL): Likewise.
23242         (FPE_INTDIV): Likewise.
23243         (FPE_INTOVF): Likewise.
23244         (FPE_FLTDIV): Likewise.
23245         (FPE_FLTOVF): Likewise.
23246         (FPE_FLTUND): Likewise.
23247         (FPE_FLTRES): Likewise.
23248         (FPE_FLTINV): Likewise.
23249         (FPE_FLTSUB): Likewise.
23250         (SEGV_MAPERR): Likewise.
23251         (SEGV_ACCERR): Likewise.
23252         (BUS_ADRALN): Likewise.
23253         (BUS_ADRERR): Likewise.
23254         (BUS_OBJERR): Likewise.
23255         (BUS_MCEERR_AR): Likewise.
23256         (BUS_MCEERR_AO): Likewise.
23257         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23258         (TRAP_TRACE): Likewise.
23259         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23260         __USE_XOPEN2K8].
23261         (CLD_KILLED): Likewise.
23262         (CLD_DUMPED): Likewise.
23263         (CLD_TRAPPED): Likewise.
23264         (CLD_STOPPED): Likewise.
23265         (CLD_CONTINUED): Likewise.
23266         (POLL_IN): Likewise.
23267         (POLL_OUT): Likewise.
23268         (POLL_MSG): Likewise.
23269         (POLL_ERR): Likewise.
23270         (POLL_PRI): Likewise.
23271         (POLL_HUP): Likewise.
23272         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
23273         (ILL_ILLOPN): Likewise.
23274         (ILL_ILLADR): Likewise.
23275         (ILL_ILLTRP): Likewise.
23276         (ILL_PRVOPC): Likewise.
23277         (ILL_PRVREG): Likewise.
23278         (ILL_COPROC): Likewise.
23279         (ILL_BADSTK): Likewise.
23280         (FPE_INTDIV): Likewise.
23281         (FPE_INTOVF): Likewise.
23282         (FPE_FLTDIV): Likewise.
23283         (FPE_FLTOVF): Likewise.
23284         (FPE_FLTUND): Likewise.
23285         (FPE_FLTRES): Likewise.
23286         (FPE_FLTINV): Likewise.
23287         (FPE_FLTSUB): Likewise.
23288         (SEGV_MAPERR): Likewise.
23289         (SEGV_ACCERR): Likewise.
23290         (BUS_ADRALN): Likewise.
23291         (BUS_ADRERR): Likewise.
23292         (BUS_OBJERR): Likewise.
23293         (BUS_MCEERR_AR): Likewise.
23294         (BUS_MCEERR_AO): Likewise.
23295         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23296         (TRAP_TRACE): Likewise.
23297         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23298         __USE_XOPEN2K8].
23299         (CLD_KILLED): Likewise.
23300         (CLD_DUMPED): Likewise.
23301         (CLD_TRAPPED): Likewise.
23302         (CLD_STOPPED): Likewise.
23303         (CLD_CONTINUED): Likewise.
23304         (POLL_IN): Likewise.
23305         (POLL_OUT): Likewise.
23306         (POLL_MSG): Likewise.
23307         (POLL_ERR): Likewise.
23308         (POLL_PRI): Likewise.
23309         (POLL_HUP): Likewise.
23310         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
23311         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23313         [BZ #16670]
23314         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
23315         before #include of <time.h>.
23316         [!__USE_XOPEN2K] (__need_timespec): Likewise.
23317         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
23318         (test-xfail-UNIX98/sched.h/conform): Likewise.
23320 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23322         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
23323         error absence of trapping exception support.
23324         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23326 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
23328         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
23329         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
23330         * timezone/Makefile (testdata): Move definition above include of
23331         Rules.
23332         (test-zones): New variable.
23333         (tests-special): Add zone files.
23334         (build-testdata): Use $(evaluate-test).
23336         * elf/Makefile (tests-special): Rename tests to end with .out.
23337         ($(objpfx)noload-mem): Likewise.
23338         ($(objpfx)tst-leaks1-mem): Likewise.
23339         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
23340         * iconv/Makefile (xtests-special): Change test-iconvconfig to
23341         $(objpfx)test-iconvconfig.out.
23342         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
23343         set -e inside subshell and redirect output to file.
23344         * iconvdata/Makefile (generated): Rename tests to end with .out.
23345         Correct type.
23346         (tests-special): Rename tests to end with .out.
23347         ($(objpfx)mtrace-tst-loading): Likewise.
23348         * intl/Makefile (generated): Likewise.
23349         (tests-special): Likewise.
23350         ($(objpfx)mtrace-tst-gettext): Likewise.
23351         * misc/Makefile (generated): Likewise.
23352         (tests-special): Likewise.
23353         ($(objpfx)tst-error1-mem): Likewise.
23354         * nptl/Makefile (tests-special): Likewise.
23355         ($(objpfx)tst-stack3-mem): Likewise.
23356         (generated): Likewise.
23357         * posix/Makefile (generated): Likewise.
23358         (tests-special): Likewise.
23359         (xtests-special): Likewise.
23360         ($(objpfx)tst-fnmatch-mem): Likewise.
23361         ($(objpfx)bug-regex2-mem): Likewise.
23362         ($(objpfx)bug-regex14-mem): Likewise.
23363         ($(objpfx)bug-regex21-mem): Likewise.
23364         ($(objpfx)bug-regex31-mem): Likewise.
23365         ($(objpfx)tst-vfork3-mem): Likewise.
23366         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23367         ($(objpfx)tst-pcre-mem): Likewise.
23368         ($(objpfx)tst-boost-mem): Likewise.
23369         ($(objpfx)bug-ga2-mem): Likewise.
23370         ($(objpfx)bug-glob2-mem): Likewise.
23371         * resolv/Makefile (generate): Likewise.
23372         (tests-special): Likewise.
23373         (xtests-special): Likewise.
23374         (generated): Likewise.
23375         ($(objpfx)mtrace-tst-leaks): Likewise.
23376         ($(objpfx)mtrace-tst-leaks2): Likewise.
23378         * scripts/merge-test-results.sh: New file.
23379         * Makefile (tests-special-notdir): New variable.
23380         (tests): Run merge-test-results.sh.
23381         (xtests): Likewise.
23382         * Rules (tests-special-notdir): New variable.
23383         (xtests-special-notdir): Likewise.
23384         (tests): Run merge-test-results.sh
23385         (xtests): Likewise.
23387         * Makeconfig (test-xfail-name): New variable.
23388         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
23389         compute variable name for expected failures.
23390         * conform/Makefile (conformtest-headers-data): New variable.
23391         (conformtest-standards): Likewise.
23392         (conformtest-headers-ISO): Likewise.
23393         (conformtest-headers-ISO99): Likewise.
23394         (conformtest-headers-ISO11): Likewise.
23395         (conformtest-headers-POSIX): Likewise.
23396         (conformtest-headers-XPG3): Likewise.
23397         (conformtest-headers-XPG4): Likewise.
23398         (conformtest-headers-UNIX98): Likewise.
23399         (conformtest-headers-XOPEN2K): Likewise.
23400         (conformtest-headers-POSIX2008): Likewise.
23401         (conformtest-headers-XOPEN2K8): Likewise.
23402         (conformtest-header-list-base): Likewise.
23403         (conformtest-header-list-tests): Likewise.
23404         (conformtest-header-base): Likewise.
23405         (conformtest-header-tests): Likewise.
23406         (tests-special): Add $(conformtest-header-list-tests).  If
23407         [$(fast-check) && !$(cross-compiling)], add
23408         $(conformtest-header-tests) instead of
23409         $(objpfx)run-conformtest.out.
23410         (generated): Add $(conformtest-header-list-base).  If
23411         [$(fast-check) && !$(cross-compiling)], add
23412         $(conformtest-header-base).  Remove previous setting.
23413         ($(conformtest-header-list-tests)): New target.
23414         (test-xfail-run-conformtest): Remove variable.
23415         ($(objpfx)run-conformtest.out): Remove target.
23416         (test-xfail-ISO11/complex.h/conform): New variable.
23417         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23418         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23419         (test-xfail-XPG3/varargs.h/conform): Likewise.
23420         (test-xfail-XPG4/varargs.h/conform): Likewise.
23421         (test-xfail-UNIX98/varargs.h/conform): Likewise.
23422         (test-xfail-XPG4/ndbm.h/conform): Likewise.
23423         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
23424         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
23425         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
23426         (test-xfail-XPG3/fcntl.h/conform): Likewise.
23427         (test-xfail-XPG3/ftw.h/conform): Likewise.
23428         (test-xfail-XPG3/grp.h/conform): Likewise.
23429         (test-xfail-XPG3/langinfo.h/conform): Likewise.
23430         (test-xfail-XPG3/limits.h/conform): Likewise.
23431         (test-xfail-XPG3/pwd.h/conform): Likewise.
23432         (test-xfail-XPG3/search.h/conform): Likewise.
23433         (test-xfail-XPG3/signal.h/conform): Likewise.
23434         (test-xfail-XPG3/stdio.h/conform): Likewise.
23435         (test-xfail-XPG3/stdlib.h/conform): Likewise.
23436         (test-xfail-XPG3/string.h/conform): Likewise.
23437         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
23438         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
23439         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
23440         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
23441         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
23442         (test-xfail-XPG3/sys/types.h/conform): Likewise.
23443         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
23444         (test-xfail-XPG3/termios.h/conform): Likewise.
23445         (test-xfail-XPG3/time.h/conform): Likewise.
23446         (test-xfail-XPG3/unistd.h/conform): Likewise.
23447         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
23448         (test-xfail-XPG4/fcntl.h/conform): Likewise.
23449         (test-xfail-XPG4/langinfo.h/conform): Likewise.
23450         (test-xfail-XPG4/netdb.h/conform): Likewise.
23451         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
23452         (test-xfail-XPG4/signal.h/conform): Likewise.
23453         (test-xfail-XPG4/stdio.h/conform): Likewise.
23454         (test-xfail-XPG4/stdlib.h/conform): Likewise.
23455         (test-xfail-XPG4/stropts.h/conform): Likewise.
23456         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
23457         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
23458         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
23459         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
23460         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
23461         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
23462         (test-xfail-XPG4/sys/time.h/conform): Likewise.
23463         (test-xfail-XPG4/sys/types.h/conform): Likewise.
23464         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
23465         (test-xfail-XPG4/termios.h/conform): Likewise.
23466         (test-xfail-XPG4/ucontext.h/conform): Likewise.
23467         (test-xfail-XPG4/unistd.h/conform): Likewise.
23468         (test-xfail-XPG4/utmpx.h/conform): Likewise.
23469         (test-xfail-POSIX/sched.h/conform): Likewise.
23470         (test-xfail-POSIX/signal.h/conform): Likewise.
23471         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23472         (test-xfail-POSIX/tar.h/conform): Likewise.
23473         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
23474         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
23475         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
23476         (test-xfail-UNIX98/netdb.h/conform): Likewise.
23477         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
23478         (test-xfail-UNIX98/sched.h/conform): Likewise.
23479         (test-xfail-UNIX98/signal.h/conform): Likewise.
23480         (test-xfail-UNIX98/stdio.h/conform): Likewise.
23481         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
23482         (test-xfail-UNIX98/stropts.h/conform): Likewise.
23483         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
23484         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
23485         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
23486         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
23487         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
23488         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
23489         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
23490         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
23491         (test-xfail-UNIX98/unistd.h/conform): Likewise.
23492         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
23493         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
23494         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
23495         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
23496         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
23497         (test-xfail-XOPEN2K/math.h/conform): Likewise.
23498         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
23499         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
23500         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
23501         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
23502         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
23503         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
23504         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
23505         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
23506         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
23507         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
23508         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
23509         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
23510         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
23511         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
23512         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
23513         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23514         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
23515         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
23516         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
23517         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
23518         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
23519         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
23520         (test-xfail-POSIX2008/signal.h/conform): Likewise.
23521         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
23522         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
23523         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
23524         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
23525         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
23526         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
23527         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23528         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
23529         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
23530         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
23531         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
23532         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
23533         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
23534         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
23535         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
23536         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
23537         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
23538         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
23539         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
23540         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
23541         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23542         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23543         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
23544         (conformtest-cc-flags): Likewise.
23545         ($(conformtest-header-tests): New target.
23546         * conform/check-header-lists.sh: New file.
23547         * conform/run-conformtest.sh: Remove.
23549         * conform/conformtest.pl: Allow ' and \ in values given for
23550         constants.
23551         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
23552         inclusion.
23553         [POSIX] (sys/types.h): Likewise.
23554         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
23555         inclusion.
23556         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
23557         inclusion.
23558         * conform/data/signal.h-data (SIGIO): Remove expectation.
23559         [XPG3] (SIGBUS): Do not expect.
23560         [POSIX || XPG3] (SIGPOLL): Likewise.
23561         [POSIX || XPG3] (SIGPROF): Likewise.
23562         [POSIX || XPG3] (SIGSYS): Likewise.
23563         [XPG3] (SIGTRAP): Likewise.
23564         [POSIX || XPG3] (SIGURG): Likewise.
23565         [POSIX || XPG3] (SIGVTALRM): Likewise.
23566         [POSIX || XPG3] (SIGXCPU): Likewise.
23567         [POSIX || XPG3] (SIGXFSZ): Likewise.
23568         [POSIX] (SA_SIGINFO): Expect.
23569         [XPG3] (siginfo_t): Do not expect type or contents.
23570         [POSIX] (si_pid): Do not expect element.
23571         [POSIX] (si_uid): Likewise.
23572         [POSIX] (si_addr): Likewise.
23573         [POSIX] (si_status): Likewise.
23574         [POSIX] (si_band): Likewise.
23575         [XPG4] (si_value): Likewise.
23576         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
23577         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
23578         [POSIX || XPG3] (ILL_ILLADR): Likewise.
23579         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
23580         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
23581         [POSIX || XPG3] (ILL_PRVREG): Likewise.
23582         [POSIX || XPG3] (ILL_COPROC): Likewise.
23583         [POSIX || XPG3] (ILL_BADSTK): Likewise.
23584         [POSIX || XPG3] (FPE_INTDIV): Likewise.
23585         [POSIX || XPG3] (FPE_INTOVF): Likewise.
23586         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
23587         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
23588         [POSIX || XPG3] (FPE_FLTUND): Likewise.
23589         [POSIX || XPG3] (FPE_FLTRES): Likewise.
23590         [POSIX || XPG3] (FPE_FLTINV): Likewise.
23591         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
23592         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
23593         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
23594         [POSIX || XPG3] (BUS_ADRALN): Likewise.
23595         [POSIX || XPG3] (BUS_ADRERR): Likewise.
23596         [POSIX || XPG3] (BUS_OBJERR): Likewise.
23597         [POSIX || XPG3] (CLD_EXITED): Likewise.
23598         [POSIX || XPG3] (CLD_KILLED): Likewise.
23599         [POSIX || XPG3] (CLD_DUMPED): Likewise.
23600         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
23601         [POSIX || XPG3] (CLD_STOPPED): Likewise.
23602         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
23603         [POSIX || XPG3] (POLL_IN): Likewise.
23604         [POSIX || XPG3] (POLL_OUT): Likewise.
23605         [POSIX || XPG3] (POLL_MSG): Likewise.
23606         [POSIX || XPG3] (POLL_ERR): Likewise.
23607         [POSIX || XPG3] (POLL_PRI): Likewise.
23608         [POSIX || XPG3] (POLL_HUP): Likewise.
23609         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
23610         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
23611         (SIG*): Do not allow.
23612         [XPG3] (si_*): Likewise.
23613         [XPG3] (SI_*): Likewise.
23614         [XPG3 || XPG4] (sigev_*): Likewise.
23615         [XPG3 || XPG4] (SIGEV_*): Likewise.
23616         [XPG3 || XPG4] (sival_*): Likewise.
23617         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
23618         [POSIX || XPG3] (BUS_*): Likewise.
23619         [POSIX || XPG3] (CLD_*): Likewise.
23620         [POSIX || XPG3] (FPE_*): Likewise.
23621         [POSIX || XPG3] (ILL_*): Likewise.
23622         [POSIX || XPG3] (POLL_*): Likewise.
23623         [POSIX || XPG3] (SEGV_*): Likewise.
23624         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
23625         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
23626         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
23627         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
23628         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
23629         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
23630         Specify type and value.
23631         (TVERSLEN): Likewise.
23632         (REGTYPE): Likewise.
23633         (AREGTYPE): Likewise.
23634         (LNKTYPE): Likewise.
23635         (SYMTYPE): Likewise.
23636         (CHRTYPE): Likewise.
23637         (BLKTYPE): Likewise.
23638         (DIRTYPE): Likewise.
23639         (FIFOTYPE): Likewise.
23640         (CONTTYPE): Likewise.
23641         (TSUID): Likewise.
23642         (TSGID): Likewise.
23643         (TSVTX): Likewise.
23644         (TUREAD): Likewise.
23645         (TUWRITE): Likewise.
23646         (TUEXEC): Likewise.
23647         (TGREAD): Likewise.
23648         (TGWRITE): Likewise.
23649         (TGEXEC): Likewise.
23650         (TOREAD): Likewise.
23651         (TOWRITE): Likewise.
23652         (TOEXEC): Likewise.
23653         [POSIX] (TSVTX): Expect constant.
23655 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
23657         * Makefile (tests): Change dependencies to ....
23658         (tests-special): ... additions to this variable.
23659         (tests): Depend on $(tests-special).
23660         * Makerules (check-abi-list): New variable.
23661         (check-abi): Depend on $(check-abi-list).
23662         [$(subdir) = elf] (tests-special): Add
23663         $(objpfx)check-abi-libc.out.
23664         [$(build-shared) = yes && subdir] (tests-special): Add
23665         $(check-abi-list).
23666         [$(build-shared) = yes && subdir] (tests): Do not depend on
23667         check-abi.
23668         * Rules (tests): Depend on $(tests-special).
23669         (xtests): Depend on $(xtests-special).
23670         * catgets/Makefile (tests): Change dependencies to ....
23671         (tests-special): ... additions to this variable.
23672         * conform/Makefile (tests): Change dependencies to ....
23673         (tests-special): ... additions to this variable.
23674         * elf/Makefile (tests): Change dependencies to ....
23675         (tests-special): ... additions to this variable.
23676         * grp/Makefile (tests): Change dependencies to ....
23677         (tests-special): ... additions to this variable.
23678         * iconv/Makefile (xtests): Change dependencies to ....
23679         (xtests-special): ... additions to this variable.
23680         * iconvdata/Makefile (tests): Change dependencies to ....
23681         (tests-special): ... additions to this variable.
23682         * intl/Makefile (tests): Change dependencies to ....
23683         (tests-special): ... additions to this variable.  Also add
23684         $(objpfx)tst-gettext.out.
23685         * io/Makefile (tests): Change dependencies to ....
23686         (tests-special): ... additions to this variable.
23687         * libio/Makefile (tests): Change dependencies to ....
23688         (tests-special): ... additions to this variable.
23689         * malloc/Makefile (tests): Change dependencies to ....
23690         (tests-special): ... additions to this variable.
23691         * misc/Makefile (tests): Change dependencies to ....
23692         (tests-special): ... additions to this variable.
23693         * nptl/Makefile (tests): Change dependencies to ....
23694         (tests-special): ... additions to this variable.
23695         * nptl_db/Makefile (tests): Change dependencies to ....
23696         (tests-special): ... additions to this variable.
23697         * posix/Makefile (tests): Change dependencies to ....
23698         (tests-special): ... additions to this variable.
23699         (xtests): Change dependencies to ....
23700         (xtests-special): ... additions to this variable.
23701         * resolv/Makefile (tests): Change dependencies to ....
23702         (tests-special): ... additions to this variable.
23703         (xtests): Change dependencies to ....
23704         (xtests-special): ... additions to this variable.
23705         * stdio-common/Makefile (tests): Change dependencies to ....
23706         (tests-special): ... additions to this variable.
23707         (do-tst-unbputc): Remove target.
23708         (do-tst-printf): Likewise.
23709         * stdlib/Makefile (tests): Change dependencies to ....
23710         (tests-special): ... additions to this variable.
23711         * string/Makefile (tests): Change dependencies to ....
23712         (tests-special): ... additions to this variable.
23713         * sysdeps/x86/Makefile (tests): Change dependencies to ....
23714         (tests-special): ... additions to this variable.
23716         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23717         whole file.
23718         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23719         whole file.
23720         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23721         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23723         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23724         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23725         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23726         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23727         * conform/data/libgen.h-data [XPG3]: Likewise.
23728         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23729         * conform/data/ndbm.h-data [XPG3]: Likewise.
23730         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23731         * conform/data/netdb.h-data [XPG3]: Likewise.
23732         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23733         * conform/data/poll.h-data [XPG3]: Likewise.
23734         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23735         * conform/data/strings.h-data [XPG3]: Likewise.
23736         * conform/data/stropts.h-data [XPG3]: Likewise.
23737         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23738         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23739         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23740         Likewise.
23741         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23742         * conform/data/sys/time.h-data [XPG3]: Likewise.
23743         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23744         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23745         * conform/data/sys/un.h-data [XPG3]: Likewise.
23746         * conform/data/syslog.h-data [XPG3]: Likewise.
23747         * conform/data/ucontext.h-data [XPG3]: Likewise.
23748         * conform/data/utmpx.h-data [XPG3]: Likewise.
23749         * conform/data/varargs.h-data [UNIX98]: Enable file.
23751         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23753         * math/libm-test.inc (struct test_f_f_data): Move expected results
23754         into structure for each rounding mode.
23755         (struct test_ff_f_data): Likewise.
23756         (struct test_ff_f_data_nexttoward): Likewise.
23757         (struct test_fi_f_data): Likewise.
23758         (struct test_fl_f_data): Likewise.
23759         (struct test_if_f_data): Likewise.
23760         (struct test_fff_f_data): Likewise.
23761         (struct test_c_f_data): Likewise.
23762         (struct test_f_f1_data): Likewise.
23763         (struct test_fF_f1_data): Likewise.
23764         (struct test_ffI_f1_data): Likewise.
23765         (struct test_c_c_data): Likewise.
23766         (struct test_cc_c_data): Likewise.
23767         (struct test_f_i_data): Likewise.
23768         (struct test_ff_i_data): Likewise.
23769         (struct test_f_l_data): Likewise.
23770         (struct test_f_L_data): Likewise.
23771         (struct test_fFF_11_data): Likewise.
23772         (RM_): New macro.
23773         (RM_FE_DOWNWARD): Likewise.
23774         (RM_FE_TONEAREST): Likewise.
23775         (RM_FE_TOWARDZERO): Likewise.
23776         (RM_FE_UPWARD): Likewise.
23777         (RUN_TEST_LOOP_f_f): Update references to expected results.
23778         (RUN_TEST_LOOP_2_f): Likewise.
23779         (RUN_TEST_LOOP_fff_f): Likewise.
23780         (RUN_TEST_LOOP_c_f): Likewise.
23781         (RUN_TEST_LOOP_f_f1): Likewise.
23782         (RUN_TEST_LOOP_fF_f1): Likewise.
23783         (RUN_TEST_LOOP_fI_f1): Likewise.
23784         (RUN_TEST_LOOP_ffI_f1): Likewise.
23785         (RUN_TEST_LOOP_c_c): Likewise.
23786         (RUN_TEST_LOOP_cc_c): Likewise.
23787         (RUN_TEST_LOOP_f_i): Likewise.
23788         (RUN_TEST_LOOP_f_i_tg): Likewise.
23789         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23790         (RUN_TEST_LOOP_f_b): Likewise.
23791         (RUN_TEST_LOOP_f_b_tg): Likewise.
23792         (RUN_TEST_LOOP_f_l): Likewise.
23793         (RUN_TEST_LOOP_f_L): Likewise.
23794         (RUN_TEST_LOOP_fFF_11): Likewise.
23795         * math/gen-libm-test.pl (parse_args): Output four copies of
23796         expected results for each test.
23798         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23799         (__ASSUME_UTIMES): Remove.
23800         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23801         (__ASSUME_UTIMES): Likewise.
23803         * math/gen-auto-libm-tests.c: Update comment on output format.
23804         (output_for_one_input_case): Generate before-rounding and
23805         after-rounding information as conditions on output flags not
23806         floating-point format.
23807         * math/auto-libm-test-out: Regenerated.
23808         * math/gen-libm-test.pl (cond_value): New function.
23809         (or_cond_value): Use cond_value.
23810         (generate_testfile): Handle conditional exceptions.
23812 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23814         * math/libm-test.inc (max_valid_error): New variable.
23815         (init_max_error): Take new argument specifying whether function
23816         results are exactly determined.  Set max_valid_error and bound
23817         other variables for errors based on this argument.
23818         (set_max_error): Do not record results above max_valid_error.
23819         (check_float_internal): Only accept errors of up to 0.5ulps if
23820         also at most max_valid_error.
23821         (START): Take new argument EXACT and pass it to init_max_error.
23822         (acos_test): Update call to START.
23823         (acos_test_tonearest): Likewise.
23824         (acos_test_towardzero): Likewise.
23825         (acos_test_downward): Likewise.
23826         (acos_test_upward): Likewise.
23827         (acosh_test): Likewise.
23828         (asin_test): Likewise.
23829         (asin_test_tonearest): Likewise.
23830         (asin_test_towardzero): Likewise.
23831         (asin_test_downward): Likewise.
23832         (asin_test_upward): Likewise.
23833         (asinh_test): Likewise.
23834         (atan_test): Likewise.
23835         (atanh_test): Likewise.
23836         (atan2_test): Likewise.
23837         (cabs_test): Likewise.
23838         (cacos_test): Likewise.
23839         (cacosh_test): Likewise.
23840         (carg_test): Likewise.
23841         (casin_test): Likewise.
23842         (casinh_test): Likewise.
23843         (catan_test): Likewise.
23844         (catanh_test): Likewise.
23845         (cbrt_test): Likewise.
23846         (ccos_test): Likewise.
23847         (ccosh_test): Likewise.
23848         (ceil_test): Likewise.
23849         (cexp_test): Likewise.
23850         (cimag_test): Likewise.
23851         (clog_test): Likewise.
23852         (clog10_test): Likewise.
23853         (conj_test): Likewise.
23854         (copysign_test): Likewise.
23855         (cos_test): Likewise.
23856         (cos_test_tonearest): Likewise.
23857         (cos_test_towardzero): Likewise.
23858         (cos_test_downward): Likewise.
23859         (cos_test_upward): Likewise.
23860         (cosh_test): Likewise.
23861         (cosh_test_tonearest): Likewise.
23862         (cosh_test_towardzero): Likewise.
23863         (cosh_test_downward): Likewise.
23864         (cosh_test_upward): Likewise.
23865         (cpow_test): Likewise.
23866         (cproj_test): Likewise.
23867         (creal_test): Likewise.
23868         (csin_test): Likewise.
23869         (csinh_test): Likewise.
23870         (csqrt_test): Likewise.
23871         (ctan_test): Likewise.
23872         (ctan_test_tonearest): Likewise.
23873         (ctan_test_towardzero): Likewise.
23874         (ctan_test_downward): Likewise.
23875         (ctan_test_upward): Likewise.
23876         (ctanh_test): Likewise.
23877         (ctanh_test_tonearest): Likewise.
23878         (ctanh_test_towardzero): Likewise.
23879         (ctanh_test_downward): Likewise.
23880         (ctanh_test_upward): Likewise.
23881         (erf_test): Likewise.
23882         (erfc_test): Likewise.
23883         (exp_test): Likewise.
23884         (exp_test_tonearest): Likewise.
23885         (exp_test_towardzero): Likewise.
23886         (exp_test_downward): Likewise.
23887         (exp_test_upward): Likewise.
23888         (exp10_test): Likewise.
23889         (exp10_test_tonearest): Likewise.
23890         (exp10_test_towardzero): Likewise.
23891         (exp10_test_downward): Likewise.
23892         (exp10_test_upward): Likewise.
23893         (pow10_test): Likewise.
23894         (exp2_test): Likewise.
23895         (expm1_test): Likewise.
23896         (expm1_test_tonearest): Likewise.
23897         (expm1_test_towardzero): Likewise.
23898         (expm1_test_downward): Likewise.
23899         (expm1_test_upward): Likewise.
23900         (fabs_test): Likewise.
23901         (fdim_test): Likewise.
23902         (floor_test): Likewise.
23903         (fma_test): Likewise.
23904         (fma_test_towardzero): Likewise.
23905         (fma_test_downward): Likewise.
23906         (fma_test_upward): Likewise.
23907         (fmax_test): Likewise.
23908         (fmin_test): Likewise.
23909         (fmod_test): Likewise.
23910         (fpclassify_test): Likewise.
23911         (frexp_test): Likewise.
23912         (hypot_test): Likewise.
23913         (ilogb_test): Likewise.
23914         (isfinite_test): Likewise.
23915         (finite_test): Likewise.
23916         (isgreater_test): Likewise.
23917         (isgreaterequal_test): Likewise.
23918         (isinf_test): Likewise.
23919         (isless_test): Likewise.
23920         (islessequal_test): Likewise.
23921         (islessgreater_test): Likewise.
23922         (isnan_test): Likewise.
23923         (isnormal_test): Likewise.
23924         (issignaling_test): Likewise.
23925         (isunordered_test): Likewise.
23926         (j0_test): Likewise.
23927         (j1_test): Likewise.
23928         (jn_test): Likewise.
23929         (ldexp_test): Likewise.
23930         (lgamma_test): Likewise.
23931         (gamma_test): Likewise.
23932         (lrint_test): Likewise.
23933         (lrint_test_tonearest): Likewise.
23934         (lrint_test_towardzero): Likewise.
23935         (lrint_test_downward): Likewise.
23936         (lrint_test_upward): Likewise.
23937         (llrint_test): Likewise.
23938         (llrint_test_tonearest): Likewise.
23939         (llrint_test_towardzero): Likewise.
23940         (llrint_test_downward): Likewise.
23941         (llrint_test_upward): Likewise.
23942         (log_test): Likewise.
23943         (log10_test): Likewise.
23944         (log1p_test): Likewise.
23945         (log2_test): Likewise.
23946         (logb_test): Likewise.
23947         (logb_test_downward): Likewise.
23948         (lround_test): Likewise.
23949         (llround_test): Likewise.
23950         (modf_test): Likewise.
23951         (nearbyint_test): Likewise.
23952         (nextafter_test): Likewise.
23953         (nexttoward_test): Likewise.
23954         (pow_test): Likewise.
23955         (pow_test_tonearest): Likewise.
23956         (pow_test_towardzero): Likewise.
23957         (pow_test_downward): Likewise.
23958         (pow_test_upward): Likewise.
23959         (remainder_test): Likewise.
23960         (drem_test): Likewise.
23961         (remainder_test_tonearest): Likewise.
23962         (drem_test_tonearest): Likewise.
23963         (remainder_test_towardzero): Likewise.
23964         (drem_test_towardzero): Likewise.
23965         (remainder_test_downward): Likewise.
23966         (drem_test_downward): Likewise.
23967         (remainder_test_upward): Likewise.
23968         (drem_test_upward): Likewise.
23969         (remquo_test): Likewise.
23970         (rint_test): Likewise.
23971         (rint_test_tonearest): Likewise.
23972         (rint_test_towardzero): Likewise.
23973         (rint_test_downward): Likewise.
23974         (rint_test_upward): Likewise.
23975         (round_test): Likewise.
23976         (scalb_test): Likewise.
23977         (scalbn_test): Likewise.
23978         (scalbln_test): Likewise.
23979         (signbit_test): Likewise.
23980         (sin_test): Likewise.
23981         (sin_test_tonearest): Likewise.
23982         (sin_test_towardzero): Likewise.
23983         (sin_test_downward): Likewise.
23984         (sin_test_upward): Likewise.
23985         (sincos_test): Likewise.
23986         (sinh_test): Likewise.
23987         (sinh_test_tonearest): Likewise.
23988         (sinh_test_towardzero): Likewise.
23989         (sinh_test_downward): Likewise.
23990         (sinh_test_upward): Likewise.
23991         (sqrt_test): Likewise.
23992         (sqrt_test_tonearest): Likewise.
23993         (sqrt_test_towardzero): Likewise.
23994         (sqrt_test_downward): Likewise.
23995         (sqrt_test_upward): Likewise.
23996         (tan_test): Likewise.
23997         (tan_test_tonearest): Likewise.
23998         (tan_test_towardzero): Likewise.
23999         (tan_test_downward): Likewise.
24000         (tan_test_upward): Likewise.
24001         (tanh_test): Likewise.
24002         (tgamma_test): Likewise.
24003         (trunc_test): Likewise.
24004         (y0_test): Likewise.
24005         (y1_test): Likewise.
24006         (yn_test): Likewise.
24007         (significand_test): Likewise.
24009         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
24010         individual tests in comment.
24011         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
24012         (prev_max_error): New variable.
24013         (prev_real_max_error): Likewise.
24014         (prev_imag_max_error): Likewise.
24015         (compare_ulp_data): Don't refer to test names in comment.
24016         (find_test_ulps): Remove function.
24017         (find_function_ulps): Likewise.
24018         (find_complex_function_ulps): Likewise.
24019         (init_max_error): Take function name as argument.  Look up ulps
24020         for that function.
24021         (print_ulps): Remove function.
24022         (print_max_error): Use prev_max_error instead of calling
24023         find_function_ulps.
24024         (print_complex_max_error): Use prev_real_max_error and
24025         prev_imag_max_error instead of calling find_complex_function_ulps.
24026         (check_float_internal): Take max_ulp parameter instead of calling
24027         find_test_ulps.  Don't call print_ulps.
24028         (check_float): Update call to check_float_internal.
24029         (check_complex): Update calls to check_float_internal.
24030         (START): Pass argument to init_max_error.
24031         * math/gen-libm-test.pl (%results): Don't include "kind"
24032         information.
24033         (parse_ulps): Don't handle ulps of individual tests.
24034         (print_ulps_file): Likewise.
24035         (output_ulps): Likewise.
24036         * math/README.libm-test: Update.
24037         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
24038         individual tests.
24039         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
24040         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
24041         * sysdeps/arm/libm-test-ulps: Likewise.
24042         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24043         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
24044         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
24045         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
24046         * sysdeps/microblaze/libm-test-ulps: Likewise.
24047         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24048         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24049         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24050         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24051         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24052         * sysdeps/sh/libm-test-ulps: Likewise.
24053         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24054         * sysdeps/tile/libm-test-ulps: Likewise.
24055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24057 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
24059         * math/libm-test.inc (print_complex_max_error): Check separately
24060         whether real and imaginary errors are within allowed range and
24061         pass 0 to print_complex_function_ulps instead of value within
24062         allowed range.
24064 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24066         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
24067         formatting.
24068         (get_handles_fopen): Likewise.
24069         (do_write_test): Likewise.
24071         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
24073         * libio/fileops.c (do_ftell): Use cached offset when
24074         available.
24075         * libio/iofwide.c (do_ftell_wide): Likewise.
24076         * libio/iofdopen.c (_IO_new_fdopen): Don't use
24077         _IO_file_attach.
24078         * libio/wfileops.c (_IO_fwide): Don't cache offset.
24080         [BZ #16532]
24081         * libio/libioP.h (get_file_offset): New function.
24082         * libio/fileops.c (get_file_offset): Likewise.
24083         (do_ftell): Likewise.
24084         (_IO_new_file_seekoff): Split out ftell logic.
24085         * libio/wfileops.c (do_ftell_wide): Likewise.
24086         (_IO_wfile_seekoff): Split out ftell logic.
24087         * libio/tst-ftell-active-handler.c: New test case.
24088         * libio/Makefile (tests): Add it.
24090 2014-03-03  Roland McGrath  <roland@hack.frob.com>
24092         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
24093         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
24095 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24097         [BZ #16639]
24098         * nscd/connections.c (nscd_init): Call do_exit.
24099         (start_threads): Call do_exit and notify_parent.
24100         (begin_drop_privileges): Call do_exit.
24101         (finish_drop_privileges): Likewise.
24102         * nscd/selinux.c (preserve_capabilities): Likewise.
24103         (install_real_capabilities): Likewise.
24104         (nscd_selinux_enabled): Likewise.
24105         (avc_create_thread): Likewise.
24106         (avc_alloc_lock): Likewise.
24107         (nscd_avc_init): Likewise.
24108         * nscd/nscd.c (parent_fd): New static variable.
24109         (main): Create a pipe between parent and child processes.
24110         Skip closing parent_fd.
24111         (monitor_child): New function.
24112         (do_exit): Likewise.
24113         (notify_parent): Likewise.
24114         * nscd/nscd.h (notify_parent): Likewise.
24115         (do_exit): Likewise.
24117 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
24119         * malloc/malloc.c (__libc_calloc): Revert last change.
24121 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24123         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24125 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24127         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
24128         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
24129         implementation.
24130         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24131         (__libc_ifunc_impl_list): Likewise.
24132         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
24133         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
24134         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
24135         * string/strrchr.c: Define STRRCHR.
24137 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
24139         * benchtest/bench-strtok.c (simple_strtok): Delete.
24140         (strtok_string): Use as benchmark.
24141         * string/strtok (STRTOK): New macro.
24143 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
24145         * manual/threads.texi: Add header and standard comments to all
24146         functions.
24148         * elf/dl-lookup.c (check_match): New function.
24149         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
24150         (do_lookup_x): Remove nested function check_match. Use non-nested
24151         function check_match.
24153 2014-02-28  Roland McGrath  <roland@hack.frob.com>
24155         * csu/Makefile (generated, before-compile): Use += rather than =.
24156         * catgets/Makefile (generated, generated-dirs): Likewise.
24157         * debug/Makefile (generated): Likewise.
24158         * dlfcn/Makefile (generated): Likewise.
24159         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
24160         * iconvdata/Makefile (before-compile, generated): Likewise.
24161         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
24162         * libio/Makefile (generated): Likewise.
24163         * malloc/Makefile (generated): Likewise.
24164         * manual/Makefile (generated, generated-dirs): Likewise.
24165         * misc/Makefile (generated): Likewise.
24166         * posix/Makefile (generated): Likewise.
24167         * resolv/Makefile (generated): Likewise.
24168         * sunrpc/Makefile (generated, generated-dirs): Likewise.
24169         * timezone/Makefile (generated, generated-dirs): Likewise.
24171         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
24173 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24175         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24176         power8 implementation.
24177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
24178         file: POWER8 llround ifunc implementation.
24179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24180         (__lllround): Add POWER8 implementation.
24181         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
24182         POWER8 llround implementation.
24184         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
24185         power8 implementation.
24186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
24187         file: POWER8 llrint ifunc implementation.
24188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
24189         Add POWER8 implementation.
24190         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
24191         POWER8 llrint implementation.
24193         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
24194         power8 implementation.
24195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
24196         file: POWER8 finite ifunc implementation.
24197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
24198         Add POWER8 implementation.
24199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
24200         Likewise.
24201         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
24202         POWER8 finite implementation.
24203         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
24205         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
24206         power8 implementation.
24207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
24208         file: POWER8 isinf ifunc implementation.
24209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
24210         POWER8 implementation.
24211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
24212         Likewise.
24213         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
24214         isinf implementation.
24215         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
24217         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24218         (INIT_ARCH): Add hwcap2 initialization.
24219         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24220         power8 implementation.
24221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
24222         file: POWER8 isnan ifunc implementation.
24223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
24224         POWER8 implementation.
24225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
24226         Likewise.
24227         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
24228         isnan implementation.
24229         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
24231 2014-02-27  Joey Ye  <joey.ye@arm.com>
24233         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24234         (_FP_NANFRAC_Q): Set to zero.
24236 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24238         [BZ #16623]
24239         * math/auto-libm-test-in: New test inputs.
24240         * math/auto-libm-test-out: Regenerate.
24241         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
24242         and DA.
24243         (__cos): Likewise.
24244         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24246 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
24248         * scripts/evaluate-test.sh: Take new argument indicating whether
24249         failure is expected.
24250         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
24251         indicating whether failure is expected.
24252         * conform/Makefile (test-xfail-run-conformtest): New variable.
24253         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
24254         level.
24255         * posix/Makefile (test-xfail-annexc): New variable.
24256         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
24258 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
24260         * argp/Makefile: Include Makeconfig immediately after defining
24261         subdir.
24262         * assert/Makefile: Likewise.
24263         * benchtests/Makefile: Likewise.
24264         * catgets/Makefile: Likewise.
24265         * conform/Makefile: Likewise.
24266         * crypt/Makefile: Likewise.
24267         * csu/Makefile: Likewise.
24268         (all): Remove target.
24269         * ctype/Makefile: Include Makeconfig immediately after defining
24270         subdir.
24271         * debug/Makefile: Likewise.
24272         * dirent/Makefile: Likewise.
24273         * dlfcn/Makefile: Likewise.
24274         * gmon/Makefile: Likewise.
24275         * gnulib/Makefile: Likewise.
24276         * grp/Makefile: Likewise.
24277         * gshadow/Makefile: Likewise.
24278         * hesiod/Makefile: Likewise.
24279         * hurd/Makefile: Likewise.
24280         (all): Remove target.
24281         * iconvdata/Makefile: Include Makeconfig immediately after
24282         defining subdir.
24283         * inet/Makefile: Likewise.
24284         * intl/Makefile: Likewise.
24285         * io/Makefile: Likewise.
24286         * libio/Makefile: Likewise.
24287         (all): Remove target.
24288         * locale/Makefile: Include Makeconfig immediately after defining
24289         subdir.
24290         * login/Makefile: Likewise.
24291         * mach/Makefile: Likewise.
24292         (all): Remove target.
24293         * malloc/Makefile: Include Makeconfig immediately after defining
24294         subdir.
24295         (all): Remove target.
24296         * manual/Makefile: Include Makeconfig immediately after defining
24297         subdir.
24298         * math/Makefile: Likewise.
24299         * misc/Makefile: Likewise.
24300         * nis/Makefile: Likewise.
24301         * nss/Makefile: Likewise.
24302         * po/Makefile: Likewise.
24303         (all): Remove target.
24304         * posix/Makefile: Include Makeconfig immediately after defining
24305         subdir.
24306         * pwd/Makefile: Likewise.
24307         * resolv/Makefile: Likewise.
24308         * resource/Makefile: Likewise.
24309         * rt/Makefile: Likewise.
24310         * setjmp/Makefile: Likewise.
24311         * shadow/Makefile: Likewise.
24312         * signal/Makefile: Likewise.
24313         * socket/Makefile: Likewise.
24314         * soft-fp/Makefile: Likewise.
24315         * stdio-common/Makefile: Likewise.
24316         * stdlib/Makefile: Likewise.
24317         * streams/Makefile: Likewise.
24318         * string/Makefile: Likewise.
24319         * sunrpc/Makefile: Likewise.
24320         (all): Remove target.
24321         * sysvipc/Makefile: Include Makeconfig immediately after defining
24322         subdir.
24323         * termios/Makefile: Likewise.
24324         * time/Makefile: Likewise.
24325         * timezone/Makefile: Likewise.
24326         (all): Remove target.
24327         * wcsmbs/Makefile: Include Makeconfig immediately after defining
24328         subdir.
24329         * wctype/Makefile: Likewise.
24331 2014-02-26  Steve Ellcey  <sellcey@mips.com>
24333         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
24334         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
24335         (libc_feholdexcept_setround_mips): Ditto.
24336         (libc_feholdsetround): New.
24337         (libc_feholdsetroundf): New.
24338         (libc_feholdsetroundl): New.
24339         (libc_feupdateenv_test_mips): New.
24340         (libc_feupdateenv_test): New.
24341         (libc_feupdateenv_testf): New.
24342         (libc_feupdateenv_testl): New.
24343         (libc_feresetround): New.
24344         (libc_feresetroundf): New.
24345         (libc_feresetroundl): New.
24346         (libc_fetestexcept_mips): New.
24347         (libc_fetestexcept): New.
24348         (libc_fetestexceptf): New.
24349         (libc_fetestexceptl): New.
24350         (HAVE_RM_CTX): New.
24351         (libc_feholdexcept_setround_mips_ctx): New.
24352         (libc_feholdexcept_setround_ctx): New.
24353         (libc_feholdexcept_setroundf_ctx): New.
24354         (libc_feholdexcept_setroundl_ctx): New.
24355         (libc_fesetenv_mips_ctx): New.
24356         (libc_fesetenv_ctx): New.
24357         (libc_fesetenv_ctxf): New.
24358         (libc_fesetenv_ctxl): New.
24359         (libc_feupdateenv_mips_ctx): New.
24360         (libc_feupdateenv_ctx): New.
24361         (libc_feupdateenvf_ctx): New.
24362         (libc_feupdateenvl_ctx): New.
24363         (libc_feholdsetround_mips_ctx): New.
24364         (libc_feholdsetround_ctx): New.
24365         (libc_feholdsetroundf_ctx): New.
24366         (libc_feholdsetroundl_ctx): New.
24367         (libc_feresetround_mips_ctx): New.
24368         (libc_feresetround_ctx): New.
24369         (libc_feresetroundf_ctx): New.
24370         (libc_feresetroundl_ctx): New.
24372 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
24374         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
24376         * manual/ipc.texi: New file.
24377         * manual/Makefile (chapters): Add ipc.
24378         * manual/job.texi: Add "Inter-Process Communication" to next.
24379         * manual/process.texi: Add "Inter-Process Communication" to prev.
24381 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24385 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
24387         * malloc/malloc.c (__libc_calloc): Simplify implementation.
24389         * manual/arith.texi: Fix spaces after sentences.
24390         * manual/charset.texi: Likewise.
24391         * manual/errno.texi: Likewise.
24392         * manual/install.texi: Likewise.
24393         * manual/llio.texi: Likewise.
24394         * manual/locale.texi: Likewise.
24395         * manual/maint.texi: Likewise.
24396         * manual/math.texi: Likewise.
24397         * manual/memory.texi: Likewise.
24398         * manual/message.texi: Likewise.
24399         * manual/probes.texi: Likewise.
24400         * manual/resource.texi: Likewise.
24401         * manual/signal.texi: Likewise.
24402         * manual/socket.texi: Likewise.
24403         * manual/stdio.texi: Likewise.
24404         * manual/string.texi: Likewise.
24405         * manual/time.texi: Likewise.
24406         * manual/users.texi: Likewise.
24408 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
24410         [BZ #16632]
24411         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
24412         _DEFAULT_SOURCE is defined.
24414 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
24415             Carlos O'Donell  <carlos@redhat.com>
24417         [BZ #16613]
24418         * elf/dl-tls.c (_dl_count_modids): New function.
24419         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
24420         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
24421         audit library and increment generation counter.
24422         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
24423         * elf/tst-audit9.c: New file.
24424         * elf/tst-auditmod9a.c: New file.
24425         * elf/tst-auditmod9b.c: New file.
24426         * elf/Makefile: Add rules to build and run tst-audit9.
24428 2014-02-25  Florian Weimer  <fweimer@redhat.com>
24430         [BZ #15347]
24431         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
24433 2014-02-25  Will Newton  <will.newton@linaro.org>
24435         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
24436         (__longjmp): Restore sp and lr before restoring callee
24437         saved registers.  Add longjmp and longjmp_target
24438         SystemTap probe point.
24439         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
24440         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
24441         Define to zero to match jmpbuf layout.
24442         * sysdeps/arm/setjmp.S: Include stap-probe.h.
24443         (__sigsetjmp): Save sp and lr before saving callee
24444         saved registers.  Add setjmp SystemTap probe point.
24446 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24448         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24450 2014-02-24  Andreas Schwab  <schwab@suse.de>
24452         [BZ #15804]
24453         * elf/pldd.c (wait_for_ptrace_stop): New function.
24454         (main): Call it after attaching.
24456 2014-02-22  Roland McGrath  <roland@hack.frob.com>
24458         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
24459         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
24460         Versions files is now verboten.
24461         * hurd/Versions (libc: GLIBC_2.0):
24462         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
24463         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
24464         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
24465         * mach/Versions: Likewise.
24467         * csu/Versions: Remove unused %include.
24468         * resolv/Versions: Likewise.
24470 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
24472         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
24473         ($(objpfx)check-local-headers.out): Likewise.
24474         ($(objpfx)begin-end-check.out): Likewise.
24475         * Makerules (check-abi-%.out): Likewise.
24476         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
24477         ($(objpfx)test2.cat): Likewise.
24478         ($(objpfx)de/libc.cat): Likewise.
24479         ($(objpfx)test-gencat.out): Likewise.
24480         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
24481         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
24482         ($(objpfx)noload-mem): Likewise.
24483         ($(objpfx)tst-pathopt.out): Likewise.
24484         ($(objpfx)tst-rtld-load-self.out): Likewise.
24485         ($(objpfx)tst-array1-cmp.out): Likewise.
24486         ($(objpfx)tst-array1-static-cmp.out): Likewise.
24487         ($(objpfx)tst-array2-cmp.out): Likewise.
24488         ($(objpfx)tst-array3-cmp.out): Likewise.
24489         ($(objpfx)tst-array4-cmp.out): Likewise.
24490         ($(objpfx)tst-array5-cmp.out): Likewise.
24491         ($(objpfx)tst-array5-static-cmp.out): Likewise.
24492         ($(objpfx)check-textrel.out): Likewise.
24493         ($(objpfx)check-execstack.out): Likewise.
24494         ($(objpfx)check-localplt.out): Likewise.
24495         ($(objpfx)order2-cmp.out): Likewise.
24496         ($(objpfx)tst-leaks1-mem): Likewise.
24497         ($(objpfx)tst-leaks1-static-mem): Likewise.
24498         ($(objpfx)tst-initorder-cmp.out): Likewise.
24499         ($(objpfx)tst-initorder2-cmp.out): Likewise.
24500         ($(objpfx)tst-unused-dep.out): Likewise.
24501         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
24502         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
24503         * iconv/Makefile (test-iconvconfig): Likewise.
24504         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
24505         ($(objpfx)iconv-test.out): Likewise.
24506         ($(objpfx)tst-tables.out): Likewise.
24507         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
24508         ($(objpfx)tst-gettext.out): Likewise.
24509         ($(objpfx)tst-translit.out): Likewise.
24510         ($(objpfx)tst-gettext2.out): Likewise.
24511         ($(objpfx)tst-gettext4.out): Likewise.
24512         ($(objpfx)tst-gettext6.out): Likewise.
24513         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
24514         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
24515         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
24516         ($(objpfx)tst-fopenloc-mem.out): Likewise.
24517         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
24518         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
24519         * posix/Makefile ($(objpfx)globtest.out): Likewise.
24520         ($(objpfx)wordexp-tst.out): Likewise.
24521         ($(objpfx)annexc.out): Likewise.
24522         ($(objpfx)tst-fnmatch-mem): Likewise.
24523         ($(objpfx)bug-regex2-mem): Likewise.
24524         ($(objpfx)bug-regex14-mem): Likewise.
24525         ($(objpfx)bug-regex21-mem): Likewise.
24526         ($(objpfx)bug-regex31-mem): Likewise.
24527         ($(objpfx)tst-vfork3-mem): Likewise.
24528         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24529         ($(objpfx)tst-pcre-mem): Likewise.
24530         ($(objpfx)tst-boost-mem): Likewise.
24531         ($(objpfx)tst-getconf.out): Likewise.
24532         ($(objpfx)bug-ga2-mem): Likewise.
24533         ($(objpfx)bug-glob2-mem): Likewise.
24534         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
24535         ($(objpfx)mtrace-tst-leaks2): Likewise.
24536         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
24537         ($(objpfx)tst-printf.out): Likewise.
24538         ($(objpfx)tst-setvbuf1.out): Likewise.
24539         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
24540         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
24541         ($(objpfx)tst-fmtmsg.out): Likewise.
24542         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
24543         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
24545         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
24546         * bits/sigaction.h [__USE_MISC]: Likewise.
24547         * bits/waitstatus.h: Update #endif comments.
24548         * ctype/ctype.h: Likewise.
24549         * dirent/dirent.h: Likewise.
24550         [__USE_MISC]: Remove redundant conditionals.
24551         * grp/grp.h: Update #endif comments.
24552         [__USE_GNU]: Remove redundant conditionals.
24553         [__USE_MISC]: Likewise.
24554         * inet/netinet/in.h [__USE_GNU]: Likewise.
24555         * io/sys/stat.h [__USE_MISC]: Likewise.
24556         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
24557         * libio/bits/stdio.h: Update #endif comments.
24558         [__USE_MISC]: Remove redundant conditionals.
24559         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
24560         * libio/stdio.h: Update #endif comments.
24561         [__USE_MISC]: Remove redundant conditionals.
24562         * math/bits/math-finite.h [__USE_MISC]: Likewise.
24563         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
24564         * math/math.h: Update #else and #endif comments.
24565         [__USE_MISC]: Remove redundant conditionals.
24566         * misc/sys/uio.h: Update #endif comments.
24567         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
24568         * posix/glob.h [__USE_MISC]: Likewise.
24569         * posix/sys/types.h: Update #endif comments.
24570         [__USE_MISC]: Remove redundant conditionals.
24571         * posix/sys/wait.h: Update #endif comments.
24572         [__USE_MISC]: Remove redundant conditionals.
24573         * posix/unistd.h: Update #endif comments.
24574         [__USE_MISC]: Remove redundant conditionals.
24575         * pwd/pwd.h [__USE_GNU]: Likewise.
24576         [__USE_MISC]: Likewise.
24577         * resolv/netdb.h [__USE_GNU]: Likewise.
24578         * signal/signal.h: Update #endif comments.
24579         [__USE_MISC]: Remove redundant conditionals.
24580         * stdlib/stdlib.h: Update #else and #endif comments.
24581         [__USE_MISC]: Remove redundant conditionals.
24582         [__USE_GNU]: Likewise.
24583         * string/bits/string2.h [__USE_MISC]: Likewise.
24584         * string/string.h: Update #endif comments.
24585         [__USE_MISC]: Remove redundant conditionals.
24586         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
24587         Likewise.
24588         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
24589         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
24590         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
24591         Likewise.
24592         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
24593         Likewise.
24594         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
24595         comments.
24596         [__USE_MISC]: Remove redundant conditionals.
24597         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
24598         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
24599         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
24600         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
24601         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
24602         Likewise.
24603         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
24604         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
24605         Likewise.
24606         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
24607         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
24608         Likewise.
24609         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
24610         Likewise.
24611         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
24612         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
24613         Likewise.
24614         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
24615         Likewise.
24616         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
24617         * sysdeps/x86/bits/string.h: Update #endif comments.
24618         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
24619         conditionals.
24620         * time/sys/time.h: Update #endif comments.
24621         * time/time.h: Likewise.
24622         [__USE_MISC]: Remove redundant conditionals.
24624 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
24626         [BZ #16600]
24627         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
24629 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
24631         * Versions.def (librt): Add GLIBC_2.17.
24633 2014-02-21  Adam Conrad  <adconrad@0c3.net>
24635         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
24636         synonym for _SYS_AUXV_H to allow direct inclusion.
24637         * sysdeps/sparc/bits/hwcap.h: Likewise.
24638         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
24639         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
24640         * sysdeps/sparc/sysdep.h: Likewise.
24642 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24644         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
24646 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24648         * benchtests/bench-strrchr.c: Print length instead of position.
24650 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
24652         [BZ #16611]
24653         * sysdeps/unix/sysv/linux/kernel-features.h
24654         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
24655         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24656         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
24657         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
24658         Likewise.
24659         [__i386__ || __powerpc__ || __sh__ || __sparc__]
24660         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24661         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
24662         (__ASSUME_SENDMMSG): Define instead of using previous
24663         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
24664         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24665         (__ASSUME_SENDMMSG_SYSCALL): Define.
24666         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24667         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
24668         Likewise.
24669         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24670         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24671         Likewise.
24672         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24673         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24674         Likewise.
24675         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24676         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24677         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24678         [__ASSUME_SENDMMSG]: Change conditionals to
24679         [__ASSUME_SENDMMSG_SOCKETCALL].
24680         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24681         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24682         Define.
24683         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24684         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24685         Likewise.
24686         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24687         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24688         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24689         [!__ASSUME_SENDMMSG]: Change conditional to
24690         [!__ASSUME_SENDMMSG_SOCKETCALL].
24691         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24692         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24693         Define.
24695         [BZ #16610]
24696         * sysdeps/unix/sysv/linux/kernel-features.h
24697         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24698         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24699         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24700         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24701         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24702         [__i386__ || __sparc__]
24703         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24704         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24705         (__ASSUME_RECVMMSG): Define instead of using previous
24706         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24707         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24708         (__ASSUME_RECVMMSG_SYSCALL): Define.
24709         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24710         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24711         Likewise.
24712         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24713         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24714         Likewise.
24715         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24716         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24717         Likewise.
24718         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24719         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24720         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24721         [__ASSUME_RECVMMSG]: Change condition to
24722         [__ASSUME_RECVMMSG_SOCKETCALL].
24723         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24724         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24725         Define.
24726         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24727         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24728         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24729         Likewise.
24730         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24731         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24732         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24733         [!__ASSUME_RECVMMSG]: Change condition to
24734         [!__ASSUME_RECVMMSG_SOCKETCALL].
24735         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24736         (__ASSUME_RECVMMSG_SYSCALL): Define.
24738         [BZ #16609]
24739         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24740         __powerpc__ || __s390__ || __sh__ || __sparc__]
24741         (__ASSUME_SOCKETCALL): Define.
24742         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24743         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24744         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24745         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24746         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24747         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24748         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24749         (__ASSUME_ACCEPT4): Define instead of using previous
24750         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24751         __powerpc__ || __sparc__ || __s390__)] condition.
24752         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24753         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24754         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24755         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24756         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24757         [!__ASSUME_ACCEPT4]: Change condition to
24758         [!__ASSUME_ACCEPT4_SOCKETCALL].
24759         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24760         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24761         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24762         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24763         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24764         __ASSUME_ACCEPT4_SYSCALL.
24765         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24766         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24767         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24768         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24769         __ASSUME_ACCEPT4_SYSCALL.
24770         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24771         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24772         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24773         [__ASSUME_ACCEPT4]: Change condition to
24774         [__ASSUME_ACCEPT4_SOCKETCALL].
24775         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24776         (__ASSUME_SOCKETCALL): Define.
24777         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24778         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24779         (__ASSUME_SOCKETCALL): Define.
24780         (__ASSUME_ACCEPT4): Remove.
24781         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24782         Define.
24783         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24784         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24785         Likewise.
24786         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24787         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24789         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24790         macro.
24791         (HWCAP_ARM_LPAE): Likewise.
24792         (HWCAP_ARM_EVTSTRM): Likewise.
24793         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24794         Add vpfd32, lpae and evtstrm.
24795         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24796         Increase to 22.
24798 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24800         * math/auto-libm-test-in: Add tests of clog10.
24801         * math/auto-libm-test-out: Regenerated.
24802         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24803         * sysdeps/i386/fpu/libm-test-ulps: Update.
24804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24806 2014-02-18  Andreas Schwab  <schwab@suse.de>
24808         [BZ #16574]
24809         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24810         Store non-zero if the second buffer was newly allocated.
24811         (send_dg): Likewise.
24812         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24813         to send_vc and send_dg.
24814         (res_nsend): Pass NULL for ansp2_malloced.
24815         * resolv/res_query.c (__libc_res_nquery): Add parameter
24816         answerp2_malloced and pass it down to __libc_res_nsend.
24817         (res_nquery): Pass additional NULL to __libc_res_nquery.
24818         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24819         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24820         second answer buffer if answerp2_malloced was set.
24821         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24822         (__libc_res_nquerydomain): Add parameter
24823         answerp2_malloced and pass it down to __libc_res_nquery.
24824         (res_nquerydomain): Pass additional NULL to
24825         __libc_res_nquerydomain.
24826         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24827         additional NULL to __libc_res_nsend and __libc_res_nquery.
24828         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24829         additional NULL to __libc_res_nsearch.
24830         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24831         parameter of __libc_res_nsearch to check for separately allocated
24832         second buffer.
24833         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24834         __libc_res_nquery.
24835         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24836         additional NULL to __libc_res_nquery.
24837         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24838         __libc_res_nsearch.
24839         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24840         * include/resolv.h: Update prototypes of __libc_res_nquery,
24841         __libc_res_nsearch, __libc_res_nsend.
24843 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24845         * math/auto-libm-test-in: Add tests of fma.
24846         * math/auto-libm-test-out: Regenerated.
24847         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24848         (fma_towardzero_test_data): Likewise.
24849         (fma_downward_test_data): Likewise.
24850         (fma_upward_test_data): Likewise.
24851         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24852         mpc_mode.
24853         (rounding_modes): Add values for new field.
24854         (func_calc_method): Add value mpfr_fff_f.
24855         (func_calc_desc): Add mpfr_fff_f union field.
24856         (test_function): Add field exact_args.
24857         (FUNC): Add macro argument EXACT_ARGS.
24858         (FUNC_mpfr_f_f): Update call to FUNC.
24859         (FUNC_mpfr_f_f): Likewise.
24860         (FUNC_mpfr_ff_f): Likewise.
24861         (FUNC_mpfr_if_f): Likewise.
24862         (FUNC_mpc_c_f): Likewise.
24863         (FUNC_mpc_c_c): Likewise.
24864         (test_functions): Add fma.  Update calls to FUNC.
24865         (handle_input_arg): Add argument exact_args.
24866         (add_test): Update call to handle_input_arg.
24867         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24868         (output_for_one_input_case): Update call to calc_generic_results.
24869         Recalculate exact zero results in each rounding mode.
24871         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24872         non-negative before setting low bit.
24873         * math/auto-libm-test-in: Mark one asin test possibly having
24874         spurious underflow.
24875         * math/auto-libm-test-out: Regenerated.
24876         * sysdeps/i386/fpu/libm-test-ulps: Update.
24877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24879 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24881         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24882         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24883         ports/sysdeps/unix/sysv/linux/microblaze.
24884         * README: Add missing listing for microblaze*-*-linux-gnu.
24886 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24888         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24889         duplicate code
24891 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24893         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24894         * sysdeps/unix/sysv/linux/ia64: Move directory from
24895         ports/sysdeps/unix/sysv/linux/ia64.
24896         * README: Update listing for ia64-*-linux-gnu.
24898 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24899             Joseph Myers  <joseph@codesourcery.com>
24901         * Makeconfig (test-name): New variable.
24902         (evaluate-test): Likewise.
24903         * Makerules (do-test-clean): Remove .test-result files.
24904         (common-mostlyclean): Likewise.
24905         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24906         * scripts/evaluate-test.sh: New file.
24908 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24910         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24911         separate $(objpfx)tst-fopenloc-cmp.out and
24912         $(objpfx)tst-fopenloc-mem.out targets.
24913         (tests): Update dependencies.
24914         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24915         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24916         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24917         (tst-rxspencer-no-utf8-ARGS): New variable.
24918         (tst-rxspencer-no-utf8-ENV): Likewise.
24919         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24920         instead of $(objpfx)tst-rxspencer-mem.
24921         ($(objpfx)tst-rxspencer-mem): Change target to
24922         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24923         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24924         * posix/tst-rxspencer-no-utf8.c: New file.
24926         * elf/Makefile ($(objpfx)order.out): Remove rule.
24927         [$(run-built-tests) = yes] (tests): Depend on
24928         $(objpfx)order-cmp.out.
24929         ($(objpfx)order-cmp.out): New rule.
24930         [$(run-built-tests) = yes] (tests): Depend on
24931         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24932         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24933         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24934         $(objpfx)tst-array5-static-cmp.out.
24935         ($(objpfx)tst-array1.out): Remove rule.
24936         ($(objpfx)tst-array1-cmp.out): New rule.
24937         ($(objpfx)tst-array1-static.out): Remove rule.
24938         ($(objpfx)tst-array1-static-cmp.out): New rule.
24939         ($(objpfx)tst-array2.out): Remove rule.
24940         ($(objpfx)tst-array2-cmp.out): New rule.
24941         ($(objpfx)tst-array3.out): Remove rule.
24942         ($(objpfx)tst-array3-cmp.out): New rule.
24943         ($(objpfx)tst-array4.out): Remove rule.
24944         ($(objpfx)tst-array4-cmp.out): New rule.
24945         ($(objpfx)tst-array5.out): Remove rule.
24946         ($(objpfx)tst-array5-cmp.out): New rule.
24947         ($(objpfx)tst-array5-static.out): Remove rule.
24948         ($(objpfx)tst-array5-static-cmp.out): New rule.
24949         [$(run-built-tests) = yes] (tests): Depend on
24950         $(objpfx)order2-cmp.out.
24951         ($(objpfx)order2.out): Remove rule.
24952         ($(objpfx)order2-cmp.out): New rule.
24953         ($(objpfx)tst-initorder.out): Remove rule.
24954         [$(run-built-tests) = yes] (tests): Depend on
24955         $(objpfx)tst-initorder-cmp.out.
24956         ($(objpfx)tst-initorder-cmp.out): New rule.
24957         ($(objpfx)tst-initorder2.out): Remove rule.
24958         [$(run-built-tests) = yes] (tests): Depend on
24959         $(objpfx)tst-initorder2-cmp.out.
24960         ($(objpfx)tst-initorder2-cmp.out): New rule.
24961         [$(run-built-tests) = yes] (tests): Depend on
24962         $(objpfx)tst-unused-dep-cmp.out.
24963         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24964         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24965         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24966         on $(objpfx)tst-setvbuf1-cmp.out.
24967         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24968         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24969         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24970         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24971         ($(objpfx)tst-svc.out): Remove rule.
24972         ($(objpfx)tst-svc-cmp.out): New rule.
24974 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24976         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24977         * ctype/ctype.h [__USE_MISC]: Likewise.
24978         * dirent/dirent.h [__USE_MISC]: Likewise.
24979         * grp/grp.h [__USE_MISC]: Likewise.
24980         * io/fcntl.h [__USE_MISC]: Likewise.
24981         * io/sys/stat.h [__USE_MISC]: Likewise.
24982         * libio/stdio.h [__USE_MISC]: Likewise.
24983         * posix/unistd.h [__USE_MISC]: Likewise.
24984         * pwd/pwd.h [__USE_MISC]: Likewise.
24985         * stdlib.h [__USE_MISC]: Likewise.
24986         * string/bits/string2.h [__USE_MISC]: Likewise.
24987         * string/string.h [__USE_MISC]: Likewise.
24988         * time/time.h [__USE_MISC]: Likewise.
24990 2014-02-13  Andreas Schwab  <schwab@suse.de>
24992         [BZ #16574]
24993         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24994         second answer buffer if it was separately allocated.
24996 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24998         * sysdeps/mips/math-tests.h: Include <features.h>.
24999         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25000         (ROUNDING_TESTS_long_double): Do not define.
25001         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25002         (EXCEPTION_TESTS_long_double): Likewise.
25003         * sysdeps/mips/mips64/libm-test-ulps: Update.
25005         * include/features.h (__USE_BSD): Remove macro definitions.
25006         (__USE_SVID): Likewise.
25007         (_BSD_SOURCE): Likewise.
25008         (_SVID_SOURCE): Likewise.
25009         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
25010         from definition of _DEFAULT_SOURCE.
25011         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
25012         [_DEFAULT_SOURCE].
25013         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
25014         * bits/mman.h [__USE_BSD]: Likewise.
25015         * bits/termios.h [__USE_BSD]: Likewise.
25016         * bits/waitstatus.h [__USE_BSD]: Likewise.
25017         * ctype/ctype.h [__USE_SVID]: Likewise.
25018         * dirent/dirent.h [__USE_BSD]: Likewise.
25019         * grp/grp.h [__USE_SVID]: Likewise.
25020         [__USE_BSD]: Likewise.
25021         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
25022         * io/fcntl.h [__USE_BSD]: Likewise.
25023         * io/ftw.h [__USE_BSD]: Likewise.
25024         * io/sys/stat.h [__USE_BSD]: Likewise.
25025         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
25026         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
25027         * libio/stdio.h [__USE_SVID]: Likewise.
25028         [__USE_BSD]: Likewise.
25029         * math/math.h [__USE_SVID]: Likewise.
25030         [__USE_BSD]: Likewise.
25031         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
25032         * misc/bits/syslog.h [__USE_BSD]: Likewise.
25033         * misc/search.h [__USE_SVID]: Likewise.
25034         * misc/sys/mman.h [__USE_BSD]: Likewise.
25035         * misc/sys/syslog.h [__USE_BSD]: Likewise.
25036         * misc/sys/uio.h [__USE_BSD]: Likewise.
25037         * posix/bits/unistd.h [__USE_BSD]: Likewise.
25038         * posix/glob.h [__USE_BSD]: Likewise.
25039         * posix/regex.h [__USE_BSD]: Likewise.
25040         * posix/sys/types.h [__USE_BSD]: Likewise.
25041         [__USE_SVID]: Likewise.
25042         * posix/sys/utsname.h [__USE_SVID]: Likewise.
25043         * posix/sys/wait.h [__USE_BSD]: Likewise.
25044         [__USE_SVID]: Likewise.
25045         * posix/unistd.h [__USE_BSD]: Likewise.
25046         [__USE_SVID]: Likewise.
25047         * pwd/pwd.h [__USE_SVID]: Likewise.
25048         * resolv/netdb.h [__USE_BSD]: Likewise.
25049         * setjmp/setjmp.h [__USE_BSD]: Likewise.
25050         * signal/signal.h [__USE_BSD]: Likewise.
25051         [__USE_SVID]: Likewise.
25052         * socket/sys/socket.h [__USE_BSD]: Likewise.
25053         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
25054         * stdlib/stdlib.h [__USE_BSD]: Likewise.
25055         [__USE_SVID]: Likewise.
25056         * string/bits/string2.h [__USE_BSD]: Likewise.
25057         [__USE_SVID]: Likewise.
25058         * string/bits/string3.h [__USE_BSD]: Likewise.
25059         * string/endian.h [__USE_BSD]: Likewise.
25060         * string/string.h [__USE_SVID]: Likewise.
25061         [__USE_BSD]: Likewise.
25062         * string/strings.h [__USE_BSD]: Likewise.
25063         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
25064         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
25065         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
25066         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
25067         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
25068         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
25069         Likewise.
25070         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
25071         Likewise.
25072         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
25073         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
25074         Likewise.
25075         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
25076         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
25077         Likewise.
25078         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
25079         Likewise.
25080         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
25081         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
25082         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
25083         Likewise.
25084         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
25085         Likewise.
25086         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
25087         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
25088         * termios/termios.h [__USE_BSD]: Likewise.
25089         * time/sys/time.h [__USE_BSD]: Likewise.
25090         * time/time.h [__USE_BSD]: Likewise.
25091         [__USE_SVID]: Likewise.
25093         * Makefile (subdir_targets): Remove subdir_lint.out.
25095         * stdio-common/Makefile (do-tst-unbputc): Remove target.
25096         (do-tst-printf): Likewise.
25097         (tests): Depend directly on $(objpfx)tst-unbputc.out and
25098         $(objpfx)tst-printf.out.
25100         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
25102         * Makerules (check-abi-%): Change target to
25103         $(objpfx)check-abi-%.out.
25104         (check-abi target): Update dependencies.
25105         (check-abi-pattern variable): Redirect output of diff to $@.
25106         (check-abi variable): Likewise.
25107         * elf/Makefile (check-abi): Update dependencies.
25109         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
25110         unused.
25111         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
25112         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
25113         subnormal range.
25114         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
25115         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
25116         value has largest subnormal exponent.
25117         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
25118         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
25119         * sysdeps/aarch64/soft-fp/sfp-machine.h
25120         (_FP_TININESS_AFTER_ROUNDING): New macro.
25121         * sysdeps/alpha/soft-fp/sfp-machine.h
25122         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25123         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25124         Likewise.
25125         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
25126         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25127         * sysdeps/mips/soft-fp/sfp-machine.h
25128         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25129         * sysdeps/powerpc/soft-fp/sfp-machine.h
25130         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25131         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25132         Likewise.
25133         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25134         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25135         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25136         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25137         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25138         Likewise.
25140 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
25142         [BZ #16545]
25143         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
25144         model 1.
25146 2014-02-12  Richard Henderson  <rth@redhat.com>
25148         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
25149         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
25150         * sysdeps/unix/sysv/linux/alpha: Move directory from
25151         ports/sysdeps/unix/sysv/linux/alpha.
25152         * README: Update listing for alpha-*-linux-gnu.
25154 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
25156         * include/features.h: Update comment documenting feature test
25157         macros.
25158         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
25159         _DEFAULT_SOURCE.
25160         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
25161         (_SVID_SOURCE): Likewise.
25162         (_DEFAULT_SOURCE): Update description of default features.
25163         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
25164         with _GNU_SOURCE.
25165         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
25166         (S_ISVTX): Likewise.
25167         * manual/math.texi (Mathematical Constants): Likewise.
25168         * manual/signal.texi (Interrupted Primitives): Likewise.
25169         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
25170         * math/test-matherr.c (_SVID_SOURCE): Do not define.
25171         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
25172         Don't refer to _SVID_SOURCE in warning text.
25174         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25176         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
25177         already defined.
25178         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
25179         * sysdeps/mips/dl-lookup.c: Remove.
25180         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
25182 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25184         [BZ #16447]
25185         * math/auto-libm-test-in: Add testcase for expl.
25186         * math/auto-libm-test-out: Regenerate.
25187         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
25188         calculation of unsafe.
25189         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
25191 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25193         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
25194         * sysdeps/unix/sysv/linux/aarch64: Move directory from
25195         ports/sysdeps/unix/sysv/linux/aarch64.
25196         * README: Update listing for aarch64*-*-linux-gnu.
25198 2014-02-11  Will Newton  <will.newton@linaro.org>
25200         * manual/probes.texi (Mathematical Function Probes): Use
25201         "triggered" instead of "hit".
25203         * manual/probes.texi (Internal Probes): Add documentation
25204         of setjmp, longjmp and longjmp_target probes.
25206         * include/stap-probe.h: Add comment about probe argument
25207         format.
25209         * malloc/mtrace.c (attribute_hidden): Remove unused macro
25210         definition.  (tr_where, tr_freehook, tr_mallochook,
25211         tr_reallochook, tr_memalignhook): Use ANSI protoype.
25213 2014-02-11  David S. Miller  <davem@davemloft.net>
25215         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
25216         processing int_tests.
25218 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
25220         * sysdeps/mips: Move directory from ports/sysdeps/mips.
25221         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
25222         * sysdeps/unix/sysv/linux/mips: Move directory from
25223         ports/sysdeps/unix/sysv/linux/mips.
25224         * README: Update listing for mips-*-linux-gnu and
25225         mips64-*-linux-gnu.
25227 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
25229         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
25230         * sysdeps/unix/sysv/linux/m68k: Move directory from
25231         ports/sysdeps/unix/sysv/linux/m68k.
25232         * README: Update listing for m68k-*-linux-gnu.
25234 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
25236         * sysdeps/tile: Move directory from ports/sysdeps/tile.
25237         * sysdeps/unix/sysv/linux/generic: Move directory from
25238         ports/sysdeps/unix/sysv/linux/generic.
25239         * sysdeps/unix/sysv/linux/tile: Move directory from
25240         ports/sysdeps/unix/sysv/linux/tile.
25241         * README: Update listing for tile*-*-linux-gnu.
25243 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
25245         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
25246         __builtin_expect.
25247         * benchtests/bench-memmem.c (simple_memmem): Likewise.
25248         * catgets/open_catalog.c (__open_catalog): Likewise.
25249         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
25250         * debug/confstr_chk.c: Likewise.
25251         * debug/fread_chk.c (__fread_chk): Likewise.
25252         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
25253         * debug/getgroups_chk.c: Likewise.
25254         * debug/mbsnrtowcs_chk.c: Likewise.
25255         * debug/mbsrtowcs_chk.c: Likewise.
25256         * debug/mbstowcs_chk.c: Likewise.
25257         * debug/memcpy_chk.c: Likewise.
25258         * debug/memmove_chk.c: Likewise.
25259         * debug/mempcpy_chk.c: Likewise.
25260         * debug/memset_chk.c: Likewise.
25261         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25262         * debug/strcat_chk.c (__strcat_chk): Likewise.
25263         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
25264         * debug/strncat_chk.c (__strncat_chk): Likewise.
25265         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
25266         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
25267         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
25268         * debug/wcpncpy_chk.c: Likewise.
25269         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25270         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
25271         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
25272         * debug/wcsncpy_chk.c: Likewise.
25273         * debug/wcsnrtombs_chk.c: Likewise.
25274         * debug/wcsrtombs_chk.c: Likewise.
25275         * debug/wcstombs_chk.c: Likewise.
25276         * debug/wmemcpy_chk.c: Likewise.
25277         * debug/wmemmove_chk.c: Likewise.
25278         * debug/wmempcpy_chk.c: Likewise.
25279         * debug/wmemset_chk.c: Likewise.
25280         * dirent/scandirat.c (SCANDIRAT): Likewise.
25281         * dlfcn/dladdr1.c (dladdr1): Likewise.
25282         * dlfcn/dladdr.c (dladdr): Likewise.
25283         * dlfcn/dlclose.c (dlclose_doit): Likewise.
25284         * dlfcn/dlerror.c (__dlerror): Likewise.
25285         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
25286         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
25287         * dlfcn/dlopen.c (dlopen_doit): Likewise.
25288         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
25289         * dlfcn/dlsym.c (dlsym_doit): Likewise.
25290         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
25291         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
25292         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
25293         Likewise.
25294         * elf/dl-conflict.c: Likewise.
25295         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25296         * elf/dl-dst.h: Likewise.
25297         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
25298         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
25299         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25300         * elf/dl-init.c (call_init, _dl_init): Likewise.
25301         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
25302         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
25303         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
25304         Likewise.
25305         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
25306         Likewise.
25307         * elf/dl-minimal.c (__libc_memalign): Likewise.
25308         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
25309         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25310         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
25311         * elf/dl-sym.c (do_sym): Likewise.
25312         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
25313         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
25314         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
25315         * elf/dl-writev.h (_dl_writev): Likewise.
25316         * elf/ldconfig.c (search_dir): Likewise.
25317         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
25318         (dl_main): Likewise.
25319         * elf/setup-vdso.h (setup_vdso): Likewise.
25320         * grp/compat-initgroups.c (compat_call): Likewise.
25321         * grp/fgetgrent.c (fgetgrent): Likewise.
25322         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
25323         * grp/putgrent.c (putgrent): Likewise.
25324         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25325         Likewise.
25326         * hurd/hurdinit.c: Likewise.
25327         * iconvdata/8bit-gap.c (struct): Likewise.
25328         * iconvdata/ansi_x3.110.c : Likewise.
25329         * iconvdata/big5.c : Likewise.
25330         * iconvdata/big5hkscs.c : Likewise.
25331         * iconvdata/cp1255.c: Likewise.
25332         * iconvdata/cp1258.c : Likewise.
25333         * iconvdata/cp932.c : Likewise.
25334         * iconvdata/euc-cn.c: Likewise.
25335         * iconvdata/euc-jisx0213.c : Likewise.
25336         * iconvdata/euc-jp.c: Likewise.
25337         * iconvdata/euc-jp-ms.c : Likewise.
25338         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
25339         * iconvdata/gb18030.c : Likewise.
25340         * iconvdata/gbbig5.c (const): Likewise.
25341         * iconvdata/gbgbk.c: Likewise.
25342         * iconvdata/gbk.c : Likewise.
25343         * iconvdata/ibm1364.c : Likewise.
25344         * iconvdata/ibm930.c : Likewise.
25345         * iconvdata/ibm932.c: Likewise.
25346         * iconvdata/ibm933.c : Likewise.
25347         * iconvdata/ibm935.c : Likewise.
25348         * iconvdata/ibm937.c : Likewise.
25349         * iconvdata/ibm939.c : Likewise.
25350         * iconvdata/ibm943.c: Likewise.
25351         * iconvdata/iso_11548-1.c: Likewise.
25352         * iconvdata/iso-2022-cn.c : Likewise.
25353         * iconvdata/iso-2022-cn-ext.c : Likewise.
25354         * iconvdata/iso-2022-jp-3.c: Likewise.
25355         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
25356         * iconvdata/iso-2022-kr.c : Likewise.
25357         * iconvdata/iso646.c (gconv_end): Likewise.
25358         * iconvdata/iso_6937-2.c : Likewise.
25359         * iconvdata/iso_6937.c : Likewise.
25360         * iconvdata/iso8859-1.c: Likewise.
25361         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
25362         * iconvdata/shift_jisx0213.c : Likewise.
25363         * iconvdata/sjis.c : Likewise.
25364         * iconvdata/t.61.c : Likewise.
25365         * iconvdata/tcvn5712-1.c : Likewise.
25366         * iconvdata/tscii.c: Likewise.
25367         * iconvdata/uhc.c : Likewise.
25368         * iconvdata/unicode.c (gconv_end): Likewise.
25369         * iconvdata/utf-16.c (gconv_end): Likewise.
25370         * iconvdata/utf-32.c (gconv_end): Likewise.
25371         * iconvdata/utf-7.c (base64): Likewise.
25372         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
25373         * iconv/gconv_close.c (__gconv_close): Likewise.
25374         * iconv/gconv_open.c (__gconv_open): Likewise.
25375         * iconv/gconv_simple.c (internal_ucs4_loop_single)
25376         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
25377         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
25378         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
25379         (ucs4le_internal_loop_single): Likewise.
25380         * iconv/iconv.c (iconv): Likewise.
25381         * iconv/iconv_close.c: Likewise.
25382         * iconv/loop.c (SINGLE): Likewise.
25383         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
25384         * include/atomic.h: Likewise.
25385         * inet/inet6_option.c (option_alloc): Likewise.
25386         * intl/bindtextdom.c (set_binding_values): Likewise.
25387         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
25388         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
25389         * intl/localealias.c (read_alias_file): Likewise.
25390         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25391         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
25392         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
25393         * libio/fmemopen.c (fmemopen): Likewise.
25394         * libio/iofgets.c (_IO_fgets): Likewise.
25395         * libio/iofgets_u.c (fgets_unlocked): Likewise.
25396         * libio/iofgetws.c (fgetws): Likewise.
25397         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25398         * libio/iogetdelim.c (_IO_getdelim): Likewise.
25399         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
25400         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
25401         * locale/findlocale.c (_nl_find_locale): Likewise.
25402         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
25403         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
25404         Likewise.
25405         * locale/setlocale.c (setlocale): Likewise.
25406         * login/programs/pt_chown.c (main): Likewise.
25407         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
25408         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
25409         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
25410         (mmap, mmap64, mremap, munmap): Likewise.
25411         * math/e_exp2l.c: Likewise.
25412         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
25413         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
25414         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
25415         * math/s_catan.c (__catan): Likewise.
25416         * math/s_catanf.c (__catanf): Likewise.
25417         * math/s_catanh.c (__catanh): Likewise.
25418         * math/s_catanhf.c (__catanhf): Likewise.
25419         * math/s_catanhl.c (__catanhl): Likewise.
25420         * math/s_catanl.c (__catanl): Likewise.
25421         * math/s_ccosh.c (__ccosh): Likewise.
25422         * math/s_ccoshf.c (__ccoshf): Likewise.
25423         * math/s_ccoshl.c (__ccoshl): Likewise.
25424         * math/s_cexp.c (__cexp): Likewise.
25425         * math/s_cexpf.c (__cexpf): Likewise.
25426         * math/s_cexpl.c (__cexpl): Likewise.
25427         * math/s_clog10.c (__clog10): Likewise.
25428         * math/s_clog10f.c (__clog10f): Likewise.
25429         * math/s_clog10l.c (__clog10l): Likewise.
25430         * math/s_clog.c (__clog): Likewise.
25431         * math/s_clogf.c (__clogf): Likewise.
25432         * math/s_clogl.c (__clogl): Likewise.
25433         * math/s_csin.c (__csin): Likewise.
25434         * math/s_csinf.c (__csinf): Likewise.
25435         * math/s_csinh.c (__csinh): Likewise.
25436         * math/s_csinhf.c (__csinhf): Likewise.
25437         * math/s_csinhl.c (__csinhl): Likewise.
25438         * math/s_csinl.c (__csinl): Likewise.
25439         * math/s_csqrt.c (__csqrt): Likewise.
25440         * math/s_csqrtf.c (__csqrtf): Likewise.
25441         * math/s_csqrtl.c (__csqrtl): Likewise.
25442         * math/s_ctan.c (__ctan): Likewise.
25443         * math/s_ctanf.c (__ctanf): Likewise.
25444         * math/s_ctanh.c (__ctanh): Likewise.
25445         * math/s_ctanhf.c (__ctanhf): Likewise.
25446         * math/s_ctanhl.c (__ctanhl): Likewise.
25447         * math/s_ctanl.c (__ctanl): Likewise.
25448         * math/w_pow.c: Likewise.
25449         * math/w_powf.c: Likewise.
25450         * math/w_powl.c: Likewise.
25451         * math/w_scalb.c (sysv_scalb): Likewise.
25452         * math/w_scalbf.c (sysv_scalbf): Likewise.
25453         * math/w_scalbl.c (sysv_scalbl): Likewise.
25454         * misc/error.c (error_tail): Likewise.
25455         * misc/pselect.c (__pselect): Likewise.
25456         * nis/nis_callback.c (__nis_create_callback): Likewise.
25457         * nis/nis_call.c (__nisfind_server): Likewise.
25458         * nis/nis_creategroup.c (nis_creategroup): Likewise.
25459         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
25460         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
25461         * nis/nis_getservlist.c (nis_getservlist): Likewise.
25462         * nis/nis_lookup.c (nis_lookup): Likewise.
25463         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
25464         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
25465         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
25466         * nis/nis_xdr.c (xdr_endpoint): Likewise.
25467         * nis/nss_compat/compat-grp.c (getgrent_next_file)
25468         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
25469         * nis/nss_compat/compat-initgroups.c (add_group)
25470         (internal_getgrent_r): Likewise.
25471         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
25472         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
25473         * nis/nss_compat/compat-spwd.c (getspent_next_file)
25474         (internal_getspnam_r): Likewise.
25475         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
25476         (_nss_nis_getaliasbyname_r): Likewise.
25477         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
25478         (_nss_nis_getntohost_r): Likewise.
25479         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
25480         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
25481         (_nss_nis_getgrgid_r): Likewise.
25482         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
25483         (internal_nis_gethostent_r, internal_gethostbyname2_r)
25484         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
25485         (_nss_nis_gethostbyname4_r): Likewise.
25486         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
25487         (initgroups_netid): Likewise.
25488         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
25489         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
25490         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
25491         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
25492         (_nss_nis_getprotobynumber_r): Likewise.
25493         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
25494         (_nss_nis_getsecretkey): Likewise.
25495         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
25496         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
25497         (_nss_nis_getpwuid_r): Likewise.
25498         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
25499         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
25500         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
25501         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
25502         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
25503         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
25504         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
25505         Likewise.
25506         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
25507         (_nss_nisplus_getntohost_r): Likewise.
25508         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
25509         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
25510         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
25511         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
25512         Likewise.
25513         * nis/nss_nisplus/nisplus-initgroups.c
25514         (_nss_nisplus_initgroups_dyn): Likewise.
25515         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
25516         (_nss_nisplus_getnetbyaddr_r): Likewise.
25517         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
25518         (_nss_nisplus_getprotobynumber_r): Likewise.
25519         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
25520         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
25521         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
25522         Likewise.
25523         * nis/nss_nisplus/nisplus-service.c
25524         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
25525         (_nss_nisplus_getservbyport_r): Likewise.
25526         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
25527         (_nss_nisplus_getspnam_r): Likewise.
25528         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
25529         Likewise.
25530         * nscd/aicache.c (addhstaiX): Likewise.
25531         * nscd/cache.c (cache_search, prune_cache): Likewise.
25532         * nscd/connections.c (register_traced_file, send_ro_fd)
25533         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
25534         (main_loop_epoll): Likewise.
25535         * nscd/grpcache.c (addgrbyX): Likewise.
25536         * nscd/hstcache.c (addhstbyX): Likewise.
25537         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25538         * nscd/mem.c (gc, mempool_alloc): Likewise.
25539         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
25540         (addinnetgrX): Likewise.
25541         * nscd/nscd-client.h (__nscd_acquire_maplock)
25542         (__nscd_drop_map_ref): Likewise.
25543         * nscd/nscd_getai.c (__nscd_getai): Likewise.
25544         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25545         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
25546         Likewise.
25547         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
25548         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25549         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
25550         (__nscd_get_map_ref): Likewise.
25551         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
25552         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
25553         Likewise.
25554         * nscd/pwdcache.c (addpwbyX): Likewise.
25555         * nscd/selinux.c (preserve_capabilities): Likewise.
25556         * nscd/servicescache.c (addservbyX): Likewise.
25557         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
25558         * posix/fnmatch.c (fnmatch): Likewise.
25559         * posix/getopt.c (_getopt_internal_r): Likewise.
25560         * posix/glob.c (glob, glob_in_dir): Likewise.
25561         * posix/wordexp.c (exec_comm_child): Likewise.
25562         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
25563         (getanswer_r, gaih_getanswer_slice): Likewise.
25564         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
25565         * resolv/res_init.c: Likewise.
25566         * resolv/res_mkquery.c (res_nmkquery): Likewise.
25567         * resolv/res_query.c (__libc_res_nquery): Likewise.
25568         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
25569         Likewise.
25570         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
25571         * stdio-common/perror.c (perror): Likewise.
25572         * stdio-common/printf_fp.c (___printf_fp): Likewise.
25573         * stdio-common/tmpnam.c (tmpnam): Likewise.
25574         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25575         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25576         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25577         Likewise.
25578         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25579         * stdlib/putenv.c (putenv): Likewise.
25580         * stdlib/setenv.c (__add_to_environ): Likewise.
25581         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25582         * stdlib/strtol_l.c (INTERNAL): Likewise.
25583         * string/memmem.c (memmem): Likewise.
25584         * string/strerror.c (strerror): Likewise.
25585         * string/strnlen.c (__strnlen): Likewise.
25586         * string/test-memmem.c (simple_memmem): Likewise.
25587         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
25588         * sunrpc/pm_getport.c (__get_socket): Likewise.
25589         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
25590         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
25591         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
25592         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
25593         Likewise.
25594         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25595         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25596         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
25597         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
25598         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
25599         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
25600         Likewise.
25601         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
25602         Likewise.
25603         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25604         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25605         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25606         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25607         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25608         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
25609         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25610         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
25611         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
25612         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
25613         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25614         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
25615         Likewise.
25616         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
25617         Likewise.
25618         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
25619         Likewise.
25620         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
25621         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25622         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
25623         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
25624         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25625         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
25626         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25627         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
25628         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
25629         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
25630         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
25631         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25632         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25633         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
25634         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25635         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25636         Likewise.
25637         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
25638         Likewise.
25639         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
25640         Likewise.
25641         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
25642         Likewise.
25643         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25644         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25645         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
25646         Likewise.
25647         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
25648         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
25649         * sysdeps/posix/opendir.c (__opendirat): Likewise.
25650         * sysdeps/posix/sleep.c: Likewise.
25651         * sysdeps/posix/tempname.c: Likewise.
25652         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
25653         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25654         Likewise.
25655         * sysdeps/powerpc/powerpc32/dl-machine.h
25656         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
25657         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25658         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25659         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
25660         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
25661         Likewise.
25662         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
25663         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
25664         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25665         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
25666         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25667         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
25668         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
25669         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25670         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25671         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
25672         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25673         (elf_machine_lazy_rel): Likewise.
25674         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25675         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25676         (elf_machine_lazy_rel): Likewise.
25677         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25678         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25679         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25680         * sysdeps/unix/grantpt.c (grantpt): Likewise.
25681         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25682         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25683         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25684         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25685         Likewise.
25686         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25687         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25688         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25689         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25690         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25691         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25692         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25693         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25694         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25695         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25696         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25697         Likewise.
25698         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25699         (__posix_fallocate64_l64): Likewise.
25700         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25701         (posix_fallocate): Likewise.
25702         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25703         Likewise.
25704         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25705         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25706         (getifaddrs_internal): Likewise.
25707         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25708         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25709         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25710         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25711         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25712         (__posix_fallocate64_l64): Likewise.
25713         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25714         Likewise.
25715         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25716         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25717         (__get_clockfreq): Likewise.
25718         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25719         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25720         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25721         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25722         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25723         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25724         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25725         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25726         Likewise.
25727         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25728         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25729         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25730         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25731         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25732         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25733         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25734         Likewise.
25735         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25736         (posix_fallocate): Likewise.
25737         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25738         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25739         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25740         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25741         (elf_machine_rela, elf_machine_rela_relative)
25742         (elf_machine_lazy_rel): Likewise.
25743         * time/asctime.c (asctime_internal): Likewise.
25744         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25745         * time/tzset.c (__tzset_parse_tz): Likewise.
25746         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25747         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25748         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25749         * wcsmbs/wcsmbsload.h: Likewise.
25751         [BZ #15894]
25752         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25754         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25755         (arena_get2): Remove THREAD_STATS conditionals.
25756         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25757         (__malloc_stats, int): Likewise.
25759 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25761         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25762         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25764         * manual/setjmp.texi: Fix typos/grammar errors.
25766         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25767         Only return early when n is <= 0.  Delete unused return statement.
25769         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25770         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25771         * debug/tst-longjmp_chk3.c: New file.
25773         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25774         (test_main): Replace code with set_fortify_handler call.
25775         * debug/test-strcpy_chk.c: Likewise.
25776         * debug/tst-chk1.c: Likewise.
25777         * debug/tst-longjmp_chk.c: Likewise.
25778         * test-skeleton.c: Include fcntl.h & paths.h
25779         (set_fortify_handler): Define.
25781         * debug/tst-longjmp_chk.c: Add header comment and include
25782         ../test-skeleton.c.
25783         (do_test): Mark static.
25784         (TEST_FUNCTION): Define.
25786         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25787         (IP_PMTUDISC_INTERFACE): Likewise.
25788         (IP_MULTICAST_IF): Likewise.
25789         (IP_MULTICAST_TTL): Likewise.
25790         (IP_MULTICAST_LOOP): Likewise.
25791         (IP_ADD_MEMBERSHIP): Likewise.
25792         (IP_DROP_MEMBERSHIP): Likewise.
25793         (IP_UNBLOCK_SOURCE): Likewise.
25794         (IP_BLOCK_SOURCE): Likewise.
25795         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25796         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25797         (IP_MSFILTER): Likewise.
25798         (MCAST_JOIN_GROUP): Likewise.
25799         (MCAST_BLOCK_SOURCE): Likewise.
25800         (MCAST_UNBLOCK_SOURCE): Likewise.
25801         (MCAST_LEAVE_GROUP): Likewise.
25802         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25803         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25804         (MCAST_MSFILTER): Likewise.
25805         (IP_MULTICAST_ALL): Likewise.
25806         (IP_UNICAST_IF): Likewise.
25808         * timezone/Makefile: Delete $(have-ksh) check.
25809         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25810         * timezone/tzselect.ksh: Add +x mode bits.
25812         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25813         (ANON_INODE_FS_MAGIC): Likewise.
25814         (BDEVFS_MAGIC): Likewise.
25815         (BINFMTFS_MAGIC): Likewise.
25816         (BTRFS_TEST_MAGIC): Likewise.
25817         (CRAMFS_MAGIC_WEND): Likewise.
25818         (DEBUGFS_MAGIC): Likewise.
25819         (ECRYPTFS_SUPER_MAGIC): Likewise.
25820         (EXT3_SUPER_MAGIC): Likewise.
25821         (EXT4_SUPER_MAGIC): Likewise.
25822         (FUTEXFS_SUPER_MAGIC): Likewise.
25823         (HOSTFS_SUPER_MAGIC): Likewise.
25824         (HUGETLBFS_MAGIC): Likewise.
25825         (MINIX3_SUPER_MAGIC): Likewise.
25826         (MTD_INODE_FS_MAGIC): Likewise.
25827         (NILFS_SUPER_MAGIC): Likewise.
25828         (OPENPROM_SUPER_MAGIC): Likewise.
25829         (PIPEFS_MAGIC): Likewise.
25830         (PSTOREFS_MAGIC): Likewise.
25831         (QNX6_SUPER_MAGIC): Likewise.
25832         (RAMFS_MAGIC): Likewise.
25833         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25834         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25835         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25836         (SECURITYFS_MAGIC): Likewise.
25837         (SELINUX_MAGIC): Likewise.
25838         (SMACK_MAGIC): Likewise.
25839         (SOCKFS_MAGIC): Likewise.
25840         (SQUASHFS_MAGIC): Likewise.
25841         (STACK_END_MAGIC): Likewise.
25842         (TMPFS_MAGIC): Likewise.
25843         (USBDEVICE_SUPER_MAGIC): Likewise.
25844         (V9FS_MAGIC): Likewise.
25845         (XENFS_SUPER_MAGIC): Likewise.
25846         (CRAMFS_MAGIC): Fix typo in comment.
25847         (EXT2_SUPER_MAGIC): Update comment.
25848         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25850 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25852         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25853         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25854         * sysdeps/unix/sysv/linux/arm: Move directory from
25855         ports/sysdeps/unix/sysv/linux/arm.
25856         * README: Update listing for arm-*-linux-gnueabi.
25858         * README: Remove mention of am33.
25860 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25862         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25863         than the comma operator, to avoid "rhs of comma has no effect"
25864         compiler warnings.
25865         (__sigfillset, __sigandset, __sigorset): Likewise.
25866         * include/signal.h (__sigemptyset): Likewise.
25867         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25869 2014-02-07  Allan McRae  <allan@archlinux.org>
25871         * version.h (RELEASE): Set to "development".
25872         (VERSION): Set to "2.19.90"
25873         * NEWS: Add 2.20 section.
25875 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25877         [BZ #16529]
25878         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25880 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25882         * manual/contrib.texi: Update entry for Carlos O'Donell,
25883         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25885 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25887         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25889         * sysdeps/unix/sysv/linux/kernel-features.h
25890         [__LINUX_KERNEL_VERSION >= 0x020621]
25891         (__ASSUME_PROC_PID_TASK_COMM): Define.
25893 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25895         [BZ #16398]
25896         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25897         conversion when destination buffer does not have enough space.
25898         * libio/tst-ftell-partial-wide.c: New test case.
25899         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25901         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25902         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25903         Leonard and Allan McRae.
25905 2014-02-04  David S. Miller  <davem@davemloft.net>
25907         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25908         32-bit.
25910 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25913         New file
25914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25915         New file
25916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25917         New file.
25918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25919         New file.
25920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25921         New file.
25922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25923         New file.
25924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25925         New file.
25926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25927         New file.
25928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25929         New file.
25930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25931         New file.
25932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25933         New file.
25934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25935         New file.
25936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25937         New file.
25939 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25941         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25942         * shlib-versions: Likewise.
25944 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25945             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25947         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25948         (abilist-pattern): New variable, set to %-le.abilist.
25950         * Makerules (abilist-pattern): New variable.
25951         (vpath): Use $(abilist-pattern) in place of %.abilist.
25952         (check-abi-% pattern rule): Likewise.
25953         (check-abi, update-abi): Likewise.
25955 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25957         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25959 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25961         * manual/startup.texi: Add next, previous, and top entries for
25962         the `Program Arguments' and `Environment Variables' nodes.
25964 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25966         * manual/macros.texi: Add comments before MTASC-safety macros.
25968         * manual/users.texi: Document MTASC-safety properties.
25970         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25971         (pthread_getspecific, pthread_setspecific): Format with
25972         @deftypefun, and add @safety note.
25973         * manual/signal.texi: Move comments that analyze the above
25974         functions to their home place.
25976 2014-02-03  Allan McRae  <allan@archlinux.org>
25978         * po/sl.po: Update Slovenian translation from translation project.
25980 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25982         * manual/time.texi (timegm): Add missing blank after @c.
25983         Reported by Joseph Myers <joseph@codesourcery.com>.
25985 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25987         * manual/check-safety.sh: New.
25988         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25990         * manual/terminal.texi: Document MTASC-safety properties.
25992         * manual/filesys.texi: Document MTASC-safety properties.
25994         * manual/errno.texi: Document MTASC-safety properties.
25996         * manual/intro.texi: Document safety identifiers and
25997         conditionals.
25999         * manual/string.texi (wcstok): Fix prototype.
26000         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
26002         * manual/time.texi: Document MTASC-safety properties.
26004         * manual/string.texi: Document MTASC-safety properties.
26006         * manual/threads.texi: Document MTASC-safety properties.
26008         * manual/stdio.texi: Document MTASC-safety properties.
26010         * manual/syslog.texi: Document MTASC-safety properties.
26012         * manual/sysinfo.texi: Document MTASC-safety properties.
26014         * manual/startup.texi: Document MTASC-safety properties.
26016         * manual/socket.texi: Document MTASC-safety properties.
26018         * manual/signal.texi: Document MTASC-safety properties.
26020 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
26022         * manual/setjmp.texi: Document MTASC-safety properties.
26024         * manual/search.texi: Document MTASC-safety properties.
26026         * manual/resource.texi: Document MTASC-safety properties.
26028         * manual/process.texi: Document MTASC-safety properties.
26030         * manual/platform.texi: Document MTASC-safety properties.
26032         * manual/pipe.texi: Document MTASC-safety properties.
26034         * manual/pattern.texi: Document MTASC-safety properties.
26036         * manual/message.texi: Document MTASC-safety properties.
26038         [BZ #12751]
26039         * manual/memory.texi: Document MTASC-safety properties.
26041         * manual/math.texi: Document MTASC-safety properties.
26043         * manual/locale.texi: Document MTASC-safety properties.
26045         * manual/llio.texi: Document MTASC-safety properties.
26047         * manual/libdl.texi: New.
26049         * manual/lang.texi: Document MTASC-safety properties.
26051         * manual/job.texi: Document MTASC-safety properties.
26053         * manual/getopt.texi: Document MTASC-safety properties.
26055         * manual/ctype.texi: Document MTASC-safety properties.
26057 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
26059         [BZ #16046]
26060         * csu/libc-tls.c (static_map): Remove variable.
26061         (__libc_setup_tls): Use main executable's link map for TLS data.
26062         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
26063         casing for LM_ID_BASE and GL(dl_nns).
26064         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
26065         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
26066         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
26067         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
26068         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
26069         member.
26070         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
26071         l_phnum members.
26073 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
26075         * manual/debug.texi: Document MTASC-safety properties.
26077 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
26079         [BZ #16510]
26080         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
26081         of __x86_64__ when disabling x87 inline functions.
26083 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
26085         * manual/charset.texi: Document MTASC-safety properties.
26087         * manual/crypt.texi: Document MTASC-safety properties.
26089         * manual/conf.texi: Document MTASC-safety properties.
26091         * manual/arith.texi: Document MTASC-safety properties.
26093         * manual/argp.texi: Document MTASC-safety properties.
26095         * manual/macros.texi: Introduce macros to document multi
26096         thread, asynchronous signal and asynchronous cancellation
26097         safety properties.
26098         * manual/intro.texi: Introduce the properties themselves.
26100 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26102         * sysdeps/sh/sh4/Makefile: New file.
26104 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
26106         * math/gen-libm-test.pl ($srcdir): New variable.
26107         ($auto_input): Use it.
26109 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26111         [BZ #16506]
26112         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
26113         access beyond array bounds when parsing netgroups file.
26115         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
26116         the old buffer before realloc.
26118 2014-01-27  Allan McRae  <allan@archlinux.org>
26120         * po/fr.po: Update French translation from translation project.
26122 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26124         * sysdeps/sh/libm-test-ulps: Regenerate.
26126 2014-01-24  David S. Miller  <davem@davemloft.net>
26128         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
26130 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26132         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
26133         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
26135 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26137         [BZ #16474]
26138         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
26139         string pointers after reallocation.
26141 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26143         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
26144         __SH4A__ instead of __SH_FPU_ANY__.
26146 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26148         * sysdeps/sh/fpu_control.h: New file.
26149         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
26150         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
26151         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
26152         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
26153         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
26154         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
26155         * sysdeps/sh/sys/ucontext.h: Remove.
26156         * sysdeps/sh/sys: Remove directory.
26158 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26160         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
26161         s390/sys/ucontext.h.
26162         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
26163         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
26165 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
26167         [BZ #15605]
26168         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
26170 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26172         [BZ#16431]
26173         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26174         Adjust the vDSO correctly for internal calls.
26175         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
26177 2014-01-20  Allan McRae  <allan@archlinux.org>
26179         * po/ca.po: Update Catalan translation from translation project.
26181 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
26183         * sysdeps/s390/sotruss-lib.c: New file.
26185 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26187         [BZ#16430]
26188         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
26189         (__GI___gettimeofday): Alias for a different internal symbol to avoid
26190         local calls issues by not having a PLT stub required for IFUNC calls.
26191         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
26193 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
26195         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
26196         * math/test-fpucw-static.c: Likewise.
26198 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26200         [BZ #16453]
26201         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
26203 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26205         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
26206         implementation for powerpc.
26208 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
26210         [BZ #14782]
26211         * sysdeps/posix/system.c (__libc_system): Do not enable
26212         asynchronous cancellation.
26214 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26216         [BZ #16427]
26217         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
26218         handling only for numbers special also in the IEEE case.
26220 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26222         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26224 2014-01-11  Allan McRae  <allan@archlinux.org>
26226         * po/bg.po: Update Bulgarian translation from translation project.
26228         * po/de.po: Update German translation from translation project.
26230 2014-01-10  Roland McGrath  <roland@hack.frob.com>
26232         * sysdeps/generic/gcc-compat.h: New file.
26234 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26236         * benchtests/asin-inputs: Correct slow inputs.
26237         * benchtests/acos-inputs: Likewise.
26239 2014-01-10  Allan McRae  <allan@archlinux.org>
26241         * po:sv.po: Update Swedish translation from translation project.
26243         * po/vi.po: Update Vietnamese translation from translation project.
26245         * po/eo.po: Update Esperanto translation from translation project.
26247         * po/cs.po: Update Czech translation from translation project.
26249         * po/nl.po: Update Dutch translation from translation project.
26251         * po/pl.po: Update Polish translation from translation project.
26253         * po/ru.po: Update Russian translation from translation project.
26255         * po/uk.po: Update Ukrainian translation from translation project.
26257 2014-01-08  Brooks Moses  <bmoses@google.com>
26259         * elf/dl-load.c: Fix comment typo.
26261 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
26263         * po/header.pot: Rename to...
26264         * po/pot.header: ... this.
26265         * po/Makefile: Use pot.header.
26267 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
26268             Maxim Kuvyrkov  <maxim@kugelworks.com>
26270         [BZ #16394]
26271         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
26272         SRC and DEST against LEN.
26274 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26276         [BZ #16414]
26277         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
26278         implementation.
26279         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
26281 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26285 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
26287         [BZ #16408]
26288         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
26289         for large positive arguments.
26291 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
26293         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26295         * math/auto-libm-test-in: Mark various tests with
26296         xfail-rounding:ldbl-128ibm.
26297         * math/auto-libm-test-out: Regenerated.
26299         [BZ #16407]
26300         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26301         Increase overflow threshold.
26303 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
26305         [BZ #14286]
26306         * stdio-common/vfprintf.c: Check for integer overflow.
26308 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26310         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
26311         the first argument and return value of __tls_get_addr_internal.
26313 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26315         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
26316         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
26318 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26320         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
26321         * sysdeps/s390/rtld-global-offsets.sym: New file.
26322         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
26323         GLIBC_2.19 symbol.
26324         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
26325         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
26326         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26327         ... this.
26328         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
26329         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26330         ... this.
26331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26332         Regenerate.
26333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26334         Regenerate.
26335         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
26336         halfs of GPRs for high_gprs contexts.
26337         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
26338         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
26339         field.
26340         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
26341         uc_flags field.
26342         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
26343         64 bit versions:
26344         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
26345         for high GPRs (uc_high_gprs) and for future extensions
26346         (__reserved).
26347         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
26348         for future extensions (__reserved).
26349         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
26350         64 bit versions:
26351         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
26352         SC_HIGHGPRS offset definition.
26353         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
26354         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
26356         * Versions.def: Add GLIBC_2.19 for libpthread.
26357         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
26358         siglongjmp for libpthread with GLIBC_2.19 symver.
26359         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
26360         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
26361         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
26362         * sysdeps/s390/__longjmp.c: New file.
26363         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
26364         * sysdeps/s390/longjmp.c: New file.
26365         * sysdeps/s390/setjmp.S: New file.
26366         * sysdeps/s390/sigjmp.S: New file.
26367         * sysdeps/s390/v1-longjmp.c: New file.
26368         * sysdeps/s390/v1-setjmp.h: New file.
26369         * sysdeps/s390/v1-sigjmp.c: New file.
26370         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
26371         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
26372         GLIBC_2.19 version.
26373         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
26374         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
26375         versioned symbols for ____longjmp_chk.
26376         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26377         Likewise.
26378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26379         Regenerate.
26380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26381         Regenerate.
26382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26383         Regenerate.
26384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26385         Regenerate.
26386         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
26387         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
26388         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
26389         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
26390         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
26391         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
26392         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
26393         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
26394         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
26395         * sysdeps/s390/rtld-__longjmp.c: New file.
26396         * sysdeps/s390/rtld-setjmp.S: New file.
26398 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
26400         [BZ #16400]
26401         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26402         Return -__logl (x) for small positive arguments without evaluating
26403         a polynomial.
26405 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
26407         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
26408         Rename to ...
26409         (__ptrace_peeksiginfo_args): ... this.
26410         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26411         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26412         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26414 2014-01-06  Allan McRae  <allan@archlinux.org>
26416         * inet/netinet/in.h: Fix typo in comment.
26418 2014-01-05  Andreas Jaeger  <aj@suse.de>
26420         * sysdeps/i386/fpu/libm-test-ulps: Update.
26422 2014-01-05  Allan McRae  <allan@archlinux.org>
26424         * po/libc.pot: Regenerated.
26426         * malloc/memusagestat.c: Fix gettext call formatting.
26428 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
26430         * nscd/nscd.c: Improve usage() output.
26432 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
26434         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
26435         * sysdeps/unix/sysv/linux/configure: Regenerated.
26436         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
26437         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
26439 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26441         [BZ #16390]
26442         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26443         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
26445 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26447         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
26448         extra tokens at end of #undef directive.
26449         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26450         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26451         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26453 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26455         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26457         * math/auto-libm-test-in: Mark various tests with
26458         xfail-rounding:ldbl-128ibm.
26459         * math/auto-libm-test-out: Regenerated.
26461 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
26463         [BZ #16386]
26464         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
26465         numbers with subnormal high part when calculating exponent.
26467         [BZ #16385]
26468         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
26469         fabs.
26471         [BZ #16384]
26472         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
26473         M_LN2l.
26474         (__ieee754_acoshl): Use __log1pl not __log1p.
26476 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
26478         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
26479         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
26480         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
26481         (grow_heap, heap_trim, _int_new_arena, get_free_list)
26482         (reused_arena, arena_get2): Convert to GNU style.
26483         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
26484         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
26485         (memalign_check, __malloc_set_state): Likewise.
26486         * malloc/mallocbug.c (main): Likewise.
26487         * malloc/malloc.c (__malloc_assert, malloc_init_state)
26488         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
26489         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
26490         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
26491         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
26492         (__posix_memalign, malloc_info): Likewise.
26493         * malloc/malloc.h: Likewise.
26494         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
26495         (mallochook, memalignhook, reallochook, mabort): Likewise.
26496         * malloc/mcheck.h: Likewise.
26497         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
26498         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
26499         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
26500         * malloc/morecore.c (__default_morecore): Likewise.
26501         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
26502         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
26503         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
26504         (print_and_abort): Likewise.
26505         * malloc/obstack.h: Likewise.
26506         * malloc/set-freeres.c (__libc_freeres): Likewise.
26507         * malloc/tst-mallocstate.c (main): Likewise.
26508         * malloc/tst-mtrace.c (main): Likewise.
26509         * malloc/tst-realloc.c (do_test): Likewise.
26511 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26513         [BZ #16366]
26514         * nscd/netgroupcache.c (do_notfound): New function.
26515         (addgetnetgrentX): Use it.
26517         [BZ # 16365]
26518         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
26519         NSS_STATUS_NOTFOUND.
26521 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
26523         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26526 2014-01-01  Allan McRae  <allan@archlinux.org>
26528         * scripts/update-copyrights: Update configure input file suffix.
26530         * NEWS: Update copyright year.
26531         * catgets/gencat.c: Likewise.
26532         * csu/version.c: Likewise.
26533         * debug/catchsegv.sh: Likewise.
26534         * debug/pcprofiledump.c: Likewise.
26535         * debug/xtrace.sh: Likewise.
26536         * elf/ldconfig.c: Likewise.
26537         * elf/ldd.bash.in: Likewise.
26538         * elf/pldd.c: Likewise.
26539         * elf/sotruss.ksh: Likewise.
26540         * elf/sprof.c: Likewise.
26541         * iconv/iconv_prog.c: Likewise.
26542         * iconv/iconvconfig.c: Likewise.
26543         * locale/programs/locale.c: Likewise.
26544         * locale/programs/localedef.c: Likewise.
26545         * login/programs/pt_chown.c: Likewise.
26546         * malloc/memusage.sh: Likewise.
26547         * malloc/memusagestat.c: Likewise.
26548         * malloc/mtrace.pl: Likewise.
26549         * manual/libc.texinfo: Likewise.
26550         * nscd/nscd.c: Likewise.
26551         * nss/getent.c: Likewise.
26552         * nss/makedb.c: Likewise.
26553         * posix/getconf.c: Likewise.
26554         * scripts/test-installation.pl: Likewise.
26556         * All files with FSF copyright notices: Update copyright dates
26557         using scripts/update-copyrights.
26558         * intl/plural.c: Regenerated.
26559         * locale/programs/charmap-kw.h: Likewise.
26560         * locale/programs/locfile-kw.h: Likewise.
26562 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
26564         * sysdeps/unix/sysv/linux/configure: Regenerated.
26565         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
26566         the linux/fanotify.h header.
26567         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
26568         HAVE_LINUX_FANOTIFY_H is defined.
26570 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26572         * benchtests/cos-inputs: New inputs.
26573         * benchtests/sin-inputs: Likewise.
26575         * benchtests/atan-inputs: New inputs. Fix name of multiple
26576         precision fallback inputs.
26578         * benchtests/atanh-inputs: New inputs.
26579         * benchtests/tanh-inputs: Likewise.
26581         * benchtests/acosh-inputs: New inputs.
26582         * benchtests/asinh-inputs: Likewise.
26584         * benchtests/cosh-inputs: New inputs.
26585         * benchtests/sinh-inputs: Likewise.
26587         * benchtests/acos-inputs: Add more inputs.
26588         * benchtests/asin-inputs: Likewise.
26590 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
26592         [BZ #16375]
26593         * manual/arith.texi: Fix spelling.
26594         * manual/charset.texi: Likewise.
26595         * manual/errno.texi: Likewise.
26596         * manual/filesys.texi: Likewise.
26597         * manual/lang.texi: Likewise.
26598         * manual/llio.texi: Likewise.
26599         * manual/locale.texi: Likewise.
26600         * manual/message.texi: Likewise.
26601         * manual/resource.texi: Likewise.
26602         * manual/search.texi: Likewise.
26603         * manual/setjmp.texi: Likewise.
26604         * manual/stdio.texi: Likewise.
26605         * manual/string.texi: Likewise.
26606         * manual/sysinfo.texi: Likewise.
26607         * manual/time.texi: Likewise.
26609 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
26611         * po/sl.po: New file.
26613 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
26615         * .gitignore: Add core/.gdbinit/.gdb_history.
26617 2013-12-27  Allan McRae  <allan@archlinux.org>
26619         [BZ #16369]
26620         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
26621         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
26623 2013-12-24  Brooks Moses  <bmoses@google.com>
26625         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
26626         all compilers that claim C++98 compliance, not just GCC.
26627         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26628         Likewise.
26630 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26632         * NEWS: Restore accidentally deleted bug-fix entries.
26634 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26635             Ondřej Bílka  <neleai@seznam.cz>
26637         [BZ #15073]
26638         * malloc/malloc.c (_int_free): Perform sanity check only if we
26639         have_lock.
26641 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
26643         [BZ #12986]
26644         * manual/stdio.texi (String Input Conversions): Clarify that character
26645         classes are not supported.
26647 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26651 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
26653         [BZ #16337]
26654         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26655         Calculate results for small negative arguments directly rather
26656         than using reflection formula with special underflow handling.
26658         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26659         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
26660         sysdeps/unix/bsd/bsd4.4/syscalls.list.
26661         (fchflags): Likewise.
26662         (revoke): Likewise.
26663         (setlogin): Likewise.
26664         (sigaltstack): Likewise.
26665         (wait4): Likewise.
26666         (sigblock): Remove.
26667         (sigsetmask): Likewise.
26668         (wait3): Likewise.
26669         (waitpid): Likewise.
26670         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26671         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26672         file.
26673         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26674         * sysdeps/unix/bsd/Makefile: ... here.
26675         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26676         * sysdeps/unix/bsd/Versions: ... here.
26677         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26678         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26679         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26680         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26681         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26682         * sysdeps/unix/bsd/sigblock.c: ... here.
26683         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26684         * sysdeps/unix/bsd/sigsetmask.c: ... here.
26685         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26686         * sysdeps/unix/bsd/sigvec.c: ... here.
26687         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26688         * sysdeps/unix/bsd/tcdrain.c: ... here.
26689         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26690         * sysdeps/unix/bsd/tcgetattr.c: ... here.
26691         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26692         * sysdeps/unix/bsd/tcsetattr.c: ... here.
26693         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26694         * sysdeps/unix/bsd/wait.c: ... here.
26695         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26696         * sysdeps/unix/bsd/wait3.c: ... here.
26697         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26698         * sysdeps/unix/bsd/waitpid.c: ... here.
26700 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
26702         [BZ #16356]
26703         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26704         round-to-nearest for [!USE_AS_EXPM1L].
26705         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26706         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
26707         more tests of exp and exp10.  Expect some exp10 tests to miss
26708         exceptions or fail in directed rounding modes.
26709         * math/auto-libm-test-out: Regenerated.
26710         * math/libm-test.inc (exp10_tonearest_test_data): New array.
26711         (exp10_test_tonearest): New function.
26712         (exp10_towardzero_test_data): New array.
26713         (exp10_test_towardzero): New function.
26714         (exp10_downward_test_data): New array.
26715         (exp10_test_downward): New function.
26716         (exp10_upward_test_data): New array.
26717         (exp10_test_upward): New function.
26718         (main): Call the new functions.
26719         * sysdeps/i386/fpu/libm-test-ulps: Update.
26720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26722 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26724         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26725         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26726         * math/auto-libm-test-out: Regenerated.
26727         * math/libm-test.inc (acosh_test_data): Add more tests.
26728         (atanh_test_data): Likewise.
26729         (ceil_test_data): Likewise.
26730         (copysign_test_data): Likewise.
26731         * sysdeps/i386/fpu/libm-test-ulps: Update.
26732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26734         * timezone/checktab.awk: Update from tzcode 2013i.
26735         * timezone/private.h: Likewise.
26736         * timezone/scheck.c: Likewise.
26737         * timezone/tzfile.h: Likewise.
26738         * timezone/tzselect.ksh: Likewise.
26739         * timezone/zdump.c: Likewise.
26740         * timezone/zic.c: Likewise.
26742         * math/auto-libm-test-in: Add tests of cpow.
26743         * math/auto-libm-test-out: Regenerated.
26744         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26745         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26746         mpc_cc_c.
26747         (func_calc_desc): Add mpc_cc_c union field.
26748         (test_functions): Add cpow.
26749         (special_fill_2pi): New function.
26750         (special_real_inputs): Add 2pi.
26751         (calc_generic_results): Handle mpc_cc_c.
26752         * sysdeps/i386/fpu/libm-test-ulps: Update.
26753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26755         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26756         csqrt, ctan and ctanh.
26757         * math/auto-libm-test-out: Regenerated.
26758         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26759         (TEST_COND_x86): Likewise.
26760         (ccos_test_data): Use AUTO_TESTS_c_c.
26761         (ccosh_test_data): Likewise.
26762         (cexp_test_data): Likewise.
26763         (clog_test_data): Likewise.
26764         (csqrt_test_data): Likewise.
26765         (ctan_test_data): Likewise.
26766         (ctan_tonearest_test_data): Likewise.
26767         (ctan_towardzero_test_data): Likewise.
26768         (ctan_downward_test_data): Likewise.
26769         (ctan_upward_test_data): Likewise.
26770         (ctanh_test_data): Likewise.
26771         (ctanh_tonearest_test_data): Likewise.
26772         (ctanh_towardzero_test_data): Likewise.
26773         (ctanh_downward_test_data): Likewise.
26774         (ctanh_upward_test_data): Likewise.
26775         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26776         mpc_c_c.
26777         (func_calc_desc): Add mpc_c_c union field.
26778         (FUNC_mpc_c_c): New macro.
26779         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26780         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26781         ctanh.
26782         (special_fill_min_subnorm_p120): New function.
26783         (special_real_inputs): Add min_subnorm_p120.
26784         (calc_generic_results): Handle mpc_c_c.
26785         * sysdeps/i386/fpu/libm-test-ulps: Update.
26786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26788 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26790         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26791         (do_sin_slow): New functions.
26792         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26793         (cslow2, csloww1, csloww2): Use the new functions.
26795         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26796         Use M to change sign of result instead of X.  Assume X is
26797         positive.
26798         (csloww1): Likewise.
26799         (__sin): Adjust.
26800         (__cos): Adjust.
26802         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26803         arguments A and DA.
26804         (__sin): Adjust.
26805         (__cos): Likewise.
26807         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26808         (__cos): Likewise.
26809         (sloww1): Don't adjust sign of DX.
26810         (csloww1): Likewise.
26811         (sloww2): Use X directly and don't adjust sign of DX.
26812         (csloww2): Likewise.
26814 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26816         * math/auto-libm-test-in: Add tests of cabs and carg.
26817         * math/auto-libm-test-out: Regenerated.
26818         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26819         (carg_test_data): Likewise.
26820         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26821         mpc_c_f.
26822         (func_calc_desc): Add mpc_c_f union field.
26823         (test_functions): Add cabs and carg.
26824         (calc_generic_results): Handle mpc_c_f.
26826         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26827         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26828         as a macro and a compat symbol.
26829         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26830         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26831         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26832         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26833         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26834         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26835         not use .hidden.
26836         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26837         Likewise.
26838         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26839         Likewise.
26840         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26841         Likewise.
26842         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26843         Likewise.
26844         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26845         Likewise.
26846         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26847         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26848         from GLIBC_2.3.2.
26850 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26854 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26856         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26857         trailing whitespace removed.
26858         * scripts/config.guess: Update to version 2013-11-29.
26859         * scripts/config.sub: Update to version 2013-10-01.
26861         * math/auto-libm-test-in: Add tests of sincos.
26862         * math/auto-libm-test-out: Regenerated.
26863         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26864         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26865         mpfr_f_11.
26866         (func_calc_desc): Add mpfr_f_11 union field.
26867         (test_functions): Add sincos.
26868         (calc_generic_results): Handle mpfr_f_11.
26869         * sysdeps/i386/fpu/libm-test-ulps: Update.
26870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26872 2013-12-19  Andreas Schwab  <schwab@suse.de>
26874         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26875         CALL_MCOUNT.
26876         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26877         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26878         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26880 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26882         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26883         * sysdeps/i386/fpu/libm-test-ulps: Update.
26884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26886         [BZ #16293]
26887         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26888         round-to-nearest mode when using frndint.
26889         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26890         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26891         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26892         Likewise.
26893         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26894         sinh test to fail.
26895         * math/auto-libm-test-out: Regenerated.
26896         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26897         (TEST_COND_x86): Likewise.
26898         (expm1_tonearest_test_data): New array.
26899         (expm1_test_tonearest): New function.
26900         (expm1_towardzero_test_data): New array.
26901         (expm1_test_towardzero): New function.
26902         (expm1_downward_test_data): New array.
26903         (expm1_test_downward): New function.
26904         (expm1_upward_test_data): New array.
26905         (expm1_test_upward): New function.
26906         (main): Run the new test functions.
26907         * sysdeps/i386/fpu/libm-test-ulps: Update.
26908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26910         * include/features.h: Update comment documenting feature test
26911         macros.  Mention _DEFAULT_SOURCE in comment.
26912         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26913         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26914         _BSD_SOURCE and _SVID_SOURCE.
26915         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26916         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26917         !_SVID_SOURCE]: Likewise.
26918         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26919         (__USE_POSIX_IMPLICITLY): Define.
26920         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26921         (_POSIX_SOURCE): Undefine and redefine.
26922         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26923         (_POSIX_C_SOURCE): Likewise.
26924         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26925         (Feature Test Macros): Update documentation of default features.
26927 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26929         * benchtests/Makefile: Add bench-strtok.
26930         * benchtests/bench-strtok.c: New file: strtok benchtest.
26932 2013-12-19  Allan McRae  <allan@archlinux.org>
26934         * manual/install.texi: Suppress menu for plain text output.
26935         * INSTALL: Regenerated.
26937 2013-12-18  Brooks Moses  <bmoses@google.com>
26939         [BZ #15846]
26940         * misc/getauxval.c: Include errno.h.
26941         (__getauxval): Set errno to ENOENT if the requested type is not
26942         found.
26943         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26944         don't declare with __attribute_const__.
26945         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26946         * manual/startup.texi: Document that getauxval sets errno.
26948 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26950         * math/auto-libm-test-in: Add tests of jn and yn.
26951         * math/auto-libm-test-out: Regenerated.
26952         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26953         (yn_test_data): Likewise.
26954         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26955         mpfr_if_f.
26956         (func_calc_desc): Add mpfr_if_f union field.
26957         (FUNC_mpfr_if_f): New macro.
26958         (test_functions): Add jn and yn.
26959         (calc_generic_results): Assert type of second input for
26960         mpfr_ff_f.  Handle mpfr_if_f.
26961         (output_for_one_input_case): Disable all checking for arguments
26962         fitting floating-point types in case of an integer argument.
26963         * sysdeps/i386/fpu/libm-test-ulps: Update.
26964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26967         Don't expect fegetround reference in libm.so.
26969 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26971         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26972         $(config-cflags-nofma).
26974 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26976         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26977         * math/auto-libm-test-out: Regenerated.
26979         [BZ #16338]
26980         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26981         to determine exponent and adjust argument to have exponent of -1.
26982         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26983         log2.
26984         * math/auto-libm-test-out: Regenerated.
26985         * sysdeps/i386/fpu/libm-test-ulps: Update.
26986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26988 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26990         * manual/probes.texi: Remove cases when per-thread arenas are
26991         disabled.
26993 2013-12-18  Andreas Schwab  <schwab@suse.de>
26995         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26996         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26997         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26998         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26999         * sysdeps/i386/i686/multiarch/Makefile: Update.
27000         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
27002 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
27004         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
27005         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
27007 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
27009         [BZ #15968]
27010         Support TZ transition times < 00:00:00.
27011         This is needed for version-3 tz-format files; it supports time
27012         stamps past 2037 for America/Godthab (the only entry in the tz
27013         database for which this change is relevant).
27014         * manual/time.texi (TZ Variable): Document transition times
27015         from -167:59:59 through -00:00:01.
27016         * time/tzset.c (tz_rule): Time of day is now signed.
27017         (__tzset_parse_tz): Parse negative time of day.
27019         Document TZ transition times >= 25:00:00.
27020         * manual/time.texi (TZ Variable): Document transition times from
27021         25:00:00 through 167:59:59.  These are already supported, and this
27022         support will help with version-3 tz-format files.
27024         * manual/time.texi (TZ Variable): Modernize North America example
27025         to reflect current (i.e., 2007-and-later) daylight saving rules.
27027         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
27029 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
27031         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
27032         * sysdeps/unix/bsd/bits/stat.h: Likewise.
27033         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
27034         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27035         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
27036         * sysdeps/unix/bsd/bsdstat.h: Likewise.
27037         * sysdeps/unix/bsd/clock.c: Likewise.
27038         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
27039         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
27040         * sysdeps/unix/bsd/init-posix.c: Likewise.
27041         * sysdeps/unix/bsd/poll.c: Likewise.
27042         * sysdeps/unix/bsd/ptsname.c: Likewise.
27043         * sysdeps/unix/bsd/seekdir.c: Likewise.
27044         * sysdeps/unix/bsd/setegid.c: Likewise.
27045         * sysdeps/unix/bsd/seteuid.c: Likewise.
27046         * sysdeps/unix/bsd/setgid.c: Likewise.
27047         * sysdeps/unix/bsd/setrgid.c: Likewise.
27048         * sysdeps/unix/bsd/setruid.c: Likewise.
27049         * sysdeps/unix/bsd/setsid.c: Likewise.
27050         * sysdeps/unix/bsd/setuid.c: Likewise.
27051         * sysdeps/unix/bsd/sigaction.c: Likewise.
27052         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
27053         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
27054         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
27055         * sysdeps/unix/bsd/telldir.c: Likewise.
27056         * sysdeps/unix/bsd/times.c: Likewise.
27057         * sysdeps/unix/bsd/usleep.c: Likewise.
27059         * misc/Makefile (install-lib): Remove libbsd-compat.a.
27060         ($(objpfx)libbsd-compat.a): Remove rule.
27062         * include/features.h (__FAVOR_BSD): Do not define.
27063         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
27064         features conflicting with POSIX.
27065         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
27066         (_BSD_SOURCE): Remove description of not being a subset of other
27067         feature test macros.
27068         * manual/job.texi (getpgrp): Do not document BSD version.
27069         (getpgid): Do not document by reference to BSD getpgrp.
27070         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
27071         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
27072         * signal/signal.h [__FAVOR_BSD]: Likewise.
27073         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
27074         instead of making contents conditional on [__FAVOR_BSD].
27075         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
27077 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27081 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
27083         [BZ #16314]
27084         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
27085         values below 2**-450, not 2**-500.
27086         * math/auto-libm-test-in: Don't allow spurious underflow from
27087         hypot.
27088         * math/auto-libm-test-out: Regenerated.
27090         [BZ #16316]
27091         [BZ #16330]
27092         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
27093         values of ha and hb and sort them after adjusting subnormal
27094         arguments.
27095         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27096         Likewise.
27097         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
27098         values of ea and eb and sort them after adjusting subnormal
27099         arguments.
27100         * math/auto-libm-test-in: Do not expect some hypot tests of
27101         subnormals to fail.  Add more hypot tests.
27102         * math/auto-libm-test-out: Regenerated.
27104 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27106         [BZ #13304]
27107         * sysdeps/sh/s_fma.c: New file.
27108         * sysdeps/sh/s_fmaf.c: New file.
27109         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
27110         version.
27111         * sysdeps/sh/Implies: Add sh/soft-fp.
27113 2013-12-16  Roland McGrath  <roland@hack.frob.com>
27115         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
27116         level of indirection to members `objname', `errstring', `malloced'.
27117         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
27118         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
27119         it as the __longjmp argument (just pass 1 instead).
27120         (_dl_catch_error): Initialize C with argument pointers and address of
27121         volatile local ERRCODE rather than copying values out of C at return.
27123 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
27125         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
27126         * math/auto-libm-test-out: Regenerated.
27127         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
27128         (hypot_test_data): Likewise.
27129         (pow_test_data): Likewise.
27130         (pow_tonearest_test_data): Likewise.
27131         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27132         mpfr_ff_f.
27133         (func_calc_desc): Add mpfr_ff_f union field.
27134         (FUNC_mpfr_ff_f): New macro.
27135         (test_functions): Add atan2, hypot and pow.
27136         (special_fill_min): New function.
27137         (special_fill_minus_min): Likewise.
27138         (special_fill_min_subnorm): Likewise.
27139         (special_fill_minus_min_subnorm): Likewise.
27140         (special_real_inputs): Add min, -min, min_subnorm and
27141         -min_subnorm.
27142         (calc_generic_results): Handle mpfr_ff_f.
27143         * sysdeps/i386/fpu/libm-test-ulps: Update.
27144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27146 2013-12-16  Will Newton  <will.newton@linaro.org>
27148         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
27149         (Aligned Memory Blocks): Add documentation for aligned_alloc
27150         and suggest it as an alternative to posix_memalign.
27151         (Hooks for Malloc): Document __memalign_hook is also called
27152         for aligned_alloc.  (Summary of Malloc): Add summary for
27153         aligned alloc.  Document __memalign_hook is also called
27154         for aligned_alloc.
27156 2013-12-16  Will Newton  <will.newton@linaro.org>
27158         * manual/memory.texi (Malloc Examples): Clarify default
27159         alignment documentation.  Suggest posix_memalign rather
27160         than memalign or valloc.
27161         (Aligned Memory Blocks): Remove suggestion to use memalign
27162         or valloc.  Remove obsolete comment about BSD.
27163         Document memalign errno values and mark the function obsolete.
27164         Document posix_memalign returned error codes.  Mark valloc
27165         as obsolete.  (Hooks for Malloc): __memalign_hook is also
27166         called for posix_memalign and valloc.
27167         (Summary of Malloc): Add posix_memalign to function summary.
27168         __memalign_hook is also called for posix_memalign and valloc.
27170 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27172         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
27173         TAYLOR_SIN.
27174         (__sin): Adjust.
27175         (__cos): Likewise.
27176         (sloww): Use mynumber union.  Expand ternary operator into
27177         if-else statements.
27178         (cslow): use mynumber union.
27180 2013-12-16  Allan McRae  <allan@archlinux.org>
27182         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
27183         * configure: Regenerated.
27185         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
27187         [BZ #14120]
27188         * configure.ac: Added --enable-maintainer-mode. Check for
27189         autoconf when enabled.
27190         * configure: Regenerated.
27192         * nscd/nscd.service: New file.
27193         * nscd/nscd.tmpfiles: New file.
27195 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
27197         [BZ #12100]
27198         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
27199         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
27200         * sysdeps/x86_64/multiarch/strstr.c: ... here.
27201         (strstr): Add __strstr_sse2_unaligned ifunc.
27202         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
27203         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
27204         (strcasestr): Remove __strcasestr_sse42 ifunc.
27205         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
27206         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27207         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27209 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27211         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
27212         * sysdeps/sh/bits/fenv.h: ... here.
27213         * sysdeps/sh/sh4/fpu/bits: Remove directory.
27215 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27217         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
27219         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
27220         hypotf multiarch implementations.
27221         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
27222         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
27223         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
27224         multiarch hypot for PPC64.
27225         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
27226         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
27227         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
27228         multiarch hypotf for PPC64.
27230         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
27231         modff multiarch implementations.
27232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
27233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
27234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
27235         multiarch modf for PPC64.
27236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
27237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
27238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
27239         multiarch modff for PPC64.
27241         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
27242         and logl multiarch implementations.
27243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
27244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
27245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
27246         multiarch logb for PPC64.
27247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
27248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
27249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
27250         multiarch logb for PPC64.
27251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
27252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
27253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
27254         multiarch logb for PPC64.
27256         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
27257         isinff multiarch implementation.
27258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
27259         file.
27260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
27261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
27262         multiarch isinf for PPC64.
27263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
27264         file.
27265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
27266         multiarch isinff for PPC64.
27268         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
27269         finitef multiarch implementation.
27270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
27271         file.
27272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
27273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
27274         multiarch finite for PPC64.
27275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
27276         file.
27277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
27278         multiarch finitef for PPC64.
27280         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
27281         lrint multiarch implementation.
27282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
27283         file.
27284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
27285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
27286         multiarch llrint for PPC64.
27287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
27288         multiarch lrint for PPC64.
27290         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
27291         copysignf multiarch implementation.
27292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
27293         file.
27294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
27295         file.
27296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
27297         multiarch copysign for PPC64.
27298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
27299         multiarch copysignf for PPC64.
27301         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
27302         multiarch implementation.
27303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
27304         file.
27305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
27306         file.
27307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
27308         file.
27309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
27310         file.
27311         multiarch llround for PPC64.
27312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
27313         multiarch trunc for PPC64.
27314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
27315         multiarch truncf for PPC64.
27317         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
27318         multiarch implementation.
27319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
27320         file.
27321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
27322         file.
27323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
27324         file.
27325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
27326         file.
27327         multiarch llround for PPC64.
27328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
27329         multiarch round for PPC64.
27330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
27331         multiarch roundf for PPC64.
27333         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
27334         multiarch implementation.
27335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
27336         file.
27337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
27338         file.
27339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
27340         file.
27341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
27342         file.
27343         multiarch llround for PPC64.
27344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
27345         multiarch floor for PPC64.
27346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
27347         multiarch floorf for PPC64.
27349         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
27350         multiarch implementation.
27351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
27352         file.
27353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
27354         file.
27355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
27356         file.
27357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
27358         file.
27359         multiarch llround for PPC64.
27360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
27361         multiarch ceil for PPC64.
27362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
27363         multiarch ceilf for PPC64.
27365         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
27366         multiarch implementation.
27367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
27368         file.
27369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
27370         file.
27371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
27372         file.
27373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
27374         multiarch llround for PPC64.
27375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
27376         multiarch lround for PPC64.
27378         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
27379         multiarch implementation.
27380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
27381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
27382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
27383         file.
27384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
27385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
27386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
27387         multiarch isnan for PPC64.
27388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
27389         multiarch isnanf for PPC64.
27391         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
27392         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
27393         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
27394         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
27395         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
27396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
27398         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
27399         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27400         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27401         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27403         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
27404         multiarch implementations.
27405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27406         (__libc_ifunc_impl_list): Likewise.
27407         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27408         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
27409         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
27410         multiarch stpcpy for PPC64.
27412         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
27413         multiarch implementations.
27414         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27415         (__libc_ifunc_impl_list): Likewise.
27416         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
27417         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
27418         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
27419         multiarch strcpy for PPC64.
27421         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
27422         redefine function name.
27423         (_wordcopy_fwd_dest_aligned): Likewise.
27424         (_wordcopy_bwd_aligned): Likewise.
27425         (_wordcopy_bwd_dest_aligned): Likewise.
27426         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
27427         multiarch implementations.
27428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27429         (__libc_ifunc_impl_list): Likewise.
27430         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
27431         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
27432         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
27433         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
27434         multiarch wcscpy for PPC64.
27436         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
27437         multiarch implementations.
27438         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27439         (__libc_ifunc_impl_list): Likewise.
27440         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
27441         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
27442         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
27443         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
27444         multiarch wcscpy for PPC64.
27446         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
27447         multiarch implementations.
27448         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27449         (__libc_ifunc_impl_list): Likewise.
27450         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
27451         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
27452         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
27453         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
27454         multiarch wcsrchr for PPC64.
27456         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
27457         multiarch implementations.
27458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27459         (__libc_ifunc_impl_list): Likewise.
27460         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
27461         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
27462         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
27463         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
27464         multiarch wcschr for PPC64.
27466         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
27467         multiarch implementations.
27468         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27469         (__libc_ifunc_impl_list): Likewise.
27470         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
27471         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
27472         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
27473         multiarch strchrnul for PPC64.
27475         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
27476         implementations.
27477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27478         (__libc_ifunc_impl_list): Likewise.
27479         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
27480         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
27481         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
27482         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
27483         strchr for PPC64.
27485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
27486         implementations.
27487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27488         (__libc_ifunc_impl_list): Likewise.
27489         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
27490         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
27491         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
27492         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
27493         strncmp for PPC64.
27495         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
27496         multiarch implementations.
27497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27498         (__libc_ifunc_impl_list): Likewise.
27499         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
27500         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
27501         strncasecmp for PPC64.
27502         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
27503         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
27504         multiarch strncasecmp_l for PPC64.
27506         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
27507         multiarch implementations.
27508         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27509         (__libc_ifunc_impl_list): Likewise.
27510         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
27511         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
27512         multiarch strcasecmp for PPC64.
27513         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
27514         file.
27515         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
27516         multiarch strcasecmp_l for PPC64.
27518         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
27519         implementations.
27520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27521         (__libc_ifunc_impl_list): Likewise.
27522         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
27523         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
27524         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
27525         strnlen for PPC64.
27527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
27528         implementations.
27529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27530         (__libc_ifunc_impl_list): Likewise.
27531         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
27532         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
27533         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
27534         strlen for PPC64.
27536         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
27537         implementations.
27538         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27539         (__libc_ifunc_impl_list): Likewise.
27540         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
27541         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
27542         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
27543         rawmemrchr for PPC64.
27545         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
27546         implementation.
27547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27548         (__libc_ifunc_impl_list): Likewise.
27549         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
27550         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
27551         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
27552         memrchr for PPC64.
27554         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
27555         implementation.
27556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27557         (__libc_ifunc_impl_list): Likewise.
27558         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
27559         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
27560         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
27561         memchr for PPC64.
27563         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
27564         implementation.
27565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27566         (__libc_ifunc_impl_list): Likewise.
27567         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
27568         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
27569         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
27570         mempcpy for PPC64.
27572         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
27573         avoid cretion of __bzero symbol.
27574         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
27575         Likewise.
27576         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
27577         Likewise.
27578         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
27579         Likewise.
27580         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
27581         multiarch implementations.
27582         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27583         (__libc_ifunc_impl_list): Likewise.
27584         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
27585         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
27586         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
27587         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
27588         bzero for PPC32.
27589         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
27590         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
27591         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
27592         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
27593         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
27594         memset for PPC64.
27595         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
27597         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
27598         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
27599         implementations.
27600         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27601         (__libc_ifunc_impl_list): Likewise.
27602         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
27603         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
27604         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
27605         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
27606         memcmp for PPC64.
27608         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
27609         multiarch for POWER/PPC64.
27610         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27611         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
27612         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
27613         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
27614         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
27615         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
27616         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
27617         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
27618         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
27619         memcpy for PPC64.
27621         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
27622         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
27623         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
27624         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
27625         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
27626         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
27627         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
27628         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
27629         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
27630         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
27631         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
27632         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
27633         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
27634         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
27635         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
27636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
27637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
27638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
27639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
27640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
27641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
27642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
27644 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27646         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
27648 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27650         * benchtests/Makefile (bench): Add exp2 and log2.
27651         (LDLIBS-bench-exp2): Add -lm.
27652         (LDLIBS-bench-log2): Likewise.
27653         * benchtests/exp2-inputs: New inputs file.
27654         * benchtests/log2-inputs: New inputs file.
27655         * benchtests/log-inputs: Add new inputs.
27656         * benchtests/tan-inputs: Likewise.
27658 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27660         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
27661         definition...
27662         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
27663         (csloww2): ... from here.
27665         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
27666         instead of structures.
27667         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
27668         (POLYNOMIAL): Likewise.
27669         (TAYLOR_SLOW): Likewise.
27670         (__sin): Likewise.
27671         (__cos): Likewise.
27672         (slow1): Likewise.
27673         (slow2): Likewise.
27674         (sloww): Likewise.
27675         (sloww1); Likewise.
27676         (sloww2): Likewise.
27677         (bsloww1): Likewise.
27678         (bsloww2): Likewise.
27679         (cslow2): Likewise.
27680         (csloww): Likewise.
27681         (csloww1): Likewise.
27682         (csloww2): Likewise.
27684 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
27686         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27687         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27688         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27689         * malloc/hooks.c (realloc_check): Likewise.
27691         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27692         * malloc/arena.c: Remove PER_THREAD conditional.
27693         [!PER_THREAD]: Remove code.
27694         (ptmalloc_unlock_all2): Likewise.
27695         (ptmalloc_init): Likewise.
27696         (_int_new_arena): Likewise.
27697         (arena_get2): Likewise.
27698         * malloc/hooks.c (__malloc_get_state): Likewise.
27699         (__malloc_set_state): Likewise.
27700         * malloc/malloc.c: Likewise.
27701         (struct malloc_state): Likewise.
27702         (struct malloc_par): Likewise.
27703         (__libc_realloc): Likewise.
27704         (__libc_mallopt): Likewise.
27706 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27708         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27710 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
27712         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27713         macro to a function.  Check for zero perturb_byte.
27714         (_int_malloc, _int_free): Remove zero perturb_byte checks.
27716         * malloc/malloc.c: (force_reg): Remove.
27717         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27718         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27719         force_reg by atomic_forced_read.
27720         * malloc/arena.c (ptmalloc_init): Likewise.
27721         * malloc/hooks.c (top_check): Likewise.
27723 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27725         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27727 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27729         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27731 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27733         * math/auto-libm-test-in: Add tests of lgamma.
27734         * math/auto-libm-test-out: Regenerated.
27735         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27736         (M_LOG_2_SQRT_PIl): Likewise.
27737         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27738         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27739         mpfr_f_f1.
27740         (func_calc_desc): Add mpfr_f_f1 union field.
27741         (ARGS1): New macro.
27742         (ARGS2): Likewise.
27743         (ARGS3): Likewise.
27744         (ARGS4): Likewise.
27745         (RET1): Likewise.
27746         (RET2): Likewise.
27747         (CALC): Likewise.
27748         (FUNC): Likewise.
27749         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27750         (test_functions): Add lgamma.
27751         (calc_generic_results): Handle mpfr_f_f1.
27752         * sysdeps/i386/fpu/libm-test-ulps: Update.
27753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27755 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27757         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27758         __mpn_add_n for PowerPC64/POWER7.
27759         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27760         __mpn_sub_n for PowerPC64/POWER7.
27762         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27763         __mpn_addmul_1 for PowerPC64.
27764         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27765         __mpn_submul_1 for PowerPC64.
27766         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27767         for PowerPC64.
27768         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27769         for PowerPC64.
27771 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27773         [BZ #15089]
27774         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27776 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27778         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27780         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27781         add multiarch folders.
27782         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27783         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27784         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27785         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27786         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27787         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27788         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27789         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27790         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27791         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27792         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27801         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27803         New file.
27804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27805         New file.
27806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27807         multiarch __ieee754_hypot for PowerPC32.
27808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27809         New file.
27810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27811         New file.
27812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27813         multiarch __ieee754_hypotf for PowerPC32.
27815         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27816         long_double_symbol only if __logbl is defined.
27817         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27818         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27819         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27820         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27821         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27822         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27823         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27824         path for implementation.
27825         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27826         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27828         logb, and logbl multiarch implementations for PowerPC32.
27829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27830         file.
27831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27832         file.
27833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27834         multiarch logb for PowerPC32.
27835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27836         file.
27837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27838         file.
27839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27840         multiarch logbf for PowerPC32.
27841         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27843         file.
27844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27845         multiarch logbl implementation for PowerPC32.
27847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27848         and modff multiarch implementations.
27849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27850         New file.
27851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27852         New file.
27853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27854         multiarch modf for PowerPC32.
27855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27856         New file.
27857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27858         New file.
27859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27860         multiarch modff for PowerPC32.
27862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27863         and lrintf multiarch implementations.
27864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27865         New file.
27866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27867         New file.
27868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27869         multiarch lrint for PowerPC32.
27870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27871         file: multiarch lrintf for PowerPC32.
27873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27874         and lroundf multiarch implementations.
27875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27876         New file.
27877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27878         New file.
27879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27880         New file.
27881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27882         multiarch lround for PowerPC32.
27883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27884         file: multiarch lroundf for PowerPC32.
27886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27887         copysign and copysignf multiarch implementations.
27888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27889         New file.
27890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27891         New file.
27892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27893         file: multiarch copysign for PowerPC32.
27894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27895         file: multiarch copysignf for PowerPC32.
27897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27898         and truncf multiarch implementations.
27899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27900         New file.
27901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27902         file.
27903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27904         multiarch trunc for PowerPC32.
27905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27906         New file.
27907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27908         New file.
27909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27910         multiarch truncf for PowerPC32.
27912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27913         and roundf multiarch implementations.
27914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27915         New file.
27916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27917         file.
27918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27919         multiarch round for PowerPC32.
27920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27921         New file.
27922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27923         New file.
27924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27925         multiarch roundf for PowerPC32.
27927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27928         and floorf multiarch implementations.
27929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27930         New file.
27931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27932         file.
27933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27934         multiarch floor for PowerPC32.
27935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27936         New file.
27937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27938         New file.
27939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27940         multiarch floorf for PowerPC32.
27942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27943         and ceilf multiarch implementations.
27944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27945         New file.
27946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27947         file.
27948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27949         multiarch ceil for PowerPC32.
27950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27951         New file.
27952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27953         file.
27954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27955         multiarch ceilf for PowerPC32.
27957         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27958         is defined.
27959         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27960         FINITEF is defined.
27961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27962         and finitef multiarch implementations.
27963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27964         New file.
27965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27966         file.
27967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27968         multiarch finite for PowerPC32.
27969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27970         New file.
27971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27972         file: multiarch finitef for PowerPC32.
27974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27975         and isinff multiarch implementations.
27976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27977         file.
27978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27979         file.
27980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27981         multiarch isinf for PowerPC32.
27982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27983         New file.
27984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27985         multiarch isinff for PowerPC32.
27987         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27988         alias when __isnan is defined.
27989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27990         and isnanf multiarch implementations.
27991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27992         file.
27993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27994         file.
27995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27996         file.
27997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27998         file.
27999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
28000         multiarch isnan for PowerPC32.
28001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
28002         New file.
28003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
28004         New file.
28005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
28006         multiarch isnanf for PowerPC32.
28008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
28009         and sqrtf multiarch implementations.
28010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
28011         file.
28012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
28013         file.
28014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
28015         multiarch sqrt for PowerPC32.
28016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
28017         file.
28018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
28019         file.
28020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
28021         multiarch sqrtf for PowerPC32.
28023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
28024         and llroundf multiarch implementations.
28025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
28026         New file.
28027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
28028         New file.
28029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
28030         New file.
28031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
28032         file: multiarch llround for PowerPC32.
28033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
28034         file: multiarch llroundf for PowerPC32.
28036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
28037         multiarch PowerPC32 fpu implementations.
28038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
28039         New file.
28040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
28041         New file.
28042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
28043         multiarch llrint for PowerPC32.
28044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
28045         New file.
28046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
28047         New file.
28048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
28049         file.
28051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
28053         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
28054         file.
28055         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
28056         file.
28057         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
28058         file.
28059         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
28060         multiarch wordcopy for PPC32.
28061         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28062         wordcopy objects.
28063         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28064         (__libc_ifunc_impl_list): Likewise.
28065         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
28066         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
28067         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
28068         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
28069         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
28070         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
28072         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
28073         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
28074         file.
28075         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
28076         file.
28077         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
28078         file.
28079         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
28080         multiarch wcscpy for PPC32.
28081         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28082         multiarch objects.
28083         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28084         (__libc_ifunc_impl_list): Likewise.
28085         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28086         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28087         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
28088         sysdeps/powerpc/power6/wcscpy.c.
28090         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
28091         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
28092         file.
28093         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
28094         file.
28095         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
28096         file.
28097         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
28098         multiarch wcsrchr for PPC32.
28099         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28100         multiarch objects.
28101         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28102         (__libc_ifunc_impl_list): Likewise.
28103         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28104         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28105         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
28106         sysdeps/powerpc/power6/wcsrchr.c.
28108         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
28109         file.
28110         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
28111         file.
28112         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
28113         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
28114         multiarch wcschr for PPc32.
28115         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28116         multiarch objects.
28117         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28118         (__libc_ifunc_impl_list): Likewise.
28119         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
28120         * sysdeps/powerpc/power6/wcschr.c: ... to here.
28121         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
28122         sysdeps/powerpc/power6/wcschr.c.
28124         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
28125         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
28126         file.
28127         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
28128         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
28129         file: multiarch strchr for PPC32.
28130         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
28131         multiarch objects.
28132         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28133         (__libc_ifunc_impl_list): Likewise.
28135         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
28136         name.
28137         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
28138         file.
28139         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
28140         file.
28141         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
28142         multiarch strchrnul for PPC32.
28143         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
28144         multiarch objects.
28145         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28146         (__libc_ifunc_impl_list): Likewise.
28148         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
28149         file.
28150         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
28151         multiarch strncasecmp for PPC32.
28152         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
28153         file.
28154         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
28155         multiarch strncasecmp_l for PPC32.
28156         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
28157         strncasecmp multiarch objects.
28158         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28159         (__libc_ifunc_impl_list): Likewise.
28161         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
28162         file.
28163         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
28164         multiarch strncasecmp for PPC32.
28165         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28166         New file.
28167         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
28168         multiarch strcasecmp_l for PPC32.
28169         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
28170         multiarch objects.
28171         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28172         (__libc_ifunc_impl_list): Likewise.
28174         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
28175         file.
28176         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
28177         file.
28178         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
28179         multiarch strncmp for PPC32.
28180         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
28181         multiarch objects.
28182         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28183         (__libc_ifunc_impl_list): Likewise.
28185         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
28186         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
28187         file.
28188         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
28189         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
28190         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
28191         multiarch objects.
28192         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28193         (__libc_ifunc_impl_list): Likewise.
28195         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
28196         file.
28197         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
28198         file.
28199         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
28200         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
28201         multiarch objects.
28202         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28203         (__libc_ifunc_impl_list): Likewise.
28205         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
28206         file.
28207         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
28208         file.
28209         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
28210         multiarch rawmemchr for PPC32.
28211         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
28212         multiarch objects.
28213         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28214         (__libc_ifunc_impl_list): Likewise.
28216         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
28217         file.
28218         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
28219         file.
28220         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
28221         file: memrchr multiarch for PPC32.
28222         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
28223         multiarch objects.
28224         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28225         (__libc_ifunc_impl_list): Likewise.
28227         * string/memchr.c (__memchr): Using macro to redefine symbol name.
28228         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
28229         file.
28230         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
28231         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
28232         multiarch memchr for PPC32.
28233         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
28234         multiarch objects.
28235         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28236         (__libc_ifunc_impl_list): Likewise.
28238         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
28239         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
28240         file.
28241         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
28242         file.
28243         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
28244         file: multiarch mempcpy for PPC32.
28245         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
28246         multiarch objects.
28247         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28248         (__libc_ifunc_impl_list): Likewise.
28250         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
28251         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
28252         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
28253         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
28254         multiarch bzero for PPC32.
28255         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
28256         file.
28257         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
28258         file.
28259         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
28260         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
28261         file: multiarch memset for PPC32.
28262         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
28263         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
28264         memset multiarch objects.
28265         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28266         (__libc_ifunc_impl_list): Likewise.
28268         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
28269         file.
28270         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
28271         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
28272         memcmp for PPC32.
28273         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
28274         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
28275         multiarch objects.
28276         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28277         (__libc_ifunc_impl_list): Likewise.
28279         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
28280         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
28281         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
28282         file.
28283         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
28284         file.
28285         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
28286         file.
28287         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
28288         multiarch memcpy for PPC32.
28289         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
28290         multiarch objects.
28291         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28292         (__libc_ifunc_impl_list): Likewise.
28294         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
28295         support multiarch for POWER/PPC32.
28296         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
28297         Likewise.
28298         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
28300         Implies file to make multiarch folder appers before the fpu and
28301         default folder for power4 configuration.
28303 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28305         * scripts/bench.pl: Append volatile keyword to type.
28307 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28309         * sysdeps/sh/sotruss-lib.c: New file.
28310         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
28312 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28316 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
28318         [BZ #6810]
28319         * math/w_tgamma.c: Include <errno.h>.
28320         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
28321         * math/w_tgammaf.c: Include <errno.h>.
28322         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
28323         * math/w_tgammal.c: Include <errno.h>.
28324         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
28325         * math/auto-libm-test-in: Do not allow missing errno on tgamma
28326         underflow.  Add more tgamma tests.
28327         * math/auto-libm-test-out: Regenerated.
28328         * sysdeps/i386/fpu/libm-test-ulps: Update.
28329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28331         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
28332         sin, sinh, tan, tanh, tgamma, y0 and y1.
28333         * math/auto-libm-test-out: Regenerated.
28334         * math/libm-test.inc (TEST_COND_x86_64): New macro.
28335         (TEST_COND_x86): Likewise.
28336         (M_E2l): Remove macro.
28337         (M_E3l): Likewise.
28338         (M_2_SQRT_PIl): Likewise.
28339         (M_SQRT_PIl): Likewise.
28340         (M_1_DIV_El): Likewise.
28341         (log_test_data): Use AUTO_TESTS_f_f.
28342         (log10_test_data): Likewise.
28343         (log1p_test_data): Likewise.
28344         (log2_test_data): Likewise.
28345         (sin_test_data): Likewise.
28346         (sin_tonearest_test_data): Likewise.
28347         (sin_towardzero_test_data): Likewise.
28348         (sin_downward_test_data): Likewise.
28349         (sin_upward_test_data): Likewise.
28350         (sinh_test_data): Likewise.
28351         (sinh_tonearest_test_data): Likewise.
28352         (sinh_towardzero_test_data): Likewise.
28353         (sinh_downward_test_data): Likewise.
28354         (sinh_upward_test_data): Likewise.
28355         (tan_test_data): Likewise.
28356         (tan_tonearest_test_data): Likewise.
28357         (tan_towardzero_test_data): Likewise.
28358         (tan_downward_test_data): Likewise.
28359         (tan_upward_test_data): Likewise.
28360         (tanh_test_data): Likewise.
28361         (tgamma_test_data): Likewise.
28362         (y0_test_data): Likewise.
28363         (y1_test_data): Likewise.
28364         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
28365         (special_real_inputs): Add pi/4.
28366         * sysdeps/i386/fpu/libm-test-ulps: Update.
28367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28369 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28371         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
28372         "longjmp_target" static probes.
28373         (__longjmp): Rename to __longjmp_symbol.
28374         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28375         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
28376         on which longjmp to generate.
28377         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28378         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
28379         probe.
28380         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28381         (__sigjmp_save): Rename to __sigjmp_save_symbol.
28382         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28383         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
28384         and __sigjmp_save_symbol based on which sigsetjmp to generated.
28385         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
28386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
28387         __longjmp_symbol based on which __longjmp to generate.
28388         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
28389         probe.
28390         (setjmp): Rename to setjmp_symbol.
28391         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28392         (_setjmp): Rename to _setjmp_symbol.
28393         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28394         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
28395         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
28396         which setjmp to generate.
28397         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
28398         "longjmp_target" static probes.
28400 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28402         * benchtests/README: Add note about output arguments.
28403         * benchtests/bench-sincos.c: Remove file.
28404         * benchtests/sincos-inputs: New file.
28405         * scripts/bench.pl: Identify output arguments and define
28406         static variables for them.
28408         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
28410         [BZ #15941]
28411         * Makefile (INSTALL): Add install-plain.texi as the primary
28412         dependency.
28413         * manual/install-plain.texi: New file.
28414         * manual/install.texi: Include node directive only for
28415         non-plaintext output.
28417 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
28419         * stdlib/longlong.h: Update from GCC.
28421         [BZ #6807]
28422         [BZ #15901]
28423         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
28424         * math/w_j0f.c (y0f): Likewise.
28425         * math/w_j0l.c (__y0l): Likewise.
28426         * math/w_j1.c (y1): Likewise.
28427         * math/w_j1f.c (y1f): Likewise.
28428         * math/w_j1l.c (__y1l): Likewise
28429         * math/w_jn.c (yn): Likewise.
28430         * math/w_jnf.c (ynf): Likewise.
28431         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
28432         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
28433         value for Bessel function domain errors outside _SVID_ mode.
28434         Adjust sign of return value for yn (negative integer, 0).
28435         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
28436         by zero in return for negative x and set sign appropriately for
28437         negative n.
28438         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
28439         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28440         * math/libm-test.inc (y0_test_data): Add more tests and adjust
28441         expectations in error cases.
28442         (y1_test_data): Likewise.
28443         (yn_test_data): Likewise.
28444         * sysdeps/i386/fpu/libm-test-ulps: Update.
28445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28447 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28449         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
28450         "64" to "64-v1".  Add "64-v2".
28451         (abi-64-options): Rename to ...
28452         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
28453         (abi-64-condition): Rename to ...
28454         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
28455         (abi-64-ld-soname): Rename to ...
28456         (abi-64-v1-ld-soname): ... this.
28457         (abi-64-v2-options): Define.
28458         (abi-64-v2-condition): Likewise.
28459         (abi-64-v2-ld-soname): Likewise.
28460         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
28461         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
28462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
28463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
28464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
28466 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28467             Alan Modra  <amodra@gmail.com>
28469         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
28470         New versions for use with the ELFv2 ABI.
28471         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
28472         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
28473         declaration.
28474         (struct La_ppc64v2_retval): Likewise.
28475         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
28476         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
28477         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
28478         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
28479         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
28480         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28481         Do not save or restore CR.
28482         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
28483         (_dl_profile_resolve): Do no save or restore CR.  Support extended
28484         return values for ELFv2 ABI.  Fix location of FPR return registers.
28485         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
28486         updated values for _CALL_ELF == 2.
28487         (La_regs, La_retval, int_retval): Likewise.
28489 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28491         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
28492         (FRAME_MIN_SIZE_PARM): Likewise.
28493         (FRAME_BACKCHAIN): Likewise.
28494         (FRAME_CR_SAVE): Likewise.
28495         (FRAME_LR_SAVE): Likewise.
28496         (FRAME_TOC_SAVE): Likewise.
28497         (FRAME_PARM_SAVE): Likewise.
28498         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
28499         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
28500         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28501         (call_mcount_parm_offset): New macro.
28502         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
28503         (PROF): Use symbolic stack frame offsets.
28504         (TAIL_CALL_SYSCALL_ERROR): Likewise.
28505         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
28506         Redefine in terms of FRAME_MIN_SIZE.
28507         (_dl_runtime_resolve): Use symbolic stack frame offsets.
28508         (_dl_profile_resolve): Likewise.  Update comment.
28509         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
28510         symbols stack frame offsets.
28511         (__sigsetjmp): Likewise.
28512         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
28513         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
28514         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
28515         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
28517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
28518         (FRAME_BACKCHAIN): Remove.
28519         (FRAME_CR_SAVE): Likewise.
28520         (FRAME_LR_SAVE): Likewise.
28521         (FRAME_COMPILER_DW): Likewise.
28522         (FRAME_LINKER_DW): Likewise.
28523         (FRAME_TOC_SAVE): Likewise.
28524         (FRAME_PARM_SAVE): Likewise.
28525         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
28526         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
28527         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
28529         (CHECK_SP): Use symbolic stack frame offsets.
28530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
28531         zone" instead of caller's parameter save area for temp storage.
28532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28533         Likewise.  Also, use symbolic stack frame offsets.
28534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
28535         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
28536         our own stack frame instead of the caller's.
28537         (__socket): Use symbolic stack frame offsets.
28539 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28540             Alan Modra  <amodra@gmail.com>
28542         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
28543         Define.
28544         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
28545         (PPC64_LOCAL_ENTRY_OFFSET): Define.
28546         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
28547         New function.
28548         (elf_machine_fixup_plt): Call it.
28549         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
28550         reloc arguments.
28551         (elf_machine_rela): Update call to elf_machine_plt_conflict.
28552         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28553         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
28554         r2 before calling target.
28556 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28557             Alan Modra  <amodra@gmail.com>
28559         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
28560         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
28561         versions of macros to support ELFv2 ABI.
28562         (LOCALENTRY): New macro.
28563         (ENTRY, EALIGN): Use it.
28564         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
28565         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
28566         fall through into ENTRY entry point.
28567         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
28568         Only define if _CALL_ELF != 2.
28570         (elf_machine_matches_host): Verify ABI version matches.
28571         (RTLD_START): Use LOCALENTRY.
28572         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
28573         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
28574         (PLT_ENTRY_WORDS): New macro.
28575         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
28576         (elf_machine_runtime_setup): Support ELFv2 ABI.
28577         (elf_machine_fixup_plt): Likewise.
28578         (elf_machine_plt_conflict): Likewise.
28579         (resolve_ifunc): Likewise.
28580         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
28581         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28582         Likewise.
28583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
28584         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
28585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28586         (makecontext): Support ELFv2 ABI.
28587         * elf/elf.h (EF_PPC64_ABI): Define.
28589 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28591         * sysdeps/powerpc/powerpc64/sysdep.h
28592         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
28593         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
28594         (ENTRY) [ASSEMBLER]: ... but instead here ...
28595         (EALIGN) [ASSEMBLER]: ... and here.
28596         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
28597         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
28598         (ENTRY_2) [!ASSEMBLER]: Use it.
28599         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
28600         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
28601         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28602         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
28603         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
28604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
28605         Use PPC64_LOAD_FUNCPTR.
28607         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
28609 2013-12-04  Alan Modra  <amodra@gmail.com>
28611         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
28612         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
28613         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
28614         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
28616         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
28617         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
28618         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
28619         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
28620         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
28621         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
28623 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28626         (__makecontext): Fix incorrect CFI when backtracing out of
28627         context created via makecontext.
28628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
28629         (__setcontext): Fix incorrect CFI during switch to new context.
28630         (__novec_setcontext): Likewise.
28632 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28634         [BZ #4772]
28635         * time/strptime_l.c (__strptime_internal): Allow modifiers
28636         in strptime.
28637         * time/tst-strptime.c (day_tests): Add testcase.
28639 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28641         * scripts/bench.pl: Skip over blank lines.
28643 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
28645         [BZ #926]
28646         * manual/time.texi (Calendar Time): Clarify what timezone functions
28647         use.
28649 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28653 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28655         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
28656         implementation.
28657         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28658         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28659         * debug/memset_chk.c (__memset_chk): Likewise.
28660         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
28661         * debug/strncpy_chk.c: Likewise.
28663 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28665         [BZ #15268]
28666         [BZ #15425]
28667         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
28668         (__ieee754_exp): For possibly underflowing results, check size of
28669         result and force underflow exception if required.
28670         * math/auto-libm-test-in: Add more tests of exp.
28671         * math/auto-libm-test-out: Regenerated.
28672         * sysdeps/i386/fpu/libm-test-ulps: Update.
28673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28675         [BZ #16283]
28676         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28677         * math/w_exp2f.c (__exp2f): Likewise.
28678         * math/w_exp2l.c (__exp2l): Likewise.
28679         * math/auto-libm-test-in: Do not allow missing errno on exp2
28680         underflow.
28681         * math/auto-libm-test-out: Regenerated.
28683 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
28685         [BZ #16274]
28686         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28687         handle filename validation.
28688         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28689         (do_open): Delete.
28691 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28693         [BZ #6786]
28694         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28695         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28696         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28697         <float.h>.
28698         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28699         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28700         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28701         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28702         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28703         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28704         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28705         * math/auto-libm-test-in: Don't allow missing errno from erfc.
28706         Add more erfc tests.
28707         * math/auto-libm-test-out: Regenerated.
28708         * sysdeps/i386/fpu/libm-test-ulps: Update.
28709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28711         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28712         exp2, expm1, j0 and j1.
28713         * math/auto-libm-test-out: Regenerated.
28714         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28715         (erfc_test_data): Likewise.
28716         (exp_test_data): Likewise.
28717         (exp_tonearest_test_data): Likewise.
28718         (exp_towardzero_test_data): Likewise.
28719         (exp_downward_test_data): Likewise.
28720         (exp_upward_test_data): Likewise.
28721         (exp10_test_data): Likewise.
28722         (exp2_test_data): Likewise.
28723         (expm1_test_data): Likewise.
28724         (j0_test_data): Likewise.
28725         (j1_test_data): Likewise.
28726         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28727         (input_flag_type): Add flag_xfail_rounding.
28728         (input_flags): Add xfail-rounding.
28729         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28730         (output_for_one_input_case): Handle flag_xfail_rounding.
28731         * sysdeps/i386/fpu/libm-test-ulps: Update.
28732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28734 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28736         [BZ #16289]
28737         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28738         division by 0.
28740 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28742         [BZ #16195]
28743         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28744         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28745         (STAP_PROBE0): New macro.
28746         (STAP_PROBE1): Likewise.
28747         (STAP_PROBE2): Likewise.
28748         (STAP_PROBE3): Likewise.
28749         (STAP_PROBE4): Likewise.
28751 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28753         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28755 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28757         * benchtests/Makefile (bench): Add sqrt.
28758         (LDLIBS-bench-sqrt): New.
28759         * benchtests/sqrt-input: New.
28761 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28763         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28764         (GAIH_EAI): Likewise.
28765         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28766         (gaih_inet): Likewise.
28767         (getaddrinfo): Don't use GAIH_EAI.
28769         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28770         (struct gaih): Remove definition.
28772 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28774         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28775         Use HERRNOP directly.
28777 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28781 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28783         * math/gen-auto-libm-tests.c (test_functions): Add more
28784         single-argument functions.
28785         (special_fill_pi_2): New function.
28786         (special_fill_minus_pi_2): Likewise.
28787         (special_fill_pi_6): Likewise.
28788         (special_fill_minus_pi_6): Likewise.
28789         (special_fill_pi_3): Likewise.
28790         (special_fill_2pi_3): Likewise.
28791         (special_fill_e): Likewise.
28792         (special_fill_1_e): Likewise.
28793         (special_fill_e_minus_1): Likewise.
28794         (special_real_inputs): Add more special inputs.
28795         (output_for_one_input_case): Do not require ERANGE on underflow to
28796         zero if round-to-nearest result does not underflow to zero, unless
28797         exact results required.
28798         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28799         atan, atanh, cbrt, cos and cosh.
28800         * math/auto-libm-test-out: Regenerated.
28801         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28802         (acos_tonearest_test_data): Likewise.
28803         (acos_towardzero_test_data): Likewise.
28804         (acos_downward_test_data): Likewise.
28805         (acos_upward_test_data): Likewise.
28806         (acosh_test_data): Likewise.
28807         (asin_test_data): Likewise.
28808         (asin_tonearest_test_data): Likewise.
28809         (asin_towardzero_test_data): Likewise.
28810         (asin_upward_test_data): Likewise.
28811         (asinh_test_data): Likewise.
28812         (atan_test_data): Likewise.
28813         (atanh_test_data): Likewise.
28814         (cbrt_test_data): Likewise.
28815         (cos_test_data): Likewise.
28816         (cos_tonearest_test_data): Likewise.
28817         (cos_towardzero_test_data): Likewise.
28818         (cos_downward_test_data): Likewise.
28819         (cos_upward_test_data): Likewise.
28820         (cosh_test_data): Likewise.
28821         (cosh_tonearest_test_data): Likewise.
28822         (cosh_towardzero_test_data): Likewise.
28823         (cosh_downward_test_data): Likewise.
28824         (cosh_upward_test_data): Likewise.
28825         * sysdeps/i386/fpu/libm-test-ulps: Update.
28826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28828 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28830         [BZ #6787]
28831         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28832         * math/w_exp10f.c (__exp10f): Likewise.
28833         * math/w_exp10l.c (__exp10l): Likewise.
28834         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28835         errno settings in existing tests.
28837         [BZ #14032]
28838         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28839         precision control set to double precision.
28840         * sysdeps/i386/fpu/w_sqrt.c: New file.
28841         * math/auto-libm-test-in: Add more tests.
28842         * math/auto-libm-test-out: Update.
28844         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28845         (sqrt_test_tonearest): New function.
28846         (sqrt_towardzero_test_data): New variable.
28847         (sqrt_test_towardzero): New function.
28848         (sqrt_downward_test_data): New variable.
28849         (sqrt_test_downward): New function.
28850         (sqrt_upward_test_data): New variable.
28851         (sqrt_test_upward): New function.
28852         (main): Call the new functions.
28854         * math/gen-auto-libm-tests.c: New file.
28855         * math/auto-libm-test-in: Likewise.
28856         * math/auto-libm-test-out: New generated file.
28857         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28858         variables.
28859         (%beautify): Add generated representations of zero.
28860         (top level): Set $auto_input and call parse_auto_input.
28861         (beautify): Remove trailing "f" from hex float constants.
28862         (parse_args): Handle XFAIL_TEST.
28863         (convert_condition): New function.
28864         (or_value): Likewise.
28865         (or_cond_value): Likewise.
28866         (generate_testfile): Handle AUTO_TESTS_* lines.
28867         (parse_auto_input): New function.
28868         * math/libm-test.inc (XFAIL_TEST): New macro.
28869         (ERRNO_UNCHANGED): Update value.
28870         (ERRNO_EDOM): Likewise.
28871         (ERRNO_ERANGE): Likewise.
28872         (IGNORE_RESULT): Likewise.
28873         (TEST_COND_flt_32): New macro.
28874         (TEST_COND_dbl_64): Likewise.
28875         (TEST_COND_ldbl_96_intel): Likewise.
28876         (TEST_COND_ldbl_96_m68k): Likewise.
28877         (TEST_COND_ldbl_128): Likewise.
28878         (TEST_COND_ldbl_128ibm): Likewise.
28879         (TEST_COND_long32): Likewise.
28880         (TEST_COND_long64): Likewise.
28881         (TEST_COND_before_rounding): Likewise.
28882         (TEST_COND_after_rounding): Likewise.
28883         (enable_test): Handle XFAIL_TEST flag.
28884         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28885         with finite results.
28886         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28887         auto-libm-test-out.
28889 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28890             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28892         [BZ #16214]
28893         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28894         __tls_get_addr_internal instead of __tls_get_offset in order to
28895         avoid GOT pointer dependency.  Make rtld export
28896         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28897         __tls_get_addr since we are a __tls_get_offset platform.
28898         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28899         GOT pointer being set up before.
28900         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28902 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28904         * manual/math.texi (Errors in Math Functions): Document accuracy
28905         goals.
28907         [BZ #15004]
28908         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28909         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28910         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28911         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28912         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28913         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28914         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28915         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28916         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28917         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28918         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28919         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28920         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28921         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28922         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28923         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28925         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28926         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28927         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28928         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28929         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28930         Likewise.
28931         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28932         Likewise.
28933         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28934         Likewise.
28935         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28936         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28937         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28938         atomic-feupdateenv and flt-rounds.
28939         * sysdeps/powerpc/nofpu/Versions (libc): Add
28940         __atomic_feholdexcept, __atomic_feclearexcept,
28941         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28942         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28943         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28944         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28945         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28946         here.
28947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28948         Update.
28950         * manual/arith.texi (FP Exceptions): Document that exceptions may
28951         not be raised when matherr is used.
28952         (Math Error Reporting): Document overflow in directed rounding
28953         modes.  Document that errno may not be set when finite values are
28954         returned on overflow.  Document intent to set errno on underflow
28955         only for underflow to zero.
28957         [BZ #16271]
28958         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28959         round-to-nearest then adjust result for other rounding modes.
28960         * include/fenv.h (fegetround): Use libm_hidden_proto.
28961         * math/fegetround.c (fegetround): Use libm_hidden_def.
28962         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28963         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28964         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28965         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28966         Likewise.
28967         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28968         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28969         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28970         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28972 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28974         [BZ #16077]
28975         * nss/Versions (libnss_files): Add
28976         _nss_files_gethostbyname3_r.
28977         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28978         New function.
28979         (HOST_DB_LOOKUP): Remove macro.
28980         (_nss_files_gethostbyname_r): Implement function without the
28981         HOST_DB_LOOKUP macro.
28982         (_nss_files_gethostbyname2_r): Likewise.
28984 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28986         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28988 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28990         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28991         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28992         warning.
28994 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28996         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28997         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28998         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28999         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29000         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
29001         __fe_nomask_env_priv and attribute_hidden.
29002         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
29003         (libc_feupdateenv_test_ppc): Likewise.
29004         (libc_feresetround_ppc): Likewise.
29005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29006         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
29007         compat_symbol macro.
29008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29009         (__fe_nomask_env): Likewise.
29010         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
29012 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29014         * string/Makefile: Remove ifunc tests.
29015         * string/test-string.h: Define TEST_IFUNC.
29016         * string/test-bcopy-ifunc.c: Remove.
29017         * string/test-bzero-ifunc.c: Likewise.
29018         * string/test-memccpy-ifunc.c: Likewise.
29019         * string/test-memchr-ifunc.c: Likewise.
29020         * string/test-memcmp-ifunc.c: Likewise.
29021         * string/test-memcpy-ifunc.c: Likewise.
29022         * string/test-memmem-ifunc.c: Likewise.
29023         * string/test-memmove-ifunc.c: Likewise.
29024         * string/test-mempcpy-ifunc.c: Likewise.
29025         * string/test-memrchr-ifunc.c: Likewise.
29026         * string/test-memset-ifunc.c: Likewise.
29027         * string/test-rawmemchr-ifunc.c: Likewise.
29028         * string/test-stpcpy-ifunc.c: Likewise.
29029         * string/test-stpncpy-ifunc.c: Likewise.
29030         * string/test-strcasecmp-ifunc.c: Likewise.
29031         * string/test-strcasestr-ifunc.c: Likewise.
29032         * string/test-strcat-ifunc.c: Likewise.
29033         * string/test-strchr-ifunc.c: Likewise.
29034         * string/test-strchrnul-ifunc.c: Likewise.
29035         * string/test-strcmp-ifunc.c: Likewise.
29036         * string/test-strcpy-ifunc.c: Likewise.
29037         * string/test-strcspn-ifunc.c: Likewise.
29038         * string/test-strlen-ifunc.c: Likewise.
29039         * string/test-strncasecmp-ifunc.c: Likewise.
29040         * string/test-strncat-ifunc.c: Likewise.
29041         * string/test-strncmp-ifunc.c: Likewise.
29042         * string/test-strncpy-ifunc.c: Likewise.
29043         * string/test-strnlen-ifunc.c: Likewise.
29044         * string/test-strpbrk-ifunc.c: Likewise.
29045         * string/test-strrchr-ifunc.c: Likewise.
29046         * string/test-strspn-ifunc.c: Likewise.
29047         * string/test-strstr-ifunc.c: Likewise.
29049 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29051         * benchtests/Makefile: Remove ifunc tests.
29052         * benchtests/bench-string.h: Define TEST_IFUNC.
29053         * benchtests/bench-bcopy-ifunc.c: Remove.
29054         * benchtests/bench-bzero-ifunc.c: Likewise.
29055         * benchtests/bench-memccpy-ifunc.c: Likewise.
29056         * benchtests/bench-memchr-ifunc.c: Likewise.
29057         * benchtests/bench-memcmp-ifunc.c: Likewise.
29058         * benchtests/bench-memcpy-ifunc.c: Likewise.
29059         * benchtests/bench-memmem-ifunc.c: Likewise.
29060         * benchtests/bench-memmove-ifunc.c: Likewise.
29061         * benchtests/bench-mempcpy-ifunc.c: Likewise.
29062         * benchtests/bench-memrchr-ifunc.c: Likewise.
29063         * benchtests/bench-memset-ifunc.c: Likewise.
29064         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
29065         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
29066         * benchtests/bench-stpcpy-ifunc.c: Likewise.
29067         * benchtests/bench-stpncpy-ifunc.c: Likewise.
29068         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
29069         * benchtests/bench-strcasestr-ifunc.c: Likewise.
29070         * benchtests/bench-strcat-ifunc.c: Likewise.
29071         * benchtests/bench-strchr-ifunc.c: Likewise.
29072         * benchtests/bench-strchrnul-ifunc.c: Likewise.
29073         * benchtests/bench-strcmp-ifunc.c: Likewise.
29074         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
29075         * benchtests/bench-strcpy-ifunc.c: Likewise.
29076         * benchtests/bench-strcspn-ifunc.c: Likewise.
29077         * benchtests/bench-strlen-ifunc.c: Likewise.
29078         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
29079         * benchtests/bench-strncat-ifunc.c: Likewise.
29080         * benchtests/bench-strncmp-ifunc.c: Likewise.
29081         * benchtests/bench-strncpy-ifunc.c: Likewise.
29082         * benchtests/bench-strnlen-ifunc.c: Likewise.
29083         * benchtests/bench-strpbrk-ifunc.c: Likewise.
29084         * benchtests/bench-strrchr-ifunc.c: Likewise.
29085         * benchtests/bench-strsep-ifunc.c: Likewise.
29086         * benchtests/bench-strspn-ifunc.c: Likewise.
29087         * benchtests/bench-strstr-ifunc.c: Likewise.
29089 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29091         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
29093 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29095         * resolv/netdb.h: Use __glibc_reserved instead __unused.
29096         * rt/aio.h: Likewise.
29097         * sysdeps/gnu/bits/utmp.h: Likewise.
29098         * sysdeps/gnu/bits/utmpx.h: Likewise.
29099         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29100         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
29101         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
29102         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
29103         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
29104         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
29105         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
29106         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
29107         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
29108         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
29109         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
29110         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
29111         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
29112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
29113         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29114         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
29115         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
29116         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
29117         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
29118         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
29119         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
29120         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
29121         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
29122         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29123         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
29124         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29125         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
29126         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
29127         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
29128         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
29129         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
29130         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
29131         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
29132         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29133         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
29134         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
29135         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
29136         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
29137         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
29138         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
29139         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
29140         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29142 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
29144         [BZ #16245]
29145         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
29146         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
29148 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
29150         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
29151         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29152         Likewise.
29154 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29156         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
29157         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
29158         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
29159         (__fesetround): Remove define.
29160         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
29161         rounding and exceptions handling.
29162         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
29163         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
29164         (__fe_nomask_env): Likewise.
29165         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
29166         __fegetround instead of fegetround.
29167         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29168         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
29170 2013-11-21  Roland McGrath  <roland@hack.frob.com>
29172         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
29173         it's there.
29175         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
29177 2013-11-21  Meador Inge  <meadori@codesourcery.com>
29179         [BZ #11157]
29180         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
29181         (encrypt_r): Likewise.
29182         * malloc/obstack.h (obstack_free): Likewise.
29183         * posix/unistd.h (encrypt): Likewise.
29185 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
29187         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
29188         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
29189         DL_CALL_DT_FINI() that call the functions directly.
29190         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
29191         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
29192         * elf/dl-fini.c: Likewise.
29194 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
29196         * malloc/hooks.c (memalign_check): Add alignment rounding.
29197         * malloc/malloc.c (_mid_memalign): New function.
29198         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
29199         Implement by calling _mid_memalign.
29200         * manual/probes.texi (Memory Allocation Probes): Remove
29201         memory_valloc_retry and memory_pvalloc_retry.
29203 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29205         * locale/programs/locarchive.c (open_archive): Add const
29206         qualifier to ARCHIVEFNAME and copy default fname to
29207         DEFAULT_FNAME.
29209         [BZ #15601]
29210         * libio/tst-widetext.input: Rename Oriya to Odia.
29211         * locale/iso-639.def: Likewise.
29213         * manual/probes.texi (Mathematical Function Probes): Add
29214         documentation for sin, cos, asin and acos probes.
29215         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
29216         (__sin32): Add slowasin probe.
29217         (__cos32): Add slowacos probe.
29218         (__mpsin): Add slowsin probe.
29219         (__mpcos): Add slowcos probe.
29221 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
29223         [BZ #15483]
29224         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
29225         thread-local __sim_exceptions_thread and global
29226         __sim_exceptions_global.
29227         (__sim_disabled_exceptions): Change to thread-local
29228         __sim_disabled_exceptions_thread and global
29229         __sim_disabled_exceptions_global.
29230         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29231         and global __sim_round_mode_global.
29232         (__simulate_exceptions): Use thread-local floating-point state and
29233         set global state from it as needed.
29234         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
29235         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
29236         __sim_round_mode_thread.
29237         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
29238         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
29239         and global __sim_exceptions_global.
29240         (__sim_disabled_exceptions): Change to thread-local
29241         __sim_disabled_exceptions_thread and global
29242         __sim_disabled_exceptions_global.
29243         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29244         and global __sim_round_mode_global.
29245         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
29246         (SIM_SET_GLOBAL): Likewise.
29247         * sysdeps/powerpc/soft-fp/sfp-machine.h
29248         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
29249         __sim_round_mode_thread.
29250         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
29251         __sim_disabled_exceptions_thread.
29252         (__sim_exceptions): Change to __sim_exceptions_thread.
29253         (__sim_disabled_exceptions): Change to
29254         __sim_disabled_exceptions_thread.
29255         (__sim_round_mode): Change to __sim_round_mode_thread.
29256         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
29257         thread-local floating-point state and set global state from it as
29258         needed.
29259         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
29260         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
29261         (__sim_disabled_exceptions): Remove extern declaration.
29262         (feenableexcept): Use thread-local floating-point state and set
29263         global state from it as needed.
29264         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
29265         extern declaration.
29266         (__sim_disabled_exceptions): Likewise.
29267         (__sim_round_mode): Likewise.
29268         (__fegetenv): Use thread-local floating-point state.
29269         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
29270         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29271         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
29272         floating-point state and set global state from it as needed.
29273         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
29274         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29275         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
29276         Likewise.
29277         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29278         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
29279         Likewise.
29280         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
29281         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
29282         Use __sim_round_mode_thread.
29283         * math/test-fenv-tls.c: New file.
29284         * math/Makefile (tests): Add test-fenv-tls.
29285         ($(objpfx)test-fenv-tls): Depend on
29286         $(common-objpfx)nptl/libpthread.so.
29288 2013-11-19  Andreas Schwab  <schwab@suse.de>
29290         * locale/programs/locale.c (show_info): Decode wordarray elements.
29291         * locale/categories.def (LC_MONETARY): Add element for
29292         _NL_MONETARY_CRNCYSTR.
29293         * locale/C-monetary.c (conversion_rate): New variable.
29294         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
29295         element.
29297 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
29299         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
29300         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
29302 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
29304         * elf/Makefile (tst-auxv): New test.
29305         * elf/tst-auxv.c: New
29306         * elf/rtld.c (dl_main): Adjust AT_EXECFN
29308 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
29310         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
29311         (hidden_proto): Caller changed.
29312         (hidden_tls_proto): New macro.
29313         (libc_hidden_tls_proto): Likewise.
29314         (rtld_hidden_tls_proto): Likewise.
29315         (libm_hidden_tls_proto): Likewise.
29316         (libresolv_hidden_tls_proto): Likewise.
29317         (librt_hidden_tls_proto): Likewise.
29318         (libdl_hidden_tls_proto): Likewise.
29319         (libnss_files_hidden_tls_proto): Likewise.
29320         (libnsl_hidden_tls_proto): Likewise.
29321         (libnss_nisplus_hidden_tls_proto): Likewise.
29322         (libutil_hidden_tls_proto): Likewise.
29324 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
29326         [BZ #10253]
29327         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
29328         (decompose_rpath): Defer expansion to fillin_rpath.
29329         (_dl_init_paths): Pass linkmap to fillin_rpath.
29331 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29333         * benchtests/Makefile: Add strsep.
29334         * benchtests/bench-strsep.c: New file: strsep benchtest.
29335         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
29337 2013-11-18  Andreas Schwab  <schwab@suse.de>
29339         * locale/programs/locale.c (show_info) [case byte]: Check for
29340         '\377' instead of '\177'.
29341         * locale/C-monetary.c (not_available): Always use "\377".
29342         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
29343         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
29344         detect unavailable sign_posn locale elements.
29345         * locale/localeconv.c (__localeconv): For grouping and
29346         mon_grouping handle "\177" and "\377" like no grouping.
29347         (INT_ELEM): New macro.  Use it to set all numeric members.
29348         * locale/programs/ld-monetary.c (monetary_read)
29349         <tok_mon_grouping>: Normalize single -1 to the empty string.
29350         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
29351         Likewise.
29353 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29355         [BZ #16055]
29356         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
29357         when we match (nil).
29358         * stdio-common/tst-sscanf.c (struct test): Add testcase.
29360 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
29362         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
29363         (NO_TEST_INLINE): Update value.
29364         (ERRNO_UNCHANGED): Likewise.
29365         (ERRNO_EDOM): Likewise.
29366         (ERRNO_ERANGE): Likewise.
29367         (IGNORE_RESULT): Likewise.
29368         (check_float_internal): Check signs of NaN results if
29369         TEST_NAN_SIGN used.
29370         (check_complex): Pass TEST_NAN_SIGN flag through to second
29371         check_float_internal call.
29372         (copysign_test_data): Add tests with quiet NaNs as second
29373         argument.  Use TEST_NAN_SIGN.
29374         (fabs_test_data): Add test of negative quiet NaN argument.  Use
29375         TEST_NAN_SIGN.
29376         (signbit_test_data): Add tests of quiet NaN argument.
29377         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
29379         * math/gen-libm-test.pl (show_exceptions): Take extra argument
29380         $ignore_result.
29381         (parse_args): Handle function results specified as IGNORE.
29382         * math/libm-test.inc (IGNORE_RESULT): New macro.
29383         (check_float_internal): Do not check numerical result if flag
29384         IGNORE_RESULT set.
29385         (check_complex): Pass through IGNORE_RESULT to second
29386         check_float_internal call.
29387         (check_int): Do not check numerical result if flag IGNORE_RESULT
29388         set.
29389         (check_long): Likewise.
29390         (check_bool): Likewise.
29391         (check_longlong): Likewise.
29392         (lrint_test_data): Add tests of infinite and NaN arguments.
29393         (lrint_tonearest_test_data): Likewise.
29394         (lrint_towardzero_test_data): Likewise.
29395         (lrint_downward_test_data): Likewise.
29396         (lrint_upward_test_data): Likewise.
29397         (llrint_test_data): Likewise.
29398         (llrint_tonearest_test_data): Likewise.
29399         (llrint_towardzero_test_data): Likewise.
29400         (llrint_downward_test_data): Likewise.
29401         (llrint_upward_test_data): Likewise.
29402         (lround_test_data): Likewise.
29403         (llround_test_data): Likewise.
29405         * math/libm-test.inc (NO_TEST_INLINE): New macro.
29406         (ERRNO_UNCHANGED): Update value.
29407         (ERRNO_EDOM): Likewise.
29408         (ERRNO_ERANGE): Likewise.
29409         (NO_TEST_INLINE_FLOAT): New macro.
29410         (NO_TEST_INLINE_DOUBLE): Likewise.
29411         (enable_test): New function.
29412         (RUN_TEST_f_f): Check enable_test before running test.
29413         (RUN_TEST_2_f): Likewise.
29414         (RUN_TEST_fff_f): Likewise.
29415         (RUN_TEST_c_f): Likewise.
29416         (RUN_TEST_f_f1): Likewise.
29417         (RUN_TEST_fF_f1): Likewise.
29418         (RUN_TEST_fI_f1): Likewise.
29419         (RUN_TEST_ffI_f1): Likewise.
29420         (RUN_TEST_c_c): Likewise.
29421         (RUN_TEST_cc_c): Likewise.
29422         (RUN_TEST_f_i): Likewise.
29423         (RUN_TEST_f_i_tg): Likewise.
29424         (RUN_TEST_ff_i_tg): Likewise.
29425         (RUN_TEST_f_b): Likewise.
29426         (RUN_TEST_f_b_tg): Likewise.
29427         (RUN_TEST_f_l): Likewise.
29428         (RUN_TEST_f_L): Likewise.
29429         (RUN_TEST_fFF_11): Likewise.
29430         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
29431         conditionals.
29432         (cosh_test_data): Likewise.
29433         (exp_test_data): Likewise.
29434         (expm1_test_data): Likewise.
29435         (hypot_test_data): Likewise.
29436         (pow_test_data): Likewise.
29437         (sinh_test_data): Likewise.
29438         (tanh_test_data): Likewise.
29439         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
29440         flags argument.
29442         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
29443         tests with quiet NaN input and output.
29444         (acosh_test_data): Likewise.
29445         (asin_test_data): Likewise.
29446         (asinh_test_data): Likewise.
29447         (atan_test_data): Likewise.
29448         (atanh_test_data): Likewise.
29449         (atan2_test_data): Likewise.
29450         (cbrt_test_data): Likewise.
29451         (cos_test_data): Likewise.
29452         (cosh_test_data): Likewise.
29453         (erf_test_data): Likewise.
29454         (erfc_test_data): Likewise.
29455         (exp_test_data): Likewise.
29456         (exp10_test_data): Likewise.
29457         (exp2_test_data): Likewise.
29458         (expm1_test_data): Likewise.
29459         (hypot_test_data): Likewise.
29460         (j0_test_data): Likewise.
29461         (j1_test_data): Likewise.
29462         (jn_test_data): Likewise.
29463         (lgamma_test_data): Likewise.
29464         (log_test_data): Likewise.
29465         (log10_test_data): Likewise.
29466         (log1p_test_data): Likewise.
29467         (log2_test_data): Likewise.
29468         (pow_test_data): Likewise.
29469         (scalb_test_data): Likewise.
29470         (sin_test_data): Likewise.
29471         (sincos_test_data): Likewise.
29472         (sinh_test_data): Likewise.
29473         (tan_test_data): Likewise.
29474         (tanh_test_data): Likewise.
29475         (tgamma_test_data): Likewise.
29476         (y0_test_data): Likewise.
29477         (y1_test_data): Likewise.
29478         (yn_test_data): Likewise.
29480         [BZ #16167]
29481         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
29482         argument being NaN and avoid computations with second argument in
29483         that case.
29484         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29485         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29486         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29488 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
29490         * locale/iso-639.def: Add Chitwani Tharu (the).
29492 2013-11-14  Andreas Schwab  <schwab@suse.de>
29494         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
29495         word instead of empty string.
29497 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29500         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
29501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29502         (__fe_nomask_env): Likewise.
29504 2013-11-13  Steve Ellcey  <sellcey@mips.com>
29506         * benchtests/bench-timing.h: Include time.h.
29508 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
29510         [BZ #15997]
29511         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
29512         to 3.4.0 for x32.
29513         * sysdeps/unix/sysv/linux/configure: Regenerated.
29515 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
29517         [BZ #16151]
29518         * stdlib/strtod_l.c (round_and_return): Do not consider
29519         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
29520         exponent one less than half the least subnormal exponent.
29521         * stdlib/test-strtod-round-data: Add more tests.
29522         * stdlib/tst-strtod-round.c (tests): Regenerated.
29524 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29526         [BZ #14143]
29527         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
29528         (__fe_mask_env): Likewise.
29529         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
29530         libm_hidden_proto and add function prototype.
29531         (__fe_mask_env): Add function prototype.
29532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29533         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
29534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29535         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
29536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29537         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
29539 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29541         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
29542         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
29544 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29546         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
29547         of htab_find_slot().
29549 2013-11-11  David S. Miller  <davem@davemloft.net>
29551         [BZ #16150]
29552         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
29553         symbol in the non-vis3 case in static builds.
29554         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
29555         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
29556         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
29557         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
29559 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
29561         [BZ #387]
29562         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
29563         it is empty.
29565 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29567         * benchtests/Makefile: Add bench-strtod.
29568         * benchtests/bench-strtod.c: New file: strtod benchtest
29570 2013-11-11  Andreas Schwab  <schwab@suse.de>
29572         [BZ #16153]
29573         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
29574         terminating NUL in key length.
29576 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29578         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29579         Add artificial ODP entry for vDSO symbol for PPC64.
29580         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
29581         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29583 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29585         [BZ #15374]
29586         * nss/getent.c (services_keys): Recognize services starting with digit.
29588 2013-11-06  David S. Miller  <davem@davemloft.net>
29590         [BZ #15985]
29591         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
29592         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
29594 2013-11-06  Will Newton  <will.newton@linaro.org>
29596         * manual/memory.texi (Malloc Examples): Remove register
29597         keyword from examples.
29599 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
29601         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
29603 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
29605         [BZ #6981]
29606         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
29607         depending on [__GCC_IEC_559 > 0].
29608         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
29609         depending on [__GCC_IEC_559_COMPLEX > 0].
29611 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
29613         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
29614         to iso-639.def.
29616 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
29618         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
29620 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
29622         [BZ #16112]
29623         * malloc/malloc (malloc_info): Do not handle first bin as
29624         special case.
29626 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
29628         * locale/iso-639.def: Add Central Nahuatl (nhn).
29630 2013-11-01  Bruno Haible  <bruno@clisp.org>
29632         [BZ #7003]
29633         * manual/math.texi (BSD Random): Specify range upper bound as
29634         in POSIX.
29636 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
29638         * locale/iso-639.def: Add Meadow Mari (mhr).
29640 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
29642         [BZ #14752], [BZ #15763]
29643         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
29644         Validate name.
29645         * rt/tst_shm.c: Add test for escaping directory.
29647 2013-10-31  Andreas Schwab  <schwab@suse.de>
29649         [BZ #15917]
29650         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
29651         followed by 'x' as part of digit sequence.
29652         * stdio-common/tst-sscanf.c (double_tests2): New tests.
29654 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
29656         [BZ #16037]
29657         * configure.ac: allow GNU Make 4.0 and greater.
29658         * configure: Regenerated.
29660 2013-10-30  Will Newton  <will.newton@linaro.org>
29662         [BZ #16038]
29663         * malloc/hooks.c (memalign_check): Limit alignment to the
29664         maximum representable power of two.
29665         * malloc/malloc.c (__libc_memalign): Likewise.
29666         * malloc/tst-memalign.c (do_test): Add test for very
29667         large alignment values.
29668         * malloc/tst-posix_memalign.c (do_test): Likewise.
29670 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29672         [BZ #11087]
29673         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29674         (munmap_chunk): Likewise.
29675         (mremap_chunk): Likewise.
29677 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29679         [BZ #15799]
29680         * stdlib/div.c (div): Remove obsolete code.
29681         * stdlib/ldiv.c (ldiv): Likewise.
29682         * stdlib/lldiv.c (lldiv): Likewise.
29684 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29686         [BZ #16071]
29687         * nss/nss_files/files-XXX.c (get_contents_ret): New
29688         enumerator.
29689         (get_contents): New function.
29690         (internal_getent): Use it.  Expand size of LINEBUFLEN.
29692 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
29694         * configure.in: Moved to ...
29695         * configure.ac: ... here. Change reference to configure.in
29696         to configure.ac.
29697         * sysdeps/arm/preconfigure.ac: ... here.
29698         configure.in to configure.ac.
29699         * sysdeps/gnu/configure.in: Moved to ...
29700         * sysdeps/gnu/configure.ac: ... here.
29701         * sysdeps/i386/configure.in: Moved to ...
29702         * sysdeps/i386/configure.ac: ... here.
29703         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29704         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29705         * sysdeps/mach/configure.in: Moved to ...
29706         * sysdeps/mach/configure.ac: ... here.
29707         * sysdeps/mach/hurd/configure.in: Moved to ...
29708         * sysdeps/mach/hurd/configure.ac: ... here.
29709         * sysdeps/powerpc/configure.in: Moved to ...
29710         * sysdeps/powerpc/configure.ac: ... here.
29711         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29712         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29713         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29714         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29715         * sysdeps/s390/s390-32/configure.in: Moved to ...
29716         * sysdeps/s390/s390-32/configure.ac: ... here.
29717         * sysdeps/s390/s390-64/configure.in: Moved to ...
29718         * sysdeps/s390/s390-64/configure.ac: ... here.
29719         * sysdeps/sh/configure.in: Moved to ...
29720         * sysdeps/sh/configure.ac: ... here.
29721         * sysdeps/sparc/configure.in: Moved to ...
29722         * sysdeps/sparc/configure.ac: ... here.
29723         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29724         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29725         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29726         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29727         * sysdeps/x86_64/configure.in: Moved to ...
29728         * sysdeps/x86_64/configure.ac: ... here.
29729         * sysdeps/x86_64/preconfigure.in: Moved to ...
29730         * sysdeps/x86_64/preconfigure.ac: ... here.
29731         * aclocal.m4: Change reference to configure.in to configure.ac.
29732         * config.h.in: Likewise.
29733         * manual/install.texi: Likewise.
29734         * manual/maint.texi: Likewise.
29735         * Makefile: Likewise.
29736         * malloc/Makefile: Likewise.
29737         * nscd/Makefile: Likewise.
29738         * Makeconfig: Change reference to configure.in and
29739         preconfigure.in to configure.ac and preconfigure.ac
29740         respectively.
29741         * INSTALL: Regenerated.
29742         * configure: Likewise.
29743         * sysdeps/gnu/configure: Likewise.
29744         * sysdeps/i386/configure: Likewise.
29745         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29746         * sysdeps/mach/configure: Likewise.
29747         * sysdeps/mach/hurd/configure: Likewise.
29748         * sysdeps/powerpc/configure: Likewise.
29749         * sysdeps/powerpc/powerpc32/configure: Likewise.
29750         * sysdeps/powerpc/powerpc64/configure: Likewise.
29751         * sysdeps/s390/s390-32/configure: Likewise.
29752         * sysdeps/s390/s390-64/configure: Likewise.
29753         * sysdeps/sh/configure: Likewise.
29754         * sysdeps/sparc/configure: Likewise.
29755         * sysdeps/unix/sysv/linux/configure: Likewise.
29756         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29757         * sysdeps/x86_64/configure: Likewise.
29758         * sysdeps/x86_64/preconfigure: Likewise.
29760 2013-10-29  Andreas Schwab  <schwab@suse.de>
29762         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29764 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29766         * benchtests/pow-inputs: Add new inputs.
29768         * benchtests/exp-inputs: Add new inputs.
29770         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29771         conditional check for return value.
29772         (__cos32): Likewise.
29774 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29776         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29777         to provide a boost for large inputs with word alignment.
29778         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29779         implementation based on optimized PPC64 strcpy.
29780         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29781         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29782         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29783         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29785 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29787         [BZ #2801]
29788         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29790 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29792         [BZ #14876]
29793         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29794         * time/tst-strptime.c (day_tests): Add testcase.
29796 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29798         [BZ #14029]
29799         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29801 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29803         [BZ #16074]
29804         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29805         MAP_FAILED on error.
29807 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29809         [BZ #16072]
29810         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29811         heap for large requests.
29813 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29815         [BZ #9954]
29816         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29817         result if the result has no associated interface.
29818         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29819         interface for all 127.X.Y.Z addresses.
29821 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29823         * locale/iso-639.def: Add Ligurian (lij)
29825 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29827         [BZ #15825]
29828         * sunrpc/rpc_main.c: Document rpcgen -5.
29830 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29832         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29834 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29836         [BZ #10278]
29837         * posix/glob.c: Match only directories when trailing slash is present.
29838         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29839         (main): Add testcase.
29841 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29843         [BZ #15670]
29844         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29846 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29848         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29849         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29850         AUTH_DES and cindex for FIPS 140-2.
29851         (DES Encryption): Add cindex FIPS 46-3.
29853         * locale/locarchive.h (struct locarhandle): Add fname.
29854         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29855         if an optional argument was specified to --list-archive,
29856         otherwise NULL.
29857         * locale/programs/locarchive.c (show_archive_content): Take new
29858         argument fname and pass it via ah.fname to open_archive.
29859         * locale/programs/localedef.h: Update decl.
29860         (open_archive): If AH->fname is non-null, open that file
29861         rather than the default file name, and don't ignore ENOENT.
29862         (create_archive): Set AH.fname to NULL.
29863         (delete_locales_from_archive): Likewise.
29864         (add_locales_to_archive): Likewise.
29865         * locale/programs/locfile.c (write_all_categories): Likewise.
29867 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29868             Aldy Hernandez  <aldyh@redhat.com>
29870         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29871         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29872         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29873         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29874         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29875         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29876         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29877         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29878         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29879         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29880         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29881         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29882         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29883         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29884         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29885         Likewise.
29886         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29887         Likewise.
29888         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29889         Likewise.
29890         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29891         Likewise.
29892         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29893         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29894         Likewise.
29895         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29896         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29897         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29898         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29899         Likewise.
29900         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29901         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29902         * sysdeps/powerpc/preconfigure: Likewise.
29903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29904         Likewise.
29905         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29906         Replace contents of file by #include of <fenv_libc.h>.
29907         * sysdeps/powerpc/soft-fp/sfp-machine.h
29908         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29909         and <sys/prctl.h>.
29910         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29911         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29912         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29913         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29914         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29915         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29916         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29917         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29918         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29919         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29920         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29921         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29923         Allow copysignl PLT reference to be missing.
29925 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29926             Joseph Myers  <joseph@codesourcery.com
29928         [BZ #15948]
29929         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29930         single character.
29931         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29933 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29935         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29936         * elf/tst-tls1.c: Likewise.
29937         * elf/tst-tls10.h: Likewise.
29938         * elf/tst-tls14.c: Likewise.
29939         * elf/tst-tls2.c: Likewise.
29940         * elf/tst-tls3.c: Likewise.
29941         * elf/tst-tls4.c: Likewise.
29942         * elf/tst-tls5.c: Likewise.
29943         * elf/tst-tls6.c: Likewise.
29944         * elf/tst-tls7.c: Likewise.
29945         * elf/tst-tls8.c: Likewise.
29946         * elf/tst-tls9.c: Likewise.
29947         * elf/tst-tlsmod1.c: Likewise.
29948         * elf/tst-tlsmod13.c: Likewise.
29949         * elf/tst-tlsmod13a.c: Likewise.
29950         * elf/tst-tlsmod14a.c: Likewise.
29951         * elf/tst-tlsmod16a.c: Likewise.
29952         * elf/tst-tlsmod16b.c: Likewise.
29953         * elf/tst-tlsmod2.c: Likewise.
29954         * elf/tst-tlsmod3.c: Likewise.
29955         * elf/tst-tlsmod4.c: Likewise.
29956         * elf/tst-tlsmod5.c: Likewise.
29957         * elf/tst-tlsmod6.c: Likewise.
29959 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29961         [BZ #12486]
29962         * malloc/malloc.c: remove checks for statistics.
29964 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29966         [BZ #15277]
29967         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29968         * inet/tst-network.c: Add testcase.
29970 2013-10-17  Andreas Schwab  <schwab@suse.de>
29972         [BZ #15218]
29973         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29974         to determine canonical name.
29976 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29978         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29979         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29980         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29981         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29982         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29983         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29984         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29985         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29986         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29987         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29988         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29989         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29990         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29991         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29992         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29993         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29994         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29995         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29996         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29997         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29998         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29999         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30000         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30001         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
30002         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
30003         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30004         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30005         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
30006         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30007         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
30008         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30009         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30010         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30011         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30012         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30013         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30014         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30015         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30016         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30017         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30018         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30019         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30020         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30021         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30022         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30023         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30024         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30025         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30026         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30027         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30028         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30029         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30030         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30031         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30032         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30033         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30034         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30035         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30037 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
30039         [BZ #16041]
30040         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
30041         make result into a quiet NaN.
30043 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
30045         * soft-fp/adddf3.c: Fix horizontal whitespace.
30046         * soft-fp/addsf3.c: Likewise.
30047         * soft-fp/addtf3.c: Likewise.
30048         * soft-fp/divdf3.c: Likewise.
30049         * soft-fp/divsf3.c: Likewise.
30050         * soft-fp/divtf3.c: Likewise.
30051         * soft-fp/double.h: Likewise.
30052         * soft-fp/eqdf2.c: Likewise.
30053         * soft-fp/eqsf2.c: Likewise.
30054         * soft-fp/eqtf2.c: Likewise.
30055         * soft-fp/extenddftf2.c: Likewise.
30056         * soft-fp/extended.h: Likewise.
30057         * soft-fp/extendsfdf2.c: Likewise.
30058         * soft-fp/extendsftf2.c: Likewise.
30059         * soft-fp/extendxftf2.c: Likewise.
30060         * soft-fp/fixdfdi.c: Likewise.
30061         * soft-fp/fixdfsi.c: Likewise.
30062         * soft-fp/fixdfti.c: Likewise.
30063         * soft-fp/fixsfdi.c: Likewise.
30064         * soft-fp/fixsfsi.c: Likewise.
30065         * soft-fp/fixsfti.c: Likewise.
30066         * soft-fp/fixtfdi.c: Likewise.
30067         * soft-fp/fixtfsi.c: Likewise.
30068         * soft-fp/fixtfti.c: Likewise.
30069         * soft-fp/fixunsdfdi.c: Likewise.
30070         * soft-fp/fixunsdfsi.c: Likewise.
30071         * soft-fp/fixunsdfti.c: Likewise.
30072         * soft-fp/fixunssfdi.c: Likewise.
30073         * soft-fp/fixunssfsi.c: Likewise.
30074         * soft-fp/fixunssfti.c: Likewise.
30075         * soft-fp/fixunstfdi.c: Likewise.
30076         * soft-fp/fixunstfsi.c: Likewise.
30077         * soft-fp/fixunstfti.c: Likewise.
30078         * soft-fp/floatdidf.c: Likewise.
30079         * soft-fp/floatdisf.c: Likewise.
30080         * soft-fp/floatditf.c: Likewise.
30081         * soft-fp/floatsidf.c: Likewise.
30082         * soft-fp/floatsisf.c: Likewise.
30083         * soft-fp/floatsitf.c: Likewise.
30084         * soft-fp/floattidf.c: Likewise.
30085         * soft-fp/floattisf.c: Likewise.
30086         * soft-fp/floattitf.c: Likewise.
30087         * soft-fp/floatundidf.c: Likewise.
30088         * soft-fp/floatundisf.c: Likewise.
30089         * soft-fp/floatunditf.c: Likewise.
30090         * soft-fp/floatunsidf.c: Likewise.
30091         * soft-fp/floatunsisf.c: Likewise.
30092         * soft-fp/floatunsitf.c: Likewise.
30093         * soft-fp/floatuntidf.c: Likewise.
30094         * soft-fp/floatuntisf.c: Likewise.
30095         * soft-fp/floatuntitf.c: Likewise.
30096         * soft-fp/fmadf4.c: Likewise.
30097         * soft-fp/fmasf4.c: Likewise.
30098         * soft-fp/fmatf4.c: Likewise.
30099         * soft-fp/gedf2.c: Likewise.
30100         * soft-fp/gesf2.c: Likewise.
30101         * soft-fp/getf2.c: Likewise.
30102         * soft-fp/ledf2.c: Likewise.
30103         * soft-fp/lesf2.c: Likewise.
30104         * soft-fp/letf2.c: Likewise.
30105         * soft-fp/muldf3.c: Likewise.
30106         * soft-fp/mulsf3.c: Likewise.
30107         * soft-fp/multf3.c: Likewise.
30108         * soft-fp/negdf2.c: Likewise.
30109         * soft-fp/negsf2.c: Likewise.
30110         * soft-fp/negtf2.c: Likewise.
30111         * soft-fp/op-1.h: Likewise.
30112         * soft-fp/op-2.h: Likewise.
30113         * soft-fp/op-4.h: Likewise.
30114         * soft-fp/op-8.h: Likewise.
30115         * soft-fp/op-common.h: Likewise.
30116         * soft-fp/quad.h: Likewise.
30117         * soft-fp/single.h: Likewise.
30118         * soft-fp/soft-fp.h: Likewise.
30119         * soft-fp/sqrtdf2.c: Likewise.
30120         * soft-fp/sqrtsf2.c: Likewise.
30121         * soft-fp/sqrttf2.c: Likewise.
30122         * soft-fp/subdf3.c: Likewise.
30123         * soft-fp/subsf3.c: Likewise.
30124         * soft-fp/subtf3.c: Likewise.
30125         * soft-fp/truncdfsf2.c: Likewise.
30126         * soft-fp/trunctfdf2.c: Likewise.
30127         * soft-fp/trunctfsf2.c: Likewise.
30128         * soft-fp/trunctfxf2.c: Likewise.
30129         * soft-fp/unorddf2.c: Likewise.
30130         * soft-fp/unordsf2.c: Likewise.
30131         * soft-fp/unordtf2.c: Likewise.
30133 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
30135         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
30136         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
30138 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
30140         * elf/dl-libc.c: Clear initfini list after freeing.
30142 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
30144         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
30145         * soft-fp/addsf3.c: Likewise.
30146         * soft-fp/addtf3.c: Likewise.
30147         * soft-fp/divdf3.c: Likewise.
30148         * soft-fp/divsf3.c: Likewise.
30149         * soft-fp/divtf3.c: Likewise.
30150         * soft-fp/double.h: Likewise.
30151         * soft-fp/eqdf2.c: Likewise.
30152         * soft-fp/eqsf2.c: Likewise.
30153         * soft-fp/eqtf2.c: Likewise.
30154         * soft-fp/extenddftf2.c: Likewise.
30155         * soft-fp/extended.h: Likewise.
30156         * soft-fp/extendsfdf2.c: Likewise.
30157         * soft-fp/extendsftf2.c: Likewise.
30158         * soft-fp/extendxftf2.c: Likewise.
30159         * soft-fp/fixdfdi.c: Likewise.
30160         * soft-fp/fixdfsi.c: Likewise.
30161         * soft-fp/fixdfti.c: Likewise.
30162         * soft-fp/fixsfdi.c: Likewise.
30163         * soft-fp/fixsfsi.c: Likewise.
30164         * soft-fp/fixsfti.c: Likewise.
30165         * soft-fp/fixtfdi.c: Likewise.
30166         * soft-fp/fixtfsi.c: Likewise.
30167         * soft-fp/fixtfti.c: Likewise.
30168         * soft-fp/fixunsdfdi.c: Likewise.
30169         * soft-fp/fixunsdfsi.c: Likewise.
30170         * soft-fp/fixunsdfti.c: Likewise.
30171         * soft-fp/fixunssfdi.c: Likewise.
30172         * soft-fp/fixunssfsi.c: Likewise.
30173         * soft-fp/fixunssfti.c: Likewise.
30174         * soft-fp/fixunstfdi.c: Likewise.
30175         * soft-fp/fixunstfsi.c: Likewise.
30176         * soft-fp/fixunstfti.c: Likewise.
30177         * soft-fp/floatdidf.c: Likewise.
30178         * soft-fp/floatdisf.c: Likewise.
30179         * soft-fp/floatditf.c: Likewise.
30180         * soft-fp/floatsidf.c: Likewise.
30181         * soft-fp/floatsisf.c: Likewise.
30182         * soft-fp/floatsitf.c: Likewise.
30183         * soft-fp/floattidf.c: Likewise.
30184         * soft-fp/floattisf.c: Likewise.
30185         * soft-fp/floattitf.c: Likewise.
30186         * soft-fp/floatundidf.c: Likewise.
30187         * soft-fp/floatundisf.c: Likewise.
30188         * soft-fp/floatunsidf.c: Likewise.
30189         * soft-fp/floatunsisf.c: Likewise.
30190         * soft-fp/floatuntidf.c: Likewise.
30191         * soft-fp/floatuntisf.c: Likewise.
30192         * soft-fp/floatuntitf.c: Likewise.
30193         * soft-fp/fmadf4.c: Likewise.
30194         * soft-fp/fmasf4.c: Likewise.
30195         * soft-fp/fmatf4.c: Likewise.
30196         * soft-fp/gedf2.c: Likewise.
30197         * soft-fp/gesf2.c: Likewise.
30198         * soft-fp/getf2.c: Likewise.
30199         * soft-fp/ledf2.c: Likewise.
30200         * soft-fp/lesf2.c: Likewise.
30201         * soft-fp/letf2.c: Likewise.
30202         * soft-fp/muldf3.c: Likewise.
30203         * soft-fp/mulsf3.c: Likewise.
30204         * soft-fp/multf3.c: Likewise.
30205         * soft-fp/negdf2.c: Likewise.
30206         * soft-fp/negsf2.c: Likewise.
30207         * soft-fp/negtf2.c: Likewise.
30208         * soft-fp/op-1.h: Likewise.
30209         * soft-fp/op-2.h: Likewise.
30210         * soft-fp/op-4.h: Likewise.
30211         * soft-fp/op-8.h: Likewise.
30212         * soft-fp/op-common.h: Likewise.
30213         * soft-fp/quad.h: Likewise.
30214         * soft-fp/single.h: Likewise.
30215         * soft-fp/soft-fp.h: Likewise.
30216         * soft-fp/sqrtdf2.c: Likewise.
30217         * soft-fp/sqrtsf2.c: Likewise.
30218         * soft-fp/sqrttf2.c: Likewise.
30219         * soft-fp/subdf3.c: Likewise.
30220         * soft-fp/subsf3.c: Likewise.
30221         * soft-fp/subtf3.c: Likewise.
30222         * soft-fp/truncdfsf2.c: Likewise.
30223         * soft-fp/trunctfdf2.c: Likewise.
30224         * soft-fp/trunctfsf2.c: Likewise.
30225         * soft-fp/trunctfxf2.c: Likewise.
30226         * soft-fp/unorddf2.c: Likewise.
30227         * soft-fp/unordsf2.c: Likewise.
30228         * soft-fp/unordtf2.c: Likewise.
30230 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
30232         [BZ #15672]
30233         * misc/error.c (error_tail): Fix possible buffer overflow.
30235 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
30237         [BZ #13028]
30238         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
30239         address.
30241 2013-10-14  P. J. McDermott  <pj@pehjota.net>
30243         [BZ #832]
30244         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
30245         testing pipefail option.
30247 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30249         * soft-fp/double.h: Indent preprocessor directives inside #if.
30250         * soft-fp/extended.h: Likewise.
30251         * soft-fp/op-2.h: Likewise.
30252         * soft-fp/op-4.h: Likewise.
30253         * soft-fp/op-common.h: Likewise.
30254         * soft-fp/quad.h: Likewise.
30255         * soft-fp/single.h: Likewise.
30256         * soft-fp/soft-fp.h: Likewise.
30258 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
30260         * iconv/iconv_prog.c: Fix typos.
30261         * stdio-common/psiginfo-data.h: Likewise.
30263 2013-10-12   Reuben Thomas <rrt@sc3d.org>
30265         [BZ #15764]
30266         * locale/setlocale.c: Fix typo.
30268 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30270         [BZ #16036]
30271         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
30272         signaling NaN arguments.
30273         * soft-fp/unordsf2.c (__unordsf2): Likewise.
30274         * soft-fp/unordtf2.c (__unordtf2): Likewise.
30276         [BZ #14910]
30277         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
30278         unordered operands.
30279         * soft-fp/gesf2.c (__gesf2): Likewise.
30280         * soft-fp/getf2.c (__getf2): Likewise.
30281         * soft-fp/ledf2.c (__ledf2): Likewise.
30282         * soft-fp/lesf2.c (__lesf2): Likewise.
30283         * soft-fp/letf2.c (__letf2): Likewise.
30285         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
30286         * soft-fp/eqsf2.c (__eqsf2): Likewise.
30287         * soft-fp/eqtf2.c (__eqtf2): Likewise.
30288         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
30289         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
30290         * soft-fp/fixdfti.c (__fixdfti): Likewise.
30291         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
30292         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
30293         * soft-fp/fixsfti.c (__fixsfti): Likewise.
30294         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
30295         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
30296         * soft-fp/fixtfti.c (__fixtfti): Likewise.
30297         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
30298         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
30299         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
30300         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
30301         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
30302         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
30303         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
30304         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
30305         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
30306         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
30307         * soft-fp/floatdisf.c (__floatdisf): Likewise.
30308         * soft-fp/floatsisf.c (__floatsisf): Likewise.
30309         * soft-fp/floattidf.c (__floattidf): Likewise.
30310         * soft-fp/floattisf.c (__floattisf): Likewise.
30311         * soft-fp/floattitf.c (__floattitf): Likewise.
30312         * soft-fp/floatundidf.c (__floatundidf): Likewise.
30313         * soft-fp/floatundisf.c (__floatundisf): Likewise.
30314         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
30315         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
30316         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
30317         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
30318         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
30319         * soft-fp/gesf2.c (__gesf2): Likewise.
30320         * soft-fp/getf2.c (__getf2): Likewise.
30321         * soft-fp/ledf2.c (__ledf2): Likewise.
30322         * soft-fp/lesf2.c (__lesf2): Likewise.
30323         * soft-fp/letf2.c (__letf2): Likewise.
30325         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
30326         Undefine and redefine.
30327         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
30328         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
30329         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
30330         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
30331         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30332         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
30333         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30334         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
30335         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30336         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
30337         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30338         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
30339         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30340         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
30341         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30343         [BZ #16032]
30344         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
30345         without decrementing exponent if mantissa >= that for the
30346         denominator, not >.
30347         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
30348         denominator, not >.  Decrement exponent in < case instead of
30349         incrementing in >= case.
30350         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
30351         without decrementing exponent if mantissa >= that for the
30352         denominator, not >.
30354         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
30355         computing saturated result for unsigned overflow.
30357 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30358             Jeff Law  <law@redhat.com>
30360         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
30361         (atan2Mp): Add systemtap probe marker.
30362         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
30363         (__ieee754_log): Add systemtap probe marker.
30364         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
30365         (atanMp): Add systemtap probe marker.
30366         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
30367         (tanMp): Add systemtap probe marker.
30368         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
30369         (__slowexp): Add systemtap probe marker.
30370         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
30371         (__slowpow): Add systemtap probe marker.
30372         * manual/probes.texi: Document probes.
30374 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
30376         [BZ #15362]
30377         * libio/fileops.c (_IO_new_file_write): Return count of bytes
30378         written.
30379         (_IO_new_file_xsputn): Don't return EOF if nothing has been
30380         written.
30381         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
30382         written to buffer but not flushed.
30383         * libio/iofwrite_u.c:  Likewise.
30384         * libio/iopadn.c:  Return bytes returned even if EOF was
30385         encountered.
30386         * libio/iowpadn.c:  Likewise.
30387         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
30388         if _IO_padn does not write the whole buffer.
30389         [!COMPILE_WPRINTF] (PAD): Likewise.
30391 2013-10-10  David S. Miller  <davem@davemloft.net>
30393         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
30394         directory block.
30396 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30398         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
30399         instead of FSF address.
30400         * soft-fp/fixdfti.c: Likewise.
30401         * soft-fp/fixsfti.c: Likewise.
30402         * soft-fp/fixtfti.c: Likewise.
30403         * soft-fp/fixunsdfti.c: Likewise.
30404         * soft-fp/fixunssfti.c: Likewise.
30405         * soft-fp/fixunstfti.c: Likewise.
30406         * soft-fp/floattidf.c: Likewise.
30407         * soft-fp/floattisf.c: Likewise.
30408         * soft-fp/floattitf.c: Likewise.
30409         * soft-fp/floatuntidf.c: Likewise.
30410         * soft-fp/floatuntisf.c: Likewise.
30411         * soft-fp/floatuntitf.c: Likewise.
30412         * soft-fp/trunctfxf2.c: Likewise.
30414         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
30415         * soft-fp/fixdfti.c: Likewise.
30416         * soft-fp/fixsfti.c: Likewise.
30417         * soft-fp/fixtfti.c: Likewise.
30418         * soft-fp/fixunsdfti.c: Likewise.
30419         * soft-fp/fixunssfti.c: Likewise.
30420         * soft-fp/fixunstfti.c: Likewise.
30421         * soft-fp/floattidf.c: Likewise.
30422         * soft-fp/floattisf.c: Likewise.
30423         * soft-fp/floattitf.c: Likewise.
30424         * soft-fp/floatuntidf.c: Likewise.
30425         * soft-fp/floatuntisf.c: Likewise.
30426         * soft-fp/floatuntitf.c: Likewise.
30427         * soft-fp/trunctfxf2.c: Likewise.
30429 2013-10-10  David S. Miller  <davem@davemloft.net>
30431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30433 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
30435         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30436         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
30437         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
30438         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
30439         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
30440         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
30441         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
30443         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
30444         for NaNs before doing comparisons on argument.
30445         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30446         Likewise.
30448 2013-10-10  Will Newton  <will.newton@linaro.org>
30450         * malloc/hooks.c (memalign_check): Ensure the value of bytes
30451         passed to _int_memalign does not overflow.
30453 2013-10-10  Torvald Riegel  <triegel@redhat.com>
30455         * scripts/bench.pl: Add include-sources directive.
30456         * benchtests/README: Update documentation.
30458 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30460         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
30461         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
30462         instead of FP_INIT_ROUNDMODE.
30463         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
30464         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
30466         [BZ #16034]
30467         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
30468         copy class of input value.
30469         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
30470         not handle exceptions.
30471         * soft-fp/negsf2.c (__negsf2): Likewise.
30472         * soft-fp/negtf2.c (__negtf2): Likewise.
30473         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
30475 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
30477         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
30478         semicolon.  From Linux kernel.
30480 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
30482         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
30484 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
30486         [BZ #156]
30487         * manual/socket.texi: Added statement about buffer
30488         for gethostbyname2_r.
30490 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
30492         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
30493         Use .p2align directive instead, throughout.
30494         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30495         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30496         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
30497         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30498         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30499         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30500         * sysdeps/x86_64/strchr.S: Likewise.
30501         * sysdeps/x86_64/strrchr.S: Likewise.
30503 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30505         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
30507         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
30509         * sysdeps/generic/math_private.h (__mpsin1): Remove
30510         declaration.
30511         (__mpcos1): Likewise.
30512         (__mpsin): New argument __range_reduce.
30513         (__mpcos): Likewise.
30514         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30515         (slow): Use __mpsin and __mpcos.
30516         (slow1): Likewise.
30517         (slow2): Likewise.
30518         (sloww): Likewise.
30519         (sloww1): Likewise.
30520         (sloww2): Likewise.
30521         (bsloww): Likewise.
30522         (bsloww1): Likewise.
30523         (bsloww2): Likewise.
30524         (cslow2): Likewise.
30525         (csloww): Likewise.
30526         (csloww1): Likewise.
30527         (csloww2): Likewise.
30528         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
30529         range_reduce.  Merge in __mpsin1.
30530         (__mpcos): Likewise.
30531         (__mpsin1): Remove.
30532         (__mpcos1): Likewise.
30534 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
30536         * locale/loadlocale.c (_nl_intern_locale_data): Use
30537         LOCFILE_ALIGNED_P.
30538         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
30539         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
30540         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
30541         obstack data is appropriately aligned.
30542         (obstack_int32_grow_fast): Likewise.
30543         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
30544         * locale/programs/locfile.c (add_locale_uint32): Likewise.
30545         (add_locale_uint32_array): Likewise.
30547 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30549         * benchtests/Makefile: Remove ARGLIST and RET variables.
30550         ($(objpfx)bench-%.c): Pass only function name to the script.
30551         * benchtests/README: Update documentation.
30552         * benchtests/acos-inputs: Add new directives.
30553         * benchtests/acosh-inputs: Likewise.
30554         * benchtests/asin-inputs: Likewise.
30555         * benchtests/asinh-inputs: Likewise.
30556         * benchtests/atan-inputs: Likewise.
30557         * benchtests/atanh-inputs: Likewise.
30558         * benchtests/cos-inputs: Likewise.
30559         * benchtests/cosh-inputs: Likewise.
30560         * benchtests/exp-inputs: Likewise.
30561         * benchtests/log-inputs: Likewise.
30562         * benchtests/pow-inputs: Likewise.
30563         * benchtests/rint-inputs: Likewise.
30564         * benchtests/sin-inputs: Likewise.
30565         * benchtests/sinh-inputs: Likewise.
30566         * benchtests/tan-inputs: Likewise.
30567         * benchtests/tanh-inputs: Likewise.
30568         * scripts/bench.pl: Add support for new directives.
30570 2013-10-07  Alan Modra  <amodra@gmail.com>
30572         * README: Fix careless merge.
30574 2013-10-05  Alan Modra  <amodra@gmail.com>
30576         * NEWS: Mention powerpc64le support and bugs fixed.
30577         * README: Both big-endian and little-endian powerpc64 supported.
30579 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30581         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
30582         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
30583         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
30584         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
30586 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
30588         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
30589         match prototype.
30591 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
30593         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
30594         Move -mhard-float appending from
30595         ports/sysdeps/powerpc/powerpc32/Makefile.
30596         [$(with-fp) = yes] (ASFLAGS): Likewise.
30597         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
30598         * sysdeps/powerpc/nofpu: Move directory from
30599         ports/sysdeps/powerpc/nofpu.
30600         * sysdeps/powerpc/soft-fp: Move directory from
30601         ports/sysdeps/powerpc/soft-fp.
30602         * sysdeps/powerpc/powerpc32/405: Move directory from
30603         ports/sysdeps/powerpc/powerpc32/405.
30604         * sysdeps/powerpc/powerpc32/440: Move directory from
30605         ports/sysdeps/powerpc/powerpc32/440.
30606         * sysdeps/powerpc/powerpc32/464: Move directory from
30607         ports/sysdeps/powerpc/powerpc32/464.
30608         * sysdeps/powerpc/powerpc32/476: Move directory from
30609         ports/sysdeps/powerpc/powerpc32/476.
30610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
30611         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
30612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
30613         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
30614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
30615         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
30616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
30617         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
30618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
30619         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
30620         * README: Update for powerpc-*-linux-gnu software floating point
30621         support in libc.
30623         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
30624         case to powerpc/powerpc32*.
30625         * sysdeps/unix/sysv/linux/configure: Regenerated.
30627         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
30628         (_FPU_MASK_OM): Define as 0x04.
30629         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
30630         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
30631         0x00c10080.
30632         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
30633         0x0000003c.
30634         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
30636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
30637         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30638         getcontext_e500.
30639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
30640         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30641         setcontext_e500.
30642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
30643         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
30644         and setcontext_e500.
30646 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
30648         * locale/iso-3166.def: Update iso-1366.def and related occurrences
30650 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30652         * manual/threads.texi (Default Thread Attributes): Fix typo.
30654 2013-10-04  Will Newton  <will.newton@linaro.org>
30656         * malloc/Makefile: Add tst-memalign.
30657         * malloc/tst-memalign.c: New file.
30659         * malloc/tst-posix_memalign.c: Add comments.
30660         (do_test): Add comments and call free on all potentially
30661         allocated pointers. Add space after cast.
30663         * malloc/tst-pvalloc.c: Add comments.
30664         (do_test): Add comments and call free on all potentially
30665         allocated pointers. Remove duplicate check for NULL pointer.
30666         Add space after cast.
30668         * malloc/tst-valloc.c: Add comments.
30669         (do_test): Add comments and call free on all potentially
30670         allocated pointers. Remove duplicate check for NULL pointer.
30671         Add space after cast.
30673 2013-10-04  Alan Modra  <amodra@gmail.com>
30675         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30676         Use stdint types in rather than __attribute__((mode())).
30677         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30679 2013-10-04  Alan Modra  <amodra@gmail.com>
30681         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30682         Correct handling of unaligned relocs for little-endian.
30683         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30685 2013-10-04  Alan Modra  <amodra@gmail.com>
30687         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30688         * configure: Regenerate.
30689         * nptl/shlib-versions: Powerpc*le starts at 2.18.
30690         * shlib-versions: Likewise.
30692 2013-10-04  Alan Modra  <amodra@gmail.com>
30694         * string/tester.c (test_memrchr): Increment reported test cycle.
30696 2013-10-04  Alan Modra  <amodra@gmail.com>
30698         * string/test-memcpy.c (do_one_test): When reporting errors, print
30699         string address and don't overrun end of string.
30701 2013-10-04  Alan Modra  <amodra@gmail.com>
30703         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30704         insrdi.  Make better use of reg selection to speed exit slightly.
30705         Schedule entry path a little better.  Remove useless "are we done"
30706         checks on entry to main loop.  Handle wrapping around zero address.
30707         Correct main loop count.  Handle single left-over word from main
30708         loop inline rather than by using loop_small.  Remove extra word
30709         case in loop_small caused by wrong loop count.  Add little-endian
30710         support.
30711         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30712         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
30713         cache hint.
30714         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30715         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30716         support.  Avoid rlwimi.
30717         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30719 2013-10-04  Alan Modra  <amodra@gmail.com>
30721         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30722         insrdi.  Formatting.
30723         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30724         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30725         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30726         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30727         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30728         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30730 2013-10-04  Alan Modra  <amodra@gmail.com>
30732         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30733         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30734         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30735         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30736         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30737         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30738         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30739         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30740         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30741         use of regs.  Use power7 mtocrf.  Tidy function tails.
30743 2013-10-04  Alan Modra  <amodra@gmail.com>
30745         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30746         Formatting.  Consistently use rXXX register defines or rN defines.
30747         Use early exit labels that avoid restoring unused non-volatile regs.
30748         Make cr field use more consistent with rWORDn compares.  Rename
30749         regs used as shift registers for unaligned loop, using rN defines
30750         for short lifetime/multiple use regs.
30751         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30752         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30753         addi 1,1,64 to pop stack frame.  Simplify return value code.
30754         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30756 2013-10-04  Alan Modra  <amodra@gmail.com>
30758         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30759         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30760         rather than rlwimi.
30761         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30762         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30763         little-endian support.  Correct typos.
30764         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30765         rather than rlwimi.
30766         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30767         in loop and entry code to keep "and." results.
30768         (strchr): Add little-endian support.  Comment.  Move cntlzd
30769         earlier in tail.
30770         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30772 2013-10-04  Alan Modra  <amodra@gmail.com>
30774         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30775         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30776         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30777         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30779 2013-10-04  Alan Modra  <amodra@gmail.com>
30781         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30782         (rTMP): Define as r11.
30783         (strcmp): Add little-endian support.  Optimise tail.
30784         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30785         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30786         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30787         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30788         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30789         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30790         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30792 2013-10-04  Alan Modra  <amodra@gmail.com>
30794         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30795         little-endian support.  Remove unnecessary "are we done" tests.
30796         Handle "s" wrapping around zero and extremely large "size".
30797         Correct main loop count.  Handle single left-over word from main
30798         loop inline rather than by using small_loop.  Correct comments.
30799         Delete "zero" tail, use "end_max" instead.
30800         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30802 2013-10-04  Alan Modra  <amodra@gmail.com>
30804         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30805         support.  Don't branch over align.
30806         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30807         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30808         support.  Rearrange tmp reg use to suit.  Comment.
30809         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30811 2013-10-04  Alan Modra  <amodra@gmail.com>
30813         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30815 2013-10-04  Alan Modra  <amodra@gmail.com>
30817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30818         conditional form of branch and link when obtaining pc.
30819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30821 2013-10-04  Alan Modra  <amodra@gmail.com>
30823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30824         HIWORD/LOWORD.
30825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30828 2013-10-04  Alan Modra  <amodra@gmail.com>
30830         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30831         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30832         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30833         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30834         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30835         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30836         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30837         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30838         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30839         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30841 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30842             Alistair Popple <alistair@ozlabs.au.ibm.com>
30843             Alan Modra <amodra@gmail.com>
30845         [BZ #15723]
30846         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30847         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30848         _dl_hwcap access for little-endian.
30849         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30850         destroy vmx regs when saving unaligned.
30851         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30852         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30853         destroy vmx regs when saving unaligned.
30855 2013-10-04  Alan Modra  <amodra@gmail.com>
30857         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30858         Don't use a union to pack hi/low value.
30860 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30862         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30863         for little-endian.
30864         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30865         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30866         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30867         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30868         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30870 2013-10-04  Alan Modra  <amodra@gmail.com>
30872         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30873         constants to usual value for .cst8 section, and remove redundant
30874         high address load.
30875         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30876         constant for 0x1p52.  Load little-endian words of double from
30877         correct stack offsets.
30879 2013-10-04  Alan Modra  <amodra@gmail.com>
30881         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30882         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30883         words of double from correct stack offsets.
30884         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30885         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30886         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30887         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30888         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30889         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30890         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30891         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30892         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30893         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30894         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30895         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30896         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30897         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30898         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30899         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30900         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30902 2013-10-04  Alan Modra  <amodra@gmail.com>
30904         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30905         64-bit int/double union.
30906         (_FPU_SETCW): Likewise.
30907         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30908         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30910 2013-10-04  Alan Modra  <amodra@gmail.com>
30912         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30913         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30915 2013-10-04  Alan Modra  <amodra@gmail.com>
30917         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30918         use vector int constants.
30919         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30921 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30923         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30924         array with long long.
30925         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30926         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30927         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30928         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30929         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30930         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30931         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30932         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30933         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30934         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30935         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30936         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30937         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30939 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30941         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30942         (__signbit): Likewise.  Correct for little-endian.
30943         (__signbitl): Call __signbit.
30944         (lrint): Correct for little-endian.
30945         (lrintf): Call lrint.
30947 2013-10-04  Alan Modra  <amodra@gmail.com>
30949         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30950         union 32-bit int array member with 64-bit int array.
30951         (t515, tm256): Double rather than long double.
30952         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30954 2013-10-04  Alan Modra  <amodra@gmail.com>
30956         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30957         Delete.
30958         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30959         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30960         version of math_ldbl.h.
30962 2013-10-04  Alan Modra  <amodra@gmail.com>
30964         [BZ #15734], [BZ #15735]
30965         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30966         all uses of ieee875 long double macros and unions.  Simplify test
30967         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30968         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30969         normalize after ldbl_extract_mantissa, and don't add hidden bit
30970         already handled.  Don't treat low word of ieee854 mantissa like
30971         low word of IBM long double and mask off bit when testing for
30972         zero.
30973         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30974         all uses of ieee875 long double macros and unions.  Simplify tests
30975         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30976         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30977         two1022, instead use their values.  Recognise that tests for large
30978         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30979         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30980         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30981         test for 0.0L and nan.  Correct negation.
30982         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30983         ieee875 long double macros and unions.  Correct output for large
30984         magnitude x.  Correct absolute value calculation.
30985         (__erfcl): Likewise.
30986         * math/libm-test.inc: Add tests for errors discovered in IBM long
30987         double versions of fmodl, remainderl, erfl and erfcl.
30989 2013-10-04  Alan Modra  <amodra@gmail.com>
30991         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30992         all uses of ieee854 long double macros and unions.  Simplify tests
30993         for long doubles that are fully specified by the high double.
30994         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30995         Likewise.
30996         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30997         Remove dead code too.
30998         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30999         (__ieee754_ynl): Likewise.
31000         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31001         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
31002         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31003         Remove dead code too.
31004         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
31005         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
31006         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
31007         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
31008         Simplify.
31009         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
31010         Simplify.
31011         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
31012         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31013         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
31014         Comment on variable precision.
31015         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
31016         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31017         Likewise.
31018         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31019         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31020         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31021         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
31022         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
31024 2013-10-04  Alan Modra  <amodra@gmail.com>
31026         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
31027         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
31028         all uses of ieee854 long double macros and unions.
31029         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
31030         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31031         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
31032         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
31033         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31034         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31035         Likewise.
31036         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
31037         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31038         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
31039         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31040         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
31041         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
31042         Simplify sign and nan test too.
31043         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
31044         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31045         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
31046         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31047         Likewise.
31048         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31049         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
31050         Likewise.
31051         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31052         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31053         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
31054         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
31055         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
31056         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
31058 2013-10-04  Alan Modra  <amodra@gmail.com>
31060         * stdio-common/printf_size.c (__printf_size): Don't use
31061         union ieee854_long_double in fpnum union.
31062         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
31063         signbit macro to retrieve sign from long double.
31064         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
31065         retrieve sign from long double.
31066         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
31067         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
31068         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
31069         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31070         * math/test-misc.c (main): Don't use union ieee854_long_double.
31072 2013-10-04  Alan Modra  <amodra@gmail.com>
31074         [BZ #15680]
31075         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
31076         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
31077         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
31078         calculation.  Remove unnecessary test for denormal exponent.
31079         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
31080         Correct handling of denormals.  Avoid undefined shift behaviour.
31081         Correct normalisation of low mantissa when low double is denormal.
31082         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
31083         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
31084         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
31085         Correct normalisation of low mantissa.  Test for overflow of high
31086         mantissa and normalise.
31087         (ldbl_nearbyint): Use more readable constant for two52.
31088         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
31089         (__mpn_construct_long_double): Fix test for overflow of high
31090         mantissa and correct normalisation.  Avoid undefined shift.
31092 2013-10-04  Alan Modra  <amodra@gmail.com>
31094         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31095         (union ibm_extended_long_double): Define as an array of ieee754_double.
31096         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
31097         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
31098         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
31099         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31100         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31101         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
31102         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31103         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31104         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31105         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
31106         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31108 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
31110         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
31111         page size instead of calling getpagesize.
31113         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
31114         (LOCFILE_ALIGN_MASK): Likewise.
31115         (LOCFILE_ALIGN_UP): Likewise.
31116         (LOCFILE_ALIGNED_P): Likewise.
31117         * locale/programs/ld-collate.c (collate_output): Use the new
31118         macros instead of __alignof__ (int32_t).
31119         * locale/weight.h (findidx): Likewise.
31121 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
31123         [BZ #431]
31124         * manual/string.texi: Fix strncat and wcsncat.
31126 2013-10-03  Brooks Moses  <bmoses@google.com>
31128         [BZ #15915]
31129         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
31130         * Makerules: ...here, and adjust associated comments.
31132 2013-10-02  Will Newton  <will.newton@linaro.org>
31134         * malloc/Makefile: Add tst-pvalloc.
31135         * malloc/tst-pvalloc.c: New file.
31137 2013-10-02  Will Newton  <will.newton@linaro.org>
31139         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
31140         improve test coverage.
31142 2013-10-02  Will Newton  <will.newton@linaro.org>
31144         * malloc/Makefile: Add tst-posix_memalign.
31145         * malloc/tst-posix_memalign.c: New file.
31147 2013-10-01  Eric Blake  <eblake@redhat.com>
31149         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
31150         Use __THROWNL rather than __THROW on static functions.
31152 2013-09-30  Petr Machata  <pmachata@redhat.com>
31154         * elf/elf.h (R_AARCH64_ABS16): New macro.
31155         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
31156         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
31157         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
31158         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
31159         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
31160         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
31161         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
31162         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
31163         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
31164         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
31165         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
31166         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
31167         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
31168         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
31169         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
31170         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
31171         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
31172         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
31173         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
31174         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
31175         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
31176         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
31177         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
31178         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
31179         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
31180         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
31181         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
31182         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
31183         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
31184         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
31185         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
31186         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
31187         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
31188         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
31189         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
31190         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
31191         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
31192         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
31193         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
31194         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
31195         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
31196         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
31197         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
31198         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
31199         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
31200         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
31201         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
31202         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
31203         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
31204         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
31205         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
31206         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
31207         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
31208         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
31209         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
31210         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
31211         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
31212         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
31213         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
31214         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
31215         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
31216         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
31217         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
31218         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
31219         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
31220         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
31221         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
31222         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
31223         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
31224         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
31225         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
31226         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
31227         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
31228         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
31229         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
31230         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
31231         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
31232         (R_AARCH64_TLSDESC_LDR): Likewise.
31233         (R_AARCH64_TLSDESC_ADD): Likewise.
31234         (R_AARCH64_TLSDESC_CALL): Likewise.
31236 2013-09-30  Andreas Schwab  <schwab@suse.de>
31238         [BZ #15048]
31239         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
31240         the nss database lookup.
31241         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31242         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31244 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
31246         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
31248 2013-09-28  P. J. McDermott  <pj@pehjota.net>
31250         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
31251         ${Bash-specific parameter/pattern/string} parameter expansion.
31252         * sysdeps/unix/make-syscalls.sh: Likewise.
31254 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31256         * sysdeps/sh/stackguard-macros.h: New file.
31258 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
31260         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31261         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
31262         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
31263         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
31264         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31265         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
31267 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31269         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
31270         Fix thread ID register.
31272 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
31274         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
31275         [POSIX || UNIX98]: Require rather than permitting all symbols from
31276         <time.h>.
31277         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
31278         element of struct sched_param.
31279         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
31280         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
31281         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
31282         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
31283         constant.
31285 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
31287         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
31288         argument calculation.
31290 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31292         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
31293         Expect macro.
31294         [POSIX] (pthread_attr_t): Do not require type.
31295         [POSIX] (pthread_cond_t): Likewise.
31296         [POSIX] (pthread_condattr_t): Likewise.
31297         [POSIX] (pthread_key_t): Likewise.
31298         [POSIX] (pthread_mutex_t): Likewise.
31299         [POSIX] (pthread_mutexattr_t): Likewise.
31300         [POSIX] (pthread_once_t): Likewise.
31301         [POSIX] (pthread_t): Likewise.
31302         [POSIX-based standards] (pthread_atfork): Expect function.
31304 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31305             Richard Sandiford  <richard@codesourcery.com>
31307         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
31308         (swap_endianness_p): New extern variable.
31309         (set_big_endian): New inline function.
31310         (maybe_swap_uint32): Likewise.
31311         (maybe_swap_uint32_array): Likewise.
31312         (maybe_swap_uint32_obstack): Likewise.
31313         * locale/programs/locfile.c: Include <stdbool.h>.
31314         (swap_endianness_p): New variable.
31315         (add_locale_uint32): Call maybe_swap_uint32.
31316         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
31317         (write_locale_data): Call maybe_swap_uint32_array.
31318         * locale/programs/ld-collate.c (obstack_int32_grow): Call
31319         maybe_swap_uint32.
31320         (obstack_int32_grow_fast): Likewise.
31321         (output_weightwc): Call maybe_swap_uint32_obstack.
31322         (collate_output): Likewise.
31323         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
31324         (OPT_LITTLE_ENDIAN): Likewise.
31325         (options): Add --little-endian and --big-endian options.
31326         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
31327         * locale/programs/locarchive.c: Include "locfile.h".
31328         (GET): New macro.
31329         (SET): Likewise.
31330         (INC): Likewise.
31331         (create_archive): Use the new macros to access fields of
31332         structures directly mapped from or written to locale archives.
31333         (oldlocrecentcmp): Likewise.
31334         (enlarge_archive): Likewise.
31335         (insert_name): Likewise.
31336         (add_alias): Likewise.
31337         (add_locale): Likewise.
31338         (delete_locales_from_archive): Likewise.
31339         (show_archive_content): Likewise.
31340         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
31341         locale data.
31343 2013-09-24  Roland McGrath  <roland@hack.frob.com>
31345         * manual/freemanuals.texi: Updated from (newly) canonical copy at
31346         http://www.gnu.org/doc/freemanuals.texi.
31347         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
31349 2013-09-24  Will Newton  <will.newton@linaro.org>
31351         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
31352         macro.
31354 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
31356         * locale/hashval.h (compute_hashval): Interpret bytes of key as
31357         unsigned char.
31359 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
31361         * manual/threads.texi (POSIX Threads): Fix a typo.
31363 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31365         [BZ #14547]
31366         * string/tst-strcoll-overflow.c: New test case.
31367         * string/Makefile (xtests): Add tst-strcoll-overflow.
31368         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
31369         cache if string sizes may cause integer overflow.
31371         [BZ #14547]
31372         * string/strcoll_l.c (coll_seq): New members rule, idx,
31373         save_idx and back_us.
31374         (get_next_seq_nocache): New function.
31375         (do_compare_nocache): New function.
31376         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
31377         when malloc fails.
31379 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
31381         [BZ #15754]
31382         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
31383         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
31384         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
31386         [BZ #15754]
31387         * elf/Makefile (tests): Add tst-ptrguard1.
31388         (tests-static): Add tst-ptrguard1-static.
31389         (tst-ptrguard1-ARGS): Define.
31390         (tst-ptrguard1-static-ARGS): Define.
31391         * elf/tst-ptrguard1.c: New file.
31392         * elf/tst-ptrguard1-static.c: New file.
31393         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
31394         * sysdeps/i386/stackguard-macros.h: Likewise.
31395         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31396         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31397         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31398         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31399         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31400         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31402 2013-09-23  Hector Marco  <hecmargi@upv.es>
31403             Ismael Ripoll  <iripoll@disca.upv.es>
31404             Carlos O'Donell  <carlos@redhat.com>
31406         [BZ #15754]
31407         * sysdeps/generic/stackguard-macros.h: Define
31408         __pointer_chk_guard_local and POINTER_CHK_GUARD.
31409         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
31410         Define __pointer_chk_guard_local.
31411         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
31412         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
31414 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
31416         [BZ #15859]
31417         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
31419 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
31421         * include/string.h (__ffs): Declare as hidden.
31422         * string/ffs.c (__ffs): Define as hidden.
31423         * sysdeps/i386/ffs.c (__ffs): Likewise.
31424         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
31425         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
31426         * sysdeps/s390/ffs.c (__ffs): Likewise.
31427         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
31429 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
31431         * NEWS: Mention malloc probes.
31433         * malloc/arena.c (new_heap): New memory_heap_new probe.
31434         (grow_heap): New memory_heap_more probe.
31435         (shrink_heap): New memory_heap_less probe.
31436         (heap_trim): New memory_heap_free probe.
31437         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
31438         (systrim): New memory_sbrk_less probe.
31439         * manual/probes.texi: Document them.
31441         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
31442         * manual/probes.texi: Document it.
31444         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
31445         (__libc_realloc): Add memory_realloc_retry probe.
31446         (__libc_memalign): Add memory_memalign_retry probe.
31447         (__libc_valloc): Add memory_valloc_retry probe.
31448         (__libc_pvalloc): Add memory_pvalloc_retry probe.
31449         (__libc_calloc): Add memory_calloc_retry probe.
31450         * manual/probes.texi: Document them.
31452         * malloc/arena.c (get_free_list): Add probe
31453         memory_arena_reuse_free_list.
31454         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
31455         and memory_arena_reuse.
31456         (arena_get2) [!PER_THREAD]: Likewise.
31457         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
31458         memory_arena_reuse_realloc.
31459         * manual/probes.texi: Document them.
31461         * malloc/malloc.c (__libc_free): Add
31462         memory_mallopt_free_dyn_thresholds probe.
31463         (__libc_mallopt): Add multiple memory_mallopt probes.
31464         * manual/probes.texi: Document them.
31466         * malloc/malloc.c: Include stap-probe.h.
31467         (__libc_mallopt): Add memory_mallopt probe.
31468         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
31469         * manual/probes.texi: New.
31470         * manual/Makefile (chapters): Add probes.
31471         * manual/threads.texi: Set next node.
31473 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
31475         [BZ #15963, #13985]
31476         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
31477         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
31478         Add `Chinese' to `nan' entry name.
31480 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31482         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
31483         (POLYNOMIAL): Likewise.
31484         (TAYLOR_SINCOS): Likewise.
31485         (TAYLOR_SLOW): Likewise.
31486         (__sin): Use TAYLOR_SINCOS.
31487         (__cos): Likewise.
31488         (slow): Use TAYLOR_SLOW.
31489         (sloww): Likewise.
31490         (bsloww): Likewise.
31491         (csloww): Likewise.
31493 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31495         * stdlib/strtod_l.c: Fix buffer overrun.
31497 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31499         * benchtests/Makefile (bench): Add sincos.
31500         * benchtests/bench-sincos.c: New file.
31502         * math/libm-test.inc (cos_test_data): New test inputs.
31503         (sin_test_data): Likewise.
31505         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
31506         macro.
31507         (__sin): Use it.
31508         (__cos): Likewise.
31509         (slow1): Likewise.
31510         (slow2): Likewise.
31511         (sloww1): Likewise.
31512         (sloww2): Likewise.
31513         (bsloww1): Likewise.
31514         (bsloww2): Likewise.
31515         (cslow2): Likewise.
31516         (csloww1): Likewise.
31517         (csloww2): Likewise.
31519         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
31520         function.
31521         (__sin): Use it.
31522         (__cos): Likewise.
31524         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
31525         gotos.
31526         (__cos): Likewise.
31528 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
31530         * config.h.in (HAVE_MIPS_NAN2008): New macro.
31531         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
31532         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
31533         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
31534         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
31535         * elf/cache.c (print_entry): Handle the new cache flags.
31537 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31538             Aldy Hernandez  <aldyh@redhat.com>
31540         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
31541         Change condition to [_SOFT_FLOAT].
31542         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
31543         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
31544         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
31545         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
31546         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
31547         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
31548         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
31549         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
31550         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
31551         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
31552         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
31553         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
31554         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
31555         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
31556         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
31557         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
31558         declaration.
31560 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31562         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
31563         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31564         (__longjmp): Use LOAD_GP to load saved GPRs.
31565         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
31566         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31567         (__sigsetjmp): Use SAVE_GP to save GPRs.
31569         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
31570         Do not append -msoft-float.
31571         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
31573 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31575         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
31577 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
31579         [BZ #15966]
31580         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
31581         (_FPU_GETCW): Use initial "__" on variable and field names but not
31582         on macro parameter name.
31583         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
31584         parentheses around reference to macro parameter.
31586 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
31588         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
31589         prototype.
31590         (ctype_startup): Use uint32_t in cast and sizeof for
31591         ctype->charnames.
31593 2013-09-11  Jia Liu  <proljc@gmail.com>
31595         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
31596         __daddr_t_defined.
31597         [__FreeBSD__]: Likewise.
31599 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
31601         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31602         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
31603         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
31604         (strchr): Remove __strchr_sse42 ifunc selection.
31605         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
31606         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
31608 2013-09-11  Will Newton  <will.newton@linaro.org>
31610         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
31611         parameter to RES. Remove hardcoded 1000 value.
31612         * benchtests/bench-skeleton.c (main): Pass RES parameter
31613         to TIMING_INIT and multiply result by 1000.
31615 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31619 2013-09-11  Andreas Schwab  <schwab@suse.de>
31621         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31622         if not defined.
31623         (O_TMPFILE) [__USE_GNU]: Define.
31624         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
31625         Define.
31627 2013-09-11  Will Newton  <will.newton@linaro.org>
31629         [BZ #15857]
31630         * malloc/malloc.c (__libc_memalign): Check the value of bytes
31631         does not overflow.
31633 2013-09-11  Will Newton  <will.newton@linaro.org>
31635         [BZ #15856]
31636         * malloc/malloc.c (__libc_valloc): Check the value of bytes
31637         does not overflow.
31639 2013-09-11  Will Newton  <will.newton@linaro.org>
31641         [BZ #15855]
31642         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
31643         does not overflow.
31645 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
31647         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
31648         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31649         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31650         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31651         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31653 2013-09-10  Allan McRae  <allan@archlinux.org>
31655         [BZ #15748]
31656         * manual/arith.texi (Parsing of Floats): Clarify
31657         cross-reference.
31659         [BZ #15849]
31660         * manual/install.texi (Running make install): Mention
31661         --enable-pt-chown.
31662         * INSTALL: Regenerated.
31664 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
31666         * csu/init-first.c (_init): Remove the !SHARED condition around
31667         FPU control word initialization.
31668         * elf/dl-support.c (_dl_fpu_control): New variable.
31669         (_dl_aux_init) <AT_FPUCW>: Initialize it.
31670         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31671         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31672         * math/test-fpucw-static.c: New file.
31673         * math/test-fpucw-ieee.c: New file.
31674         * math/test-fpucw-ieee-static.c: New file.
31675         * math/Makefile (tests): Add `test-fpucw-ieee' and
31676         `$(tests-static)'.
31677         (tests-static): New variable.
31678         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31679         dependency to...
31680         [($(build-shared),yes)]
31681         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31682         ... this.
31683         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31684         New dependency.
31686 2013-09-09  Allan McRae  <allan@archlinux.org>
31688         [BZ #15939]
31689         * manual/string.texi (Collation Functions): Fix typo in
31690         strcoll example.
31691         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31693         [BZ #15893]
31694         * stdlib/isomac.c (get_null_defines): Fix memory leak.
31696         [BZ #15892]
31697         * libio/memstream.c (open_memstream): Fix memory leak.
31698         * libio/wmemstream.c (open_wmemstream): Likewise.
31700         [BZ #15895]
31701         * nscd/netgroupcache.c: Fix nesting of ifdefs.
31703 2013-09-09  Will Newton  <will.newton@linaro.org>
31705         * malloc/Makefile: Add tst-realloc to tests.
31706         * malloc/tst-realloc.c: New file.
31708 2013-09-09  Allan McRae  <allan@archlinux.org>
31710         [BZ #15844]
31711         * COPYING: Update from GNU website to fix FSF address.
31712         * COPYING.LIB: Likewise.
31714 2013-09-06  David S. Miller  <davem@davemloft.net>
31716         * po/zh_TW.po: Update Chinese (traditional) translation from
31717         translation project.
31719 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31720             Joseph Myers  <joseph@codesourcery.com>
31722         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31723         "localeinfo.h".
31724         (obstack_chunk_alloc): New macro.
31725         (obstack_chunk_free): Likewise.
31726         (record_offset): New function.
31727         (init_locale_data): Likewise.
31728         (align_locale_data): Likewise.
31729         (add_locale_empty): Likewise.
31730         (add_locale_raw_data): Likewise.
31731         (add_locale_raw_obstack): Likewise.
31732         (add_locale_string): Likewise.
31733         (add_locale_wstring): Likewise.
31734         (add_locale_uint32): Likewise.
31735         (add_locale_uint32_array): Likewise.
31736         (add_locale_char): Likewise.
31737         (start_locale_structure): Likewise.
31738         (end_locale_structure): Likewise.
31739         (start_locale_prelude): Likewise.
31740         (end_locale_prelude): Likewise.
31741         (write_locale_data): Take locale_file structure rather than an
31742         iovec.
31743         * locale/programs/locfile.h: Include "obstack.h".
31744         (struct locale_file): Change to store locale file contents instead
31745         of header.
31746         (init_locale_data): New prototype.
31747         (align_locale_data): Likewise.
31748         (add_locale_empty): Likewise.
31749         (add_locale_raw_data): Likewise.
31750         (add_locale_raw_obstack): Likewise.
31751         (add_locale_string): Likewise.
31752         (add_locale_wstring): Likewise.
31753         (add_locale_uint32): Likewise.
31754         (add_locale_uint32_array): Likewise.
31755         (add_locale_char): Likewise.
31756         (start_locale_structure): Likewise.
31757         (end_locale_structure): Likewise.
31758         (start_locale_prelude): Likewise.
31759         (end_locale_prelude): Likewise.
31760         (write_locale_data): Update prototype.
31761         * locale/programs/3level.h (struct TABLE): Remove result field.
31762         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31763         Use new locale_file interface.
31764         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31765         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31766         * locale/programs/ld-address.c (address_output): Use new
31767         locale_file interface.
31768         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31769         NO_ADD_LOCALE.
31770         (collate_finish): Don't call collseq_table_finalize.
31771         (collate_output): Use new locale_file interface.
31772         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31773         in file.
31774         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31775         (TABLE): Move defines earlier in file.
31776         (ELEMENT): Likewise.
31777         (DEFAULT): Likewise.
31778         (wctrans_table_add): Move macro and inline function earlier in
31779         file.
31780         (struct wctype_table): Move type earlier in file.
31781         (add_locale_wctype_table): New static prototype.
31782         (struct locale_ctype_t): Use logical types instead of struct iovec
31783         pointers for members.
31784         (ctype_output): Use new locale_file interface.
31785         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31786         new locale_file interface.
31787         (allocate_arrays): Update for use of new locale_file interface.
31788         * locale/programs/ld-identification.c (identification_output): Use
31789         new locale_file interface.
31790         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31791         * locale/programs/ld-messages.c (messages_output): Likewise.
31792         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31793         * locale/programs/ld-name.c (name_output): Likewise.
31794         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31795         * locale/programs/ld-paper.c (paper_output): Likewise.
31796         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31797         * locale/programs/ld-time.c (time_output): Likewise.
31799 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31801         * benchtests/Makefile: Add memrchr benchmark.
31802         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31803         benchmark as memrchr.
31804         * benchtests/bench-memrchr-ifunc.c: New file.
31805         * benchtests/bench-memrchr.c: New file.
31807 2013-09-06   Will Newton  <will.newton@linaro.org>
31809         * benchtests/Makefile (string-bench): Add memcpy.
31811 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31812             Cong Wang  <amwang@redhat.com>
31814         [BZ #15850]
31815         * sysdeps/unix/sysv/linux/bits/in.h
31816         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31817         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31818         before __USE_KERNEL_IPV6_DEFS uses.
31819         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31820         IPPROTO_BEETPH.
31821         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31822         sockaddr_in6, or ipv6_mreq.
31824 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31826         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31827         memory access for final bytes in some large inputs.
31828         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31830 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31832         * string/test-memrchr.c: New file.
31833         * string/test-memrchr-ifunc.c: New file.
31834         * string/Makefile: Add new memrchr testcase.
31836 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31838         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31839         fanotify_init returns EPERM.
31841 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31843         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31844         errors.
31845         (top level): Treat second token from macro or constant entries for
31846         allowed headers as allowed.
31847         * include/complex.h: Condition internal declarations on
31848         [!_ISOMAC].
31849         * include/fenv.h: Condition include of <stdbool.h> and internal
31850         declarations on [!_ISOMAC].
31852 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31854         [BZ #15923]
31855         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31857 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31859         * configure.in (--enable-versioning): Remove configure option.
31860         (libc_cv_asm_symver_directive): Remove configure test.
31861         (libc_cv_ld_version_script_option): Likewise.
31862         (VERSIONING): Remove variable and AC_SUBST.
31863         (DO_VERSIONING): Remove AC_DEFINE.
31864         * configure: Regenerated.
31865         * config.h.in (DO_VERSIONING): Remove macro.
31866         * Makerules [$(versioning) = yes]: Change conditionals to
31867         [$(build-shared) = yes].
31868         * config.make.in (versioning): Remove variable.
31869         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31870         [$(build-shared) = yes].
31871         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31872         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31873         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31874         [$(build-shared) = yes].
31875         * extra-lib.mk [$(versioning) = yes]: Likewise.
31876         * hurd/Makefile [$(versioning) = yes]: Likewise.
31877         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31878         [SHARED].
31879         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31880         [SHARED].
31881         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31882         [SHARED && !NO_HIDDEN].
31883         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31884         [SHARED].
31885         [SHARED && DO_VERSIONING]: Likewise..
31886         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31887         [$(build-shared) = yes].
31888         * manual/install.texi (--disable-versioning): Remove
31889         documentation.
31890         * INSTALL: Regenerated.
31891         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31892         to [SHARED].
31893         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31894         [$(build-shared) = yes].
31895         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31896         * sysdeps/i386/i686/multiarch/strstr-c.c
31897         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31898         [SHARED && !NO_HIDDEN].
31899         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31900         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31901         * sysdeps/powerpc/powerpc32/dl-machine.c
31902         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31903         * sysdeps/powerpc/powerpc32/sysdep.h
31904         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31905         to [SHARED && PIC && !NO_HIDDEN].
31906         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31907         conditional to [SHARED].
31909 2013-09-04   Will Newton  <will.newton@linaro.org>
31911         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31912         * benchtests/bench-string.h: Include bench-timing.h instead
31913         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31914         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31915         call to HP_TIMING_DIFF_INIT.
31916         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31917         instead of hp-timing.h macros.
31918         * benchtests/bench-memchr.c: Likewise.
31919         * benchtests/bench-memcmp.c: Likewise.
31920         * benchtests/bench-memcpy.c: Likewise.
31921         * benchtests/bench-memmem.c: Likewise.
31922         * benchtests/bench-memmove.c: Likewise.
31923         * benchtests/bench-memset.c: Likewise.
31924         * benchtests/bench-rawmemchr.c: Likewise.
31925         * benchtests/bench-strcasecmp.c: Likewise.
31926         * benchtests/bench-strcasestr.c: Likewise.
31927         * benchtests/bench-strcat.c: Likewise.
31928         * benchtests/bench-strchr.c: Likewise.
31929         * benchtests/bench-strcmp.c: Likewise.
31930         * benchtests/bench-strcpy.c: Likewise.
31931         * benchtests/bench-strcpy_chk.c: Likewise.
31932         * benchtests/bench-strlen.c: Likewise.
31933         * benchtests/bench-strncasecmp.c: Likewise.
31934         * benchtests/bench-strncat.c: Likewise.
31935         * benchtests/bench-strncmp.c: Likewise.
31936         * benchtests/bench-strncpy.c: Likewise.
31937         * benchtests/bench-strnlen.c: Likewise.
31938         * benchtests/bench-strpbrk.c: Likewise.
31939         * benchtests/bench-strrchr.c: Likewise.
31940         * benchtests/bench-strspn.c: Likewise.
31941         * benchtests/bench-strstr.c: Likewise.
31943 2013-09-04  Will Newton  <will.newton@linaro.org>
31945         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31947 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31949         [BZ #15427]
31950         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31951         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31952         * math/libm-test.inc (lgamma_test_data): Add more tests.
31953         * sysdeps/i386/fpu/libm-test-ulps: Update.
31954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31956 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31958         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31959         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31960         Add ifunc.
31961         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31962         Add strcmp-sse2-unaligned
31963         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31965 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31967         * Versions.def (libc): Add GLIBC_2.19.
31969 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31971         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31972         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31974 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31976         [BZ #14155]
31977         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31978         intermediate calculations in recurrence.
31979         (__ieee754_ynf): Likewise.
31980         * math/libm-test.inc (jn_test_data): Do not allow spurious
31981         underflow exception.  Add more tests.
31982         (yn_test_data): Add more tests.
31983         * sysdeps/i386/fpu/libm-test-ulps: Update.
31984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31986 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31988         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31990 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31992         * csu/init-first.c: Fix then/than typos.
31993         * locale/programs/ld-collate.c: Likewise.
31994         * locale/programs/linereader.h: Likewise.
31995         * manual/charset.texi: Likewise.
31996         * manual/filesys.texi: Likewise.
31997         * manual/stdio.texi: Likewise.
31998         * manual/string.texi: Likewise.
31999         * stdlib/fmtmsg.c: Likewise.
32000         * sysdeps/i386/stpncpy.S: Likewise.
32001         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32002         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32003         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32004         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32006 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
32008         * elf/dl-open.c: Fix typos.
32009         * iconvdata/gbbig5.c: Likewise.
32010         * iconvdata/iso-2022-jp.c: Likewise.
32011         * iconv/gconv_int.h: Likewise.
32012         * iconv/loop.c: Likewise.
32013         * nis/rpcsvc/nis.h: Likewise.
32014         * resolv/ns_name.c: Likewise.
32015         * stdio-common/vfscanf.c: Likewise.
32016         * streams/stropts.h: Likewise.
32017         * sunrpc/rpc_thread.c: Likewise.
32018         * sysdeps/i386/strpbrk.S: Likewise.
32019         * sysdeps/ieee754/k_standard.c: Likewise.
32020         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32021         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32022         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
32023         * sysdeps/mach/hurd/profil.c: Likewise.
32024         * sysdeps/s390/dl-procinfo.h: Likewise.
32025         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
32026         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32027         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
32028         * sysdeps/x86_64/dl-trampoline.S: Likewise.
32029         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32031 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
32033         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
32034         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
32036 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
32038         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
32039         aix specific files.
32040         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
32041         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
32042         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
32043         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
32044         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
32045         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
32046         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
32047         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
32049 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
32050             Roland McGrath  <roland@hack.frob.com>
32052         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
32053         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
32055 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32057         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
32058         __executable_start symbol instead of _start.
32060 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
32062         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
32063         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
32064         Move macros to...
32065         * sysdeps/gnu/ldsodefs.h: ... this new file.
32067         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
32068         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
32069         instead of ELFOSABI_LINUX.
32071         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
32072         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
32073         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
32074         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
32075         Likewise.
32076         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
32077         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
32078         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
32079         Likewise.
32080         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32081         (ibm_extended_long_double): Add ieee_nan member.
32082         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
32083         (do_test): New function.
32085         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
32086         TEST_TRUNC.
32087         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
32088         functions, renamed from truncdfsf_test, trunctfsf_test,
32089         trunctfdf_test.
32090         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
32091         functions.
32092         (do_test): Run all these.
32094 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
32096         * argp/argp-help.c: Fix typos.
32097         * argp/argp-parse.c: Likewise.
32098         * debug/backtracesyms.c: Likewise.
32099         * elf/elf.h: Likewise.
32100         * malloc/malloc.c: Likewise.
32101         * nis/nis_print.c: Likewise.
32102         * resolv/res_comp.c: Likewise.
32103         * stdlib/stdlib.h: Likewise.
32104         * sunrpc/clnt_tcp.c: Likewise.
32105         * sunrpc/clnt_udp.c: Likewise.
32106         * sunrpc/clnt_unix.c: Likewise.
32107         * sysdeps/unix/bsd/ptsname.c: Likewise.
32108         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32109         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
32110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
32111         Likewise.
32112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
32113         Likewise.
32114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32115         Likewise.
32116         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32118 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32120         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
32121         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32123 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
32125         [BZ #15897]
32126         * dlfcn/Makefile (tests): Add bug-dl-leaf.
32127         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
32128         ($(objpfx)bug-dl-leaf): New rule.
32129         ($(objpfx)bug-dl-leaf.so): Likewise.
32130         ($(objpfx)bug-dl-leaf.out): Likewise.
32131         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
32132         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
32133         * dlfcn/bug-dl-leaf.c: New test.
32134         * dlfcn/bug-dl-leaf-lib.c: Likewise.
32135         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
32136         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
32137         (dlclose): Likewise.
32138         (dlmopen): Likewise.
32140 2013-08-27  Roland McGrath  <roland@hack.frob.com>
32142         * include/netdb.h [!_ISOMAC]:
32143         Don't include <tls.h>.
32144         (h_errno, __libc_h_errno): Move declaration and macros out of
32145         [_LIBC_REENTRANT].
32147         * include/resolv.h [_RESOLV_H_]:
32148         Don't include <tls.h>.
32149         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
32150         * resolv/res_libc.c: Don't include <tls.h>.
32151         (_res): Use __attribute__ ((nocommon)) in place of
32152         __attribute__ ((section (".bss"))).
32154         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
32155         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
32157         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
32159         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
32160         only under [SIOCGIFCONF && SIOCGIFNETMASK].
32162         * resolv/res_mkquery.c: Include <sys/time.h>.
32164         * inet/ifreq.c: Moved to ...
32165         * sysdeps/unix/ifreq.c: ... here.
32166         * inet/ifreq.c: New file, true stub version.
32168         * socket/sa_len.c: New file.
32169         * socket/Makefile (aux): Add it.
32170         * sysdeps/unix/sysv/linux/Makefile
32171         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
32172         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
32173         and #include <socket/sa_len.c>.
32174         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
32175         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
32177         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
32178         * bits/socket.h: ... here.
32180         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
32181         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
32182         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
32184 2013-08-27  Andreas Schwab  <schwab@suse.de>
32186         [BZ #15736]
32187         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
32188         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
32189         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
32190         * string/test-strcasecmp.c (test_main): Run tests in several
32191         locales.
32192         * string/test-strncasecmp.c (test_main): Likewise.
32194         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
32195         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
32196         to __strcasecmp_nonascii and __strncasecmp_nonascii.
32197         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
32198         (__strncasecmp_ssse3) [PIC]: Likewise.
32200 2013-08-26  Roland McGrath  <roland@hack.frob.com>
32202         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
32204         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
32205         instead of explicitly declaring xdecrypt.
32206         * nis/nss_nis/nis-publickey.c: Likewise.
32208 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32210         [BZ #15890]
32211         * nscd/aicache.c: Include res_hconf.h.
32212         (addhstaiX): Initialize res_hconf.
32214 2013-08-26  Andreas Schwab  <schwab@suse.de>
32216         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
32217         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
32219 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32221         * nscd/aicache.c (addhstaiX): Fix indentation.
32223 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
32225         * configure.ac: Quote $build_pt_chown test.
32226         * configure: Regenerated.
32228 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
32230         [BZ #15532]
32231         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
32232         * math/s_cexpf.c (__cexpf): Likewise.
32233         * math/s_cexpl.c (__cexpl): Likewise.
32234         * math/libm-test.inc (cexp_test_data): Correct expected return
32235         value for NaN + i0.  Add another test.
32237 2013-08-22  David S. Miller  <davem@davemloft.net>
32239         * po/ca.po: Update Catalan translation from translation project.
32240         * po/uk.po: Add Ukrainian translations from translation project.
32242 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
32244         [BZ #15797]
32245         * math/s_fdim.c (__fdim): Check for infinite arguments if result
32246         is infinite, not alongside NaN test.
32247         * math/s_fdimf.c (__fdimf): Likewise.
32248         * math/s_fdiml.c (__fdiml): Likewise.
32249         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
32250         errno is unchanged.
32252 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
32254         * argp/argp-help.c: Fix typos.
32255         * crypt/speeds.c: Likewise.
32256         * csu/check_fds.c: Likewise.
32257         * elf/dl-load.c: Likewise.
32258         * elf/dl-open.c: Likewise.
32259         * elf/reldep3.c: Likewise.
32260         * elf/reldep.c: Likewise.
32261         * elf/sprof.c: Likewise.
32262         * iconv/iconv_charmap.c: Likewise.
32263         * iconv/skeleton.c: Likewise.
32264         * iconv/strtab.c: Likewise.
32265         * io/lockf64.c: Likewise.
32266         * libio/libioP.h: Likewise.
32267         * resolv/gai_notify.c: Likewise.
32268         * resolv/ns_name.c: Likewise.
32269         * resolv/ns_samedomain.c: Likewise.
32270         * resolv/res_send.c: Likewise.
32271         * stdlib/random.c: Likewise.
32272         * sunrpc/rpc/xdr.h: Likewise.
32273         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
32274         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32275         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32276         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32277         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32278         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32279         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32280         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32281         * sysdeps/mach/hurd/check_fds.c: Likewise.
32282         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32283         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32284         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32285         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32286         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32287         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32288         * sysdeps/pthread/aio_notify.c: Likewise.
32289         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
32290         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
32291         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
32292         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32293         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
32295 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32297         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
32298         version if bit_Slow_SSE4_2 is set.
32299         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32300         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32302 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32304         [BZ #15867]
32305         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
32306         trampoline stack frame information.
32307         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
32308         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
32309         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
32310         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
32311         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
32312         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32313         (_libc_vdso_platform_setup): Initialize the signal trampolines.
32314         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
32315         sa_flags value.
32316         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
32317         interrupting a syscall and set with option SA_SIGINFO.
32319 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32321         [BZ #15531]
32322         * math/s_cproj.c (__cproj): Only return an infinity if one part of
32323         argument is infinite.
32324         * math/s_cprojf.c (__cprojf): Likewise.
32325         * math/s_cprojl.c (__cprojl): Likewise.
32326         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
32327         * math/libm-test.inc (cproj_test_data): Add more tests.
32329         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
32331         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
32332         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
32333         size.  Use __ffs to determine corresponding shift.
32335 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32336             Roland McGrath  <roland@hack.frob.com>
32338         * Makefile (INSTALL): Remove trailing blank lines from output of
32339         makeinfo.
32341 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32343         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
32344         Align 32 bit compat elf_greg to 8 bytes.
32346 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
32348         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
32350 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32352         * string/strcoll_l.c (coll_seq): New structure.
32353         (get_next_seq_cached): New function.
32354         (get_next_seq): New function.
32355         (do_compare): New function.
32356         (STRCOLL): Use GNU style definition.  Simplify implementation
32357         by using get_next_seq, get_next_seq_cached and do_compare.
32359 2013-08-16  Florian Weimer  <fweimer@redhat.com>
32361         [BZ #14699]
32362         CVE-2013-4237
32363         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
32364         member.
32365         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
32366         member.
32367         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
32368         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
32369         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
32370         conditional.
32371         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
32372         GETDENTS_64BIT_ALIGNED.
32373         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32374         * manual/filesys.texi (Reading/Closing Directory): Document
32375         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
32376         strongly.
32377         * manual/conf.texi (Limits for Files): Add portability note to
32378         NAME_MAX, PATH_MAX.
32379         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
32381 2013-08-13  Andreas Schwab  <schwab@suse.de>
32383         [BZ #15749]
32384         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
32385         of fabs.
32386         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
32387         LDBL_MAX_EXP >= 16384]: Add tests for it.
32389 2013-08-12  David S. Miller  <davem@davemloft.net>
32391         * version.h (RELEASE): Set to "development".
32392         (VERSION): Set to "2.18.90".
32393         * NEWS: Add 2.19 section.
32395 2013-08-03  David S. Miller  <davem@davemloft.net>
32397         * po/ko.po: Update Korean translation from translation project.
32399 2013-08-01  David S. Miller  <davem@davemloft.net>
32401         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
32402         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
32403         Bilka.
32405 2013-07-30  David S. Miller  <davem@davemloft.net>
32407         * po/fr.po: Update French translation from translation project.
32409 2013-07-28  David S. Miller  <davem@davemloft.net>
32411         * po/cs.po: Update Czech translation from translation project.
32413         * po/sv.po: Update Swedish translation from translation project.
32415 2013-07-27  David S. Miller  <davem@davemloft.net>
32417         * po/eo.po: Update Esperanto translation from translation project.
32419         * po/vi.po: Update Vietnamese translation from translation project.
32421         * po/de.po: Update German translation from translation project.
32423 2013-07-26  David S. Miller  <davem@davemloft.net>
32425         * po/bg.po: Update Bulgarian translation from translation project.
32427         * po/nl.po: Update Dutch translation from translation project.
32428         * po/pl.po: Update Polish translation from translation project.
32429         * po/ru.po: Update Russian translation from translation project.
32431 2013-07-24  David S. Miller  <davem@davemloft.net>
32433         * po/libc.pot: Update.
32435 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32437         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
32438         variable page size.
32439         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
32440         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
32441         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
32443 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32445         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
32447 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32448             Andreas Schwab  <schwab@suse.de>
32449             Roland McGrath  <roland@hack.frob.com>
32450             Joseph Myers  <joseph@codesourcery.com>
32451             Carlos O'Donell  <carlos@redhat.com>
32453         [BZ #15755]
32454         * config.h.in: Define HAVE_PT_CHOWN.
32455         * config.make.in (build-pt-chown): New variable.
32456         * configure.in (--enable-pt_chown): New configure option.
32457         * configure: Regenerate.
32458         * login/Makefile: Include Makeconfig.  Build pt_chown only if
32459         build-pt-chown is enabled.
32460         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
32461         pt_chown to fix pty ownership.
32462         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
32463         CLOSE_ALL_FDS.
32464         * manual/install.texi (Configuring and compiling): Mention
32465         --enable-pt_chown. Add @findex for grantpt.
32466         * INSTALL: Regenerate.
32468 2013-07-20  David S. Miller  <davem@davemloft.net>
32470         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
32471         difference between 32-bit and 64-bit.
32473 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
32475         [BZ #15711]
32476         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
32477         Avoid system header dependency with -ffreestanding.
32478         ($(objpfx)bits/syscall%d): Likewise.
32480 2013-07-13  David S. Miller  <davem@davemloft.net>
32482         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
32483         underflows from atanl/atan2l due to bug 15319.
32484         (casinh_test_data): Likewise.
32486 2013-07-07  David S. Miller  <davem@davemloft.net>
32488         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32490 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
32492         * sysdeps/i386/fpu/libm-test-ulps: Update.
32493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32495 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32497         * configure.in (--enable-lock-elision): Fix message text.
32498         * INSTALL: Regenerate.
32499         * configure: Regenerate.
32501 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32505 2013-07-03  Andreas Jaeger  <aj@suse.de>
32507         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
32508         define.
32509         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
32510         (ptrace_peeksiginfo_args): Add.
32511         (__ptrace_peeksiginfo_flags): Add.
32512         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32513         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32514         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32516 2013-07-03  Allan McRae  <allan@archlinux.org>
32518         * sysdeps/i386/fpu/libm-test-ulps: Update.
32520 2013-07-02  David S. Miller  <davem@davemloft.net>
32522         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32524 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
32526         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32528 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32530         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32533 2013-07-02  Andi Kleen <ak@linux.intel.com>
32535         * config.h.in (ENABLE_LOCK_ELISION): Add.
32536         * configure.in (--enable-lock-elision): Add option.
32537         * manual/install.texi: Document --enable lock elision.
32538         * configure: Regenerate
32539         * INSTALL: Regenerate.
32541 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
32543         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
32544         SSE4.2 strcasecmp for libc.a.
32545         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32547 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32549         [BZ #13304]
32550         * soft-fp/op-common.h (_FP_FMA): New macro.
32551         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
32552         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
32553         (_FP_MUL_MEAT_1_imm): ... here.
32554         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
32555         (_FP_MUL_MEAT_1_wide): ... here.
32556         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
32557         (_FP_MUL_MEAT_1_hard): ... here.
32558         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
32559         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
32560         (_FP_MUL_MEAT_2_wide): ... here.
32561         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
32562         (_FP_MUL_MEAT_2_wide_3mul): ... here.
32563         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
32564         (_FP_MUL_MEAT_2_gmp): ... here.
32565         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
32566         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
32567         (_FP_MUL_MEAT_4_wide): ... here.
32568         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
32569         (_FP_MUL_MEAT_4_gmp): ... here.
32570         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
32571         (_FP_WFRACBITS_DW_S): Likewise.
32572         (_FP_WFRACXBITS_DW_S): Likewise.
32573         (_FP_HIGHBIT_DW_S): Likewise.
32574         (FP_FMA_S): Likewise.
32575         (_FP_FRAC_HIGH_DW_S): Likewise.
32576         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
32577         (_FP_WFRACBITS_DW_D): Likewise.
32578         (_FP_WFRACXBITS_DW_D): Likewise.
32579         (_FP_HIGHBIT_DW_D): Likewise.
32580         (FP_FMA_D): Likewise.
32581         (_FP_FRAC_HIGH_DW_D): Likewise.
32582         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
32583         (_FP_WFRACBITS_DW_E): Likewise.
32584         (_FP_WFRACXBITS_DW_E): Likewise.
32585         (_FP_HIGHBIT_DW_E): Likewise.
32586         (FP_FMA_E): Likewise.
32587         (_FP_FRAC_HIGH_DW_E): Likewise.
32588         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
32589         (_FP_WFRACBITS_DW_Q): Likewise.
32590         (_FP_WFRACXBITS_DW_Q): Likewise.
32591         (_FP_HIGHBIT_DW_Q): Likewise.
32592         (FP_FMA_Q): Likewise.
32593         (_FP_FRAC_HIGH_DW_Q): Likewise.
32594         * soft-fp/fmasf4.c: New file.
32595         * soft-fp/fmadf4.c: Likewise.
32596         * soft-fp/fmatf4.c: Likewise.
32598 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32600         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32601         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
32602         Silvermont.
32603         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
32604         macro.
32605         (index_Slow_SSE4_2): Likewise.
32606         (index_Prefer_PMINUB_for_stringop): Likewise.
32607         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
32608         bit_Slow_SSE4_2 is set.
32609         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32610         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32612 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32614         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
32615         rtld_global._dl_hwcap2.
32616         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
32617         POWER8.
32618         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
32619         POWER8 feature descriptions defined in _dl_hwcap2.
32620         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
32621         string handling for POWER8 feature bits.
32622         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
32623         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
32624         _dl_powerpc_cap_flags.
32625         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
32626         * sysdeps/powerpc/rtld-global-offsets.sym
32627         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
32628         _dl_hwcap2 in the rtld_global_ro structure.
32630 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32632         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
32633         hardware capabilities in support of AT_HWCAP2.
32634         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
32635         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
32636         GLRO(dl_hwcap2).
32637         (_dl_show_auxv): Add support for calling _dl_procinfo to display
32638         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
32639         explicitly the unknown a_type display mechanism is used.
32640         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
32641         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
32642         struct member.
32643         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
32644         to macro prototype for AT_HWCAP2 support.
32645         * sysdeps/i386/dl-procinfo.h: Likewise.
32646         * sysdeps/s390/dl-procinfo.h: Likewise.
32647         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
32648         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
32649         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
32650         return -1 for unknown a_type display fallback.
32651         * sysdeps/sparc/dl-procinfo.h: Likewise.
32652         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
32653         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
32655 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
32657         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
32658         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
32660 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
32662         [BZ #12492]
32663         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
32664         mprotect making __stack_prot writable.
32666 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
32667             Joseph Myers  <joseph@codesourcery.com>
32669         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32670         as being properly aligned.
32672 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
32674         * dlfcn/modstatic5.c: New file.
32675         * dlfcn/tststatic5.c: New file.
32676         * dlfcn/Makefile (tests): Add tststatic5.
32677         (tests-static): Likewise.
32678         (modules-names): Add modstatic5.
32679         (tststatic5-ENV): New variable.
32680         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32682         [BZ #15022]
32683         * elf/dl-support.c (_dl_main_map): New variable.
32684         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32685         (_dl_nns, _dl_load_adds): Set to 1.
32686         (_dl_initial_searchlist): Refer to _dl_main_map.
32687         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32688         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32689         call to _dl_get_origin.
32690         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32691         around call_map.
32692         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32693         * dlfcn/modstatic3.c: New file.
32694         * dlfcn/tststatic3.c: New file.
32695         * dlfcn/tststatic4.c: New file.
32696         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32697         (tests-static): Likewise.
32698         (modules-names): Add modstatic3.
32699         (tststatic3-ENV, tststatic4-ENV): New variables.
32700         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32701         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32703 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
32705         * configure.in (CC): Require GCC version 4.4 or later.
32706         * configure: Regenerated.
32707         * manual/install.texi (Tools for Compilation): Update GCC version
32708         requirement.
32709         * INSTALL: Regenerated.
32711 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32713         [BZ #15674]
32714         * string/test-memcmp.c (check2): New.
32715         (main): Call check2.
32717         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32719 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32721         [BZ #15022]
32722         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32723         over to...
32724         (dl_open_worker) [!SHARED]: ... here.
32726 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32728         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32730 2013-06-25  Richard Henderson  <rth@redhat.com>
32732         * locale/programs/locarchive.c: Include <libc-internal.h>
32734 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32736         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32737         trailing whitespace removed.
32739 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32741         [BZ #10283]
32742         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32743         * locale/programs/locarchive.c: Include libc-mmap.h.
32744         (prepare_address_space): Take two new outputs (the mmap base and len).
32745         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32746         values.
32747         (create_archive): Declare new mmap base and len values for
32748         prepare_address_space, and store the result in ah.
32749         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32750         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32751         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32752         Declare new mmap base and len values for
32753         prepare_address_space, and store the result in new_ah.
32754         (open_archive): Declare new mmap base and len values for
32755         prepare_address_space, and store the result in ah.
32756         (close_archive): If ah->mmap_base is not NULL, use that and
32757         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32758         * sysdeps/generic/libc-mmap.h: New file.
32760 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32762         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32763         (ALIGN_UP): Likewise.
32764         (PTR_ALIGN_DOWN): Likewise.
32765         (PTR_ALIGN_UP): Likewise.
32767 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32769         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32770         entry mapped to PPC_PLATFORM_POWER8.
32771         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32772         POWER8.
32773         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32774         (_dl_string_platform): Add case for exporting platform position for
32775         POWER8.
32776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32777         search path to sysdeps/powerpc/powerpc32/power8 directory.
32778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32779         search path to sysdeps/powerpc/powerpc64/power8 directory.
32780         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32781         power7 directories.
32782         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32783         power7 directories.
32785 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32787         * INSTALL: Regenerate.
32789         * nscd/connections.c (nscd_init): Fix comment.
32791 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32793         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32795         [BZ #15667]
32796         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32797         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32799 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32801         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32802         DL_DST_REQ_STATIC.
32803         (DL_DST_REQ_STATIC): Remove macro.
32805 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32807         [BZ #7006]
32808         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32809         with a shift of 0 bits.
32811 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32813         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32814         $(tststatic-ENV).
32816 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32818         [BZ #15655]
32819         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32821 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32823         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32824         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32825         accepts -fno-tree-loop-distribute-patterns.
32826         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32827         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32828         recursive call.
32829         * string/memset.c (memset): Likewise.
32830         * string/test-memmove.c (simple_memmove): Disable loop transformation
32831         to library calls.
32832         * string/test-memset.c (simple_memset): Likewise.
32833         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32834         * benchtests/bench-memset.c (simple_memset): Likewise.
32835         * configure: Regenerated.
32837 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32839         * math/test-misc.c (main): Ignore fesetround failure when failures
32840         of subsequent rounding tests would be ignored.
32842         [BZ #15654]
32843         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32844         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32845         * math/fegetenv.c (__fegetenv): Return 0.
32846         * math/fegetexcept.c (fegetexcept): Return 0.
32847         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32848         FE_TONEAREST.
32849         * math/feholdexcpt.c (feholdexcept): Return 0.
32850         * math/fesetenv.c (__fesetenv): Return 0.
32851         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32852         argument FE_TONEAREST.
32853         * math/feupdateenv.c (__feupdateenv): Return 0.
32854         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32856 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32858         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32859         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32860         ($(objpfx)rtld-%.os rules): Use them.
32862 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32864         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32865         fields.
32867 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32869         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32870         length of target pattern, then descending length of dependency pattern.
32871         * configure.in (AWK): Require gawk 3.1.2 or newer.
32872         * manual/install.texi (Tools for Compilation): Say that we do.
32873         * configure: Regenerated.
32875         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32876         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32877         * scripts/sysd-rules.awk: ... this new script.
32878         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32879         than a glob-style pattern.
32881 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32883         * math/test-misc.c (main): Do not treat incorrectly rounded
32884         conversions as failure unless ROUNDING_TESTS passes.
32886 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32888         [BZ #15631]
32889         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32890         restore exception state around main square root computation, then
32891         check for inexactness explicitly.
32893         * math/libm-test.inc (fma_test_data): Add another test.
32895 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32897         * manual/threads.texi (Non-POSIX Extensions): New document
32898         node.  Document pthread_getattr_default_np and
32899         pthread_setattr_default_np.
32901         * Versions.def (libpthread): Add GLIBC_2.18.
32902         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32904         Likewise.
32905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32906         Likewise.
32907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32908         Likewise.
32909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32910         Likewise.
32911         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32912         Likewise.
32913         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32914         Likewise.
32915         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32916         Likewise.
32917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32918         Likewise.
32919         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32920         Likewise.
32922 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32924         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32925         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32927 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32928             H.J. Lu  <hjl.tools@gmail.com>
32930         [BZ #15627]
32931         * sysdeps/x86_64/rtld-memset.c: Remove file.
32932         * sysdeps/x86_64/rtld-memset.S: New file.
32934 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32936         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32937         (test_in_one_mode): Take arguments for whether the rounding mode
32938         is supported for each floating-point type.
32939         (do_test): Pass new arguments to test_in_one_mode using
32940         ROUNDING_TESTS.
32942 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32944         * posix/tst-waitid.c (do_test): Distinguish different instances of
32945         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32946         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32947         before entering the kernel for waitpid.
32949 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32951         * NEWS: Fix note on clock function precision.  Text by Roland
32952         McGrath.
32954 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32956         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32957         it into place only when and if the sanity check passes.
32959 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32961         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32962         output for whether conversion result is exact.  Take argument
32963         indicating whether type is IBM long double.
32964         (round_for_all): Change need_exact field to ibm_ld.
32965         * stdlib/tst-strtod-round.c (struct exactness): New type.
32966         (struct test): Change bool ld_ok field to struct exactness exact.
32967         (TEST): Update all definitions for change to field.
32968         (tests): Regenerate array contents.
32969         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32970         field value.  Check for IBM long double here.
32971         (do_test): Update calls to test_in_one_mode.
32973 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32975         [BZ #12515]
32976         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32977         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32979 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32981         [BZ #15605]
32982         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32983         generated by the compiler on loop optimizations.
32984         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32985         general definitions.
32987 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32989         * math/bug-nextafter.c: Include <math-tests.h>.
32990         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32991         the relevant type.
32992         * math/bug-nexttoward.c: Include <math-tests.h>.
32993         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32994         the relevant type.
32995         * math/test-misc.c: Include <math-tests.h>.
32996         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32997         the relevant type.
32999 2013-06-12  Andreas Jaeger  <aj@suse.de>
33001         * po/ia.po: Update Interlingua translation from translation
33002         project.
33004 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33006         * include/fenv.h: Include stdbool.h.
33007         (struct rm_ctx): New structure.
33008         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
33009         Define macro.
33010         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
33011         (SET_RESTORE_ROUNDF): Likewise.
33012         (SET_RESTORE_ROUNDL): Likewise.
33013         (SET_RESTORE_ROUND_NOEX): Likewise.
33014         (SET_RESTORE_ROUND_NOEXF): Likewise.
33015         (SET_RESTORE_ROUND_NOEXL): Likewise.
33016         (SET_RESTORE_ROUND_53BIT): Likewise.
33017         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
33018         (libc_feresetround_noexf_ctx): Likewise.
33019         (libc_feresetround_noexl_ctx): Likewise.
33020         (libc_feholdsetround_53bit_ctx): Likewise.
33021         (libc_feresetround_53bit_ctx): Likewise.
33022         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
33023         (libc_feholdexcept_setround_sse_ctx): New function.
33024         (libc_fesetenv_sse_ctx): Likewise.
33025         (libc_feupdateenv_sse_ctx): Likewise.
33026         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
33027         (libc_feholdexcept_setround_387_ctx): Likewise.
33028         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
33029         (libc_feholdsetround_387_prec_ctx): Likewise.
33030         (libc_feholdsetround_387_ctx): Likewise.
33031         (libc_feholdsetround_387_53bit_ctx): Likewise.
33032         (libc_feholdsetround_sse_ctx): Likewise.
33033         (libc_feresetround_sse_ctx): Likewise.
33034         (libc_feresetround_387_ctx): Likewise.
33035         (libc_feupdateenv_387_ctx): Likewise.
33036         (libc_feholdexcept_setroundf_ctx): Define macro.
33037         (libc_fesetenvf_ctx): Likewise.
33038         (libc_feupdateenvf_ctx): Likewise.
33039         (libc_feholdsetroundf_ctx): Likewise.
33040         (libc_feresetroundf_ctx): Likewise.
33041         (libc_feholdexcept_setround_ctx): Likewise.
33042         (libc_fesetenv_ctx): Likewise.
33043         (libc_feupdateenv_ctx): Likewise.
33044         (libc_feholdsetround_ctx): Likewise.
33045         (libc_feresetround_ctx): Likewise.
33046         (libc_feholdexcept_setroundl_ctx): Likewise.
33047         (libc_feupdateenvl_ctx): Likewise.
33048         (libc_feholdsetroundl_ctx): Likewise.
33049         (libc_feresetroundl_ctx): Likewise.
33050         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
33051         (libc_feresetround_53bit_ctx): Likewise.
33053 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33055         * locale/iso-639.def: Convert to UTF-8.
33057 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
33059         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
33060         (EXCEPTION_TESTS_double): Likewise.
33061         (EXCEPTION_TESTS_long_double): Likewise.
33062         (EXCEPTION_TESTS): Likewise.
33063         * math/libm-test.inc (test_exceptions): Only test exceptions if
33064         EXCEPTION_TESTS (FLOAT).
33066 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33068         * benchtests/Makefile (string-bench): Add strcpy_chk and
33069         stpcpy_chk.
33070         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
33071         * benchtests/bench-stpcpy_chk.c: New file.
33072         * benchtests/bench-strcpy_chk-ifunc.c: New file.
33073         * benchtests/bench-strcpy_chk.c: New file.
33074         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
33075         code.
33076         (do_test): Likewise.
33078 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33080         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
33081         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
33082         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
33083         with tabs where appropriate.
33084         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
33085         dl-procinfo.h.
33086         [PPC_PLATFORM_PPC440]: Likewise.
33087         [PPC_PLATFORM_PPC464]: Likewise.
33088         [PPC_PLATFORM_PPC476]: Likewise.
33089         (_dl_string_platform): Add support for detecting ppc405, ppc440,
33090         ppc464, and ppc476 platform strings merging from ports/
33091         dl-procinfo.h.
33093 2013-06-11  Andreas Schwab  <schwab@suse.de>
33095         [BZ #14991]
33096         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
33097         (from_ucs4_idx): Regenerate.
33098         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
33099         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
33100         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
33101         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
33102         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
33103         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
33104         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
33105         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
33106         from FROM_LOOP and TO_LOOP specific macros.
33107         (BODY): Handle combining characters.
33108         * iconvdata/BIG5HKSCS.irreversible: Update.
33109         * iconvdata/BIG5HKSCS.precomposed: New file.
33110         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
33111         characters.
33112         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
33114 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33116         * include/sys/time.h: Fix indentation and add copyright header.
33118         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
33119         (do_test): Likewise.
33120         * string/test-memchr.c (do_one_test): Likewise.
33121         (do_test): Likewise.
33122         * string/test-memcmp.c (do_one_test): Likewise.
33123         (do_test): Likewise.
33124         * string/test-memcpy.c (do_one_test): Likewise.
33125         (do_test): Likewise.
33126         * string/test-memmem.c (do_one_test): Likewise.
33127         (do_test): Likewise.
33128         (do_random_tests): Likewise.
33129         * string/test-memmove.c (do_one_test): Likewise.
33130         (do_test): Likewise.
33131         * string/test-memset.c (do_one_test): Likewise.
33132         (do_test): Likewise.
33133         * string/test-rawmemchr.c (do_one_test): Likewise.
33134         (do_test): Likewise.
33135         * string/test-strcasecmp.c (do_one_test): Likewise.
33136         (do_test): Likewise.
33137         * string/test-strcasestr.c (do_one_test): Likewise.
33138         (do_test): Likewise.
33139         * string/test-strcat.c (do_one_test): Likewise.
33140         (do_test): Likewise.
33141         * string/test-strchr.c (do_one_test): Likewise.
33142         (do_test): Likewise.
33143         * string/test-strcmp.c (do_one_test): Likewise.
33144         (do_test): Likewise.
33145         * string/test-strcpy.c (do_one_test): Likewise.
33146         (do_test): Likewise.
33147         * string/test-string.h: Likewise.
33148         (test_init): Likewise.
33149         * string/test-strlen.c (do_one_test): Likewise.
33150         (do_test): Likewise.
33151         * string/test-strncasecmp.c (do_one_test): Likewise.
33152         (do_test): Likewise.
33153         * string/test-strncat.c (do_one_test): Likewise.
33154         (do_test): Likewise.
33155         * string/test-strncmp.c (do_one_test): Likewise.
33156         (do_test_limit): Likewise.
33157         (do_test): Likewise.
33158         * string/test-strncpy.c (do_one_test): Likewise.
33159         (do_test): Likewise.
33160         * string/test-strnlen.c (do_one_test): Likewise.
33161         (do_test): Likewise.
33162         * string/test-strpbrk.c (do_one_test): Likewise.
33163         (do_test): Likewise.
33164         * string/test-strrchr.c (do_one_test): Likewise.
33165         (do_test): Likewise.
33166         * string/test-strspn.c (do_one_test): Likewise.
33167         (do_test): Likewise.
33168         * string/test-strstr.c (do_one_test): Likewise.
33169         (do_test): Likewise.
33171         * benchtests/Makefile (string-bench): Add string benchmarks.
33172         * benchtests/bench-bcopy-ifunc.c: New file.
33173         * benchtests/bench-bcopy.c: New file.
33174         * benchtests/bench-bzero-ifunc.c: New file.
33175         * benchtests/bench-bzero.c: New file.
33176         * benchtests/bench-memccpy-ifunc.c: New file.
33177         * benchtests/bench-memccpy.c: New file.
33178         * benchtests/bench-memchr-ifunc.c: New file.
33179         * benchtests/bench-memchr.c: New file.
33180         * benchtests/bench-memcmp-ifunc.c: New file.
33181         * benchtests/bench-memcmp.c: New file.
33182         * benchtests/bench-memmem-ifunc.c: New file.
33183         * benchtests/bench-memmem.c: New file.
33184         * benchtests/bench-memmove-ifunc.c: New file.
33185         * benchtests/bench-memmove.c: New file.
33186         * benchtests/bench-mempcpy-ifunc.c: New file.
33187         * benchtests/bench-mempcpy.c: New file.
33188         * benchtests/bench-memset-ifunc.c: New file.
33189         * benchtests/bench-memset.c: New file.
33190         * benchtests/bench-rawmemchr-ifunc.c: New file.
33191         * benchtests/bench-rawmemchr.c: New file.
33192         * benchtests/bench-stpcpy-ifunc.c: New file.
33193         * benchtests/bench-stpcpy.c: New file.
33194         * benchtests/bench-stpncpy-ifunc.c: New file.
33195         * benchtests/bench-stpncpy.c: New file.
33196         * benchtests/bench-strcasecmp-ifunc.c: New file.
33197         * benchtests/bench-strcasecmp.c: New file.
33198         * benchtests/bench-strcasestr-ifunc.c: New file.
33199         * benchtests/bench-strcasestr.c: New file.
33200         * benchtests/bench-strcat-ifunc.c: New file.
33201         * benchtests/bench-strcat.c: New file.
33202         * benchtests/bench-strchr-ifunc.c: New file.
33203         * benchtests/bench-strchr.c: New file.
33204         * benchtests/bench-strchrnul-ifunc.c: New file.
33205         * benchtests/bench-strchrnul.c: New file.
33206         * benchtests/bench-strcmp-ifunc.c: New file.
33207         * benchtests/bench-strcmp.c: New file.
33208         * benchtests/bench-strcpy-ifunc.c: New file.
33209         * benchtests/bench-strcpy.c: New file.
33210         * benchtests/bench-strcspn-ifunc.c: New file.
33211         * benchtests/bench-strcspn.c: New file.
33212         * benchtests/bench-strlen-ifunc.c: New file.
33213         * benchtests/bench-strlen.c: New file.
33214         * benchtests/bench-strncasecmp-ifunc.c: New file.
33215         * benchtests/bench-strncasecmp.c: New file.
33216         * benchtests/bench-strncat-ifunc.c: New file.
33217         * benchtests/bench-strncat.c: New file.
33218         * benchtests/bench-strncmp-ifunc.c: New file.
33219         * benchtests/bench-strncmp.c: New file.
33220         * benchtests/bench-strncpy-ifunc.c: New file.
33221         * benchtests/bench-strncpy.c: New file.
33222         * benchtests/bench-strnlen-ifunc.c: New file.
33223         * benchtests/bench-strnlen.c: New file.
33224         * benchtests/bench-strpbrk-ifunc.c: New file.
33225         * benchtests/bench-strpbrk.c: New file.
33226         * benchtests/bench-strrchr-ifunc.c: New file.
33227         * benchtests/bench-strrchr.c: New file.
33228         * benchtests/bench-strspn-ifunc.c: New file.
33229         * benchtests/bench-strspn.c: New file.
33230         * benchtests/bench-strstr-ifunc.c: New file.
33231         * benchtests/bench-strstr.c: New file.
33233         * benchtests/Makefile: Disable parallel execution of targets.
33234         (string-bench): Add memcpy.
33235         (benchset): New variable to store a list of benchmark sets.
33236         (bench-func): Renamed from bench.
33237         (bench-set): New target.
33238         (bench): Depend on bench-func and bench-set.
33239         * benchtests/README: Add section on benchmark sets.
33240         * benchtests/bench-memcpy-ifunc.c: New file.
33241         * benchtests/bench-memcpy.c: New file.
33242         * benchtests/bench-string.h: New file.
33244 2013-06-11  Andreas Schwab  <schwab@suse.de>
33246         [BZ #15577]
33247         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
33248         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
33249         values in the triple.
33250         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
33251         terminator in the group key.
33253 2013-06-11  Andreas Jaeger  <aj@suse.de>
33255         * po/zh_TW.po: Update Chinese (traditional) translation from
33256         translation project.
33258 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33260         * include/time.h (__clock_gettime): Add libc_hidden_proto.
33261         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
33262         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
33263         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33264         (clock_getcpuclockid): Likewise.
33265         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
33266         Add weak_alias and libc_hidden_def.
33267         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
33268         * rt/clock_gettime.c (clock_gettime): Rename to
33269         __clock_gettime.  Add weak_alias and libc_hidden_def.
33270         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
33271         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
33272         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
33273         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
33274         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
33275         Likewise.
33276         * rt/clock_settime.c (clock_settime): Rename to
33277         __clock_settime.  Add weak_alias and libc_hidden_def.
33278         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
33280 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
33282         * mach/err_boot.sub: Remove trailing whitespace.
33283         * mach/err_ipc.sub: Likewise.
33284         * mach/err_mach.sub: Likewise.
33286         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
33287         (ROUNDING_TESTS_double): Likewise.
33288         (ROUNDING_TESTS_long_double): Likewise.
33289         (ROUNDING_TESTS): Likewise.
33290         * math/libm-test.inc: Include <math-tests.h>.
33291         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
33292         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33293         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33294         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33296 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33298         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
33299         of assigning.
33301 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
33303         * sysdeps/gnu/errlist.awk: Do not generate space at end of
33304         otherwise empty TRANS lines.
33305         * sysdeps/gnu/errlist.c: Regenerated.
33307         * catgets/gencat.c (error_print): Use (void) in function
33308         definition.
33309         * crypt/crypt_util.c (__init_des): Likewise.
33310         * crypt/speeds.c (Stop): Likewise.
33311         (main): Likewise.
33312         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
33313         * inet/ruserpass.c (token): Likewise.
33314         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
33315         * intl/localealias.c (extend_alias_table): Likewise.
33316         * intl/plural-exp.c (init_germanic_plural): Likewise.
33317         * libio/fcloseall.c (__fcloseall): Likewise.
33318         * libio/genops.c (_IO_flush_all): Likewise.
33319         (_IO_flush_all_linebuffered): Likewise.
33320         (_IO_cleanup): Likewise.
33321         (_IO_iter_begin): Likewise.
33322         (_IO_iter_end): Likewise.
33323         (_IO_list_lock): Likewise.
33324         (_IO_list_unlock): Likewise.
33325         (_IO_list_resetlock): Likewise.
33326         * libio/getchar.c (getchar): Likewise.
33327         * libio/getchar_u.c (getchar_unlocked): Likewise.
33328         * libio/getwchar.c (getwchar): Likewise.
33329         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
33330         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
33331         * login/getpt.c (__getpt): Likewise.
33332         * login/tst-utmp.c (main): Likewise.
33333         * malloc/hooks.c (__malloc_check_init): Likewise.
33334         * malloc/malloc.c (__malloc_stats): Likewise.
33335         * malloc/mtrace.c (tr_break): Likewise.
33336         (mtrace): Likewise.
33337         (muntrace): Likewise.
33338         * misc/fstab.c (endfsent): Likewise.
33339         * misc/getclktck.c (__getclktck): Likewise.
33340         * misc/getdtsz.c (__getdtablesize): Likewise.
33341         * misc/gethostid.c (gethostid): Likewise.
33342         * misc/getpagesize.c (__getpagesize): Likewise.
33343         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
33344         (__get_nprocs): Likewise.
33345         (__get_phys_pages): Likewise.
33346         (__get_avphys_pages): Likewise.
33347         * misc/getttyent.c (getttyent): Likewise.
33348         (setttyent): Likewise.
33349         (endttyent): Likewise.
33350         * misc/getusershell.c (getusershell): Likewise.
33351         (endusershell): Likewise.
33352         (setusershell): Likewise.
33353         (initshells): Likewise.
33354         * misc/hsearch.c (__hdestroy): Likewise.
33355         * misc/sync.c (sync): Likewise.
33356         * misc/syslog.c (closelog_internal): Likewise.
33357         (closelog): Likewise.
33358         * misc/ttyslot.c (ttyslot): Likewise.
33359         * misc/vhangup.c (vhangup): Likewise.
33360         * posix/fork.c (__fork): Likewise.
33361         * posix/getegid.c (__getegid): Likewise.
33362         * posix/geteuid.c (__geteuid): Likewise.
33363         * posix/getgid.c (__getgid): Likewise.
33364         * posix/getpid.c (__getpid): Likewise.
33365         * posix/getppid.c (__getppid): Likewise.
33366         * posix/getuid.c (__getuid): Likewise.
33367         * posix/pause.c (pause): Likewise.
33368         * posix/setpgrp.c (setpgrp): Likewise.
33369         * posix/setsid.c (__setsid): Likewise.
33370         * posix/test-vfork.c (noop): Likewise.
33371         * resolv/gethnamaddr.c (_endhtent): Likewise.
33372         (_gethtent): Likewise.
33373         (ht_endhostent): Likewise.
33374         (gethostent): Likewise.
33375         (dns_service): Likewise.
33376         * stdlib/drand48.c (drand48): Likewise.
33377         * stdlib/lrand48.c (lrand48): Likewise.
33378         * stdlib/mrand48.c (mrand48): Likewise.
33379         * stdlib/rand.c (rand): Likewise.
33380         * stdlib/random.c (__random): Likewise.
33381         * stdlib/setenv.c (clearenv): Likewise.
33382         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
33383         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
33384         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
33385         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
33386         (__get_nprocs): Likewise.
33387         (__get_phys_pages): Likewise.
33388         (__get_avphys_pages): Likewise.
33389         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
33390         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
33391         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
33392         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
33393         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
33394         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
33395         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
33396         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
33397         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
33398         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
33399         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
33400         * sysdeps/mach/hurd/sync.c (sync): Likewise.
33401         * sysdeps/posix/clock.c (clock): Likewise.
33402         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
33403         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
33404         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
33405         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33406         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
33407         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33408         (__get_nprocs_conf): Likewise.
33409         (__get_phys_pages): Likewise.
33410         (__get_avphys_pages): Likewise.
33411         * time/clock.c (clock): Likewise.
33412         * time/tzset.c (__tzname_max): Likewise.
33414 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
33416         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
33417         (__bswap_32): Do not use "register".
33418         * crypt/crypt.c (_ufc_doit_r): Likewise.
33419         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33420         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33421         * gmon/gmon.c (__monstartup): Likewise.
33422         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
33423         * hurd/hurdmalloc.c (more_memory): Likewise.
33424         (malloc): Likewise.
33425         (free): Likewise.
33426         (realloc): Likewise.
33427         (malloc_fork_prepare): Likewise.
33428         (malloc_fork_parent): Likewise.
33429         (malloc_fork_child): Likewise.
33430         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
33431         (_svcauth_des): Likewise.
33432         * inet/inet_lnaof.c (inet_lnaof): Likewise.
33433         * inet/inet_net.c (inet_network): Likewise.
33434         * inet/inet_netof.c (inet_netof): Likewise.
33435         * inet/rcmd.c (__validuser2_sa): Likewise.
33436         * io/fts.c (fts_open): Likewise.
33437         (fts_load): Likewise.
33438         (fts_close): Likewise.
33439         (fts_read): Likewise.
33440         (fts_children): Likewise.
33441         (fts_build): Likewise.
33442         (fts_stat): Likewise.
33443         (fts_sort): Likewise.
33444         (fts_alloc): Likewise.
33445         (fts_lfree): Likewise.
33446         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
33447         (_IO_file_xsgetn): Likewise.
33448         (_IO_file_xsgetn_mmap): Likewise.
33449         * libio/iofopncook.c (_IO_cookie_read): Likewise.
33450         (_IO_cookie_write): Likewise.
33451         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
33452         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
33453         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
33454         * malloc/obstack.c (_obstack_begin): Likewise.
33455         (_obstack_begin_1): Likewise.
33456         (_obstack_newchunk): Likewise.
33457         (_obstack_allocated_p): Likewise.
33458         (obstack_free): Likewise.
33459         (_obstack_memory_used): Likewise.
33460         * misc/getttyent.c (getttynam): Likewise.
33461         (getttyent): Likewise.
33462         (skip): Likewise.
33463         (value): Likewise.
33464         * misc/getusershell.c (initshells): Likewise.
33465         * misc/syslog.c (__vsyslog_chk): Likewise.
33466         * misc/ttyslot.c (ttyslot): Likewise.
33467         * nis/nis_hash.c (__nis_hash): Likewise.
33468         * posix/fnmatch_loop.c (FCT): Likewise.
33469         * posix/getconf.c (print_all): Likewise.
33470         (main): Likewise.
33471         * posix/getopt.c (exchange): Likewise.
33472         * posix/glob.c (globfree): Likewise.
33473         (prefix_array): Likewise.
33474         (__glob_pattern_type): Likewise.
33475         * resolv/arpa/nameser.h (NS_GET16): Likewise.
33476         (NS_GET32): Likewise.
33477         (NS_PUT16): Likewise.
33478         (NS_PUT32): Likewise.
33479         * resolv/gethnamaddr.c (getanswer): Likewise.
33480         (gethostbyname2): Likewise.
33481         (gethostbyaddr): Likewise.
33482         (_gethtent): Likewise.
33483         (_gethtbyname2): Likewise.
33484         (_gethtbyaddr): Likewise.
33485         * resolv/ns_print.c (dst_s_get_int16): Likewise.
33486         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33487         * resolv/res_init.c (__res_vinit): Likewise.
33488         (net_mask): Likewise.
33489         * resolv/res_mkquery.c (outchar): Likewise.
33490         (PRINT): Likewise.
33491         * stdio-common/printf_fp.c (outchar): Likewise.
33492         (PRINT): Likewise.
33493         * stdio-common/printf_fphex.c (outchar): Likewise.
33494         (PRINT): Likewise.
33495         * stdio-common/printf_size.c (outchar): Likewise.
33496         (PRINT): Likewise.
33497         * stdio-common/test_rdwr.c (main): Likewise.
33498         * stdio-common/tfformat.c (matches): Likewise.
33499         * stdio-common/vfprintf.c (outchar): Likewise.
33500         (printf_unknown): Likewise.
33501         (buffered_vfprintf): Likewise.
33502         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33503         * stdio-common/xbug.c (AppendToBuffer): Likewise.
33504         (ReadFile): Likewise.
33505         * stdlib/qsort.c (SWAP): Likewise.
33506         (_quicksort): Likewise.
33507         * stdlib/setenv.c (__add_to_environ): Likewise.
33508         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33509         * stdlib/strtol_l.c (__strtol_l): Likewise.
33510         * stdlib/tst-strtod.c (main): Likewise.
33511         * stdlib/tst-strtol.c (main): Likewise.
33512         * stdlib/tst-strtoll.c (main): Likewise.
33513         * string/bits/string2.h (__strcmp_cc): Likewise.
33514         (__strcmp_cg): Likewise.
33515         (__strcspn_c1): Likewise.
33516         (__strcspn_c2): Likewise.
33517         (__strcspn_c3): Likewise.
33518         (__strspn_c1): Likewise.
33519         (__strspn_c2): Likewise.
33520         (__strspn_c3): Likewise.
33521         (__strsep_1c): Likewise.
33522         (__strsep_2c): Likewise.
33523         (__strsep_3c): Likewise.
33524         * string/memccpy.c (__memccpy): Likewise.
33525         * string/stpcpy.c (__stpcpy): Likewise.
33526         * string/strcmp.c (strcmp): Likewise.
33527         * string/strrchr.c (strrchr): Likewise.
33528         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
33529         Likewise.
33530         * sysdeps/mach/hurd/getcwd.c
33531         (_hurd_canonicalize_directory_name_internal): Likewise.
33532         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
33533         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
33534         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
33535         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
33536         Likewise, in both definitions.
33537         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
33538         definitions.
33539         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
33540         64] (__bswap_64): Likewise.
33541         * time/test_time.c (main): Likewise.
33542         * time/tzfile.c (__tzfile_read): Likewise.
33543         (__tzfile_compute): Likewise.
33544         * time/tzset.c (__tzset_parse_tz): Likewise.
33545         (tzset_internal): Likewise.
33546         (compute_change): Likewise.
33547         * wcsmbs/wcscat.c (__wcscat): Likewise.
33548         * wcsmbs/wcschr.c (wcschr): Likewise.
33549         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
33550         * wcsmbs/wcscspn.c (wcscspn): Likewise.
33551         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
33552         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
33553         * wcsmbs/wcsspn.c (wcsspn): Likewise.
33554         * wcsmbs/wcsstr.c (wcsstr): Likewise.
33555         * wcsmbs/wmemchr.c (wmemchr): Likewise.
33556         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33557         * wcsmbs/wmemset.c (wmemset): Likewise.
33559 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
33561         * scripts/config.guess: Update to version 2013-05-16.
33562         * scripts/config.sub: Update to version 2013-04-24.
33563         * scripts/install-sh: Update to version 2011-11-20.07.
33564         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
33565         * scripts/move-if-change: Update to version 2012-01-06 07:23.
33567 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
33569         * debug/fgetws_u_chk.c: Fix leading whitespaces.
33570         * elf/sln.c: Likewise.
33571         * hurd/hurd/ioctl.h: Likewise.
33572         * hurd/hurdmalloc.c: Likewise.
33573         * hurd/xattr.c: Likewise.
33574         * include/shlib-compat.h: Likewise.
33575         * inet/ruserpass.c: Likewise.
33576         * libio/iofgets_u.c: Likewise.
33577         * libio/iofgetws_u.c: Likewise.
33578         * locale/programs/ld-identification.c: Likewise.
33579         * locale/programs/ld-time.c: Likewise.
33580         * mach/msg-destroy.c: Likewise.
33581         * nss/nss_files/files-netgrp.c: Likewise.
33582         * resolv/res_data.c: Likewise.
33583         * soft-fp/op-1.h: Likewise.
33584         * soft-fp/op-2.h: Likewise.
33585         * soft-fp/op-4.h: Likewise.
33586         * soft-fp/op-common.h: Likewise.
33587         * stdio-common/printf_fphex.c: Likewise.
33588         * stdlib/strtod_l.c: Likewise.
33589         * sunrpc/rpc/clnt.h: Likewise.
33590         * sysdeps/generic/framestate.c: Likewise.
33591         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33592         * sysdeps/i386/bsd-setjmp.S: Likewise.
33593         * sysdeps/i386/__longjmp.S: Likewise.
33594         * sysdeps/i386/setjmp.S: Likewise.
33595         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33596         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33597         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33598         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33599         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33600         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33601         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33602         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33603         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33604         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33605         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33606         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33607         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33608         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33609         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33610         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33611         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33612         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
33613         * sysdeps/ieee754/support.c: Likewise.
33614         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33615         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
33616         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
33617         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
33618         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
33619         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
33620         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
33621         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
33622         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
33623         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
33624         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
33625         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
33626         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
33627         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
33628         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
33629         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
33630         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33633 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
33635         * posix/transbug.c: Remove executable mode.
33637 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
33639         * crypt/speeds.c: Remove trailing whitespace.
33640         * dlfcn/default.c: Likewise.
33641         * elf/ifuncdep2.c: Likewise.
33642         * elf/ifuncmain1.c: Likewise.
33643         * elf/ifuncmain1vis.c: Likewise.
33644         * elf/testobj.h: Likewise.
33645         * elf/tst-stackguard1.c: Likewise.
33646         * gmon/sys/gmon.h: Likewise.
33647         * hurd/hurdmsg.c: Likewise.
33648         * hurd/new-fd.c: Likewise.
33649         * hurd/ports-get.c: Likewise.
33650         * iconvdata/ibm1008_420.c: Likewise.
33651         * inet/tst-getni1.c: Likewise.
33652         * inet/tst-getni2.c: Likewise.
33653         * libio/ioungetc.c: Likewise.
33654         * libio/wfiledoalloc.c: Likewise.
33655         * manual/libm-err-tab.pl: Likewise.
33656         * math/w_dremf.c: Likewise.
33657         * misc/ftruncate.c: Likewise.
33658         * posix/bug-glob2.c: Likewise.
33659         * posix/tst-pcre.c: Likewise.
33660         * posix/wait4.c: Likewise.
33661         * resolv/README: Likewise.
33662         * resolv/res_debug.h: Likewise.
33663         * resolv/tst-inet_ntop.c: Likewise.
33664         * setjmp/bug269-setjmp.c: Likewise.
33665         * soft-fp/extended.h: Likewise.
33666         * soft-fp/op-1.h: Likewise.
33667         * soft-fp/op-2.h: Likewise.
33668         * soft-fp/op-4.h: Likewise.
33669         * soft-fp/op-8.h: Likewise.
33670         * soft-fp/testit.c: Likewise.
33671         * stdio-common/bug16.c: Likewise.
33672         * stdlib/random.c: Likewise.
33673         * sunrpc/rpcsvc/rquota.x: Likewise.
33674         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33675         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33676         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33677         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33678         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33679         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33680         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33681         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33682         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33683         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33684         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33685         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33686         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33687         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33688         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33689         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33690         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33691         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33692         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33693         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33694         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33695         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33696         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33697         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33698         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33699         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33700         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33701         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33702         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33703         * sysdeps/ieee754/s_lib_version.c: Likewise.
33704         * sysdeps/mach/hurd/check_fds.c: Likewise.
33705         * sysdeps/mach/hurd/getsockname.c: Likewise.
33706         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33707         * sysdeps/mach/hurd/recvfrom.c: Likewise.
33708         * sysdeps/powerpc/bits/link.h: Likewise.
33709         * sysdeps/powerpc/dl-procinfo.c: Likewise.
33710         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33711         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33712         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33713         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33714         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33715         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33716         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33717         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33718         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33719         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33720         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33721         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33722         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33723         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33724         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33725         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33726         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33727         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33728         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33729         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33730         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33731         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33732         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33733         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33734         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33735         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33736         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33737         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33738         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33739         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33740         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33741         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33742         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33743         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33744         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33745         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33746         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33747         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33748         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33749         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33750         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33751         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33752         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33753         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33754         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33755         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33756         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33757         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33758         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33759         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33760         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33761         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33762         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33763         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33764         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33765         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33766         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33767         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33768         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33769         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33770         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33771         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33772         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33773         * sysdeps/powerpc/sysdep.h: Likewise.
33774         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33775         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33776         * sysdeps/sh/dl-trampoline.S: Likewise.
33777         * sysdeps/sh/memset.S: Likewise.
33778         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33779         * sysdeps/sh/strlen.S: Likewise.
33780         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33781         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33782         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33783         * sysdeps/sparc/sparc32/rem.S: Likewise.
33784         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33785         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33786         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33787         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33788         * sysdeps/sparc/sparc32/urem.S: Likewise.
33789         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33790         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33791         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33792         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33793         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33794         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33795         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33796         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33797         * sysdeps/unix/bsd/times.c: Likewise.
33798         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33799         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33803         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33804         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33805         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33806         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33807         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33808         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33809         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33810         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33811         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33812         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33813         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33814         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33815         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33816         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33817         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33818         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33819         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33820         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33821         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33822         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33823         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33824         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33825         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33826         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33827         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33828         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33829         * sysdeps/x86_64/strcspn.S: Likewise.
33831 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33833         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33834         generated file.  Regenerate properly from gen-translit.pl.
33835         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33836         locale/C-translit.h.
33838 2013-06-05  Andreas Schwab  <schwab@suse.de>
33840         [BZ #15100]
33841         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33842         week as 6 instead of -1.
33843         * time/tst-strptime.c (day_tests): Add test case.
33845 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33847         * sysdeps/generic/math_private.h
33848         (libc_feholdexcept_setround_53bit): Replace with
33849         libc_feholdsetround_53bit.
33850         (libc_feupdateenv_53bit): Replace with
33851         libc_feresetround_53bit.
33852         (SET_RESTORE_ROUND_53BIT): Adjust.
33854 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33856         * string/test-strchrnul.c: Add copyright header.
33858         * posix/tst-getaddrinfo4.c: Increase test timeout.
33860 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33862         [BZ #15536]
33863         * math/libm-test.inc (MAX_EXP): Remove
33864         (MIN_EXP): Define.
33865         (ulp): Use MIN_EXP - MANT_DIG.
33866         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33868 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33870         * po/be.po: Revert last change.
33871         * po/zh_CN.po: Likewise.
33872         * po/header.pot: Likewise.
33874 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33876         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33877         link-libc-deps to empty as target-specific variable.
33878         * Makerules (link-libc-args): New variable.
33879         (libc-for-link): Likewise.
33880         (link-libc-deps): Likewise.
33881         (lib%.so): Depend on $(link-libc-deps).  Link with
33882         $(link-libc-args).
33883         (build-module): Link with $(link-libc-args).
33884         (build-module-asneeded): Likewise.
33885         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33886         list of objects.
33887         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33888         target-specific variable.
33889         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33890         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33891         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33892         libc.
33893         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33894         libc and ld.so.
33895         ($(objpfx)libpcprofile.so): Likewise.
33896         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33897         libc_nonshared.a.
33898         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33899         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33900         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33901         $(link-libc-deps).
33902         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33903         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33904         * login/Makefile ($(objpfx)libutil.so): Likewise.
33905         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33906         * math/Makefile ($(objpfx)libm.so): Likewise.
33907         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33908         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33909         variable instead of depending directly on libc.
33910         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33911         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33912         $(link-libc-deps).
33913         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33914         libc.
33915         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33916         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33917         ($(objpfx)libanl.so): Likewise.
33918         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33919         ld.so.
33920         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33921         $(link-libc-deps).
33922         * sysdeps/i386/fpu/Makefile: Remove file.
33923         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33924         ($(objpfx)libm.so): Remove dependency on ld.so.
33926 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33928         [BZ # 15553]
33929         * nis/yp_xdr.c (XDRMAXNAME): Define.
33930         (XDRMAXRECORD): Define.
33931         (xdr_domainname): Use XDRMAXNAME.
33932         (xdr_mapname): Likewise.
33933         (xdr_peername): Likewise.
33934         (xdr_keydat): Use XDRMAXRECORD.
33935         (xdr_valdat): Likewise.
33937 2013-05-30  Jeff Law  <law@redhat.com>
33939         [BZ #14256]
33940         * manual/errno.texi (ESTALE): Update to account for more than
33941         just NFS file systems.
33942         * sysdeps/gnu/errlist.c: Regenerated.
33944 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33946         [BZ #15465]
33947         * elf/Makefile (tests): Add tst-null-argv.
33948         (modules-names):  Add tst-null-argv-lib.
33949         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33950         (tst-null-argv-ENV): Set environment for tst-null-argv.
33951         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33952         (RTLD_PROGNAME): New macro.
33953         * elf/tst-null-argv.c: New test case.
33954         * elf/tst-null-argv-lib.c: Library for test case.
33955         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33956         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33957         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33958         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33959         * elf/dl-init.c (call_init): Likewise.
33960         (_dl_init): Likewise.
33961         * elf/dl-load.c (print_search_path): Likewise.
33962         (_dl_map_object): Likewise.
33963         * elf/dl-lookup.c (do_lookup_x): Likewise.
33964         (add_dependency): Likewise.
33965         (_dl_lookup_symbol_x): Likewise.
33966         (_dl_debug_bindings): Likewise.
33967         * elf/dl-open.c (_dl_show_scope): Likewise.
33968         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33969         * elf/dl-version.c (match_symbol): Likewise.
33970         (_dl_check_map_versions): Likewise.
33971         * elf/rtld.c (dl_main): Likewise.
33972         (print_unresolved): Use RTLD_PROGNAME.
33973         (print_missing_version): Likewise.
33974         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33975         (elf_machine_rela): Likewise.
33976         * sysdeps/powerpc/powerpc32/dl-machine.c
33977         (__process_machine_rela): Likewise.
33978         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33979         Likewise.
33980         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33981         Likewise.
33982         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33983         Likewise.
33984         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33985         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33986         Likewise.
33987         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33988         Likewise.
33989         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33991 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33993         * po/be.po: Add descriptive title.
33994         * po/zh_CN.po: Likewise.
33995         * po/header.pot: Likewise.
33997 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33999         * locale/programs/locarchive.c (create_archive): Inlucde fname in
34000         error message.
34001         (enlarge_archive): Likewise.
34003 2013-05-28  Ben North  <ben@redfrontdoor.org>
34005         * manual/arith.texi (frexp): It is the magnitude of the return
34006         value which lies in [0.5, 1), not the return value itself.
34008 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34012 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
34014         * stdio-common/bug26.c (main): Correct fscanf template.
34016         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
34017         declare _dl_skip_args.
34019         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
34020         Don't declare.
34022         * manual/platform.texi: Add missing @end deftypefun.
34024 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
34026         [BZ #15529]
34027         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
34028         bit of mantissa of 2^16382.
34029         * math/libm-test.inc (hypot_test_data): Add more tests.
34031         * math/libm-test.inc: Add drem and pow10 to list of tested
34032         functions.
34033         (pow10_test): New function.
34034         (drem_test): Likewise.
34035         (drem_test_tonearest): Likewise.
34036         (drem_test_towardzero): Likewise.
34037         (drem_test_downward): Likewise.
34038         (drem_test_upward): Likewise.
34039         (main): Call the new functions.
34041         * math/libm-test.inc (finite_test_data): Remove.
34042         (finite_test): Run tests from isfinite_test_data.
34043         (gamma_test_data): Remove.
34044         (gamma_test): Run tests from lgamma_test_data.
34045         * sysdeps/i386/fpu/libm-test-ulps: Update.
34046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34048 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34050         * manual/platform.texi: Add PowerPC PPR function set documentation.
34051         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
34052         implementation.
34054 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
34056         * math/libm-test.inc (MAX_EXP): Define.
34057         (ULPDIFF): Define.
34058         (ulp): New function.
34059         (check_float_internal): Use ULPDIFF.
34060         (cpow_test): Disable failing test.
34061         (check_ulp): Test ulp() implemetnation.
34062         (main): Call check_ulp before starting tests.
34064 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
34066         * math/gen-libm-test.pl (generate_testfile): Do not handle
34067         START_DATA and END_DATA.
34068         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
34069         END_DATA.
34070         (acos_tonearest_test_data): Likewise.
34071         (acos_towardzero_test_data): Likewise.
34072         (acos_downward_test_data): Likewise.
34073         (acos_upward_test_data): Likewise.
34074         (acosh_test_data): Likewise.
34075         (asin_test_data): Likewise.
34076         (asin_tonearest_test_data): Likewise.
34077         (asin_towardzero_test_data): Likewise.
34078         (asin_downward_test_data): Likewise.
34079         (asin_upward_test_data): Likewise.
34080         (asinh_test_data): Likewise.
34081         (atan_test_data): Likewise.
34082         (atanh_test_data): Likewise.
34083         (atan2_test_data): Likewise.
34084         (cabs_test_data): Likewise.
34085         (cacos_test_data): Likewise.
34086         (cacosh_test_data): Likewise.
34087         (carg_test_data): Likewise.
34088         (casin_test_data): Likewise.
34089         (casinh_test_data): Likewise.
34090         (catan_test_data): Likewise.
34091         (catanh_test_data): Likewise.
34092         (cbrt_test_data): Likewise.
34093         (ccos_test_data): Likewise.
34094         (ccosh_test_data): Likewise.
34095         (ceil_test_data): Likewise.
34096         (cexp_test_data): Likewise.
34097         (cimag_test_data): Likewise.
34098         (clog_test_data): Likewise.
34099         (clog10_test_data): Likewise.
34100         (conj_test_data): Likewise.
34101         (copysign_test_data): Likewise.
34102         (cos_test_data): Likewise.
34103         (cos_tonearest_test_data): Likewise.
34104         (cos_towardzero_test_data): Likewise.
34105         (cos_downward_test_data): Likewise.
34106         (cos_upward_test_data): Likewise.
34107         (cosh_test_data): Likewise.
34108         (cosh_tonearest_test_data): Likewise.
34109         (cosh_towardzero_test_data): Likewise.
34110         (cosh_downward_test_data): Likewise.
34111         (cosh_upward_test_data): Likewise.
34112         (cpow_test_data): Likewise.
34113         (cproj_test_data): Likewise.
34114         (creal_test_data): Likewise.
34115         (csin_test_data): Likewise.
34116         (csinh_test_data): Likewise.
34117         (csqrt_test_data): Likewise.
34118         (ctan_test_data): Likewise.
34119         (ctan_tonearest_test_data): Likewise.
34120         (ctan_towardzero_test_data): Likewise.
34121         (ctan_downward_test_data): Likewise.
34122         (ctan_upward_test_data): Likewise.
34123         (ctanh_test_data): Likewise.
34124         (ctanh_tonearest_test_data): Likewise.
34125         (ctanh_towardzero_test_data): Likewise.
34126         (ctanh_downward_test_data): Likewise.
34127         (ctanh_upward_test_data): Likewise.
34128         (erf_test_data): Likewise.
34129         (erfc_test_data): Likewise.
34130         (exp_test_data): Likewise.
34131         (exp_tonearest_test_data): Likewise.
34132         (exp_towardzero_test_data): Likewise.
34133         (exp_downward_test_data): Likewise.
34134         (exp_upward_test_data): Likewise.
34135         (exp10_test_data): Likewise.
34136         (exp2_test_data): Likewise.
34137         (expm1_test_data): Likewise.
34138         (fabs_test_data): Likewise.
34139         (fdim_test_data): Likewise.
34140         (finite_test_data): Likewise.
34141         (floor_test_data): Likewise.
34142         (fma_test_data): Likewise.
34143         (fma_towardzero_test_data): Likewise.
34144         (fma_downward_test_data): Likewise.
34145         (fma_upward_test_data): Likewise.
34146         (fmax_test_data): Likewise.
34147         (fmin_test_data): Likewise.
34148         (fmod_test_data): Likewise.
34149         (fpclassify_test_data): Likewise.
34150         (frexp_test_data): Likewise.
34151         (gamma_test_data): Likewise.
34152         (hypot_test_data): Likewise.
34153         (ilogb_test_data): Likewise.
34154         (isfinite_test_data): Likewise.
34155         (isgreater_test_data): Likewise.
34156         (isgreaterequal_test_data): Likewise.
34157         (isinf_test_data): Likewise.
34158         (isless_test_data): Likewise.
34159         (islessequal_test_data): Likewise.
34160         (islessgreater_test_data): Likewise.
34161         (isnan_test_data): Likewise.
34162         (isnormal_test_data): Likewise.
34163         (issignaling_test_data): Likewise.
34164         (isunordered_test_data): Likewise.
34165         (j0_test_data): Likewise.
34166         (j1_test_data): Likewise.
34167         (jn_test_data): Likewise.
34168         (ldexp_test_data): Likewise.
34169         (lgamma_test_data): Likewise.
34170         (lrint_test_data): Likewise.
34171         (lrint_tonearest_test_data): Likewise.
34172         (lrint_towardzero_test_data): Likewise.
34173         (lrint_downward_test_data): Likewise.
34174         (lrint_upward_test_data): Likewise.
34175         (llrint_test_data): Likewise.
34176         (llrint_tonearest_test_data): Likewise.
34177         (llrint_towardzero_test_data): Likewise.
34178         (llrint_downward_test_data): Likewise.
34179         (llrint_upward_test_data): Likewise.
34180         (log_test_data): Likewise.
34181         (log10_test_data): Likewise.
34182         (log1p_test_data): Likewise.
34183         (log2_test_data): Likewise.
34184         (logb_test_data): Likewise.
34185         (logb_downward_test_data): Likewise.
34186         (lround_test_data): Likewise.
34187         (llround_test_data): Likewise.
34188         (modf_test_data): Likewise.
34189         (nearbyint_test_data): Likewise.
34190         (nextafter_test_data): Likewise.
34191         (nexttoward_test_data): Likewise.
34192         (pow_test_data): Likewise.
34193         (pow_tonearest_test_data): Likewise.
34194         (pow_towardzero_test_data): Likewise.
34195         (pow_downward_test_data): Likewise.
34196         (pow_upward_test_data): Likewise.
34197         (remainder_test_data): Likewise.
34198         (remainder_tonearest_test_data): Likewise.
34199         (remainder_towardzero_test_data): Likewise.
34200         (remainder_downward_test_data): Likewise.
34201         (remainder_upward_test_data): Likewise.
34202         (remquo_test_data): Likewise.
34203         (rint_test_data): Likewise.
34204         (rint_tonearest_test_data): Likewise.
34205         (rint_towardzero_test_data): Likewise.
34206         (rint_downward_test_data): Likewise.
34207         (rint_upward_test_data): Likewise.
34208         (round_test_data): Likewise.
34209         (scalb_test_data): Likewise.
34210         (scalbn_test_data): Likewise.
34211         (scalbln_test_data): Likewise.
34212         (signbit_test_data): Likewise.
34213         (sin_test_data): Likewise.
34214         (sin_tonearest_test_data): Likewise.
34215         (sin_towardzero_test_data): Likewise.
34216         (sin_downward_test_data): Likewise.
34217         (sin_upward_test_data): Likewise.
34218         (sincos_test_data): Likewise.
34219         (sinh_test_data): Likewise.
34220         (sinh_tonearest_test_data): Likewise.
34221         (sinh_towardzero_test_data): Likewise.
34222         (sinh_downward_test_data): Likewise.
34223         (sinh_upward_test_data): Likewise.
34224         (sqrt_test_data): Likewise.
34225         (tan_test_data): Likewise.
34226         (tan_tonearest_test_data): Likewise.
34227         (tan_towardzero_test_data): Likewise.
34228         (tan_downward_test_data): Likewise.
34229         (tan_upward_test_data): Likewise.
34230         (tanh_test_data): Likewise.
34231         (tgamma_test_data): Likewise.
34232         (trunc_test_data): Likewise.
34233         (y0_test_data): Likewise.
34234         (y1_test_data): Likewise.
34235         (yn_test_data): Likewise.
34236         (significand_test_data): Likewise.
34238         * math/gen-libm-test.pl (@functions): Remove variable.
34239         (generate_testfile): Don't handle START and END lines.
34240         * math/libm-test.inc (START): New macro.
34241         (END): Likewise.
34242         (END_COMPLEX): Likewise.
34243         (acos_test): Use END macro without arguments.
34244         (acos_test_tonearest): Likewise.
34245         (acos_test_towardzero): Likewise.
34246         (acos_test_downward): Likewise.
34247         (acos_test_upward): Likewise.
34248         (acosh_test): Likewise.
34249         (asin_test): Likewise.
34250         (asin_test_tonearest): Likewise.
34251         (asin_test_towardzero): Likewise.
34252         (asin_test_downward): Likewise.
34253         (asin_test_upward): Likewise.
34254         (asinh_test): Likewise.
34255         (atan_test): Likewise.
34256         (atanh_test): Likewise.
34257         (atan2_test): Likewise.
34258         (cabs_test): Likewise.
34259         (cacos_test): Use END_COMPLEX macro without arguments.
34260         (cacosh_test): Likewise.
34261         (carg_test): Use END macro without arguments.
34262         (casin_test): Use END_COMPLEX macro without arguments.
34263         (casinh_test): Likewise.
34264         (catan_test): Likewise.
34265         (catanh_test): Likewise.
34266         (cbrt_test): Use END macro without arguments.
34267         (ccos_test): Use END_COMPLEX macro without arguments.
34268         (ccosh_test): Likewise.
34269         (ceil_test): Use END macro without arguments.
34270         (cexp_test): Use END_COMPLEX macro without arguments.
34271         (cimag_test): Use END macro without arguments.
34272         (clog_test): Use END_COMPLEX macro without arguments.
34273         (clog10_test): Likewise.
34274         (conj_test): Likewise.
34275         (copysign_test): Use END macro without arguments.
34276         (cos_test): Likewise.
34277         (cos_test_tonearest): Likewise.
34278         (cos_test_towardzero): Likewise.
34279         (cos_test_downward): Likewise.
34280         (cos_test_upward): Likewise.
34281         (cosh_test): Likewise.
34282         (cosh_test_tonearest): Likewise.
34283         (cosh_test_towardzero): Likewise.
34284         (cosh_test_downward): Likewise.
34285         (cosh_test_upward): Likewise.
34286         (cpow_test): Use END_COMPLEX macro without arguments.
34287         (cproj_test): Likewise.
34288         (creal_test): Use END macro without arguments.
34289         (csin_test): Use END_COMPLEX macro without arguments.
34290         (csinh_test): Likewise.
34291         (csqrt_test): Likewise.
34292         (ctan_test): Likewise.
34293         (ctan_test_tonearest): Likewise.
34294         (ctan_test_towardzero): Likewise.
34295         (ctan_test_downward): Likewise.
34296         (ctan_test_upward): Likewise.
34297         (ctanh_test): Likewise.
34298         (ctanh_test_tonearest): Likewise.
34299         (ctanh_test_towardzero): Likewise.
34300         (ctanh_test_downward): Likewise.
34301         (ctanh_test_upward): Likewise.
34302         (erf_test): Use END macro without arguments.
34303         (erfc_test): Likewise.
34304         (exp_test): Likewise.
34305         (exp_test_tonearest): Likewise.
34306         (exp_test_towardzero): Likewise.
34307         (exp_test_downward): Likewise.
34308         (exp_test_upward): Likewise.
34309         (exp10_test): Likewise.
34310         (exp2_test): Likewise.
34311         (expm1_test): Likewise.
34312         (fabs_test): Likewise.
34313         (fdim_test): Likewise.
34314         (finite_test): Likewise.
34315         (floor_test): Likewise.
34316         (fma_test): Likewise.
34317         (fma_test_towardzero): Likewise.
34318         (fma_test_downward): Likewise.
34319         (fma_test_upward): Likewise.
34320         (fmax_test): Likewise.
34321         (fmin_test): Likewise.
34322         (fmod_test): Likewise.
34323         (fpclassify_test): Likewise.
34324         (frexp_test): Likewise.
34325         (gamma_test): Likewise.
34326         (hypot_test): Likewise.
34327         (ilogb_test): Likewise.
34328         (isfinite_test): Likewise.
34329         (isgreater_test): Likewise.
34330         (isgreaterequal_test): Likewise.
34331         (isinf_test): Likewise.
34332         (isless_test): Likewise.
34333         (islessequal_test): Likewise.
34334         (islessgreater_test): Likewise.
34335         (isnan_test): Likewise.
34336         (isnormal_test): Likewise.
34337         (issignaling_test): Likewise.
34338         (isunordered_test): Likewise.
34339         (j0_test): Likewise.
34340         (j1_test): Likewise.
34341         (jn_test): Likewise.
34342         (ldexp_test): Likewise.
34343         (lgamma_test): Likewise.
34344         (lrint_test): Likewise.
34345         (lrint_test_tonearest): Likewise.
34346         (lrint_test_towardzero): Likewise.
34347         (lrint_test_downward): Likewise.
34348         (lrint_test_upward): Likewise.
34349         (llrint_test): Likewise.
34350         (llrint_test_tonearest): Likewise.
34351         (llrint_test_towardzero): Likewise.
34352         (llrint_test_downward): Likewise.
34353         (llrint_test_upward): Likewise.
34354         (log_test): Likewise.
34355         (log10_test): Likewise.
34356         (log1p_test): Likewise.
34357         (log2_test): Likewise.
34358         (logb_test): Likewise.
34359         (logb_test_downward): Likewise.
34360         (lround_test): Likewise.
34361         (llround_test): Likewise.
34362         (modf_test): Likewise.
34363         (nearbyint_test): Likewise.
34364         (nextafter_test): Likewise.
34365         (nexttoward_test): Likewise.
34366         (pow_test): Likewise.
34367         (pow_test_tonearest): Likewise.
34368         (pow_test_towardzero): Likewise.
34369         (pow_test_downward): Likewise.
34370         (pow_test_upward): Likewise.
34371         (remainder_test): Likewise.
34372         (remainder_test_tonearest): Likewise.
34373         (remainder_test_towardzero): Likewise.
34374         (remainder_test_downward): Likewise.
34375         (remainder_test_upward): Likewise.
34376         (remquo_test): Likewise.
34377         (rint_test): Likewise.
34378         (rint_test_tonearest): Likewise.
34379         (rint_test_towardzero): Likewise.
34380         (rint_test_downward): Likewise.
34381         (rint_test_upward): Likewise.
34382         (round_test): Likewise.
34383         (scalb_test): Likewise.
34384         (scalbn_test): Likewise.
34385         (scalbln_test): Likewise.
34386         (signbit_test): Likewise.
34387         (sin_test): Likewise.
34388         (sin_test_tonearest): Likewise.
34389         (sin_test_towardzero): Likewise.
34390         (sin_test_downward): Likewise.
34391         (sin_test_upward): Likewise.
34392         (sincos_test): Likewise.
34393         (sinh_test): Likewise.
34394         (sinh_test_tonearest): Likewise.
34395         (sinh_test_towardzero): Likewise.
34396         (sinh_test_downward): Likewise.
34397         (sinh_test_upward): Likewise.
34398         (sqrt_test): Likewise.
34399         (tan_test): Likewise.
34400         (tan_test_tonearest): Likewise.
34401         (tan_test_towardzero): Likewise.
34402         (tan_test_downward): Likewise.
34403         (tan_test_upward): Likewise.
34404         (tanh_test): Likewise.
34405         (tgamma_test): Likewise.
34406         (trunc_test): Likewise.
34407         (y0_test): Likewise.
34408         (y1_test): Likewise.
34409         (yn_test): Likewise.
34410         (significand_test): Likewise.
34412 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
34414         [BZ #15381]
34415         * libio/genops.c (_IO_no_init): Initialize wide struct info.
34417 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34419         [BZ #14894]
34420         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
34421         __ppc_mdoio and __ppc_mdoom.
34422         * manual/platform.texi: Document new functions __ppc_yield,
34423         __ppc_mdoio and __ppc_mdoom.
34425 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
34427         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
34428         (main): Mention "tls" pseudo-hwcap is legacy.
34429         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
34431 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34433         * math/gen-libm-test.pl (parse_args): Output only string of
34434         arguments as text for test name, not full call or descriptions of
34435         tests for extra outputs.
34436         (generate_testfile): Do not pass function name to parse_args.
34437         Generate this_func variable from START.
34438         * math/libm-test.inc (struct test_f_f_data): Rename test_name
34439         field to arg_str.
34440         (struct test_ff_f_data): Likewise.
34441         (test_ff_f_data_nexttoward): Likewise.
34442         (struct test_fi_f_data): Likewise.
34443         (struct test_fl_f_data): Likewise.
34444         (struct test_if_f_data): Likewise.
34445         (struct test_fff_f_data): Likewise.
34446         (struct test_c_f_data): Likewise.
34447         (struct test_f_f1_data): Likewise.  Remove field extra_name.
34448         (struct test_fF_f1_data): Likewise.
34449         (struct test_ffI_f1_data): Likewise.
34450         (struct test_c_c_data): Rename test_name field to arg_str.
34451         (struct test_cc_c_data): Likewise.
34452         (struct test_f_i_data): Likewise.
34453         (struct test_ff_i_data): Likewise.
34454         (struct test_f_l_data): Likewise.
34455         (struct test_f_L_data): Likewise.
34456         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
34457         and extra2_name.
34458         (COMMON_TEST_SETUP): New macro.
34459         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
34460         (COMMON_TEST_CLEANUP): Likewise.
34461         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
34462         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
34463         macros.
34464         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
34465         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
34466         macros.
34467         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
34468         (RUN_TEST_fff_f): Take argument string.  Call new setup and
34469         cleanup macros.
34470         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
34471         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
34472         macros.
34473         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
34474         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
34475         macros.
34476         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34477         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
34478         cleanup macros.
34479         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34480         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
34481         cleanup macros.
34482         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34483         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
34484         cleanup macros.
34485         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34486         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
34487         macros.
34488         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
34489         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
34490         macros.
34491         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
34492         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
34493         macros.
34494         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
34495         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
34496         cleanup macros.
34497         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
34498         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
34499         cleanup macros.
34500         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
34501         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
34502         macros.
34503         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
34504         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
34505         cleanup macros.
34506         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
34507         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
34508         macros.
34509         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
34510         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
34511         macros.
34512         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
34513         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
34514         cleanup macros.
34515         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
34517 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
34519         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
34520         to _sifields.sigfault.
34521         (si_addr_lsb): Define new macro.
34522         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34523         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34524         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
34526 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
34528         [BZ #15441]
34529         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
34530         returns -1.
34531         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
34532         null return -1.
34533         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
34534         loading the domain.
34536 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34538         * math/gen-libm-test.pl (parse_args): Do not include expected
34539         result in test name.
34540         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
34541         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34542         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34543         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34544         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34547 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34549         * benchtests/Makefile: Sort function entries.
34551         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
34552         tanh, asinh, acosh, atanh.
34553         * benchtests/acos-inputs: New file.
34554         * benchtests/acosh-inputs: New file.
34555         * benchtests/asin-inputs: New file.
34556         * benchtests/asinh-inputs: New file.
34557         * benchtests/atanh-inputs: New file.
34558         * benchtests/cosh-inputs: New file.
34559         * benchtests/log-inputs: New file.
34560         * benchtests/sinh-inputs: New file.
34561         * benchtests/tanh-inputs: New file.
34563 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
34565         [BZ #15339]
34566         * posix/tst-getaddrinfo4.c: New test.
34567         * posix/Makefile (tests): Add it.
34569 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34571         [BZ #15339]
34572         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
34573         when no services were used.
34574         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
34575         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
34577 2013-05-21  Andreas Schwab  <schwab@suse.de>
34579         [BZ #15014]
34580         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
34581         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
34582         successful.
34583         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
34584         redundant variable declarations and reallocation of buffer when
34585         parsing as IPv6 address.  Always set NSS status when called from
34586         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
34587         buffer too small.  Correct computation of needed size.
34588         * nss/Makefile (tests): Add test-digits-dots.
34589         * nss/test-digits-dots.c: New test.
34591 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34593         * benchtests/Makefile: Remove instructions for adding
34594         benchmark tests.
34595         * benchtests/README: New file to explain how to execute and
34596         enhance the benchmark tests.
34598 2013-05-21  Andreas Schwab  <schwab@suse.de>
34600         [BZ #15493]
34601         * setjmp/Makefile (tests): Add tst-sigsetjmp.
34602         * setjmp/tst-sigsetjmp.c: New test.
34604 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34606         * sysdeps/x86_64/memset.S (memset): New implementation.
34607         (__bzero): Likewise.
34608         (__memset_tail): New function.
34610 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34612         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
34613         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
34614         __memcpy_sse2_unaligned ifunc selection.
34615         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34616         Add memcpy-sse2-unaligned.S.
34617         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34618         Add: __memcpy_sse2_unaligned.
34620 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
34622         [BZ #15490]
34623         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34624         math_force_eval before restoring floating-point envrionment.
34625         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
34626         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34627         Likewise.
34628         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
34629         <math_private.h>.
34630         (__nearbyintl): Use math_force_eval before restoring
34631         floating-point environment.
34632         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
34634         * math/gen-libm-test.pl (special_functions): Remove.
34635         (parse_args): Don't handle TEST_extra.  Handle functions with no
34636         return value.
34637         * math/libm-test.inc (struct test_sincos_data): Replace with
34638         struct test_fFF_11_data.
34639         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
34640         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
34641         (sincos_test_data): Change element type to struct
34642         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
34643         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
34644         RUN_TEST_LOOP_sincos.
34645         * math/README.libm-test: Don't mention special handling of
34646         individual functions.
34647         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
34648         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34649         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34650         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34651         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34654         * math/gen-libm-test.pl (get_variable): Remove function.
34655         (parse_args): Don't show pointer parameters to call in test
34656         names.  Use "extra output N" in test names for extra outputs
34657         rather than naming variables.
34659 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
34661         [BZ #15488]
34662         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
34663         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
34664         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
34665         double tests.
34666         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
34667         disable.
34668         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
34669         check_long_double.
34671         * math/gen-libm-test.pl (@tests): Remove variable.
34672         ($count): Likewise.
34673         (new_test): Remove function.
34674         (show_exceptions): New function.
34675         (special_functions): Use show_exceptions instead of new_test.
34676         (parse_args): Likewise.
34677         (generate_testfile): Pass only function name in generated call to
34678         print_max_error or print_complex_max_error.
34679         (get_ulps): Do not handle complex tests specially.
34680         (output_test): Rename to ...
34681         (get_all_ulps_for_test): ... this.  Return a string rather than
34682         printing to a file.  Require ulps to be present.
34683         (output_ulps): Generate arrays rather than #defines.
34684         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34685         (struct ulp_data): New type.
34686         (BUILD_COMPLEX_ULP): Remove macro.
34687         (compare_ulp_data): New function.
34688         (find_ulps): Likewise.
34689         (find_test_ulps): Likewise.
34690         (find_function_ulps): Likewise.
34691         (find_complex_function_ulps): Likewise.
34692         (print_max_error): Determine allowed ulps using
34693         find_function_ulps.
34694         (print_complex_max_error): Determine allowed ulps using
34695         find_complex_function_ulps.
34696         (check_float_internal): Determine max ulps using find_test_ulps.
34697         (check_float): Do not take max_ulp parameter.  Update call to
34698         check_float_internal.
34699         (check_complex): Likewise.
34700         (check_int): Do not take max_ulp parameter.
34701         (check_long): Likewise.
34702         (check_bool): Likewise.
34703         (check_longlong): Likewise.
34704         (struct test_f_f_data): Remove max_ulp field.
34705         (struct test_ff_f_data): Likewise.
34706         (struct test_ff_f_data_nexttoward): Likewise.
34707         (struct test_fi_f_data): Likewise.
34708         (struct test_fl_f_data): Likewise.
34709         (struct test_if_f_data): Likewise.
34710         (struct test_fff_f_data): Likewise.
34711         (struct test_c_f_data): Likewise.
34712         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34713         (struct test_fF_f1_data): Likewise.
34714         (struct test_ffI_f1_data): Likewise.
34715         (struct test_c_c_data): Remove max_ulp field.
34716         (struct test_cc_c_data): Likewise.
34717         (struct test_f_i_data): Likewise.
34718         (struct test_ff_i_data): Likewise.
34719         (struct test_f_l_data): Likewise.
34720         (struct test_f_L_data): Likewise.
34721         (struct test_sincos_data): Likewise.
34722         (RUN_TEST_f_f): Do not handle ulps.
34723         (RUN_TEST_LOOP_f_f): Likewise.
34724         (RUN_TEST_2_f): Likewise.
34725         (RUN_TEST_LOOP_2_f): Likewise.
34726         (RUN_TEST_fff_f): Likewise.
34727         (RUN_TEST_LOOP_fff_f): Likewise.
34728         (RUN_TEST_c_f): Likewise.
34729         (RUN_TEST_LOOP_c_f): Likewise.
34730         (RUN_TEST_f_f1): Likewise.
34731         (RUN_TEST_LOOP_f_f1): Likewise.
34732         (RUN_TEST_fF_f1): Likewise.
34733         (RUN_TEST_LOOP_fF_f1): Likewise.
34734         (RUN_TEST_fI_f1): Likewise.
34735         (RUN_TEST_LOOP_fI_f1): Likewise.
34736         (RUN_TEST_ffI_f1): Likewise.
34737         (RUN_TEST_LOOP_ffI_f1): Likewise.
34738         (RUN_TEST_c_c): Likewise.
34739         (RUN_TEST_LOOP_c_c): Likewise.
34740         (RUN_TEST_cc_c): Likewise.
34741         (RUN_TEST_LOOP_cc_c): Likewise.
34742         (RUN_TEST_f_i): Likewise.
34743         (RUN_TEST_LOOP_f_i): Likewise.
34744         (RUN_TEST_f_i_tg): Likewise.
34745         (RUN_TEST_LOOP_f_i_tg): Likewise.
34746         (RUN_TEST_ff_i_tg): Likewise.
34747         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34748         (RUN_TEST_f_b): Likewise.
34749         (RUN_TEST_LOOP_f_b): Likewise.
34750         (RUN_TEST_f_b_tg): Likewise.
34751         (RUN_TEST_LOOP_f_b_tg): Likewise.
34752         (RUN_TEST_f_l): Likewise.
34753         (RUN_TEST_LOOP_f_l): Likewise.
34754         (RUN_TEST_f_L): Likewise.
34755         (RUN_TEST_LOOP_f_L): Likewise.
34756         (RUN_TEST_sincos): Likewise.
34757         (RUN_TEST_LOOP_sincos): Likewise.
34759 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34761         [BZ #15480]
34762         [BZ #15485]
34763         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34764         main case of finite arguments, set rounding mode to FE_TONEAREST
34765         and discard exceptions.
34766         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34767         exceptions.
34768         (remainder_tonearest_test_data): New variable.
34769         (remainder_test_tonearest): New function.
34770         (remainder_towardzero_test_data): New variable.
34771         (remainder_test_towardzero): New function.
34772         (remainder_downward_test_data): New variable.
34773         (remainder_test_downward): New function.
34774         (remainder_upward_test_data): New variable.
34775         (remainder_test_upward): New function.
34776         (main): Call the new test functions.
34778         * math/libm-test.inc (struct test_f_f1_data): Remove field
34779         extra_init.
34780         (struct test_fF_f1_data): Likewise.
34781         (struct test_ffI_f1_data): Likewise.
34782         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34783         based on value of EXTRA_EXPECTED.
34784         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34785         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34786         EXTRA_VAR based on value of EXTRA_EXPECTED.
34787         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34788         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34789         EXTRA_VAR based on value of EXTRA_EXPECTED.
34790         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34791         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34792         EXTRA_VAR based on value of EXTRA_EXPECTED.
34793         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34794         * math/gen-libm-test.pl (parse_args): Don't output initializers
34795         for extra output values.
34797         * math/libm-test.inc (check_int): Expect result to be exactly
34798         equal to expected value and do not handle ulps.
34799         (check_long): Likewise.
34800         (check_longlong): Likewise.
34802         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34803         exceptions.
34804         (cimag_test_data): Likewise.
34805         (conj_test_data): Likewise.
34806         (copysign_test_data): Likewise.
34807         (cproj_test_data): Likewise.
34808         (creal_test_data): Likewise.
34809         (fabs_test_data): Likewise.
34810         (fdim_test_data): Likewise.
34811         (finite_test_data): Likewise.
34812         (floor_test_data): Likewise.
34813         (fmax_test_data): Likewise.
34814         (fmin_test_data): Likewise.
34815         (fmod_test_data): Likewise.
34816         (fpclassify_test_data): Likewise.
34817         (frexp_test_data): Likewise.
34818         (ilogb_test_data): Likewise.
34819         (isfinite_test_data): Likewise.
34820         (isgreater_test_data): Likewise.
34821         (isgreaterequal_test_data): Likewise.
34822         (isinf_test_data): Likewise.
34823         (isless_test_data): Likewise.
34824         (islessequal_test_data): Likewise.
34825         (islessgreater_test_data): Likewise.
34826         (isnan_test_data): Likewise.
34827         (isnormal_test_data): Likewise.
34828         (issignaling_test_data): Likewise.
34829         (isunordered_test_data): Likewise.
34830         (ldexp_test_data): Likewise.
34831         (lrint_test_data): Likewise.
34832         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34833         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34834         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34835         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34836         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34837         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34838         test input.
34839         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34840         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34841         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34842         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34843         that test input.
34844         (lrint_downward_test_data): Test for "inexact" exceptions.
34845         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34846         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34847         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34848         test input.
34849         (lrint_upward_test_data): Test for "inexact" exceptions.
34850         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34851         test input.
34852         (llrint_test_data): Test for "inexact" exceptions.
34853         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34854         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34855         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34856         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34857         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34858         (llrint_downward_test_data): Test for "inexact" exceptions.
34859         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34860         (llrint_upward_test_data): Test for "inexact" exceptions.
34861         (logb_test_data): Likewise.
34862         (logb_downward_test_data): Likewise.
34863         (nextafter_test_data): Likewise.
34864         (nexttoward_test_data): Likewise.
34865         (remainder_test_data): Likewise.
34866         (remquo_test_data): Likewise.
34867         (scalbn_test_data): Likewise.
34868         (scalbln_test_data): Likewise.
34869         (signbit_test_data): Likewise.
34870         (sqrt_test_data): Likewise.
34871         (significand_test_data): Likewise.
34873 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34875         [BZ #15424]
34876         * benchtests/bench-modf.c (struct args): Mark arg0 as
34877         volatile.
34878         * scripts/bench.pl: Mark members of struct args as volatile.
34880 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34882         [BZ # 15497]
34883         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34884         negative infinity on POWER6 or lower.
34885         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34887 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34889         [BZ #15442]
34890         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34891         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34892         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34893         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34894         (_FP_SETQNAN): New macro.
34895         (_FP_SETQNAN_SEMIRAW): Likewise.
34896         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34897         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34898         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34899         (FP_EXTEND): Use _FP_FRAC_SNANP.
34900         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34901         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34902         into account.
34903         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34904         New macro.
34905         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34906         Likewise.
34908 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34910         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34911         with DIVIDE_BY_ZERO_EXCEPTION.
34912         (gamma_test_data): Likewise.
34913         (lgamma_test_data): Likewise.
34914         (log_test_data): Likewise.
34915         (log10_test_data): Likewise.
34916         (log2_test_data): Likewise.
34917         (tgamma_test_data): Likewise.
34919         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34920         (acos_test_tonearest): Likewise.
34921         (acos_test_towardzero): Likewise.
34922         (acos_test_downward): Likewise.
34923         (acos_test_upward): Likewise.
34924         (acosh_test): Likewise.
34925         (asin_test): Likewise.
34926         (asin_test_tonearest): Likewise.
34927         (asin_test_towardzero): Likewise.
34928         (asin_test_downward): Likewise.
34929         (asin_test_upward): Likewise.
34930         (asinh_test): Likewise.
34931         (atan_test): Likewise.
34932         (atanh_test): Likewise.
34933         (atan2_test): Likewise.
34934         (cabs_test): Likewise.
34935         (cacos_test): Likewise.
34936         (cacosh_test): Likewise.
34937         (casin_test): Likewise.
34938         (casinh_test): Likewise.
34939         (catan_test): Likewise.
34940         (catanh_test): Likewise.
34941         (cbrt_test): Likewise.
34942         (ccos_test): Likewise.
34943         (ccosh_test): Likewise.
34944         (cexp_test): Likewise.
34945         (clog_test): Likewise.
34946         (clog10_test): Likewise.
34947         (cos_test): Likewise.
34948         (cos_test_tonearest): Likewise.
34949         (cos_test_towardzero): Likewise.
34950         (cos_test_downward): Likewise.
34951         (cos_test_upward): Likewise.
34952         (cosh_test): Likewise.
34953         (cosh_test_tonearest): Likewise.
34954         (cosh_test_towardzero): Likewise.
34955         (cosh_test_downward): Likewise.
34956         (cosh_test_upward): Likewise.
34957         (cpow_test): Likewise.
34958         (csin_test): Likewise.
34959         (csinh_test): Likewise.
34960         (csqrt_test): Likewise.
34961         (ctan_test): Likewise.
34962         (ctan_test_tonearest): Likewise.
34963         (ctan_test_towardzero): Likewise.
34964         (ctan_test_downward): Likewise.
34965         (ctan_test_upward): Likewise.
34966         (ctanh_test): Likewise.
34967         (ctanh_test_tonearest): Likewise.
34968         (ctanh_test_towardzero): Likewise.
34969         (ctanh_test_downward): Likewise.
34970         (ctanh_test_upward): Likewise.
34971         (erf_test): Likewise.
34972         (erfc_test): Likewise.
34973         (exp_test): Likewise.
34974         (exp_test_tonearest): Likewise.
34975         (exp_test_towardzero): Likewise.
34976         (exp_test_downward): Likewise.
34977         (exp_test_upward): Likewise.
34978         (exp10_test): Likewise.
34979         (exp2_test): Likewise.
34980         (expm1_test): Likewise.
34981         (fmod_test): Likewise.
34982         (gamma_test): Likewise.
34983         (hypot_test): Likewise.
34984         (j0_test): Likewise.
34985         (j1_test): Likewise.
34986         (jn_test): Likewise.
34987         (lgamma_test): Likewise.
34988         (log_test): Likewise.
34989         (log10_test): Likewise.
34990         (log1p_test): Likewise.
34991         (log2_test): Likewise.
34992         (logb_test_downward): Likewise.
34993         (pow_test): Likewise.
34994         (pow_test_tonearest): Likewise.
34995         (pow_test_towardzero): Likewise.
34996         (pow_test_downward): Likewise.
34997         (pow_test_upward): Likewise.
34998         (remainder_test): Likewise.
34999         (remquo_test): Likewise.
35000         (sin_test): Likewise.
35001         (sin_test_tonearest): Likewise.
35002         (sin_test_towardzero): Likewise.
35003         (sin_test_downward): Likewise.
35004         (sin_test_upward): Likewise.
35005         (sincos_test): Likewise.
35006         (sinh_test): Likewise.
35007         (sinh_test_tonearest): Likewise.
35008         (sinh_test_towardzero): Likewise.
35009         (sinh_test_downward): Likewise.
35010         (sinh_test_upward): Likewise.
35011         (sqrt_test): Likewise.
35012         (tan_test): Likewise.
35013         (tan_test_tonearest): Likewise.
35014         (tan_test_towardzero): Likewise.
35015         (tan_test_downward): Likewise.
35016         (tan_test_upward): Likewise.
35017         (tanh_test): Likewise.
35018         (tgamma_test): Likewise.
35019         (y0_test): Likewise.
35020         (y1_test): Likewise.
35021         (yn_test): Likewise.
35023         * math/gen-libm-test.pl (adjust_arg): Remove function.
35024         (special_function): Remove argument $in_func.  Only handle
35025         generating output for tables of tests, not inside functions.
35026         (parse_args): Likewise.
35027         (generate_testfile): Remove variable $in_func.  Update call to
35028         parse_args.
35029         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
35030         (MINUS_ZERO_INIT): Rename macro to minus_zero.
35031         (PLUS_INFTY_INIT): Rename macro to plus_infty.
35032         (MINUS_INFTY_INIT): Rename macro to minus_infty.
35033         (QNAN_VALUE_INIT): Rename macro to qnan_value.
35034         (MAX_VALUE_INIT): Rename macro to max_value.
35035         (MIN_VALUE_INIT): Rename macro to min_value.
35036         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
35037         (plus_zero): Remove variable.
35038         (minus_zero): Likewise.
35039         (plus_infty): Likewise.
35040         (minus_infty): Likewise.
35041         (qnan_value): Likewise.
35042         (max_value): Likewise.
35043         (min_value): Likewise.
35044         (min_subnorm_value): Likewise.
35046 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35048         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
35049         uint64_t or uint32_t usage.
35050         * crypt/sha256-block.c: Likewise.
35051         * crypt/sha256-crypt.c: Likewise.
35052         * crypt/sha256.c: Likewise.
35053         * crypt/sha512-block.c: Likewise.
35054         * crypt/sha512-crypt.c: Likewise.
35055         * crypt/sha512.c: Likewise.
35056         * debug/backtrace-tst.c: Likewise.
35057         * debug/pcprofiledump.c: Likewise.
35058         * elf/cache.c: Likewise.
35059         * elf/dl-cache.c: Likewise.
35060         * elf/dl-misc.c: Likewise.
35061         * elf/dl-profile.c: Likewise.
35062         * elf/dl-support.c: Likewise.
35063         * elf/ldconfig.c: Likewise.
35064         * elf/sprof.c: Likewise.
35065         * iconv/dummy-repertoire.c: Likewise.
35066         * iconv/iconv_charmap.c: Likewise.
35067         * iconv/skeleton.c: Likewise.
35068         * iconvdata/8bit-generic.c: Likewise.
35069         * iconvdata/cp737.h: Likewise.
35070         * iconvdata/cp775.h: Likewise.
35071         * iconvdata/ibm1008.h: Likewise.
35072         * iconvdata/ibm1025.h: Likewise.
35073         * iconvdata/ibm1046.h: Likewise.
35074         * iconvdata/ibm1097.h: Likewise.
35075         * iconvdata/ibm1112.h: Likewise.
35076         * iconvdata/ibm1122.h: Likewise.
35077         * iconvdata/ibm1123.h: Likewise.
35078         * iconvdata/ibm1124.h: Likewise.
35079         * iconvdata/ibm1129.h: Likewise.
35080         * iconvdata/ibm1130.h: Likewise.
35081         * iconvdata/ibm1132.h: Likewise.
35082         * iconvdata/ibm1133.h: Likewise.
35083         * iconvdata/ibm1137.h: Likewise.
35084         * iconvdata/ibm1140.h: Likewise.
35085         * iconvdata/ibm1141.h: Likewise.
35086         * iconvdata/ibm1142.h: Likewise.
35087         * iconvdata/ibm1143.h: Likewise.
35088         * iconvdata/ibm1144.h: Likewise.
35089         * iconvdata/ibm1145.h: Likewise.
35090         * iconvdata/ibm1146.h: Likewise.
35091         * iconvdata/ibm1147.h: Likewise.
35092         * iconvdata/ibm1148.h: Likewise.
35093         * iconvdata/ibm1149.h: Likewise.
35094         * iconvdata/ibm1153.h: Likewise.
35095         * iconvdata/ibm1154.h: Likewise.
35096         * iconvdata/ibm1155.h: Likewise.
35097         * iconvdata/ibm1156.h: Likewise.
35098         * iconvdata/ibm1157.h: Likewise.
35099         * iconvdata/ibm1158.h: Likewise.
35100         * iconvdata/ibm1160.h: Likewise.
35101         * iconvdata/ibm1161.h: Likewise.
35102         * iconvdata/ibm1162.h: Likewise.
35103         * iconvdata/ibm1163.h: Likewise.
35104         * iconvdata/ibm1164.h: Likewise.
35105         * iconvdata/ibm1166.h: Likewise.
35106         * iconvdata/ibm1167.h: Likewise.
35107         * iconvdata/ibm12712.h: Likewise.
35108         * iconvdata/ibm1390.h: Likewise.
35109         * iconvdata/ibm1399.h: Likewise.
35110         * iconvdata/ibm16804.h: Likewise.
35111         * iconvdata/ibm4517.h: Likewise.
35112         * iconvdata/ibm4899.h: Likewise.
35113         * iconvdata/ibm4909.h: Likewise.
35114         * iconvdata/ibm4971.h: Likewise.
35115         * iconvdata/ibm5347.h: Likewise.
35116         * iconvdata/ibm803.h: Likewise.
35117         * iconvdata/ibm856.h: Likewise.
35118         * iconvdata/ibm901.h: Likewise.
35119         * iconvdata/ibm902.h: Likewise.
35120         * iconvdata/ibm9030.h: Likewise.
35121         * iconvdata/ibm9066.h: Likewise.
35122         * iconvdata/ibm921.h: Likewise.
35123         * iconvdata/ibm922.h: Likewise.
35124         * iconvdata/ibm9448.h: Likewise.
35125         * iconvdata/isiri-3342.h: Likewise.
35126         * iconvdata/jis0201.h: Likewise.
35127         * include/link.h: Likewise.
35128         * include/netdb.h: Likewise.
35129         * inet/check_native.c: Likewise.
35130         * inet/check_pf.c: Likewise.
35131         * inet/getipv4sourcefilter.c: Likewise.
35132         * inet/getnameinfo.c: Likewise.
35133         * inet/getsourcefilter.c: Likewise.
35134         * inet/htonl.c: Likewise.
35135         * inet/setipv4sourcefilter.c: Likewise.
35136         * inet/setsourcefilter.c: Likewise.
35137         * inet/test-inet6_opt.c: Likewise.
35138         * inet/tst-network.c: Likewise.
35139         * locale/C-collate.c: Likewise.
35140         * locale/C-ctype.c: Likewise.
35141         * locale/C-time.c: Likewise.
35142         * locale/C-translit.h: Likewise.
35143         * locale/loadarchive.c: Likewise.
35144         * locale/programs/3level.h: Likewise.
35145         * locale/programs/charmap.c: Likewise.
35146         * locale/programs/charmap.h: Likewise.
35147         * locale/programs/ld-address.c: Likewise.
35148         * locale/programs/ld-collate.c: Likewise.
35149         * locale/programs/ld-ctype.c: Likewise.
35150         * locale/programs/ld-identification.c: Likewise.
35151         * locale/programs/ld-measurement.c: Likewise.
35152         * locale/programs/ld-messages.c: Likewise.
35153         * locale/programs/ld-monetary.c: Likewise.
35154         * locale/programs/ld-name.c: Likewise.
35155         * locale/programs/ld-numeric.c: Likewise.
35156         * locale/programs/ld-paper.c: Likewise.
35157         * locale/programs/ld-telephone.c: Likewise.
35158         * locale/programs/ld-time.c: Likewise.
35159         * locale/programs/linereader.c: Likewise.
35160         * locale/programs/locale.c: Likewise.
35161         * locale/programs/locarchive.c: Likewise.
35162         * locale/programs/locfile.h: Likewise.
35163         * locale/programs/repertoire.c: Likewise.
35164         * locale/programs/simple-hash.c: Likewise.
35165         * locale/programs/simple-hash.h: Likewise.
35166         * malloc/memusage.c: Likewise.
35167         * malloc/memusagestat.c: Likewise.
35168         * nis/nis_defaults.c: Likewise.
35169         * nis/nis_hash.c: Likewise.
35170         * nis/nis_print.c: Likewise.
35171         * nis/nis_xdr.c: Likewise.
35172         * nscd/connections.c: Likewise.
35173         * nscd/hstcache.c: Likewise.
35174         * nscd/nscd_gethst_r.c: Likewise.
35175         * nscd/nscd_getserv_r.c: Likewise.
35176         * nscd/nscd_helper.c: Likewise.
35177         * nscd/servicescache.c: Likewise.
35178         * nss/makedb.c: Likewise.
35179         * nss/nss_db/db-XXX.c: Likewise.
35180         * nss/nss_db/db-initgroups.c: Likewise.
35181         * nss/nss_db/db-netgrp.c: Likewise.
35182         * nss/nss_files/files-network.c: Likewise.
35183         * nss/nss_files/files-parse.c: Likewise.
35184         * posix/bug-regex5.c: Likewise.
35185         * posix/fnmatch_loop.c: Likewise.
35186         * posix/regcomp.c: Likewise.
35187         * posix/regexec.c: Likewise.
35188         * posix/tst-rfc3484-2.c: Likewise.
35189         * posix/tst-rfc3484-3.c: Likewise.
35190         * posix/tst-rfc3484.c: Likewise.
35191         * resolv/nss_dns/dns-canon.c: Likewise.
35192         * resolv/nss_dns/dns-network.c: Likewise.
35193         * resolv/res_init.c: Likewise.
35194         * resolv/res_mkquery.c: Likewise.
35195         * resolv/tst-aton.c: Likewise.
35196         * stdlib/cxa_atexit.c: Likewise.
35197         * stdlib/cxa_finalize.c: Likewise.
35198         * stdlib/gen-fpioconst.c: Likewise.
35199         * stdlib/strtol_l.c: Likewise.
35200         * string/tst-endian.c: Likewise.
35201         * sunrpc/auth_des.c: Likewise.
35202         * sunrpc/clnt_udp.c: Likewise.
35203         * sunrpc/rtime.c: Likewise.
35204         * sunrpc/svcauth_des.c: Likewise.
35205         * sunrpc/xdr.c: Likewise.
35206         * sunrpc/xdr_intXX_t.c: Likewise.
35207         * sunrpc/xdr_rec.c: Likewise.
35208         * sysdeps/generic/ldconfig.h: Likewise.
35209         * sysdeps/generic/ldsodefs.h: Likewise.
35210         * sysdeps/generic/memusage.h: Likewise.
35211         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35212         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
35213         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
35214         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35215         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35216         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35217         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35218         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35219         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35220         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35221         * sysdeps/posix/getaddrinfo.c: Likewise.
35222         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35223         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35224         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35225         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35226         * sysdeps/powerpc/test-gettimebase.c: Likewise.
35227         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35228         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
35229         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
35230         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35231         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
35232         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35233         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35234         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
35235         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
35236         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
35237         * sysdeps/x86_64/dl-tls.h: Likewise.
35238         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
35239         * time/alt_digit.c: Likewise.
35240         * time/era.c: Likewise.
35241         * wcsmbs/tst-c16c32-1.c: Likewise.
35243 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35245         * math/libm-test.inc (struct test_sincos_data): New type.
35246         (RUN_TEST_LOOP_sincos): New macro.
35247         (sincos_test_data): New variable.
35248         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
35250 2013-05-16  Richard Henderson  <rth@redhat.com>
35252         * math/atest-exp2.c (LIMB64): New macro.
35253         (CONSTSZ): New macro.
35254         (mp_exp1, mp_exp_m1, mp_log2): New variables.
35255         (hexdig): Move ...
35256         (print_mpn_fp): ... to function scope.
35257         (read_mpn_hex): Remove.
35258         (get_log2): Remove.
35259         (exp2_mpn): Use mp_log2.
35260         (main): Use mp_exp1.
35262 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35264         * math/libm-test.inc: Remove comment about not testing "inexact"
35265         exceptions.
35266         (INEXACT_EXCEPTION): New macro.
35267         (NO_INEXACT_EXCEPTION): Likewise.
35268         (INVALID_EXCEPTION_OK): Update value.
35269         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35270         (OVERFLOW_EXCEPTION_OK): Likewise.
35271         (UNDERFLOW_EXCEPTION_OK): Likewise.
35272         (IGNORE_ZERO_INF_SIGN): Likewise.
35273         (ERRNO_UNCHANGED): Likewise.
35274         (ERRNO_EDOM): Likewise.
35275         (ERRNO_ERANGE): Likewise.
35276         (test_exceptions): Handle testing "inexact" exceptions.
35277         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
35278         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
35279         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
35280         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
35281         INEXACT_EXCEPTION.
35282         (rint_towardzero_test_data): Likewise.
35283         (rint_downward_test_data): Likewise.
35284         (rint_upward_test_data): Likewise.
35286         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
35287         with OVERFLOW_EXCEPTION.
35288         (exp10_test_data): Likewise.
35289         (exp2_test_data): Likewise.
35290         (expm1_test_data): Likewise.
35291         (lgamma_test_data): Likewise.
35292         (pow_test_data): Likewise.
35293         (tgamma_test_data): Likewise.
35294         (yn_test_data): Remove duplicate test of overflow.
35296         * math/libm-test.inc (struct test_cc_c_data): New type.
35297         (RUN_TEST_LOOP_cc_c): New macro.
35298         (cpow_test_data): New variable.
35299         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
35301         * math/libm-test.inc (struct test_f_L_data): New type.
35302         (RUN_TEST_LOOP_f_L): New macro.
35303         (llrint_test_data): New variable.
35304         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
35305         (llrint_tonearest_test_data): New variable.
35306         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
35307         (llrint_towardzero_test_data): New variable.
35308         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
35309         (llrint_downward_test_data): New variable.
35310         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
35311         (llrint_upward_test_data): New variable.
35312         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
35313         (llround_test_data): New variable.
35314         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
35316 2013-05-13  Peter Collingbourne  <pcc@google.com>
35318         * math/atest-exp2.c (get_log2): Remove const attribute.
35320 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35322         * math/libm-test.inc (struct test_f_l_data): New type.
35323         (RUN_TEST_LOOP_f_l): New macro.
35324         (lrint_test_data): New variable.
35325         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
35326         (lrint_tonearest_test_data): New variable.
35327         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
35328         (lrint_towardzero_test_data): New variable.
35329         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
35330         (lrint_downward_test_data): New variable.
35331         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
35332         (lrint_upward_test_data): New variable.
35333         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
35334         (lround_test_data): New variable.
35335         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
35337 2013-05-15  Peter Collingbourne  <pcc@google.com>
35339         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
35340         (EXTRACT_WORDS64) Use where appropriate.
35341         (INSERT_WORDS64) Likewise.
35343         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
35344         constraints with x constraints.
35345         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
35347         * malloc/obstack.c (_obstack_compat): Add initializer.
35349 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
35351         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
35352         si_trapno and add si_addr_lsb to _sifields.sigfault.
35353         (si_trapno): Remove macro.
35354         (si_addr_lsb): Define new macro.
35355         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35357 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35359         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
35360         instead of TEST_f_l.
35361         (llrint_test_tonearest): Likewise.
35362         (llrint_test_towardzero): Likewise.
35363         (llrint_test_downward): Likewise.
35364         (llrint_test_upward): Likewise.
35365         (llround_test): Likewise.
35367         * math/libm-test.inc (struct test_f_i_data): Add comment.
35368         (RUN_TEST_LOOP_f_b): New macro.
35369         (RUN_TEST_LOOP_f_b_tg): Likewise.
35370         (finite_test_data): New variable.
35371         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
35372         (isfinite_test_data): New variable.
35373         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35374         (isinf_test_data): New variable.
35375         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35376         (isnan_test_data): New variable.
35377         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35378         (isnormal_test_data): New variable.
35379         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35380         (issignaling_test_data): New variable.
35381         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35382         (signbit_test_data): New variable.
35383         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35385         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
35386         with INVALID_EXCEPTION.
35387         (acosh_test_data): Likewise.
35388         (asin_test_data): Likewise.
35389         (atanh_test_data): Likewise.
35390         (fmod_test_data): Likewise.
35391         (log_test_data): Likewise.
35392         (log10_test_data): Likewise.
35393         (log2_test_data): Likewise.
35394         (pow_test_data): Likewise.
35395         (sqrt_test_data): Likewise.
35396         (y0_test_data): Likewise.
35397         (y1_test_data): Likewise.
35398         (yn_test_data): Likewise.
35400         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
35401         function contents.
35403         * math/libm-test.inc (struct test_ff_i_data): New type.
35404         (RUN_TEST_LOOP_ff_i_tg): New macro.
35405         (isgreater_test_data): New variable.
35406         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35407         (isgreaterequal_test_data): New variable.
35408         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35409         (isless_test_data): New variable.
35410         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35411         (islessequal_test_data): New variable.
35412         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35413         (islessgreater_test_data): New variable.
35414         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35415         (isunordered_test_data): New variable.
35416         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35418 2013-05-14  David S. Miller  <davem@davemloft.net>
35420         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35422 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
35424         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
35426         * math/libm-test.inc (struct test_fF_f1_data): Change type of
35427         extra_test to int.
35428         (struct test_f_i_data): Change type of max_ulp to int.
35430         * math/libm-test.inc (test_ffI_f1_data): New type.
35431         (RUN_TEST_LOOP_ffI_f1): New macro.
35432         (remquo_test_data): New variable.
35433         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
35435         * setjmp/tst-setjmp-fp.c: New file.
35436         * setjmp/Makefile (tests): Add tst-setjmp-fp.
35437         (link-libm): New variable.
35438         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
35440         * math/libm-test.inc (struct test_f_i_data): New type.
35441         (RUN_TEST_LOOP_f_i): New macro.
35442         (RUN_TEST_LOOP_f_i_tg): Likewise.
35443         (fpclassify_test_data): New variable.
35444         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
35445         (ilogb_test_data): New variable.
35446         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
35448         * math/libm-test.inc (scalbln_test): Correct function name in END
35449         call.
35451         * math/libm-test.inc (struct test_f_f1_data): Add comment.
35452         (RUN_TEST_LOOP_fI_f1): New macro.
35453         (frexp_test_data): New variable.
35454         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
35456         * math/libm-test.inc (struct test_fF_f1_data): New type.
35457         (RUN_TEST_LOOP_fF_f1): New macro.
35458         (modf_test_data): New variable.
35459         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
35461         * math/libm-test.inc (struct test_f_f1_data): New type.
35462         (RUN_TEST_LOOP_f_f1): New macro.
35463         (gamma_test_data): New variable.
35464         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35465         (lgamma_test_data): New variable.
35466         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35468 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
35470         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
35471         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
35472         (main): Comment "tls" pseudo-hwcap.
35474 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
35476         * math/libm-test.inc (struct test_fl_f_data): New type.
35477         (RUN_TEST_LOOP_fl_f): New variable.
35478         (scalbln_test_data): New variable.
35479         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
35481         * math/libm-test.inc (struct test_fi_f_data): New type.
35482         (RUN_TEST_LOOP_fi_f): New macro.
35483         (ldexp_test_data): New variable.
35484         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
35485         (scalbn_test_data): New variable.
35486         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
35488         * math/libm-test.inc (struct test_c_f_data): New type.
35489         (RUN_TEST_LOOP_c_f): New macro.
35490         (cabs_test_data): New variable.
35491         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
35492         (carg_test_data): New variable.
35493         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
35494         (cimag_test_data): New variable.
35495         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
35496         (creal_test_data): New variable.
35497         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
35499         * math/libm-test.inc (struct test_if_f_data): New type.
35500         (RUN_TEST_LOOP_if_f): New macro.
35501         (jn_test_data): New variable.
35502         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
35503         (yn_test_data): New variable.
35504         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
35506         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
35508 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35510         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
35511         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
35513 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35515         * benchtests/Makefile (CPPFLAGS-nonlib): Add
35516         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
35517         (bench-deps): Add bench-timing.h.
35518         * benchtests-bench-skeleton.c: Include bench-timing.h.
35519         (main): Use TIMING_* macros instead of clock_gettime.
35520         * benchtests/bench-timing.h: New file.
35522         [BZ #14582]
35523         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
35524         Renamed from _LIB_VERSION.
35525         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
35527 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
35529         * math/libm-test.inc (struct test_fff_f_data): New type.
35530         (RUN_TEST_LOOP_fff_f): New macro.
35531         (fma_test_data): New variable.
35532         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
35533         (fma_towardzero_test_data): New variable.
35534         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
35535         (fma_downward_test_data): New variable.
35536         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
35537         (fma_upward_test_data): New variable.
35538         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
35540         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
35541         (struct test_c_c_data): New type.
35542         (RUN_TEST_LOOP_c_c): New macro.
35543         (cacos_test_data): New variable.
35544         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
35545         (cacosh_test_data): New variable.
35546         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
35547         (casin_test_data): New variable.
35548         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
35549         (casinh_test_data): New variable.
35550         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
35551         (catan_test_data): New variable.
35552         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
35553         (catanh_test_data): New variable.
35554         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
35555         (ccos_test_data): New variable.
35556         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
35557         (ccosh_test_data): New variable.
35558         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
35559         (cexp_test_data): New variable.
35560         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
35561         (clog_test_data): New variable.
35562         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
35563         (clog10_test_data): New variable.
35564         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
35565         (conj_test_data): New variable.
35566         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
35567         (cproj_test_data): New variable.
35568         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
35569         (csin_test_data): New variable.
35570         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
35571         (csinh_test_data): New variable.
35572         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
35573         (csqrt_test_data): New variable.
35574         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
35575         (ctan_test_data): New variable.
35576         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
35577         (ctan_tonearest_test_data): New variable.
35578         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35579         (ctan_towardzero_test_data): New variable.
35580         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35581         (ctan_downward_test_data): New variable.
35582         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35583         (ctan_upward_test_data): New variable.
35584         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35585         (ctanh_test_data): New variable.
35586         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
35587         (ctanh_tonearest_test_data): New variable.
35588         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35589         (ctanh_towardzero_test_data): New variable.
35590         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35591         (ctanh_downward_test_data): New variable.
35592         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35593         (ctanh_upward_test_data): New variable.
35594         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35595         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
35596         of BUILD_COMPLEX.
35598         * math/libm-test.inc (struct test_ff_f_data): New type.
35599         (struct test_ff_f_data_nexttoward): Likewise.
35600         (RUN_TEST_LOOP_2_f): New macro.
35601         (RUN_TEST_LOOP_ff_f): Likewise.
35602         (atan2_test_data): New variable.
35603         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
35604         (copysign_test_data): New variable.
35605         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
35606         (fdim_test_data): New variable.
35607         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
35608         (fmax_test_data): New variable.
35609         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
35610         (fmin_test_data): New variable.
35611         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
35612         (fmod_test_data): New variable.
35613         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
35614         (hypot_test_data): New variable.
35615         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
35616         (nextafter_test_data): New variable.
35617         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
35618         (nexttoward_test_data): New variable.
35619         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
35620         (pow_test_data): New variable.
35621         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
35622         (pow_tonearest_test_data): New variable.
35623         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
35624         (pow_towardzero_test_data): New variable.
35625         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
35626         (pow_downward_test_data): New variable.
35627         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
35628         (pow_upward_test_data): New variable.
35629         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
35630         (remainder_test_data): New variable.
35631         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
35632         (scalb_test_data): New variable.
35633         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
35634         * sysdeps/i386/fpu/libm-test-ulps: Update.
35636 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
35638         * math/libm-test.inc (fma_test): Use max_value instead of local
35639         variable fltmax.
35640         (nextafter_test): Likewise.
35642         * math/libm-test.inc (acos_towardzero_test_data): New variable.
35643         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35644         (acos_downward_test_data): New variable.
35645         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35646         (acos_upward_test_data): New variable.
35647         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35648         (acosh_test_data): New variable.
35649         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
35650         (asin_test_data): New variable.
35651         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
35652         (asin_tonearest_test_data): New variable.
35653         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35654         (asin_towardzero_test_data): New variable.
35655         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35656         (asin_downward_test_data): New variable.
35657         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35658         (asin_upward_test_data): New variable.
35659         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35660         (asinh_test_data): New variable.
35661         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
35662         (atan_test_data): New variable.
35663         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
35664         (atanh_test_data): New variable.
35665         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
35666         (cbrt_test_data): New variable.
35667         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
35668         (ceil_test_data): New variable.
35669         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35670         (cos_test_data): New variable.
35671         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35672         (cos_tonearest_test_data): New variable.
35673         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35674         (cos_towardzero_test_data): New variable.
35675         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35676         (cos_downward_test_data): New variable.
35677         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35678         (cos_upward_test_data): New variable.
35679         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35680         (cosh_test_data): New variable.
35681         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35682         (cosh_tonearest_test_data): New variable.
35683         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35684         (cosh_towardzero_test_data): New variable.
35685         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35686         (cosh_downward_test_data): New variable.
35687         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35688         (cosh_upward_test_data): New variable.
35689         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35690         (erf_test_data): New variable.
35691         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35692         (erfc_test_data): New variable.
35693         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35694         (exp_test_data): New variable.
35695         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35696         (exp_tonearest_test_data): New variable.
35697         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35698         (exp_towardzero_test_data): New variable.
35699         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35700         (exp_downward_test_data): New variable.
35701         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35702         (exp_upward_test_data): New variable.
35703         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35704         (exp10_test_data): New variable.
35705         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35706         (exp2_test_data): New variable.
35707         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35708         (expm1_test_data): New variable.
35709         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35710         (fabs_test_data): New variable.
35711         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35712         (floor_test_data): New variable.
35713         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35714         (j0_test_data): New variable.
35715         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35716         (j1_test_data): New variable.
35717         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35718         (log_test_data): New variable.
35719         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35720         (log10_test_data): New variable.
35721         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35722         (log1p_test_data): New variable.
35723         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35724         (log2_test_data): New variable.
35725         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35726         (logb_test_data): New variable.
35727         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35728         (logb_downward_test_data): New variable.
35729         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35730         (nearbyint_test_data): New variable.
35731         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35732         (rint_test_data): New variable.
35733         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35734         (rint_tonearest_test_data): New variable.
35735         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35736         (rint_towardzero_test_data): New variable.
35737         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35738         (rint_downward_test_data): New variable.
35739         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35740         (rint_upward_test_data): New variable.
35741         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35742         (round_test_data): New variable.
35743         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35744         (sin_test_data): New variable.
35745         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35746         (sin_tonearest_test_data): New variable.
35747         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35748         (sin_towardzero_test_data): New variable.
35749         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35750         (sin_downward_test_data): New variable.
35751         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35752         (sin_upward_test_data): New variable.
35753         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35754         (sinh_test_data): New variable.
35755         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35756         (sinh_tonearest_test_data): New variable.
35757         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35758         (sinh_towardzero_test_data): New variable.
35759         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35760         (sinh_downward_test_data): New variable.
35761         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35762         (sinh_upward_test_data): New variable.
35763         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35764         (sqrt_test_data): New variable.
35765         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35766         (tan_test_data): New variable.
35767         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35768         (tan_tonearest_test_data): New variable.
35769         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35770         (tan_towardzero_test_data): New variable.
35771         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35772         (tan_downward_test_data): New variable.
35773         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35774         (tan_upward_test_data): New variable.
35775         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35776         (tanh_test_data): New variable.
35777         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35778         (tgamma_test_data): New variable.
35779         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35780         (trunc_test_data): New variable.
35781         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35782         (y0_test_data): New variable.
35783         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35784         (y1_test_data): New variable.
35785         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35786         (significand_test_data): New variable.
35787         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35789 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35791         [BZ #12387]
35792         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35794 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35796         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35798 2013-05-10  Andreas Jaeger  <aj@suse.de>
35800         [BZ #15448]
35801         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35802         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35804 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35806         * math/gen-libm-test.pl (adjust_arg): New function.
35807         (special_functions): Handle generating output in both functions
35808         and arrays.
35809         (parse_args): Likewise.
35810         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35811         $in_func argument to parse_args.
35812         * math/libm-test.inc (struct test_f_f_data): New type.
35813         (IF_ROUND_INIT_): New macro.
35814         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35815         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35816         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35817         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35818         (ROUND_RESTORE_): Likewise.
35819         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35820         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35821         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35822         (ROUND_RESTORE_FE_UPWARD): Likewise.
35823         (RUN_TEST_LOOP_f_f): New macro.
35824         (acos_test_data): New variable.
35825         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35826         (acos_tonearest_test_data): New variable.
35827         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35829 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35831         * benchtests/bench-skeleton.c (startup): Fix coding style.
35833 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35835         [BZ #6809]
35836         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35837         negative infinity argument.
35838         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35839         negative infinity argument.
35840         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35841         negative infinity argument.
35842         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35843         domain errors.
35845 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35847         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35848         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35849         * iconv/iconv_prog.c (main): Likewise.
35850         * locale/programs/charmap-dir.c (charmap_readdir)
35851         (fopen_uncompressed): Likewise.
35852         * locale/programs/locfile.c (siblings_uncached)
35853         (write_locale_data): Use lstat64 instead of lstat.
35854         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35855         stat.
35857 2013-05-10  Andreas Jaeger  <aj@suse.de>
35859         [BZ #15395]
35860         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35861         localization.
35862         Include <locale.h>.
35864 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35866         * elf/dl-close.c (_dl_close_worker): Add comments.
35868 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35870         [BZ #15359]
35871         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35872         high part of pi/2.
35873         (__ieee754_rem_pio2l): Update comments.
35875         [BZ #15429]
35876         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35877         high part of pi/2.
35878         (__ieee754_rem_pio2l): Update comments.
35880         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35881         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35883         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35884         M_PI_4l.
35886         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35887         (M_PI_34_LOG10El): Likewise.
35888         (M_PI2_LOG10El): Likewise.
35889         (M_PI4_LOG10El): Likewise.
35890         (M_PI_LOG10El): Likewise.
35892 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35896 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35898         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35899         (MINUS_ZERO_INIT): Likewise.
35900         (PLUS_INFTY_INIT): Likewise.
35901         (MINUS_INFTY_INIT): Likewise.
35902         (QNAN_VALUE_INIT): Likewise.
35903         (MAX_VALUE_INIT): Likewise.
35904         (MIN_VALUE_INIT): Likewise.
35905         (MIN_SUBNORM_VALUE_INIT): Likewise.
35906         (plus_zero): Initialize with PLUS_ZERO_INIT.
35907         (minus_zero): Initialize with MINUS_ZERO_INIT.
35908         (plus_infty): Initialize with PLUS_INFTY_INIT.
35909         (minus_infty): Initialize with MINUS_INFTY_INIT.
35910         (qnan_value): Initialize with QNAN_VALUE_INIT.
35911         (max_value): Initialize with MAX_VALUE_INIT.
35912         (min_value): Initialize with MIN_VALUE_INIT.
35913         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35915         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35916         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35917         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35918         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35920         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35921         (RUN_TEST_2_f): Likewise.
35922         (RUN_TEST_ff_f): Likewise.
35923         (RUN_TEST_fi_f): Likewise.
35924         (RUN_TEST_fl_f): Likewise.
35925         (RUN_TEST_fff_f): Likewise.
35926         (RUN_TEST_c_f): Likewise.
35927         (RUN_TEST_f_f1): Likewise.
35928         (RUN_TEST_fF_f1): Likewise.
35929         (RUN_TEST_fI_f1): Likewise.
35930         (RUN_TEST_ffI_f1): Likewise.
35931         (RUN_TEST_c_c): Likewise.
35932         (RUN_TEST_cc_c): Likewise.
35933         (RUN_TEST_f_i): Likewise.
35934         (RUN_TEST_f_i_tg): Likewise.
35935         (RUN_TEST_ff_i_tg): Likewise.
35936         (RUN_TEST_f_b): Likewise.
35937         (RUN_TEST_f_b_tg): Likewise.
35938         (RUN_TEST_f_l): Likewise.
35939         (RUN_TEST_f_L): Likewise.
35940         (RUN_TEST_sincos): Likewise.
35941         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35942         whether to show exceptions.  Do not include ");\n" in return
35943         value.
35944         (special_functions): Output call to RUN_TEST_sincos instead of
35945         check_float calls.  Update calls to new_test.
35946         (parse_args): Output call to single RUN_TEST_* macro instead of
35947         check_* calls and other assignments.  Update calls to new_test.
35949         [BZ #2546]
35950         [BZ #2560]
35951         [BZ #5159]
35952         [BZ #15426]
35953         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35954         input to result for tgamma overflow.
35955         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35956         (gamma_coeff): New variable.
35957         (NCOEFF): New macro.
35958         (gamma_positive): New function.
35959         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35960         underflow here.  Use gamma_positive instead of exp (lgamma) for
35961         other arguments.
35962         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35963         (gamma_coeff): New variable.
35964         (NCOEFF): New macro.
35965         (gammaf_positive): New function.
35966         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35967         underflow here.  Use gamma_positive instead of exp (lgamma) for
35968         other arguments.
35969         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35970         (gamma_coeff): New variable.
35971         (NCOEFF): New macro.
35972         (gammal_positive): New function.
35973         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35974         underflow here.  Use gamma_positive instead of exp (lgamma) for
35975         other arguments.
35976         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35977         (gamma_coeff): New variable.
35978         (NCOEFF): New macro.
35979         (gammal_positive): New function.
35980         (__ieee754_gammal_r): Handle positive infinity, overflow and
35981         underflow here.  Handle NaN the same as positive infinity.  Remove
35982         check x < 0xffffffff for negative integers.  Use gamma_positive
35983         instead of exp (lgamma) for other arguments.
35984         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35985         (gamma_coeff): New variable.
35986         (NCOEFF): New macro.
35987         (gammal_positive): New function.
35988         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35989         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35990         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35991         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35992         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35993         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35994         * sysdeps/generic/math_private.h (__gamma_productf): New
35995         prototype.
35996         (__gamma_product): Likewise.
35997         (__gamma_productl): Likewise.
35998         * math/Makefile (libm-calls): Add gamma_product.
35999         * math/libm-test.inc (tgamma_test): Add more tests.
36000         * sysdeps/i386/fpu/libm-test-ulps: Update.
36001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36003 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
36005         * benchtests/bench-skeleton.c (main): Preheat CPU.
36007 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
36009         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
36011 2013-05-07  Roland McGrath  <roland@hack.frob.com>
36013         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
36014         and _dl_skip_args_internal.
36016 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
36018         * manual/message.texi (Message Translation): Talk about users.
36019         Message to key mapping impacts design.
36021 2013-05-06  Roland McGrath  <roland@hack.frob.com>
36023         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
36025         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
36027         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
36028         * sysdeps/wordsize-64/glob64.c: ... here.
36030         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
36031         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
36032         New macros.
36034         * debug/getlogin_r_chk.c: Moved to ...
36035         * login/getlogin_r_chk.c: ... here.
36036         * debug/Makefile (routines): Move getlogin_r_chk to ...
36037         * login/Makefile (routines): ... here.
36038         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
36039         * login/Versions (libc: GLIBC_2.4): ... here.
36041         * io/poll.c (__poll): Renamed from poll.
36042         Add libc_hidden_def.
36043         (poll): Define as weak alias.
36045         * debug/ptsname_r_chk.c: Moved to ...
36046         * login/ptsname_r_chk.c: ... here.
36047         * debug/Makefile (routines): Move ptsname_r_chk to ...
36048         * login/Makefile (routines): ... here.
36049         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
36050         * login/Versions (libc: GLIBC_2.4): ... here.
36052         * posix/getlogin.c: Moved to ...
36053         * login/getlogin.c: ... here.
36054         * posix/getlogin_r.c: Moved to ...
36055         * login/getlogin_r.c: ... here.
36056         * posix/getlogin_r.c: Moved to ...
36057         * login/getlogin_r.c: ... here.
36058         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
36059         * login/Makefile (routines): ... here.
36060         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
36061         * login/Versions (libc: GLIBC_2.0): ... here.
36063         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
36064         (setrlimit): Define as weak alias.
36066         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
36067         Call __ names for open, ftruncate, and close.
36068         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
36069         (truncate): Define as weak alias.
36071 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
36073         * math/gen-libm-test.pl (parse_args): Initialize x before each
36074         test of frexp, modf and remquo.
36076         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
36077         test signgam value.
36079 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36081         [BZ #15418]
36082         [BZ #15419]
36083         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
36084         internal tests.
36085         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36087 2013-05-06  Roland McGrath  <roland@hack.frob.com>
36089         * elf/dl-writev.h: New file.
36090         * elf/dl-misc.c: Include it.
36091         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
36092         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
36094 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
36096         * math/libm-test.inc (noXFails): Remove variable.
36097         (noXPasses): Likewise.
36098         (BUILD_COMPLEX_INT): Remove macro.
36099         (print_screen): Remove xfail argument.
36100         (print_screen_max_error): Likewise.
36101         (update_stats): Likewise.
36102         (print_max_error): Likewise.  Update calls to other affected
36103         functions.
36104         (print_complex_max_error): Likewise.
36105         (test_single_exception): Update calls to print_screen.
36106         (test_single_errno): Likewise.
36107         (check_float_internal): Remove xfail argument.  Update calls to
36108         other affected functions.
36109         (check_float): Likewise.
36110         (check_complex): Likewise.
36111         (check_int): Likewise.
36112         (check_long): Likewise.
36113         (check_bool): Likewise.
36114         (check_longlong): Likewise.
36115         (main): Don't print noXFails and noXPasses.
36116         * math/gen-libm-test.pl (top level): Don't mention expected
36117         failure handling in comment.
36118         (new_test): Don't handle expected failures.
36119         (parse_args): Don't mention expected failure handling in comment.
36120         (generate_testfile): Don't handle expected failures.
36121         (parse_ulps): Likewise.
36122         (print_ulps_file): Likewise.
36123         (get_failure): Remove function.
36124         (output_test): Don't handle expected failures.
36125         * make/README.libm-test: Don't mention expected failure handling.
36127         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
36128         (minus_zero): Likewise.
36129         (plus_infty): Likewise.
36130         (minus_infty): Likewise.
36131         (qnan_value): Likewise.
36132         (max_value): Likewise.
36133         (min_value): Likewise.
36134         (min_subnorm_value): Likewise.
36135         (initialize): Do not initialize those variables dynamically.
36137 2013-05-03  Roland McGrath  <roland@hack.frob.com>
36139         * io/open.c (__open_2): Moved to ...
36140         * io/open_2.c: ... this new file.
36141         * io/open64.c (__open64_2): Moved to ...
36142         * io/open64_2.c: ... this new file.
36143         * io/openat.c (__openat_2): Moved to ...
36144         * io/openat_2.c: ... this new file.
36145         * io/openat64.c (__openat64_2): Moved to ...
36146         * io/openat64_2.c: ... this new file.
36147         * io/Makefile (routines): Add them.
36148         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
36149         * sysdeps/unix/sysv/linux/open_2.c: File removed.
36150         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
36151         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
36152         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
36153         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
36154         (__openat64): Add hidden_ver.
36155         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
36156         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
36158         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
36159         Separately conditionalize setting of GLRO(dl_sysinfo) so
36160         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
36161         as well, but the actual setting is only under [NEED_DL_SYSINFO].
36163 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36165         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
36166         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
36167         definition.
36168         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
36169         * sysdeps/unix/sysv/linux/powerpc/init-first.c
36170         (_libc_vdso_platform_setup): Add __vdso_time initialization.
36171         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
36172         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
36174 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
36176         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
36177         test signgam value.
36179         * math/libm-test.inc (hypot_test): Do not use
36180         IGNORE_ZERO_INF_SIGN.
36182 2013-05-03  Andreas Jaeger  <aj@suse.de>
36184         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
36185         Linux 3.9.
36186         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
36187         (PF_MAX): Adjust for VSOCK change.
36189 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36193 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
36195         [BZ #15264]
36196         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
36197         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
36198         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
36200 2013-05-02  David S. Miller  <davem@davemloft.net>
36202         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36204 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
36206         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
36208 2013-05-01  Roland McGrath  <roland@hack.frob.com>
36210         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
36212 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
36214         [BZ #14952]
36215         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
36216         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36217         Use __attribute__ ((__gnu_inline__)).
36218         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36219         Don't use __attribute__ ((__gnu_inline__)).
36221 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
36223         [BZ #15423]
36224         * math/s_catan.c (__catan): Handle small real or imaginary part of
36225         input specially to avoid spurious underflow.
36226         * math/s_catanf.c (__catanf): Likewise.
36227         * math/s_catanh.c (__catanh): Likewise.
36228         * math/s_catanhf.c (__catanhf): Likewise.
36229         * math/s_catanhl.c (__catanhl): Likewise.
36230         * math/s_catanl.c (__catanl): Likewise.
36231         * math/libm-test.inc (catan_test): Add more tests.
36232         (catanh_test): Likewise.
36233         * sysdeps/i386/fpu/libm-test-ulps: Update.
36234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36236 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36238         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36240 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
36242         [BZ #15416]
36243         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
36244         accurately for denominator in atan2.
36245         * math/s_catanf.c (__catanf): Likewise.
36246         * math/s_catanh.c (__catanh): Likewise.
36247         * math/s_catanhf.c (__catanhf): Likewise.
36248         * math/s_catanhl.c (__catanhl): Likewise.
36249         * math/s_catanl.c (__catanl): Likewise.
36250         * math/libm-test.inc (catan_test): Add more tests.
36251         (catanh_test): Likewise.
36252         * sysdeps/i386/fpu/libm-test-ulps: Update.
36253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36255 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36257         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
36259         * benchtests/Makefile (bench): Remove slow benchmarks.
36260         * benchtests/atan-inputs: Add slow benchmark inputs.
36261         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
36262         (BENCH_FUNC): Accept variant offset.
36263         (VARIANT): Define.
36264         * benchtests/bench-skeleton.c (main): Run benchmark for each
36265         variant.
36266         * benchtests/cos-inputs: Add slow benchmark inputs.
36267         * benchtests/exp-inputs: Likewise.
36268         * benchtests/pow-inputs: Likewise.
36269         * benchtests/sin-inputs: Likewise.
36270         * benchtests/slowatan-inputs: Remove.
36271         * benchtests/slowatan.c: Remove.
36272         * benchtests/slowcos-inputs: Remove.
36273         * benchtests/slowcos.c: Remove.
36274         * benchtests/slowexp-inputs: Remove.
36275         * benchtests/slowexp.c: Remove.
36276         * benchtests/slowpow-inputs: Remove.
36277         * benchtests/slowpow.c: Remove.
36278         * benchtests/slowsin-inputs: Remove.
36279         * benchtests/slowsin.c: Remove.
36280         * benchtests/slowtan-inputs: Remove.
36281         * benchtests/slowtan.c: Remove.
36282         * benchtests/tan-inputs: Add slow benchmark inputs.
36283         * scripts/bench.pl: Parse comments and directives.
36285         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
36286         in CPPFLAGS.
36287         ($(objpfx)bench-%.c): Remove *-ITER.
36288         * benchtests/bench-modf.c: Remove definition of ITER.
36289         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
36290         (main): Loop for DURATION seconds instead of fixed number of
36291         iterations.
36292         * scripts/bench.pl: Don't expect iterations in parameters.
36294 2013-04-29  Roland McGrath  <roland@hack.frob.com>
36296         * io/fchdir.c (__fchdir): Renamed from fchdir.
36297         (fchdir): Define as weak alias.
36299 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36301         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
36302         (ERRNO_EDOM): Likewise.
36303         (ERRNO_ERANGE): Likewise.
36304         (noErrnoTests): New variable.
36305         (init_max_error): Set errno to 0.
36306         (test_single_errno): New function.
36307         (test_errno): Likewise.
36308         (check_float_internal): Call test_errno.  Set errno to 0.
36309         (check_complex): Refer to errno tests in comment.
36310         (check_int): Call test_errno.  Set errno to 0.
36311         (check_long): Likewise.
36312         (check_bool): Likewise.
36313         (check_longlong): Likewise.
36314         (cos_test): Use ERRNO_* flags for errno tests instead of
36315         check_int.
36316         (expm1_test): Likewise.
36317         (fmod_test): Likewise.
36318         (ilogb_test): Likewise.
36319         (lgamma_test): Likewise.
36320         (pow_test): Likewise.
36321         (remainder_test): Likewise.
36322         (sin_test): Likewise.
36323         (tan_test): Likewise.
36324         (yn_test): Likewise.
36325         (initialize): Set errno to 0.
36326         (main): Print number of errno tests.
36327         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
36329 2013-04-29  Andreas Jaeger  <aj@suse.de>
36331         [BZ #15084]
36332         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
36333         and RES_USEVC.
36335         [BZ #15085]
36336         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
36337         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
36338         unimplemented.
36340         [BZ #15380]
36341         * stdlib/random.c (__initstate): Return NULL if
36342         __initstate fails.
36344         [BZ #15086]
36345         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
36346         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
36347         RES_SNGLKUPREOP.
36349 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36353 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36355         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
36356         of individual tests.
36357         (casin_test): Likewise.
36358         (casinh_test): Likewise.
36360 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
36362         [BZ #15409]
36363         * math/s_catan.c (__catan): Handle arguments with large real or
36364         imaginary part separately without squaring.
36365         * math/s_catanf.c (__catanf): Likewise.
36366         * math/s_catanh.c (__catanh): Likewise.
36367         * math/s_catanhf.c (__catanhf): Likewise.
36368         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36369         and redefine.
36370         (__catanhl): Handle arguments with large real or imaginary part
36371         separately without squaring.
36372         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36373         and redefine.
36374         (__catanl): Handle arguments with large real or imaginary part
36375         separately without squaring.
36376         * math/libm-test.inc (catan_test): Add more tests.
36377         (catanh_test): Likewise.
36378         * sysdeps/i386/fpu/libm-test-ulps: Update.
36379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36381 2013-04-27  Andreas Jaeger  <aj@suse.de>
36383         [BZ #15007]
36384         * stdlib/stdlib.h: Update guards for qecvt.
36385         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
36386         <stdlib.h>.
36388 2013-04-27  Allan McRae  <allan@archlinux.org>
36390         * sysdeps/i386/fpu/libm-test-ulps: Update.
36392 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
36394         [BZ #15406]
36395         * math/s_catan.c: Include <float.h>.
36396         (__catan): Ensure underflow exception occurs for underflowed
36397         result.
36398         * math/s_catanf.c: Include <float.h>.
36399         (__catanf): Ensure underflow exception occurs for underflowed
36400         result.
36401         * math/s_catanh.c: Include <float.h>.
36402         (__catanh): Ensure underflow exception occurs for underflowed
36403         result.
36404         * math/s_catanhf.c: Include <float.h>.
36405         (__catanhf): Ensure underflow exception occurs for underflowed
36406         result.
36407         * math/s_catanhl.c: Include <float.h>.
36408         (__catanhl): Ensure underflow exception occurs for underflowed
36409         result.
36410         * math/s_catanl.c: Include <float.h>.
36411         (__catanl): Ensure underflow exception occurs for underflowed
36412         result.
36413         * math/libm-test.inc (catan_test): Add more tests.
36414         (catanh_test): Likewise.
36416         [BZ #15405]
36417         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
36418         underflowed result.
36419         * math/s_ccoshf.c (__ccoshf): Likewise.
36420         * math/s_ccoshl.c (__ccoshl): Likewise.
36421         * math/s_csin.c (__csin): Likewise.
36422         * math/s_csinf.c (__csinf): Likewise.
36423         * math/s_csinh.c (__csinh): Likewise.
36424         * math/s_csinhf.c (__csinhf): Likewise.
36425         * math/s_csinhl.c (__csinhl): Likewise.
36426         * math/s_csinl.c (__csinl): Likewise.
36427         * math/libm-test.inc (ccos_test): Add more tests.
36428         (ccosh_test): Likewise.
36429         (csin_test): Likewise.
36430         (csinh_test): Likewise.
36432 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36434         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
36435         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
36436         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
36437         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
36438         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
36439         powerpc/power5+/fpu folders.
36440         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
36443 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36445         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36447 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
36449         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
36450         additions to variable.
36451         [$(config-machine) = x86_64] (modules-names): Likewise.
36452         ($(objpfx)tst-audit3): Remove dependency.
36453         ($(objpfx)tst-audit3.out): Likewise.
36454         ($(objpfx)tst-audit4): Likewise.
36455         ($(objpfx)tst-audit4.out): Likewise.
36456         ($(objpfx)tst-audit5): Likewise.
36457         ($(objpfx)tst-audit5.out): Likewise.
36458         ($(objpfx)tst-audit6): Likewise.
36459         ($(objpfx)tst-audit6.out): Likewise.
36460         ($(objpfx)tst-audit7): Likewise.
36461         ($(objpfx)tst-audit7.out): Likewise.
36462         (tst-audit3-ENV): Remove variable.
36463         (tst-audit4-ENV): Likewise.
36464         (tst-audit5-ENV): Likewise.
36465         (tst-audit6-ENV): Likewise.
36466         (tst-audit7-ENV): Likewise.
36467         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
36468         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
36469         addition to variable.
36470         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
36471         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
36472         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
36473         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
36474         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
36475         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
36476         tst-audit3, tst-audit4 and tst-audit5.
36477         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
36478         tst-audit6 and tst-audit7.
36479         [$(subdir) = elf] (modules-names): Add audit modules for those
36480         tests.
36481         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
36482         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
36483         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
36484         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
36485         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
36486         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
36487         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
36488         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
36489         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
36490         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
36491         [$(subdir) = elf] (tst-audit3-ENV): New variable.
36492         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
36493         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
36494         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
36495         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
36496         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
36497         Likewise.
36498         [$(subdir) = elf && $(config-cflags-avx) = yes]
36499         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
36500         [$(subdir) = elf && $(config-cflags-avx) = yes]
36501         (CFLAGS-tst-auditmod4a.c): Likewise.
36502         [$(subdir) = elf && $(config-cflags-avx) = yes]
36503         (CFLAGS-tst-auditmod4b.c): Likewise.
36504         [$(subdir) = elf && $(config-cflags-avx) = yes]
36505         (CFLAGS-tst-auditmod6b.c): Likewise.
36506         [$(subdir) = elf && $(config-cflags-avx) = yes]
36507         (CFLAGS-tst-auditmod6c.c): Likewise.
36508         [$(subdir) = elf && $(config-cflags-avx) = yes]
36509         (CFLAGS-tst-auditmod7b.c): Likewise.
36510         * elf/tst-audit3.c: Move to ...
36511         * sysdeps/x86_64/tst-audit3.c: ... here.
36512         * elf/tst-audit4.c: Move to ...
36513         * sysdeps/x86_64/tst-audit4.c: ... here.
36514         * elf/tst-audit5.c: Move to ...
36515         * sysdeps/x86_64/tst-audit5.c: ... here.
36516         * elf/tst-audit6.c: Move to ...
36517         * sysdeps/x86_64/tst-audit6.c: ... here.
36518         * elf/tst-audit7.c: Move to ...
36519         * sysdeps/x86_64/tst-audit7.c: ... here.
36520         * elf/tst-auditmod3a.c: Move to ...
36521         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
36522         * elf/tst-auditmod3b.c: Move to ...
36523         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
36524         * elf/tst-auditmod4a.c: Move to ...
36525         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
36526         * elf/tst-auditmod4b.c: Move to ...
36527         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
36528         * elf/tst-auditmod5a.c: Move to ...
36529         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
36530         * elf/tst-auditmod5b.c: Move to ...
36531         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
36532         * elf/tst-auditmod6a.c: Move to ...
36533         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
36534         * elf/tst-auditmod6b.c: Move to ...
36535         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
36536         * elf/tst-auditmod6c.c: Move to ...
36537         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
36538         * elf/tst-auditmod7a.c: Move to ...
36539         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
36540         * elf/tst-auditmod7b.c: Move to ...
36541         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
36543 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
36545         [BZ #15366]
36546         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
36547         define unconditionally.
36548         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
36549         define unconditionally.
36550         (INT8_C, INT16_C, etc.): Likewise.
36552 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
36554         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
36555         __ehdr_start with hidden visibility.
36557         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
36559 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
36561         * math/libm-test.inc (cos_test): Use accurate hex constants.
36562         (sincost_test): Likewise.
36564 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
36566         * math/libm-test.inc (catan_test): Add more tests.
36567         (catanh_test): Likewise.
36569         * math/s_catanf.c (__catanf): Use suffixed floating-point
36570         constants.
36571         * math/s_catanhf.c (__catanhf): Likewise.
36572         * math/s_catanhl.c (__catanhl): Likewise.
36573         * math/s_catanl.c (__catanl): Likewise.
36575         [BZ #15394]
36576         * math/s_catan.c (__catan): Calculate imaginary part of result
36577         with log1p not log unless computing log of number close to 0.
36578         * math/s_catanf.c (__catanf): Likewise.
36579         * math/s_catanl.c (__catanl): Likewise.
36580         * math/s_catanh.c (__catanh): Calculate real part of result with
36581         log1p not log unless computing log of number close to 0.
36582         * math/s_catanhf.c (__catanhf): Likewise.
36583         * math/s_catanhl.c (__catanhl): Likewise.
36584         * math/libm-test.inc (catan_test): Add more tests.
36585         (catanh_test): Likewise.
36586         * sysdeps/i386/fpu/libm-test-ulps: Update.
36587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36589 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36591         * benchtests/Makefile: Mention files in which fast and slow
36592         paths of math functions are implemented.
36594 2013-04-23  Roland McGrath  <roland@hack.frob.com>
36596         * sysdeps/posix/timespec_get.c: New file.
36598 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36600         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
36601         POWER.
36602         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
36603         for POWER.
36604         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
36605         powerpc/power5/fpu folders.
36606         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
36607         * benchtests/Makefile: Add modf testcase.
36608         * benchtests/bench-modf.c: New file: Benchmark test for mo
36610 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36612         [BZ #14888]
36613         * time/Makefile (tests): Add tst-strptime-whitespace.
36614         * time/strptime_l.c (get_number): Use ISSPACE.
36615         (__strptime_internal): Likewise.
36616         * time/tst-strptime-whitespace.c: New test case.
36618 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
36620         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
36621         member.
36622         (_nss_files_init): Set it here.
36624 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
36626         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
36627         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
36628         unsigned.
36630 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
36632         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
36634 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36636         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
36637         size just once.
36639 2013-04-21  David S. Miller  <davem@davemloft.net>
36641         * po/ru.po: Update Russion translation from translation project.
36643 2013-04-17  Adam Conrad  <adconrad@0c3.net>
36645         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
36646         and setfsgid.
36648 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
36650         * configure.in: Remove i386 configure warning. Remove i386 case.
36651         * configure: Regenerate.
36652         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
36653         Add example to error message.
36654         * sysdeps/i386/configure: Regenerate.
36656 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36658         * benchtests/Makefile (bench): Add cos, tan, slowcos and
36659         slowtan.
36660         * benchtests/cos-inputs: New file.
36661         * benchtests/slowcos-inputs: New file.
36662         * benchtests/slowcos.c: New file.
36663         * benchtests/slowtan-inputs: New file.
36664         * benchtests/slowtan.c: New file.
36665         * benchtests/tan-inputs: New file.
36667 2013-04-16  Roland McGrath  <roland@hack.frob.com>
36669         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36670         considered kosher.
36672 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36674         * benchtests/Makefile: Include cppflags-iterator.mk to add
36675         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36677         * Makefile.in (bench-clean): New target.
36678         * benchtests/Makefile (bench-clean): Likewise.
36680 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
36682         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36684 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
36686         * stdio-common/tstdiomisc.c: Fix coding-style violation.
36688 2013-04-15  Andreas Schwab  <schwab@suse.de>
36690         * nscd/grpcache.c (cache_addgr): Properly check for short write.
36691         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36692         * nscd/pwdcache.c (cache_addpw): Likewise.
36693         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
36694         more than recsize.
36696 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36698         * benchtests/Makefile (bench): Write all output to
36699         bench-out.tmp together.
36701 2013-04-15  Andreas Schwab  <schwab@suse.de>
36703         * nscd/nscd.c (main): Don't fork again after closing files.
36705 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36707         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36709         * benchtests/Rules (bench-deps): Collect dependencies into a
36710         single variable.  Add Makefile to dependencies.
36711         ($(objpfx)bench-%.c): Depend on bench-deps.
36713 2013-04-12  Roland McGrath  <roland@hack.frob.com>
36714             Xavier Roche  <roche+kml2@exalead.com>
36716         [BZ #15361]
36717         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36718         just that it's a file descriptor.
36719         * manual/llio.texi (Synchronizing AIO Operations): Update description
36720         for EBADF error from aio_fsync.
36722 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36724         * Rules (bench): Move target definition...
36725         * benchtests/Makefile: ... here.
36727 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36729         * math/libm-test.inc (cos_test): Fix PI/2 test.
36730         (sincos_test): Likewise.
36731         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36732         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36734 2013-04-11  Andreas Schwab  <schwab@suse.de>
36736         [BZ #13988]
36737         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36738         accept exponent character only when digits were seen.
36739         * stdio-common/Makefile (tests): Add bug26.
36740         * stdio-common/bug26.c: New file.
36742         [BZ #14293]
36743         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36744         non-freeable.
36746 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36748         * Makeconfig (rtld-prefix): Define built linker prefix.
36749         * Rules (run-bench): Use it.
36750         * math/Makefile (run-regen-ulps): Likewise.
36752         * Rules (bench): Remove eval.
36754 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36755             Roland McGrath  <roland@hack.frob.com>
36756             Ondrej Bilka  <neleai@seznam.cz>
36758         [BZ #15346]
36759         * time/getdate.c: Include ctype.h and alloca.h.
36760         (__getdate_r): Trim leading and trailing spaces of input.
36761         * time/tst-getdate.c (tests): Add tests with leading and
36762         trailing spaces.
36764 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36766         [BZ #14280]
36767         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36768         when computing value.
36770 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36772         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36773         Use testrun.sh to run libm tests.
36775         [BZ #15309]
36776         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36778 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36780         [BZ #15264]
36781         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36783 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36785         * Makefile.in (regen-ulps): New target.
36786         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36787         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36788         [ifneq (no,$(PERL)] (regen-ulps): New target.
36789         [ifeq (no,$(PERL)] (regen-ulps): New target.
36790         * math/libm-test.inc (ulps_file_name): Define.
36791         (output_dir): New variable.
36792         (options): Add "output-dir" option.
36793         (parse_opt): Handle 'o' case.
36794         (main): If output_dir is non-NULL use it as a prefix
36795         otherwise use "".
36796         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36798 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36800         [BZ #10060, #10062]
36801         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36802         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36803         fail configure if __sync_val_compare_and_swap is not inlined.
36804         * sysdeps/i386/configure: Regenerate.
36805         * configure.in: Build for i686 when configured for i386.
36806         * configure: Regenerate.
36807         * README: Remove i386 reference.
36809 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36811         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36812         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36814 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36816         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36817         (lmsnanval): New variables.
36818         (F): Add conversion tests.
36819         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36820         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36822         * stdio-common/tstdiomisc.c (F): Properly collect individual
36823         tests' results.
36825         [BZ #14686, #15336]
36826         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36827         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36828         Instead, use input NaN values or generate a qNaN by arithmetic
36829         operation.  Also fix bugs to comply with the standard.
36830         * math/libm-test.inc (remainder_test): Add more tests.
36832         [BZ #15335, #15342]
36833         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36834         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36835         input NaN values or generate a qNaN by arithmetic operation.
36837         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36838         unreachable code.
36840         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36841         definitions.
36843 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36845         [BZ #14478]
36846         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36847         underflowed result.
36848         * math/s_cexpf.c (__cexpf): Likewise.
36849         * math/s_cexpl.c (__cexpl): Likewise.
36850         * math/libm-test.inc (cexp_test): Add more tests.
36852 2013-04-03  Andreas Schwab  <schwab@suse.de>
36854         [BZ #15330]
36855         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36856         order arrays from heap if bigger than alloca cutoff.
36858 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36860         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36861         (SNAN_TESTS_double): Refer to GCC PR56831.
36862         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36863         GCC PR56828.
36865 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36867         * Rules (bench): Move bench.out after the run is complete.
36869         * Rules (bench): Echo currently running benchmark.
36871         * benchtests/Makefile (bench): Add atan and slowatan.
36872         * benchtests/atan-inputs: New file.
36873         * benchtests/slowatan-inputs: New file.
36874         * benchtests/slowatan.c: New file.
36876         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36877         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36878         its value.
36880         [BZ #15305]
36881         * sysdeps/unix/sysv/linux/kernel-features.h
36882         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36883         __ASSUME_XFS_RESTRICTED_CHOWN.
36884         * sysdeps/unix/sysv/linux/pathconf.c
36885         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36886         Save and restore errno.
36888 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36890         [BZ #15327]
36891         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36892         arguments using __kernel_casinh.
36893         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36894         arguments using __kernel_casinhf.
36895         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36896         arguments using __kernel_casinhl.
36897         * math/libm-test.inc (cacosh_test): Add more tests.
36898         * sysdeps/i386/fpu/libm-test-ulps: Update.
36899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36901 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36903         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36904         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36906         * bench/Makefile (bench): Add sin and slowsin.
36907         * benchtests/sin-inputs: New file.
36908         * benchtests/slowsin-inputs: New file.
36909         * benchtests/slowsin.c: New file.
36911         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36912         (bench): Add slowexp and slowpow.
36913         (exp-ITER): Increase iterations.
36914         (pow-ITER): Likewise.
36915         * benchtests/exp-inputs: Change input.
36916         * benchtests/pow-inputs: Likewise.
36917         * benchtests/slowexp-inputs: New file.
36918         * benchtests/slowexp.c: New file.
36919         * benchtests/slowpow-inputs: New file.
36920         * benchtests/slowpow.c: New file.
36922 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36924         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36925         instructions.
36926         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36927         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36928         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36929         * benchtests/Makefile: Add rint benchtest.
36930         * benchtests/rint-inputs: Input for rint benchtest.
36932 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36934         * Versions.def (libm): Add GLIBC_2.18.
36935         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36936         hidden libm prototypes.
36937         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36938         * math/Makefile (libm-calls): Add s_issignaling.
36939         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36940         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36941         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36942         declaration.
36943         * math/math.h [__USE_GNU] (issignaling): New macro.
36944         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36945         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36946         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36947         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36948         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36949         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36950         * manual/arith.texi (issignaling): New section.
36951         * manual/libm-err-tab.pl (@all_functions): Update comment.
36952         * math/gen-libm-test.pl (parse_args): Apply special handling for
36953         issignaling.
36954         * math/libm-test.inc (print_float, issignaling_test): New
36955         functions.
36956         (check_float_internal): Add issignaling checks.
36957         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36958         default definition.
36959         * sysdeps/powerpc/math-tests.h: New file.
36960         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36961         tests.
36962         * math/test-snan.c (TEST_FUNC): Likewise.
36964 2013-03-30  David S. Miller  <davem@davemloft.net>
36966         * po/de.po: Update from translation team.
36968 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36970         [BZ #10357]
36971         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36972         imaginary part less than 1.0 and real part less than 0.5
36973         specially.
36974         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36975         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36976         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36977         (cacos_test): Add more tests.
36978         (casin_test): Likewise.
36979         (casinh_test): Likewise.
36980         * sysdeps/i386/fpu/libm-test-ulps: Update.
36981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36983 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36985         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36986         ONE with its value.
36988         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36989         (__pow_mp): Replace ONE and MONE with their values.
36990         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36991         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36992         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36993         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36994         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36995         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36997         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36999         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
37000         (__pow_mp): Replace ZERO and MZERO with their values.
37001         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37002         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37003         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37004         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37005         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37006         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
37007         (__sqr): Likewise.
37009         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
37011         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
37013 2013-03-28  Roland McGrath  <roland@hack.frob.com>
37015         * include/stdlib.h [!SHARED] (__call_tls_dtors):
37016         Declare with __attribute__ ((weak)).
37017         * stdlib/exit.c (__libc_atexit) [!SHARED]:
37018         Call __call_tls_dtors only if it's not NULL.
37020 2013-03-28  Roland McGrath  <roland@hack.frob.com>
37022         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
37023         didn't do it already, then set _dl_phdr and _dl_phnum based on the
37024         magic __ehdr_start linker symbol if it's defined.
37025         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
37026         them up here if it was already done.
37028         * elf/dl-support.c (_dl_phdr): Make pointer to const.
37029         (_dl_aux_init): Use const in cast when setting it.
37030         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
37031         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
37032         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
37034         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
37035         Declare them here.
37036         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
37037         * csu/libc-tls.c: Nor here.
37038         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
37040         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
37041         (__libc_message): Never call vsyslog.
37043 2013-03-28  Alan Modra  <amodra@gmail.com>
37045         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
37046         Define as empty.
37047         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
37048         Likewise.
37050 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37052         [BZ #15214]
37053         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
37054         underflow.
37055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37057 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37059         [BZ #15304]
37060         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37061         Don't add gid passed as argument.
37063         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
37065 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
37067         [BZ #15307]
37068         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37069         imaginary part between 1.0 and 1.5 and real part less than 0.5
37070         specially.
37071         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37072         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37073         * math/libm-test.inc (cacos_test): Add more tests.
37074         (casin_test): Likewise.
37075         (casinh_test): Likewise.
37076         * sysdeps/i386/fpu/libm-test-ulps: Update.
37077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37079 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37081         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
37082         constants.
37083         (norm): Likewise.
37084         (denorm): Likewise.
37085         (__dbl_mp): Likewise.
37086         (add_magnitudes): Likewise.
37087         (sub_magnitudes): Likewise.
37088         (__add): Likewise.
37089         (__sub): Likewise.
37090         (__mul): Likewise.
37091         (__sqr): Likewise.
37092         (__inv): Likewise.
37093         (__dvd): Likewise.
37095         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
37096         commented code.
37097         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
37098         (__dubcos): Likewise.
37099         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
37100         (__ieee754_acos): Likewise.
37101         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37102         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
37103         (__exp1): Likewise.
37104         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37105         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37106         (log1): Likewise.
37107         (my_log2): Likewise.
37108         (checkint): Likewise.
37109         * sysdeps/ieee754/dbl-64/e_remainder.c
37110         (__ieee754_remainder): Likewise.
37111         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37112         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
37113         (bsloww): Likewise.
37114         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37116         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37117         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
37118         MANTISSA_STORE_T to store computations on mantissa.  Use
37119         macros for rounding and division.
37120         (denorm): Likewise.
37121         (__dbl_mp): Likewise.
37122         (add_magnitudes): Likewise.
37123         (sub_magnitudes): Likewise.
37124         (__mul): Likewise.
37125         (__sqr): Likewise.
37126         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37127         powers of two in terms of TWOPOW macro.
37128         (mp_no): Make type of mantissa as MANTISSA_T.
37129         [!RADIXI]: Define RADIXI.
37130         [!TWO52]: Define TWO52.
37131         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37133 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37135         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
37136         llroundl symbol when building for PPC32.
37138 2013-03-24  Mark H Weaver  <mhw@netris.org>
37140         * manual/arith.texi (Normalization Functions): Fix prototypes for
37141         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
37143 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37145         [BZ #13889]
37146         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
37147         high value to check if expl overflow.
37148         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
37149         to check for underflow and overflow.
37150         * math/libm-test.inc: Add exp test.
37152 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
37154         [BZ #11120]
37155         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
37156         with NOT_IN_libc.
37158 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37160         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
37161         symbol.
37163 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37165         * math/gen-libm-test.pl (parse_args, special_functions): Properly
37166         wrap blocks consisting of several statements.
37168         * sysdeps/generic/math-tests.h: New file.
37169         * sysdeps/i386/fpu/math-tests.h: Likewise.
37170         * math/test-snan.c: Include it.
37171         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
37173 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37175         [BZ #15285]
37176         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
37177         (__ieee754_j0l): Do not improve calculations using cos of twice
37178         input for inputs above LDBL_MAX / 2.0L.
37179         (__ieee754_y0l): Likewise.
37180         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
37181         (__ieee754_j1l): Do not improve calculations using cos of twice
37182         input for inputs above LDBL_MAX / 2.0L.
37183         (__ieee754_y1l): Likewise.
37184         * math/libm-test.inc (j0_test): Add another test.
37185         (j1_test): Likewise.
37186         (y0_test): Likewise.
37187         (y1_test): Likewise.
37188         * sysdeps/i386/fpu/libm-test-ulps: Update.
37190 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37192         * Rules ($(objpfx)bench-%.c): Include code from a C source
37193         file.
37195 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37197         [BZ #15287]
37198         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37199         imaginary part 1.0 and real part less than 0.5 specially.
37200         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37201         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37202         * math/libm-test.inc (cacos_test): Add more tests.
37203         (casin_test): Likewise.
37204         (casinh_test): Likewise.
37205         * sysdeps/i386/fpu/libm-test-ulps: Update.
37206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37208 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37210         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
37211         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
37213 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
37215         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
37216         * config.make.in (config-cflags-sse4): Remove variable.
37217         (config-cflags-avx): Likewise.
37218         (config-cflags-sse2avx): Likewise.
37219         (config-cflags-novzeroupper): Likewise.
37220         (config-asflags-i686): Likewise.
37221         (have-mfma4): Likewise.
37222         (have-as-vis3): Likewise.
37223         (MIG): Likewise.
37224         * configure.in (MIG): Do not AC_SUBST.
37225         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
37226         (libc_cv_cc_sse4): Do not AC_SUBST.
37227         (libc_cv_cc_avx): Likewise.
37228         (libc_cv_cc_sse2avx): Likewise.
37229         (libc_cv_cc_novzeroupper): Likewise.
37230         (libc_cv_cc_fma4): Likewise.
37231         (libc_cv_as_i686): Likewise.
37232         (libc_cv_sparc_as_vis3): Likewise.
37233         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
37234         LIBC_CONFIG_VAR.
37235         (config-asflags-i686): Likewise.
37236         (config-cflags-avx): Likewise.
37237         (config-cflags-sse2avx): Likewise.
37238         (have-mfma4): Likewise.
37239         (config-cflags-novzeroupper): Likewise.
37240         * sysdeps/mach/configure.in (MIG): Likewise.
37241         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
37242         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
37243         LIBC_CONFIG_VAR.
37244         (config-cflags-avx): Likewise.
37245         (config-cflags-sse2avx): Likewise.
37246         (have-mfma4): Likewise.
37247         (config-cflags-novzeroupper): Likewise.
37248         * configure: Regenerated.
37249         * sysdeps/i386/configure: Likewise.
37250         * sysdeps/mach/configure: Likewise.
37251         * sysdeps/sparc/configure: Likewise.
37252         * sysdeps/x86_64/configure: Likewise.
37254 2013-03-20  Roland McGrath  <roland@hack.frob.com>
37256         [BZ #14812]
37257         * locale/programs/localedef.c (options): Put N_ translation marker
37258         on argument names, not just descriptions.
37260 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37262         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
37264 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
37266         [BZ #14176]
37267         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
37269 2013-03-19  Roland McGrath  <roland@hack.frob.com>
37271         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
37272         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
37273         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
37274         [!BEFORE_ABORT] (before_abort): New function.
37275         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
37276         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
37277         (writev_for_fatal): New function.
37278         (WRITEV_FOR_FATAL): New macro; call that.
37279         (backtrace_and_maps): New function.
37280         (BEFORE_ABORT): New macro; call that.
37281         (struct str_list): Type removed.
37282         (__libc_message, __libc_fatal): Functions removed.
37283         Include <sysdeps/posix/libc_fatal.c> instead.
37285 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
37287         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
37288         constants.
37289         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
37290         double constants.
37292 2013-03-19  Andreas Schwab  <schwab@suse.de>
37294         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
37295         * sysdeps/gnu/configure: Regenerate.
37297         * configure.in: Substitute libc_cv_rtlddir.
37298         * configure: Regenerate.
37299         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
37300         * Makeconfig (rtlddir, inst_rtlddir): New variables.
37301         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
37302         * elf/Makefile (install-others, CFLAGS-interp.c)
37303         (ldso_install, common-ldd-rewrite): Likewise.
37304         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
37305         $(inst_slibdir)/$(rtld-installed-name).
37306         * scripts/rellns-sh: Add -p option.
37307         * Makerules (make-shlib-link): Use rellns-sh to get relative name
37308         for source.
37310 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37312         * manual/nptl.texi: Renamed to ...
37313         * manual/threads.texi: ... this.
37314         * manual/Makefile (chapters): Update.
37316 2013-03-18  Roland McGrath  <roland@hack.frob.com>
37318         [BZ #14812]
37319         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
37320         on argument names, not just descriptions.
37321         * malloc/memusagestat.c (options): Likewise.
37322         * nss/getent.c (options): Likewise.
37324 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
37326         [BZ #14812]
37327         * iconv/iconv_prog.c (options): Put N_ translation marker
37328         on argument names, not just descriptions.
37329         * iconv/iconvconfig.c (options): Likewise.
37331 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
37333         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
37334         implementation which is faster on all x86_64 architectures.
37335         Tested on AMD, Intel Nehalem, SNB, IVB.
37336         * sysdeps/x86_64/strnlen.S: Likewise.
37338         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37339         Remove all multiarch strlen and strnlen versions.
37340         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37341         Remove strlen and strnlen related parts.
37343         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
37344         Inline strlen part.
37345         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37347         * sysdeps/x86_64/multiarch/strlen.S: Remove.
37348         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
37349         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
37350         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
37351         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37352         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
37354 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
37356         * manual/memory.texi (Malloc Tunable Parameters):
37357         Sort parameters alphabetically. Add comments for missing entries.
37359 2013-03-17  David S. Miller  <davem@davemloft.net>
37361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37363 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
37365         [BZ #15283]
37366         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
37367         for arguments at most half maximum finite value.
37368         * math/libm-test.inc (j0_test): Add more tests.
37369         (j1_test): Likewise.
37370         (y0_test): Likewise.
37371         (y1_test): Likewise.
37372         * sysdeps/i386/fpu/libm-test-ulps: Update.
37373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37375         [BZ #14155]
37376         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
37377         1 / x and functions P and Q for arguments above 0x1p256L.
37378         (__ieee754_y0l): Likewise.
37379         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
37380         (__ieee754_y1l): Likewise.
37381         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
37382         (j1_test): Likewise.
37383         (y0_test): Likewise.
37384         (y1_test): Likewise.
37386 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
37388         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
37389         variable.
37391 2013-03-15  Roland McGrath  <roland@hack.frob.com>
37393         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
37394         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
37395         zero since it's initialized to EXEC_PAGESIZE.
37397         * sysdeps/unix/sysv/linux/ldsodefs.h
37398         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
37399         * sysdeps/generic/ldsodefs.h: ... here.
37401 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
37403         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
37405         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
37406         math/test-snan.c.
37407         * math/test-snan.c: Renamed from
37408         sysdeps/powerpc/fpu/test-powerpc-snan.c.
37409         * math/Makefile (tests): Add test-snan.
37410         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
37411         test-powerpc-snan.
37413         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
37414         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
37415         functions.
37416         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
37417         __builtin_nan family of functions.
37418         * math/libm-test.inc (initialize): Initialize qnan_value with
37419         __builtin_nan family of functions.
37420         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
37421         Remove variables.
37422         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
37423         Remove functions.
37424         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
37425         storage class.  Initialize qNaN_var and sNaN_var with
37426         __builtin_nan and __builtin_nans families of functions,
37427         respectively.
37429         * math/libm-test.inc (acosh_test): Also test with qNaN input.
37430         (sqrt_test): Remove duplicate test with qNaN input.
37431         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
37432         (round_test, signbit_test, significand_test): Note missing +/-Inf
37433         as well as qNaN tests.
37435         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
37436         qNaN_var.  Fix a few strings, too.
37437         * math/libm-test.inc (nan_value): Rename to qnan_value.
37438         * math/gen-libm-test.pl (%beautify): Adjust to that.
37439         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
37440         * math/test-misc.c (main): Likewise.
37441         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
37442         to __qnan_bytes, and __qnan_union, respectively.
37443         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
37444         Likewise.
37445         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
37446         and lqnanval, respectively.
37447         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
37448         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
37449         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
37450         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
37452         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
37453         * math/test-misc.c (main) [__x86_64__]: Enable test for long
37454         doubles.
37456         * math/test-misc.c (main): Fix copy'n'pastos.
37457         * misc/tst-efgcvt.c (special): Likewise.
37459         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
37460         Remove declarations.
37462 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37464         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
37465         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
37466         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
37467         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
37469 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37471         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
37472         macro to return vdso values correctly in IFUNC implementations.
37473         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37474         Optimization by using IFUNC.
37476 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37477             Richard Henderson  <rth@redhat.com>
37478             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37480         * Makefile.in (bench): New target.
37481         * NEWS: Mention the benchmark framework.
37482         * Rules (bench): Likewise.
37483         (binaries-bench): Generate binaries for functions to
37484         benchmark.
37485         * benchtests/Makefile: New makefile for benchmark tests.
37486         * benchtests/bench-skeleton.c: New skeleton file for benchmark
37487         programs.
37488         * benchtests/exp-inputs: New input file for EXP function.
37489         * benchtests/pow-inputs: New input file for POW function.
37490         * scripts/bench.pl: New script to generate source files for
37491         benchmark programs.
37493 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37495         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37496         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
37497         computations on mantissa.  Use macros for rounding and
37498         division.
37499         (denorm): Likewise.
37500         (__dbl_mp): Likewise.
37501         (add_magnitudes): Likewise.
37502         (sub_magnitudes): Likewise.
37503         (__mul): Likewise.
37504         (__sqr): Likewise.
37505         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37506         powers of two in terms of TWOPOW macro.
37507         (mp_no): Make type of mantissa as MANTISSA_T.
37508         [!RADIXI]: Define RADIXI.
37509         [!TWO52]: Define TWO52.
37510         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37512         * manual/nptl.texi (cindex): Modify threads to pthreads.
37514 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
37516         * sysdeps/x86_64/preconfigure: Regenerated.
37518 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
37520         [BZ #14155]
37521         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
37522         0x1p28 and above.
37523         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
37524         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
37525         0x1p28 and above.
37526         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
37527         * math/libm-test.inc (j0_test): Do not allow one spurious
37528         underflow exception.
37529         (y1_test): Likewise.
37531 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37533         * manual/Makefile (chapters): Add nptl.
37534         * manual/debug.texi (Debugging Support): Add link to Threads
37535         chapter.
37536         * manual/nptl.texi: New file.
37538         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
37540 2013-03-14  Petr Baudis  <pasky@ucw.cz>
37542         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
37543         for non-NULL pointer before the memory validity test. Pointed
37544         out by Holger Brunck <holger.brunck@keymile.com>.
37546 2013-03-13  Andreas Schwab  <schwab@suse.de>
37548         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
37549         instead of .os.
37551 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
37553         * timezone/zic.c: Update from tzcode 2013b.
37555 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
37557         * manual/install.texi (Configuring and compiling):
37558         Mention i686 and i586.
37559         * INSTALL: Regenerate.
37561 2013-03-12  Roland McGrath  <roland@hack.frob.com>
37563         * sysdeps/init_array/elf-init.c: New file.
37564         * csu/elf-init.c
37565         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
37566         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
37568         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
37569         __gmon_start__ as global, but as static with a .preinit_array pointer.
37570         * sysdeps/init_array/gmon-start.c: New file.  Use that.
37571         * sysdeps/init_array/crti.S: New file, empty except for comments.
37572         * sysdeps/init_array/crtn.S: Likewise.
37574 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
37576         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
37577         definining bcopy.
37578         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37579         Remove Prefer_SSE_for_memop.
37580         * sysdeps/x86_64/multiarch/init-arch.h: Remove
37581         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
37582         HAS_PREFER_SSE_FOR_MEMOP.
37583         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
37584         memset-x86-64.
37585         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37586         Remove bzero, memset ifunc support.
37587         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
37588         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
37589         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37590         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37592 2013-03-11  Andreas Schwab  <schwab@suse.de>
37594         [BZ #15234]
37595         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
37596         by SHLIB_COMPAT.
37597         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
37598         (GLIBC_2.16): Remove pthread_atfork.
37600 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37602         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
37603         (ptestcases.h): Likewise.
37605 2013-03-08  Roland McGrath  <roland@hack.frob.com>
37607         * Makeconfig ($(common-objpfx)config.status): Depend on
37608         sysdeps/*/preconfigure{,.in} too.
37610 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
37612         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
37613         (__free_hook): Use void * instead of __malloc_ptr_t.
37614         (__malloc_hook): Likewise.
37615         (__realloc_hook): Likewise.
37616         (__memalign_hook): Likewise.
37617         (__after_morecore_hook): Likewise.
37618         * malloc/arena.c (save_malloc_hook): Likewise.
37619         (save_free_hook): Likewise.
37620         * malloc/hooks.c (malloc_hook_ini): Likewise.
37621         (realloc_hook_ini): Likewise.
37622         (memalign_hook_ini): Likewise.
37623         * malloc/malloc.c (malloc_hook_ini): Likewise.
37624         (realloc_hook_ini): Likewise.
37625         (memalign_hook_ini): Likewise.
37626         (__free_hook): Likewise.
37627         (__malloc_hook): Likewise.
37628         (__realloc_hook): Likewise.
37629         (__memalign_hook): Likewise.
37630         (__libc_malloc): Likewise.
37631         (__libc_free): Likewise.
37632         (__libc_realloc): Likewise.
37633         (__libc_memalign): Likewise.
37634         (__libc_valloc): Likewise.
37635         (__libc_pvalloc): Likewise.
37636         (__libc_calloc): Likewise.
37637         (__posix_memalign): Likewise.
37638         * malloc/morecore.c (__sbrk): Likewise.
37639         (__default_morecore): Likewise.
37641         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
37643         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
37644         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
37645         __malloc_ptrdiff_t.
37647         * malloc/malloc.h (__malloc_size_t): Remove macro.
37648         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
37649         __malloc_size_t.
37650         (old_memalign_hook): Likewise.
37651         (old_realloc_hook): Likewise.
37652         (struct hdr): Likewise.
37653         (flood): Likewise.
37654         (mallochook): Likewise.
37655         (memalignhook): Likewise.
37656         (reallochook): Likewise.
37657         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
37658         (tr_old_realloc_hook): Likewise.
37659         (tr_old_memalign_hook): Likewise.
37660         (tr_mallochook): Likewise.
37661         (tr_reallochook): Likewise.
37662         (tr_memalignhook): Likewise.
37664 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37666         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
37667         default_ldbl_pack and using as default implementation.
37668         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
37669         implementation.
37670         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37671         redundant definition.
37672         (ldbl_insert_mantissa): Likewise.
37673         (ldbl_canonicalize): Likewise.
37674         (ldbl_nearbyint): Likewise.
37675         (ldbl_pack): Rename to ldbl_pack_ppc.
37676         (ldbl_unpack): Rename to ldbl_unpack_ppc.
37677         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37678         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37680 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37682         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37683         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37684         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37685         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37686         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37687         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37688         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37689         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37691 2013-03-07  Andreas Jaeger  <aj@suse.de>
37693         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37694         bits/mman-linux.h.
37696 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37698         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37699         Include mpa.h and declare __MPEXP.
37700         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37701         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37702         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37703         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37704         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37705         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37706         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37708         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37709         (__slowpow): Use long double EXPL and LOGL functions to
37710         compute POW.
37711         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37712         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37713         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37714         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37715         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37716         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37718         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37719         intermediate variable to calculate exponent.
37720         (__sqr): Likewise.
37721         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37722         Likewise.
37723         (__sqr): Likewise.
37725         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37726         [!NO__SQR]: Define __sqr.
37727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37728         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37729         sysdeps/ieee754/dbl-64/mpa.c.
37730         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37732         [BZ #12723]
37733         * posix/Makefile (tests): Add tst-pathconf.
37734         * posix/tst-pathconf.c: New test case.
37735         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37736         _PC_PIPE_BUF.
37737         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37739 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37741         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37743 2013-03-06  Andreas Jaeger  <aj@suse.de>
37745         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37746         definition via __MAP_ANONYMOUS.
37748         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37749         it's not part of Linux headers.
37751         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37752         (MAP_HUGE_MASK): Define.
37754         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37755         Define.
37756         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37757         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37758         Define.
37759         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37760         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37761         Define.
37762         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37763         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37764         Define.
37765         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37767         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37768         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37769         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37770         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37771         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37772         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37774         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37775         Handle f2fs.
37777         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37778         Handle f2fs and efivarfs.
37780         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37781         f2fs.
37783         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37784         (EFIVARFS_MAGIC): Add.
37785         (F2FS_LINK_MAX): Add.
37787 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37789         * stdio-common/vfprintf.c: Replace __builtin_expect with
37790         __glibc_unlikely.
37792 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37794         [BZ #13550]
37795         * sysdeps/generic/bp-sym.h: Remove file.
37796         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37797         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37798         <bp-sym.h> and <bp-asm.h>.
37799         (__longjmp): Don't use BP_SYM.
37800         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37801         and <bp-asm.h>.
37802         (memcpy): Don't use BP_SYM.
37803         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37804         <bp-sym.h> and <bp-asm.h>.
37805         (memcpy): Don't use BP_SYM.
37806         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37807         <bp-asm.h>.
37808         (memcpy): Don't use BP_SYM.
37809         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37810         <bp-asm.h>.
37811         (memset): Don't use BP_SYM.
37812         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37813         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37814         (__bzero): Don't use BP_SYM.
37815         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37816         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37817         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37818         <bp-sym.h> and <bp-asm.h>.
37819         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37820         pointers.
37821         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37822         <bp-sym.h> and <bp-asm.h>.
37823         (memcpy): Don't use BP_SYM.
37824         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37825         <bp-sym.h> and <bp-asm.h>.
37826         (memset): Don't use BP_SYM.
37827         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37828         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37829         (__bzero): Don't use BP_SYM.
37830         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37831         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37832         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37833         <bp-sym.h> and <bp-asm.h>.
37834         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37835         pointers.
37836         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37837         <bp-sym.h> and <bp-asm.h>.
37838         (memcpy): Don't use BP_SYM.
37839         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37840         <bp-sym.h> and <bp-asm.h>.
37841         (memset): Don't use BP_SYM.
37842         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37843         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37844         (__bzero): Don't use BP_SYM.
37845         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37846         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37847         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37848         <bp-sym.h> and <bp-asm.h>.
37849         (__memchr): Don't use BP_SYM.
37850         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37851         <bp-sym.h> and <bp-asm.h>.
37852         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37853         pointers.
37854         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37855         <bp-sym.h> and <bp-asm.h>.
37856         (memcpy): Don't use BP_SYM.
37857         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37858         <bp-sym.h> and <bp-asm.h>.
37859         (__mempcpy): Don't use BP_SYM.
37860         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37861         <bp-sym.h> and <bp-asm.h>.
37862         (__memrchr): Don't use BP_SYM.
37863         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37864         <bp-sym.h> and <bp-asm.h>.
37865         (memset): Don't use BP_SYM.
37866         (__bzero): Likewise.
37867         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37868         <bp-sym.h> and <bp-asm.h>.
37869         (__rawmemchr): Don't use BP_SYM.
37870         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37871         <bp-sym.h> and <bp-asm.h>.
37872         (__STRCMP): Don't use BP_SYM.
37873         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37874         <bp-sym.h> and <bp-asm.h>.
37875         (strchr): Don't use BP_SYM.
37876         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37877         <bp-sym.h> and <bp-asm.h>.
37878         (__strchrnul): Don't use BP_SYM.
37879         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37880         <bp-sym.h> and <bp-asm.h>.
37881         (strlen): Don't use BP_SYM.
37882         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37883         <bp-sym.h> and <bp-asm.h>.
37884         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37885         pointers.
37886         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37887         <bp-sym.h> and <bp-asm.h>.
37888         (__strnlen): Don't use BP_SYM.
37889         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37890         <bp-sym.h> and <bp-asm.h>.
37891         (__GI__setjmp): Don't use BP_SYM.
37892         (_setjmp): Likewise.
37893         (__sigsetjmp): Likewise.
37894         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37895         (L(start_addresses)): Don't use BP_SYM.
37896         (_start): Likewise.
37897         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37898         <bp-asm.h>.
37899         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37900         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37901         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37902         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37903         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37904         <bp-asm.h>.
37905         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37906         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37907         about bounded pointers.
37908         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37909         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37910         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37911         <bp-asm.h>.
37912         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37913         about bounded pointers.  Remove GKM FIXME comments.
37914         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37915         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37916         <bp-asm.h>.
37917         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37918         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37919         Remove GKM FIXME comments.
37920         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37921         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37922         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37923         <bp-asm.h>.
37924         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37925         about bounded pointers.  Remove GKM FIXME comment.
37926         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37927         and <bp-asm.h>.
37928         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37929         pointers.
37930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37931         <bp-sym.h> and <bp-asm.h>.
37932         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37934         <bp-sym.h> and <bp-asm.h>.
37935         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37936         comment.
37938 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37940         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37941         call free(NULL).
37943 2013-03-05  David S. Miller  <davem@davemloft.net>
37945         * po/es.po: Update from translation team.
37947 2013-03-05  Andreas Jaeger  <aj@suse.de>
37949         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37950         <bits/mman-linux.h>.
37951         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37952         is fine.
37953         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37954         <bits/mman-linux.h> to end of file.
37955         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37956         is fine.
37957         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37958         <bits/mman-linux.h> to end of file.
37959         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37960         is fine.
37961         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37962         <bits/mman-linux.h> to end of file.
37964         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37965         (MCL_CURRENT, MCL_FUTURE): Define here.
37967 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37969         [BZ #15232]
37970         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37971         attribute_hidden.
37972         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37974 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37976         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37977         fourth parameter needed for rt_sigprocmask syscall.
37978         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37979         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37980         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37981         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37982         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37983         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37985 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37987         [BZ #13550]
37988         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37989         comment about bounded pointers.
37990         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37991         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37993 2013-03-04  Andreas Jaeger  <aj@suse.de>
37995         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37996         common definitions.
37998         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37999         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
38000         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
38001         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38002         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38003         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38005 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38007         [BZ #15055]
38008         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38009         __ieee754_sqrl instead of __sqrl.
38011 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
38013         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
38014         * sysdeps/powerpc/fpu_control.h: ... here.
38015         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
38016         * sysdeps/powerpc/bits/fenvinline.h: ... here.
38017         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
38018         * sysdeps/powerpc/bits/mathinline.h: ... here.
38020 2013-03-01  Roland McGrath  <roland@hack.frob.com>
38022         * elf/dl-hwcaps.c (_dl_important_hwcaps):
38023         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
38024         to just [NEED_DL_SYSINFO_DSO].
38025         * elf/dl-support.c: Likewise.
38026         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38027         * elf/rtld.c (dl_main): Likewise.
38028         * elf/setup-vdso.h (setup_vdso): Likewise.
38029         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
38030         * sysdeps/unix/sysv/linux/dl-sysdep.c
38031         (_dl_discover_osversion): Likewise.
38033 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
38035         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
38036         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38038 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
38040         * NEWS: Mention libm performance improvements and non-x86 PI
38041         futex support.
38043         * csu/libc-start.c (__pthread_initialize_minimal): Change
38044         function arguments.
38045         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38047 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
38049         [BZ #13550]
38050         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
38051         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
38052         <bp-sym.h> and <bp-asm.h>.
38053         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38054         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
38055         and <bp-asm.h>.
38056         (memcpy): Don't use BP_SYM.
38057         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
38058         <bp-asm.h>.
38059         (__mpn_add_n): Don't use BP_SYM.
38060         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
38061         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
38062         and <bp-asm.h>.
38063         (__mpn_addmul_1): Don't use BP_SYM.
38064         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38065         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
38066         <bp-sym.h>.
38067         (_setjmp): Don't use BP_SYM.
38068         (__novmx_setjmp): Likewise.
38069         (__GI__setjmp): Likewise.
38070         (__vmx_setjmp): Likewise.
38071         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
38072         <bp-sym.h>.
38073         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
38074         (__bzero): Don't use BP_SYM.
38075         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38076         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38077         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
38078         <bp-sym.h> and <bp-asm.h>.
38079         (memcpy): Don't use BP_SYM.
38080         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
38081         <bp-sym.h> and <bp-asm.h>.
38082         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38083         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
38084         <bp-sym.h> and <bp-asm.h>.
38085         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38086         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
38087         <bp-asm.h>.
38088         (__mpn_lshift): Don't use BP_SYM.
38089         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38090         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
38091         <bp-asm.h>.
38092         (memset): Don't use BP_SYM.
38093         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38094         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38095         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
38096         <bp-asm.h>.
38097         (__mpn_mul_1): Don't use BP_SYM.
38098         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38099         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
38100         <bp-sym.h> and <bp-asm.h>.
38101         (memcmp): Don't use BP_SYM.
38102         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
38103         <bp-sym.h> and <bp-asm.h>.
38104         (memcpy): Don't use BP_SYM.
38105         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
38106         <bp-sym.h> and <bp-asm.h>.
38107         (memset): Don't use BP_SYM.
38108         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
38109         <bp-sym.h> and <bp-asm.h>.
38110         (strncmp): Don't use BP_SYM.
38111         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
38112         <bp-sym.h> and <bp-asm.h>.
38113         (memcpy): Don't use BP_SYM.
38114         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
38115         <bp-sym.h> and <bp-asm.h>.
38116         (memset): Don't use BP_SYM.
38117         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
38118         <bp-sym.h> and <bp-asm.h>.
38119         (__memchr): Don't use BP_SYM.
38120         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
38121         <bp-sym.h> and <bp-asm.h>.
38122         (memcmp): Don't use BP_SYM.
38123         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
38124         <bp-sym.h> and <bp-asm.h>.
38125         (memcpy): Don't use BP_SYM.
38126         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
38127         <bp-sym.h> and <bp-asm.h>.
38128         (__mempcpy): Don't use BP_SYM.
38129         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
38130         <bp-sym.h> and <bp-asm.h>.
38131         (__memrchr): Don't use BP_SYM.
38132         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
38133         <bp-sym.h> and <bp-asm.h>.
38134         (memset): Don't use BP_SYM.
38135         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
38136         <bp-sym.h> and <bp-asm.h>.
38137         (__rawmemchr): Don't use BP_SYM.
38138         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
38139         <bp-sym.h> and <bp-asm.h>.
38140         (__STRCMP): Don't use BP_SYM.
38141         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
38142         <bp-sym.h> and <bp-asm.h>.
38143         (strchr): Don't use BP_SYM.
38144         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
38145         <bp-sym.h> and <bp-asm.h>.
38146         (__strchrnul): Don't use BP_SYM.
38147         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
38148         <bp-sym.h> and <bp-asm.h>.
38149         (strlen): Don't use BP_SYM.
38150         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
38151         <bp-sym.h> and <bp-asm.h>.
38152         (strncmp): Don't use BP_SYM.
38153         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
38154         <bp-sym.h> and <bp-asm.h>.
38155         (__strnlen): Don't use BP_SYM.
38156         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
38157         <bp-asm.h>.
38158         (__mpn_rshift): Don't use BP_SYM.
38159         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38160         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
38161         <bp-sym.h> and <bp-asm.h>.
38162         (__sigsetjmp): Don't use BP_SYM.
38163         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
38164         (L(start_addresses)): Don't use BP_SYM.
38165         (_start): Likewise.
38166         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
38167         <bp-asm.h>.
38168         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
38169         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38170         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38171         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
38172         <bp-asm.h>.
38173         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
38174         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38175         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38176         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
38177         <bp-asm.h>.
38178         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38179         comments.
38180         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38181         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
38182         <bp-asm.h>.
38183         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
38184         FIXME comments.
38185         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38186         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38187         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
38188         <bp-asm.h>.
38189         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38190         comment.
38191         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
38192         and <bp-asm.h>.
38193         (strncmp): Don't use BP_SYM,
38194         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
38195         <bp-asm.h>.
38196         (__mpn_sub_n): Don't use BP_SYM.
38197         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38198         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
38199         and <bp-asm.h>.
38200         (__mpn_submul_1): Don't use BP_SYM.
38201         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
38203         <bp-sym.h> and <bp-asm.h>.
38204         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
38206         <bp-sym.h> and <bp-asm.h>.
38207         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
38208         comment.
38210 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38212         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
38213         Use ZK to minimize writes to Z.
38214         (sub_magnitudes): Simplify code a bit.
38215         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
38216         Use ZK to minimize writes to Z.
38217         (sub_magnitudes): Simplify code a bit.
38219 2013-02-27  Roland McGrath  <roland@hack.frob.com>
38221         * csu/gmon-start.c: Add special exception to license text.
38223 2013-02-27  Richard Henderson  <rth@redhat.com>
38225         * scripts/config.guess: Update from config.git.
38226         * scripts/config.sub: Likewise.
38228 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38230         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
38232         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
38234         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
38236         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
38238         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
38240 2013-02-26  Roland McGrath  <roland@hack.frob.com>
38242         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
38243         [$(build-shared = yes].
38245 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38247         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
38248         (__mul): Reduce iterations for calculating mantissa.
38250         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
38251         MPTWO.
38252         (__mpranred): Likewise.
38254         [BZ #15160]
38255         * malloc/memusagestat.c (main): Draw graphs for heap and stack
38256         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
38258 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
38260         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
38261         Define __attribute__.
38263 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38265         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
38266         unused.
38267         * posix/regex_internal.h (__attribute): Remove.
38268         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
38269         (re_string_context_at): Likewise.
38270         (bitset_not): Use __attribute__ and mark function as possibly
38271         unused.
38272         (bitset_merge): Likewise.
38273         (bitset_mask): Likewise.
38274         (re_string_char_size_at): Likewise.
38275         (re_string_wchar_at): Likewise.
38276         (re_string_elem_size_at): Likewise.
38278 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38280         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
38281         code.
38282         (cc32): Likewise.
38284         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
38285         (__acr): Likewise.
38286         (__cpy): Likewise.
38287         (norm): Likewise.
38288         (denorm): Likewise.
38289         (__dbl_mp): Likewise.
38290         (add_magnitudes): Likewise.
38291         (sub_magnitudes): Likewise.
38292         (__mul): Likewise.
38293         (__inv): Likewise.
38295         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
38296         style.
38298         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
38299         style.
38301         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
38302         code.
38304         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
38305         up changes with default code.
38306         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
38307         Likewise.
38309 2013-02-24  Allan McRae  <allan@archlinux.org>
38311         * manual/socket.texi (The Internet Namespace): Order menu items
38312         to match that in the file.
38314         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
38315         node listing of the info page menu.
38317 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
38319         [BZ #13550]
38320         * sysdeps/i386/bp-asm.h: Remove file.
38321         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38322         (PARMS): Do not use macros from bp-asm.h.
38323         (S1): Likewise.
38324         (S2): Likewise.
38325         (SIZE): Likewise.
38326         (__mpn_add_n): Do not use BP_SYM
38327         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
38328         "bp-asm.h".
38329         (PARMS): Do not use macros from bp-asm.h.
38330         (S1): Likewise.
38331         (SIZE): Likewise.
38332         (__mpn_addmul_1): Do not use BP_SYM
38333         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
38334         "bp-asm.h".
38335         (PARMS): Do not use macros from bp-asm.h.
38336         (SIGMSK): Likewise.
38337         (_setjmp): Likewise.  Do not use BP_SYM.
38338         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
38339         "bp-asm.h".
38340         (PARMS): Do not use macros from bp-asm.h.
38341         (SIGMSK): Likewise.
38342         (setjmp): Likewise.  Do not use BP_SYM.
38343         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
38344         "bp-asm.h".
38345         (PARMS): Do not use macros from bp-asm.h.
38346         (__frexp): Do not use BP_SYM.
38347         (frexp): Likewise.
38348         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
38349         "bp-asm.h".
38350         (PARMS): Do not use macros from bp-asm.h.
38351         (__frexpf): Do not use BP_SYM.
38352         (frexpf): Likewise.
38353         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
38354         "bp-asm.h".
38355         (PARMS): Do not use macros from bp-asm.h.
38356         (__frexpl): Do not use BP_SYM.
38357         (frexpl): Likewise.
38358         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
38359         "bp-asm.h".
38360         (PARMS): Do not use macros from bp-asm.h.
38361         (__remquo): Do not use BP_SYM.
38362         (remquo): Likewise.
38363         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
38364         "bp-asm.h".
38365         (PARMS): Do not use macros from bp-asm.h.
38366         (__remquof): Do not use BP_SYM.
38367         (remquof): Likewise.
38368         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
38369         "bp-asm.h".
38370         (PARMS): Do not use macros from bp-asm.h.
38371         (__remquol): Do not use BP_SYM.
38372         (remquol): Likewise.
38373         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
38374         "bp-asm.h".
38375         (PARMS): Do not use macros from bp-asm.h.
38376         (DEST): Likewise.
38377         (SRC): Likewise.
38378         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
38379         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
38380         "bp-asm.h".
38381         (PARMS): Do not use macros from bp-asm.h.
38382         (strlen): Do not use BP_SYM.
38383         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
38384         "bp-asm.h".
38385         (PARMS): Do not use macros from bp-asm.h.
38386         (S1): Likewise.
38387         (S2): Likewise.
38388         (SIZE): Likewise.
38389         (__mpn_add_n): Do not use BP_SYM.
38390         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
38391         "bp-asm.h".
38392         (PARMS): Do not use macros from bp-asm.h.
38393         (S1): Likewise.
38394         (SIZE): Likewise.
38395         (__mpn_addmul_1): Do not use BP_SYM.
38396         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
38397         weak_alias.
38398         (bzero): Likewise.
38399         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
38400         "bp-asm.h".
38401         (PARMS): Do not use macros from bp-asm.h.
38402         (S): Likewise.
38403         (SIZE): Likewise.
38404         (__mpn_lshift): Do not use BP_SYM.
38405         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
38406         "bp-asm.h".
38407         (PARMS): Do not use macros from bp-asm.h.
38408         (DEST): Likewise.
38409         (SRC): Likewise.
38410         (LEN): Likewise.
38411         (memcpy): Likewise.  Do not use BP_SYM.
38412         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
38413         libc_hidden_def and weak_alias.
38414         (mempcpy): Do not use BP_SYM in weak_alias.
38415         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
38416         "bp-asm.h".
38417         (PARMS): Do not use macros from bp-asm.h.
38418         (DEST): Likewise.
38419         (LEN): Likewise.
38420         [!BZERO_P] (CHR): Likewise.
38421         (memset): Likewise.  Do not use BP_SYM.
38422         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
38423         "bp-asm.h".
38424         (PARMS): Do not use macros from bp-asm.h.
38425         (S1): Likewise.
38426         (SIZE): Likewise.
38427         (__mpn_mul_1): Do not use BP_SYM.
38428         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
38429         "bp-asm.h".
38430         (PARMS): Do not use macros from bp-asm.h.
38431         (S): Likewise.
38432         (SIZE): Likewise.
38433         (__mpn_rshift): Do not use BP_SYM.
38434         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
38435         "bp-asm.h".
38436         (PARMS): Do not use macros from bp-asm.h.
38437         (STR): Likewise.
38438         (CHR): Likewise.
38439         (strchr): Likewise.  Do not use BP_SYM.
38440         (index): Do not use BP_SYM in weak_alias.
38441         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
38442         "bp-asm.h".
38443         (PARMS): Do not use macros from bp-asm.h.
38444         (DEST): Likewise.
38445         (SRC): Likewise.
38446         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
38447         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
38448         "bp-asm.h".
38449         (PARMS): Do not use macros from bp-asm.h.
38450         (strlen): Do not use BP_SYM.
38451         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
38452         "bp-asm.h".
38453         (PARMS): Do not use macros from bp-asm.h.
38454         (S1): Likewise.
38455         (S2): Likewise.
38456         (SIZE): Likewise.
38457         (__mpn_sub_n): Do not use BP_SYM.
38458         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
38459         "bp-asm.h".
38460         (PARMS): Do not use macros from bp-asm.h.
38461         (S1): Likewise.
38462         (SIZE): Likewise.
38463         (__mpn_submul_1): Do not use BP_SYM.
38464         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
38465         "bp-asm.h".
38466         (PARMS): Do not use macros from bp-asm.h.
38467         (S1): Likewise.
38468         (S2): Likewise.
38469         (SIZE): Likewise.
38470         (__mpn_add_n): Do not use BP_SYM.
38471         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
38472         weak_alias.
38473         (bzero): Likewise.
38474         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
38475         "bp-asm.h".
38476         (PARMS): Do not use macros from bp-asm.h.
38477         (BLK2): Likewise.
38478         (LEN): Likewise.
38479         (memcmp): Do not use BP_SYM.
38480         (bcmp): Do not use BP_SYM in weak_alias.
38481         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
38482         "bp-asm.h".
38483         (PARMS): Do not use macros from bp-asm.h.
38484         (DEST): Likewise.
38485         (SRC): Likewise.
38486         (LEN): Likewise.
38487         (memcpy): Likewise.  Do not use BP_SYM.
38488         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
38489         "bp-asm.h".
38490         (PARMS): Do not use macros from bp-asm.h.
38491         (DEST): Likewise.
38492         (SRC): Likewise.
38493         (LEN): Likewise.
38494         (memmove): Likewise.  Do not use BP_SYM.
38495         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
38496         "bp-asm.h".
38497         (PARMS): Do not use macros from bp-asm.h.
38498         (DEST): Likewise.
38499         (SRC): Likewise.
38500         (LEN): Likewise.
38501         (__mempcpy): Likewise.  Do not use BP_SYM.
38502         (mempcpy): Do not use BP_SYM in weak_alias.
38503         * sysdeps/i386/i686/memset.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         (LEN): Likewise.
38508         [!BZERO_P] (CHR): Likewise.
38509         (memset): Likewise.  Do not use BP_SYM.
38510         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
38511         "bp-asm.h".
38512         (PARMS): Do not use macros from bp-asm.h.
38513         (STR2): Likewise.
38514         (strcmp): Do not use BP_SYM.
38515         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
38516         "bp-asm.h".
38517         (PARMS): Do not use macros from bp-asm.h.
38518         (STR): Likewise.
38519         (DELIM): Likewise.
38520         [USE_AS_STRTOK_R] (SAVE): Likewise.
38521         (FUNCTION): Likewise.  Do not use BP_SYM.
38522         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
38523         aliases.
38524         (strtok_r): Likewise.
38525         (__GI___strtok_r): Likewise.
38526         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38527         (PARMS): Do not use macros from bp-asm.h.
38528         (S): Likewise.
38529         (SIZE): Likewise.
38530         (__mpn_lshift): Do not use BP_SYM.
38531         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38532         (PARMS): Do not use macros from bp-asm.h.
38533         (STR): Likewise.
38534         (CHR): Likewise.
38535         (__memchr): Do not use BP_SYM.
38536         (memchr): Do not use BP_SYM in weak_alias.
38537         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38538         (PARMS): Do not use macros from bp-asm.h.
38539         (BLK2): Likewise.
38540         (LEN): Likewise.
38541         (memcmp): Do not use BP_SYM.
38542         (bcmp): Do not use BP_SYM in weak_alias.
38543         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
38544         (PARMS): Do not use macros from bp-asm.h.
38545         (S1): Likewise.
38546         (SIZE): Likewise.
38547         (__mpn_mul_1): Do not use BP_SYM.
38548         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
38549         "bp-asm.h".
38550         (PARMS): Do not use macros from bp-asm.h.
38551         (STR): Likewise.
38552         (CHR): Likewise.
38553         (__rawmemchr): Do not use BP_SYM.
38554         (rawmemchr): Do not use BP_SYM in weak_alias.
38555         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38556         (PARMS): Do not use macros from bp-asm.h.
38557         (S): Likewise.
38558         (SIZE): Likewise.
38559         (__mpn_rshift): Do not use BP_SYM.
38560         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38561         (PARMS): Do not use macros from bp-asm.h.
38562         (SIGMSK): Likewise.
38563         (__sigsetjmp): Likewise.  Do not use BP_SYM.
38564         * sysdeps/i386/start.S: Do not include "bp-sym.h".
38565         (_start): Do not use BP_SYM.
38566         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
38567         (PARMS): Do not use macros from bp-asm.h.
38568         (DEST): Likewise.
38569         (SRC): Likewise.
38570         (__stpcpy): Likewise.  Do not use BP_SYM.
38571         (stpcpy): Do not use BP_SYM in weak_alias.
38572         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
38573         "bp-asm.h".
38574         (PARMS): Do not use macros from bp-asm.h.
38575         (DEST): Likewise.
38576         (SRC): Likewise.
38577         (LEN): Likewise.
38578         (__stpncpy): Likewise.  Do not use BP_SYM.
38579         (stpncpy): Do not use BP_SYM in weak_alias.
38580         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38581         (PARMS): Do not use macros from bp-asm.h.
38582         (STR): Likewise.
38583         (CHR): Likewise.
38584         (strchr): Likewise.  Do not use BP_SYM.
38585         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
38586         "bp-asm.h".
38587         (PARMS): Do not use macros from bp-asm.h.
38588         (STR): Likewise.
38589         (CHR): Likewise.
38590         (__strchrnul): Likewise.  Do not use BP_SYM.
38591         (strchrnul): Do not use BP_SYM in weak_alias.
38592         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
38593         "bp-asm.h".
38594         (PARMS): Do not use macros from bp-asm.h.
38595         (STOP): Likewise.
38596         (strcspn): Do not use BP_SYM.
38597         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
38598         "bp-asm.h".
38599         (PARMS): Do not use macros from bp-asm.h.
38600         (STR): Likewise.
38601         (STOP): Likewise.
38602         (strpbrk): Likewise.  Do not use BP_SYM.
38603         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
38604         "bp-asm.h".
38605         (PARMS): Do not use macros from bp-asm.h.
38606         (STR): Likewise.
38607         (CHR): Likewise.
38608         (strrchr): Likewise.  Do not use BP_SYM.
38609         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
38610         (PARMS): Do not use macros from bp-asm.h.
38611         (SKIP): Likewise.
38612         (strspn): Do not use BP_SYM.
38613         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
38614         (PARMS): Do not use macros from bp-asm.h.
38615         (STR): Likewise.
38616         (DELIM): Likewise.
38617         (SAVE): Likewise.
38618         (FUNCTION): Likewise.  Do not use BP_SYM.
38619         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
38620         aliases.
38621         (strtok_r): Likewise.
38622         (__GI___strtok_r): Likewise.
38623         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38624         (PARMS): Do not use macros from bp-asm.h.
38625         (S1): Likewise.
38626         (S2): Likewise.
38627         (SIZE): Likewise.
38628         (__mpn_sub_n): Do not use BP_SYM.
38629         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
38630         "bp-asm.h".
38631         (PARMS): Do not use macros from bp-asm.h.
38632         (S1): Likewise.
38633         (SIZE): Likewise.
38634         (__mpn_submul_1): Do not use BP_SYM.
38635         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
38636         <bp-sym.h>.
38637         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
38638         and <bp-asm.h>.
38639         (PARMS): Do not use macros from bp-asm.h.
38640         (FLAGS): Likewise.
38641         (PTID): Likewise.
38642         (TLS): Likewise.
38643         (CTID): Likewise.
38644         (__clone): Do not use BP_SYM.
38645         (clone): Do not use BP_SYM in weak_alias.
38646         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
38647         and <bp-asm.h>.
38648         (PARMS): Do not use macros from bp-asm.h.
38649         (LEN): Likewise.
38650         (__mmap64): Do not use BP_SYM.
38651         (mmap64): Do not use BP_SYM in weak_alias.
38652         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38653         <bp-sym.h> and <bp-asm.h>.
38654         (PARMS): Do not use macros from bp-asm.h.
38655         (__posix_fadvise64_l64): Do not use BP_SYM.
38656         * sysdeps/unix/sysv/linux/i386/semtimedop.S
38657         (PARMS): Do not use macros from bp-asm.h.
38658         (NSOPS): Likewise.
38659         (semtimedop): Do not use BP_SYM.
38660         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
38661         and <bp-asm.h>.
38663 2013-02-21  Allan McRae  <allan@archlinux.org>
38665         * manual/message.texi (Charset conversion in gettext):
38666         Move @end statement to beginning of line.
38668 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38670         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38671         static.
38672         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38673         Likewise.
38675         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38676         (denorm): Likewise.
38677         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38678         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38680 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38682         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38683         tail-call to the resolved function if pltexit isn't needed.
38685 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38687         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38688         or Y being zero as being unlikely.
38689         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38690         Likewise.
38692 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
38694         * manual/nss.texi (System Databases and Name Service Switch):
38695         Remove frobnicate @pxref.
38697 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38699         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38700         __attribute__ ((unused)) to __attribute__ ((__unused__)).
38702 2013-02-20  Petr Machata  <pmachata@redhat.com>
38704         * elf/elf.h (R_ARM_TARGET1): New macro.
38705         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38706         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38707         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38708         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38709         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38710         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38711         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38712         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38713         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38714         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38715         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38716         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38717         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38718         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38719         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38720         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38721         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38722         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38723         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38724         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38725         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38726         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38727         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38728         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38729         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38730         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38731         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38732         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38733         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38734         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38735         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38736         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38737         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38738         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38739         (R_ARM_THM_GOT_BREL12): Likewise.
38740         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38741         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38742         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38743         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38744         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38745         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38746         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38747         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38748         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38750 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38752         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38753         __attribute_used__ to __attribute__ ((unused)).
38755 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38757         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38758         powerpc mpa.c.
38759         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38760         comment formatting.
38761         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38763 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38765         [BZ #13550]
38766         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38767         Remove macro.
38768         (ENTER): Remove both macro definitions.
38769         (LEAVE): Likewise.
38770         (CHECK_BOUNDS_LOW): Likewise.
38771         (CHECK_BOUNDS_HIGH): Likewise.
38772         (CHECK_BOUNDS_BOTH): Likewise.
38773         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38774         (RETURN_BOUNDED_POINTER): Likewise.
38775         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38776         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38777         (POP_ERRNO_LOCATION_RETURN): Likewise.
38778         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38779         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38780         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38781         macros.
38782         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38783         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38784         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38785         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38786         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38787         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38788         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38789         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38790         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38791         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38792         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38793         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38794         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38795         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38796         removed macros.
38797         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38798         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38799         macros.
38800         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38801         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38802         * sysdeps/i386/i586/memset.S (memset): Likewise.
38803         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38804         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38805         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38806         macros.
38807         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38808         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38809         Change uses of L(2) to L(out).
38810         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38811         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38812         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38813         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38814         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38815         removed macros.
38816         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38817         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38818         macros.
38819         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38820         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38821         (RETURN): Do not use macro LEAVE.
38822         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38823         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38824         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38825         * sysdeps/i386/i686/memset.S (memset): Likewise.
38826         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38827         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38828         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38829         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38830         Likewise.
38831         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38832         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38833         L(1_2) and L(1_3) into L(1).
38834         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38835         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38836         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38837         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38838         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38839         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38840         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38841         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38842         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38843         macros.
38844         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38845         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38846         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38847         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38848         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38849         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38850         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38851         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38852         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38853         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38854         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38855         * sysdeps/i386/strspn.S (strspn): Likewise.
38856         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38857         conditional code.
38858         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38859         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38860         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38861         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38862         L(1_3) into L(1_1).
38863         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38864         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38865         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38866         macros.
38867         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38869 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38871         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38872         macro.
38874 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38876         * math/atest-exp.c (exp_mpn): Remove ROUND.
38877         * math/atest-exp2.c (exp_mpn): Likewise.
38878         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38880         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38881         * stdlib/tst-tls-atexit-lib.c: Likewise.
38882         * stdlib/tst-tls-atexit.c: Likewise.
38884 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38886         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38887         and __attribute_alloc_size__.
38889 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38891         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38892         __attribute_alloc_size__.
38893         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38894         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38896 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38898         * include/programs/xmalloc.h: New file.
38899         * catgets/gencat.c: Include it.
38900         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38901         * elf/pldd.c: Likewise.
38902         * iconv/iconv_charmap.c: Likewise.
38903         * iconv/iconvconfig.c: Likewise.
38904         * iconv/strtab.c: Likewise.
38905         * locale/programs/locale.c: Likewise.
38906         * locale/programs/localedef.h: Likewise.
38907         * locale/programs/simple-hash.c: Likewise.
38908         * nscd/nscd.h: Likewise.
38909         * nss/makedb.c: Likewise.
38910         * sysdeps/generic/ldconfig.h: Likewise.
38912 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38914         * Versions.def: Add GLIBC_2.18.
38915         * include/link.h (struct link_map): New member l_tls_dtor_count.
38916         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38917         (__call_tls_dtors): Likewise.
38918         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38919         __cxa_thread_atexit_impl.
38920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38921         Likewise.
38922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38923         Likewise.
38924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38925         Likewise.
38926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38927         Likewise.
38928         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38930         Likewise.
38931         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38932         Likewise.
38933         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38935         Likewise.
38936         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38937         (tests): Add test case tst-tls-atexit.
38938         (modules-names): Add shared library for tst-tls-atexit.
38939         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38940         (GLIBC_PRIVATE): Add __call_tls_dtors.
38941         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38942         for libstdc++.
38943         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38944         * stdlib/tst-tls-atexit.c: New test case.
38945         * stdlib/tst-tls-atexit-lib.c: New test case.
38947         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38949         * elf/Versions (ld): Add _dl_find_dso_for_object.
38950         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38951         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38952         (dl_open_worker): Use _dl_find_dso_for_object.
38953         * elf/dl-sym.c (do_sym): Likewise.
38954         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38956 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38958         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38959         Syntactic changes only.
38960         (_dl_runtime_profile): Do a tail-call to the resolved function.
38962 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38964         [BZ #13550]
38965         * sysdeps/x86_64/bp-asm.h: Remove file.
38966         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38967         <bp-sym.h> and <bp-asm.h>.
38968         (__clone): Do not use BP_SYM.
38969         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38970         <bp-sym.h> and <bp-asm.h>.
38971         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38972         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38973         "bp-asm.h".
38974         (_setjmp): Do not use BP_SYM.
38975         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38976         "bp-asm.h".
38977         (setjmp): Do not use BP_SYM.
38978         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38979         libc_hidden_def.
38980         (mempcpy): Do not use BP_SYM in weak_alias.
38981         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38982         "bp-asm.h".
38983         (strchr): Do not use BP_SYM.
38984         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38985         "bp-asm.h".
38986         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38987         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38988         (_start): Do not use BP_SYM.
38989         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38990         "bp-asm.h".
38991         (strcat): Do not use BP_SYM.
38992         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38993         "bp-asm.h".
38994         (STRCMP): Do not use BP_SYM.
38995         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38996         "bp-asm.h".
38997         (STRCPY): Do not use BP_SYM.
38998         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38999         "bp-asm.h".
39000         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
39001         "bp-asm.h".
39002         (FUNCTION): Do not use BP_SYM.
39003         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
39004         weak_alias.
39005         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
39007 2013-02-17  Andreas Jaeger  <aj@suse.de>
39009         * time/Versions: Sort entries.
39010         * string/Versions: Likewise.
39011         * resolv/Versions: Likewise.
39012         * posix/Versions: Likewise.
39013         * iconv/Versions: Likewise.
39014         * elf/Versions: Likewise.
39015         * wcsmbs/Versions: Likewise.
39017 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39019         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
39020         loop termination condition.
39022         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
39023         variable to calculate EZ.
39024         (__sqr): Likewise.
39026         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
39027         the lower precision input.
39029 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
39031         [BZ #13550]
39032         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
39033         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
39034         (run-via-rtld-prefix): Do not handle %-bp tests.
39035         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
39036         (all-object-suffixes): Remove .ob.
39037         (bppfx): Remove variable.
39038         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
39039         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
39040         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
39041         [$(build-bounded) = yes] (libtype.ob): Likewise.
39042         * Makerules (elide-routines.ob): Remove variable.
39043         (do-tests-clean): Do not handle *-bp.out.
39044         (common-mostlyclean): Do not handle *-bp and *-bp.out.
39045         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
39046         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
39047         (tests): Do not include $(tests-bp.out).
39048         (xtests): Do not include $(xtests-bp.out).
39049         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
39050         [$(build-bounded) = yes] ($(addprefix
39051         $(objpfx),$(binaries-bounded))): Remove rule.
39052         ($(objpfx)%-bp.out): Remove rule.
39053         * config.make.in (build-bounded): Remove variable.
39054         * crypt/Makefile [$(build-bounded) = yes]
39055         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
39056         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
39057         append to variable.
39058         [$(build-bounded) = yes] (install-lib): Likewise.
39059         [$(build-bounded) = yes] (generated): Likewise.
39060         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
39061         Remove rule.
39062         * intl/Makefile [$(build-bounded) = yes]
39063         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
39064         * math/Makefile [$(build-bounded) = yes]
39065         ($(tests:%=$(objpfx)%-bp): Likewise.
39066         * misc/Makefile [$(build-bounded) = yes]
39067         ($(objpfx)tst-tsearch-bp): Likewise.
39068         * nptl/Makeconfig (bounded-thread-library): Remove variable.
39069         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
39070         Remove dependency.
39071         * string/Makefile (o-objects.ob): Remove variable.
39072         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
39073         (CFLAGS-.ob): Remove variable.
39074         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
39075         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
39076         both definitions of variable.
39077         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
39078         (ASFLAGS-.ob): Remove variable.
39080 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
39082         [BZ #13550]
39083         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
39084         Remove __BOUNDED_POINTERS__ from condition.
39085         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
39086         * string/bits/string2.h [!__NO_STRING_INLINES &&
39087         !__BOUNDED_POINTERS__]: Likewise.
39088         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
39089         Likewise.
39090         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
39091         Remove conditional code.
39092         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
39093         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
39094         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
39095         condition.
39097         [BZ #13550]
39098         * csu/libc-start.c: Do not include <bp-sym.h>.
39099         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
39100         * elf/dl-open.c: Do not include <bp-sym.h>.
39101         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
39102         * math/fegetenv.c: Do not include <bp-sym.h>.
39103         (fegetenv): Do not use BP_SYM in versioned symbols.
39104         * nptl/sysdeps/pthread/bits/libc-lockP.h
39105         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
39106         <bp-sym.h>.
39107         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39108         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
39109         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39110         (__pthread_mutex_destroy): Likewise.
39111         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39112         (__pthread_mutex_lock): Likewise.
39113         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39114         (__pthread_mutex_trylock): Likewise.
39115         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39116         (__pthread_mutex_unlock): Likewise.
39117         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39118         (__pthread_mutexattr_init): Likewise.
39119         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39120         (__pthread_mutexattr_destroy): Likewise.
39121         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39122         (__pthread_mutexattr_settype): Likewise.
39123         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39124         (__pthread_rwlock_init): Likewise.
39125         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39126         (__pthread_rwlock_destroy): Likewise.
39127         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39128         (__pthread_rwlock_rdlock): Likewise.
39129         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39130         (__pthread_rwlock_tryrdlock): Likewise.
39131         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39132         (__pthread_rwlock_wrlock): Likewise.
39133         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39134         (__pthread_rwlock_trywrlock): Likewise.
39135         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39136         (__pthread_rwlock_unlock): Likewise.
39137         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39138         (__pthread_key_create): Likewise.
39139         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39140         (__pthread_setspecific): Likewise.
39141         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39142         (__pthread_getspecific): Likewise.
39143         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
39144         Likewise.
39145         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39146         (_pthread_cleanup_push_defer): Likewise.
39147         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39148         (_pthread_cleanup_pop_restore): Likewise.
39149         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39150         (pthread_setcancelstate): Likewise.
39151         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
39152         <bp-sym.h>.
39153         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
39154         (memchr): Do not use BP_SYM in weak_alias.
39155         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
39156         (fegetenv): Do not use BP_SYM in versioned symbols.
39157         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
39158         (fesetenv): Do not use BP_SYM in versioned symbols.
39159         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39160         (feupdateenv): Do not use BP_SYM in versioned symbols.
39161         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39162         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39163         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
39164         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
39165         (open64): Do not use BP_SYM in weak_alias.
39166         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
39167         (fegetenv): Do not use BP_SYM in versioned symbols.
39168         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
39169         (fesetenv): Do not use BP_SYM in versioned symbols.
39170         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39171         (feupdateenv): Do not use BP_SYM in versioned symbols.
39172         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
39173         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
39174         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
39175         (feraiseexcept): Do not use BP_SYM in versioned symbols.
39176         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39177         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39178         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
39179         <bp-sym.h>.
39180         (__libc_start_main): Do not use BP_SYM.
39182 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39184         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
39185         redundant return line.
39186         (norm): Likewise.
39187         (denorm): Likewise.
39188         (dbl_mp): Likewise.
39189         (sub_magnitudes): Likewise.
39190         (__add): Likewise.
39191         (__sub): Likewise.
39192         (__mul): Likewise.
39193         (__inv): Likewise.
39194         (__dvd): Likewise.
39195         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
39196         (norm): Likewise.
39197         (denorm): Likewise.
39198         (dbl_mp): Likewise.
39199         (sub_magnitudes): Likewise.
39200         (__add): Likewise.
39201         (__sub): Likewise.
39202         (__mul): Likewise.
39203         (__inv): Likewise.
39204         (__dvd): Likewise.
39206         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
39207         instead of __mul.
39208         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39209         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
39210         (cc32): Likewise.
39212         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
39213         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
39214         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
39215         of __mul for squares.
39216         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
39217         function
39218         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
39219         Likewise.
39220         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
39221         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39223 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
39225         [BZ #13550]
39226         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
39227         code.
39228         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
39229         prototype or function definition.  Rename ubp_* variables and
39230         parameters.  Remove argv definitions conditional on
39231         [__BOUNDED_POINTERS__].
39232         * debug/backtrace.c (__backtrace): Do not use __unbounded.
39233         * elf/dl-runtime.c (_dl_fixup): Likewise.
39234         * include/set-hooks.h (RUN_HOOK): Likewise.
39235         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
39236         definition.
39237         * string/strcpy.c (strcpy): Do not use __unbounded.
39238         * sysdeps/generic/frame.h (struct layout): Likewise.
39239         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
39240         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
39241         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
39242         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
39243         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
39244         (__backtrace): Likewise.
39245         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
39246         use __ptrvalue.
39247         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
39248         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39249         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
39250         Likewise.
39251         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
39252         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
39253         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39254         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39255         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
39256         Do not use __unbounded.
39257         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
39258         Rename __unboundedrlimits parameter to rlimits in prototype.
39259         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
39260         Do not use __unbounded.
39261         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
39262         not use __ptrvalue.
39263         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39264         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
39265         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39266         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
39267         __ptrvalue or __unbounded.
39268         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
39269         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
39270         use __unbounded.
39271         (__new_msgctl): Do not use __ptrvalue.
39272         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
39273         __unbounded.
39274         (__libc_msgrcv): Do not use __ptrvalue.
39275         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
39276         startup_info): Do not use __unbounded.
39277         (__libc_start_main): Likewise.  Rename ubp_* variables and
39278         parameters.  Remove argv definitions conditional on
39279         [__BOUNDED_POINTERS__].
39280         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
39281         __ptrvalue.
39282         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
39283         use __unbounded.
39284         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
39285         or __ptrvalue.
39286         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
39287         use __unbounded.
39288         (__new_shmctl): Do not use __ptrvalue.
39289         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
39290         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
39291         Likewise.
39292         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
39293         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
39294         (__libc_sigaction): Likewise.
39295         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
39296         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
39297         Likewise.
39298         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39300 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
39302         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
39304         * string/mempcpy.c: Implement by calling memcpy.
39306 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39308         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
39310         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
39311         evaluation.
39313         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
39314         values in the mantissa.
39316         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
39317         minimize writes to Z.
39318         (sub_magnitudes): Simplify code a bit.
39320 2013-02-12  Roland McGrath  <roland@hack.frob.com>
39322         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
39323         from the message.  The linker prefixes all warnings with that already.
39325 2013-02-12  Andreas Schwab  <schwab@suse.de>
39327         [BZ #15078]
39328         * posix/regexec.c (extend_buffers): Add parameter min_len.
39329         (check_matching): Pass minimum needed length.
39330         (clean_state_log_if_needed): Likewise.
39331         (get_subexp): Likewise.
39332         * posix/Makefile (tests): Add bug-regex34.
39333         (bug-regex34-ENV): Define.
39334         * posix/bug-regex34.c: New file.
39336         [BZ #11561]
39337         * posix/regcomp.c (parse_bracket_exp): When looking up collating
39338         elements compare against the byte sequence of it, not its name.
39339         * posix/Makefile (tests): Add bug-regex35.
39340         (bug-regex35-ENV): Define.
39341         * posix/bug-regex35.c: New file.
39343 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39345         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
39346         comment.
39347         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
39348         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
39349         (CHECK_EOL): Add undef.
39351 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
39353         * bits/stdlib-bsearch.h: New file.
39354         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
39355         * stdlib/stdlib.h: Likewise.
39357 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39359         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
39360         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
39361         declaration.
39362         * manual/search.texi (Array Search Function): Add missing const in
39363         lfind prototype.
39364         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
39365         declaration to use rlim_t.
39366         (Basic Scheduling Functions): Remove erroneous const from
39367         sched_getparam prototype.  Remove erroneous * from
39368         sched_get_priority_max and sched_get_priority_min prototypes.
39369         (Resource Usage): Fix summary @comment on vtimes to refer to
39370         sys/vtimes.h rather than vtimes.h.
39371         Add missing *s in vtimes prototype.
39372         (Limits on Resources): Fix ulimit prototype to return long int.
39373         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
39374         prototypes to use long int rather than double.
39375         (BSD Random): Fix initstate and setstate to use char *, not void *.
39376         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
39377         prototype to make second argument 'struct aiocb64 *const[]'.
39378         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
39379         (Status of AIO Operations): Remove erroneous const in aio_return and
39380         aio_return64 prototypes.
39381         (Synchronizing I/O): Fix sync prototype to return void.
39382         * manual/startup.texi (Suboptions): Remove an erroneous const in
39383         getsubopt prototype.
39384         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
39385         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
39386         use size_t rather than int.
39387         (Scanning All Users): Likewise for getpwent_r.
39388         (Setting Groups): Add missing const to setgroups prototype.
39389         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
39390         * manual/socket.texi (Host Names): Fix gethostbyaddr and
39391         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
39392         'const void *' rather than 'const char *'.
39393         (Host Address Functions): Likewise for inet_ntop.
39394         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
39395         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
39396         ssize_t for return value.
39397         (Sending Data): Likewise for send, sendto, sendmsg.
39398         (Socket Option Functions): Add a missing const in setsockopt prototype.
39399         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
39400         use wchar_t for the argument.
39401         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
39402         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
39403         take no arguments.
39404         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
39405         double/float/long double for second argument.
39406         Fix return types of significand, significandf, significandl.
39407         * manual/filesys.texi (Setting Permissions): Use mode_t for second
39408         argument in fchmod prototype.
39409         (File Owner): Use uid_t and gid_t in fchown prototype.
39410         (File Times): Add const to utimes, futimes, and lutimes prototypes.
39411         (Making Special Files): Use mode_t and dev_t in mknod prototype.
39412         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
39413         use 'const struct dirent **' as argument types to CMP function pointer
39414         argument.
39415         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
39416         (File Times): Fix summary magic @comment for struct utimbuf and utime
39417         to refer to utime.h, not time.h.
39418         * manual/string.texi (Argz Functions): Add missing const in
39419         argz_extract and argz_next prototypes.
39420         (Finding Tokens in a String): Likewise for basename.
39421         (String/Array Comparison): Fix typo in wcscasecmp prototype.
39422         (Copying and Concatenation): Fix typo in wmemmove prototype.
39423         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
39424         (Signal Stack): Remove erroneous const in sigstack prototype.
39425         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
39426         prototype.
39427         (Simple Calendar Time): Likewise for stime.
39428         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
39429         prototype.
39430         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
39431         say sys/sysctl.h instead.
39432         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
39433         and vsyslog prototypes.
39435 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39437         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
39438         Remove.
39440 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39442         * misc/sys/mman.h: Fix typo in mremap comment.
39444 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39446         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
39447         the '\0' terminator.
39449 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39451         [BZ #13550]
39452         * debug/segfault.c: Don't include <bp-checks.h>.
39453         * sysdeps/generic/bp-checks.h: Remove file.
39454         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
39455         (__GETDENTS): Don't use CHECK_N.
39456         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
39457         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39458         (__getgroups): Don't use CHECK_N.
39459         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
39460         (setgroups): Don't use CHECK_N.
39461         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
39462         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
39463         (__libc_msgrcv): Don't use CHECK_N.
39464         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
39465         (__libc_msgsnd): Don't use CHECK_N.
39466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
39467         <bp-checks.h>.
39468         (__libc_pread): Don't use CHECK_N.
39469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
39470         include <bp-checks.h>.
39471         (__libc_pread64): Don't use CHECK_N.
39472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
39473         include <bp-checks.h>.
39474         (__libc_pwrite): Don't use CHECK_N.
39475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
39476         include <bp-checks.h>.
39477         (__libc_pwrite64): Don't use CHECK_N.
39478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
39479         <bp-checks.h>.
39480         (__libc_pread): Don't use CHECK_N.
39481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
39482         include <bp-checks.h>.
39483         (__libc_pread64): Don't use CHECK_N.
39484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
39485         include <bp-checks.h>.
39486         (__libc_pwrite): Don't use CHECK_N.
39487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
39488         include <bp-checks.h>.
39489         (__libc_pwrite64): Don't use CHECK_N.
39490         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
39491         (do_pread): Don't use CHECK_N.
39492         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
39493         (do_pread64): Don't use CHECK_N.
39494         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
39495         (do_pwrite): Don't use CHECK_N.
39496         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
39497         (do_pwrite64): Don't use CHECK_N.
39498         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
39499         (__libc_readv): Don't use CHECK_N.
39500         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
39501         (semop): Don't use CHECK_N.
39502         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
39503         <bp-checks.h>.
39504         (semtimedop): Don't use CHECK_N.
39505         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
39506         (__libc_pread): Don't use CHECK_N.
39507         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
39508         <bp-checks.h>.
39509         (__libc_pread64): Don't use CHECK_N.
39510         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
39511         <bp-checks.h>.
39512         (__libc_pwrite): Don't use CHECK_N.
39513         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
39514         <bp-checks.h>.
39515         (__libc_pwrite64): Don't use CHECK_N.
39516         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
39517         <bp-checks.h>.
39518         (__libc_msgrcv): Don't use CHECK_N.
39519         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
39520         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
39521         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
39522         (__libc_writev): Don't use CHECK_N.
39524 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39526         * string/strcpy.c: Removed unused variable.
39528         * Makeconfig (+sysdep-includes): Define with := rather than =.
39529         Use an existing include/ subdir of each sysdeps dir before it.
39531 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39533         * nscd/connection.c (register_traced_file): Comment function.
39534         [HAVE_INOTIFY] (union __inev): Define.
39535         [HAVE_INOTIFY] (inotify_check_files): New function.
39536         [HAVE_INOTIFY] (clear_db_cache): Likewise.
39537         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
39538         clear_db_cache.
39539         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
39541 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39543         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
39544         loaded if not already and that a failure is permanent.
39546 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39548         [BZ #15006]
39549         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
39550         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
39552 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39554         [BZ #13550]
39555         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
39556         (CHECK_1_NULL_OK): Likewise.
39557         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
39558         (__fxstat): Do not use CHECK_1.
39559         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
39560         <bp-checks.h>.
39561         (___fxstat64): Do not use CHECK_1.
39562         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39563         <bp-checks.h>.
39564         (__fxstatat): Do not use CHECK_1.
39565         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39566         <bp-checks.h>.
39567         (__fxstatat64): Do not use CHECK_1.
39568         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
39569         <bp-checks.h>.
39570         (__fxstat): Do not use CHECK_1.
39571         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39572         <bp-checks.h>.
39573         (__fxstatat): Do not use CHECK_1.
39574         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39575         <bp-checks.h>.
39576         (__getresgid): Do not use CHECK_1.
39577         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39578         <bp-checks.h>.
39579         (__getresuid): Do not use CHECK_1.
39580         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
39581         <bp-checks.h>.
39582         (__lxstat): Do not use CHECK_1.
39583         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39584         <bp-checks.h>.
39585         (__old_msgctl): Do not use CHECK_1.
39586         (__new_msgctl): Likewise.
39587         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
39588         <bp-checks.h>.
39589         (__new_setrlimit): Do not use CHECK_1.
39590         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39591         <bp-checks.h>.
39592         (__old_shmctl): Do not use CHECK_1.
39593         (__new_shmctl): Likewise.
39594         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
39595         <bp-checks.h>.
39596         (__xstat): Do not use CHECK_1.
39597         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
39598         (__lxstat): Do not use CHECK_1.
39599         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
39600         <bp-checks.h>.
39601         (___lxstat64): Do not use CHECK_1.
39602         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
39603         (__old_msgctl): Do not use CHECK_1.
39604         (__new_msgctl): Likewise.
39605         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
39606         <bp-checks.h>.
39607         (__gettimeofday): Do not use CHECK_1.
39608         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
39609         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
39610         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
39611         <bp-checks.h>.
39612         (__gettimeofday): Do not use CHECK_1.
39613         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
39614         (__old_shmctl): Do not use CHECK_1_NULL_OK.
39615         (__new_shmctl): Do not use CHECK_1.
39616         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
39617         <bp-checks.h>.
39618         (do_sigtimedwait): Do not use CHECK_1.
39619         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
39620         <bp-checks.h>.
39621         (do_sigwaitinfo): Do not use CHECK_1.
39622         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
39623         <bp-checks.h>.
39624         (msgctl): Do not use CHECK_1.
39625         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
39626         <bp-checks.h>.
39627         (shmctl): Do not use CHECK_1.
39628         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
39629         (ustat): Do not use CHECK_1.
39630         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
39631         <bp-checks.h>.
39632         (__fxstat): Do not use CHECK_1.
39633         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39634         <bp-checks.h>.
39635         (__fxstatat): Do not use CHECK_1.
39636         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
39637         <bp-checks.h>.
39638         (__lxstat): Do not use CHECK_1.
39639         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
39640         <bp-checks.h>.
39641         (__xstat): Do not use CHECK_1.
39642         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
39643         (__xstat): Do not use CHECK_1.
39644         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
39645         (___xstat64): Do not use CHECK_1.
39647         [BZ #13550]
39648         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
39649         definitions.
39650         (CHECK_BOUNDS_HIGH): Likewise.
39651         * string/strcpy.c: Do not include <bp-checks.h>.
39652         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
39654 2013-02-07  Roland McGrath  <roland@hack.frob.com>
39656         * nscd/nscd-client.h (__nscd_drop_map_ref):
39657         Add __attribute__ ((unused)).
39658         * nis/nss-nisplus.h (niserr2nss): Likewise.
39660         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
39661         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
39663         * csu/libc-tls.c (init_static_tls, init_slotinfo):
39664         Remove inline keyword.
39665         * include/rounding-mode.h (round_away): Likewise.
39666         * libio/wfileops.c (adjust_wide_data): Likewise.
39667         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
39668         (__m128i_strloadu_tolower): Likewise.
39669         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39670         (__m128i_strloadu_tolower): Likewise.
39671         * time/mktime.c (ydhms_diff): Likewise.
39672         * locale/elem-hash.h (elem_hash): Likewise.
39673         * locale/setlocale.c (setdata): Likewise.
39674         * posix/regex_internal.h (re_string_char_size_at): Likewise.
39675         (re_string_wchar_at): Likewise.
39676         (bitset_not, bitset_merge, bitset_mask): Likewise.
39677         [!(__GNUC__ > 3)] (inline): Remove macro.
39678         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39679         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39680         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39681         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39682         * string/memcmp.c (memcmp_bytes): Likewise.
39683         * locale/programs/locarchive.c (compute_hashval): Likewise.
39684         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39685         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39686         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39687         * nss/getent.c (print_rpc, print_protocols): Likewise.
39688         (print_passwd, print_group, print_aliases): Likewise.
39689         * nis/nss-nisplus.h (niserr2nss): Likewise.
39690         * nscd/connections.c (restart_p): Likewise.
39691         Change return type to bool.
39693 2013-02-05  Roland McGrath  <roland@hack.frob.com>
39695         * Makeconfig (all-Depend-files): Add existing
39696         $(sorted-subdirs:=/Depend) files.
39697         (all-subdirs): Remove nss.
39698         * sysdeps/unix/inet/Subdirs: Add it here instead.
39699         * hesiod/Depend: New file.
39701         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39702         instead of calling alloca.
39704         * io/lseek.c (__lseek): Rename to __libc_lseek.
39705         Define __lseek as an alias.
39707         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39709 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
39711         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39712         else clause and remove check for non-standard endianness.
39714 2013-02-04  David S. Miller  <davem@davemloft.net>
39716         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39718 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39720         [BZ #13550]
39721         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39722         (__ubp_memchr): Remove prototype.
39723         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39724         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39725         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39726         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39727         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39728         Remove alias.
39729         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39730         (__ubp_memchr): Likewise.
39731         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39732         (__ubp_memchr): Likewise.
39733         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39734         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39735         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39736         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39737         CHECK_STRING.
39738         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39739         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39740         (__getcwd): Do not use CHECK_STRING.
39741         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39742         <bp-checks.h>.
39743         (__real_chown): Do not use CHECK_STRING.
39744         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39745         <bp-checks.h>.
39746         (fchownat): Do not use CHECK_STRING.
39747         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39748         CHECK_STRING.
39749         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39750         <bp-checks.h>.
39751         (__lchown): Do not use CHECK_STRING.
39752         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39753         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39754         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39755         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39757         include <bp-checks.h>.
39758         (truncate64): Do not use CHECK_STRING.
39759         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39760         <bp-checks.h>.
39761         (__real_chown): Do not use CHECK_STRING.
39762         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39763         <bp-checks.h>.
39764         (__lchown): Do not use CHECK_STRING.
39765         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39766         <bp-checks.h>.
39767         (__chown): Do not use CHECK_STRING.
39768         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39769         <bp-checks.h>.
39770         (truncate64): Do not use CHECK_STRING.
39771         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39772         Likewise.
39773         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39774         (__xmknod): Do not use CHECK_STRING.
39775         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39776         <bp-checks.h>.
39777         (__xmknodat): Do not use CHECK_STRING.
39778         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39779         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39781 2013-02-04  Andreas Schwab  <schwab@suse.de>
39783         [BZ #14142]
39784         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39785         * include/netdb.h: Likewise for h_errno.
39786         * elf/tst-stackguard1.c: Include <tls.h>.
39788 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39790         * elf/link.h (struct link_map): Extend the l_addr comment.
39791         * include/link.h (struct link_map): Likewise.
39793 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39795         [BZ #13550]
39796         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39797         (BOUNDED_1): Remove macro.
39798         * debug/backtrace.c: Don't include <bp-checks.h>.
39799         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39800         (__backtrace): Likewise.
39801         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39802         <bp-checks.h>.
39803         (__backtrace): Don't use BOUNDED_1.
39804         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39805         <bp-checks.h>.
39806         (__backtrace): Don't use BOUNDED_1.
39807         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39808         (__backtrace): Don't use BOUNDED_1.
39809         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39810         (shmat): Don't use BOUNDED_N.
39812 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39814         [BZ #13550]
39815         * sysdeps/generic/bp-start.h: Remove file.
39816         * csu/libc-start.c: Don't include <bp-start.h>.
39817         (LIBC_START_MAIN): Set up __environ directly instead of using
39818         INIT_ARGV_and_ENVIRON.
39819         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39820         <bp-start.h>.
39822         [BZ #13550]
39823         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39824         definitions.
39825         (CHECK_FCNTL): Likewise.
39826         (CHECK_N_PAGES): Likewise.
39828         [BZ #13550]
39829         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39830         definitions.
39831         (CHECK_SIGSET_NULL_OK): Likewise.
39832         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39833         <bp-checks.h>.
39834         (sigpending): Don't use CHECK_SIGSET.
39835         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39836         <bp-checks.h>.
39837         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39838         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39839         <bp-checks.h>.
39840         (do_sigsuspend): Don't use CHECK_SIGSET.
39841         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39842         use CHECK_SIGSET.
39843         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39844         (do_sigwait): Don't use CHECK_SIGSET.
39845         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39846         use CHECK_SIGSET.
39847         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39848         include <bp-checks.h>.
39849         (sigpending): Don't use CHECK_SIGSET.
39850         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39851         include <bp-checks.h>.
39852         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39853         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39854         <bp-checks.h>.
39855         (sigpending): Don't use CHECK_SIGSET.
39856         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39857         <bp-checks.h>.
39858         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39860         [BZ #13550]
39861         * sysdeps/generic/bp-semctl.h: Remove file.
39862         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39863         <bp-checks.h> and <bp-semctl.h>.
39864         (__old_semctl): Don't use CHECK_SEMCTL.
39865         (__new_semctl): Likewise.
39866         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39867         and <bp-semctl.h>.
39868         (__old_semctl): Don't use CHECK_SEMCTL.
39869         (__new_semctl): Likewise.
39870         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39871         <bp-checks.h> and <bp-semctl.h>.
39872         (__old_semctl): Don't use CHECK_SEMCTL.
39873         (__new_semctl): Likewise.
39874         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39875         <bp-checks.h> and <bp-semctl.h>.
39876         (semctl): Don't use CHECK_SEMCTL.
39878         [BZ #13550]
39879         * Makerules (elide-bp-thunks): Remove variable.
39880         (elide-routines.oS): Don't use $(elide-bp-thunks).
39881         (elide-routines.os): Likewise.
39882         (elide-routines.o): Likewise.
39883         (elide-routines.op): Likewise.
39884         (elide-routines.og): Likewise.
39885         (objects): Don't use $(bp-thunks).
39886         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39887         include.
39888         (common-generated): Do not add s-proto-bp.d.
39889         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39890         (int): Likewise.
39891         (typ): Likewise.
39892         Do not generate makefile rules for bounded-pointer thunks.
39893         * sysdeps/generic/bp-thunks.h: Remove file.
39894         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39895         * sysdeps/unix/s-proto-bp.S: Likewise.
39897         [BZ #15062]
39898         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39899         parts of result separately when argument is not close to line from
39900         -i to i and one part of argument is small.
39901         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39902         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39903         * math/libm-test.inc (cacos_test): Add more tests.
39904         (casin_test): Likewise.
39905         (casinh_test): Likewise.
39906         * sysdeps/i386/fpu/libm-test-ulps: Update.
39907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39909 2013-01-31  David S. Miller  <davem@davemloft.net>
39911         * po/de.po: Update from translation team.
39913 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39915         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39917 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39919         * configure.in (_AC_PROG_CC_C89): New definition.
39920         * configure: Regenerate.
39922         * configure.in (AC_PROG_CPP): New definition.
39923         * configure: Regenerate.
39925 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39927         * debug/tst-backtrace.h: New file.
39928         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39929         (ret): Remove variable.
39930         (x): Likewise.
39931         (FAIL): Remove macro.
39932         (NO_INLINE): Likewise.
39933         (fn1): Use match function instead of strstr.
39934         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39935         (ret): Remove variable.
39936         (x): Likewise.
39937         (FAIL): Remove macro.
39938         (NO_INLINE): Likewise.
39939         (fn): Use match function instead of strstr.
39940         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39941         (ret): Remove variable.
39942         (x): Likewise.
39943         (FAIL): Remove macro.
39944         (NO_INLINE): Likewise.
39945         (handle_signal): Use match function instead of strstr.
39946         * debug/tst-backtrace5.c: Include tst-backtrace.h.
39947         (ret): Remove variable.
39948         (x): Likewise.
39949         (FAIL): Remove macro.
39950         (NO_INLINE): Likewise.
39951         (handle_signal): Use match function instead of strstr.
39953 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39955         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39957 2013-01-23  David S. Miller  <davem@davemloft.net>
39959         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39960         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39961         argument of CAS if possible.
39962         * sysdeps/sparc/sparc64/bits/atomic.h
39963         (__arch_compare_and_exchange_val_32_acq): Likewise.
39964         (__arch_compare_and_exchange_val_64_acq): Likewise.
39966 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39968         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39969         * sysdeps/posix/ulimit.c: ... this.
39970         Include <limits.h>.
39971         * sysdeps/unix/bsd/ulimit.c: Remove file.
39973 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39975         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39976         (LDFLAGS-tst-array5): Likewise.
39978 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39980         [BZ #15036]
39981         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39982         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39983         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39984         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39986 2013-01-21  David S. Miller  <davem@davemloft.net>
39988         * sysdeps/sparc/backtrace.c: New file.
39989         * sysdeps/sparc/sparc32/backtrace.h: New file.
39990         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39991         * sysdeps/sparc/sparc64/backtrace.h: New file.
39992         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39993         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39994         -funwind-tables.
39996 2013-01-21  Andreas Schwab  <schwab@suse.de>
39998         [BZ #15020]
39999         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
40000         closed its stdout.
40002 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
40004         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
40005         "mpa2.h".
40006         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40008 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
40009             Mark Mitchell  <mark@codesourcery.com>
40010             Tom de Vries  <tom@codesourcery.com>
40011             Paul Pluzhnikov  <ppluzhnikov@google.com>
40013         * debug/tst-backtrace2.c: New file.
40014         * debug/tst-backtrace3.c: Likewise.
40015         * debug/tst-backtrace4.c: Likewise.
40016         * debug/tst-backtrace5.c: Likewise.
40017         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
40018         (CFLAGS-tst-backtrace3.c): Likewise.
40019         (CFLAGS-tst-backtrace4.c): Likewise.
40020         (CFLAGS-tst-backtrace5.c): Likewise.
40021         (LDFLAGS-tst-backtrace2): Likewise.
40022         (LDFLAGS-tst-backtrace3): Likewise.
40023         (LDFLAGS-tst-backtrace4): Likewise.
40024         (LDFLAGS-tst-backtrace5): Likewise.
40025         (tests): Add new tests tst-backtrace2, tst-backtrace3,
40026         tst-backtrace4 and tst-backtrace5.
40028 2013-01-18  Anton Blanchard  <anton@samba.org>
40029             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40031         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
40032         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
40033         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
40034         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
40035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40036         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
40037         "+r" and remove output regs list as redundant.  Add explicit inline
40038         asm to specify register of return val to work around compiler codegen
40039         bug.  Remove (int) cast on return value.  Add return type parameter to
40040         use in macro so that this macro does not truncate return value for
40041         64-bit values.
40042         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
40043         pass to INTERNAL_VSYSCALL_NCS.
40044         (INLINE_VSYSCALL): Add 'long int' as return type to
40045         INTERNAL_VSYSCALL_NCS macro invocation.
40046         (INTERNAL_VSYSCALL): Add 'long int' as return type to
40047         INTERNAL_VSYSCALL_NCS macro invocation.
40048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40050 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40052         [BZ #14496]
40053         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
40054         Fix application of SIMD FP exception mask.
40056         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
40057         mp_no from a power of two.
40058         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
40059         __mpexp_twomm1.  Use __pow_mp.
40061         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
40062         multiplication.
40064 2013-01-17  David S. Miller  <davem@davemloft.net>
40066         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40068 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
40070         [BZ #15023]
40071         * include/complex.h: Condition contents on [!_COMPLEX_H].
40072         (__kernel_casinhf): New prototype.
40073         (__kernel_casinh): Likewise.
40074         (__kernel_casinhl): Likewise.
40075         * math/Makefile (libm_calls): Add k_casinh.
40076         * math/k_casinh.c: New file.
40077         * math/k_casinhf.c: Likewise.
40078         * math/k_casinhl.c: Likewise.
40079         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
40080         finite nonzero arguments.
40081         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
40082         finite nonzero arguments.
40083         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
40084         finite nonzero arguments.
40085         * math/s_casinh.c: Do not include <float.h>.
40086         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
40087         * math/s_casinhf.c: Do not include <float.h>.
40088         (__casinhf): Move code for finite nonzero arguments to
40089         k_casinhf.c.
40090         * math/s_casinhl.c: Do not include <float.h>.
40091         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
40092         redefine.
40093         (__casinhl): Move code for finite nonzero arguments to
40094         k_casinhl.c.
40095         * math/libm-test.inc (cacos_test): Add more tests.
40096         * sysdeps/i386/fpu/libm-test-ulps: Update.
40097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40099 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
40101         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
40102         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
40103         [!HAVE_MREMAP]: Remove [defined linux] case.
40104         * malloc/arena.c: Do not include <malloc-sysdep.h>.
40106 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40108         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
40110 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
40112         * elf/elf.h (R_386_SIZE32): New relocation.
40113         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
40114         R_386_SIZE32.
40115         (elf_machine_rela): Likewise.
40116         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40117         R_X86_64_SIZE64 and R_X86_64_SIZE32.
40119 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
40121         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
40122         (FP_FAST_FMA): Do not define.
40123         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
40124         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
40125         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
40126         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
40127         !_SOFT_FLOAT]: Likewise.
40128         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
40129         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
40130         value.
40131         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
40132         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
40133         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
40134         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
40135         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
40136         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
40137         file.
40139 2013-01-16  Andreas Schwab  <schwab@suse.de>
40141         [BZ #14327]
40142         * include/stdlib.h (__mktemp): Add declaration.
40143         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
40144         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
40146 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40148         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
40149         definitions.
40150         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40151         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
40152         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
40153         definitions here.
40154         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
40155         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
40156         definitions.
40157         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
40158         and ONE.
40159         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
40160         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
40161         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
40162         definitions.
40163         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
40164         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
40165         definitions.
40166         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40168         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
40170 2013-01-15  David S. Miller  <davem@davemloft.net>
40172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40173         trunc{,f} to libm-sysdep_routes.
40174         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
40176         file.
40177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
40178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
40179         file.
40180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
40181         file.
40182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
40183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
40184         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
40185         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
40186         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
40187         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
40188         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
40189         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
40191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40192         nearbyint{,f} to libm-sysdep_routes.
40193         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
40195         New file.
40196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
40197         file.
40198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
40199         New file.
40200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
40201         file.
40202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
40203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
40204         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
40205         file.
40206         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
40207         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
40208         file.
40209         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
40210         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
40211         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
40213         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40214         libc_feholdexcept and libc_fesetenv.
40216 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
40218         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
40220 2013-01-14  David S. Miller  <davem@davemloft.net>
40222         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
40223         (SPARC_ASM_VIS2_IFUNC): Likewise.
40224         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
40225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
40226         use of 'siam' instruction.
40227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
40228         Likewise.
40229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
40230         Likewise.
40231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
40232         Likewise.
40233         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
40234         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
40235         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
40236         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
40237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
40238         file.
40239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
40240         file.
40241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
40242         file.
40243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
40244         file.
40245         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
40246         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
40247         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
40248         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
40249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
40250         new VIS2 routines.
40251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40254         Likewise.
40255         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40256         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40257         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40258         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
40260         routines to libm-sysdep_routines.
40261         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40264         fdim/fdimf to libm-sysdep_routines.
40265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
40266         file.
40267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
40268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
40269         file.
40270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
40271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
40272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
40273         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
40274         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
40275         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
40276         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
40278 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40280         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
40281         to optimize copies.
40283         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
40284         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40285         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40287         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
40288         local variable MPTWO.
40289         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40290         Likewise.
40292 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40294         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
40295         GLOB_NOESCAPE.
40297 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40299         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
40301 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40303         * manual/pattern.texi (glob_t): Document gl_flags.
40304         (glob64_t): Likewise.
40306 2013-01-11  David S. Miller  <davem@davemloft.net>
40308         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
40309         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
40310         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
40311         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
40312         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
40313         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
40314         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
40315         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
40316         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
40317         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
40318         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
40319         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
40320         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
40322         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40323         sparc V9 rather than using V8 code.
40324         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40325         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40327         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40328         Move to...
40329         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
40330         Here.
40332 2013-01-11  Roland McGrath  <roland@hack.frob.com>
40334         [BZ #14941]
40335         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
40336         not in the main loop.
40337         * configure: Regenerated.
40339 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
40341         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
40342         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
40343         to just #else.
40344         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
40345         [!__GLIBC_HAVE_LONG_LONG] case.
40346         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
40347         condition to just #else.
40348         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
40349         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
40350         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
40351         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
40352         unconditional.
40353         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
40354         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40355         #elif condition to just #else.
40356         * sysdeps/unix/sysv/linux/sys/sysmacros.h
40357         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
40358         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40359         #elif condition to just #else.
40361 2013-01-11  Steve Ellcey  <sellcey@mips.com>
40363         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
40364         (EF_MIPS_ARCH_64): Fix value.
40365         (EF_MIPS_ARCH_32R2): New.
40366         (EF_MIPS_ARCH_64R2): New.
40368 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
40370         * Makeconfig (+link-pie-before-libc): New.
40371         (+link-pie-after-libc): Likewise.
40372         (+link-pie-tests): Likewise.
40373         (+link-pie): Rewritten.
40374         (link-before-libc): Remove $(config-LDFLAGS).
40375         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
40376         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
40377         (config-LDFLAGS): Renamed to ...
40378         (rtld-LDFLAGS): This.
40379         (rtld-tests-LDFLAGS): New macro.
40380         (link-libc-rpath-link): Likewise.
40381         (link-libc-tests-rpath-link): Likewise.
40382         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
40383         (link-libc): Prepand $(link-libc-rpath-link).
40384         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
40385         (test-program-prefix): New macro.
40386         (test-via-rtld-prefix): Likewise.
40387         (test-program-cmd): Likewise.
40388         (host-test-program-cmd): Likewise.
40389         * Makefile ($(common-objpfx)testrun.sh): Replace
40390         $(run-program-prefix) with $(test-program-prefix).
40391         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
40392         $(rtld-LDFLAGS).
40393         ($(common-objpfx)shlib.lds): Likewise.
40394         (build-module-helper): Likewise.
40395         ($(common-objpfx)format.lds): Likewise.
40396         * Rules (binaries-pie-tests): New.
40397         (binaries-pie-notests): Likewise.
40398         (binaries-pie): Rewritten.
40399         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
40400         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
40401         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
40402         (make-test-out): Replace $(host-built-program-cmd) with
40403         $(host-test-program-cmd).
40404         * config.make.in (build-hardcoded-path-in-tests): New variable.
40405         * configure.in (--enable-hardcoded-path-in-tests): New configure
40406         option.
40407         (hardcoded_path_in_tests): New AC_SUBST.
40408         * configure: Regenerated.
40409         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
40410         $(built-program-cmd) with $(test-program-cmd).
40411         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
40412         (test_program_cmd): This.
40413         * elf/Makefile ($(objpfx)order.out): Run test with
40414         $(test-program-prefix).
40415         ($(objpfx)order2.out): Likewise.
40416         ($(objpfx)tst-initorder.out): Likewise.
40417         ($(objpfx)tst-initorder2.out): Likewise.
40418         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
40419         $(test-program-cmd).
40420         ($(objpfx)tst-array1-static.out): Likewise.
40421         ($(objpfx)tst-array2.out): Likewise.
40422         ($(objpfx)tst-array3.out): Likewise.
40423         ($(objpfx)tst-array4.out): Likewise.
40424         ($(objpfx)tst-array5.out): Likewise.
40425         ($(objpfx)tst-array5-static.out): Likewise.
40426         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
40427         $(test-program-cmd).
40428         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
40429         $(run-program-prefix) with $(test-program-prefix).
40430         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
40431         (test_program_prefix): This.
40432         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
40433         $(run-program-prefix) with $(test-program-prefix).
40434         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
40435         (test_program_prefix): This.
40436         * iconvdata/tst-tables.sh: Likewise.
40437         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
40438         $(run-program-prefix) with $(test-program-prefix).
40439         ($(objpfx)tst-translit.out): Likewise.
40440         ($(objpfx)tst-gettext2.out): Likewise.
40441         ($(objpfx)tst-gettext4.out): Likewise.
40442         ($(objpfx)tst-gettext6.out): Likewise.
40443         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
40444         (test_program_prefix): This.
40445         * intl/tst-gettext2.sh: Likewise.
40446         * intl/tst-gettext4.sh  Likewise.
40447         * intl/tst-gettext6.sh: Likewise.
40448         * intl/tst-translit.sh: Likewise.
40449         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
40450         with $(test-program-cmd).
40451         * libio/Makefile ($(objpfx)test-freopen.out): Replace
40452         $(run-program-prefix) with $(test-program-prefix).
40453         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
40454         (test_program_prefix): This.
40455         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
40456         $(run-program-prefix) with $(test-program-prefix).
40457         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
40458         (test_program_prefix): This.
40459         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
40460         * posix/Makefile ($(objpfx)globtest.out): Replace
40461         $(run-via-rtld-prefix) and $(test-wrapper) with
40462         $(test-program-prefix) and $(test-via-rtld-prefix).
40463         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
40464         $(test-program-prefix).
40465         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
40466         $(host-test-program-cmd).
40467         (tst-spawn-ARGS): Likewise.
40468         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
40469         $(test-program-prefix).
40470         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
40471         (test_via_rtld_prefix): This.
40472         (test_wrapper): Renamed to ...
40473         (test_program_prefix): This.
40474         (run_program_prefix): Replaced by test_program_prefix.
40475         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
40476         (test_program_prefix): This.
40477         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
40478         with $(host-test-program-cmd).
40479         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
40480         $(run-program-prefix) with $(test-program-prefix).
40481         ($(objpfx)tst-printf.out): Likewise.
40482         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
40483         $(test-program-cmd).
40484         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
40485         (test_program_prefix): This.
40486         * stdio-common/tst-unbputc.sh: Likewise.
40487         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
40488         $(run-program-prefix) with $(test-program-prefix).
40489         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
40490         (test_program_prefix): This.
40491         * string/Makefile ($(objpfx)tst-svc.out):  Replace
40492         $(built-program-cmd) with $(test-program-cmd).
40494 2013-01-11  Andreas Jaeger  <aj@suse.de>
40496         [BZ #15003]
40497         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
40498         value. Sync with Linux 3.7.
40500 2013-01-10  David S. Miller  <davem@davemloft.net>
40502         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
40503         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40504         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40506 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40508         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
40509         never set.
40510         * configure: Regenerated.
40512 2013-01-10  David S. Miller  <davem@davemloft.net>
40514         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40515         sparc V9 rather than using V8 code.
40516         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40517         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40519 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40521         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
40522         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
40523         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
40524         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
40525         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
40526         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
40527         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
40528         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
40529         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
40530         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
40531         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
40532         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
40533         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
40534         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
40535         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
40536         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
40537         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
40538         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
40539         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
40540         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
40541         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
40542         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
40543         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
40544         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
40545         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
40546         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
40547         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
40549 2013-01-10  David S. Miller  <davem@davemloft.net>
40551         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40553 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40555         * posix/Makefile (tests-static): New variable.
40556         (tests): Add $(tests-static).
40557         (tst-exec-static-ARGS): New variable.
40558         (tst-spawn-static-ARGS): Likewise.
40559         * posix/tst-exec-static.c: New file.
40560         * posix/tst-spawn-static.c: Likewise.
40561         * posix/tst-exec.c: Support run directly.
40562         * posix/tst-spawn.c: Likewise.
40564 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
40566         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
40567         long.
40568         * math/bits/mathcalls.h (llrint): Likewise.
40569         (llround): Likewise.
40570         * stdlib/stdlib.h (struct drand48_data): Likewise.
40571         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
40572         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
40573         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
40574         Likewise.
40575         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
40576         Likewise.
40577         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
40578         (elf_greg_t): Likewise.
40579         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
40580         (__jmp_buf): Likewise.
40581         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
40582         definitions.
40583         (llrint): Likewise, for all definitions.
40584         (llrintl): Likewise.
40586         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
40587         Remove [__GNUC__] condition.
40588         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
40589         condition to just [__USE_ISOC99].
40590         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
40592 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40594         [BZ #14200]
40595         * sysdeps/unix/sysv/linux/x86/bits/environments.h
40596         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
40597         defined.
40598         (_POSIX_V6_ILP32_OFF32): Likewise.
40599         (_XBS5_ILP32_OFF32): Likewise.
40600         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
40601         (__ILP32_OFFBIG_LDFLAGS): Likewise.
40603 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40605         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
40607         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
40608         doubles __mpexp_twomm1.  Adjust usage.
40609         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
40610         Remove.
40612 2013-01-10  Andreas Schwab  <schwab@suse.de>
40614         [BZ #14964]
40615         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
40616         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
40618 2013-01-09  David S. Miller  <davem@davemloft.net>
40620         [BZ #15003]
40621         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
40622         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
40623         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
40624         (TCP_FASTOPEN): Define.
40625         (tcp_repair_opt): New structure.
40626         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
40627         enum values.
40628         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
40629         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
40630         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
40631         (tcp_cookie_transactions): New structure.
40633 2013-01-09  Anton Blanchard  <anton@samba.org>
40635         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
40636         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
40637         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
40638         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
40640 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
40642         * include/features.h (__USE_ANSI): Remove.
40644 2013-01-09  Roland McGrath  <roland@hack.frob.com>
40646         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
40648         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
40650 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40652         * sysdeps/s390/fpu/libm-test-ulps: Update.
40654         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40656         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40657         (__acr): Likewise.
40658         (__cpy): Likewise.
40659         (norm): Likewise.
40660         (denorm): Likewise.
40661         (__mp_dbl): Likewise.
40662         (__dbl_mp): Likewise.
40663         (add_magnitudes): Likewise.
40664         (sub_magnitudes): Likewise.
40665         (__add): Likewise.
40666         (__sub): Likewise.
40667         (__mul): Likewise.
40668         (__inv): Likewise.
40669         (__dvd): Likewise.
40670         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40671         (__acr): Likewise.
40672         (__cpy): Likewise.
40673         (norm): Likewise.
40674         (denorm): Likewise.
40675         (__mp_dbl): Likewise.
40676         (__dbl_mp): Likewise.
40677         (add_magnitudes): Likewise.
40678         (sub_magnitudes): Likewise.
40679         (__add): Likewise.
40680         (__sub): Likewise.
40681         (__mul): Likewise.
40682         (__inv): Likewise.
40683         (__dvd): Likewise.
40684         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40685         (__acr): Likewise.
40686         (__cpy): Likewise.
40687         (norm): Likewise.
40688         (denorm): Likewise.
40689         (__mp_dbl): Likewise.
40690         (__dbl_mp): Likewise.
40691         (add_magnitudes): Likewise.
40692         (sub_magnitudes): Likewise.
40693         (__add): Likewise.
40694         (__sub): Likewise.
40695         (__mul): Likewise.
40696         (__inv): Likewise.
40697         (__dvd): Likewise.
40699 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
40701         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40702         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40703         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40704         2 && __USE_EXTERN_INLINES]: Likewise.
40706 2013-01-08  Andreas Jaeger  <aj@suse.de>
40708         [BZ# 14985]
40709         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40710         Remove.
40711         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40712         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40714 2013-01-07  Anton Blanchard  <anton@samba.org>
40716         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40717         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40718         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40719         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40720         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40721         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40722         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40723         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40724         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40725         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40726         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40727         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40728         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40729         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40730         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40731         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40732         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40733         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40734         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40735         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40736         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40737         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40738         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40739         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40740         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40741         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40742         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40743         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40744         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40745         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40746         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40747         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40748         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40749         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40750         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40751         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40752         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40753         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40754         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40755         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40756         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40757         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40758         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40760 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40762         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40763         (__MALLOC_PMT): Likewise.
40764         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40765         [__GNUC__], only on [_LIBC].
40766         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40767         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40768         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40769         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40770         forward declaration.
40771         (realloc_hook_ini): Likewise.
40772         (memalign_hook_ini): Likewise.
40773         (__libc_memalign): Do not use __MALLOC_PMT in variable
40774         declaration.
40775         (__libc_valloc): Likewise.
40776         (__libc_pvalloc): Likewise.
40777         (__libc_calloc): Likewise.
40778         (__posix_memalign): Likewise.
40780         [BZ #14996]
40781         * math/s_casinh.c: Include <float.h>.
40782         (__casinh): Do not do computation with squaring and square root
40783         for large arguments.
40784         * math/s_casinhf.c: Include <float.h>.
40785         (__casinhf): Do not do computation with squaring and square root
40786         for large arguments.
40787         * math/s_casinhl.c: Include <float.h>.
40788         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40789         (__casinhl): Do not do computation with squaring and square root
40790         for large arguments.
40791         * math/libm-test.inc (casin_test): Add more tests.
40792         (casinh_test): Likewise.
40793         * sysdeps/i386/fpu/libm-test-ulps: Update.
40794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40796 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40798         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40799         (__x86_64_raw_data_cache_size): Likewise.
40800         (__x86_64_data_cache_size_half): Likewise.
40801         (__x86_64_raw_data_cache_size_half): Likewise.
40802         (__x86_64_shared_cache_size): Likewise.
40803         (__x86_64_raw_shared_cache_size): Likewise.
40804         (__x86_64_shared_cache_size_half): Likewise.
40805         (__x86_64_raw_shared_cache_size_half): Likewise.
40806         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40807         to ...
40808         (__x86_data_cache_size): This.
40809         (__x86_64_raw_data_cache_size): Renamed to ...
40810         (__x86_raw_data_cache_size): This.
40811         (__x86_64_data_cache_size_half): Renamed to ...
40812         (__x86_data_cache_size_half): This.
40813         (__x86_64_raw_data_cache_size_half): Renamed to ...
40814         (__x86_raw_data_cache_size_half): This.
40815         (__x86_64_shared_cache_size): Renamed to ...
40816         (__x86_shared_cache_size): This.
40817         (__x86_64_raw_shared_cache_size): Renamed to ...
40818         (__x86_raw_shared_cache_size): This.
40819         (__x86_64_shared_cache_size_half): Renamed to ...
40820         (__x86_shared_cache_size_half): This.
40821         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40822         (__x86_raw_shared_cache_size_half): This.
40823         * sysdeps/x86_64/memcpy.S: Updated.
40824         * sysdeps/x86_64/memset.S: Likewise.
40825         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40826         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40827         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40829 2013-01-04  David S. Miller  <davem@davemloft.net>
40831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40833 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40835         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40836         1 to avoid redefinition warning.
40837         (__USE_GNU): Don't define.
40838         (init_signaling_nan): Protoize.
40840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40842 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40844         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40845         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40846         (__cpymn): Likewise.
40847         (norm): Remove commented code.
40848         (denorm): Likewise.
40849         (__mp_dbl): Likewise.
40850         (__inv): Likewise.
40851         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40852         (__cpymn): Likewise.
40853         (norm): Remove commented code.
40854         (denorm): Likewise.
40855         (__mp_dbl): Likewise.
40856         (__inv): Likewise.
40858         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40859         mp_no value for 1.0 and 2.0.
40860         (norm): Use RADIXI instead of radixi.d.
40861         (denorm): Likewise.
40862         (__mul): Use 0.0 instead of zero.d.
40863         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40864         mp_no value for 1.0 and 2.0.
40865         (norm): Use RADIXI instead of radixi.d.
40866         (denorm): Likewise.
40867         (__mul): Use 0.0 instead of zero.d.
40869 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40871         [BZ #14994]
40872         * math/s_casinh.c (__casinh): Reduce finite argument to first
40873         quadrant then set signs of results at the end.
40874         * math/s_casinhf.c (__casinhf): Likewise.
40875         * math/s_casinhl.c (__casinhl): Likewise.
40876         * math/libm-test.inc (casin_test): Add more tests.
40877         (casinh_test): Likewise.
40878         * sysdeps/i386/fpu/libm-test-ulps: Update.
40879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40881 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40883         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40885         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40887         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40888         declarations.
40889         (denorm): Likewise.
40890         (__mp_dbl): Likewise.
40891         (__inv): Likewise.
40893         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40894         and adjust the header comment.
40896         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40897         variable name from declaration.
40899 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40901         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40902         Initialize COMMON_CPUID_INDEX_7 element.
40903         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40904         (CPUID_RTM): Likewise.
40905         (HAS_RTM): Likewise.
40906         (COMMON_CPUID_INDEX_7): New enum.
40908 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40910         [BZ #14981]
40911         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40912         size is zero, record memory as freed.
40914 2013-01-03  Andreas Jaeger  <aj@suse.de>
40916         * po/ia.po: Add new Interlingua translation.
40918 2012-01-03  Allan McRae  <allan@archlinux.org>
40920         * locale/programs/localedef.c: Fix description of '--posix' flag.
40922 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40924         * NEWS: Update dates in second copyright notice.
40925         * README: Update copyright dates in example.
40926         * manual/libc.texinfo: Update copyright dates.
40927         * scripts/test-installation.pl: Update copyright date in --version
40928         output.
40930         * hurd/ctty-input.c: Fix copyright notice formatting.
40931         * hurd/ctty-output.c: Likewise.
40932         * hurd/dtable.c: Likewise.
40933         * hurd/hurd-raise.c: Likewise.
40934         * hurd/hurdprio.c: Likewise.
40935         * hurd/msgportdemux.c: Likewise.
40936         * misc/sys/file.h: Likewise.
40937         * misc/sys/ioctl.h: Likewise.
40938         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40939         * sysdeps/mach/hurd/chdir.c: Likewise.
40940         * sysdeps/mach/hurd/fchdir.c: Likewise.
40941         * sysdeps/mach/hurd/rename.c: Likewise.
40942         * sysdeps/mach/hurd/rmdir.c: Likewise.
40943         * sysdeps/mach/hurd/seekdir.c: Likewise.
40944         * sysdeps/mach/hurd/setsid.c: Likewise.
40945         * sysdeps/posix/wait3.c: Likewise.
40947         * All files with FSF copyright notices: Update copyright dates
40948         using scripts/update-copyrights.
40949         * intl/plural.c: Regenerated.
40950         * locale/programs/charmap-kw.h: Likewise.
40951         * locale/programs/locfile-kw.h: Likewise.
40953 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40955         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40956         four values.
40958         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40959         calculation loop and add branch prediction.
40961         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40962         check access beyond bounds of m1np.
40964         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40965         MPTWO.
40966         (__inv): Remove local variable MPTWO to use the global
40967         constant.
40968         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40969         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40970         variable MPTWO.
40971         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40972         MP3HALFS static const.
40974 2013-01-01  David S. Miller  <davem@davemloft.net>
40976         * po/ca.po: Update from translation team.
40978 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40980         * scripts/update-copyrights: New file.
40981         * Makeconfig: Reformat copyright notice.
40982         * ctype/ctype.h: Likewise.
40983         * debug/swprintf_chk.c: Likewise.
40984         * elf/dl-cache.c: Likewise.
40985         * elf/dl-debug.c: Likewise.
40986         * elf/dl-object.c: Likewise.
40987         * grp/initgroups.c: Likewise.
40988         * hurd/Makefile: Likewise.
40989         * hurd/hurd/signal.h: Likewise.
40990         * hurd/hurdfault.c: Likewise.
40991         * hurd/hurdioctl.c: Likewise.
40992         * hurd/hurdlookup.c: Likewise.
40993         * hurd/intr-msg.c: Likewise.
40994         * iconv/gconv_open.c: Likewise.
40995         * libio/swprintf.c: Likewise.
40996         * locale/lc-ctype.c: Likewise.
40997         * locale/nl_langinfo.c: Likewise.
40998         * mach/Machrules: Likewise.
40999         * mach/Makefile: Likewise.
41000         * malloc/obstack.h: Likewise.
41001         * manual/Makefile: Likewise.
41002         * manual/tsort.awk: Likewise.
41003         * misc/bits/stab.def: Likewise.
41004         * nis/nis_print_group_entry.c: Likewise.
41005         * nis/nis_table.c: Likewise.
41006         * nis/nss_compat/compat-pwd.c: Likewise.
41007         * nis/nss_compat/compat-spwd.c: Likewise.
41008         * po/Makefile: Likewise.
41009         * posix/fnmatch.c: Likewise.
41010         * posix/regex.h: Likewise.
41011         * resolv/Makefile: Likewise.
41012         * resolv/nss_dns/dns-network.c: Likewise.
41013         * resolv/res_hconf.c: Likewise.
41014         * scripts/gen-sorted.awk: Likewise.
41015         * soft-fp/soft-fp.h: Likewise.
41016         * stdio-common/printf.h: Likewise.
41017         * stdlib/monetary.h: Likewise.
41018         * stdlib/random.c: Likewise.
41019         * stdlib/random_r.c: Likewise.
41020         * sysdeps/generic/Makefile: Likewise.
41021         * sysdeps/gnu/Makefile: Likewise.
41022         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41023         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41024         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41025         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41026         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41027         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41028         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41029         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41030         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41031         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41032         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41033         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41034         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41035         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41036         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
41037         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41038         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41039         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41040         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41041         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41042         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41043         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41044         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41045         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41046         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
41047         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41048         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41049         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
41050         * sysdeps/mach/hurd/errnos.awk: Likewise.
41051         * sysdeps/mach/hurd/fork.c: Likewise.
41052         * sysdeps/mach/hurd/getcwd.c: Likewise.
41053         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
41054         * sysdeps/mach/hurd/mmap.c: Likewise.
41055         * sysdeps/mach/hurd/utimes.c: Likewise.
41056         * sysdeps/mach/hurd/xmknod.c: Likewise.
41057         * sysdeps/posix/profil.c: Likewise.
41058         * sysdeps/posix/readdir_r.c: Likewise.
41059         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41060         * sysdeps/powerpc/bits/setjmp.h: Likewise.
41061         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
41062         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41063         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41064         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41065         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41066         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41067         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41068         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41069         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41070         * sysdeps/pthread/lio_listio.c: Likewise.
41071         * sysdeps/sparc/dl-procinfo.h: Likewise.
41072         * sysdeps/unix/i386/sysdep.S: Likewise.
41073         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
41074         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
41075         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
41076         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
41077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41078         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
41079         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
41080         * sysdeps/unix/sysv/linux/speed.c: Likewise.
41081         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41082         * sysdeps/wordsize-32/divdi3.c: Likewise.
41083         * time/sys/time.h: Likewise.
41084         * wcsmbs/Makefile: Likewise.
41086 2013-01-01  David S. Miller  <davem@davemloft.net>
41088         * po/fr.po: Update from translation team.
41090         * catgets/gencat.c: Update copyright year.
41091         * csu/version.c: Likewise.
41092         * debug/catchsegv.sh: Likewise.
41093         * debug/pcprofiledump.c: Likewise.
41094         * debug/xtrace.sh: Likewise.
41095         * elf/ldconfig.c: Likewise.
41096         * elf/ldd.bash.in: Likewise.
41097         * elf/pldd.c: Likewise.
41098         * elf/sotruss.ksh: Likewise.
41099         * elf/sprof.c: Likewise.
41100         * iconv/iconv_prog.c: Likewise.
41101         * iconv/iconvconfig.c: Likewise.
41102         * locale/programs/locale.c: Likewise.
41103         * locale/programs/localedef.c: Likewise.
41104         * login/programs/pt_chown.c: Likewise.
41105         * malloc/memusage.sh: Likewise.
41106         * malloc/memusagestat.c: Likewise.
41107         * malloc/mtrace.pl: Likewise.
41108         * nscd/nscd.c: Likewise.
41109         * nss/getent.c: Likewise.
41110         * nss/makedb.c: Likewise.
41111         * posix/getconf.c: Likewise.
41113 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41115         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
41116         numbers.
41118 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
41120         * math/bits/mathcalls.h (modf): Use __nonnull.
41122 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41124         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
41125         (split): Use macro CN instead of the bare value.
41126         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
41127         could be used.
41128         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
41129         instead of the bare value.
41130         (power1): Likewise.
41132 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41134         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
41135         __ATAN_TWOM.
41136         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41138         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
41139         their values.
41140         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41141         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41142         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
41143         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41145 2012-12-28  Andreas Jaeger  <aj@suse.de>
41147         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
41148         values are from Linux 3.7.
41150         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
41151         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
41153 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41155         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
41156         TRUE case.
41158         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
41159         (norm): Likewise.
41160         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
41161         variables with preprocessor constants.
41162         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41163         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41164         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41166 2012-12-27  Bruno Haible  <bruno@clisp.org>
41168         [BZ #14317]
41169         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
41170         only if needed.
41172 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41174         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
41175         and use variable directly.
41176         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
41178         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41179         MPONE.
41180         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
41181         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41182         variable MPONE.
41183         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41184         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41185         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
41186         include directive.  Remove local variable MPONE.
41187         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
41188         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
41189         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41191 2012-12-25  David S. Miller  <davem@davemloft.net>
41193         * version.h (RELEASE): Set to "development".
41194         (VERSION): Set to "2.17.90".
41195         * NEWS: Add 2.18 section.
41197 2012-12-21  David S. Miller  <davem@davemloft.net>
41199         * po/hr.po: Update from translation team.
41201 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41203         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
41205 2012-12-19  Steve Ellcey  <sellcey@mips.com>
41207         * NEWS:  Mention new memcpy for MIPS.
41209 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41211         * manual/contrib.texi (Contributors): Spelling correction.
41213 2012-12-15  David S. Miller  <davem@davemloft.net>
41215         * po/ru.po: Update from translation team.
41217 2012-12-13  David S. Miller  <davem@davemloft.net>
41219         * NEWS: Mention IFUNC testsuite enhancements.
41221         * po/pl.po: Update from translation team.
41222         * po/bg.po: Likewise.
41224         * manual/contrib.texi (Contributors): Update entries for Hongjiu
41225         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
41227 2012-12-11  David S. Miller  <davem@davemloft.net>
41229         * po/sv.po: Update from translation team.
41231         * po/vi.po: Update from translation team.
41233         * po/cs.po: Update from translation team.
41235         * po/de.po: Update from translation team.
41236         * po/eo.po: Likewise.
41237         * po/nl.po: Likewise.
41239 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41241         [BZ #14246]
41242         * manual/argp.texi (Argp Helper Functions): Move node to follow
41243         Argp Parsing State.
41245         [BZ #14872]
41246         * manual/conf.texi (Limits on File System Capacity): Mention if
41247         terminating null is included in the max size.
41249 2012-12-10  Andreas Jaeger  <aj@suse.de>
41251         * po/cs.po: Update from translation team.
41253 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41255         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
41256         void pointer and cast to uintptr_t.
41257         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
41258         path.
41259         * sysdeps/s390/s390-64/memcpy.S: Likewise.
41260         * sysdeps/s390/s390-64/memset.S: Likewise.
41262 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
41264         [BZ #14833]
41265         * menual/message.texi (Message Translation): Fix typos.
41266         (Helper programs for gettext): Likewise.
41268 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
41270         [BZ #14898]
41271         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
41272         Change to -1.
41274 2012-12-07  David S. Miller  <davem@davemloft.net>
41276         * po/libc.pot: Update.
41278 2012-12-07  Richard Henderson  <rth@redhat.com>
41280         [BZ #10114]
41281         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
41282         normal/normal case to before the switch.
41283         (_FP_DIV): Likewise.
41285 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
41286             Mike Frysinger  <vapier@gentoo.org>
41288         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
41289         check for __NR_fadvise64_64.
41291 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
41293         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
41294         0, not just to plain "0" as a statement.
41295         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
41296         with cw.
41298 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
41300         * NEWS: Use sourceware.org in Bugzilla URL.
41302 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41305         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41307         * stdio-common/tst-put-error.c (do_test): Add newline to the
41308         padded test to ensure flush.
41310 2012-12-05  Jeff Law  <law@redhat.com>
41312         * sunrpc/etc.rpc (fedfs_admin): Add entry.
41314 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
41316         * README: Don't refer to ports add-on as distributed separately.
41317         Mention AArch64 in list of systems supported in the ports add-on.
41319         * LICENSES: Add more non-FSF copyright and license notices.
41321         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
41322         ((unused)).
41324         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
41326         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
41327         10000 as width of padded output.
41329 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41331         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
41333         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
41334         variable LX with __attribute__ ((unused)).
41335         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41336         Likewise.
41337         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41338         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41339         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
41340         with __attribute__ ((unused)).
41342 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
41344         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
41346 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41348         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
41349         (CFLAGS-nldbl-acos.c): New variable.
41350         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
41351         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
41352         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
41353         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
41354         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
41355         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
41356         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
41357         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
41358         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
41359         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
41360         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
41361         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
41362         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
41363         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
41364         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
41365         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
41366         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
41367         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
41368         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
41369         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
41370         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
41371         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
41372         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
41373         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
41374         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
41375         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
41376         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
41377         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
41378         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
41379         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
41380         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
41381         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
41382         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
41383         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
41384         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
41385         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
41386         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
41387         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
41388         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
41389         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
41390         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
41391         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
41392         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
41393         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
41394         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
41395         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
41396         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
41397         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
41398         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
41399         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
41400         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
41401         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
41402         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
41403         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
41404         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
41405         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
41406         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
41407         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
41408         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
41409         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
41410         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
41411         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
41412         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
41413         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
41414         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
41415         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
41416         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
41417         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
41418         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
41419         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
41420         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
41421         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
41422         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
41423         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
41424         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
41425         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
41426         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
41427         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
41428         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
41429         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
41430         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
41431         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
41432         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
41433         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
41434         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
41435         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
41436         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
41437         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
41438         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
41439         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
41440         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
41441         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
41442         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
41443         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
41444         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
41445         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
41446         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
41448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41449         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41451         [BZ #14914]
41452         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
41453         whole low double instead of just low 47 bits when splitting values
41454         into two parts.
41456 2012-12-03  Allan McRae  <allan@archlinux.org>
41458         * manual/stdio.texi (Predefined Printf Handlers): Remove
41459         @hsep and @vsep usage.
41461 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
41463         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
41464         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
41466 2012-12-03  Jeff Law  <law@redhat.com>
41468         * time/sys/time.h (settimeofday): Do not mark TV argument
41469         as __nonnull.
41471 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
41473         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
41474         when currently writing and seek to current position when not.
41475         * libio/Makefile (tests): Remove bug-fclose1.
41476         * libio/bug-fclose1.c: Delete.
41478 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
41480         * manual/arith.texi (feenableexcept): Fix typo.
41481         (fedisableexcept): Likewise.
41483 2012-11-30  Roland McGrath  <roland@hack.frob.com>
41485         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
41486         second, differently-typed declaration, rather than a cast.
41488 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41490         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
41491         * include/rpc/svc.h: ... here.
41493 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
41495         [BZ #13013]
41496         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
41497         depending n and resplen2 to catch cases where answer
41498         equals answerp2.
41500 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
41502         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
41503         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
41505 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
41507         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
41509 2012-11-29  Roland McGrath  <roland@hack.frob.com>
41511         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
41513 2012-11-28  Jeff Law  <law@redhat.com>
41515         [BZ #13761]
41516         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
41517         dataset_temporary.  Track alloca usage into alloca_used.
41518         If dataset is large allocate and release it via malloc/free.
41520 2012-06-04  Florian Weimer  <fweimer@redhat.com>
41522         [BZ #14197]
41523         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
41525 2012-11-28  David S. Miller  <davem@davemloft.net>
41527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41529 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41531         [BZ #14803]
41532         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
41533         of pi/2 rounded to nearest to 64 bits.
41534         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
41535         nearest to 64 bits.
41536         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
41537         bits.
41539 2012-11-28  Jeff Law <law@redhat.com>
41540             Martin Osvald <mosvald@redhat.com>
41542         [BZ #14889]
41543         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
41544         * sunrpc/svc.c: Include time.h.
41545         (__svc_accept_failed): New function.
41546         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
41547         any reason other than EINTR, call __svc_accept_failed.
41548         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
41549         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
41551 2012-11-28  Andreas Schwab  <schwab@suse.de>
41553         * scripts/abilist.awk: Also handle indirect functions in .opd
41554         section.
41556 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41558         [BZ #13881]
41559         * sysdeps/x86/fpu/powl_helper.c: New file.
41560         * sysdeps/x86/fpu/Makefile: Likewise.
41561         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
41562         (p3): New object.
41563         (__ieee754_powl): Use __powl_helper for finite arguments except
41564         integer exponents below 8.
41565         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
41566         (p3): New object.
41567         (__ieee754_powl): Use __powl_helper for finite arguments except
41568         integer exponents below 8.
41569         * math/libm-test.inc (pow_test): Add more tests and enable some
41570         previously disabled tests.
41571         * sysdeps/i386/fpu/libm-test-ulps: Update.
41572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41574 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41575             Carlos O'Donell  <carlos_odonell@mentor.com>
41577         * nss/makedb.c (is_prime): Assert that input is odd and greater
41578         than 4.  Note that fact in a comment too.
41579         (next_prime): Add 4 to input.
41581 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41583         [BZ #11741]
41584         * libio/Makefile (tests): Add test case tst-fwrite-error.
41585         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
41586         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
41587         * libio/tst-fwrite-error.c: New test case.
41589 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
41591         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
41592         before casting to void *.
41593         * include/libc-internal.h (__pointer_type): New macro.
41594         (__integer_if_pointer_type_sub): Likewise.
41595         (__integer_if_pointer_type): Likewise.
41596         (cast_to_integer): Likewise.
41597         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
41598         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
41599         before casting to atomic64_t.
41600         (atomic_exchange_acq): Likewise.
41601         (__arch_exchange_and_add_body): Likewise.
41602         (__arch_add_body): Likewise.
41603         (atomic_add_negative): Likewise.
41604         (atomic_add_zero): Likewise.
41606 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
41608         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
41609         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
41610         (add_fdes): Likewise.
41611         (linear_search_fdes): Likewise.
41612         (binary_search_unencoded_fdes): Likewise.
41614 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
41616         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
41618 2012-11-24  Adam Conrad  <adconrad@0c3.net>
41620         * configure.in: Autodetect C++ header directories.
41621         * configure: Regenerated.
41623 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
41625         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
41627 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
41629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41631 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
41633         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
41634         LDBL_MANT_DIG == 106]: Disable some tests.
41635         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41636         Likewise.
41637         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41638         Likewise.
41640         [BZ #14871]
41641         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
41642         input for small inputs.  Return +/- pi/2 for large inputs.
41643         * math/libm-test.inc (atan_test): Add more tests.
41645         * sysdeps/generic/unwind-dw2-fde-glibc.c
41646         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
41647         __attribute__ ((unused)).
41649         [BZ #14645]
41650         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
41651         x * y if x and y are nonzero and z is zero.
41653         [BZ #14811]
41654         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
41655         nonzero exponents with absolute value below 0x1p-117 to +/-
41656         0x1p-117.
41658         [BZ #14869]
41659         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
41660         up arguments below 2**-450, not just those below 2**-500.
41661         * math/libm-test.inc (hypot_test): Add another test.
41663         [BZ #14868]
41664         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
41665         Return a+b for ratio over 2**120, not 2**60.
41666         * math/libm-test.inc (hypot_test): Add another test.
41668         * math/libm-test.inc (clog_test): Use
41669         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
41670         (clog10_test): Likewise.
41672         [BZ #6778]
41673         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41675 2012-11-22  Andreas Schwab  <schwab@suse.de>
41677         * sysdeps/i386/fpu/libm-test-ulps: Update.
41679 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
41681         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41682         printf output with newline.
41684 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
41686         [BZ #14865]
41687         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41688         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41689         -z nodlopen, -z initfirst and -z execstack support.
41690         * configure: Regenerated.
41692         * elf/elf.h (DF_1_NODIRECT): New macro.
41693         (DF_1_IGNMULDEF): Likewise.
41694         (DF_1_NOKSYMS): Likewise.
41695         (DF_1_NOHDR): Likewise.
41696         (DF_1_EDITED): Likewise.
41697         (DF_1_NORELOC): Likewise.
41698         (DF_1_SYMINTPOSE): Likewise.
41699         (DF_1_GLOBAUDIT): Likewise.
41700         (DF_1_SINGLETON): Likewise.
41701         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41702         DT_1_SUPPORTED_MASK bits.
41703         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41705 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
41707         * sysdeps/unix/make-syscalls.sh: Document prefixes.
41709 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
41711         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41712         macro.
41714         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41715         (sendmmsg): Move declarations...
41716         * socket/sys/socket.h: ... here.
41717         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41718         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41719         include it from...
41720         * socket/recvmmsg.c: ... this new file.
41721         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41722         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41723         definition of __sendmmsg hidden.
41724         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41725         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41726         Move ENOSYS stub into and include it from...
41727         * socket/sendmmsg.c: ... this new file.
41728         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41729         (sysdep_routines): Move recvmmsg and sendmmsg...
41730         * socket/Makefile (routines): ... here.
41731         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41732         (GLIBC_PRIVATE): Add __sendmmsg.
41733         * include/sys/socket.h (__sendmmsg): Add declarations.
41734         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41735         sendmmsg.
41737 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41739         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41740         variable I1 with __attribute__ ((unused)).
41741         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41743 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41745         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41746         DUMMY variables with __attribute__ ((unused)).
41748         * bits/byteswap.h: Include <bits/types.h>.
41749         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41751 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41753         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41754         string_t.  Do not manually set errno.
41755         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41756         length with __strnlen.  Make sure to both set errno and return it on
41757         failure.
41759 2012-11-19  David S. Miller  <davem@davemloft.net>
41761         With help from Joseph Myers.
41762         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41763         very large arguments properly.
41764         * math/libm-test.inc (atan_test): New tests.
41765         (atan2_test): New tests.
41766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41767         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41769 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41771         [BZ #14856]
41772         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41773         Define to 3.
41775         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41776         [POSIX] (EADDRNOTAVAIL): Likewise.
41777         [POSIX] (EAFNOSUPPORT): Likewise.
41778         [POSIX] (EALREADY): Likewise.
41779         [POSIX] (ECONNABORTED): Likewise.
41780         [POSIX] (ECONNREFUSED): Likewise.
41781         [POSIX] (ECONNRESET): Likewise.
41782         [POSIX] (EDESTADDRREQ): Likewise.
41783         [POSIX] (EDQUOT): Likewise.
41784         [POSIX] (EHOSTUNREACH): Likewise.
41785         [POSIX] (EIDRM): Likewise.
41786         [POSIX] (EISCONN): Likewise.
41787         [POSIX] (ELOOP): Likewise.
41788         [POSIX] (EMULTIHOP): Likewise.
41789         [POSIX] (ENETDOWN): Likewise.
41790         [POSIX] (ENETUNREACH): Likewise.
41791         [POSIX] (ENOBUFS): Likewise.
41792         [POSIX] (ENODATA): Likewise.
41793         [POSIX] (ENOLINK): Likewise.
41794         [POSIX] (ENOMSG): Likewise.
41795         [POSIX] (ENOPROTOOPT): Likewise.
41796         [POSIX] (ENOSR): Likewise.
41797         [POSIX] (ENOSTR): Likewise.
41798         [POSIX] (ENOTCONN): Likewise.
41799         [POSIX] (ENOTSOCK): Likewise.
41800         [POSIX] (EOPNOTSUPP): Likewise.
41801         [POSIX] (EOVERFLOW): Likewise.
41802         [POSIX] (EPROTO): Likewise.
41803         [POSIX] (EPROTONOSUPPORT): Likewise.
41804         [POSIX] (EPROTOTYPE): Likewise.
41805         [POSIX] (ESTALE): Likewise.
41806         [POSIX] (ETIME): Likewise.
41807         [POSIX] (ETXTBSY): Likewise.
41808         [POSIX] (EWOULDBLOCK): Likewise.
41809         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41810         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41811         [POSIX] (SEEK_CUR): Likewise.
41812         [POSIX] (SEEK_END): Likewise.
41813         [POSIX || UNIX98] (mode_t): Do not require.
41814         [POSIX] (off_t): Likewise.
41815         [POSIX] (pid_t): Likewise.
41816         [POSIX] (sys/stat.h): Do not allow header.
41817         [POSIX] (unistd.h): Likewise.
41818         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41819         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41820         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41821         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41822         require.
41823         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41824         sigevent): Specify elements.
41825         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41826         entry.
41827         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41828         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41830         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41831         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41832         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41833         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41834         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41835         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41836         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41837         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41838         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41839         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41840         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41841         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41842         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41843         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41844         Likewise.
41845         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41846         Likewise.
41847         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41848         Likewise.
41849         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41850         Likewise.
41851         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41852         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41853         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41854         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41855         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41856         Specify lower bound on value.
41857         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41858         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41859         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41860         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41861         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41862         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41863         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41864         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41865         value.
41866         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41867         as optional.
41868         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41869         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41870         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41871         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41872         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41873         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41874         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41875         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41876         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41877         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41878         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41879         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41880         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41881         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41882         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41883         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41884         entry.
41885         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41886         optional.
41887         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41888         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41889         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41890         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41891         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41892         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41893         Likewise.
41894         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41895         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41896         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41897         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41898         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41899         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41900         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41901         as optional.
41902         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41903         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41904         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41905         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41906         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41907         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41908         specify as optional.
41909         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41910         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41911         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41912         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41913         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41914         [XPG3] (NL_LANGMAX): Likewise.
41915         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41916         [POSIX || XPG3] (NL_NMAX): Likewise.
41917         [POSIX || XPG3] (NL_SETMAX): Likewise.
41918         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41919         [XPG3] (NZERO): Likewise.
41920         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41921         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41922         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41923         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41924         (REG_ERANGE): Expect.
41925         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41926         optional-constant.
41927         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41928         Use (void) in prototype.
41929         [POSIX] (*_t): Allow.
41930         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41931         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41932         (WRDE_BADVAL): Expect.
41934         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41935         expect.
41936         [XPG3 || XPG4] (O_RSYNC): Likewise.
41937         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41938         Likewise.
41939         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41940         [XPG3 || XPG4] (sigqueue): Likewise.
41941         [XPG3 || XPG4] (sigtimedwait): Likewise.
41942         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41943         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41944         [XPG3 || XPG4] (vsnprintf): Likewise.
41945         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41946         Likewise.
41947         [XPG3 || XPG4] (blksize_t): Likewise.
41948         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41949         Likewise.
41950         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41951         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41952         [XPG3 || XPG4] (struct itimerspec): Likewise.
41953         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41954         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41955         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41956         [XPG3 || XPG4] (clockid_t): Likewise.
41957         [XPG3 || XPG4] (timer_t): Likewise.
41958         [XPG3 || XPG4] (clock_getres): Likewise.
41959         [XPG3 || XPG4] (clock_gettime): Likewise.
41960         [XPG3 || XPG4] (clock_settime): Likewise.
41961         [XPG3 || XPG4] (nanosleep): Likewise.
41962         [XPG3 || XPG4] (timer_create): Likewise.
41963         [XPG3 || XPG4] (timer_delete): Likewise.
41964         [XPG3 || XPG4] (timer_gettime): Likewise.
41965         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41966         [XPG3 || XPG4] (timer_settime): Likewise.
41967         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41968         [XPG3 || XPG4] (getlogin_r): Likewise.
41969         [XPG3 || XPG4] (pread): Likewise.
41970         [XPG3 || XPG4] (pthread_atfork): Likewise.
41971         [XPG3 || XPG4] (pwrite): Likewise.
41973         [BZ #14835]
41974         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41975         <bits/siginfo.h>.
41977 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41979         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41980         finalizing MALLSTREAM.
41982         * sysdeps/mach/hurd/syncfs.c: New file.
41984 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41986         [BZ #14719]
41987         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41988         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41989         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41990         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41991         (_nss_dns_gethostbyname4_r): Likewise.
41992         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41993         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41995 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41997         [BZ #13763]
41998         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
42000 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
42002         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
42003         * elf/cache.c (print_entry): Print ",AArch64" for
42004         FLAG_AARCH64_LIB64
42006         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
42007         * elf/cache.c (print_entry): Print ",hard-float" for
42008         FLAG_ARM_LIBHF.
42010 2012-11-18  David S. Miller  <davem@davemloft.net>
42012         With help from Joseph Myers.
42013         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
42014         cutoff to 2**-13.
42015         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
42016         cutoff to 2**-25.
42017         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
42018         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
42019         small.
42020         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
42021         * math/libm-test.inc (y0_test): New tests.
42022         (y1_test): New tests.
42023         * sysdeps/i386/fpu/libm-test-ulps: Update.
42024         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42025         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42027 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
42029         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
42030         64-bit targets.
42031         * configure: Regenerated.
42033 2012-11-17  David S. Miller  <davem@davemloft.net>
42035         [BZ #14811]
42036         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
42037         nonzero exponents with absolute value below 0x1p-128 to +/-
42038         0x1p-128.
42040 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
42042         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
42044         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
42046         * posix/getconf-speclist.c: New file.
42047         * posix/posix-envs.def: Likewise.
42048         * posix/confstr.c (START_ENV_GROUP): New macro.
42049         (END_ENV_GROUP): Likewise.
42050         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42051         (KNOWN_PRESENT_ENV_STRING): Likewise.
42052         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42053         (UNKNOWN_ENVIRONMENT): Likewise.
42054         (confstr): Include posix-envs.def instead of handling
42055         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
42056         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
42057         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
42058         (END_ENV_GROUP): Likewise.
42059         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42060         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42061         (UNKNOWN_ENVIRONMENT): Likewise.
42062         (__sysconf): Include posix-envs.def instead of handling associated
42063         cases directly here.
42064         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
42065         preprocessing getconf-speclist.c rather than running getconf or
42066         generating empty file.
42068 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
42070         * scripts/check-local-headers.sh: Ignore 'mach' headers.
42072 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
42074         [BZ #14672]
42075         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
42077 2012-11-16  David S. Miller  <davem@davemloft.net>
42079         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
42080         smaller than LDBL_EPSILON/2.0L, just return xm1.
42082 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
42084         * elf/tst-array1.c (init): Set constructor priority to 1000.
42085         (fini): Set destructor priority to 1000.
42086         * elf/tst-array2dep.c: Likewise.
42088 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42090         [BZ #11741]
42091         * libio/fileops.c (_IO_new_file_write): Correctly return error.
42092         (_IO_new_file_xsputn): Also return EOF if none of the input
42093         data was written when overflow failed.
42094         * libio/iopadn.c (_IO_padn): Likewise.
42095         * libio/iowpadn.c (_IO_wpadn): Likewise.
42096         * stdio-common/tst-put-error.c: Add copyright notice.
42097         (do_test): Add case for printing padded string.
42098         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
42099         _IO_padn returned error.
42100         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
42101         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
42102         return EOF.
42104 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42106         * libio/libioP.h: Add comment note that the references to C++
42107         bits are now obsolete.
42109 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42111         * math/libm-test.inc (check_complex): Use asprintf.
42113 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
42115         * debug/pcprofiledump.c (print_version): Update copyright year.
42116         * malloc/memusagestat.c (print_version): Likewise.
42118 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
42120         [BZ #14831]
42121         * elf/Makefile (tests): Add tst-audit8.
42122         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
42123         ($(objpfx)tst-audit8.out): New target.
42124         (tst-audit8-ENV): New variable.
42125         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
42126         audit if l_reloc_result is NULL.
42127         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
42128         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
42129         * elf/tst-audit8.c: New file.
42131 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42133         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
42134         * misc/Makefile (CFLAGS-select.c): Define.
42135         * posix/Makefile (CFLAGS-pause.c): Define.
42137 2012-11-13  David S. Miller  <davem@davemloft.net>
42139         * crypt/Makefile: Move test targets after toplevel Rules
42140         inclusion.  Grab any necessary sysdep routines when linking.
42141         * crypt/md5.c (md5_process_block): Remove define, we will always
42142         name it __md5_process_block.
42143         (md5_finish_ctx): Update md5_process_block call.
42144         (md5_stream): Likewise.
42145         (md5_process_bytes): Likewise.
42146         (md5_process_block): Rename to __md5_process_block and move to ...
42147         * crypt/md5-block.c: ... here.
42148         * crypt/sha256.c (sha256_process_block): Move to ...
42149         * crypt/sha256-block.c: ... here.
42150         * crypt/sha512.c (sha512_process_block): Move to ...
42151         * crypt/sha512-block.c: ... here.
42152         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
42153         path.
42154         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
42155         * sysdeps/sparc/sparc64/multiarch/Makefile
42156         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
42157         crypt subdir.
42158         (localedef-aux): Add md5 crypto assembler when in locale subdir.
42159         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
42160         multiarch changes.
42161         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
42162         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
42163         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
42164         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
42165         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
42166         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
42167         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
42168         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
42169         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
42170         file.
42171         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
42172         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
42173         file.
42174         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
42176 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
42178         * timezone/tzselect.ksh: Update from tzcode git revision
42179         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
42180         * timezone/zdump.c: Likewise.
42181         * timezone/zic.c: Likewise.
42182         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
42183         in TZVERSION setting, not $(PKGVERSION).
42184         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
42185         REPORT_BUGS_TO settings.
42187         [BZ #14838]
42188         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
42189         macro.
42191 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42193         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
42194         detection to immediately after _FP_ROUND().
42195         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
42196         bits are 0.
42198 2012-11-11  David S. Miller  <davem@davemloft.net>
42200         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
42201         inttypes.h
42202         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
42203         __close rather than their public counterparts.
42205 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
42207         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
42208         file.
42209         [UNIX98] (sem_timedwait): Do not expect.
42210         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
42211         [XPG4 || UNIX98] (sockatmark): Do not expect.
42212         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
42213         (clock_getcpuclockid): Do not expect.
42214         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
42215         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
42216         Do not expect.
42217         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
42218         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
42219         [UNIX98] (vwscanf): Likewise.
42220         [UNIX98] (vswscanf): Likewise.
42222 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
42224         * timezone/version.h: Remove file.
42225         * timezone/README: Do not refer to version.h.
42226         * timezone/Makefile ($(objpfx)zic.o): New dependency on
42227         $(objpfx)version.h.
42228         ($(objpfx)zdump.o): Likewise.
42229         ($(objpfx)version.h): New target.
42231         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
42232         2012i.
42233         * timezone/README: Don't mention modification to tzselect.ksh.
42234         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
42235         work on unmodified tzselect.ksh.  Substitute version numbers in
42236         tzselect.ksh.
42238         * Makefile (format-me): Remove.
42239         (INSTALL): Adjust indentation.  Use commands directly instead of
42240         using $(format-me).
42242         * aclocal.m4 (ACX_PKGVERSION): New macro.
42243         (ACX_BUGURL): Likewise.
42244         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
42245         (PKGVERSION): New AC_DEFINE_UNQUOTED.
42246         (REPORT_BUGS_TO): Likewise.
42247         * configure: Regenerated.
42248         * config.h.in (PKGVERSION): New macro.
42249         (REPORT_BUGS_TO): Likewise.
42250         * config.make.in (PKGVERSION): New variable.
42251         (PKGVERSION_TEXI): Likewise.
42252         (REPORT_BUGS_TO): Likewise.
42253         (REPORT_BUGS_TEXI): Likewise.
42254         * Makefile (format-me): Use -I$(common-objpfx)manual.
42255         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
42256         ($(common-objpfx)manual/%): New target.
42257         (manual/%): Remove target.
42258         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
42259         (print_version): Use PKGVERSION.
42260         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
42261         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
42262         and REPORT_BUGS_TO.
42263         ($(objpfx)xtrace): Likewise.
42264         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
42265         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
42266         (print_version): Use PKGVERSION.
42267         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
42268         (do_version): Use PKGVERSION.
42269         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
42270         REPORT_BUGS_TO.
42271         (common-ldd-rewrite): Likewise.
42272         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
42273         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
42274         (print_version): Use PKGVERSION.
42275         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
42276         * elf/pldd.c (argp_program_bug_address): Remove variable.
42277         (more_help): New function.
42278         (argp): Use more_help.
42279         (print_version): Use PKGVERSION.
42280         * elf/sln.c (main): Use PKGVERSION.
42281         (usage): Use REPORT_BUGS_TO.
42282         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
42283         (top level): Use PKGVERSION.
42284         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
42285         (print_version): Use PKGVERSION.
42286         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
42287         (print_version): Use PKGVERSION.
42288         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
42289         (print_version): Use PKGVERSION.
42290         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
42291         (print_version): Use PKGVERSION.
42292         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
42293         (print_version): Use PKGVERSION.
42294         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
42295         (print_version): Use PKGVERSION.
42296         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
42297         and BUGURL.
42298         ($(objpfx)memusage): Likewise.
42299         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
42300         (do_version): Use PKGVERSION.
42301         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
42302         (print_version): Use PKGVERSION.
42303         * malloc/mtrace.pl ($PACKAGE): Remove variable.
42304         ($PKGVERSION): New variable.
42305         ($REPORT_BUGS_TO): Likewise.
42306         (usage): Use $REPORT_BUGS_TO.
42307         (top level): Use $PKGVERSION.
42308         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
42309         ($(objpfx)pkgvers.texi): New rule.
42310         ($(objpfx)stamp-pkgvers): Likewise.
42311         * manual/install.texi: Include pkgvers.texi.
42312         (--with-pkgversion): Document new configure option.
42313         (--with-bugurl): Likewise.
42314         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
42315         than necessarily for this particular distribution.  Use
42316         REPORT_BUGS_TO for where to report bugs.
42317         * INSTALL: Regenerated.
42318         * manual/libc.texinfo: Include pkgvers.texi.
42319         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
42320         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
42321         (print_version): Use PKGVERSION.
42322         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
42323         (print_version): Use PKGVERSION.
42324         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
42325         (print_version): Use PKGVERSION.
42326         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
42327         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
42328         macro.
42329         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
42330         (print_version): Use PKGVERSION.
42331         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
42332         (print_version): Use PKGVERSION.
42333         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
42334         and PKGVERSION.
42336         * timezone/checktab.awk: Update from tzcode 2012i.
42337         * timezone/ialloc.c: Likewise.
42338         * timezone/private.h: Likewise.
42339         * timezone/scheck.c: Likewise.
42340         * timezone/tzfile.h: Likewise.
42341         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
42342         (TZVERSION): Hardcode tzcode version number.
42343         * timezone/zdump.c: Update from tzcode 2012i.
42344         * timezone/zic.c: Likewise.
42345         * timezone/version.h: New file.
42346         * timezone/README: Describe version.h.  Update upstream location.
42348         [BZ #14824]
42349         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
42350         (mktemp): Enable declaration.
42351         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
42352         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
42353         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
42354         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
42355         Likewise.
42356         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
42357         Likewise.
42358         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
42359         Likewise.
42360         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
42361         Likewise.
42362         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
42363         Likewise.
42364         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
42365         Likewise.
42367         [BZ #14821]
42368         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
42369         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
42370         for copies of such integer values.
42371         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42372         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42374 2012-11-09  Andreas Jaeger  <aj@suse.de>
42376         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
42377         definitions and declarations that are provided by
42378         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42380 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42382         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
42383         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
42384         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
42385         definition.
42387 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42389         * elf/elf.h: Update comment before AArch64 relocations.
42391 2012-11-07  David S. Miller  <davem@davemloft.net>
42393         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
42394         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42395         (__start_context): Declare.
42396         (__makecontext_ret): Delete.
42397         (__makecontext): Hook up __start_context instead of
42398         __makecontext_ret.
42399         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
42400         (sysdep_routines): Add __start_context when in stdlib.
42402 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42404         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
42405         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
42406         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
42407         hardcoded "nm".
42408         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
42409         (READELF): New variable.  Use it instead of hardcoded "readelf".
42411 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
42413         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
42414         * sysdeps/x86/Makefile: Here.
42415         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
42416         * sysdeps/x86/tst-xmmymm.sh: This.
42418 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42420         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
42421         expectations.
42422         [UNIX98] (pthread_barrier_t): Do not expect.
42423         [UNIX98] (pthread_barrierattr_t): Likewise.
42424         [UNIX98] (pthread_spinlock_t): Likewise.
42425         [UNIX98] (pthread_barrier_destroy): Likewise.
42426         [UNIX98] (pthread_barrier_init): Likewise.
42427         [UNIX98] (pthread_barrier_wait): Likewise.
42428         [UNIX98] (pthread_barrierattr_destroy): Likewise.
42429         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
42430         [UNIX98] (pthread_barrierattr_init): Likewise.
42431         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
42432         [UNIX98] (pthread_getcpuclockid): Likewise.
42433         [UNIX98] (pthread_mutex_timedlock): Likewise.
42434         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
42435         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
42436         [UNIX98] (pthread_sigmask): Likewise.
42437         [UNIX98] (pthread_spin_destroy): Likewise.
42438         [UNIX98] (pthread_spin_init): Likewise.
42439         [UNIX98] (pthread_spin_lock): Likewise.
42440         [UNIX98] (pthread_spin_trylock): Likewise.
42441         [UNIX98] (pthread_spin_unlock): Likewise.
42442         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
42443         Do not expect.
42444         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
42445         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
42446         [XPG3 || XPG4] (pthread_cond_t): Likewise.
42447         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
42448         [XPG3 || XPG4] (pthread_key_t): Likewise.
42449         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
42450         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
42451         [XPG3 || XPG4] (pthread_once_t): Likewise.
42452         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
42453         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
42454         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
42455         [XPG3 || XPG4] (pthread_t): Likewise.
42457         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
42458         not expect.
42459         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
42461         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
42462         Change function return type to int.
42464         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
42465         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
42466         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
42467         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
42468         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
42469         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
42470         [!POSIX] (posix_madvise): Likewise.
42471         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
42472         && !UNIX98].
42473         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
42474         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
42475         (mode_t): Likewise.
42476         (posix_mem_offset): Likewise.
42477         (posix_typed_mem_get_info): Likewise.
42478         (posix_typed_mem_open): Likewise.
42480         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
42481         Change condition to [XOPEN2K8].
42483         * conform/conformtest.pl: Preprocess allow-header data with -x c
42484         instead of from stdin.
42485         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
42486         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
42487         [C99-based standards] (cerfc): Likewise.
42488         [C99-based standards] (cexp2): Likewise.
42489         [C99-based standards] (cexpm1): Likewise.
42490         [C99-based standards] (clog10): Likewise.
42491         [C99-based standards] (clog1p): Likewise.
42492         [C99-based standards] (clog2): Likewise.
42493         [C99-based standards] (clgamma): Likewise.
42494         [C99-based standards] (ctgamma): Likewise.
42495         [C99-based standards] (cerff): Likewise.
42496         [C99-based standards] (cerfcf): Likewise.
42497         [C99-based standards] (cexp2f): Likewise.
42498         [C99-based standards] (cexpm1f): Likewise.
42499         [C99-based standards] (clog10f): Likewise.
42500         [C99-based standards] (clog1pf): Likewise.
42501         [C99-based standards] (clog2f): Likewise.
42502         [C99-based standards] (clgammaf): Likewise.
42503         [C99-based standards] (ctgammaf): Likewise.
42504         [C99-based standards] (cerfl): Likewise.
42505         [C99-based standards] (cerfcl): Likewise.
42506         [C99-based standards] (cexp2l): Likewise.
42507         [C99-based standards] (cexpm1l): Likewise.
42508         [C99-based standards] (clog10l): Likewise.
42509         [C99-based standards] (clog1pl): Likewise.
42510         [C99-based standards] (clog2l): Likewise.
42511         [C99-based standards] (clgammal): Likewise.
42512         [C99-based standards] (ctgammal): Likewise.
42513         * conform/data/inttypes.h-data [C99-based standards]: Include
42514         stdint.h-data.  Remove all expectations for stdint.h contents.
42515         [C99-based standards] (PRI*): Do not allow.
42516         [C99-based standards] (SCN*): Likewise.
42517         [C99-based standards] (*_t): Likewise.
42518         [C99-based-standards] (PRId8): Expect macro.
42519         [C99-based-standards] (PRIi8): Likewise.
42520         [C99-based-standards] (PRIo8): Likewise.
42521         [C99-based-standards] (PRIu8): Likewise.
42522         [C99-based-standards] (PRIx8): Likewise.
42523         [C99-based-standards] (PRIX8): Likewise.
42524         [C99-based-standards] (SCNd8): Likewise.
42525         [C99-based-standards] (SCNi8): Likewise.
42526         [C99-based-standards] (SCNo8): Likewise.
42527         [C99-based-standards] (SCNu8): Likewise.
42528         [C99-based-standards] (SCNx8): Likewise.
42529         [C99-based-standards] (PRIdLEAST8): Likewise.
42530         [C99-based-standards] (PRIiLEAST8): Likewise.
42531         [C99-based-standards] (PRIoLEAST8): Likewise.
42532         [C99-based-standards] (PRIuLEAST8): Likewise.
42533         [C99-based-standards] (PRIxLEAST8): Likewise.
42534         [C99-based-standards] (PRIXLEAST8): Likewise.
42535         [C99-based-standards] (SCNdLEAST8): Likewise.
42536         [C99-based-standards] (SCNiLEAST8): Likewise.
42537         [C99-based-standards] (SCNoLEAST8): Likewise.
42538         [C99-based-standards] (SCNuLEAST8): Likewise.
42539         [C99-based-standards] (SCNxLEAST8): Likewise.
42540         [C99-based-standards] (PRIdFAST8): Likewise.
42541         [C99-based-standards] (PRIiFAST8): Likewise.
42542         [C99-based-standards] (PRIoFAST8): Likewise.
42543         [C99-based-standards] (PRIuFAST8): Likewise.
42544         [C99-based-standards] (PRIxFAST8): Likewise.
42545         [C99-based-standards] (PRIXFAST8): Likewise.
42546         [C99-based-standards] (SCNdFAST8): Likewise.
42547         [C99-based-standards] (SCNiFAST8): Likewise.
42548         [C99-based-standards] (SCNoFAST8): Likewise.
42549         [C99-based-standards] (SCNuFAST8): Likewise.
42550         [C99-based-standards] (SCNxFAST8): Likewise.
42551         [C99-based-standards] (PRId16): Likewise.
42552         [C99-based-standards] (PRIi16): Likewise.
42553         [C99-based-standards] (PRIo16): Likewise.
42554         [C99-based-standards] (PRIu16): Likewise.
42555         [C99-based-standards] (PRIx16): Likewise.
42556         [C99-based-standards] (PRIX16): Likewise.
42557         [C99-based-standards] (SCNd16): Likewise.
42558         [C99-based-standards] (SCNi16): Likewise.
42559         [C99-based-standards] (SCNo16): Likewise.
42560         [C99-based-standards] (SCNu16): Likewise.
42561         [C99-based-standards] (SCNx16): Likewise.
42562         [C99-based-standards] (PRIdLEAST16): Likewise.
42563         [C99-based-standards] (PRIiLEAST16): Likewise.
42564         [C99-based-standards] (PRIoLEAST16): Likewise.
42565         [C99-based-standards] (PRIuLEAST16): Likewise.
42566         [C99-based-standards] (PRIxLEAST16): Likewise.
42567         [C99-based-standards] (PRIXLEAST16): Likewise.
42568         [C99-based-standards] (SCNdLEAST16): Likewise.
42569         [C99-based-standards] (SCNiLEAST16): Likewise.
42570         [C99-based-standards] (SCNoLEAST16): Likewise.
42571         [C99-based-standards] (SCNuLEAST16): Likewise.
42572         [C99-based-standards] (SCNxLEAST16): Likewise.
42573         [C99-based-standards] (PRIdFAST16): Likewise.
42574         [C99-based-standards] (PRIiFAST16): Likewise.
42575         [C99-based-standards] (PRIoFAST16): Likewise.
42576         [C99-based-standards] (PRIuFAST16): Likewise.
42577         [C99-based-standards] (PRIxFAST16): Likewise.
42578         [C99-based-standards] (PRIXFAST16): Likewise.
42579         [C99-based-standards] (SCNdFAST16): Likewise.
42580         [C99-based-standards] (SCNiFAST16): Likewise.
42581         [C99-based-standards] (SCNoFAST16): Likewise.
42582         [C99-based-standards] (SCNuFAST16): Likewise.
42583         [C99-based-standards] (SCNxFAST16): Likewise.
42584         [C99-based-standards] (PRId32): Likewise.
42585         [C99-based-standards] (PRIi32): Likewise.
42586         [C99-based-standards] (PRIo32): Likewise.
42587         [C99-based-standards] (PRIu32): Likewise.
42588         [C99-based-standards] (PRIx32): Likewise.
42589         [C99-based-standards] (PRIX32): Likewise.
42590         [C99-based-standards] (SCNd32): Likewise.
42591         [C99-based-standards] (SCNi32): Likewise.
42592         [C99-based-standards] (SCNo32): Likewise.
42593         [C99-based-standards] (SCNu32): Likewise.
42594         [C99-based-standards] (SCNx32): Likewise.
42595         [C99-based-standards] (PRIdLEAST32): Likewise.
42596         [C99-based-standards] (PRIiLEAST32): Likewise.
42597         [C99-based-standards] (PRIoLEAST32): Likewise.
42598         [C99-based-standards] (PRIuLEAST32): Likewise.
42599         [C99-based-standards] (PRIxLEAST32): Likewise.
42600         [C99-based-standards] (PRIXLEAST32): Likewise.
42601         [C99-based-standards] (SCNdLEAST32): Likewise.
42602         [C99-based-standards] (SCNiLEAST32): Likewise.
42603         [C99-based-standards] (SCNoLEAST32): Likewise.
42604         [C99-based-standards] (SCNuLEAST32): Likewise.
42605         [C99-based-standards] (SCNxLEAST32): Likewise.
42606         [C99-based-standards] (PRIdFAST32): Likewise.
42607         [C99-based-standards] (PRIiFAST32): Likewise.
42608         [C99-based-standards] (PRIoFAST32): Likewise.
42609         [C99-based-standards] (PRIuFAST32): Likewise.
42610         [C99-based-standards] (PRIxFAST32): Likewise.
42611         [C99-based-standards] (PRIXFAST32): Likewise.
42612         [C99-based-standards] (SCNdFAST32): Likewise.
42613         [C99-based-standards] (SCNiFAST32): Likewise.
42614         [C99-based-standards] (SCNoFAST32): Likewise.
42615         [C99-based-standards] (SCNuFAST32): Likewise.
42616         [C99-based-standards] (SCNxFAST32): Likewise.
42617         [C99-based-standards] (PRId64): Likewise.
42618         [C99-based-standards] (PRIi64): Likewise.
42619         [C99-based-standards] (PRIo64): Likewise.
42620         [C99-based-standards] (PRIu64): Likewise.
42621         [C99-based-standards] (PRIx64): Likewise.
42622         [C99-based-standards] (PRIX64): Likewise.
42623         [C99-based-standards] (SCNd64): Likewise.
42624         [C99-based-standards] (SCNi64): Likewise.
42625         [C99-based-standards] (SCNo64): Likewise.
42626         [C99-based-standards] (SCNu64): Likewise.
42627         [C99-based-standards] (SCNx64): Likewise.
42628         [C99-based-standards] (PRIdLEAST64): Likewise.
42629         [C99-based-standards] (PRIiLEAST64): Likewise.
42630         [C99-based-standards] (PRIoLEAST64): Likewise.
42631         [C99-based-standards] (PRIuLEAST64): Likewise.
42632         [C99-based-standards] (PRIxLEAST64): Likewise.
42633         [C99-based-standards] (PRIXLEAST64): Likewise.
42634         [C99-based-standards] (SCNdLEAST64): Likewise.
42635         [C99-based-standards] (SCNiLEAST64): Likewise.
42636         [C99-based-standards] (SCNoLEAST64): Likewise.
42637         [C99-based-standards] (SCNuLEAST64): Likewise.
42638         [C99-based-standards] (SCNxLEAST64): Likewise.
42639         [C99-based-standards] (PRIdFAST64): Likewise.
42640         [C99-based-standards] (PRIiFAST64): Likewise.
42641         [C99-based-standards] (PRIoFAST64): Likewise.
42642         [C99-based-standards] (PRIuFAST64): Likewise.
42643         [C99-based-standards] (PRIxFAST64): Likewise.
42644         [C99-based-standards] (PRIXFAST64): Likewise.
42645         [C99-based-standards] (SCNdFAST64): Likewise.
42646         [C99-based-standards] (SCNiFAST64): Likewise.
42647         [C99-based-standards] (SCNoFAST64): Likewise.
42648         [C99-based-standards] (SCNuFAST64): Likewise.
42649         [C99-based-standards] (SCNxFAST64): Likewise.
42650         [C99-based-standards] (PRIdMAX): Likewise.
42651         [C99-based-standards] (PRIiMAX): Likewise.
42652         [C99-based-standards] (PRIoMAX): Likewise.
42653         [C99-based-standards] (PRIuMAX): Likewise.
42654         [C99-based-standards] (PRIxMAX): Likewise.
42655         [C99-based-standards] (PRIXMAX): Likewise.
42656         [C99-based-standards] (SCNdMAX): Likewise.
42657         [C99-based-standards] (SCNiMAX): Likewise.
42658         [C99-based-standards] (SCNoMAX): Likewise.
42659         [C99-based-standards] (SCNuMAX): Likewise.
42660         [C99-based-standards] (SCNxMAX): Likewise.
42661         [C99-based-standards] (PRIdPTR): Likewise.
42662         [C99-based-standards] (PRIiPTR): Likewise.
42663         [C99-based-standards] (PRIoPTR): Likewise.
42664         [C99-based-standards] (PRIuPTR): Likewise.
42665         [C99-based-standards] (PRIxPTR): Likewise.
42666         [C99-based-standards] (PRIXPTR): Likewise.
42667         [C99-based-standards] (SCNdPTR): Likewise.
42668         [C99-based-standards] (SCNiPTR): Likewise.
42669         [C99-based-standards] (SCNoPTR): Likewise.
42670         [C99-based-standards] (SCNuPTR): Likewise.
42671         [C99-based-standards] (SCNxPTR): Likewise.
42672         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42673         allow.
42674         * conform/data/stdint.h-data: Update comments to clarify
42675         requirements.
42676         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
42677         type.
42678         [C99-based standards] (INT8_MAX): Likewise.
42679         [C99-based standards] (INT16_MIN): Likewise.
42680         [C99-based standards] (INT16_MAX): Likewise.
42681         [C99-based standards] (INT32_MIN): Likewise.
42682         [C99-based standards] (INT32_MAX): Likewise.
42683         [C99-based standards] (INT64_MIN): Likewise.
42684         [C99-based standards] (INT64_MAX): Likewise.
42685         [C99-based standards] (UINT8_MAX): Likewise.
42686         [C99-based standards] (UINT16_MAX): Likewise.
42687         [C99-based standards] (UINT32_MAX): Likewise.
42688         [C99-based standards] (UINT64_MAX): Likewise.
42689         [C99-based standards] (INT_LEAST8_MIN): Likewise.
42690         [C99-based standards] (INT_LEAST8_MAX): Likewise.
42691         [C99-based standards] (INT_LEAST16_MIN): Likewise.
42692         [C99-based standards] (INT_LEAST16_MAX): Likewise.
42693         [C99-based standards] (INT_LEAST32_MIN): Likewise.
42694         [C99-based standards] (INT_LEAST32_MAX): Likewise.
42695         [C99-based standards] (INT_LEAST64_MIN): Likewise.
42696         [C99-based standards] (INT_LEAST64_MAX): Likewise.
42697         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42698         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42699         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42700         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42701         [C99-based standards] (INT_FAST8_MIN): Likewise.
42702         [C99-based standards] (INT_FAST8_MAX): Likewise.
42703         [C99-based standards] (INT_FAST16_MIN): Likewise.
42704         [C99-based standards] (INT_FAST16_MAX): Likewise.
42705         [C99-based standards] (INT_FAST32_MIN): Likewise.
42706         [C99-based standards] (INT_FAST32_MAX): Likewise.
42707         [C99-based standards] (INT_FAST64_MIN): Likewise.
42708         [C99-based standards] (INT_FAST64_MAX): Likewise.
42709         [C99-based standards] (UINT_FAST8_MAX): Likewise.
42710         [C99-based standards] (UINT_FAST16_MAX): Likewise.
42711         [C99-based standards] (UINT_FAST32_MAX): Likewise.
42712         [C99-based standards] (UINT_FAST64_MAX): Likewise.
42713         [C99-based standards] (INTPTR_MIN): Likewise.
42714         [C99-based standards] (INTPTR_MAX): Likewise.
42715         [C99-based standards] (UINTPTR_MAX): Likewise.
42716         [C99-based standards] (INTMAX_MIN): Likewise.
42717         [C99-based standards] (INTMAX_MAX): Likewise.
42718         [C99-based standards] (UINTMAX_MAX): Likewise.
42719         [C99-based standards] (PTRDIFF_MIN): Likewise.
42720         [C99-based standards] (PTRDIFF_MAX): Likewise.
42721         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42722         [C99-based standards] (SIZE_MAX): Likewise.
42723         [C99-based standards] (WCHAR_MAX): Likewise.
42724         [C99-based standards] (WINT_MAX): Likewise.
42725         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42726         constraint on value.
42727         [C99-based standards] (WCHAR_MIN): Likewise.
42728         [C99-based standards] (WINT_MIN): Likewise.
42729         [C99-based standards] (*_t): Allow.
42730         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42731         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42732         Include math.h-data and complex.h-data.  Remove all expectations
42733         of math.h and complex.h contents.
42734         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42735         at end of line.
42736         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42737         (struct tm): Expect tag.
42738         [C99-based-standards] (wcstof): Expect function.
42739         [C99-based-standards] (wcstold): Likewise.
42740         [C99-based-standards] (wcstoll): Likewise.
42741         [C99-based-standards] (wcstoull): Likewise.
42742         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42743         macro-int-constant.  Specify type.
42744         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42745         constraint on value.
42746         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42747         Specify type.
42748         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42749         Specify value.
42750         [ISO C standards]: Do not allow headers.
42751         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42752         wcs[abcdefghijklmnopqrstuvwxyz]*.
42753         [ISO C standards] (*_t): Do not allow.
42754         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42755         Expect function.
42756         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42757         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42758         Specify type.
42759         [ISO C standards]: Do not allow headers.
42760         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42761         is[abcdefghijklmnopqrstuvwxyz]*.
42762         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42763         to[abcdefghijklmnopqrstuvwxyz]*.
42764         [ISO C standards] (*_t): Do not allow.
42765         * conform/data/stdalign.h-data: New file.
42766         * conform/data/stdbool.h-data: Likewise.
42767         * conform/data/stdnoreturn.h-data: Likewise.
42769 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42771         [BZ #14815]
42772         * manual/filesys.texi (Directory Entries): Typo fix.
42773         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42775 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42777         * elf/elf.h (EM_AARCH64): New macro.
42778         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42779         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42780         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42781         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42782         (R_AARCH64_TLSDESC): Likewise.
42783         (NT_ARM_TLS): Likewise.
42784         (NT_ARM_HW_BREAK): Likewise.
42785         (NT_ARM_HW_WATCH): Likewise.
42787 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42789         [BZ #14811]
42790         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42791         (__ieee754_powl): Saturate nonzero exponents with absolute value
42792         below 0x1p-79 to +/- 0x1p-79.
42793         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42794         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42795         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42796         nonzero exponents with absolute value below 0x1p-32 to +/-
42797         0x1p-32.
42798         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42799         (__ieee754_powl): Saturate nonzero exponents with absolute value
42800         below 0x1p-79 to +/- 0x1p-79.
42801         * math/libm-test.inc (pow_test): Add more tests.
42803 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42805         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42806         _dl_s390_cap_flags with kernel. Increase string length.
42807         (_dl_s390_platforms): Add z196 and zEC12.
42809 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42811         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42812         Change XOPEN21K to XOPEN2K.
42814 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42816         * string/memmove.c: Use memcpy when possible.
42818 2012-11-06  Andreas Jaeger  <aj@suse.de>
42820         * po/eo.po: Update from translation team.
42822 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42824         [BZ #14793]
42825         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42826         exponent and small x and y exponents, scale x or y up.  Increase
42827         by 2 the exponent used in scaling up.
42828         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42829         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42830         * math/libm-test.inc (fma_test): Add more tests.
42831         (fma_test_towardzero): Likewise.
42832         (fma_test_downward): Likewise.
42833         (fma_test_upward): Likewise.
42835 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42837         [BZ #14805]
42838         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42839         fenv_t *.
42841         [BZ #14801]
42842         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42843         namespace for names of struct fields.
42844         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42845         fenv_t fields.
42846         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42847         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42849 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42851         [BZ #3665]
42852         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42854 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42856         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42857         PTR_DEMANGLE.
42859         [BZ #5246]
42860         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42861         PTR_DEMANGLE.
42863 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42865         [BZ #14797]
42866         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42867         definitely overflow as x * y not x * y + z.
42868         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42869         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42870         * math/libm-test.inc (fma_test): Add more tests.
42871         (fma_test_towardzero): Likewise.
42872         (fma_test_downward): Likewise.
42873         (fma_test_upward): Likewise.
42875 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42877         [BZ #157]
42879         * include/stub-tag.h: Remove file.
42880         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42881         '#include' of it.
42882         * manual/maint.texi (Porting): Don't reference it.
42883         * Makerules ($(objpfx)stubs): Likewise.
42884         * dirent/closedir.c: Don't include <stub-tag.h>.
42885         * dirent/dirfd.c: Likewise.
42886         * dirent/fdopendir.c: Likewise.
42887         * dirent/getdents.c: Likewise.
42888         * dirent/getdents64.c: Likewise.
42889         * dirent/opendir.c: Likewise.
42890         * dirent/readdir.c: Likewise.
42891         * dirent/readdir64.c: Likewise.
42892         * dirent/readdir64_r.c: Likewise.
42893         * dirent/readdir_r.c: Likewise.
42894         * dirent/rewinddir.c: Likewise.
42895         * dirent/seekdir.c: Likewise.
42896         * dirent/telldir.c: Likewise.
42897         * gmon/profil.c: Likewise.
42898         * grp/setgroups.c: Likewise.
42899         * inet/if_index.c: Likewise.
42900         * io/access.c: Likewise.
42901         * io/chdir.c: Likewise.
42902         * io/chmod.c: Likewise.
42903         * io/chown.c: Likewise.
42904         * io/close.c: Likewise.
42905         * io/dup.c: Likewise.
42906         * io/dup2.c: Likewise.
42907         * io/dup3.c: Likewise.
42908         * io/euidaccess.c: Likewise.
42909         * io/faccessat.c: Likewise.
42910         * io/fchdir.c: Likewise.
42911         * io/fchmod.c: Likewise.
42912         * io/fchmodat.c: Likewise.
42913         * io/fchown.c: Likewise.
42914         * io/fchownat.c: Likewise.
42915         * io/fcntl.c: Likewise.
42916         * io/flock.c: Likewise.
42917         * io/fstatfs.c: Likewise.
42918         * io/fstatfs64.c: Likewise.
42919         * io/fstatvfs.c: Likewise.
42920         * io/fstatvfs64.c: Likewise.
42921         * io/futimens.c: Likewise.
42922         * io/fxstat.c: Likewise.
42923         * io/fxstat64.c: Likewise.
42924         * io/fxstatat.c: Likewise.
42925         * io/fxstatat64.c: Likewise.
42926         * io/getcwd.c: Likewise.
42927         * io/isatty.c: Likewise.
42928         * io/lchmod.c: Likewise.
42929         * io/lchown.c: Likewise.
42930         * io/link.c: Likewise.
42931         * io/linkat.c: Likewise.
42932         * io/lseek.c: Likewise.
42933         * io/lseek64.c: Likewise.
42934         * io/lxstat64.c: Likewise.
42935         * io/mkdir.c: Likewise.
42936         * io/mkdirat.c: Likewise.
42937         * io/mkfifo.c: Likewise.
42938         * io/mkfifoat.c: Likewise.
42939         * io/open.c: Likewise.
42940         * io/open64.c: Likewise.
42941         * io/openat.c: Likewise.
42942         * io/openat64.c: Likewise.
42943         * io/pipe.c: Likewise.
42944         * io/pipe2.c: Likewise.
42945         * io/poll.c: Likewise.
42946         * io/posix_fadvise.c: Likewise.
42947         * io/posix_fadvise64.c: Likewise.
42948         * io/posix_fallocate.c: Likewise.
42949         * io/posix_fallocate64.c: Likewise.
42950         * io/read.c: Likewise.
42951         * io/readlink.c: Likewise.
42952         * io/readlinkat.c: Likewise.
42953         * io/rmdir.c: Likewise.
42954         * io/sendfile.c: Likewise.
42955         * io/sendfile64.c: Likewise.
42956         * io/statfs.c: Likewise.
42957         * io/statfs64.c: Likewise.
42958         * io/statvfs.c: Likewise.
42959         * io/statvfs64.c: Likewise.
42960         * io/symlink.c: Likewise.
42961         * io/symlinkat.c: Likewise.
42962         * io/ttyname.c: Likewise.
42963         * io/ttyname_r.c: Likewise.
42964         * io/umask.c: Likewise.
42965         * io/unlink.c: Likewise.
42966         * io/unlinkat.c: Likewise.
42967         * io/utime.c: Likewise.
42968         * io/utimensat.c: Likewise.
42969         * io/write.c: Likewise.
42970         * io/xmknod.c: Likewise.
42971         * io/xmknodat.c: Likewise.
42972         * io/xstat.c: Likewise.
42973         * io/xstat64.c: Likewise.
42974         * login/getpt.c: Likewise.
42975         * login/grantpt.c: Likewise.
42976         * login/unlockpt.c: Likewise.
42977         * math/e_acoshl.c: Likewise.
42978         * math/e_acosl.c: Likewise.
42979         * math/e_asinl.c: Likewise.
42980         * math/e_atan2l.c: Likewise.
42981         * math/e_atanhl.c: Likewise.
42982         * math/e_coshl.c: Likewise.
42983         * math/e_expl.c: Likewise.
42984         * math/e_fmodl.c: Likewise.
42985         * math/e_gammal_r.c: Likewise.
42986         * math/e_hypotl.c: Likewise.
42987         * math/e_j0l.c: Likewise.
42988         * math/e_j1l.c: Likewise.
42989         * math/e_jnl.c: Likewise.
42990         * math/e_lgammal_r.c: Likewise.
42991         * math/e_log10l.c: Likewise.
42992         * math/e_log2l.c: Likewise.
42993         * math/e_logl.c: Likewise.
42994         * math/e_powl.c: Likewise.
42995         * math/e_rem_pio2l.c: Likewise.
42996         * math/e_sinhl.c: Likewise.
42997         * math/e_sqrtl.c: Likewise.
42998         * math/fclrexcpt.c: Likewise.
42999         * math/fedisblxcpt.c: Likewise.
43000         * math/feenablxcpt.c: Likewise.
43001         * math/fegetenv.c: Likewise.
43002         * math/fegetexcept.c: Likewise.
43003         * math/fegetround.c: Likewise.
43004         * math/feholdexcpt.c: Likewise.
43005         * math/fesetenv.c: Likewise.
43006         * math/fesetround.c: Likewise.
43007         * math/feupdateenv.c: Likewise.
43008         * math/fgetexcptflg.c: Likewise.
43009         * math/fraiseexcpt.c: Likewise.
43010         * math/fsetexcptflg.c: Likewise.
43011         * math/ftestexcept.c: Likewise.
43012         * math/k_cosl.c: Likewise.
43013         * math/k_rem_pio2l.c: Likewise.
43014         * math/k_sinl.c: Likewise.
43015         * math/k_tanl.c: Likewise.
43016         * math/s_asinhl.c: Likewise.
43017         * math/s_atanl.c: Likewise.
43018         * math/s_cbrtl.c: Likewise.
43019         * math/s_erfl.c: Likewise.
43020         * math/s_expm1l.c: Likewise.
43021         * math/s_log1pl.c: Likewise.
43022         * math/s_tanhl.c: Likewise.
43023         * misc/acct.c: Likewise.
43024         * misc/brk.c: Likewise.
43025         * misc/chflags.c: Likewise.
43026         * misc/chroot.c: Likewise.
43027         * misc/fchflags.c: Likewise.
43028         * misc/fgetxattr.c: Likewise.
43029         * misc/flistxattr.c: Likewise.
43030         * misc/fremovexattr.c: Likewise.
43031         * misc/fsetxattr.c: Likewise.
43032         * misc/fsync.c: Likewise.
43033         * misc/ftruncate.c: Likewise.
43034         * misc/futimes.c: Likewise.
43035         * misc/futimesat.c: Likewise.
43036         * misc/getdomain.c: Likewise.
43037         * misc/getdtsz.c: Likewise.
43038         * misc/gethostid.c: Likewise.
43039         * misc/gethostname.c: Likewise.
43040         * misc/getloadavg.c: Likewise.
43041         * misc/getpagesize.c: Likewise.
43042         * misc/getsysstats.c: Likewise.
43043         * misc/getxattr.c: Likewise.
43044         * misc/gtty.c: Likewise.
43045         * misc/ioctl.c: Likewise.
43046         * misc/lgetxattr.c: Likewise.
43047         * misc/listxattr.c: Likewise.
43048         * misc/llistxattr.c: Likewise.
43049         * misc/lremovexattr.c: Likewise.
43050         * misc/lsetxattr.c: Likewise.
43051         * misc/lutimes.c: Likewise.
43052         * misc/madvise.c: Likewise.
43053         * misc/mincore.c: Likewise.
43054         * misc/mlock.c: Likewise.
43055         * misc/mlockall.c: Likewise.
43056         * misc/mmap.c: Likewise.
43057         * misc/mprotect.c: Likewise.
43058         * misc/msync.c: Likewise.
43059         * misc/munlock.c: Likewise.
43060         * misc/munlockall.c: Likewise.
43061         * misc/munmap.c: Likewise.
43062         * misc/preadv.c: Likewise.
43063         * misc/preadv64.c: Likewise.
43064         * misc/ptrace.c: Likewise.
43065         * misc/pwritev.c: Likewise.
43066         * misc/pwritev64.c: Likewise.
43067         * misc/readv.c: Likewise.
43068         * misc/reboot.c: Likewise.
43069         * misc/remap_file_pages.c: Likewise.
43070         * misc/removexattr.c: Likewise.
43071         * misc/revoke.c: Likewise.
43072         * misc/select.c: Likewise.
43073         * misc/setdomain.c: Likewise.
43074         * misc/setegid.c: Likewise.
43075         * misc/seteuid.c: Likewise.
43076         * misc/sethostid.c: Likewise.
43077         * misc/sethostname.c: Likewise.
43078         * misc/setregid.c: Likewise.
43079         * misc/setreuid.c: Likewise.
43080         * misc/setxattr.c: Likewise.
43081         * misc/sstk.c: Likewise.
43082         * misc/stty.c: Likewise.
43083         * misc/swapoff.c: Likewise.
43084         * misc/swapon.c: Likewise.
43085         * misc/sync.c: Likewise.
43086         * misc/syncfs.c: Likewise.
43087         * misc/syscall.c: Likewise.
43088         * misc/truncate.c: Likewise.
43089         * misc/ualarm.c: Likewise.
43090         * misc/usleep.c: Likewise.
43091         * misc/ustat.c: Likewise.
43092         * misc/utimes.c: Likewise.
43093         * misc/vhangup.c: Likewise.
43094         * misc/writev.c: Likewise.
43095         * posix/_exit.c: Likewise.
43096         * posix/alarm.c: Likewise.
43097         * posix/execve.c: Likewise.
43098         * posix/fexecve.c: Likewise.
43099         * posix/fork.c: Likewise.
43100         * posix/fpathconf.c: Likewise.
43101         * posix/getaddrinfo.c: Likewise.
43102         * posix/getegid.c: Likewise.
43103         * posix/geteuid.c: Likewise.
43104         * posix/getgid.c: Likewise.
43105         * posix/getgroups.c: Likewise.
43106         * posix/getlogin.c: Likewise.
43107         * posix/getlogin_r.c: Likewise.
43108         * posix/getpgid.c: Likewise.
43109         * posix/getpid.c: Likewise.
43110         * posix/getppid.c: Likewise.
43111         * posix/getresgid.c: Likewise.
43112         * posix/getresuid.c: Likewise.
43113         * posix/getsid.c: Likewise.
43114         * posix/getuid.c: Likewise.
43115         * posix/glob64.c: Likewise.
43116         * posix/nanosleep.c: Likewise.
43117         * posix/pathconf.c: Likewise.
43118         * posix/pause.c: Likewise.
43119         * posix/posix_madvise.c: Likewise.
43120         * posix/pread.c: Likewise.
43121         * posix/pread64.c: Likewise.
43122         * posix/pwrite.c: Likewise.
43123         * posix/pwrite64.c: Likewise.
43124         * posix/sched_getaffinity.c: Likewise.
43125         * posix/sched_getp.c: Likewise.
43126         * posix/sched_gets.c: Likewise.
43127         * posix/sched_primax.c: Likewise.
43128         * posix/sched_primin.c: Likewise.
43129         * posix/sched_rr_gi.c: Likewise.
43130         * posix/sched_setaffinity.c: Likewise.
43131         * posix/sched_setp.c: Likewise.
43132         * posix/sched_sets.c: Likewise.
43133         * posix/sched_yield.c: Likewise.
43134         * posix/setgid.c: Likewise.
43135         * posix/setlogin.c: Likewise.
43136         * posix/setpgid.c: Likewise.
43137         * posix/setresgid.c: Likewise.
43138         * posix/setresuid.c: Likewise.
43139         * posix/setsid.c: Likewise.
43140         * posix/setuid.c: Likewise.
43141         * posix/sleep.c: Likewise.
43142         * posix/spawni.c: Likewise.
43143         * posix/sysconf.c: Likewise.
43144         * posix/times.c: Likewise.
43145         * posix/wait.c: Likewise.
43146         * posix/wait3.c: Likewise.
43147         * posix/wait4.c: Likewise.
43148         * posix/waitpid.c: Likewise.
43149         * resolv/gai_sigqueue.c: Likewise.
43150         * resource/getpriority.c: Likewise.
43151         * resource/getrlimit.c: Likewise.
43152         * resource/getrusage.c: Likewise.
43153         * resource/nice.c: Likewise.
43154         * resource/setpriority.c: Likewise.
43155         * resource/setrlimit.c: Likewise.
43156         * resource/ulimit.c: Likewise.
43157         * rt/aio_cancel.c: Likewise.
43158         * rt/aio_fsync.c: Likewise.
43159         * rt/aio_read.c: Likewise.
43160         * rt/aio_sigqueue.c: Likewise.
43161         * rt/aio_suspend.c: Likewise.
43162         * rt/aio_write.c: Likewise.
43163         * rt/clock_getres.c: Likewise.
43164         * rt/clock_gettime.c: Likewise.
43165         * rt/clock_nanosleep.c: Likewise.
43166         * rt/clock_settime.c: Likewise.
43167         * rt/lio_listio.c: Likewise.
43168         * rt/mq_close.c: Likewise.
43169         * rt/mq_getattr.c: Likewise.
43170         * rt/mq_notify.c: Likewise.
43171         * rt/mq_open.c: Likewise.
43172         * rt/mq_receive.c: Likewise.
43173         * rt/mq_send.c: Likewise.
43174         * rt/mq_setattr.c: Likewise.
43175         * rt/mq_timedreceive.c: Likewise.
43176         * rt/mq_timedsend.c: Likewise.
43177         * rt/mq_unlink.c: Likewise.
43178         * rt/shm_open.c: Likewise.
43179         * rt/shm_unlink.c: Likewise.
43180         * rt/timer_create.c: Likewise.
43181         * rt/timer_delete.c: Likewise.
43182         * rt/timer_getoverr.c: Likewise.
43183         * rt/timer_gettime.c: Likewise.
43184         * rt/timer_settime.c: Likewise.
43185         * setjmp/__longjmp.c: Likewise.
43186         * setjmp/setjmp.c: Likewise.
43187         * signal/kill.c: Likewise.
43188         * signal/killpg.c: Likewise.
43189         * signal/raise.c: Likewise.
43190         * signal/sigaction.c: Likewise.
43191         * signal/sigaltstack.c: Likewise.
43192         * signal/sigblock.c: Likewise.
43193         * signal/sigignore.c: Likewise.
43194         * signal/sigintr.c: Likewise.
43195         * signal/signal.c: Likewise.
43196         * signal/sigpause.c: Likewise.
43197         * signal/sigpending.c: Likewise.
43198         * signal/sigqueue.c: Likewise.
43199         * signal/sigreturn.c: Likewise.
43200         * signal/sigset.c: Likewise.
43201         * signal/sigsetmask.c: Likewise.
43202         * signal/sigstack.c: Likewise.
43203         * signal/sigsuspend.c: Likewise.
43204         * signal/sigtimedwait.c: Likewise.
43205         * signal/sigvec.c: Likewise.
43206         * signal/sigwait.c: Likewise.
43207         * signal/sigwaitinfo.c: Likewise.
43208         * signal/sysv_signal.c: Likewise.
43209         * socket/accept.c: Likewise.
43210         * socket/accept4.c: Likewise.
43211         * socket/bind.c: Likewise.
43212         * socket/connect.c: Likewise.
43213         * socket/getpeername.c: Likewise.
43214         * socket/getsockname.c: Likewise.
43215         * socket/getsockopt.c: Likewise.
43216         * socket/isfdtype.c: Likewise.
43217         * socket/listen.c: Likewise.
43218         * socket/recv.c: Likewise.
43219         * socket/recvfrom.c: Likewise.
43220         * socket/recvmsg.c: Likewise.
43221         * socket/send.c: Likewise.
43222         * socket/sendmsg.c: Likewise.
43223         * socket/sendto.c: Likewise.
43224         * socket/setsockopt.c: Likewise.
43225         * socket/shutdown.c: Likewise.
43226         * socket/sockatmark.c: Likewise.
43227         * socket/socket.c: Likewise.
43228         * socket/socketpair.c: Likewise.
43229         * stdio-common/ctermid.c: Likewise.
43230         * stdio-common/cuserid.c: Likewise.
43231         * stdio-common/remove.c: Likewise.
43232         * stdio-common/rename.c: Likewise.
43233         * stdio-common/renameat.c: Likewise.
43234         * stdio-common/tempname.c: Likewise.
43235         * stdlib/getcontext.c: Likewise.
43236         * stdlib/makecontext.c: Likewise.
43237         * stdlib/setcontext.c: Likewise.
43238         * stdlib/swapcontext.c: Likewise.
43239         * stdlib/system.c: Likewise.
43240         * streams/fattach.c: Likewise.
43241         * streams/fdetach.c: Likewise.
43242         * streams/getmsg.c: Likewise.
43243         * streams/getpmsg.c: Likewise.
43244         * streams/putmsg.c: Likewise.
43245         * streams/putpmsg.c: Likewise.
43246         * sysdeps/unix/bsd/getpt.c: Likewise.
43247         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
43248         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
43249         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43251         Likewise.
43252         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
43253         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43254         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43255         * sysvipc/msgctl.c: Likewise.
43256         * sysvipc/msgget.c: Likewise.
43257         * sysvipc/msgrcv.c: Likewise.
43258         * sysvipc/msgsnd.c: Likewise.
43259         * sysvipc/semctl.c: Likewise.
43260         * sysvipc/semget.c: Likewise.
43261         * sysvipc/semop.c: Likewise.
43262         * sysvipc/semtimedop.c: Likewise.
43263         * sysvipc/shmat.c: Likewise.
43264         * sysvipc/shmctl.c: Likewise.
43265         * sysvipc/shmdt.c: Likewise.
43266         * sysvipc/shmget.c: Likewise.
43267         * termios/tcdrain.c: Likewise.
43268         * termios/tcflow.c: Likewise.
43269         * termios/tcflush.c: Likewise.
43270         * termios/tcgetattr.c: Likewise.
43271         * termios/tcgetpgrp.c: Likewise.
43272         * termios/tcsendbrk.c: Likewise.
43273         * termios/tcsetattr.c: Likewise.
43274         * termios/tcsetpgrp.c: Likewise.
43275         * time/adjtime.c: Likewise.
43276         * time/clock.c: Likewise.
43277         * time/getitimer.c: Likewise.
43278         * time/gettimeofday.c: Likewise.
43279         * time/setitimer.c: Likewise.
43280         * time/settimeofday.c: Likewise.
43281         * time/stime.c: Likewise.
43282         * time/time.c: Likewise.
43284 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
43286         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
43287         /usr/old/bin.
43289         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
43290         instead of spaces.
43291         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
43293 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
43295         [BZ #14796]
43296         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
43297         FE_TONEAREST before applying Dekker multiplication and Knuth
43298         addition.  Clear inexact exceptions and check for exact zero
43299         results afterwards.
43300         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43301         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43302         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43303         * math/libm-test.inc (fma_test): Add more tests.
43304         (fma_test_towardzero): Likewise.
43305         (fma_test_downward): Likewise.
43306         (fma_test_upward): Likewise.
43307         * sysdeps/generic/math_private.h (default_libc_fesetround): New
43308         function.
43309         (libc_fesetround): New macro.
43310         (libc_fesetroundf): Likewise.
43311         (libc_fesetroundl): Likewise.
43312         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
43313         function.
43314         (libc_fesetround_387): Likewise.
43315         (libc_fesetroundf): New macro.
43316         (libc_fesetround): Likewise.
43317         (libc_fesetroundl): Likewise.
43318         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
43319         function.
43320         (libc_fesetroundf): New macro.
43321         (libc_fesetround): Likewise.
43322         (libc_fesetroundl): Likewise.
43323         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
43324         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
43325         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
43326         libm_hidden_ver.
43327         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
43328         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
43329         libm_hidden_def.
43330         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
43331         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
43332         libm_hidden_ver.
43333         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
43334         libm_hidden_def.
43336         [BZ #3439]
43337         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
43338         integer constant usable in #if and use that to give value to enum
43339         constant.
43340         (FE_DIVBYZERO): Likewise.
43341         (FE_UNDERFLOW): Likewise.
43342         (FE_OVERFLOW): Likewise.
43343         (FE_INVALID): Likewise.
43344         (FE_INVALID_SNAN): Likewise.
43345         (FE_INVALID_ISI): Likewise.
43346         (FE_INVALID_IDI): Likewise.
43347         (FE_INVALID_ZDZ): Likewise.
43348         (FE_INVALID_IMZ): Likewise.
43349         (FE_INVALID_COMPARE): Likewise.
43350         (FE_INVALID_SOFTWARE): Likewise.
43351         (FE_INVALID_SQRT): Likewise.
43352         (FE_INVALID_INTEGER_CONVERSION): Likewise.
43353         (FE_TONEAREST): Likewise.
43354         (FE_TOWARDZERO): Likewise.
43355         (FE_UPWARD): Likewise.
43356         (FE_DOWNWARD): Likewise.
43357         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
43358         (FE_DIVBYZERO): Likewise.
43359         (FE_OVERFLOW): Likewise.
43360         (FE_UNDERFLOW): Likewise.
43361         (FE_INEXACT): Likewise.
43362         (FE_TONEAREST): Likewise.
43363         (FE_DOWNWARD): Likewise.
43364         (FE_UPWARD): Likewise.
43365         (FE_TOWARDZERO): Likewise.
43366         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
43367         (FE_UNDERFLOW): Likewise.
43368         (FE_OVERFLOW): Likewise.
43369         (FE_DIVBYZERO): Likewise.
43370         (FE_INVALID): Likewise.
43371         (FE_TONEAREST): Likewise.
43372         (FE_TOWARDZERO): Likewise.
43373         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
43374         (FE_OVERFLOW): Likewise.
43375         (FE_UNDERFLOW): Likewise.
43376         (FE_DIVBYZERO): Likewise.
43377         (FE_INEXACT): Likewise.
43378         (FE_TONEAREST): Likewise.
43379         (FE_TOWARDZERO): Likewise.
43380         (FE_UPWARD): Likewise.
43381         (FE_DOWNWARD): Likewise.
43382         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
43383         (FE_DIVBYZERO): Likewise.
43384         (FE_OVERFLOW): Likewise.
43385         (FE_UNDERFLOW): Likewise.
43386         (FE_INEXACT): Likewise.
43387         (FE_TONEAREST): Likewise.
43388         (FE_DOWNWARD): Likewise.
43389         (FE_UPWARD): Likewise.
43390         (FE_TOWARDZERO): Likewise.
43392 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
43394         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
43396 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
43398         * scripts/cross-test-ssh.sh (command): Use newlines to separate
43399         commands.  Quote $PWD.
43400         (blacklist_exports): Don't use remove_newlines.  Replace "declare
43401         -x" by "export".
43402         (remove_newlines): Remove.
43404 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
43406         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
43407         * stdlib/stdlib.h (atof): Moved to ...
43408         * include/bits/stdlib-float.h: Here.  New file.
43409         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
43410         * stdlib/bits/stdlib-float.h: New file.
43411         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
43412         -mno-sse -mno-mmx.
43413         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
43414         <xmmintrin.h>.
43416 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43418         * conform/conformtest.pl (@headers): Add fenv.h.
43419         * conform/data/fenv.h-data: New file.
43420         * include/fenv.h [_ISOMAC]: Disable all contents of file except
43421         include of <math/fenv.h>.
43423         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
43424         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
43425         && !UNIX98].  Enables tests for XOPEN2K8.
43426         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
43427         POSIX2008]: Likewise.
43429         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
43430         (struct rusage): Do not expect type or its members.
43432         [BZ #3439]
43433         * math/math.h (FP_NAN): Define macro to integer constant usable in
43434         #if and use that to give value to enum constant.
43435         (FP_INFINITE): Likewise.
43436         (FP_ZERO): Likewise.
43437         (FP_SUBNORMAL): Likewise.
43438         (FP_NORMAL): Likewise.
43440 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
43442         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
43443         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
43444         arguments.
43446 2012-11-02  Roland McGrath  <roland@hack.frob.com>
43448         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
43449         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
43450         autoconf-time if not.
43451         * configure.in: Remove AC_PREREQ.
43453 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43455         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
43456         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
43457         of the internal implementation.
43459 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43461         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
43462         except include of <misc/sys/syslog.h>.
43464 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
43467         function returns with a NULL context exit with zero.
43469 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43471         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
43473 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
43475         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
43476         (run_program_cmd): This.
43477         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
43478         (tst_langinfo): New variable.  Use it.
43480 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
43482         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
43483         floating point opcodes.
43485 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43487         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
43488         variable.
43490         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
43492         * sysdeps/mach/hurd/powerpc: Remove directory.
43493         * sysdeps/mach/powerpc: Likewise.
43495 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43497         * scripts/check-local-headers.sh: Ignore c++ headers.
43499 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43501         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
43502         __libc_cleanup_region_start argument.
43504 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
43506         [BZ #14784]
43507         [BZ #14785]
43508         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
43509         x * y using scaling, not as x * y + z.
43510         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43511         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43512         * math/libm-test.inc (fma_test): Add more tests.
43513         (fma_test_towardzero): Likewise.
43514         (fma_test_downward): Likewise.
43515         (fma_test_upward): Likewise.
43517 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43519         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
43521 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43523         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
43524         New variable.
43526 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
43528         * rt/tst-shm.c (worker): Correct checking for mmap failure.
43530 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43533         Fix sort order.
43534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43535         Likewise.
43537 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43540         Fix the order of the list for glibc 2.17.
43541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43542         Likewise.
43544 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43548 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43550         [BZ #14610]
43551         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
43552         for low part of x being zero before using __atanl (y).
43553         * math/libm-test.inc (atan2_test): Add another test.
43555         * manual/install.texi (Configuring and compiling): Document
43556         general use of test-wrapper and test-wrapper-env.
43557         * INSTALL: Regenerated.
43559         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
43560         (__fma): Do not extract and scale down low bits on after-rounding
43561         systems when result rounded to normal precision would have normal
43562         exponent.
43563         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
43564         (__fmal): Do not extract and scale down low bits on after-rounding
43565         systems when result rounded to normal precision would have normal
43566         exponent.
43567         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
43568         (__fmal): Do not extract and scale down low bits on after-rounding
43569         systems when result rounded to normal precision would have normal
43570         exponent.
43571         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
43572         macro.
43573         (fma_test): Add more tests.
43574         (fma_test_towardzero): Likewise.
43575         (fma_test_downward): Likewise.
43576         (fma_test_upward): Likewise.
43578 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
43580         * sysdeps/i386/tininess.h: Renamed to ...
43581         * sysdeps/x86/tininess.h: This.
43582         * sysdeps/x86_64/tininess.h: Removed.
43584 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43586         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
43587         input.  Use $(build-program-cmd).
43588         ($(objpfx)tst-array1-static.out): Likewise.
43589         ($(objpfx)tst-array2.out): Likewise.
43590         ($(objpfx)tst-array3.out): Likewise.
43591         ($(objpfx)tst-array4.out): Likewise.
43592         ($(objpfx)tst-array5.out): Likewise.
43593         ($(objpfx)tst-array5-static.out): Likewise.
43595 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
43597         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
43598         if defined.
43600         * nss/nsswitch.h (nss_interface_function): Provide new
43601         macro for use with NSS functions.
43602         * grp/initgroups.c: Use new macro.
43603         * nss/getXXbyYY.c: Likewise.
43604         * nss/getXXbyYY_r.c: Likewise.
43605         * nss/getXXent.c: Likewise.
43606         * nss/getXXent_r.c: Likewise.
43607         * sysdeps/posix/getaddrinfo.c: Likewise.
43609 2012-10-30  Andreas Jaeger  <aj@suse.de>
43611         * po/ru.po: Update Russion translation from translation project.
43613 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43615         [BZ #14152]
43616         [BZ #14783]
43617         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
43618         result and shift together with sticky bit instead of replicating
43619         round-to-nearest rounding.
43620         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43621         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43622         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
43623         missing underflow exceptions.
43624         (fma_test_towardzero): Add more tests.
43625         (fma_test_downward): Likewise.
43626         (fma_test_upward): Likewise.
43628         [BZ #14047]
43629         * sysdeps/generic/tininess.h: New file.
43630         * sysdeps/i386/tininess.h: Likewise.
43631         * sysdeps/sh/tininess.h: Likewise.
43632         * sysdeps/x86_64/tininess.h: Likewise.
43633         * stdlib/tst-strtod-underflow.c: Likewise.
43634         * stdlib/tst-tininess.c: Likewise.
43635         * stdlib/strtod_l.c: Include <tininess.h>.
43636         (round_and_return): Do not set errno for exact underflow cases.
43637         Force an underflow exception when setting errno for underflow.
43638         Determine underflow based on rounding to normal precision if
43639         TININESS_AFTER_ROUNDING.
43640         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
43641         ERANGE for exact underflow cases.
43642         * stdlib/Makefile (tests): Add tst-tininess and
43643         tst-strtod-underflow.
43644         ($(objpfx)tst-tininess): Use $(link-libm).
43645         ($(objpfx)tst-strtod-underflow): Likewise.
43647 2012-10-30  Andreas Jaeger  <aj@suse.de>
43649         [BZ#14767]
43650         * elf/Makefile (tests): Remove conditional for have-initfini-array
43651         since this is now always required and the variable does not exist
43652         anymore.
43653         (tests-static): Likewise.
43654         (modules-names): Likewise.
43656         * po/eo.po: Add Esperanto translation from translation project.
43658         * elf/tst-array1.c (fini_array): Make writeable so that it can be
43659         merged with constructor/destructor.
43660         (init_array): Likewise.
43661         * elf/tst-array2dep.c (fini_array): Likewise.
43662         (init_array): Likewise.
43664 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
43666         * manual/message.texi: Delete @cartouche tags.
43668 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
43670         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43671         EOPNOTSUPP.
43672         * sysdeps/mach/hurd/fsync.c: Likewise.
43674         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43675         [_POSIX_REALTIME_SIGNALS]: Change condition to
43676         [_POSIX_REALTIME_SIGNALS > 0].
43678 2012-10-27  Andreas Jaeger  <aj@suse.de>
43680         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43681         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43682         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43683         [__WORDSIZE != 64]: Likewise.
43685 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
43687         *  iconvdata/tst-table.sh: Remove ${SHELL}.
43688         *  iconvdata/tst-tables.sh: Likewise.
43690 2012-10-25  David S. Miller  <davem@davemloft.net>
43692         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43693         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43694         of strtoull.
43696         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43697         ifunc-impl-list.c
43698         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43699         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43700         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43701         file.
43703 2012-10-25  Roland McGrath  <roland@hack.frob.com>
43705         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43706         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43707         __getdirentries.
43709 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43710             Jim Blandy  <jimb@codesourcery.com>
43712         * scripts/cross-test-ssh.sh: New file.
43713         * manual/install.texi (Configuring and compiling): Document use of
43714         cross-test-ssh.sh.
43715         * INSTALL: Regenerated.
43717 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43719         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43720         EOPNOTSUPP.
43722 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43724         * Makeconfig (run-program-prefix): Fix comment.
43726 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43727             Jim Blandy  <jimb@codesourcery.com>
43729         * Makeconfig (test-wrapper): New variable,
43730         (test-wrapper-env): Likewise.
43731         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43732         (run-built-tests): Define to yes.
43733         (run-program-prefix): Use $(test-wrapper).
43734         (built-program-cmd): Likewise.
43735         * Rules (make-test-out): Use $(test-wrapper-env) and
43736         $(host-built-program-cmd).
43737         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43738         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43739         tst-pathopt.sh.
43740         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43741         $(test-wrapper-env) to tst-rtld-load-self.sh.
43742         ($(objpfx)order2.out): Use $(test-wrapper).
43743         ($(objpfx)tst-initorder.out): Likewise.
43744         ($(objpfx)tst-initorder2.out): Likewise.
43745         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43746         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43747         (test_wrapper_env): New variable.  Use it to run ld.so.
43748         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43749         Use it to run ld.so.
43750         (test_wrapper_env): Likewise.
43751         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43752         $(test-wrapper) to run-iconv-test.sh.
43753         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43754         (ICONV): Use $test_wrapper.
43755         * posix/Makefile ($(objpfx)globtest.out): Pass
43756         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43757         globtest.sh, not $(run-program-prefix).
43758         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43759         (test_wrapper): Likewise.
43760         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43761         set together with run_via_rtld_prefix.
43762         (run_program_prefix): Define in terms of test_wrapper and
43763         run_via_rtld_prefix.
43765 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43767         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43768         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43769         Targets removed.
43771         [BZ #14743]
43772         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43773         Declare __clock_getres, __clock_gettime, __clock_settime,
43774         __clock_nanosleep, and __clock_getcpuclockid.
43775         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43776         Remove librt_hidden_def (clock_gettime).
43777         * sysdeps/unix/clock_gettime.c: Likewise.
43778         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43779         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43780         * rt/clock_getres.c: Define __clock_getres as an alias.
43781         * sysdeps/posix/clock_getres.c: Likewise.
43782         * rt/clock_settime.c: Define __clock_settime as an alias.
43783         * sysdeps/unix/clock_settime.c: Likewise.
43784         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43785         * sysdeps/unix/clock_nanosleep.c: Likewise.
43786         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43787         * rt/clock-compat.c: New file.
43788         * rt/Makefile (librt-routines): Add clock-compat and move
43789         $(clock-routines) to ...
43790         (routines): ... here, new variable.
43791         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43792         Don't add get_clockfreq here.
43793         * rt/Versions (libc: GLIBC_2.17): New version set.
43794         Add clock_* symbols here.
43795         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43796         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43797         (GLIBC_2.17): Add clock_* symbols.
43798         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43800         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43802         Likewise.
43803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43804         Likewise.
43805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43807         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43809         * NEWS: Mention the move.
43811         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43812         Use __open, __read, __close rather than their public counterparts.
43813         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43814         (__get_clockfreq_via_cpuinfo): Likewise.
43815         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43816         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43818         * config.h.in (HAVE_IFUNC): New #undef.
43819         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43820         was successful.
43821         * configure: Regenerated.
43823 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43825         * configure.in: Move READELF check to start of file.
43826         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43827         libc_cv_asm_gnu_indirect_function in the process.
43828         * configure: Regenerated.
43830 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43832         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43833         send the output to /dev/null.
43834         (libc_cv_cc_with_libunwind): Likewise.
43835         (libc_cv_as_noexecstack): Likewise.
43836         * configure: Regenerate.
43838 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43840         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43842         * posix/globtest.sh (TMPDIR): Do not set.
43843         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43844         (testout): Likewise.
43846 2012-10-24  Andreas Jaeger  <aj@suse.de>
43848         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43849         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43850         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43851         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43852         posix_fadvise64, posix_fallocate64.
43854         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43855         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43856         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43857         Likewise.
43858         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43859         Likewise.
43860         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43862         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43863         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43864         <bits/fcntl-linux.h>.
43865         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43867         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43868         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43869         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43870         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43871         [__WORDSIZE != 64]: Likewise.
43873 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43875         * Makeconfig (run-built-tests): New variable.
43876         * Rules [$(cross-compiling) = yes]: Change condition to
43877         [$(run-built-tests) = no].
43878         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43879         to [$(run-built-tests) = yes].
43880         * elf/Makefile [$(cross-compiling) = no]: Likewise
43881         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43882         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43883         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43884         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43885         * io/Makefile [$(cross-compiling) = no]: Likewise.
43886         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43887         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43888         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43889         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43890         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43891         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43892         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43893         * string/Makefile [$(cross-compiling) = no]: Likewise.
43895         * posix/Makefile ($(objpfx)globtest.out): Pass
43896         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43897         $(rtld-installed-name).
43898         * posix/globtest.sh (elf_objpfx): Remove variable.
43899         (rtld_installed_name): Likewise.
43900         (library_path): Likewise.
43901         (run_program_prefix): New variable.  Use for running globtest
43902         binary.
43904 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43905             Joseph Myers  <joseph@codesourcery.com>
43907         * Makeconfig (host-built-program-cmd): New variable.
43908         * elf/Makefile (tst-stackguard1-ARGS): Use
43909         $(host-built-program-cmd).
43910         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43911         (tst-spawn-ARGS): Likewise.
43912         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43914 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43915             Jim Blandy  <jimb@codesourcery.com>
43917         * Makeconfig (run-via-rtld-prefix): New variable.
43918         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43919         (built-program-cmd): Likewise.
43921 2012-10-22  Andreas Jaeger  <aj@suse.de>
43923         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43924         __O_RSYNC if it exists, otherwise to O_SYNC.
43926 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43927             Joseph Myers  <joseph@codesourcery.com>
43929         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43930         /dev/null.
43931         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43932         from /dev/null
43933         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43934         /dev/null.
43936 2012-10-22  Andreas Jaeger  <aj@suse.de>
43938         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43939         Define always.
43940         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43942         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43943         bits/fcntl-linux.h.
43945         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43946         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43948         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43949         to __O_LARGEFILE.
43950         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43951         to __O_LARGEFILE.
43953 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43954             Joseph Myers  <joseph@codesourcery.com>
43956         * config.make.in (NM): New variable.
43958 2012-10-21  Andreas Jaeger  <aj@suse.de>
43960         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43961         definitions and declarations that are provided by
43962         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43964 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43966         [BZ #14683]
43967         * elf/Makefile (tests-static): Add tst-leaks1-static.
43968         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43969         ($(objpfx)tst-leaks1-static): New rule.
43970         ($(objpfx)tst-leaks1-static-mem): Likewise.
43971         (tst-leaks1-static-ENV): New macro.
43972         * elf/dl-open.c (dl_open_worker): Check the main application
43973         only if SHARED is defined.
43974         * elf/tst-leaks1-static.c: New file.
43976 2012-10-20  Andreas Jaeger  <aj@suse.de>
43978         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43979         generic values for Linux.
43980         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43981         and declarations that are provided by <bits/fcntl-linux.h> and
43982         include <bits/fcntl-linux.h>.
43983         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43984         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43986 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43988         * io/fcntl.h: Move include of <bits/types.h> to the top and
43989         include it unconditionally.
43991 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43993         * wcsmbs/Makefile (tests-ifunc): New variable.
43994         (tests): Add $(tests-ifunc).
43995         * wcsmbs/test-wcschr-ifunc.c: New file.
43996         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43997         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43998         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43999         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
44000         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
44002         * string/Makefile (tests-ifunc): New variable.
44003         (tests): Add $(tests-ifunc).
44004         * string/test-memccpy.c (TEST_NAME): New macro.
44005         * string/test-memchr.c (TEST_NAME): Likewise.
44006         * string/test-memcmp.c (TEST_NAME): Likewise.
44007         * string/test-memcpy.c (TEST_NAME): Likewise.
44008         * string/test-memmem.c (TEST_NAME): Likewise.
44009         * string/test-memmove.c (TEST_NAME): Likewise.
44010         * string/test-memset.c (TEST_NAME): Likewise.
44011         * string/test-rawmemchr.c (TEST_NAME): Likewise.
44012         * string/test-stpcpy.c (TEST_NAME): Likewise.
44013         * string/test-stpncpy.c (TEST_NAME): Likewise.
44014         * string/test-strcasecmp.c (TEST_NAME): Likewise.
44015         * string/test-strcasestr.c (TEST_NAME): Likewise.
44016         * string/test-strcat.c (TEST_NAME): Likewise.
44017         * string/test-strchr.c (TEST_NAME): Likewise.
44018         * string/test-strcmp.c(TEST_NAME): Likewise.
44019         * string/test-strcpy.c (TEST_NAME): Likewise.
44020         * string/test-strcspn.c (TEST_NAME): Likewise.
44021         * string/test-strlen.c (TEST_NAME): Likewise.
44022         * string/test-strncasecmp.c (TEST_NAME): Likewise.
44023         * string/test-strncmp.c (TEST_NAME): Likewise.
44024         * string/test-strncpy.c (TEST_NAME): Likewise.
44025         * string/test-strnlen.c (TEST_NAME): Likewise.
44026         * string/test-strpbrk.c (TEST_NAME): Likewise.
44027         * string/test-strrchr.c (TEST_NAME): Likewise.
44028         * string/test-strspn.c (TEST_NAME): Likewise.
44029         * string/test-strstr.c (TEST_NAME): Likewise.
44030         * string/test-bcopy-ifunc.c: New file.
44031         * string/test-bzero-ifunc.c: Likewise.
44032         * string/test-memccpy-ifunc.c: Likewise.
44033         * string/test-memchr-ifunc.c: Likewise.
44034         * string/test-memcmp-ifunc.c: Likewise.
44035         * string/test-memcpy-ifunc.c: Likewise.
44036         * string/test-memmem-ifunc.c: Likewise.
44037         * string/test-memmove-ifunc.c: Likewise.
44038         * string/test-mempcpy-ifunc.c: Likewise.
44039         * string/test-memset-ifunc.c: Likewise.
44040         * string/test-rawmemchr-ifunc.c: Likewise.
44041         * string/test-stpcpy-ifunc.c: Likewise.
44042         * string/test-stpncpy-ifunc.c: Likewise.
44043         * string/test-strcasecmp-ifunc.c: Likewise.
44044         * string/test-strcasestr-ifunc.c: Likewise.
44045         * string/test-strcat-ifunc.c: Likewise.
44046         * string/test-strchr-ifunc.c: Likewise.
44047         * string/test-strchrnul-ifunc.c: Likewise.
44048         * string/test-strcmp-ifunc.c: Likewise.
44049         * string/test-strcpy-ifunc.c: Likewise.
44050         * string/test-strcspn-ifunc.c: Likewise.
44051         * string/test-strlen-ifunc.c: Likewise.
44052         * string/test-strncasecmp-ifunc.c: Likewise.
44053         * string/test-strncat-ifunc.c: Likewise.
44054         * string/test-strncmp-ifunc.c: Likewise.
44055         * string/test-strncpy-ifunc.c: Likewise.
44056         * string/test-strnlen-ifunc.c: Likewise.
44057         * string/test-strpbrk-ifunc.c: Likewise.
44058         * string/test-strrchr-ifunc.c: Likewise.
44059         * string/test-strspn-ifunc.c: Likewise.
44060         * string/test-strstr-ifunc.c: Likewise.
44062         * debug/Makefile (tests-ifunc): New variable.
44063         (tests): Add $(tests-ifunc).
44064         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
44065         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
44066         * debug/test-stpcpy_chk-ifunc.c: New file.
44067         * debug/test-strcpy_chk-ifunc.c: Likewise.
44069 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44071         [BZ #13601]
44072         * elf/dl-load.c (open_verify): Retry read if the entire ELF
44073         header is not read in.
44075 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
44077         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
44078         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
44079         directly.  Pass built executable to script as
44080         $(built-program-cmd).
44081         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
44082         $testprogram without using LD_LIBRARY_PATH and $ldso.
44084         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
44085         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
44086         $(rtld-installed-name).
44087         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
44088         (rtld_installed_name): Likewise.
44089         (library_path): Likewise.
44090         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
44091         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
44092         $(run-program-prefix) to tst-tables.sh.
44093         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
44094         it to run tst-table-from and tst-table-to.
44095         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
44096         Pass it to tst-table.sh.
44097         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
44098         $(run-program-prefix) to tst-gettext.sh.
44099         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
44100         tst-translit.sh.
44101         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
44102         tst-gettext2.sh.
44103         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
44104         to run tst-gettext.
44105         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
44106         to run tst-gettext2.
44107         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
44108         to run tst-translit.
44109         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
44110         $(run-program-prefix) to tst-mtrace.sh.
44111         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
44112         to run tst-mtrace.
44113         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
44114         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
44115         $(rtld-installed-name).
44116         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
44117         (rtld_installed_name): Likewise.
44118         (run_program_prefix): New variable.  Use it to run wordexp-test.
44120         * Makeconfig (ARCH): Remove all definitions.
44121         (machine): Likewise.
44122         [ARCH]: Remove conditional code.
44123         [!objdir]: Give error.
44124         [!objdir] (objpfx): Remove.
44125         [!objdir] (common-objpfx): Likewise.
44126         [!objdir] (common-objdir): Likewise.
44127         * configure.in (config_makefile): Remove.  Hardcode Makefile in
44128         AC_CONFIG_FILES call.
44129         * configure: Regenerated.
44131         [BZ #13888]
44132         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
44133         or TMPDIR.
44134         (testout): Likewise.
44136         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
44137         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
44138         $(rtld-installed-name).
44139         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
44140         (rtld_installed_name): Likwise.
44141         (runit): Remove function.
44142         (run_getconf): New variable,  Use it for running getconf binary.
44144 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
44146         [BZ #14716]
44147         * string/test-memmem.c (check_result): New function.
44148         (do_one_test): Use it.
44149         (check1): New function.
44150         (test_main): Use it.
44152 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
44154         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
44156 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
44158         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
44159         (_G_LSEEK64): Likewise.
44160         (_G_MMAP64): Likewise.
44161         (_G_FSTAT64): Likewise.
44162         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
44163         (_G_LSEEK64): Likewise.
44164         (_G_MMAP64): Likewise.
44165         (_G_FSTAT64): Likewise.
44166         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
44167         unconditional.  Call __mmap64 directly.
44168         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
44169         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
44170         __lseek64 directly.
44171         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
44172         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
44173         __mmap64 directly.
44174         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
44175         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44176         __lseek64 directly.
44177         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
44178         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44179         __lseek64 directly.
44180         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
44181         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
44182         __lseek64 directly.
44183         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
44184         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
44185         __fxstat64 directly.
44186         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
44187         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
44188         unconditional.
44189         (freopen64) [!_G_OPEN64]: Remove conditional code.
44190         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
44191         unconditional.
44192         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
44193         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
44194         unconditional.
44195         (ftello64) [!_G_LSEEK64]: Remove conditional code.
44196         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
44197         unconditional.
44198         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44199         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
44200         unconditional.
44201         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
44202         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
44203         unconditional.
44204         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44205         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
44206         unconditional.
44207         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44208         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
44209         unconditional.
44210         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44212 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44214         [BZ #12140]
44215         * manual/memory.texi (Malloc Tunable Parameters): Add note
44216         about free list pointers overwriting some perturb bytes.
44217         Wording suggested by Roland McGrath.
44219 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
44221         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
44222         (lgamma_test): Likewise.
44223         (tgamma_test): Likewise.
44225 2012-10-16  Florian Weimer  <fweimer@redhat.com>
44227         [BZ #14700]
44228         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
44229         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
44231 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
44233         * NEWS: Mention BZ #14716.
44234         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
44235         when removing AVAILABLE1_USES_J macro.
44237 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
44239         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
44240         (__bswap_64): __uint64_t for unsigned 64-bit int.
44242 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
44244         * include/string.h (memmem): Declare libc hidden alias.
44245         * string/memmem.c (memmem): Define libc hidden alias.
44246         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
44247         __read, __close instead of open, read, close.
44249 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
44251         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
44252         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
44253         global and hidden.
44254         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
44255         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
44256         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
44257         Likewise.
44258         (__rawmemchr_sse2): Likewise.
44259         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
44260         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
44261         (__strchr_sse2): Likewise.
44262         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
44263         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
44264         (__strcasecmp_sse2): Likewise.
44265         (__strncasecmp_sse2): Likewise.
44266         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
44267         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
44268         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
44269         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
44270         (__strrchr_sse2): Likewise.
44271         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
44272         ifunc-impl-list.c.
44273         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
44274         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
44275         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
44276         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44277         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
44278         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
44279         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44280         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44281         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
44282         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
44283         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
44284         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
44285         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
44286         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
44287         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
44288         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44289         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
44290         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
44291         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
44292         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
44293         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
44294         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
44295         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
44296         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44297         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
44298         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44299         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
44300         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44301         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
44302         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
44304         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
44305         global and hidden.
44306         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
44307         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
44308         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
44309         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
44310         Likewise.
44311         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
44312         Likewise.
44313         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
44314         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
44315         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
44316         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
44317         ifunc-impl-list.c.
44318         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44319         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44320         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44321         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44322         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44323         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44324         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44325         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44326         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44327         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44328         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44329         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44330         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44331         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
44332         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
44333         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44334         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
44335         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
44336         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44337         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44338         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44339         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44340         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44341         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44342         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44343         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
44344         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
44345         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
44346         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
44347         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44348         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
44349         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44350         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44351         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
44352         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44353         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44354         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44355         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44356         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44357         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44358         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
44360         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
44361         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
44362         * include/ifunc-impl-list.h: New file.
44363         * misc/ifunc-impl-list.c: Likewise.
44364         * misc/Makefile (routines): Add ifunc-impl-list.
44365         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
44366         * string/test-string.h: Include <ifunc-impl-list.h>.
44367         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
44368         TEST_NAME]: New variables.
44369         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
44370         are defined.
44371         (test_init): Call __libc_ifunc_impl_list to initialize
44372         func_list if TEST_IFUNC and TEST_NAME are defined.
44374         * string/Makefile (strop-tests): Add bcopy and bzero.
44375         * string/test-bcopy.c: New file.
44376         * string/test-bzero.c: Likewise.
44377         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
44378         defined.
44379         * string/test-memset.c: Support bzero test if TEST_BZERO is
44380         defined.
44381         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
44382         __libc_memmove.
44383         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
44384         __libc_memset.
44385         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
44386         of memset.
44388 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
44390         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
44391         * configure: Regenerated.
44393         * Makeconfig (+link-static-before-libc): Don't include
44394         $(link-static-libc).
44396         * libio/libio.h (_IO_pos_t): Remove.
44398 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44400         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
44401         McGrath.
44403 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44405         * crypt/crypt-entry.c: Include fips-private.h.
44406         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
44407         * crypt/md5c-test.c (main): Tolerate disabled MD5.
44408         * sysdeps/unix/sysv/linux/fips-private.h: New file.
44409         * sysdeps/generic/fips-private.h: New file, dummy fallback.
44411 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44413         * crypt/crypt-private.h: Include stdbool.h.
44414         (_ufc_setup_salt_r): Return bool.
44415         * crypt/crypt-entry.c: Include errno.h.
44416         (__crypt_r): Return NULL with EINVAL for bad salt.
44417         * crypt/crypt_util.c (bad_for_salt): New.
44418         (_ufc_setup_salt_r): Check that salt is long enough and within
44419         the specified alphabet.
44420         * crypt/badsalttest.c: New file.
44421         * crypt/Makefile (tests): Add it.
44422         ($(objpfx)badsalttest): New.
44424 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
44426         * NEWS: Add entry for BZ #14602.
44428 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44430         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
44431         type-generic.
44432         * math/libm-test.inc: Update comment listing what functions and
44433         macros are tested.
44434         (isgreater_test): New function.
44435         (isgreaterequal_test): Likewise.
44436         (isless_test): Likewise.
44437         (islessequal_test): Likewise.
44438         (islessgreater_test): Likewise.
44439         (isunordered_test): Likewise.
44440         (main): Call the new functions.
44442 2012-10-09  Roland McGrath  <roland@hack.frob.com>
44444         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
44445         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
44446         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
44447         * sysdeps/i386/configure: Regenerated.
44448         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
44449         * sysdeps/mach/configure: Regenerated.
44450         * sysdeps/mach/hurd/configure: Regenerated.
44451         * sysdeps/powerpc/configure: Regenerated.
44452         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44453         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44454         * sysdeps/s390/s390-32/configure: Regenerated.
44455         * sysdeps/s390/s390-64/configure: Regenerated.
44456         * sysdeps/sh/configure: Regenerated.
44457         * sysdeps/sparc/configure: Regenerated.
44458         * sysdeps/unix/sysv/linux/configure: Regenerated.
44459         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
44460         * sysdeps/x86_64/configure: Regenerated.
44462         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
44463         defined.  Don't check if MAP is NULL.
44465 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44467         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
44468         (_G_stat64): Likewise.
44469         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
44470         (_G_stat64): Likewise.
44471         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
44472         instead of struct _G_stat64.
44473         * libio/fileops.c (mmap_remap_check): Likewise.
44474         (decide_maybe_mmap): Likewise.
44475         (_IO_new_file_seekoff): Likewise.
44476         (_IO_file_stat): Likewise.
44477         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
44478         _G_off64_t.
44479         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
44480         instead of struct _G_stat64.
44481         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44483 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
44485         [BZ #14602]
44486         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44487         Replace with ...
44488         (CHECK_EOL): New macro.
44489         (two_way_short_needle): Check beginning of haystack for EOL.  Use
44490         CHECK_EOL.
44491         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44492         Replace with CHECK_EOL.
44493         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44494         Replace with CHECK_EOL.
44496 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
44498         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
44499         type-generic.
44500         * math/libm-test.inc: Update comment listing what functions and
44501         macros are tested.
44502         (finite_test): New function.
44503         (isinf_test): Likewise.
44504         (isnan_test): Likewise.
44505         (fpclassify_test): Test subnormal input.
44506         (isfinite_test): Likewise.
44507         (isnormal_test): Likewise.
44508         (main): Call the new functions.
44510 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
44512         [BZ #14660]
44513         * Makerules (%.dynsym): Force C locale when running
44514         $(OBJDUMP) --dynamic-syms.
44516 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
44518         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
44519         <stdint.h>.
44521 2012-10-06  David S. Miller  <davem@davemloft.net>
44523         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
44524         upper 32-bits of the length value in %o2 since we use branch-on-register
44525         tests which consider the entire 64-bit register.
44527 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
44529         * string/test-strstr.c (check2): Add a test for page boundary.
44531 2012-10-05  David S. Miller  <davem@davemloft.net>
44533         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
44534         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
44535         file.
44536         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44537         sysdep_routines.
44538         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44539         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
44540         and bzero when HWCAP_SPARC_CRYPTO is present.
44542 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
44544         [BZ #14602]
44545         * string/test-strstr.c (check2): New function.
44546         (test_main): Call check2.
44548         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
44549         and bug-strchr1.
44550         * string/bug-strcasestr1.c (do_test): Moved to ...
44551         * string/test-strcasestr.c (check1): Here.  New function.
44552         (do_one_test): Break out result checking code into ...
44553         (check_result): This.  New function.
44554         (do_one_test): Call check_result.
44555         (test_main): Call check1.
44556         * string/bug-strchr1.c (do_test): Moved to ...
44557         * string/test-strchr.c (check1): Here.  New function.
44558         (do_one_test): Break out result checking code into ...
44559         (check_result): This.  New function.
44560         (do_one_test): Call check_result.
44561         (test_main): Call check1.
44562         * string/bug-strstr1.c (main): Moved to ...
44563         * string/test-strstr.c (check1): Here.  New function.
44564         (do_one_test): Break out result checking code into ...
44565         (check_result): This.  New function.
44566         (do_one_test): Call check_result.
44567         (test_main): Call check1.
44568         * string/bug-strcasestr1.c: Removed.
44569         * string/bug-strchr1.c: Likewise.
44570         * string/bug-strstr1.c: Likewise.
44572         * elf/Makefile (dl-routines): Add hwcaps.
44573         * elf/dl-support.c (_dl_important_hwcaps): Removed.
44574         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
44575         (_dl_important_hwcaps): Moved to ...
44576         * elf/dl-hwcaps.c: Here.  New file.
44577         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
44579         [BZ #14557]
44580         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
44581         if IS_IN_rtld isn't defined.
44583         * elf/dl-support.c (_dl_sysinfo_map): New.
44584         Include "get-dynamic-info.h" and "setup-vdso.h".
44585         (_dl_non_dynamic_init): Call setup_vdso.
44586         * elf/dynamic-link.h: Don't include <assert.h>.
44587         (elf_get_dynamic_info): Moved to ...
44588         * elf/get-dynamic-info.h: Here.  New file.
44589         * elf/dynamic-link.h: Include "get-dynamic-info.h".
44590         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
44591         * elf/setup-vdso.h: Here.  New file.
44592         * elf/rtld.c: Include "setup-vdso.h".
44593         (dl_main): Call setup_vdso.
44595 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
44597         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
44598         creal in comment listing functions tested.  List finite, isinf,
44599         isnan, isless, islessequal, isgreater, isgreaterequal,
44600         islessgreater, isunordered, lgamma_r and pow10 as functions and
44601         macros not tested.  Mention which functions not tested are aliases
44602         for other functions.  Fix typo.  Note that signs of NaNs are not
44603         tested.
44605         * scripts/config.guess: Update from config.git.
44606         * scripts/config.sub: Likewise.
44608 2012-10-04  Roland McGrath  <roland@hack.frob.com>
44610         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
44611         * misc/madvise.c (madvise): Renamed to __madvise.
44612         Make madvise a weak alias.
44613         * include/sys/mman.h: Declare __madvise.
44614         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
44615         * sysdeps/unix/syscalls.list
44616         (madvise): Make __madvise the strong name, and madvise a weak alias.
44617         * sysdeps/unix/sysv/linux/syscalls.list
44618         (madvise, mmap): Remove redundant entries.
44619         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
44620         * malloc/malloc.c (mtrim): Likewise.
44621         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
44623 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44625         * sysdeps/mach/hurd/dl-cache.c: File removed.
44626         * config.h.in (USE_LDCONFIG): New #undef.
44627         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
44628         * configure: Regenerated.
44629         * elf/Makefile (dl-routines): Add dl-cache only under
44630         [$(use-ldconfig) = yes].
44631         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
44632         cache on [USE_LDCONFIG].
44633         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
44634         [USE_LDCONFIG].
44635         * elf/rtld.c (dl_main): Likewise.
44637 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
44639         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
44640         _SC_LEVEL4_CACHE_LINESIZE.
44642 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44644         * sysdeps/unix/bsd/confstr.h: File removed.
44646 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
44648         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
44649         sys/sdt-config.h.
44651 2012-10-02  Roland McGrath  <roland@hack.frob.com>
44653         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
44654         Make 'mapoff' field ElfW(Off) rather than off_t.
44656 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
44658         * nscd/Makefile: Remove nscd-cflags and all its users.
44659         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
44660         (CFLAGS-nonlib): Add compiler flags for nscd modules.
44662         [BZ #10631]
44663         * malloc.c (malloc_printerr): Clarify error message.
44665 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
44667         [BZ #14648]
44668         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44669         Set bit_FMA_Usable if FMA is supported.
44670         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44671         macro.
44672         (bit_FMA4_Usable): Updated.
44673         (index_FMA_Usable): New macro.
44674         (CPUID_FMA): Likewise
44675         (HAS_FMA): Defined with bit_FMA_Usable.
44677 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44679         * bits/types.h (__swblk_t): Type removed.
44680         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44681         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44682         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44683         (__SWBLK_T_TYPE): Likewise.
44684         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44685         (__SWBLK_T_TYPE): Likewise.
44686         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44687         (__SWBLK_T_TYPE): Likewise.
44688         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44689         (__SWBLK_T_TYPE): Likewise.
44691 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
44692             Honza Horak <hhorak@redhat.com>
44694         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44695         (xdr_mapname): Use YPMAXMAP as maxsize.
44696         (xdr_peername): Use YPMAXPEER as maxsize.
44697         (xdr_keydat): Use YPAXRECORD as maxsize.
44698         (xdr_valdat): Use YPMAXRECORD as maxsize.
44700 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44702         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44704         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44705         * csu/init-first.c: ... here.
44706         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44707         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44708         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44709         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44710         * sysdeps/i386/init-first.c: File removed.
44711         * sysdeps/sh/init-first.c: File removed.
44713 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
44715         [BZ #14645]
44716         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44717         if x * y might underflow to zero and z is zero.
44718         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44719         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44720         * math/libm-test.inc (min_subnorm_value): New variable.
44721         (fma_test): Add more tests.
44722         (fma_test_towardzero): Likewise.
44723         (fma_test_downward): Likewise
44724         (fma_test_upward): Likewise.
44725         (initialize): Set min_subnorm_value.
44727 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44729         [BZ #14638]
44730         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44731         0 + 0.
44732         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44733         mode for addition resulting in exact zero.
44734         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44735         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44736         exact 0 + 0.
44737         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44738         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44739         * math/libm-test.inc (fma_test): Add more tests.
44740         (fma_test_towardzero): New function.
44741         (fma_test_downward): Likewise.
44742         (fma_test_upward): Likewise.
44743         (main): Call the new functions.
44745 2012-09-28  David S. Miller  <davem@davemloft.net>
44747         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44749 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44751         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44752         instead of SIGALRM.
44754         * sysdeps/gnu/_G_config.h: Moved to ...
44755         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44756         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44757         * sysdeps/generic/_G_config.h: ... here.
44759         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44761         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44763         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44764         Conditionalize target on [libnss_test1.so-version].
44766         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44768         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44769         (elfobjdir): Move out of conditionals.
44771         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44772         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44773         (__nss_lookup_function): Conditionalize label remove_from_tree on
44774         [!DO_STATIC_NSS || SHARED], matching its only use.
44776 2012-09-28  David S. Miller  <davem@davemloft.net>
44778         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44779         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44780         file.
44781         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44782         sysdep_routines.
44783         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44784         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44785         when HWCAP_SPARC_CRYPTO is present.
44787 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44789         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44791 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44793         [BZ #6530]
44794         * stdio-common/vfprintf.c (process_string_arg): Revert
44795         2000-07-22 change.
44797 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44799         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44800         for testcase.
44801         * stdio-common/tst-sprintf.c: Include <locale.h>
44802         (main): Test sprintf's handling of incomplete multibyte
44803         characters.
44805 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44807         * elf/dl-runtime.c (VERSYMIDX): Removed.
44808         * elf/dl-version.c (VERSYMIDX): Likewise.
44809         * elf/do-rel.h (VERSYMIDX): Likewise.
44810         (VALIDX): Likewise.
44811         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44812         * elf/rtld.c (VALIDX): Likewise.
44813         (ADDRIDX): Likewise.
44814         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44815         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44816         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44817         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44818         (VALIDX): Likewise.
44819         (ADDRIDX): Likewise.
44821 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44823         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44825 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44827         [BZ #11438]
44828         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44829         to global scope.
44830         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44831         addresses are in the same scope as 192.0.2/24.
44832         * posix/gai.conf: Document new scope table defaults.
44834 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44836         [BZ #5298]
44837         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44838         for ftell.  Compute offsets from write pointers instead.
44839         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44841 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44843         [BZ #14543]
44844         * libio/Makefile (tests): New test case tst-fseek.
44845         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44846         combination works in wide mode.
44847         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44848         state when the external buffer state changes.
44850 2012-09-27  David S. Miller  <davem@davemloft.net>
44852         [BZ #14376]
44853         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44854         pass reloc->r_addend in as the 'high' argument to
44855         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44859 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44861         * rt/tst-aio2.c: Include <pthread.h>.
44862         * rt/tst-aio3.c: Likewise.
44864 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44866         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44868 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44870         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44871         contents on [SHARED].
44873 2012-09-26  Marek Polacek  <polacek@redhat.com>
44875         [BZ #14530]
44876         [BZ #13741]
44877         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44878         for C++ and GCC <4.3 as well as for non GCC compilers.
44880 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44882         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44884 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44886         * Makefile.in (all, install): Declare with .PHONY.
44887         Reported by Michael Hope <michael.hope@linaro.org>.
44889 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44891         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44892         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44893         system header.
44894         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44895         Likewise.
44896         (sydep_routines): Add the new and the internal functions.
44897         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44898         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44900         (GLIBC_2.17): Add the new function.
44901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44902         (GLIBC_2.17): Likewise.
44903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44904         (GLIBC_2.17): Likewise.
44905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44906         (GLIBC_2.17): Likewise.
44907         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44909 2012-09-25  Alan Modra  <amodra@gmail.com>
44911         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44912         Add release barrier before setting once_control to say
44913         initialisation is done.  Add hints on lwarx.  Use macro in
44914         place of isync.
44915         (clear_once_control): Add release barrier.
44917 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44919         [BZ #13629]
44920         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44921         specially.
44922         * math/s_clog10.c (__clog10): Likewise.
44923         * math/s_clog10f.c (__clog10f): Likewise.
44924         * math/s_clog10l.c (__clog10l): Likewise.
44925         * math/s_clogf.c (__clogf): Likewise.
44926         * math/s_clogl.c (__clogl): Likewise.
44927         * math/Makefile (libm-calls): Add x2y2m1.
44928         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44929         (__x2y2m1): Likewise.
44930         (__x2y2m1l): Likewise.
44931         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44932         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44933         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44934         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44935         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44936         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44937         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44938         * sysdeps/i386/fpu/libm-test-ulps: Update.
44939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44941         [BZ #14621]
44942         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44943         int as type of variable DEPTH.
44944         (glob): Use size_t instead of int as type of variables NEWCOUNT
44945         and OLD_PATHC.
44947 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44949         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44950         Add s_sincosf-sse2.
44951         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44952         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44953         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44954         macros for using routine as __sincosf_ia32.
44955         Use macro for function declaration and weak_alias.
44956         * sysdeps/i386/fpu/libm-test-ulps: Update.
44958         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44959         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44961         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44962         subnormal argument.
44963         * math/s_cexpf.c (__cexpf): Likewise.
44964         * math/s_csinf.c (__csinf): Likewise.
44965         * math/s_csinhf.c (__csinhf): Likewise.
44966         * math/s_ctanf.c (__ctanf): Likewise.
44967         * math/s_ctanhf.c (__ctanhf): Likewise.
44968         * math/s_ccosh.c (__ccoshf): Likewise.
44969         * math/s_cexp.c (__cexpl): Likewise.
44970         * math/s_csin.c (__csin): Likewise.
44971         * math/s_csinh.c (__csinh): Likewise.
44972         * math/s_ctan.c (__ctan): Likewise.
44973         * math/s_ctanh.c (ctanh): Likewise.
44974         * math/s_ccoshl.c (__ccoshl): Likewise.
44975         * math/s_cexpl.c (__cexpl): Likewise.
44976         * math/s_csinl.c (__csinl): Likewise.
44977         * math/s_csinhl.c (__csinhl): Likewise.
44978         * math/s_ctanl.c (__ctanl): Likewise.
44979         * math/s_ctanhl.c (__ctanhl): Likewise.
44981 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44983         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44984         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44985         (_IO_off_t): Define to __off_t, not _G_off_t.
44986         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44987         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44988         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44989         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44990         type of __dummy and __dummy2 fields.
44991         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44992         (_G_ssize_t): Likewise.
44993         (_G_off_t): Likewise.
44994         (_G_pid_t): Likewise.
44995         (_G_uid_t): Likewise.
44996         (_G_wchar_t): Likewise.
44997         (_G_wint_t): Likewise.
44998         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44999         (_G_ssize_t): Likewise.
45000         (_G_off_t): Likewise.
45001         (_G_pid_t): Likewise.
45002         (_G_uid_t): Likewise.
45003         (_G_wchar_t): Likewise.
45004         (_G_wint_t): Likewise.
45005         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
45006         (_G_ssize_t): Likewise.
45007         (_G_off_t): Likewise.
45008         (_G_pid_t): Likewise.
45009         (_G_uid_t): Likewise.
45010         (_G_wchar_t): Likewise.
45011         (_G_wint_t): Likewise.
45013 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45015         * malloc/arena.c: Include malloc-sysdep.h.
45016         (shrink_heap): Use check_may_shrink_heap to decide if madvise
45017         is sufficient to shrink the heap or an unmap is needed.
45018         * sysdeps/generic/malloc-sysdep.h: New file.  Define
45019         new function check_may_shrink_heap.
45020         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
45021         new function check_may_shrink_heap.
45023 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45025         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
45026         comments.
45028 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
45030         * catgets/test-gencat.sh: Add "set -e".
45031         * elf/tst-pathopt.sh: Likewise.
45032         * grp/tst_fgetgrent.sh: Likewise.
45033         * iconvdata/run-iconv-test.sh: Likewise.
45034         * intl/tst-gettext.sh: Likewise.
45035         * intl/tst-gettext2.sh: Likewise.
45036         * intl/tst-gettext4.sh: Likewise.
45037         * intl/tst-gettext6.sh: Likewise.
45038         * intl/tst-translit.sh: Likewise.
45039         * io/ftwtest-sh: Likewise.
45040         * libio/test-freopen.sh: Likewise.
45041         * malloc/tst-mtrace.sh: Likewise.
45042         * posix/globtest.sh: Likewise.
45043         * posix/tst-getconf.sh: Likewise.
45044         * posix/wordexp-tst.sh: Likewise.
45045         * stdio-common/tst-printf.sh: Likewise.
45046         * stdio-common/tst-unbputc.sh: Likewise.
45047         * stdlib/tst-fmtmsg.sh: Likewise.
45048         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45049         * catgets/Makefile: Do not specify -e option when running
45050         testsuite shell scripts.
45051         * elf/Makefile: Likewise.
45052         * grp/Makefile: Likewise.
45053         * iconvdata/Makefile: Likewise.
45054         * intl/Makefile: Likewise.
45055         * io/Makefile: Likewise.
45056         * libio/Makefile: Likewise.
45057         * malloc/Makefile: Likewise.
45058         * posix/Makefile: Likewise.
45059         * stdio-common/Makefile: Likewise.
45060         * stdlib/Makefile: Likewise.
45061         * sysdeps/x86_64/Makefile: Likewise.
45063         * io/ftwtest-sh: Add copyright header.
45064         * posix/globtest.sh: Likewise.
45065         * posix/tst-getconf.sh: Likewise.
45066         * posix/wordexp-tst.sh: Likewise.
45067         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45069 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
45071         [BZ #13679]
45072         * Makeconfig (+link): Defined as $(+link-static) if
45073         $(build-shared) isn't yes.
45074         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
45075         isn't yes.
45076         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
45078         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
45080         [BZ #14562]
45081         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
45082         new chunk size with MALLOC_ALIGN_MASK.
45084 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
45086         [BZ #5044]
45087         * stdio-common/printf_fphex.c: Include <stdbool.h> and
45088         <rounding-mode.h>.
45089         (__printf_fphex): Determine rounding using get_rounding_mode and
45090         round_away.
45091         * stdio-common/tst-printf-round.c (struct hex_test): New
45092         structure.
45093         (hex_tests): New variable.
45094         (test_hex_in_one_mode): New function.
45095         (do_test): Also run tests for hex float output.
45097 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
45099         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45100         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45101         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
45102         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45103         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45104         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
45105         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45106         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45108 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
45110         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
45111         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
45112         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
45113         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
45115 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
45117         [BZ #14579]
45118         * elf/rtld.c (dl_main): Limit the check for self loading to normal
45119         mode only.
45120         * elf/tst-rtld-load-self.sh: New test.
45121         * elf/Makefile: Run it.
45123 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
45125         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
45126         (tst-writev-ENV): Remove.
45127         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
45129 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
45131         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
45133 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
45135         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
45136         unconditional.
45137         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
45138         Likewise.
45139         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
45140         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
45141         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
45142         Likewise.
45144 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
45146         [BZ #14587]
45147         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
45148         * config.make.in (have-cpp-asm-debuginfo): Removed.
45149         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
45150         * configure: Regenerated.
45152 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
45154         [BZ #5044]
45155         * stdio-common/printf_fp.c: Include <stdbool.h> and
45156         <rounding-mode.h>.
45157         (___printf_fp): Determine rounding using get_rounding_mode and
45158         round_away.
45159         * stdio-common/tst-printf-round.c: New file.
45160         * stdio-common/Makefile (tests): Add tst-printf-round.
45161         (link-libm): New variable.
45162         ($(objpfx)tst-printf-round): Depend in $(link-libm).
45164 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
45166         [BZ #14576]
45167         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
45168         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
45169         Likewise.
45170         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
45171         Likewise.
45173 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
45175         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
45176         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45177         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45178         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45180 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
45182         [BZ #14518]
45183         * include/rounding-mode.h: New file.
45184         * sysdeps/generic/get-rounding-mode.h: Likewise.
45185         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
45186         * stdlib/strtod_l.c: Include <rounding-mode.h>.
45187         (MAX_VALUE): New macro.
45188         (MIN_VALUE): Likewise.
45189         (overflow_value): New function.
45190         (underflow_value): Likewise.
45191         (round_and_return): Use overflow_value and underflow_value to
45192         determine return values in overflow and underflow cases.  Use
45193         round_away to determine rounding depending on rounding mode.
45194         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
45195         determine return values in overflow and underflow cases.
45196         * stdlib/tst-strtod-round.c: Include <fenv.h>.
45197         (struct test_results): New structure.
45198         (struct test): Use struct test_results to store expected results
45199         for all rounding modes.
45200         (TEST): Include expected results for all rounding modes.
45201         (test_in_one_mode): New function.
45202         (do_test): Use test_in_one_mode to compute and check results.
45203         Check results for all rounding modes.
45204         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
45205         $(link-libm).
45207 2012-12-09  Allan McRae  <allan@archlinux.org>
45209         * sysdeps/i386/fpu/libm-test-ulps: Update
45211 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
45213         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
45214         (_G_int32_t): Likewise.
45215         (_G_uint16_t): Likewise.
45216         (_G_uint32_t): Likewise.
45217         (_G_HAVE_BOOL): Likewise.
45218         (_G_HAVE_ATEXIT): Likewise.
45219         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45220         (_G_HAVE_IO_FILE_OPEN): Likewise.
45221         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
45222         (_G_int32_t): Likewise.
45223         (_G_uint16_t): Likewise.
45224         (_G_uint32_t): Likewise.
45225         (_G_HAVE_BOOL): Likewise.
45226         (_G_HAVE_ATEXIT): Likewise.
45227         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45228         (_G_HAVE_IO_FILE_OPEN): Likewise.
45229         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
45230         (_G_int32_t): Likewise.
45231         (_G_uint16_t): Likewise.
45232         (_G_uint32_t): Likewise.
45233         (_G_HAVE_BOOL): Likewise.
45234         (_G_HAVE_ATEXIT): Likewise.
45235         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45236         (_G_HAVE_IO_FILE_OPEN): Likewise.
45238 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
45240         * csu/libc-tls.c: Update copyright years.
45242 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
45244         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
45245         [!_G_USING_THUNKS]: Remove conditional code.
45246         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
45247         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
45249         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
45250         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
45251         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45252         (_G_VTABLE_LABEL_PREFIX): Likewise.
45253         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45254         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45255         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45256         (_G_VTABLE_LABEL_PREFIX): Likewise.
45257         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45258         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45259         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45260         (_G_VTABLE_LABEL_PREFIX): Likewise.
45261         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45263 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
45265         * libio/Makefile: Include ../Makeconfig before tests.
45266         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
45267         only if $(build-shared) is yes.
45269         * iconv/gconv_db.c: Update copyright years.
45271 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45273         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
45274         unwind info if defined PIC. Fix special cases description.
45275         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
45277         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
45278         DP_HI_MASK entry.
45279         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
45281 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
45283         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
45285         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
45286         is NULL.
45288         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
45289         (LDLIBS-tst-chk4): This.
45290         (LDFLAGS-tst-chk5): Renamed to ...
45291         (LDLIBS-tst-chk5): This.
45292         (LDFLAGS-tst-chk6): Renamed to ...
45293         (LDLIBS-tst-chk6): This.
45294         (LDFLAGS-tst-lfschk4): Renamed to ...
45295         (LDLIBS-tst-lfschk4): This.
45296         (LDFLAGS-tst-lfschk5): Renamed to ...
45297         (LDLIBS-tst-lfschk5): This.
45298         (LDFLAGS-tst-lfschk6): Renamed to ...
45299         (LDLIBS-tst-lfschk6): This.
45301         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
45302         on $(common-objpfx)soversions.mk.
45304 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
45306         [BZ #10014]
45307         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
45308         example host name.
45310 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45312         * malloc/arena.c (arena_get_retry): New function that gets
45313         another arena for the caller to try its request on.
45314         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
45315         current arena cannot fulfill the request.
45316         (__libc_memalign): Likewise.
45317         (__libc_memalign): Likewise.
45318         (__libc_pvalloc): Likewise.
45319         (__libc_calloc): Likewise.
45321 2012-09-05  John Tobey  <john.tobey@gmail.com>
45323         [BZ #13542]
45324         * manual/arith.texi (Operations on Complex): Fix description
45325         of carg branch cut.
45327 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45329         [BZ #10014]
45330         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
45331         host name.
45333         [BZ #10038]
45334         * manual/memory.texi (Memory): Make order of menu items match
45335         order of sections.
45337 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45339         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
45340         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
45341         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
45343 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45345         * csu/libc-tls.c (static_dtv): Renamed to ...
45346         (_dl_static_dtv): This.  Make it global.
45347         (_dl_initial_dtv): Removed.
45348         (__libc_setup_tls): Updated.
45349         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
45350         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
45351         DL_INITIAL_DTV.
45353 2012-09-06  Petr Machata  <pmachata@redhat.com>
45355         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
45356         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
45357         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
45358         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
45360 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45362         [BZ #14545]
45363         * csu/libc-tls.c (_dl_initial_dtv): New variable.
45364         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
45365         freeing dtv[-1].
45367 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45369         [BZ #14544]
45370         * Makeconfig (link-static-before-libc): Replace $(+prector)
45371         with $(+prectorT).
45372         (link-static-after-libc): Replace $(+postctor) with
45373         $(+postctorT).
45374         (link-bounded): Replace $(+prector)/$(+postctor) with
45375         $(+prectorT)/$(+postctorT).
45376         (+prectorT): New macro.
45377         (+postctorT): Likewise.
45379 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45381         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
45382         (round_str): Handle values above the maximum for IBM long double
45383         as inexact.
45384         * stdlib/tst-strtod-round.c (tests): Regenerated.
45386 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45388         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
45389         assembler flag.
45390         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
45391         zarch_nohighgprs around the zarch optimized routines.
45392         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
45393         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
45394         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
45395         for zarch.
45397 2012-09-05  David S. Miller  <davem@davemloft.net>
45399         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45401         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
45402         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
45403         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
45404         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45405         entries.
45407 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45409         * malloc/arena.c: Fold copyright years.
45410         * malloc/mcheck.c, malloc/memusage.c: Likewise.
45412 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45414         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
45416 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45418         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
45420 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45422         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
45423         change internal state upon failure.
45425 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45427         * malloc/mcheck.c (mcheck_check_all): Fix typo.
45428         * malloc/memusage.c (mmap): Likewise.
45429         (mmap64, mremap): Likewise.  Adjust name in comment.
45431 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45433         * libio/fileops.c: Fix typos in comments.
45434         * libio/oldfileops.c: Likewise.
45435         * libio/wfileops.c: Likewise.
45437 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45439         [BZ #1349]
45440         * malloc/Makefile (tests): Add tst-malloc-usable test case.
45441         (tst-malloc-usable-ENV): Set environment for test case.
45442         * malloc/hooks.c (malloc_check_get_size): New function to get
45443         requested size.
45444         * malloc/malloc.c (musable): Use malloc_check_get_size.
45445         * malloc/tst-malloc-usable.c: New test case.
45447 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45449         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
45451 2012-09-05  Allan McRae  <allan@archlinux.org>
45453         [BZ #13966]
45454         * configure.in (CXX_SYSINCLUDES): Use compiler output to
45455         determine header location.
45456         * configure: Regenerated.
45458 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45460         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
45461         float format.
45462         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
45463         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
45464         format.
45465         (test): Regenerate.
45467 2012-09-04  David S. Miller  <davem@davemloft.net>
45469         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
45470         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
45471         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
45473 2012-09-04  Florian Weimer  <fweimer@redhat.com>
45475         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
45476         failures.
45478         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
45480 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
45482         [BZ #9914]
45483         * libio/iogetdelim.c: Include <limits.h>.
45484         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
45485         + len + 1 would overflow.
45487 2012-09-03  Andreas Jaeger  <aj@suse.de>
45489         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45490         * sysdeps/i386/fpu/libm-test-ulps: Update.
45492 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45494         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45495         Add s_sinf-sse2, s_conf-sse2.
45497         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
45498         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
45499         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
45500         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
45502         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
45503         for using routine as __sinf_ia32.
45504         Use macro for function declaration and weak_alias.
45505         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
45506         for using routine as __cosf_ia32.
45507         Use macro for function declaration and weak_alias.
45509         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
45510         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
45512         * sysdeps/x86_64/fpu/s_sinf.S: New file.
45513         * sysdeps/x86_64/fpu/s_cosf.S: New file.
45514         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45516         * math/libm-test.inc (cos_test): Add more test cases.
45517         (sin_test): Likewise.
45518         (sincos_test): Likewise.
45520 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45522         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
45523         (IFUNC_RESOLVE): Make pointers to the specialized implementations
45524         hidden.
45525         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45527 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
45529         [BZ #14538]
45530         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
45531         first element of the GOT.
45532         (elf_machine_load_address): Return the difference between
45533         the runtime address of _DYNAMIC and elf_machine_dynamic ().
45535 2012-09-01  Allan McRae  <allan@archlinux.org>
45537         [BZ #13412]
45538         * configure.in (AWK): Require gawk version 3.0 or later.
45539         * configure: Regenerated.
45541 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
45543         * sysdeps/unix/sysv/linux/kernel-features.h
45544         (__ASSUME_POSIX_CPU_TIMERS): Remove.
45545         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45546         [__NR_clock_getres]: Make code unconditional.
45547         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
45548         (clock_getcpuclockid): Remove code left unreachable by removal of
45549         conditionals.
45550         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
45551         code unconditional.
45552         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45553         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45554         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
45555         Make code unconditional.
45556         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45557         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45558         * sysdeps/unix/sysv/linux/clock_settime.c
45559         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
45560         conditional code.
45561         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
45562         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45564 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
45566         [BZ #14476]
45567         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
45568         scripts/test-installation.pl.
45570         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
45571         and $ld_so_version if it is set.
45573 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45575         [BZ #14516]
45576         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
45577         failure if reading from procfs failed.
45578         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
45580 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45582         * sysdeps/unix/sysv/linux/kernel-features.h
45583         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
45584         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45585         Remove conditional code.
45586         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45587         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
45588         Remove conditional code.
45589         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45590         * sysdeps/unix/sysv/linux/i386/fxstat.c
45591         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45592         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45593         * sysdeps/unix/sysv/linux/i386/fxstatat.c
45594         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45595         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45596         * sysdeps/unix/sysv/linux/i386/lxstat.c
45597         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45598         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45599         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
45600         Remove conditional code.
45601         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45602         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45603         Remove conditional code.
45604         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45605         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
45606         <kernel-features.h>.
45607         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
45608         Remove.
45609         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
45610         Remove conditional code.
45611         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45612         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
45613         Remove conditional.
45615 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
45617         [BZ #5400]
45618         * NEWS: Add fixed bug number.
45620 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45622         [BZ #14519]
45623         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
45624         underflowing exponent in case of negative sign.
45625         * stdlib/tst-strtod-round-data: Add more tests.
45626         * stdlib/tst-strtod-round.c (tests): Regenerated.
45628         [BZ #3479]
45629         * stdlib/strtod_l.c (NDIG): Remove.
45630         (HEXNDIG): Likewise.
45631         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
45632         smallest representable value.
45633         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
45634         lie within an exact representation of 1/2 ulp of the result.
45635         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
45636         unconditionally.
45637         (TENS_P9_IDX): Define unconditionally.
45638         (TENS_P9_SIZE): Likewise.
45639         (TENS_P10_IDX): Likewise.
45640         (TENS_P10_SIZE): Likewise.
45641         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
45642         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
45643         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
45644         entries for 10^2^13 and 10^2^14.
45645         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
45646         (TENS_P13_IDX): Define.
45647         (TENS_P13_SIZE): Likewise.
45648         (TENS_P14_IDX): Likewise.
45649         (TENS_P14_SIZE): Likewise.
45650         (_fpioconst_pow10): Change array size to
45651         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
45652         unconditional.
45653         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
45654         1024]: Add entries for 10^2^13 and 10^2^14.
45655         [LAST_POW10 > _LAST_POW10]: Remove #error.
45656         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
45657         (_fpioconst_pow10): Change array size to
45658         FPIOCONST_POW10_ARRAY_SIZE.
45659         * stdlib/gen-fpioconst.c: New file.
45660         * stdlib/gen-tst-strtod-round.c: Likewise.
45661         * stdlib/tst-strtod-round-data: Likewise.
45662         * stdlib/tst-strtod-round.c: Likewise.
45663         * stdlib/Makefile (tests): Add tst-strtod-round.
45665         [BZ #14459]
45666         * stdlib/strtod_l.c: Include <stdint.h>.
45667         (NDEBUG): Do not define.
45668         (round_and_return): Change EXPONENT parameter to type intmax_t.
45669         Rearrange calculations to avoid internal overflow possibilities.
45670         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45671         Rearrange calculations to avoid internal overflow possibilities.
45672         Assert that number fits inside MPNSIZE limbs.
45673         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45674         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
45675         calculations and add assertions to avoid internal overflow
45676         possibilities.  Add casts to avoid signed/unsigned operations.
45677         * stdlib/tst-strtod-overflow.c: New file.
45678         * stdlib/Makefile (tests): Add tst-strtod-overflow.
45680 2012-08-25  Marek Polacek  <polacek@redhat.com>
45682         * time/time.h: Fix some typos in comments.
45684 2012-08-23  Roland McGrath  <roland@hack.frob.com>
45686         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45687         * posix/tst-rfc3484-2.c: Likewise.
45688         * posix/tst-rfc3484-3.c: Likewise.
45690 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
45692         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45693         (EF_ARM_ABI_FLOAT_HARD): Likewise.
45695 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
45697         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45698         #include of fxstatat64.c.
45700 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45702         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45703         * shadow/getspent_r.c: Likewise.
45704         * shadow/getspnam.c: Likewise.
45705         * shadow/getspnam_r.c: Likewise.
45706         * gshadow/getsgent.c: Likewise.
45707         * gshadow/getsgent_r.c: Likewise.
45708         * gshadow/getsgnam.c: Likewise.
45709         * gshadow/getsgnam_r.c: Likewise.
45710         * inet/getnetbyad.c: Likewise.
45711         * inet/getnetbyad_r.c: Likewise.
45712         * inet/getnetbynm.c: Likewise.
45713         * inet/getnetbynm_r.c: Likewise.
45714         * inet/getnetent.c: Likewise.
45715         * inet/getnetent_r.c: Likewise.
45716         * inet/getproto.c: Likewise.
45717         * inet/getproto_r.c: Likewise.
45718         * inet/getprtent.c: Likewise.
45719         * inet/getprtent_r.c: Likewise.
45720         * inet/getprtname.c: Likewise.
45721         * inet/getprtname_r.c: Likewise.
45722         * inet/getrpcbyname.c: Likewise.
45723         * inet/getrpcbyname_r.c: Likewise.
45724         * inet/getrpcbynumber.c: Likewise.
45725         * inet/getrpcbynumber_r.c: Likewise.
45726         * inet/getrpcent.c: Likewise.
45727         * inet/getrpcent_r.c: Likewise.
45728         * inet/getaliasent.c: Likewise.
45729         * inet/getaliasent_r.c: Likewise.
45730         * inet/getaliasname.c: Likewise.
45731         * inet/getaliasname_r.c: Likewise.
45732         * nscd/getgrgid_r.c: Likewise.
45733         * nscd/getgrnam_r.c: Likewise.
45734         * nscd/gethstbyad_r.c: Likewise.
45735         * nscd/gethstbynm3_r.c: Likewise.
45736         * nscd/getpwnam_r.c: Likewise.
45737         * nscd/getpwuid_r.c: Likewise.
45738         * nscd/getsrvbynm_r.c: Likewise.
45739         * nscd/getsrvbypt_r.c: Likewise.
45740         * nscd/gai.c: Likewise.
45742         * configure.in (build_nscd): New substituted variable, set
45743         by --disable-build-nscd and defaults to $use_nscd.
45744         * configure: Regenerated.
45745         * config.make.in (build-nscd): New substituted variable.
45746         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45747         Change conditional to require [$(build-nscd) = yes] as well.
45748         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45750         [BZ# 13696]
45751         * configure.in (use_nscd): New substituted variable, set by
45752         --disable-nscd.  If enabled, define USE_NSCD.
45753         * configure: Regenerated.
45754         * config.h.in: Add USE_NSCD.
45755         * config.make.in (use-nscd): New substituted variable.
45756         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45757         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45758         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45759         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45760         (CFLAGS-getgrnam_r.c): Likewise.
45761         (CFLAGS-initgroups.c): Likewise.
45762         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45763         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45764         Variables removed.
45765         * inet/getnetgrent_r.c
45766         (nscd_setnetgrent): New function, broken out of ...
45767         (setnetgrent): ... here.  Call it.
45768         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45769         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45770         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45771         * nscd/Makefile (routines, aux): Move definitions after include of
45772         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45773         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45774         Conditionalize on [USE_NSCD].
45775         (is_nscd, nscd_init_cb): Likewise.
45776         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45777         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45778         * nss/nss_db/db-init.c: Likewise.
45779         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45780         [USE_NSCD].
45781         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45782         (make_request): Use it.
45783         (cache_valid_p): New function.
45784         (__check_pf): Use it.
45785         * NEWS: Add item for --disable-nscd.
45787 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45789         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45790         to support sed >= 4.2.1-20-ga9bf076.
45791         * configure: Regenerated.
45793 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45795         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45796         Conditionalize whole body on [IREL].
45798 2012-08-22  Jeff Law <law@redhat.com>
45800         [BZ #14505]
45801         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45802         if the family is PF_UNSPEC.
45804 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45806         * Makerules (lib-version): Rename from V.
45807         (install-lib-nosubdir): Change V to lib-version.
45809 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45811         [BZ #14252]
45812         * powerpc32/power6/wcschr.c: New file.
45813         * powerpc32/power6/wcscpy.c: New file.
45814         * powerpc32/power6/wcsrchr.c: New file.
45815         * powerpc64/power6/wcschr.c: New file.
45816         * powerpc64/power6/wcscpy.c: New file.
45817         * powerpc64/power6/wcsrchr.c: New file.
45819 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45821         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45822         (two_way_short_needle): Use it.
45823         * string/strstr.c (AVAILABLE1_USES_J): Define.
45824         * string/strcasestr.c: Likewise.
45826         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45827         array references.
45828         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45830         [BZ #11607]
45831         * NEWS: Add an entry.
45832         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45833         define their defaults.
45834         (two_way_short_needle): Detect end-of-string on-the-fly.
45835         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45836         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45837         * string/bug-strcasestr1.c: New test.
45838         * string/Makefile: Run it.
45840 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45842         [BZ #11607]
45843         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45844         the first character.
45846 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45848         * csu/elf-init.c (__libc_csu_irel): Function removed.
45849         * csu/libc-start.c (apply_irel): New function.
45850         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45852 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45854         * sysdeps/unix/sysv/linux/kernel-features.h
45855         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45856         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45857         <kernel-features.h>.
45858         [__NR_fadvise64_64]: Make code unconditional.
45859         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45860         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45861         !__NR_fadvise64_64)]: Likewise.
45862         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45863         !__NR_fadvise64_64))]: Likewise.
45864         [__NR_fadvise64]: Make code unconditional.
45865         [!__NR_fadvise64]: Remove conditional code.
45866         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45867         <kernel-features.h>.
45868         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45869         unconditional.
45870         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45871         conditional code.
45872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45873         not include <kernel-features.h>.
45874         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45875         unconditional.
45876         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45877         conditional code.
45878         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45879         include <kernel-features.h>.
45880         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45881         unconditional.
45882         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45883         conditional code.
45885 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45887         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45888         slight instruction rearrangements per scrollpipe analysis.
45889         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45891 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45893         * manual/syslog.texi (syslog; vsyslog, closelog):
45894         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45895         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45897         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45898         DSOCAPS to match condition on defining it.
45900 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45902         * sysdeps/unix/sysv/linux/kernel-features.h
45903         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45905         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45906         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45908         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45909         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45911         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45912         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45914         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45915         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45917         * sysdeps/unix/sysv/linux/kernel-features.h
45918         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45919         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45920         unconditional.
45921         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45922         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45923         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45924         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45925         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45926         Make code unconditional.
45927         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45928         (__mmap64) [!__NR_mmap2]: Likewise.
45929         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45930         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45931         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45932         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45933         [__NR_mmap2]: Make code unconditional.
45934         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45935         (__mmap64) [!__NR_mmap2]: Likewise.
45937 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45939         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45941 2012-08-18  Andreas Jaeger  <aj@suse.de>
45943         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45945 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45947         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45948         * include/unistd.h (__have_sock_cloexec): Likewise.
45949         (__have_pipe2): Likewise.
45950         (__have_dup3): Likewise.
45952 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45954         [BZ #9685]
45955         * include/unistd.h (__have_pipe2): Change define into an extern int.
45956         (__have_dup3): Likewise.
45957         * socket/have_sock_cloexec.c: Include fcntl.h.
45958         (__have_pipe2): New variable.
45959         (__have_dup3): Likewise.
45961 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45963         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45965 2012-08-17  Marek Polacek  <polacek@redhat.com>
45967         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45968         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45970 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45972         * configure.in: Add AC_SUBST for sysheaders.
45973         * configure: Regenerated.
45974         * config.make.in (sysheaders): New substituted variable.
45976         * sysdeps/unix/mkfifo.c: Moved ...
45977         * sysdeps/posix/mkfifo.c: ... here.
45978         * sysdeps/unix/mkfifoat.c: Moved ...
45979         * sysdeps/posix/mkfifoat.c: ... here.
45981         * sysdeps/unix/utime.c: Moved ...
45982         * sysdeps/posix/utime.c: ... here.
45984         * sysdeps/unix/time.c: Moved ...
45985         * sysdeps/posix/time.c: ... here.
45986         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45987         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45989         * sysdeps/unix/nice.c: Moved ...
45990         * sysdeps/posix/nice.c: ... here.
45992         * sysdeps/unix/alarm.c: Moved ...
45993         * sysdeps/posix/alarm.c: ... here.
45995         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45997 2012-08-17  Jeff Law <law@redhat.com>
45999         * intl/Makefile (codeset_mo): New variable.
46000         ($(codeset_mo)): New target.
46001         (tst-codeset.out): Depend on that.  Remove explicit rule.
46002         (tst-gettext3.out, tst-gettext5.out): Likewise.
46003         (LOCPATH-ENV, tst-codeset-ENV): New variables.
46004         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
46005         * intl/tst-codeset.sh: Remove.
46006         * intl/tst-gettext3.sh: Likewise.
46007         * intl/tst-gettext5.sh: Likewise.
46009 2012-08-17  Roland McGrath  <roland@hack.frob.com>
46011         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
46012         * sysdeps/unix/syscalls.list: ... here.
46014         * sysdeps/posix/getaddrinfo.c
46015         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
46016         (gaiconf_init, gaiconf_reload): Use them.
46017         [!_STATBUF_ST_NSEC]
46018         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
46019         Define using time_t rather than struct timespec.
46021         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
46022         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
46023         Macros removed.
46024         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
46025         [!NO_THREADS].
46026         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
46027         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
46028         Likewise.
46030         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
46031         __libc_cleanup_push argument.
46033         * bits/param.h: New file.
46034         * misc/sys/param.h: New file.
46035         * include/sys/param.h: New file.
46036         * misc/Makefile (headers): Add bits/param.h.
46037         * sysdeps/generic/sys/param.h: File removed.
46038         * sysdeps/unix/sysv/linux/bits/param.h: New file.
46039         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
46040         * sysdeps/mach/hurd/bits/param.h: New file.
46041         * sysdeps/mach/hurd/sys/param.h: File removed.
46043         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
46044         last change.
46046         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
46047         [_IO_MTSAFE_IO].
46048         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
46049         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
46050         New macros.
46052         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
46053         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
46054         rather than -D_IO_MTSAFE_IO conditionally.
46055         * stdio-common/Makefile (CPPFLAGS): Likewise.
46056         * wcsmbs/Makefile (CPPFLAGS): Likewise.
46057         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
46058         Use $(libio-mtsafe).
46059         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
46060         of -D_IO_MTSAFE_IO.
46061         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
46062         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
46063         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
46064         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
46065         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
46066         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
46067         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
46068         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
46069         (CFLAGS-fread_u_chk.c): Likewise.
46070         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
46071         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
46072         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
46073         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
46074         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
46075         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
46076         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
46077         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
46078         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
46080         * libio/Makefile: Test [$(libc-reentrant) = yes]
46081         instead of [$(filter %REENTRANT, $(defines)) nonempty].
46083         * Makeconfig
46084         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
46085         * sysdeps/pthread/configure: File removed.
46086         * sysdeps/pthread/Makeconfig: New file.
46087         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
46088         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
46090 2012-08-16  Gary Benson  <gbenson@redhat.com>
46092         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
46093         unmapping the first object in a namespace.
46095 2012-08-16  Roland McGrath  <roland@hack.frob.com>
46097         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
46098         (__internal_setnetgrent): ... this.  Add internal_function to
46099         definition.  Add libc_hidden_def.
46100         (setnetgrent): Update caller.
46101         (internal_endnetgrent): Renamed to ...
46102         (__internal_endnetgrent): ... this.  Add internal_function to
46103         definition.  Add libc_hidden_def.
46104         (endnetgrent): Update caller.
46105         (internal_getnetgrent_r): Renamed to ...
46106         (__internal_getnetgrent_r): ... this.  Add internal_function to
46107         definition.  Add libc_hidden_def.
46108         (__getnetgrent_r): Update caller.
46109         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
46111 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
46113         * stdlib/longlong.h: Update from GCC.
46115 2012-08-16  Roland McGrath  <roland@hack.frob.com>
46117         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
46118         on _QL, which is set by umul_ppmm but never used.
46119         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
46120         variables, which are set by GMP macros but never used.
46121         * stdio-common/_itowa.c (_itowa): Likewise.
46122         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
46123         * stdlib/mod_1.c (mpn_mod_1): Likewise.
46125 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
46127         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
46128         struct La_sh_regs is not constant.
46129         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
46130         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
46131         and struct La_sparc64_regs are not constant.
46133 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
46135         * sysdeps/unix/sysv/linux/kernel-features.h
46136         (__ASSUME_POSIX_TIMERS): Remove.
46137         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46138         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46139         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
46140         Make code unconditional.
46141         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46142         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
46143         Make code unconditional.
46144         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46145         * sysdeps/unix/sysv/linux/clock_nanosleep.c
46146         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
46147         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46148         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
46149         Make code unconditional.
46150         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46151         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
46152         (__libc_missing_posix_timers): Remove.
46154 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46156         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
46157         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
46159         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
46161         * elf/dl-sym.c: Include <stdlib.h>.
46163         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
46164         constants, which avoids warnings in 32-bit builds.
46166         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
46167         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
46169         * misc/lseek.c: File moved to ...
46170         * io/lseek.c: ... here.
46172         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
46174         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
46175         shifting LEN more than 31 bits at once.
46177 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46179         [BZ #14195]
46180         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
46181         segmentation fault for a case of two empty input strings.
46182         * string/test-strncasecmp.c (check1): Renamed to...
46183         (bz12205): ...this.
46184         (bz14195): Add new testcase for two empty input strings and N > 0.
46185         (test_main): Call new testcase, adapt for renamed function.
46187 2012-08-15  Andreas Jaeger  <aj@suse.de>
46189         [BZ #14090]
46190         * crypt/md5test2.c: New test, based on test supplied by Serge
46191         Belyshev <belyshev@depni.sinp.msu.ru>.
46192         * crypt/Makefile (xtests): Add md5test-giant..
46193         * crypt/Makefile ($(objpfx)md5test-giant): Add.
46195 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
46197         [BZ #14090]
46198         * crypt/md5.c (md5_process_block): Don't assume the buffer
46199         length is less than 2**32.
46200         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
46201         length is less than 2**64.
46203 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46205         * string/str-two-way.h: Include <sys/param.h>.
46206         (MAX): Macro removed.
46208         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
46209         Move #define and #undef of memmove to just before and after
46210         including <string.h>.
46212         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
46213         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
46214         and after including <string.h>.  Move declarations of
46215         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
46216         to before #include "string/memmove.c".
46218         * include/dirent.h: Declare __getdirentries.
46220         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
46221         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
46223 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
46225         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
46226         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
46227         * sysdeps/i386/configure: Regenerated.
46228         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
46229         STABS_CURRENT_FILE, and STABS_FUN.
46230         (END): Remove call to STABS_FUN_END.
46231         (STABS_CURRENT_FILE1): Delete.
46232         (STABS_CURRENT_FILE): Likewise.
46233         (STABS_FUN): Likewise.
46234         (STABS_FUN_END): Likewise.
46235         (STABS_FUN2): Likewise.
46236         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
46237         * sysdeps/x86_64/configure: Regenerated.
46239 2012-08-14  Roland McGrath  <roland@hack.frob.com>
46241         * elf/dl-open.c: Include <atomic.h>.
46242         * elf/dl-lookup.c: Likewise.
46244 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
46246         * sysdeps/unix/sysv/linux/kernel-features.h
46247         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
46248         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
46249         unconditionally.
46250         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
46251         unconditionally.
46252         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
46253         condition on __ASSUME_CLONE_THREAD_FLAGS.
46255 2012-08-14  Andreas Jaeger  <aj@suse.de>
46257         * sysdeps/i386/fpu/libm-test-ulps: Update.
46259 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
46261         * include/atomic.h (atomic_exchange_and_add): Split into ...
46262         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
46263         New atomic macros.
46265 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
46267         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46269 2012-08-13  Jeff Law <law@redhat.com>
46271         * manual/stdio.texi (snprintf): Clarify handling of the trailing
46272         null byte in the output string.
46274 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
46276         * sysdeps/unix/sysv/linux/kernel-features.h
46277         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
46278         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
46279         (__ASSUME_ARG_MAX_STACK_BASED): Define.
46280         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46281         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
46282         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
46283         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
46285 2012-08-09  Jeff Law <law@redhat.com>
46287         [BZ #13939]
46288         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
46289         When avoid_arena is set, don't retry in the that arena.  Pick the
46290         next one, whatever it might be.
46291         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
46292         (arena_lock): Pass in new parameter to arena_get2.
46293         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
46294         arena_get2.
46295         (__libc_malloc): Unify retrying after main arena failure with
46296         __libc_memalign version.
46297         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
46299 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
46301         [BZ #14166]
46302         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
46303         to __redirect_strstr.
46304         (__strstr_sse42): Use typeof __redirect_strstr.
46305         (__strstr_ia32): Likewise.
46306         (__libc_strstr): New prototype.
46307         (strstr): Renamed to ...
46308         (__libc_strstr): This.
46309         (strstr): New strong alias of __libc_strstr.
46310         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46311         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
46312         __redirect_time.
46313         Include <time.h>.
46314         (__libc_time): New prototype.
46315         (time_ifunc): Replace time with __libc_time.
46316         (time): New strong alias and hidden definition of __libc_time.
46317         (__GI_time): Remove strong alias.
46318         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
46319         Include <stddef.h>.
46320         (memmove): Redefined to __redirect_memmove.
46321         (__memmove_sse2): Use typeof __redirect_memmove.
46322         (__memmove_ssse3): Likewise.
46323         (__memmove_ssse3_back): Likewise.
46324         (__libc_memmove): New prototype.
46325         (memmove): Renamed to ...
46326         (__libc_memmove): This.
46327         (memmove): New strong alias of __libc_memmove.
46329 2012-08-08  Mark Salter  <msalter@redhat.com>
46331         * elf/elf.h
46332         (R_MN10300_TLS_GD): Define.
46333         (R_MN10300_TLS_LD): Likewise.
46334         (R_MN10300_TLS_LDO): Likewise.
46335         (R_MN10300_TLS_GOTIE): Likewise.
46336         (R_MN10300_TLS_IE): Likewise.
46337         (R_MN10300_TLS_LE): Likewise.
46338         (R_MN10300_TLS_DTPMOD): Likewise.
46339         (R_MN10300_TLS_DTPOFF): Likewise.
46340         (R_MN10300_TLS_TPOFF): Likewise.
46341         (R_MN10300_SYM_DIFF): Likewise.
46342         (R_MN10300_ALIGN): Likewise.
46343         (R_MN10300_NUM): Update.
46345 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
46347         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
46348         Remove.
46350 2012-08-08  Roland McGrath  <roland@hack.frob.com>
46352         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
46354         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
46355         sysdeps/unix -> sysdeps/posix move.
46356         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46358 2012-08-07      Allan McRae     <allan@archlinux.org>
46360         [BZ #14303]
46361         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
46362         (SUNOS_CPP): Likewise.
46363         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
46364         not found.
46365         (open_input): Call CPP using execvp.
46367 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46369         * sysdeps/unix/sysv/linux/kernel-features.h
46370         (__ASSUME_PROT_GROWSUPDOWN): Remove.
46371         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46372         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46373         (__ASSUME_WAITID_SYSCALL): Likewise.
46374         * sysdeps/unix/sysv/linux/dl-execstack.c
46375         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
46376         code unconditional.
46377         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
46378         conditional code.
46379         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
46380         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
46381         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
46382         code.
46383         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
46384         unconditional.
46385         [__ASSUME_WAITID_SYSCALL]: Likewise.
46386         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
46388 2012-08-07  Roland McGrath  <roland@hack.frob.com>
46390         * sysdeps/unix/closedir.c: Renamed to ...
46391         * sysdeps/posix/closedir.c: ... here.
46392         * sysdeps/unix/dirfd.c: Renamed to ...
46393         * sysdeps/posix/dirfd.c: ... here.
46394         * sysdeps/unix/dirstream.h: Renamed to ...
46395         * sysdeps/posix/dirstream.h: ... here.
46396         * sysdeps/unix/fdopendir.c: Renamed to ...
46397         * sysdeps/posix/fdopendir.c: ... here.
46398         * sysdeps/unix/opendir.c: Renamed to ...
46399         * sysdeps/posix/opendir.c: ... here.
46400         * sysdeps/unix/readdir.c: Renamed to ...
46401         * sysdeps/posix/readdir.c: ... here.
46402         * sysdeps/unix/readdir_r.c: Renamed to ...
46403         * sysdeps/posix/readdir_r.c: ... here.
46404         * sysdeps/unix/rewinddir.c: Renamed to ...
46405         * sysdeps/posix/rewinddir.c: ... here.
46406         * sysdeps/unix/seekdir.c: Renamed to ...
46407         * sysdeps/posix/seekdir.c: ... here.
46408         * sysdeps/unix/telldir.c: Renamed to ...
46409         * sysdeps/posix/telldir.c: ... here.
46410         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
46411         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
46412         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
46413         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
46415         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
46416         * bits/fcntl.h: ... here.
46418         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
46419         not 0.
46420         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
46421         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
46422         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
46423         (struct flock): Move l_start, l_len to the beginning.
46424         Use __pid_t for l_pid.
46425         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
46426         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
46427         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
46428         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
46429         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
46430         [__USE_LARGEFILE64] (struct flock64): New type.
46431         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
46433         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
46434         * bits/dirent.h: ... here.
46436         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
46437         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
46439 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46441         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46442         Change from 2.6.0 to 2.6.16.
46443         * sysdeps/unix/sysv/linux/configure: Regenerated.
46444         * sysdeps/unix/sysv/linux/kernel-features.h
46445         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
46446         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
46447         version.
46448         (__ASSUME_UTIMES): Likewise.
46449         (__ASSUME_CLONE_STOPPED): Remove.
46450         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
46451         architectures, not kernel version.
46452         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
46453         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46454         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46455         (__ASSUME_WAITID_SYSCALL): Likewise.
46456         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
46457         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
46458         * README: State 2.6.16 as minimum Linux kernel version.  Do not
46459         refer to older versions.
46461 2012-08-06  Roland McGrath  <roland@hack.frob.com>
46463         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
46464         Define alphasort64 as an alias.
46465         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
46466         Define versionsort64 as an alias.
46467         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
46468         Define scandir64 as an alias.
46469         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
46470         Define scandirat64 as an alias.
46471         * dirent/alphasort64.c (alphasort64):
46472         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
46473         * dirent/versionsort64.c: Likewise.
46474         * dirent/scandir64.c: Likewise.
46475         * dirent/scandirat64.c: Likewise.
46476         * sysdeps/wordsize-64/alphasort.c: File removed.
46477         * sysdeps/wordsize-64/alphasort64.c: File removed.
46478         * sysdeps/wordsize-64/scandir.c: File removed.
46479         * sysdeps/wordsize-64/scandir64.c: File removed.
46480         * sysdeps/wordsize-64/scandirat.c: File removed.
46481         * sysdeps/wordsize-64/scandirat64.c: File removed.
46482         * sysdeps/wordsize-64/versionsort.c: File removed.
46483         * sysdeps/wordsize-64/versionsort64.c: File removed.
46484         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
46485         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
46486         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
46487         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
46488         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
46489         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
46490         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
46491         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
46493         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
46494         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46495         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
46496         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46497         [defined __arch64__ || defined __sparcv9]
46498         (__INO_T_MATCHES_INO64_T): New macro.
46499         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46500         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
46501         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
46502         * sysdeps/unix/sysv/linux/bits/dirent.h
46503         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
46504         (_DIRENT_MATCHES_DIRENT64): New macro.
46506         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
46507         Define lockf64 as an alias.
46508         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
46509         Define fseeko64 as an alias.
46510         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
46511         Define ftello64 as an alias.
46512         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
46513         Define _IO_fgetpos64 and fgetpos64 as aliases.
46514         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
46515         Define _IO_fsetpos64 and fsetpos64 as aliases.
46516         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
46517         Conditionalize body on this.
46518         * libio/fseeko64.c: Likewise.
46519         * libio/ftello64.c: Likewise.
46520         * libio/iofgetpos64.c: Likewise.
46521         * libio/iofsetpos64.c: Likewise.
46522         * sysdeps/wordsize-64/lockf.c: File removed.
46523         * sysdeps/wordsize-64/lockf64.c: File removed.
46524         * sysdeps/wordsize-64/fseeko.c: File removed.
46525         * sysdeps/wordsize-64/fseeko64.c: File removed.
46526         * sysdeps/wordsize-64/ftello.c: File removed.
46527         * sysdeps/wordsize-64/ftello64.c: File removed.
46528         * sysdeps/wordsize-64/iofgetpos.c: File removed.
46529         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
46530         * sysdeps/wordsize-64/iofsetpos.c: File removed.
46531         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
46532         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
46533         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
46534         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
46535         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
46536         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
46537         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
46538         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
46539         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
46540         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
46541         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
46543         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46544         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46545         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
46546         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46547         [defined __arch64__ || defined __sparcv9]
46548         (__OFF_T_MATCHES_OFF64_T): New macro.
46549         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46550         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46551         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46552         (__OFF_T_MATCHES_OFF64_T): New macro.
46554 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46556         * stdlib/secure-getenv.c (__secure_getenv): Replace
46557         GLIBC_2_16 with GLIBC_2_17.
46559 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46561         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
46562         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46564 2012-08-03  David S. Miller  <davem@davemloft.net>
46566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46568 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46570         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
46571         Remove.
46572         (__ASSUME_CORRECT_SI_PID): Likewise.
46573         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
46574         (__ASSUME_TMPFS_NAME): Likewise.
46575         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
46576         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
46577         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
46578         (HAVE_AUX_SECURE): Make definition unconditional.
46579         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
46580         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
46582 2012-08-03  Roland McGrath  <roland@hack.frob.com>
46584         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
46585         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
46586         * sysdeps/mach/hurd/eloop-threshold.h: New file.
46587         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46588         __eloop_threshold instead of SYMLOOP_MAX.
46590         * sysdeps/generic/eloop-threshold.h: New file.
46591         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
46592         of MAXSYMLINKS.
46593         * elf/chroot_canon.c (chroot_canon): Likewise.
46595 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46597         [BZ #13717]
46598         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46599         Change to 2.6.0 everywhere.
46600         * sysdeps/unix/sysv/linux/configure: Regenerated.
46601         * sysdeps/unix/sysv/linux/kernel-features.h
46602         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
46603         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
46604         kernel versions.
46605         (__ASSUME_POSIX_TIMERS): Define unconditionally.
46606         (__ASSUME_FUTEX_REQUEUE): Remove.
46607         (__ASSUME_STATFS64): Define unconditionally.
46608         (__ASSUME_AT_SECURE): Likewise.
46609         (__ASSUME_CORRECT_SI_PID): Likewise.
46610         (__ASSUME_TGKILL): Define without depending on kernel version for
46611         i386.
46612         (__ASSUME_UTIMES): Likewise.
46613         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
46614         kernel version.
46615         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
46616         (__ASSUME_TMPFS_NAME): Likewise.
46617         * README: Update reference to Linux kernel versions.
46619 2012-08-02  Marek Polacek  <polacek@redhat.com>
46621         [BZ# 14150]
46622         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
46623         libc_cv_asm_type_prefix with %.
46624         * configure: Regenerated.
46625         * include/libc-symbols.h: Remove comment about
46626         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46627         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
46628         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
46629         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
46630         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
46631         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46632         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
46633         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
46634         * elf/tst-unique2mod1.c: Likewise.
46635         * elf/tst-unique1mod2.c: Likewise.
46636         * elf/tst-unique1mod1.c: Likewise.
46637         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
46638         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
46639         Replace ASM_TYPE_DIRECTIVE with .type.
46640         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46641         * sysdeps/i386/sysdep.h: Likewise.
46642         * sysdeps/x86_64/sysdep.h: Likewise.
46643         * sysdeps/sh/sysdep.h: Likewise.
46644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46645         Do not define ASM_TYPE_DIRECTIVE.
46646         * sysdeps/powerpc/sysdep.h: Likewise.
46647         * sysdeps/powerpc/powerpc32/sysdep.h:
46648         Replace ASM_TYPE_DIRECTIVE with .type.
46649         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46650         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46651         * sysdeps/i386/fpu/e_powf.S: Likewise.
46652         * sysdeps/i386/fpu/e_expl.S: Likewise.
46653         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46654         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46655         * sysdeps/i386/fpu/e_pow.S: Likewise.
46656         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46657         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46658         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46659         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46660         * sysdeps/i386/fpu/e_log2.S: Likewise.
46661         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46662         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46663         * sysdeps/i386/fpu/e_powl.S: Likewise.
46664         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46665         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46666         * sysdeps/i386/fpu/e_logl.S: Likewise.
46667         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46668         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46669         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46670         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46671         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46672         * sysdeps/i386/fpu/e_log.S: Likewise.
46673         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46674         * sysdeps/i386/fpu/e_logf.S: Likewise.
46675         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46676         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46677         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46678         * sysdeps/i386/fpu/e_log10.S: Likewise.
46679         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46680         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46681         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46682         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46683         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46684         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46685         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46686         * sysdeps/i386/i686/strtok.S: Likewise.
46687         * sysdeps/i386/i386-mcount.S: Likewise.
46688         * sysdeps/i386/strtok.S: Likewise.
46689         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46690         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46691         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46692         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46693         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46694         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46695         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46696         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46697         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46698         * sysdeps/x86_64/_mcount.S: Likewise.
46699         * sysdeps/x86_64/strtok.S: Likewise.
46700         * sysdeps/sh/_mcount.S: Likewise.
46702 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46704         * libio/iofopen.c: Include <fcntl.h>.
46705         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46706         (_IO_fopen64, fopen64): Define as aliases.
46707         * libio/iofopen64.c: Include <fcntl.h>.
46708         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46709         Conditionalize body on this.
46710         * sysdeps/wordsize-64/iofopen.c: File removed.
46711         * sysdeps/wordsize-64/iofopen64.c: File removed.
46713 2012-08-01  Marek Polacek  <polacek@redhat.com>
46715         * libc/Makeconfig: Use elf in place of binfmt-subdir.
46716         Use dlfcn directly instead of a variable.
46717         (binfmt-subdir): Do not define.
46718         (dlfcn): Likewise.
46720 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46722         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46723         Remove all definitions.
46724         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46725         <kernel-features.h>.
46726         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46727         (miss_F_GETOWN_EX): Remove all definitions.
46728         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46729         macro definition.
46730         [!__ASSUME_FCNTL64]: Remove conditional code.
46731         [__ASSUME_FCNTL64]: Make code unconditional.
46732         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46733         <kernel-features.h>.
46734         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46735         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46736         (lockf64) [__NR_fcntl64]: Make code unconditional.
46737         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46739         * sysdeps/unix/sysv/linux/kernel-features.h
46740         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46741         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46742         Make code unconditional.
46743         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46744         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46746         [__NR_vfork]: Make code unconditional.
46747         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46748         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46750         [__NR_vfork]: Make code unconditional.
46751         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46752         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46754 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46756         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46757         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46759         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46760         Define mkstemp64 as an alias.
46761         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46762         Define mkstemps64 as an alias.
46763         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46764         Define mkostemp64 as an alias.
46765         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46766         Define mkostemps64 as an alias.
46767         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46768         Conditionalize body on this.
46769         * misc/mkostemp64.c: Likewise.
46770         * misc/mkostemps64.c: Likewise.
46771         * misc/mkstemps64.c: Likewise.
46772         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46773         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46774         * sysdeps/wordsize-64/mkostemp.c: File removed.
46775         * sysdeps/wordsize-64/mkstemp.c: File removed.
46776         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46777         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46778         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46779         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46781         [BZ #14138]
46782         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46783         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46784         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46785         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46787         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46788         compat_symbol macros from <shlib-compat.h> rather than the underlying
46789         default_symbol_version and symbol_version macros, so that DEFAULT
46790         lines in shlib-versions are respected.
46791         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46793 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46795         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46796         Declare with warn_unused_result.
46797         (setgid, setregid, setegid, setresgid): Likewise.
46798         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46799         Likewise.
46800         * WUR-REPORT: Remove set*id functions.
46802 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46804         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46806 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46808         [BZ #10191]
46809         * include/sys/socket.h (__libc_accept, __libc_accept4):
46810         Add attribute_hidden.
46811         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46813         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46814         use of PTR_MANGLE.
46815         * inet/getnetgrent_r.c (setup): Likewise.
46817         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46819 2012-07-31  David S. Miller  <davem@davemloft.net>
46821         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46823 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46825         [BZ #13629]
46826         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46827         value between 1.0 and 2.0 and smaller part has absolute value less
46828         than 1.0.
46829         * math/s_clog10.c (__clog10): Likewise.
46830         * math/s_clog10f.c (__clog10f): Likewise.
46831         * math/s_clog10l.c (__clog10l): Likewise.
46832         * math/s_clogf.c (__clogf): Likewise.
46833         * math/s_clogl.c (__clogl): Likewise.
46834         * math/libm-test.inc (clog_test): Add more tests.
46835         (clog10_test): Likewise.
46836         * sysdeps/i386/fpu/libm-test-ulps: Update.
46837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46839 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46841         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46842         Exit with zero in case no suitable GID is found, and write a
46843         message to standard error.
46845 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46847         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46848         rather than to 1.
46849         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46850         (MAXPATHLEN): Removed.
46851         (NOGROUP, NODEV): New macros.
46852         (setbit, clrbit, isset, isclr): New macros.
46853         (howmany, roundup, powerof2): New macros.
46854         (DEV_BSIZE): New macro.
46856         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46857         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46859         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46860         definition on [!__NO_LONG_DOUBLE_MATH].
46862         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46863         PTR_MANGLE and PTR_DEMANGLE.
46865         * socket/accept4.c (accept4): Rename to __libc_accept4.
46866         Define accept4 as a weak alias.
46868         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46869         on [_DIRENT_HAVE_D_TYPE].
46870         * io/ftw.c (ftw_dir): Likewise.
46872         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46874         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46876         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46877         Use the BSD numbers rather than the arbitrary ones we had.
46878         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46879         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46880         (SIGXCPU, SIGXFSZ): New macros.
46881         (_NSIG): Now 32.
46883         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46884         initializer on [_LIBC_REENTRANT].
46886         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46887         definitions inside [_POSIX_MAPPED_FILES].
46889         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46891         * dirent/opendir.c: Include <fcntl.h>.
46893         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46894         (__libc_getspecific): Likewise.
46895         (__libc_key_create): Likewise.
46897         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46898         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46899         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46900         (tmpfile64): Define as alias.
46901         * sysdeps/wordsize-64/tmpfile.c: File removed.
46902         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46903         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46904         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46906         * stdio-common/vfscanf.c: Include <stdbool.h>.
46907         * nss/makedb.c: Likewise.
46908         * stdio-common/_i18n_number.h: Likewise.
46909         * argp/argp-help.c: Likewise.
46910         * posix/wordexp.c: Likewise.
46911         * sysdeps/posix/spawni.c: Likewise.
46912         * nss/nss_files/files-initgroups.c: Likewise.
46913         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46914         * nss/nss_files/files-initgroups.c: Likewise.
46915         * nss/nss_db/db-netgrp.c: Likewise.
46916         * nss/nss_db/db-initgroups.c: Likewise.
46917         * io/fchmodat.c: Include <sys/stat.h>.
46919         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46920         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46922         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46923         [HAVE_MMAP].
46925         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46926         Add multiple inclusion protection.
46928 2012-07-27  David S. Miller  <davem@davemloft.net>
46930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46932 2012-07-27  Gary Benson  <gbenson@redhat.com>
46934         [BZ #14298]
46935         * elf/rtld.c: Include <stap-probe.h>.
46936         (dl_main): Added static probes "init_start" and "init_complete".
46937         * elf/dl-load.c: Include <stap-probe.h>.
46938         (lose): Take new parameter "nsid".
46939         Added static probe "map_failed".
46940         (_dl_map_object_from_fd): Pass namespace id to lose.
46941         Added static probe "map_start".
46942         (open_verify): Pass namespace id to lose.
46943         * elf/dl-open.c: Include <stap-probe.h>.
46944         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46945         and "reloc_complete".
46946         * elf/dl-close.c: Include <stap-probe.h>.
46947         (_dl_close_worker): Added static probes "unmap_start" and
46948         "unmap_complete".
46949         * elf/rtld-debugger-interface.txt: New file documenting the above.
46951 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46953         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46954         rather than a string variable.
46955         * sunrpc/rpc_main.c (h_output): Likewise.
46956         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46958 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46960         * inet/check_native.c: New file.
46962 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46964         [BZ #13629]
46965         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46966         if larger part has absolute value 1.0.
46967         * math/s_clog10.c (__clog10): Likewise.
46968         * math/s_clog10f.c (__clog10f): Likewise.
46969         * math/s_clog10l.c (__clog10l): Likewise.
46970         * math/s_clogf.c (__clogf): Likewise.
46971         * math/s_clogl.c (__clogl): Likewise.
46972         * math/libm-test.inc (clog_test): Add more tests.
46973         (clog10_test): Likewise.
46974         * sysdeps/i386/fpu/libm-test-ulps: Update.
46975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46977         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46978         (pltexit): Likewise.
46979         (La_regs): Likewise.
46980         (La_retval): Likewise.
46981         (int_retval): Likewise.
46982         Update #error for removed macros to refer only to definitions in
46983         tst-audit.h.
46984         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46985         macro.
46986         (pltexit): Likewise.
46987         (La_regs): Likewise.
46988         (La_retval): Likewise.
46989         (int_retval): Likewise.
46990         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46991         macro.
46992         (pltexit): Likewise.
46993         (La_regs): Likewise.
46994         (La_retval): Likewise.
46995         (int_retval): Likewise.
46996         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46997         macro.
46998         (pltexit): Likewise.
46999         (La_regs): Likewise.
47000         (La_retval): Likewise.
47001         (int_retval): Likewise.
47002         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
47003         macro.
47004         (pltexit): Likewise.
47005         (La_regs): Likewise.
47006         (La_retval): Likewise.
47007         (int_retval): Likewise.
47008         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
47009         macro.
47010         (pltexit): Likewise.
47011         (La_regs): Likewise.
47012         (La_retval): Likewise.
47013         (int_retval): Likewise.
47014         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
47015         macro.
47016         (pltexit): Likewise.
47017         (La_regs): Likewise.
47018         (La_retval): Likewise.
47019         (int_retval): Likewise.
47020         * sysdeps/generic/tst-audit.h: Update comment to refer only to
47021         macro definitions in tst-audit.h.
47022         * sysdeps/i386/tst-audit.h: New file.
47023         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
47024         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
47025         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
47026         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
47027         * sysdeps/sh/tst-audit.h: Likewise.
47028         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
47029         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
47030         * sysdeps/x86_64/tst-audit.h: Likewise.
47032 2012-07-26  Andreas Jaeger  <aj@suse.de>
47034         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
47035         ptrace.
47037         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
47038         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
47039         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
47040         PTRACE_O_MASK.
47041         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
47042         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
47043         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
47045         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
47046         value.
47048         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
47049         _sigsys.
47050         (si_call_addr, si_syscall, si_arch): Define new macro.
47051         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
47052         _sigsys.
47053         (si_call_addr, si_syscall, si_arch): Define new marcro.
47054         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
47055         _sigsys.
47056         (si_call_addr, si_syscall, si_arch): Define new macro.
47057         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
47058         _sigsys.
47059         (si_call_addr, si_syscall, si_arch): Define new macro.
47061 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
47063         [BZ #13717]
47064         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47065         Change to 2.4.21 where previously 2.4.1.
47066         * sysdeps/unix/sysv/linux/configure: Regenerated.
47067         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
47068         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
47069         Linux kernel version.
47070         (__ASSUME_STD_AUXV): Remove.
47071         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
47072         kernel version.
47073         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
47074         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
47075         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
47076         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
47077         (__ASSUME_NETLINK_SUPPORT): Likewise.
47078         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
47079         (__no_netlink_support): Remove conditional definition.
47080         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
47081         Remove.
47082         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47083         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
47084         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
47085         (if_nameindex_ioctl): Remove.
47086         (if_nameindex_netlink): Do not handle __no_netlink_support.
47087         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47088         code.
47089         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
47090         Remove conditional code.
47091         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47092         code.
47093         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
47094         unconditional.
47095         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47096         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
47097         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
47098         Remove.
47099         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
47100         [!__ASSUME_STD_AUXV]: Remove conditional code.
47101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
47102         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
47103         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
47104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
47105         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
47106         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47107         code.
47108         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47110         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
47111         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47112         conditional code.
47113         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47115         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47116         code.
47117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47118         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47119         conditional code.
47120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
47121         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47122         code unconditional.
47123         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47124         conditional code.
47125         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47126         unconditional.
47127         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47128         conditional code.
47129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47130         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47131         unconditional.
47132         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47133         conditional code.
47134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
47135         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47136         code unconditional.
47137         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47138         conditional code.
47139         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47140         unconditional.
47141         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47142         conditional code.
47143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
47144         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47145         code unconditional.
47146         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47147         conditional code.
47148         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47149         unconditional.
47150         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47151         conditional code.
47153 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
47155         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
47156         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
47157         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47158         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
47159         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
47160         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47161         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47162         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
47163         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
47164         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
47165         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
47166         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
47167         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
47168         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47169         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
47170         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
47171         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
47172         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
47173         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
47174         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
47175         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
47176         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
47177         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47179 2012-07-25  Florian Weimer  <fweimer@redhat.com>
47181         * Versions.def: Add GLIBC_2.17.
47182         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
47183         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
47184         Introduce __libc_secure_getenv.
47185         * stdlib/Versions (2.17): Add secure_getenv
47186         (GLIBC_PRIVATE): Add __libc_secure_getenv.
47187         * stdlib/secure-getenv.c: Rename __secure_getenv to
47188         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
47189         symbol __secure_getenv for GLIBC_2.0.
47190         * stdlib/tst-secure-getenv.c: New.
47191         * stdlib/Makefile (tests): Add testcase.
47192         * manual/startup.texi (Environment Access): Document
47193         secure_getenv.
47194         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
47195         __libc_secure_getenv.
47196         * inet/ruserpass.c (ruserpass): Likewise.
47197         * malloc/mtrace.c (mtrace): Likewise.
47198         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
47199         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
47200         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
47201         * sysdeps/posix/tempname.c: Likewise.  Evaluate
47202         HAVE_SECURE_GETENV.
47203         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
47204         __secure_getenv to __libc_secure_getenv.
47205         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
47206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47207         Likewise.
47208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47209         Likewise.
47210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47211         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47212         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47213         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47214         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47216         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47218 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
47220         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
47221         (struct La_i86_retval): Likewise.
47222         (struct La_x86_64_regs): Likewise.
47223         (struct La_x86_64_retval): Likewise.
47224         (struct La_x32_regs): Likewise.
47225         (struct La_x32_retval): Likewise.
47226         (struct La_ppc32_regs): Likewise.
47227         (struct La_ppc32_retval): Likewise.
47228         (struct La_ppc64_regs): Likewise.
47229         (struct La_ppc64_retval): Likewise.
47230         (struct La_sh_regs): Likewise.
47231         (struct La_sh_retval): Likewise.
47232         (struct La_s390_32_regs): Likewise.
47233         (struct La_s390_32_retval): Likewise.
47234         (struct La_s390_64_regs): Likewise.
47235         (struct La_s390_64_retval): Likewise.
47236         (struct La_sparc32_regs): Likewise.
47237         (struct La_sparc32_retval): Likewise.
47238         (struct La_sparc64_regs): Likewise.
47239         (struct La_sparc64_retval): Likewise.
47240         (struct audit_ifaces): Remove architecture-specific pltenter and
47241         pltexit members.
47242         * sysdeps/i386/ldsodefs.h: New file.
47243         * sysdeps/powerpc/ldsodefs.h: Likewise.
47244         * sysdeps/s390/ldsodefs.h: Likewise.
47245         * sysdeps/sh/ldsodefs.h: Likewise.
47246         * sysdeps/sparc/ldsodefs.h: Likewise.
47247         * sysdeps/x86_64/ldsodefs.h: Likewise.
47249 2012-07-25  Marek Polacek  <polacek@redhat.com>
47251         [BZ #6808]
47252         * math/libm-test.inc (yn_test): Add another test.
47253         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
47254         to ERANGE when the result is +-Inf.
47255         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47256         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
47257         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
47258         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
47260 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
47262         * conform/data/time.h-data (NULL): Use macro-constant.  Require
47263         equal to 0.
47264         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
47265         clock_t.
47266         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
47268 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
47270         * configure.in <sysdeps resolving>: Correct printing
47271         Implies_before.
47272         * configure: Regenerate.
47274 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
47276         * math/w_ilogb.c: Include <limits.h>.
47277         * math/w_ilogbl.c: Likewise.
47279 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47281         * manual/lang.texi (__va_copy): Document primarily as ISO C99
47282         va_copy.  Document allowing for unavailable va_copy only as
47283         pre-C99 compatibility.
47284         * manual/string.texi (Copying and Concatenation): Use va_copy
47285         instead of __va_copy in concat example.
47287 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
47289         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
47290         (__sendto): Use create_address_port.  Initialize APORT and deallocate
47291         it if not null.
47293         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
47294         with O_NOLINK passed to __file_name_lookup.
47296         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
47297         with O_NOLINK passed to __file_name_lookup.
47299         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
47300         negative N or less than NGIDS.
47302         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
47303         type to string_t.  Set ERANGE as errno and return it if NAME is not big
47304         enough.  Use memcpy instead of strncpy.
47306 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47308         * elf/Makefile (check-data): Remove.
47309         (localplt.data): New vpath directive.
47310         ($(objpfx)check-localplt.out): Use localplt.data from vpath
47311         instead of $(check-data).
47312         * scripts/data/localplt-generic.data: Move to ...
47313         * sysdeps/generic/localplt.data: ... here.
47314         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
47315         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
47316         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
47317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47318         ... here.
47319         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
47320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47321         ... here.
47322         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
47323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
47324         ... here.
47325         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
47326         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47327         ... here.
47328         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
47329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
47330         ... here.
47331         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
47332         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
47333         ... here.
47335 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47337         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
47338         PPC32 and PPC64 files.
47339         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
47340         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
47342 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47344         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
47345         __makecontext_ret to ...
47346         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
47347         ... here and call exit if uc_link is NULL.  New file.
47348         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
47349         __makecontext_ret.S.
47350         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
47351         __makecontext_ret to ...
47352         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
47353         ... here and call exit if uc_link is NULL.  New file.
47354         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
47355         __makecontext_ret.S.
47357 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47359         * elf/elf.h (R_390_IRELATIVE): New definition.
47360         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
47361         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
47362         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
47363         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47364         (elf_machine_lazy_rel): Likewise.
47365         * sysdeps/s390/dl-irel.h: New file.
47366         * sysdeps/s390/s390-64/memcpy.S: New asm code.
47367         * sysdeps/s390/s390-64/memset.S: New asm code.
47368         * sysdeps/s390/s390-64/memcmp.S: New asm code.
47369         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
47370         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
47371         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
47372         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
47373         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
47374         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
47375         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
47376         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
47377         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
47378         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
47379         * sysdeps/s390/s390-32/memcpy.S: New asm code.
47380         * sysdeps/s390/s390-32/memset.S: New asm code.
47381         * sysdeps/s390/s390-32/memcmp.S: New asm code.
47383 2012-07-17  Marek Polacek  <polacek@redhat.com>
47385         [BZ #14349]
47386         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
47387         * sysdeps/s390/s390-64/configure.in: Likewise.
47388         * sysdeps/sparc/configure.in: Likewise.
47389         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
47390         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
47391         * sysdeps/i386/configure.in: Likewise.
47392         * sysdeps/x86_64/configure.in: Likewise.
47393         * sysdeps/sh/configure.in: Likewise.
47394         * sysdeps/s390/s390-32/configure: Regenerated.
47395         * sysdeps/s390/s390-64/configure: Likewise.
47396         * sysdeps/x86_64/configure: Likewise.
47397         * sysdeps/sh/configure: Likewise.
47398         * sysdeps/powerpc/powerpc64/configure: Likewise.
47399         * sysdeps/powerpc/powerpc32/configure: Likewise.
47400         * sysdeps/sparc/configure: Likwise.
47401         * sysdeps/i386/configure: Likewise.
47403         * elf/dl-open.c: Comment fixes.
47405 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
47407         * Makefile [CXX] (check-data): Remove.
47408         [CXX] (c++-types.data): New vpath directive.
47409         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
47410         vpath.  Do not allow for C++ type data being missing.
47411         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
47412         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
47413         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
47414         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
47415         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
47416         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
47417         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
47418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47419         ... here.
47420         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
47421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47422         ... here.
47423         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
47424         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
47425         ... here.
47426         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
47427         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
47428         ... here.
47429         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
47430         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
47431         ... here.
47432         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
47433         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
47434         ... here.
47435         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
47436         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
47437         ... here.
47438         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
47439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
47441         * elf/tls-macros.h (TLS_LE): Move architecture-specific
47442         definitions to architecture-specific files.
47443         (TLS_IE): Likewise.
47444         (TLS_LD): Likewise.
47445         (TLS_GD): Likewise.
47446         * sysdeps/i386/tls-macros.h: New file.
47447         * sysdeps/powerpc/tls-macros.h: Likewise.
47448         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
47449         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
47450         * sysdeps/sh/tls-macros.h: Likewise.
47451         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
47452         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
47453         * sysdeps/x86_64/tls-macros.h: Likewise.
47455 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47457         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
47458         zero value for regular exit case.
47460         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
47461         (__start_context): Preserve zero value for regular exit case.
47463 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47464             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47466         * manual/setjmp.texi (setcontext): Clarify normal process
47467         termination when uc_link is the null pointer.
47468         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
47469         exit call.
47471 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
47473         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
47474         preprocessor.  Test for each exception mask separately.
47476 2012-07-16  Andreas Jaeger  <aj@suse.de>
47478         * po/ru.po: Update from translation team.
47480 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
47482         * conform/data/string.h-data (NULL): Use macro-constant.  Require
47483         equal to 0.
47484         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47485         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47486         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
47487         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
47488         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47490 2012-07-13  Andreas Jaeger  <aj@suse.de>
47492         * po/fr.po: Update from translation team.
47494 2012-07-12  Marek Polacek  <polacek@redhat.com>
47496         [BZ #14173]
47497         * math/libm-test.inc (yn_test): Add test for BZ #14173.
47498         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
47499         loop condition.
47501 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
47503         [BZ #13717]
47504         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47505         Change to 2.4.1 where previously 2.4.0.
47506         * sysdeps/unix/sysv/linux/configure: Regenerated.
47507         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
47508         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
47509         version.
47510         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
47511         (__ASSUME_AT_CLKTCK): Remove.
47512         (__ASSUME_AT_PAGESIZE): Likewise.
47513         (__ASSUME_AT_XID): Likewise.
47514         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
47515         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
47516         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
47517         unconditionally.
47518         (HAVE_AUX_PAGESIZE): Likewise.
47519         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
47520         [__ASSUME_AT_CLKTCK]: Make code unconditional.
47521         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
47523 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
47525         [BZ #14307]
47526         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
47527         the temporary buffer used to invoke __gethostbyname2_r,
47528         __gethostbyaddr_r and gethostbyname4_r to make room for struct
47529         host_data / struct gaih_addrtuple.
47530         * resolv/nss_dns/dns-host.c (global scope): Move definition of
47531         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
47532         header file nss/nsswitch.h.
47533         * nss/nsswitch.h (global scope): Add definition of implementation
47534         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
47535         resolv/nss_dns/dns-host.c).
47537 2012-07-11  Andreas Jaeger  <aj@suse.de>
47539         * po/fr.po: Update from translation team.
47541         * po/sv.po: Update from translation team
47542         * po/fr.po: Another update from translation team.
47544 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47546         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
47547         for subnormals or multiply small sinh result by itself.
47548         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47551 2012-07-11  David S. Miller  <davem@davemloft.net>
47553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47555 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
47557         [BZ #14347]
47558         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
47559         (INTERNAL_MARK): Shift it here.
47561 2012-07-10  Marek Polacek  <polacek@redhat.com>
47563         [BZ #14151]
47564         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
47565         libc_cv_asm_global_directive with .globl.
47566         * configure: Regenerated.
47567         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
47568         with .globl.
47569         * sysdeps/i386/configure: Regenerated.
47570         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
47571         with .globl.
47572         * sysdeps/x86_64/configure: Regenerated.
47573         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
47574         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
47575         * elf/tst-unique2mod2.c: Likewise.
47576         * elf/tst-unique2mod1.c: Likewise.
47577         * elf/tst-unique1mod2.c: Likewise.
47578         * elf/tst-unique1mod1.c: Likewise.
47579         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47580         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47581         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47582         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47583         * sysdeps/mach/sysdep.h: Likewise.
47584         * sysdeps/i386/sysdep.h: Likewise.
47585         * sysdeps/i386/i386-mcount.S: Likewise.
47586         * sysdeps/x86_64/_mcount.S: Likewise.
47587         * sysdeps/x86_64/sysdep.h: Likewise.
47588         * sysdeps/sh/_mcount.S: Likewise.
47589         * sysdeps/sh/sysdep.h: Likewise.
47590         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
47591         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
47592         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
47593         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47594         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
47595         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
47596         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
47597         * locale/localeinfo.h: Likewise.
47598         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
47599         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
47601 2012-07-09  Roland McGrath  <roland@hack.frob.com>
47603         [BZ #14336]
47604         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
47605         system".
47606         * manual/message.texi (The Uniforum approach): Likewise.
47607         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
47608         (glibc iconv Implementation): Likewise.
47610 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
47612         [BZ #14337]
47613         * math/s_clog.c (__clog): Avoid scaling a value down where that
47614         could result in underflow.
47615         * math/s_clog10.c (__clog10): Likewise.
47616         * math/s_clog10f.c (__clog10f): Likewise.
47617         * math/s_clog10l.c (__clog10l): Likewise.
47618         * math/s_clogf.c (__clogf): Likewise.
47619         * math/s_clogl.c (__clogl): Likewise.
47620         * math/libm-test.inc (clog_test): Add more tests.
47621         (clog10_test): Likewise.
47622         * sysdeps/i386/fpu/libm-test-ulps: Update.
47623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47625 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
47627         [BZ #14283]
47628         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
47629         by 7 not 8 to examine high bit of fractional part.
47631         [BZ #14042]
47632         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
47633         for call to __mcount_internal.
47634         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
47635         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
47636         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
47638 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
47640         [BZ #14154]
47641         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
47642         approximation for values within 0x1p-13f of an odd multiple of
47643         pi/4.
47644         * math/libm-test.inc (tan_test): Do not allow spurious underflow
47645         exception.  Add more tests.
47646         * sysdeps/i386/fpu/libm-test-ulps: Update.
47648         [BZ #6778]
47649         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
47650         inputs and return -1 for them.  Do not check for +Inf in case not
47651         reachable for +Inf.
47652         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47653         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
47654         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47655         and return -1 for them.  Do not check for +Inf in case not
47656         reachable for +Inf.
47657         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
47658         define.
47659         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47660         and return -1 for them.  Do not check for +Inf in case not
47661         reachable for +Inf.
47662         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
47663         spurious underflow.
47664         * sysdeps/i386/fpu/libm-test-ulps: Update.
47665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47667 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
47669         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47671 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
47673         [BZ #14157]
47674         [BZ #14331]
47675         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47676         could result in spurious underflow.  Scale down values above
47677         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47678         * math/s_csqrtf.c (__csqrtf): Likewise.
47679         * math/s_csqrtl.c (__csqrtl): Likewise.
47680         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
47681         spurious underflow.
47682         * sysdeps/i386/fpu/libm-test-ulps: Update.
47683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47685 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
47687         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47688         xopen-msg.sed.
47689         * catgets/xopen-msg.awk: New file.
47690         * catgets/xopen-msg.sed: Removed.
47692         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47693         po2text.sed.
47694         * intl/po2test.awk: New file.
47695         * intl/po2test.sed: Removed.
47697 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
47699         [BZ #14328]
47700         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47701         or multiply small sinh result by itself.
47702         * math/s_ctanf.c (__ctanf): Likewise.
47703         * math/s_ctanh.c (__ctanh): Likewise.
47704         * math/s_ctanhf.c (__ctanhf): Likewise.
47705         * math/s_ctanhl.c (__ctanhl): Likewise.
47706         * math/s_ctanl.c (__ctanl): Likewise.
47707         * math/libm-test.inc (ctan_test_tonearest): New function.
47708         (ctan_test_towardzero): Likewise.
47709         (ctan_test_downward): Likewise.
47710         (ctan_test_upward): Likewise.
47711         (ctanh_test_tonearest): Likewise.
47712         (ctanh_test_towardzero): Likewise.
47713         (ctanh_test_downward): Likewise.
47714         (ctanh_test_upward): Likewise.
47715         (main): Call these new functions.
47716         * sysdeps/i386/fpu/libm-test-ulps: Update.
47717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47719 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47721         * .gitignore: Delete /ports entry.
47723 2012-07-03  Andreas Jaeger  <aj@suse.de>
47725         * po/bg.po: Update from translation team.
47726         * po/cs.po: Likewise.
47727         * po/de.po: Likewise.
47728         * po/hr.po: Likewise.
47729         * po/nl.pl: Likewise.
47730         * po/pl.po: Likewise.
47731         * po/vi.po: Likewise.
47733 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47735         * Makeconfig [!+link] (+link-before-libc): New variable.
47736         [!+link] (+link-after-libc): Likewise.
47737         [!+link] (+link-tests): Likewise.
47738         [!+link] (+link): Define in terms of $(+link-before-libc) and
47739         $(+link-after-libc).
47740         [!+link-static] (+link-static-before-libc): New variable.
47741         [!+link-static] (+link-static-after-libc): Likewise.
47742         [!+link-static] (+link-static-tests): Likewise.
47743         [!+link-static] (+link-static): Define in terms of
47744         $(+link-static-before-libc) and $(+link-static-after-libc).
47745         [build-shared] (link-libc-before-gnulib): New variable.
47746         [build-shared] (link-libc-tests): Likewise.
47747         [build-shared] (link-libc): Define in terms of
47748         $(link-libc-before-gnulib).
47749         [!build-shared] (link-libc-tests): New variable.
47750         (link-libc-static-tests): New variable.
47751         [!gnulib] (gnulib-arch): New variable.
47752         [!gnulib] (gnulib-tests): Likewise.
47753         [!gnulib] (static-gnulib-arch): Likewise.
47754         [!gnulib] (static-gnulib-tests): Likewise.
47755         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47756         Define with "=" instead of ":=".
47757         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47758         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47759         * Rules (binaries-all-notests): New variable.
47760         (binaries-all-tests): Likewise.
47761         (binaries-static-notests): Likewise.
47762         (binaries-static-tests): Likewise.
47763         (binaries-all): Define using $(binaries-all-notests) and
47764         $(binaries-all-tests).
47765         (binaries-static): Define using $(binaries-static-notests) and
47766         $(binaries-static-tests).
47767         (binaries-shared-tests): New variable.
47768         (binaries-shared-notests): Likewise.
47769         (binaries-shared): Remove variable.
47770         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47771         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47772         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47773         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47774         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47775         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47776         * elf/Makefile (sln-modules): New variable.
47777         (extra-objs): Add $(sln-modules:=.o).
47778         (ldconfig-modules): Add static-stubs.
47779         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47780         * elf/static-stubs.c: New file.
47782         [BZ #14283]
47783         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47784         by 7 not 8 to examine high bit of fractional part.  Use volatile
47785         variables when splitting into final array of floats if
47786         __FLT_EVAL_METHOD__ != 0.
47787         * math/libm-test.inc (cos_test): Add another test.
47788         (sin_test): Likewise.
47789         * sysdeps/i386/fpu/libm-test-ulps: Update.
47791         [BZ #14273]
47792         * math/libm-test.inc (cosh_test): Add more tests.
47794         * version.h (RELEASE): Set to "development".
47795         (VERSION): Set to "2.16.90".
47797 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47799         * NEWS: Update copyright. Remove last-updated date.
47800         Mention math library bug fixes and timezone data changes.
47801         * README: Mention GNU/Hurd, x32, and HPPA support status.
47803 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47805         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47807 2012-06-27  Andreas Jaeger  <aj@suse.de>
47809         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47811 2012-06-25  Andreas Jaeger  <aj@suse.de>
47813         * sysdeps/s390/fpu/libm-test-ulps: Update.
47815 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47816             Thomas Schwinge  <thomas@codesourcery.com>
47818         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47819         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47820         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47821         fanotify_mark.
47823 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47825         * sysdeps/mach/start.c: Remove file.
47826         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47827         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47828         * sysdeps/sh/init-first.c: Likewise.
47830         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47831         registers for frame unwinding purposes, add CFI directives.
47832         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47833         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47834         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47835         Likewise.
47837         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47838         __fortify_fail returning.
47839         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47841         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47842         sysdeps/sh/____longjmp_chk.S.
47843         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47844         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47845         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47846         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47848         * sysdeps/sh/abort-instr.h: New file.
47849         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47850         process in case exit returns.
47852         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47853         initialize the GOT register before use.
47855         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47856         calculation of ARGC > 4.
47858         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47859         meaningful names to some local labels.
47861 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47862             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47864         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47865         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47866         (__arch_compare_and_exchange_val_16_acq): Likewise.
47867         (__arch_compare_and_exchange_val_32_acq): Likewise.
47868         (atomic_exchange_and_add): Fix gUSA sequence.
47869         (atomic_add): Likewise.
47870         (atomic_add_negative): Likewise.
47871         (atomic_add_zero): Likewise.
47872         (atomic_bit_test_set): Likewise.
47874 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47876         [BZ #13579]
47877         * include/link.h (struct link_map): Add l_free_initfini.
47878         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47879         l_initfini.
47880         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47881         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47882         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47883         set.
47885 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47887         * configure.in: Use AC_LANG_SOURCE.
47888         * configure: Regenerate.
47890 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47892         * configure.in (libc_cv_localstatedir): New substituted variable.
47893         * configure: Regenerated.
47894         * config.make.in (localstatedir): New variable, substituted from
47895         libc_cv_localstatedir.
47896         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47897         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47898         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47899         * sysdeps/gnu/configure: Regenerated.
47901 2012-06-21  Jeff Law  <law@redhat.com>
47903         [BZ #14277]
47904         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47905         free.  Simplify list management for _LIBC case.
47907 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47909         [BZ #14273]
47910         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47911         Clear sign bit of 64-bit integer value before comparing against
47912         overflow value.
47914         * sysdeps/mach/configure: Regenerated.
47916 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47918         [BZ #14278]
47919         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47921 2012-06-21  Jeff Law  <law@redhat.com>
47923         [BZ #13882]
47924         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47925         uint16_t for elements in the "seen" array to avoid char overflows.
47926         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47927         * elf/dl-open.c (dl_open_worker): Likewise.
47929 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47931         * scripts/list-sources.sh: Scan PORTS for translations.
47932         * po/libc.pot: Regenerated.
47934 2012-06-21  Andreas Jaeger  <aj@suse.de>
47936         [BZ #12194]
47937         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47938         warning.
47939         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47940         * bits/byteswap-16.h (__bswap_16): Likewise.
47941         * bits/byteswap.h (__bswap_constant_16): Likewise.
47943 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47945         [BZ #14117]
47946         * sysdeps/i386/fpu_control.h: Removed.
47947         * sysdeps/x86_64/fpu_control.h: Moved to ...
47948         * sysdeps/x86/fpu_control.h: Here.
47950         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47951         (_FPU_SETCW): Likewise.
47953 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47955         [BZ #14117]
47956         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47957         * sysdeps/x86/fpu/bits/mathinline.h: This.
47958         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47960         [BZ #14050]
47961         [BZ #14117]
47962         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47963         functions if __x86_64__ is defined.
47965 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47967         * string/endian.h: Add !__ASSEMBLER__ condition for including
47968         conversion interfaces.
47970 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47972         [BZ #14241]
47973         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47974         of ABS(x) in calculating zero to negative powers other than odd
47975         integers.
47976         * math/libm-test.inc (pow_test): Add more tests.
47978 2012-06-15  Andreas Jaeger  <aj@suse.de>
47980         * manual/contrib.texi (Contributors): Update entry of Liubov
47981         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47982         Machado Filho.
47984 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47986         * string/string.h: Add __wur to GNU version of strerror_r.
47988 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47990         [BZ #14229]
47991         * string/Makefile (tests): Add tst-strtok_r.
47992         * string/tst-strtok_r.c: New file.
47993         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47994         RAX_LP/RDX_LP on SAVE_PTR.
47996 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47998         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
48000 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
48002         * libm_test.inc (csqrt_test): Allow more spurious underflow
48003         exceptions.
48004         (j0_test): Likewise.
48005         (j1_test): Likewise.
48006         (y0_test): Likewise.
48007         (y1_test): Likewise.
48009 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
48011         * po/Makefile (libc.pot): Use UTF-8 charset.
48013 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
48015         [BZ #14210]
48016         Suppress sign-conversion warning from FD_SET.
48017         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
48018         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
48019         not unsigned long int.
48020         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
48022 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
48024         [BZ #14050]
48025         [BZ #14117]
48026         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
48027         __extern_always_inline instead of __extern_inline.
48028         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
48029         (__signbit): Likewise.
48030         (__signbitl): Support C++ namespace.
48031         (lrintf): New inline function.
48032         (lrint): Likewise.
48033         (llrintf): Likewise.
48034         (llrint): Likewise.
48035         (fmaxf): Likewise.
48036         (fmax): Likewise.
48037         (fminf): Likewise.
48038         (fmin): Likewise.
48039         (rint): Likewise.
48040         (rintf): Likewise.
48041         (ceil): Likewise.
48042         (ceilf): Likewise.
48043         (floor): Likewise.
48044         (floorf): Likewise.
48045         (nearbyint): Likewise.
48046         (nearbyintf): Likewise.
48048 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
48050         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
48051         non-default versions.
48053 2012-06-11  Roland McGrath  <roland@hack.frob.com>
48055         [BZ #14218]
48056         * manual/argp.texi (Argp): Reword argp_parse description slightly.
48058 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
48060         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
48061         (FE_UPWARD, FE_DOWNWARD): Don't define.
48062         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
48063         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48065         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
48066         reading it.
48067         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48068         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48070 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48072         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48073         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
48074         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
48075         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
48077 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
48079         [BZ #14117]
48080         * sysdeps/i386/fpu/bits/fenv.h: Removed.
48081         * sysdeps/i386/fpu/Implies: New file.
48082         * sysdeps/x86_64/fpu/Implies: Likewise.
48083         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
48084         * sysdeps/x86/fpu/bits/fenv.h: This.
48086         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
48087         __SSE_MATH__.
48089 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48091         [BZ #14134]
48092         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
48093         character 0xffff that matches the last element of the
48094         conversion table.
48096 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48098         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
48099         fmodl commit.
48101 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48103         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
48104         values higher than 25.6283.
48106 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48108         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
48109         subnormal exponent extraction and add some __builtin_expect.
48110         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
48111         Fix for subnormal mantissa calculation.
48113 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
48115         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
48116         cpu2 is -1 and errno is not ENOSYS.
48118 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
48120         [BZ #14117]
48121         * sysdeps/i386/i486/bits/string.h: Renamed to ...
48122         * sysdeps/x86/bits/string.h: This.
48123         * sysdeps/x86_64/bits/string.h: Removed.
48125         * sysdeps/i386/i486/bits/string.h: Define inline functions only
48126         if not compiling for x86-64, but compiling for >= i486.
48128         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
48129         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
48131         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
48132         New macro from Linux kernel 3.4.0.
48133         (FP_XSTATE_MAGIC2): Likewise.
48134         (FP_XSTATE_MAGIC2_SIZE): Likewise.
48135         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
48136         (struct _fpx_sw_bytes): New struct.
48137         (struct _xsave_hdr): Likewise.
48138         (struct _ymmh_state): Likewise.
48139         (struct _xstate): Likewise.
48141         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
48142         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
48143         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
48144         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
48145         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
48146         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
48148         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
48149         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
48150         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
48151         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
48152         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
48153         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
48155 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48157         [BZ #13743]
48158         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
48159         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
48160         (sysdep_headers): Include sys/platform/ppc.h.
48161         * sysdeps/powerpc/test-gettimebase.c: Test for
48162         __ppc_get_timebase() to catch future ISA opcode/insn changes.
48163         * manual/Makefile (appendices): Include platform.texi.
48164         * manual/contrib.texi (Contributors): Update @node pointers.
48165         * manual/maint.texi (Maintenance): Likewise.
48166         (Platform): New node.
48167         * manual/platform.texi: New file.  Document the new features.
48169 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48170             Jakub Jelinek  <jakub@redhat.com>
48172         [BZ #14188]
48173         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
48174         where __builtin_expect is unavailable.
48176 2012-06-03  David S. Miller  <davem@davemloft.net>
48178         * stdlib/longlong.h: Updated from GCC.
48180 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
48182         [BZ #14042]
48183         * sysdeps/powerpc/powerpc32/mcount.c: New file.
48184         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
48185         __mcount_internal.
48186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
48187         (GLIBC_2.16): Likewise.
48189 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48191         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
48193 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
48196         (default-abi): New variable.
48197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
48198         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
48199         variable.
48200         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
48201         Likewise.
48202         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
48203         Likewise.
48204         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
48205         Likewise.
48207         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
48208         definition.  Document in comment.
48210 2012-06-01  David S. Miller  <davem@davemloft.net>
48212         * stdlib/longlong.h: Updated from GCC.
48214 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48216         [BZ #14117]
48217         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
48218         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
48219         sys/debugreg.h sys/io.h here.
48220         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
48221         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
48222         sys/io.h.
48223         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
48224         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
48225         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
48226         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
48227         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
48228         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
48230         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
48231         Define only if __x86_64__ is defined.
48233 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48235         [BZ #14048]
48236         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
48237         Use int64_t for variable i.
48238         * math/libm-test.inc (fmod_test): Add more tests.
48240         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
48241         z computation is not scheduled after fetestexcept.
48242         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
48243         Use math_force_eval instead of asm to ensure calculation scheduled
48244         before exception test.
48245         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
48246         Ensure a1 + u.d computation is not scheduled after fetestexcept.
48248 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
48250         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
48251         computation is not scheduled after fetestexcept.
48253 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48255         [BZ #14117]
48256         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
48257         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
48259 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48261         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
48262         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48264 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48266         [BZ #14117]
48267         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
48268         <bits/wordsize.h>.
48269         (__WCHAR_MIN): Support __WORDSIZE == 64.
48270         (__WCHAR_MAX): Likewise.
48272         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
48273         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
48275         [BZ #14183]
48276         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
48277         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
48279         [BZ #14117]
48280         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
48281         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
48283         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
48284         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
48286         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
48287         Defined to 1 if __x86_64__ isn't defined.
48288         (_STAT_VER_LINUX_OLD): New.
48289         (st_atime): Remove duplicate.
48290         (st_mtime): Likewise.
48291         (st_ctime): Likewise.
48293 2012-05-31  David S. Miller  <davem@davemloft.net>
48295         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
48296         entries.
48298 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
48300         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
48301         gen-libm-test.pl.
48303         [BZ #14132]
48304         * elf/dl-reloc.c: Include <_itoa.h>.
48305         (_dl_reloc_bad_type): Remove use of INTUSE.
48306         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
48307         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
48308         * stdio-common/psiginfo.c (psiginfo): Likewise.
48309         * stdio-common/psignal.c (psignal): Likewise.
48310         * string/strsignal.c (strsignal): Likewise.
48311         * include/signal.h (_sys_siglist): Declare hidden proto.
48312         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
48313         INTVARDEF with libc_hidden_data_def.
48314         * stdio-common/itoa-udigits.c: Likewise.
48315         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
48316         (_itoa_lower_digits_internal): Remove declaration.
48317         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
48318         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
48319         (_sys_sigabbrev_internal): Remove aliases.
48320         (_sys_siglist): Define hidden alias.
48322 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
48324         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48325         bits/sysctl.h.
48327 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48329         [BZ #14117]
48330         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
48331         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
48333         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
48334         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
48335         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
48336         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
48337         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
48338         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
48340         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
48341         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
48342         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
48344         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
48345         with __addr.
48346         (insw): Likewise.
48347         (insl): Likewise.
48348         (outsb): Likewise.
48349         (outsw): Likewise.
48350         (outsl): Likewise.
48352         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
48353         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
48354         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
48356         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
48357         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
48358         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
48359         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
48360         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
48361         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
48363         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
48364         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
48366         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
48367         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
48369         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
48370         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
48371         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
48373         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
48374         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
48375         to ...
48376         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
48378         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
48379         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
48380         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
48382         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
48383         for x86-64.
48384         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
48386 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
48388         * math/math.h (M_El): Use two more decimal places.
48389         (M_LOG2El): Likewise.
48390         (M_LOG10El): Likewise.
48391         (M_LN2l): Likewise.
48392         (M_LN10l): Likewise.
48393         (M_PIl): Likewise.
48394         (M_PI_2l): Likewise.
48395         (M_PI_4l): Likewise.
48396         (M_1_PIl): Likewise.
48397         (M_2_PIl): Likewise.
48398         (M_2_SQRTPIl): Likewise.
48399         (M_SQRT2l): Likewise.
48400         (M_SQRT1_2l): Likewise.
48402 2012-05-31  David S. Miller  <davem@davemloft.net>
48404         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
48405         values between float registers.
48406         * sysdeps/sparc/sparc64/memset.S: Likewise.
48407         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48409 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
48411         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
48412         -D_FORTIFY_SOURCE=1.
48413         (CPPFLAGS-tst-longjmp_chk.c): Define.
48414         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
48415         (CPPFLAGS-tst-longjmp_chk2.c): Define.
48416         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
48417         CFLAGS-tst-wchar-h.c.
48419 2012-05-31  Marek Polacek  <polacek@redhat.com>
48421         [BZ #14132]
48422         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
48423         __endmntent_internal): Remove declaration.
48424         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
48425         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
48426         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
48428 2012-05-30  David S. Miller  <davem@davemloft.net>
48430         * sysdeps/sparc/sparc32/soft-fp/q_util.c
48431         (___Q_simulate_exceptions): Use real FP ops rather than writing
48432         into the %fsr.
48433         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
48434         Likewise.
48436 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48438         [BZ #14117]
48439         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
48440         * sysdeps/x86/bits/xtitypes.h: This.
48442         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
48443         * sysdeps/x86/bits/wordsize.h: This.
48445         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
48446         * sysdeps/x86/bits/huge_vall.h: This.
48448         * sysdeps/i386/bits/select.h: Removed.
48449         * sysdeps/x86_64/bits/select.h: Renamed to ...
48450         * sysdeps/x86/bits/select.h: This.
48452         * sysdeps/i386/bits/setjmp.h: Removed.
48453         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
48454         * sysdeps/x86/bits/setjmp.h: This.
48456         * sysdeps/i386/bits/mathdef.h: Removed.
48457         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
48458         * sysdeps/x86/bits/mathdef.h: This.
48460 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
48462         [BZ #14132]
48463         * include/sys/socket.h (__connect_internal)
48464         (__libc_sa_len_internal): Remove declaration.
48465         (__connect, __libc_sa_len): Declare hidden_proto.
48466         (SA_LEN): Remove use of INTUSE.
48467         * socket/connect.c: Add libc_hidden_def.
48468         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
48469         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
48470         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
48471         alias.
48472         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48473         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
48474         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
48475         of adding _internal alias.
48477 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48479         [BZ #14117]
48480         * sysdeps/i386/bits/link.h: Removed.
48481         * sysdeps/i386/bits/linkmap.h: Likewise.
48482         * sysdeps/x86_64/bits/link.h: Renamed to ...
48483         * sysdeps/x86/bits/link.h: This.
48484         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
48485         * sysdeps/x86/bits/linkmap.h: This.
48487         * sysdeps/i386/bits/endian.h: Removed.
48488         * sysdeps/x86_64/bits/endian.h: Renamed to ...
48489         * sysdeps/x86/bits/endian.h: This.
48491         * sysdeps/i386/bits/byteswap.h: Removed.
48492         * sysdeps/i386/bits/byteswap-16.h: Likewise.
48493         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
48494         * sysdeps/x86/bits/byteswap.h: This.
48495         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
48496         * sysdeps/x86/bits/byteswap-16.h: This.
48497         * sysdeps/i386/Implies: Add x86.
48498         * sysdeps/x86_64/Implies: Likewise.
48500 2012-05-30  David S. Miller  <davem@davemloft.net>
48502         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
48503         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
48504         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48505         (FP_TRAPPING_EXCEPTIONS): Define.
48506         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48507         (FP_TRAPPING_EXCEPTIONS): Define.
48508         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
48509         subnormals only when inexact has been signalled or underflow
48510         exceptions are enabled.
48511         (_FP_PACK_CANONICAL): Likewise.
48513 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48515         [BZ #14183]
48516         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
48517         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
48519 2012-05-30  Richard Henderson  <rth@twiddle.net>
48521         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
48522         with #ifndef NOT_IN_libc.
48524         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
48525         marked to avoid plt entry.
48527 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48529         [BZ #14112]
48530         * Makeconfig (default-abi): New macro.
48531         (abi-includes): Likewise.
48532         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
48533         $(abi-$(default-abi)-lib-soname) for soname if defined.
48534         ($(common-objpfx)gnu/lib-names.stmp): Generate from
48535         abi-variants.
48536         * Makefile (installed-stubs): Likewise.
48537         * include/stubs-biarch.h: Removed.
48538         * scripts/lib-names.awk: Only handle one library at a time.
48539         * scripts/soversions.awk: Remove WORDSIZE support.
48540         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
48541         entries.
48542         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
48543         Removed.
48544         (syscall-list-default-condition): Likewise.
48545         (syscall-list-default-condition): Likewise.
48546         (syscall-list-includes): Likewise.
48547         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
48548         syscall-list-* with abi-*.  Handle undefined abi-variants.
48549         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
48550         * sysdeps/unix/sysv/linux/i386/Implies: New file.
48551         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
48552         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
48553         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
48554         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
48555         Removed.
48556         (syscall-list-32-options): Likewise.
48557         (syscall-list-32-condition): Likewise.
48558         (syscall-list-64-options): Likewise.
48559         (syscall-list-64-condition): Likewise.
48560         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
48561         macro.
48562         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
48563         Renamed to ...
48564         (abi-*): This.
48565         (abi-64-ld-soname): New macro.
48566         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
48567         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
48568         Renamed to ...
48569         (abi-*): This.
48570         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
48571         * sysdeps/x86_64/x32/shlib-versions: Likewise.
48573 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
48575         * sysdeps/unix/sysv/linux/kernel-features.h
48576         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
48577         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
48578         include <kernel-features.h>.
48579         [!__NR_ftruncate64]: Remove conditional code.
48580         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48581         [__NR_ftruncate64]: Make code unconditional.
48582         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48583         * sysdeps/unix/sysv/linux/truncate64.c: Do not
48584         include <kernel-features.h>.
48585         [!__NR_ftruncate64]: Remove conditional code.
48586         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48587         [__NR_ftruncate64]: Make code unconditional.
48588         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
48590         include <kernel-features.h>.
48591         [!__NR_ftruncate64]: Remove conditional code.
48592         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48593         [__NR_ftruncate64]: Make code unconditional.
48594         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48596         include <kernel-features.h>.
48597         [!__NR_ftruncate64]: Remove conditional code.
48598         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48599         [__NR_ftruncate64]: Make code unconditional.
48600         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48602         * configure.in (libc_cv_fpie): Weaken to a compile test using
48603         LIBC_TRY_CC_OPTION.
48604         * configure: Regenerated.
48606 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
48609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
48610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
48611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48612         Refreshed.
48613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
48614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
48615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
48616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
48617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
48618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48619         Refreshed.
48621 2012-05-27  David S. Miller  <davem@davemloft.net>
48623         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
48624         (___Q_zero): New.
48625         (__Q_simulate_exceptions): Return void.  Change to simulate
48626         exceptions by writing into the %fsr.
48627         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
48628         (__Qp_handle_exceptions): Likewise.
48629         (numbers): Delete.
48630         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
48631         __Qp_handle_exceptions.
48632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
48633         __Qp_handle_exceptions.
48634         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48635         as unused and give dummy FP_RND_NEAREST initializer.
48636         (FP_INHIBIT_RESULTS): Define.
48637         (___Q_simulate_exceptions): Update declaration.
48638         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
48639         formatting.
48640         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48641         as unused and give dummy FP_RND_NEAREST initializer.
48642         (__Qp_handle_exceptions): Update declaration.
48643         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
48644         formatting.
48646 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
48648         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
48649         the temporary FPU control word.
48650         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48651         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
48652         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
48653         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48654         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48655         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
48656         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
48657         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48658         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
48659         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
48660         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48662 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48664         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
48665         fields.
48667 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
48669         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
48670         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48671         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48672         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48673         Likewise.
48674         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48675         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48676         Likewise.
48678 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
48680         * po/h.po: Update from translation team.
48682 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
48684         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48686         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48687         handling of denormals.
48688         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48689         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48690         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48691         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48692         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48693         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48694         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48695         Likewise.
48697 2012-05-26  Marek Polacek  <polacek@redhat.com>
48699         [BZ #14152]
48700         * math/libm-test.inc (fma_test): Don't always expect underflow
48701         exception.
48703 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48705         [BZ #12416]
48706         * elf/tst-execstack.c: Include stackinfo.h.
48707         (do_test): Adjust test case to ensure that pthread_getattr_np
48708         behaviour remains the same after marking stack executable.
48710 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48712         * sysdeps/unix/sysv/linux/kernel-features.h
48713         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48714         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48715         kernel-features.h.
48716         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48717         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48718         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48719         kernel-features.h.
48720         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48721         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48723 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48725         * configure.in: Define the default includes to being none.
48726         * configure: Regenerated.
48728 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48730         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48731         * sysdeps/x86_64/setjmp.S: Likewise.
48732         * sysdeps/i386/bsd-setjmp.S: Likewise.
48733         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48734         * sysdeps/i386/setjmp.S: Likewise.
48735         * sysdeps/i386/__longjmp.S: Likewise.
48736         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48737         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48739         * include/stap-probe.h: New file.
48740         * configure.in: Handle --enable-systemtap.
48741         * configure: Regenerated.
48742         * config.h.in (USE_STAP_PROBE): New #undef.
48743         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48744         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48745         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48747 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48749         [BZ #13717]
48750         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48751         to 2.4.0 where earlier.
48752         * sysdeps/unix/sysv/linux/configure: Regenerated.
48753         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48754         <kernel-features.h>.
48755         [__ASSUME_32BITUIDS]: Make code unconditional.
48756         [!__ASSUME_32BITUIDS]: Remove conditional code.
48757         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
48758         <kernel-features.h>.
48759         [__ASSUME_32BITUIDS]: Make code unconditional.
48760         [!__ASSUME_32BITUIDS]: Remove conditional code.
48761         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48762         [__ASSUME_32BITUIDS]: Make code unconditional.
48763         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48764         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/i386/getresuid.c: Do not include
48785         <kernel-features.h>.
48786         [__ASSUME_32BITUIDS]: Make code unconditional.
48787         [!__ASSUME_32BITUIDS]: Remove conditional code.
48788         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48789         <kernel-features.h>.
48790         [__ASSUME_32BITUIDS]: Make code unconditional.
48791         [!__ASSUME_32BITUIDS]: Remove conditional code.
48792         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48793         <kernel-features.h>.
48794         [__ASSUME_32BITUIDS]: Make code unconditional.
48795         [!__ASSUME_32BITUIDS]: Remove conditional code.
48796         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48797         <kernel-features.h>.
48798         [__ASSUME_32BITUIDS]: Make code unconditional.
48799         [!__ASSUME_32BITUIDS]: Remove conditional code.
48800         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
48801         <kernel-features.h>.
48802         [__ASSUME_32BITUIDS]: Make code unconditional.
48803         [!__ASSUME_32BITUIDS]: Remove conditional code.
48804         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
48805         <kernel-features.h>.
48806         [__NR_setresgid] (__setresgid): Do not declare.
48807         [__ASSUME_32BITUIDS]: Make code unconditional.
48808         [!__ASSUME_32BITUIDS]: Remove conditional code.
48809         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48810         <kernel-features.h>.
48811         [__NR_setresuid] (__setresuid): Do not declare.
48812         [__ASSUME_32BITUIDS]: Make code unconditional.
48813         [!__ASSUME_32BITUIDS]: Remove conditional code.
48814         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48815         <kernel-features.h>.
48816         [__ASSUME_32BITUIDS]: Make code unconditional.
48817         [!__ASSUME_32BITUIDS]: Remove conditional code.
48818         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
48819         <kernel-features.h>.
48820         [__ASSUME_32BITUIDS]: Make code unconditional.
48821         [!__ASSUME_32BITUIDS]: Remove conditional code.
48822         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
48823         <kernel-features.h>.
48824         [__ASSUME_32BITUIDS]: Make code unconditional.
48825         [!__ASSUME_32BITUIDS]: Remove conditional code.
48826         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
48827         <kernel-features.h>.
48828         [__ASSUME_32BITUIDS]: Make code unconditional.
48829         [!__ASSUME_32BITUIDS]: Remove conditional code.
48830         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
48831         <kernel-features.h>.
48832         [__ASSUME_32BITUIDS]: Make code unconditional.
48833         [!__ASSUME_32BITUIDS]: Remove conditional code.
48834         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
48835         <kernel-features.h>.
48836         [__ASSUME_32BITUIDS]: Make code unconditional.
48837         [!__ASSUME_32BITUIDS]: Remove conditional code.
48838         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48839         <kernel-features.h>.
48840         [__ASSUME_32BITUIDS]: Make code unconditional.
48841         [!__ASSUME_32BITUIDS]: Remove conditional code.
48842         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
48843         <kernel-features.h>.
48844         [__ASSUME_32BITUIDS]: Make code unconditional.
48845         [!__ASSUME_32BITUIDS]: Remove conditional code.
48846         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
48847         <kernel-features.h>.
48848         [__ASSUME_32BITUIDS]: Make code unconditional.
48849         [!__ASSUME_32BITUIDS]: Remove conditional code.
48850         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48851         <kernel-features.h>.
48852         [__ASSUME_32BITUIDS]: Make code unconditional.
48853         [!__ASSUME_32BITUIDS]: Remove conditional code.
48854         * sysdeps/unix/sysv/linux/kernel-features.h
48855         (__ASSUME_SETRESUID_SYSCALL): Remove.
48856         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48857         (__ASSUME_32BITUIDS): Likewise.
48858         (__ASSUME_LDT_WORKS): Likewise.
48859         (__ASSUME_O_DIRECTORY): Likewise.
48860         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48861         architecture but not kernel version.
48862         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48863         (__ASSUME_MMAP2_SYSCALL): Likewise.
48864         (__ASSUME_STAT64_SYSCALL): Likewise.
48865         (__ASSUME_IPC64): Likewise.
48866         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48867         <kernel-features.h>.
48868         [__ASSUME_32BITUIDS]: Make code unconditional.
48869         [!__ASSUME_32BITUIDS]: Remove conditional code.
48870         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48871         <kernel-features.h>.
48872         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48873         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48874         132096]: Remove conditional code.
48875         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48876         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48877         <kernel-features.h>.
48878         [__ASSUME_32BITUIDS]: Make code unconditional.
48879         [!__ASSUME_32BITUIDS]: Remove conditional code.
48880         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48881         <kernel-features.h>.
48882         [__ASSUME_32BITUIDS]: Make code unconditional.
48883         [!__ASSUME_32BITUIDS]: Remove conditional code.
48884         * sysdeps/unix/sysv/linux/setegid.c: Do not include
48885         <kernel-features.h>.
48886         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48887         unconditional.
48888         (__setresgid): Do not declare.
48889         [__ASSUME_32BITUIDS]: Make code unconditional.
48890         [!__ASSUME_32BITUIDS]: Remove conditional code.
48891         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48892         <kernel-features.h>.
48893         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48894         unconditional.
48895         (__setresuid): Do not declare.
48896         [__ASSUME_32BITUIDS]: Make code unconditional.
48897         [!__ASSUME_32BITUIDS]: Remove conditional code.
48898         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48899         <kernel-features.h>.
48900         [__ASSUME_32BITUIDS]: Make code unconditional.
48901         [!__ASSUME_32BITUIDS]: Remove conditional code.
48902         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48903         <kernel-features.h>.
48904         [__ASSUME_32BITUIDS]: Make code unconditional.
48905         [!__ASSUME_32BITUIDS]: Remove conditional code.
48907 2012-05-25  Richard Henderson  <rth@twiddle.net>
48909         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48910         dl_hwcap to ifunc resolver.
48911         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48912         elf_ifunc_invoke.
48913         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48914         dl_hwcap to ifunc resolver.
48915         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48917 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48919         [BZ #14153]
48920         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48921         for |x| <= 2**-26, not 2**-57.
48922         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48923         exception.
48925 2012-05-24  Jeff Law  <law@redhat.com>
48927         * stdio-common/Makefile (tests): Add bug25.
48928         * stdio-common/bug25.c: New test.
48930 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48932         [BZ #13576]
48933         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48934         multiple of MALLOC_ALIGNMENT in size.
48935         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48937 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48939         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48940         Require >= 256.
48941         (FILENAME_MAX): Use macro-int-constant.
48942         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48943         (_IOFBF): Use macro-int-constant.
48944         (_IOLBF): Likewise.
48945         (_IONBF): Likewise.
48946         (SEEK_CUR): Likewise.
48947         (SEEK_END): Likewise.
48948         (SEEK_SET): Likewise.
48949         (TMP_MAX): Likewise.
48950         (EOF): Use macro-int-constant.  Require < 0.
48951         (NULL): Use macro-constant.  Require == 0.
48952         (stdin): Require type to be FILE *.
48953         (stdout): Likewise.
48954         (stderr): Likewise.
48955         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48956         macro-int-constant.
48957         (EXIT_SUCCESS): Likewise.
48958         (NULL): Use macro-constant.  Require == 0.
48959         (RAND_MAX): Use macro-int-constant.
48960         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48961         [C99-based standards] (strtof): Require function.
48962         [C99-based standards] (strtold): Likewise.
48963         [C99-based standards] (strtoll): Likewise.
48964         [C99-based standards] (strtoull): Likewise.
48965         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48966         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48967         [ISO || ISO99 || ISO11] (math.h): Likewise.
48968         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48969         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48970         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48972 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48974         [BZ #14132]
48975         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48976         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48977         * intl/dgettext.c (DCGETTEXT): Likewise.
48978         * intl/gettext.c (DCGETTEXT): Likewise.
48979         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48980         * posix/regex_internal.h (gettext): Likewise.
48981         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48982         Remove declaration.
48983         * include/argz.h (__argz_count_internal)
48984         (__argz_stringify_internal): Remove declaration.
48985         (__argz_count, __argz_stringify): Declare hidden proto.
48986         * intl/dcgettext.c: Remove use of INTDEF.
48987         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48988         * string/argz-stringify.c: Likewise.
48989         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48990         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48991         Declare hidden proto.
48992         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48993         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48994         Declare hidden proto.
48995         * include/stdio.h (__asprintf_internal): Don't declare.
48996         (__asprintf): Don't define as macro.  Declare hidden proto.
48997         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48998         (__fsetlocking): Declare hidden proto.
48999         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
49000         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
49001         hidden proto.
49002         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
49003         (_IO_setlinebuf): Remove use of INTUSE.
49004         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
49005         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
49006         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
49007         Remove declaration.
49008         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
49009         (_IO_do_flush): Remove use of INTUSE.
49010         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
49011         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
49012         (_IO_adjust_column, _IO_least_wmarker)
49013         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
49014         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
49015         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
49016         (_IO_default_doallocate, _IO_wdefault_doallocate)
49017         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
49018         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
49019         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
49020         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
49021         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
49022         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
49023         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
49024         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
49025         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
49026         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
49027         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
49028         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
49029         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
49030         proto.
49031         (_IO_flush_all_internal, _IO_adjust_column_internal)
49032         (_IO_default_uflow_internal, _IO_default_finish_internal)
49033         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
49034         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
49035         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
49036         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
49037         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
49038         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
49039         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
49040         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
49041         (_IO_file_close_internal, _IO_file_close_it_internal)
49042         (_IO_file_underflow_internal, _IO_file_overflow_internal)
49043         (_IO_file_init_internal, _IO_file_attach_internal)
49044         (_IO_file_fopen_internal, _IO_file_read_internal)
49045         (_IO_file_sync_internal, _IO_file_seek_internal)
49046         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
49047         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
49048         (_IO_str_underflow_internal, _IO_str_overflow_internal)
49049         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
49050         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
49051         (_IO_list_all_internal, _IO_link_in_internal)
49052         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
49053         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
49054         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
49055         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
49056         (_IO_do_write_internal, _IO_padn_internal)
49057         (_IO_getline_info_internal, _IO_getline_internal)
49058         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
49059         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
49060         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
49061         (_IO_vfscanf_internal, _IO_vfprintf_internal)
49062         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
49063         (_IO_init_internal, _IO_un_link_internal): Don't declare.
49064         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
49065         with libc_hidden_ver, remove use of INTUSE.
49066         * libio/genops.c: Likewise.
49067         * libio/freopen.c: Likewise.
49068         * libio/freopen64.c: Likewise.
49069         * libio/iofclose.c: Likewise.
49070         * libio/iofdopen.c: Likewise.
49071         * libio/iofflush.c: Likewise.
49072         * libio/iofflush_u.c: Likewise.
49073         * libio/iofgets.c: Likewise.
49074         * libio/iofgets_u.c: Likewise.
49075         * libio/iofopen.c: Likewise.
49076         * libio/iofopncook.c: Likewise.
49077         * libio/iofread.c: Likewise.
49078         * libio/iofread_u.c: Likewise.
49079         * libio/ioftell.c: Likewise.
49080         * libio/iofwrite.c: Likewise.
49081         * libio/iogetline.c: Likewise.
49082         * libio/iogets.c: Likewise.
49083         * libio/iogetwline.c: Likewise.
49084         * libio/iopadn.c: Likewise.
49085         * libio/iopopen.c: Likewise.
49086         * libio/ioseekoff.c: Likewise.
49087         * libio/ioseekpos.c: Likewise.
49088         * libio/iosetbuffer.c: Likewise.
49089         * libio/iosetvbuf.c: Likewise.
49090         * libio/ioungetc.c: Likewise.
49091         * libio/ioungetwc.c: Likewise.
49092         * libio/iovdprintf.c: Likewise.
49093         * libio/iovsprintf.c: Likewise.
49094         * libio/iovsscanf.c: Likewise.
49095         * libio/memstream.c: Likewise.
49096         * libio/obprintf.c: Likewise.
49097         * libio/oldfileops.c: Likewise.
49098         * libio/oldiofclose.c: Likewise.
49099         * libio/oldiofdopen.c: Likewise.
49100         * libio/oldiofopen.c: Likewise.
49101         * libio/oldiopopen.c: Likewise.
49102         * libio/oldstdfiles.c: Likewise.
49103         * libio/putc.c: Likewise.
49104         * libio/setbuf.c: Likewise.
49105         * libio/setlinebuf.c: Likewise.
49106         * libio/stdfiles.c: Likewise.
49107         * libio/strops.c: Likewise.
49108         * libio/vasprintf.c: Likewise.
49109         * libio/vscanf.c: Likewise.
49110         * libio/vsnprintf.c: Likewise.
49111         * libio/vswprintf.c: Likewise.
49112         * libio/wfiledoalloc.c: Likewise.
49113         * libio/wfileops.c: Likewise.
49114         * libio/wgenops.c: Likewise.
49115         * libio/wmemstream.c: Likewise.
49116         * libio/wstrops.c: Likewise.
49117         * libio/__fpurge.c: Likewise.
49118         * libio/__fsetlocking.c: Likewise.
49119         * assert/assert.c: Likewise.
49120         * debug/fgets_chk.c: Likewise.
49121         * debug/fgets_u_chk.c: Likewise.
49122         * debug/fread_chk.c: Likewise.
49123         * debug/fread_u_chk.c: Likewise.
49124         * debug/gets_chk.c: Likewise.
49125         * debug/obprintf_chk.c: Likewise.
49126         * debug/vasprintf_chk.c: Likewise.
49127         * debug/vdprintf_chk.c: Likewise.
49128         * debug/vsnprintf_chk.c: Likewise.
49129         * debug/vsprintf_chk.c: Likewise.
49130         * malloc/mtrace.c: Likewise.
49131         * misc/error.c: Likewise.
49132         * misc/syslog.c: Likewise.
49133         * stdio-common/asprintf.c: Likewise.
49134         * stdio-common/fxprintf.c: Likewise.
49135         * stdio-common/getw.c: Likewise.
49136         * stdio-common/isoc99_fscanf.c: Likewise.
49137         * stdio-common/isoc99_scanf.c: Likewise.
49138         * stdio-common/isoc99_vfscanf.c: Likewise.
49139         * stdio-common/isoc99_vscanf.c: Likewise.
49140         * stdio-common/isoc99_vsscanf.c: Likewise.
49141         * stdio-common/printf-prs.c: Likewise.
49142         * stdio-common/printf_fp.c: Likewise.
49143         * stdio-common/printf_fphex.c: Likewise.
49144         * stdio-common/printf_size.c: Likewise.
49145         * stdio-common/putw.c: Likewise.
49146         * stdio-common/scanf.c: Likewise.
49147         * stdio-common/sprintf.c: Likewise.
49148         * stdio-common/tmpfile.c: Likewise.
49149         * stdio-common/vfprintf.c: Likewise.
49150         * stdio-common/vfscanf.c: Likewise.
49151         * stdlib/strfmon_l.c: Likewise.
49152         * sunrpc/openchild.c: Likewise.
49153         * sunrpc/xdr_stdio.c: Likewise.
49154         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
49155         * sysdeps/mach/hurd/tmpfile.c: Likewise.
49157 2012-05-24  Roland McGrath  <roland@hack.frob.com>
49159         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49161         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
49162         in the third column, to generate for the shared library an IFUNC
49163         that uses _dl_vdso_vsym.
49164         * Makerules (COMPILE.c, compile-stdin.c): New variables.
49165         * Makeconfig (object-suffixes-noshared): New variable.
49167         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
49168         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
49169         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
49170         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
49172         [BZ #14132]
49173         * include/sys/time.h (__gettimeofday): Remove macro.
49174         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
49175         * time/gettimeofday.c (__gettimeofday): Remove #undef.
49176         Remove INTDEF.
49177         (__gettimeofday): Add libc_hidden_def.
49178         (gettimeofday): Add libc_hidden_weak.
49179         * sysdeps/mach/gettimeofday.c: Likewise.
49180         * sysdeps/posix/gettimeofday.c: Likewise.
49181         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
49182         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
49183         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
49184         (__gettimeofday_internal): Remove strong_alias.
49185         (__gettimeofday): Add libc_hidden_def.
49186         (gettimeofday): Add libc_hidden_weak.
49187         * sysdeps/unix/syscalls.list (gettimeofday):
49188         Remove __gettimeofday_internal alias.
49190 2012-05-24  Daniel Jacobowitz  <drow@false.org>
49191             H.J. Lu  <hongjiu.lu@intel.com>
49193         [BZ #12495]
49194         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
49195         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
49196         (largebin_index_32_big): New.
49197         (largebin_index): Use it for 16-byte alignment.
49198         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
49199         correction with front_misalign.
49201 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
49203         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
49204         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49205         Likewise.
49206         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
49207         Likewise.
49208         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49209         Likewise.
49210         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
49211         Likewise.
49212         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
49213         Likewise.
49214         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
49215         Likewise.
49216         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
49217         Likewise.
49218         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49219         Likewise.
49220         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
49221         Likewise.
49222         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
49223         Likewise.
49224         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49225         Likewise.
49226         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
49227         Likewise.
49229         * scripts/data/c++-types-x32-linux-gnu.data: New file.
49230         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
49232 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
49234         [BZ #10846]
49235         [BZ #14036]
49236         * math/libm-test.inc (exp_test): Add test from bug 14036.
49237         (pow_test): Add test from bug 10846.
49239         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
49240         and other flags.
49241         (special_function): Do not include flags in test name.
49242         (parse_args): Likewise.
49243         * sysdeps/i386/fpu/libm-test-ulps: Update.
49244         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49245         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49246         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49249         * math/gen-libm-test.pl (%beautify): Add entries for underflow
49250         exceptions.
49251         * math/libm-test.inc ("Philosophy"): Update comment about
49252         exception testing.
49253         (UNDERFLOW_EXCEPTION): New macro.
49254         (UNDERFLOW_EXCEPTION_OK): Likewise.
49255         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
49256         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
49257         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
49258         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
49259         (INVALID_EXCEPTION_OK): Update value.
49260         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49261         (OVERFLOW_EXCEPTION_OK): Likewise.
49262         (IGNORE_ZERO_INF_SIGN): Likewise.
49263         (test_exceptions): Handle underflow exceptions.
49264         (acos_test): Update for underflow exception expectations.
49265         (cexp_test): Likewise.
49266         (clog_test): Likewise.
49267         (clog10_test): Likewise.
49268         (csqrt_test): Likewise.
49269         (ctan_test): Likewise.
49270         (ctanh_test): Likewise.
49271         (exp_test): Likewise.
49272         (exp10_test): Likewise.
49273         (exp2_test): Likewise.
49274         (expm1_test): Likewise.
49275         (fma_test): Likewise.
49276         (j0_test): Likewise.
49277         (jn_test): Likewise.
49278         (nexttoward_test): Likewise.
49279         (pow_test): Likewise.
49280         (scalbn_test): Likewise.
49281         (scalbln_test): Likewise.
49282         (tan_test): Likewise.
49283         (y1_test): Likewise.
49284         * sysdeps/i386/fpu/libm-test-ulps: Update.
49285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49287 2012-05-23  David S. Miller  <davem@davemloft.net>
49289         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49290         (__libc_sigaction): Remove unused local variables.
49292 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49294         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
49296 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
49298         mktime: avoid signed integer overflow
49299         * time/mktime.c (__mktime_internal): Do not mishandle the case
49300         where diff == INT_MIN.
49302         mktime: simplify computation of average
49303         * time/mktime.c (ranged_convert): Use new time_t_avg function
49304         instead of rolling our own (probably-slower) code.
49306         mktime: do not assume signed right shift propagates sign bit
49307         * time/mktime.c (isdst_differ): New static function.
49308         (__mktime_internal): No need to normalize tm_isdst now.
49309         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
49310         tm_isdst values.
49312         mktime: merge another wrapv change from gnulib
49313         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
49314         from some compilers.
49316         mktime: remove incorrect attempt at unusual arithmetics
49317         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
49318         The code didn't really work on such machines anyway.
49319         (TYPE_MINIMUM): Assume two's complement.
49320         (twos_complement_arithmetic): Verify that long_int and time_t
49321         are two's complement (or unsigned, in the latter case).
49323         mktime: check signed shifts on long_int and time_t, too
49324         * time/mktime.c (SHR): Check that shifts work as desired
49325         on the types long_int and time_t too, as SHR is used on
49326         such types.
49328         mktime: do not assume 'long' is wide enough
49329         * time/mktime.c (verify): Move decl up.
49330         (long_int): New type.
49331         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
49332         to remove assumption in the code that 'long' is wide enough to
49333         store year values.  This assumption is not true on x32 and on
49334         some non-glibc platforms.
49336         mktime: merge wrapv change from gnulib
49337         * time/mktime.c (WRAPV): New macro.
49338         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
49339         (guess_time_tm, __mktime_internal): Do not assume that signed
49340         integer overflow wraps around; modern compilers generate code
49341         where this assumption is no longer valid.
49343 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49345         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49346         Replace "jmp L(pseudo_end)" with "ret".
49347         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
49348         Likewise.
49350 2012-05-23  Andreas Jaeger  <aj@suse.de>
49352         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
49353         * sysdeps/unix/sysv/linux/poll.c: Remove file.
49355 2012-05-23  Andreas Jaeger  <aj@suse.de>
49356             Maximilian Attems  <max@stro.at>
49358         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
49359         New macros.
49361 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49363         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
49364         code so that pseudo_end is just ret and the stack pointer is
49365         correct also for static library in error case.
49367 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
49369         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
49370         move to syscalls.list.
49371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
49372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
49373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
49374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
49376         * manual/install.texi (Running make install): Do not mention Linux
49377         kernel version for which pt_chown is not needed.
49378         (Linux): Do not mention problems with nscd with 2.0 kernels.
49379         * INSTALL: Regenerated.
49381 2012-05-23  Andreas Jaeger  <aj@suse.de>
49383         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
49384         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
49385         macro.
49386         * sysdeps/unix/sysv/linux/s390/bits/mman.h
49387         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49388         * sysdeps/unix/sysv/linux/sh/bits/mman.h
49389         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49390         * sysdeps/unix/sysv/linux/i386/bits/mman.h
49391         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49392         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
49393         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49394         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
49395         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49396         * sysdeps/unix/sysv/linux/bits/in.h
49397         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
49399 2012-05-22  Roland McGrath  <roland@hack.frob.com>
49401         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
49402         (PREPARE_VERSION): Just use assert instead, it will be elided
49403         under [NDEBUG] anyway.
49405 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49407         * sysdeps/unix/sysv/linux/Makefile: Include
49408         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
49409         (sysdep_routines): Remove sysctl.
49410         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
49411         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
49412         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
49413         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
49414         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
49416 2012-05-22  Andreas Jaeger  <aj@suse.de>
49418         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
49419         that pseudo_end is just ret and the stack pointer is correct also
49420         for static library in error case.
49422 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
49424         [BZ #14122]
49425         * nss/nsswitch.c (defconfig_entries): New variable.
49426         (__nss_database_lookup): Don't leak defconfig entries.
49427         (nss_parse_service_list): Don't leak on error paths.
49428         (free_database_entries): New function.
49429         (free_defconfig): New function.
49430         (free_mem): Move common code to free_database_entries.
49432 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49434         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
49435         Add arch_prctl.
49436         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
49438         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49439         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
49440         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
49441         New macro.
49442         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
49443         (INTERNAL_SYSCALL_TYPES): Likewise.
49444         (LOAD_ARGS_TYPES_[1-6]): Likewise.
49445         (LOAD_REGS_TYPES_[1-6]): Likewise.
49446         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
49447         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
49449 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49451         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
49452         copysignl for GLIBC_2_0.
49453         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
49454         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
49455         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
49456         logbl for GLIBC_2_0.
49457         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
49458         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
49460 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49462         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
49463         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49465         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49466         Use "neg %eax".
49468         * time/mktime.c: Update copyright years.
49470 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
49472         mktime: merge comment-quoting-style change from gnulib
49473         * time/mktime.c: Quote 'like this' in comments.
49474         The GNU coding standards suggest that we no longer quote `like this',
49475         as "`" and "'" are typically rendered asymmetrically nowadays.
49476         The typical gnulib style is to quote 'like this' when quoting
49477         code, and "like this" when quoting English.
49479         * time/mktime.c (compile-command): Add "-I.".
49481         mktime: merge mktime-internal.h change from gnulib
49482         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
49484         mktime: merge time_r change from gnulib
49485         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
49487         mktime: merge DEBUG change from gnulib
49488         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
49489         case system <time.h> has a #define.
49491         mktime: merge <sys/types.h> change from gnulib
49492         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
49493         since <time.t> is now guaranteed to define time_t.
49495         mktime: merge HAVE_CONFIG_H change from gnulib
49496         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
49498 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49500         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49501         Use "neg %eax".
49503         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
49504         __rlim_t cast.
49505         (struct rusage): Use anonymous union to pad each field to
49506         __syscall_slong_t.
49508 2012-05-21  David S. Miller  <davem@davemloft.net>
49510         * Makefules (o-iterator): Remove .s cases.
49511         (compile-command.s): Delete.
49512         (COMPILE.s): Delete.
49513         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
49515 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
49517         * configure.in (libc_cv_predef_stack_protector): Only consider
49518         "foobar" and "__stack_chk_fail" lines in libc_undefs.
49519         * configure: Regenerated.
49521 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49523         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49524         New macro.  Use R*LP on int and pointer.
49525         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
49526         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
49527         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
49528         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
49530         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
49531         [__WORDSIZE_TIME64_COMPAT32] instead of
49532         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
49533         (struct utmp): Likewise.
49534         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
49535         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
49536         Renamed to ...
49537         (__WORDSIZE_TIME64_COMPAT32): This.
49538         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
49539         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
49540         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
49541         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
49542         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
49543         (__WORDSIZE_TIME64_COMPAT32): New macro.
49545 2012-05-21  Andreas Jaeger  <aj@suse.de>
49547         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
49548         only if [SHARED]. Add prototype for __wcschr_ia32.
49550 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49552         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
49553         of %rbp unmolested in the jmp_buf while mangling the low bits.
49554         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
49555         unmolested high bits of %rbp while demangling the low bits.
49556         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49558 2012-05-21  Andreas Jaeger  <aj@suse.de>
49560         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
49561         * sunrpc/svc_simple.c: Use it for registerrpc.
49562         * sunrpc/xcrypt.c: Use it for passwd2des.
49564         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
49566 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49568         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
49569         Don't define if [__SYSCALL_WORDSIZE != 32].
49570         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
49571         New macro.
49573 2012-05-21  Bruno Haible  <bruno@clisp.org>
49574             Andreas Jaeger  <aj@suse.de>
49576         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
49577         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
49578         inptr and inend for must_buffer_ch.
49579         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
49580         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
49581         * stdio-common/Makefile (tests): Remove bug15.
49582         (bug15-ENV): Remove macro.
49583         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
49584         anymore.
49586 2012-05-19  Andreas Jaeger  <aj@suse.de>
49587             Roland McGrath  <roland@hack.frob.com>
49589         * manual/contrib.texi: Completely rewritten. It contains now an
49590         alphabetical list of contributors and their contributions.
49592 2012-05-21  Richard Henderson  <rth@twiddle.net>
49594         * misc/getauxval.c (__getauxval): Use unsigned long int.
49595         * misc/sys/auxv.h: Include <sys/cdefs.h>.
49596         (getauxval): Use unsigned long int.
49598 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49600         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49602 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49604         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
49605         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
49606         __alignof__ (long double).
49608 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49610         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49612 2012-05-20  Richard Henderson  <rth@twiddle.net>
49614         * misc/getauxval.c: New file.
49615         * misc/sys/auxv.h: New file.
49616         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
49617         (routines): Add getauxval.
49618         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
49619         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
49620         * elf/dl-sysdep.c (_dl_auxv): Remove.
49621         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
49622         * elf/dl-support.c (_dl_auxv): New variable.
49623         (_dl_aux_init): Initialize it.
49624         * manual/startup.texi (Auxiliary Vector): New node.
49625         * sysdeps/generic/bits/hwcap.h: New file.
49626         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
49627         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
49628         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
49629         * sysdeps/sparc/sysdep.h: ... here.  Include it.
49630         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
49631         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
49632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49633         Update.
49634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
49635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
49636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
49637         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
49638         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49640         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
49641         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
49643 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49645         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49647 2012-05-19  David S. Miller  <davem@davemloft.net>
49649         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49651 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49653         [BZ #14123]
49654         * math/s_ccosh.c: Include <float.h>
49655         (__ccosh): Avoid internal overflow calculating sinh and cosh
49656         values before multiplying by sin and cos values.
49657         * math/s_ccoshf.c: Likewise.
49658         * math/s_ccoshl.c: Likewise.
49659         * math/s_csin.c: Likewise.
49660         * math/s_csinf.c: Likewise.
49661         * math/s_csinl.c: Likewise.
49662         * math/s_csinh.c: Likewise.
49663         * math/s_csinhf.c: Likewise.
49664         * math/s_csinhl.c: Likewise.
49665         * math/libm-test.inc (ccos_test): Add more tests.
49666         (ccosh_test): Likewise.
49667         (csin_test): Likewise.
49668         (csinh_test): Likewise.
49669         * sysdeps/i386/fpu/libm-test-ulps: Update.
49670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49672 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
49674         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49675         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49677         * sysdeps/x86_64/x32/_itoa.h: Add comment.
49679 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49681         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49682         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49683         * sysdeps/powerpc/soft-fp/Versions: Likewise.
49684         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49685         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49686         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49687         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49688         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49689         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49690         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49691         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49692         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49693         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49694         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49695         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49696         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49697         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49698         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49699         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49700         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49701         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49702         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49703         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49704         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49705         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49706         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49707         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49708         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49709         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49710         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49711         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49713 2012-05-18  Andreas Jaeger  <aj@suse.de>
49715         * csu/.gitignore: Delete.
49717 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49719         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49720         (timex): Use __syscall_slong_t.
49722 2012-05-18  Andreas Jaeger  <aj@suse.de>
49723             Carlos O'Donell  <carlos_odonell@mentor.com>
49725         * manual/install.texi (Configuring and compiling): Update
49726         description about files modified in the source directory.
49727         * INSTALL: Regenerated.
49729 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49731         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49732         value.  Use "or" to set return value to -1.
49733         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49734         negate return value.
49736 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49738         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49739         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49740         failure if the compiler has Graphite support disabled.
49741         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49742         Likewise.
49743         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49744         (CFLAGS-memmove.c): Likewise.
49745         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49746         Likewise.
49748 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49750         * sysdeps/x86_64/x32/_itoa.h: New file.
49752         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49753         getdents system call only if kernel and user dirents have the
49754         same d_ino and d_off.
49756         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49757         LLONG_MAX != LONG_MAX.
49758         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49759         (_fitoa_word): Likewise.
49761         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49762         years.
49763         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49764         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49765         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49767         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49768         include <bits/wordsize.h>.  Check __x86_64__ instead of
49769         __WORDSIZE.
49770         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49771         if __x86_64__ is defined.  Use anonymous union on fpstate.
49773         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49774         anonymous union.
49776 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49778         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49779         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49780         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49781         Refer to _rtld_local_ro instead of _rtld_global_ro.
49782         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49783         Likewise.
49784         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49785         Likewise.
49786         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49787         Likewise.
49788         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49789         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49790         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49792         [BZ #10882]
49793         * sysdeps/powerpc/powerpc32/dl-machine.c
49794         (__elf_machine_runtime_setup) [PROF]: Don't reference
49795         _dl_prof_resolve.
49797 2012-05-18  Andreas Jaeger  <aj@suse.de>
49799         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49800         function only available for GCCs before 3.4 since GCC 3.4
49801         introduced a builtin.
49802         (lrint): Likewise.
49803         (llrintf): Likewise.
49804         (llrint): Likewise.
49805         (fmaxf): Likewise.
49806         (fmax): Likewise.
49807         (fminf): Likewise.
49808         (fmin): Likewise.
49809         (rint): Likewise.
49810         (rintf): Likewise.
49811         (nearbyint): Likewise.
49812         (nearbyintf): Likewise.
49813         (ceil): Likewise.
49814         (ceilf): Likewise.
49815         (floor): Likewise.
49816         (floorf): Likewise.
49818 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49820         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49821         on both fields and cast pointer to __syscall_ulong_t.
49823         * bits/types.h (__fsword_t): New type.
49824         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49825         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49826         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49827         (__FSWORD_T_TYPE): Likewise.
49828         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49829         (__FSWORD_T_TYPE): Likewise.
49830         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49831         (__FSWORD_T_TYPE): Likewise.
49832         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49833         (__FSWORD_T_TYPE): Likewise.
49834         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49835         __SWORD_TYPE with __fsword_t.
49836         (statfs64): Likewise.
49838 2012-05-17  David S. Miller  <davem@davemloft.net>
49840         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49842 2012-05-17  Andreas Jaeger  <aj@suse.de>
49844         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49845         warning.
49847 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49849         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49851 2012-05-17  Andreas Jaeger  <aj@suse.de>
49853         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49854         when it is used.
49856 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49858         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49860 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49862         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49863         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49865 2012-05-17  Andreas Jaeger  <aj@suse.de>
49866             Carlos O'Donell  <carlos_odonell@mentor.com>
49868         [BZ #14059]
49869         * sysdeps/x86_64/multiarch/init-arch.h
49870         (bit_YMM_Usable): Rename to...
49871         (bit_AVX_Usable): ... this.
49872         (bit_FMA4_Usable): New macro.
49873         (bit_XMM_state): New macro.
49874         (bit_YMM_state): New macro.
49875         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49876         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49877         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49878         (CPUID_OSXSAVE): New macro.
49879         (CPUID_AVX): New macro.
49880         (CPUID_FMA4): New macro.
49881         (index_YMM_Usable): Rename to...
49882         (index_AVX_Usable): ... this.
49883         (HAS_AVX): Use HAS_ARCH_FEATURE.
49884         (HAS_FMA4): Likewise.
49885         (HAS_YMM_USABLE): Remove.
49886         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49887         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49888         are present.
49889         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49890         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49891         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49892         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49893         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49895 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49897         * math/libm-test.c: Support platforms without multiple rounding modes.
49898         * math/bug-nextafter.c: Support platforms without FP exceptions.
49899         * math/bug-nexttoward.c: Likewise.
49900         * math/test-fenv.c: Likewise.
49901         * math/test-misc.c: Likewise.
49902         * stdlib/bug-getcontext.c: Likewise.
49904 2012-05-17  Andreas Jaeger  <aj@suse.de>
49906         * manual/examples/search.c (critter_cmp): Change signature to
49907         avoid warnings.
49908         * manual/string.texi (Collation Functions): Likewise.
49910 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49912         * bits/types.h: Fold copyright years.
49913         * bits/typesizes.h: Likewise.
49914         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49915         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49916         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49917         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49918         * time/time.h: Likewise.
49920 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49922         [BZ #208]
49923         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49924         in instead of returning them.  Return void.
49925         (__libc_mallinfo): Accumulate over all arenas.
49926         (__malloc_stats): Adjust for change in int_mallinfo interface.
49928 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49930         [BZ #10375]
49931         * configure.in (NM): Add AC_CHECK_TOOL for it.
49932         (libc_extra_cflags): New substituted variable.
49933         Check for -fstack-protector being used implicitly.
49934         * configure: Regenerated.
49935         * config.make.in (config-extra-cflags): New variable,
49936         gets @libc_extra_cflags@.
49937         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49939         [BZ #10375]
49940         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49941         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49942         * configure: Regenerated.
49943         * config.make.in (CPPUNDEFS): New substituted variable.
49944         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49945         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49946         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49948 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49950         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49951         (mq_attr): Use __syscall_slong_t.
49953 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49955         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49956         Check __x86_64__ instead of __WORDSIZE.
49957         (_STAT_VER_LINUX): Likewise.
49958         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49959         __syscall_ulong_t and __syscall_slong_t.
49960         (stat64): Likewise.
49962 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49964         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49966 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49968         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49970 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49972         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49973         __syscall_ulong_t.
49975         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49976         include <bits/wordsize.h>.  Check __x86_64__ instead of
49977         __WORDSIZE.
49978         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49979         defined.
49980         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49982         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49983         include <bits/wordsize.h>.  Check __x86_64__ instead of
49984         __WORDSIZE.
49985         (user_regs_struct): Use "__extension__ unsigned long long"
49986         instead of "unsigned long" if __x86_64__ is defined.
49987         (user): Likewise.  Pad after pointer field if __ILP32__ is
49988         defined.
49990 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49992         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49993         versions 5 to 9.
49994         * configure: Regenerated.
49995         * manual/install.texi (texinfo): Increase version requirement to
49996         4.5 or later.
49997         * INSTALL: Regenerated.
49999         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
50001 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50003         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
50005         * sysdeps/x86_64/x32/ffs.c: New file.
50007         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
50008         __syscall_ulong_t.
50009         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
50010         defined.  Use __syscall_ulong_t.
50011         (shminfo): Use __syscall_ulong_t.
50012         (shm_info): Likewise.
50014         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
50015         __syscall_ulong_t.
50017         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
50018         <bits/wordsize.h>.
50019         (msgqnum_t): Use __syscall_ulong_t.
50020         (msglen_t): Likewise.
50021         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
50022         __syscall_ulong_t.
50024         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
50025         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
50027         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
50029         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
50030         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
50032         * sysvipc/sys/msg.h (msgbuf): Replace long int with
50033         __syscall_slong_t.
50035         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
50036         include <bits/wordsize.h>.  Check __x86_64__ instead of
50037         __WORDSIZE.
50039         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
50040         "unsigned long long int" if __x86_64__ is defined.
50041         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
50043         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
50044         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
50045         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
50047         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
50048         <stdint.h>.
50049         (GET_PC): Cast to uintptr_t first.
50050         (GET_FRAME): Likewise.
50051         (GET_STACK): Likewise.
50053         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
50054         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
50055         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
50056         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
50057         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
50058         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
50059         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
50060         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
50061         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
50062         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
50063         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
50064         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
50065         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50066         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
50067         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
50068         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
50069         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
50070         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
50071         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
50072         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
50073         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
50074         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
50075         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
50076         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
50077         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
50078         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
50079         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
50080         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
50081         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
50083 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
50085         * Makerules (+depfiles): Also collect depfiles from .oS in
50086         $(extra-objs).
50087         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
50088         .oS, $(libnldbl-routines)).
50090         * Makerules (native-compile-mkdep-flags): Define.
50091         * sunrpc/Makefile (extra-objs): Add $(addprefix
50092         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
50093         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
50094         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
50095         calling $(make-target-directory).
50097 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50099         * bits/types.h (__snseconds_t): Removed.
50100         * time/time.h (struct timespec): Replace __snseconds_t with
50101         __syscall_slong_t.
50102         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
50103         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
50104         Likewise.
50105         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50106         (__SNSECONDS_T_TYPE): Likewise.
50107         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50108         (__SNSECONDS_T_TYPE): Likewise.
50109         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50110         (__SNSECONDS_T_TYPE): Likewise.
50112 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50114         * sysdeps/mach/hurd/bits/typesizes.h
50115         (__SYSCALL_SLONG_TYPE): New macro.
50116         (__SYSCALL_ULONG_TYPE): Likewise.
50118 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50120         * bits/types.h (__syscall_slong_t): New type.
50121         (__syscall_ulong_t): Likewise.
50123         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
50124         (__SYSCALL_ULONG_TYPE): Likewise.
50125         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50126         (__SYSCALL_SLONG_TYPE): Likewise.
50127         (__SYSCALL_ULONG_TYPE): Likewise.
50128         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50129         (__SYSCALL_SLONG_TYPE): Likewise.
50130         (__SYSCALL_ULONG_TYPE): Likewise.
50131         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50132         (__SYSCALL_SLONG_TYPE): Likewise.
50133         (__SYSCALL_ULONG_TYPE): Likewise.
50135 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50137         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
50138         Add sigaltstack-offsets.sym.
50139         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
50140         <sigaltstack-offsets.h>.
50141         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
50142         longjmp_msg pointer.
50143         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
50144         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
50145         signal stack.
50146         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
50148 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50150         * elf/stackguard-macros.h: Remove file.
50151         * sysdeps/generic/stackguard-macros.h: New file.
50152         * sysdeps/i386/stackguard-macros.h: Likewise.
50153         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50154         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50155         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50156         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50157         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50158         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50159         * sysdeps/x86_64/stackguard-macros.h: Likewise.
50160         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
50161         <elf/stackguard-macros.h>.
50163         [BZ #14109]
50164         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
50165         __aligned__ in attribute.
50166         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
50167         (gregset_t): Likewise.
50169 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50171         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
50172         * sysdeps/x86_64/64/Implies-after: Here.  New file.
50173         * sysdeps/x86_64/x32/Implies-after: New file.
50175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50177         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
50178         and access return value for _dl_profile_fixup.  Use R10_LP to
50179         load frame size.
50181 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50183         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
50185 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50187         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
50188         * sysdeps/x86_64/x32/sysdep.h: New file.
50190 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50192         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
50193         * sysdeps/x86_64/setjmp.S: Likewise.
50195 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50197         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
50198         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
50199         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
50200         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
50201         remove unused global constant.
50203 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
50205         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
50206         include of <not-cancel.h>.
50208 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50210         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
50212 2012-05-15  Jeff Law  <law@redhat.com>
50213             Andreas Jaeger  <aj@suse.de>
50215         [BZ #13594]
50216         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
50217         out from...
50218         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
50219         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
50220         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
50221         code changing __hst_map_handle.map.
50223 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50225         * configure.in (sysnames): Look for Implies-before and Implies-after
50226         files.
50227         * configure: Regenerated.
50229 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50231         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
50232         8-byte data alignment with LP_SIZE alignment.
50234 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50236         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
50237         into R10_LP.
50239 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50241         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
50243 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50245         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
50246         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
50247         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
50248         Likewise.
50249         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
50251 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50253         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
50254         (stackinfo_sub_sp): Likewise.
50256 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50258         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
50259         RAX_LP.
50261 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50263         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
50264         into R*_LP.
50266 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50268         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
50269         sizes into R*_LP.
50271 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50273         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
50275 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50277         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
50278         into R11_LP and load __x86_64_shared_cache_size_half into
50279         R8_LP.
50281 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50283         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
50284         R8_LP.
50286 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50288         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
50289         logb for POWER7.
50290         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
50291         logbf for POWER7.
50292         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
50293         logbl for POWER7.
50294         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
50295         powerpc32/power7/fpu/s_logb.c via #include.
50296         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
50297         powerpc32/power7/fpu/s_logbf.c via #include.
50298         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
50299         powerpc32/power7/fpu/s_logbl.c via #include.
50301 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50303         * README.libm: Remove file.
50305 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50307         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
50308         count for x32.  Use R*_LP and omit operand-size suffix.
50310 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50312         * shlib-versions: Move x86_64-.*-linux.* entries to ...
50313         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
50314         * sysdeps/x86_64/x32/shlib-versions: New file.
50316 2012-05-14  Roland McGrath  <roland@hack.frob.com>
50318         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
50319         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
50320         Use _dl_fatal_printf instead.
50322 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50324         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
50325         set if not set by the user.  Do not allow for being unset.
50326         * sysdeps/unix/sysv/linux/configure: Regenerated.
50328 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50330         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
50331         the `q' suffix from lea and replace .quad with ASM_ADDR.
50333 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50335         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
50336         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
50337         instead of $17.
50338         (PTR_DEMANGLE): Likewise.
50340 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50342         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
50343         (LP_OP): Likewise.
50344         (ASM_ADDR): Likewise.
50345         (RAX_LP): Likewise.
50346         (RBP_LP): Likewise.
50347         (RBX_LP): Likewise.
50348         (RCX_LP): Likewise.
50349         (RDI_LP): Likewise.
50350         (RSI_LP): Likewise.
50351         (RSP_LP): Likewise.
50352         (R8_LP): Likewise.
50353         (R9_LP): Likewise.
50354         (R10_LP): Likewise.
50355         (R10_LP): Likewise.
50356         (R11_LP): Likewise.
50357         (R12_LP): Likewise.
50358         (R13_LP): Likewise.
50359         (R14_LP): Likewise.
50360         (R15_LP): Likewise.
50362 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50364         * sysdeps/x86_64/x32/dl-machine.h: New file.
50366 2012-05-14  Andreas Jaeger  <aj@suse.de>
50368         * manual/Makefile (subdir): Remove export of subdir.
50369         (all): Remove target.
50370         (.PHONY): Remove all from list.
50371         (mkinstalldirs): Remove.
50372         (.PHONY): Remove installdirs from list.
50373         ($(inst_infodir)/libc.info): Use make-target-directory.
50374         (installdirs): Remove.
50375         (subdir_%): Remove.
50376         (glibc-targets): Remove.
50377         (lib): Remove.
50378         (stubs): Remove.
50379         ($(objpfx)stubs ../po/manual.pot): Remove.
50380         ($(objpfx)stamp%): Remove.
50381         (make-target-directory): Remove.
50382         (subdir_install): Remove.
50383         (routines): Remove.
50384         (aux): Remove.
50385         (sources): Remove.
50386         (objects): Remove.
50387         (headers): Remove.
50389         [BZ #13750]
50390         * manual/.gitignore: Remove, it's not needed anymore.
50391         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
50392         all files in it.
50393         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
50394         directory.
50395         (texis): Renamed to $(objpfx)texis.
50396         (texis-path): New, contains path to generated files.
50397         (chapters.%): Use texis-path for complete path, add extra argument
50398         libc-texinfo.sh.
50399         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
50400         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
50401         (summary,texi, stamp-summary): Use complete path of
50402         files. Generate files in build dir.
50403         (dir-add.texi): Build in build dir.
50404         (libm-err.texi,stamp-libm-err): Likewise.
50405         (version.texi, stamp-version): Likewise.
50406         (.%c.texi): Likewise.
50407         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
50408         (mostlyclean): Remove target.
50409         (realclean): Remove target.
50410         (generated): Add new variable with contents from mostlyclean and
50411         realclean, remove entries duplicated in common-mostlyclean, add
50412         stamp-libm-err and stamp-version.
50413         (generated-dirs): Add libc directory.
50414         ($(inst_infodir)/libc.info): Install files from build dir.
50416         * manual/install.texi (Configuring and compiling): Adjust since
50417         the info files are not part of the tar ball anymore.
50419 2012-05-14  Andreas Jaeger  <aj@suse.de>
50421         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
50422         variable.
50424 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50426         [BZ #13717]
50427         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50428         to 2.2.0 where earlier.
50429         * sysdeps/unix/sysv/linux/configure: Regenerated.
50430         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
50431         Remove conditional code.
50432         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
50433         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
50434         Remove conditional code.
50435         [!__NR_lchown]: Likewise.
50436         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50437         [__NR_lchown]: Likewise.
50438         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
50439         comment referencing __ASSUME_LCHOWN_SYSCALL.
50440         * sysdeps/unix/sysv/linux/i386/sigaction.c
50441         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50442         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50443         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
50444         Remove conditional code.
50445         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
50446         (__protocol_available): Remove #if 0 code.
50447         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
50448         conditional code.
50449         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
50450         * sysdeps/unix/sysv/linux/kernel-features.h
50451         (__ASSUME_GETCWD_SYSCALL): Don't define.
50452         (__ASSUME_REALTIME_SIGNALS): Likewise.
50453         (__ASSUME_PREAD_SYSCALL): Likewise.
50454         (__ASSUME_PWRITE_SYSCALL): Likewise.
50455         (__ASSUME_POLL_SYSCALL): Likewise.
50456         (__ASSUME_LCHOWN_SYSCALL): Likewise.
50457         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
50458         non-SPARC.
50459         (__ASSUME_SIOCGIFNAME): Don't define.
50460         (__ASSUME_MSG_NOSIGNAL): Likewise.
50461         (__ASSUME_SENDFILE): Define unconditionally.
50462         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
50463         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
50464         conditional code.
50465         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
50466         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
50467         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50468         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50469         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
50470         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50471         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
50473         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50474         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
50476         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50477         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
50479         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50480         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
50482         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50483         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
50485         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50486         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
50488         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50489         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
50491         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50492         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
50494         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50495         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50496         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
50497         Remove conditional code.
50498         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50499         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50500         Remove conditional code.
50501         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50502         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
50503         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
50504         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50505         Remove conditional code.
50506         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50507         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
50508         Remove conditional code.
50509         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50510         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
50511         Remove conditional code.
50512         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50513         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50514         Remove conditional code.
50515         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50516         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50517         Remove conditional code.
50518         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50519         * sysdeps/unix/sysv/linux/sh/pwrite64.c
50520         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50521         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50522         * sysdeps/unix/sysv/linux/sigaction.c
50523         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50524         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50525         * sysdeps/unix/sysv/linux/sigpending.c
50526         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50527         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50528         * sysdeps/unix/sysv/linux/sigprocmask.c
50529         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50530         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50531         * sysdeps/unix/sysv/linux/sigsuspend.c
50532         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50533         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50534         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50535         (__libc_missing_rt_sigs): Remove.
50536         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
50537         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
50538         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
50539         Remove conditional code.
50540         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
50541         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
50542         return 1.
50543         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
50544         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
50545         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
50546         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
50548 2012-05-14  Andreas Jaeger  <aj@suse.de>
50550         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
50551         it's not used in glibc.
50552         (__coshm1): Likewise.
50553         (__acosh1p): Likewise.
50554         (__sgn): Likewise.
50556         * manual/string.texi (Copying and Concatenation): Add missing
50557         variable in concat example.
50558         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50560 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50562         [BZ #14103]
50563         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
50564         __builtin_clzl with __builtin_clzll.
50566 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50568         [BZ #14104]
50569         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
50570         libc_freeres_ptr.
50572 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50574         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
50575         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
50576         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
50577         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
50579 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
50581         * NEWS: Update ia64 info.
50583 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
50585         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
50586         used as bcopy.
50588 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
50590         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
50591         * sysdeps/unix/syscalls.list (dup3): Likewise.
50592         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
50593         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
50595 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50597         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
50598         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
50600 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50602         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
50603         thread pointer.
50604         (TLS_IE): Use mov/add instead of movq/addq to load thread
50605         pointer.
50606         (TLS_GD_PREFIX): New.
50607         (TLS_GD): Use it.
50609 2012-05-11  David S. Miller  <davem@davemloft.net>
50611         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
50612         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
50613         (_FPU_SETCW): Likewise.
50615 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50617         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
50618         is 32-byte aligned.
50620 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
50622         [BZ #11837]
50623         * iconvdata/gb18030.c: Update tables.
50624         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
50625         characters specially.
50626         (BODY for TO_LOOP): Add encoding of missing ranges.
50628 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
50630         [BZ #13673]
50631         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
50632         * sysdeps/mach/hurd/dup3.c: Likewise.
50633         * sysdeps/mach/hurd/readlinkat.c: Likewise.
50634         * sysdeps/powerpc/memmove.c:: Likewise.
50636 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50638         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
50639         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
50641 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50643         * elf/elf.h (R_X86_64_RELATIVE64): New.
50644         (R_X86_64_NUM): Updated.
50645         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50646         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
50647         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
50648         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
50649         tst-quad1pie tst-quad2pie
50650         (modules-names): Add tst-quadmod1 tst-quadmod2.
50651         ($(objpfx)tst-quad1): New dependency.
50652         ($(objpfx)tst-quad2): Likewise.
50653         ($(objpfx)tst-quad1pie): Likewise.
50654         ($(objpfx)tst-quad2pie): Likewise.
50655         * sysdeps/x86_64/tst-quad1.c: New file.
50656         * sysdeps/x86_64/tst-quad1pie.c: New file.
50657         * sysdeps/x86_64/tst-quad2.c: Likewise.
50658         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
50659         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
50660         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
50661         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
50662         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50664 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50666         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
50667         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
50668         * streams/stropts.h (t_scalar_t): Define type.
50670         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50671         (_PATH_PRESERVE): Set to "/var/lib".
50672         (_PATH_RWHODIR): Set to "/var/spool/rwho".
50674         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50675         instead of int.
50677         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50678         if __dir_mkfile succeeded.
50680         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50681         checking for _hurd_dtablesize.  Unlock it right after having
50682         finished _hurd_dtable allocation.
50684 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50686         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50687         * sysdeps/mach/hurd/configure: Regenerated.
50688         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50689         special-casing to...
50690         * sysdeps/gnu/configure.in: ... this new file.
50691         * sysdeps/unix/sysv/linux/configure: Regenerated.
50692         * sysdeps/gnu/configure: New generated file.
50694         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50695         for Linux: use nsec instead of usec, as well as:
50696         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50697         members of type struct timespec.
50698         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50699         New macros.
50700         (struct stat64): Likewise.
50701         (_STATBUF_ST_NSEC): New macro.
50702         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50704         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50705         __strtoul_internal rather than strtoul.
50707 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50709         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50710         and reject them.
50712 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50714         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50715         which preserves existing values.
50716         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50718 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50720         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50721         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50722         greater than FD_SETSIZE.
50724 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50726         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50727         allocated, call __vm_protect to finish enabling the existing space, and
50728         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50729         allocate the remainder.
50731 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50733         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50734         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50736 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50738         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50739         sysdeps/mach/hurd/readlink.c.
50741         * posix/tst-sysconf.c (posix_options): Only use
50742         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50743         _POSIX_SYNCHRONIZED_IO when they are defined
50744         * sysdeps/mach/hurd/bits/posix_opt.h:
50745         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50746         (_XOPEN_REALTIME): Undefine macro.
50747         (_XOPEN_REALTIME_THREADS): Undefine macro.
50748         (_XOPEN_SHM): Undefine macro.
50749         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50750         macro to -1.
50751         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50752         macro to -1.
50753         (_POSIX_ASYNC_IO): Undefine macro.
50754         (_POSIX_PRIORITIZED_IO): Undefine macro.
50755         (_POSIX_SPIN_LOCKS): Define macro to -1.
50757         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50758         SA_NODEFER, SA_RESETHAND.
50759         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50760         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50761         F_DUPFD_CLOEXEC.
50763 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50765         * elf/Makefile (pldd-modules): Define unconditionally.
50767 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50769         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50771 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50773         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50774         Return ENOENT when name is empty.
50775         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50777 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50779         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50781         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50783 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50785         Fix mlock in all cases except non-readable pages.
50786         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50787         instead of VM_PROT_ALL as parameter to __vm_wire function.
50789         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50790         (__mkdir): When path is `/', just fail with EEXIST.
50791         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50793 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50795         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50796         <sys/uio.h> (for writev).
50797         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50798         and <sys/param.h> (for MIN).
50800 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50802         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50803         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50804         if interrupted.
50806 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50808         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50809         Depend on against $(link-rpcuserlibs).
50811 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50813         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50814         (__libc_stack_end): Do not use attribute_relro.
50815         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50816         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50817         to libthread-provided value.
50818         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50819         attribute_relro.
50821 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50823         [BZ #3748]
50824         * bits/libc-lock.h (__libc_once_get): New macro.
50825         * sysdeps/mach/bits/libc-lock.h: Likewise.
50826         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50827         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50828         instead of using implementation details.
50830         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50831         * libio/freopen.c: Likewise.
50832         * libio/freopen64.c: Likewise.
50833         * misc/syslog.c: Likewise.
50834         * nscd/connections.c: Likewise.
50835         * nscd/netgroupcache.c: Likewise.
50836         * sysdeps/posix/getcwd.c: Likewise.
50838 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50840         * math/w_ilogbf.c: Add #include <limits.h>.
50842 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50844         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50845         path instead of returning without unlocking.
50847         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50848         immediate-write ioctls.
50849         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50851 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50853         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50854         __builtin_frame_address instead of making assumptions about the
50855         location of the return address relative to DATA.  Force early load of
50856         the return address.
50857         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50858         __builtin_frame_address.
50860         dup3 for GNU Hurd.
50861         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50862         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50863         implement dup3 and do some further code clean-ups.
50864         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50865         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50867 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50869         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50871         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50872         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50873         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50874         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50875         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50876         d->port.lock.
50878         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50879         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50880         when handler == SIG_ERR, not when handler != SIG_ERR.
50882 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50884         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50885         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50886         definitions.
50888         accept4 for GNU Hurd.
50889         * include/sys/socket.h (__libc_accept4): New prototype.
50890         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50891         to implement __libc_accept4.
50892         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50893         __libc_accept4.
50894         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50896         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50897         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50898         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50899         signal-defines.sym.
50901 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50903         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50905 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50907         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50908         assertion on O_CLOEXEC flag.
50909         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50910         * hurd/intern-fd.c: Likewise.
50911         * hurd/port2fd.c: Likewise.
50913 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50915         [BZ #3906]
50916         * bits/in.h (IPV6_PKTINFO): Define new macro.
50917         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50919 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50921         [BZ #13954]
50922         [BZ #13955]
50923         [BZ #13956]
50924         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50925         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50926         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50927         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50928         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50929         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50930         * math/libm-test.inc (logb_test) : Additional logb tests.
50932 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50933             Andreas Jaeger  <aj@suse.de>
50935         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50936         * configure: Regenerated.
50937         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50938         * config.make.in (link-obsolete-rpc): New substituted variable.
50939         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50940         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50941         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50942         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50943         so that libc.a contains the symbols.
50944         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50945         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50946         * sunrpc/auth_none.c: Likewise.
50947         * sunrpc/auth_unix.c: Likewise.
50948         * sunrpc/authdes_prot.c: Likewise.
50949         * sunrpc/authuxprot.c: Likewise.
50950         * sunrpc/clnt_gen.c: Likewise.
50951         * sunrpc/clnt_perr.c: Likewise.
50952         * sunrpc/clnt_raw.c: Likewise.
50953         * sunrpc/clnt_simp.c: Likewise.
50954         * sunrpc/clnt_tcp.c: Likewise.
50955         * sunrpc/clnt_udp.c: Likewise.
50956         * sunrpc/clnt_unix.c: Likewise.
50957         * sunrpc/des_crypt.c: Likewise.
50958         * sunrpc/des_soft.c: Likewise.
50959         * sunrpc/get_myaddr.c: Likewise.
50960         * sunrpc/key_call.c: Likewise.
50961         * sunrpc/key_prot.c: Likewise.
50962         * sunrpc/netname.c: Likewise.
50963         * sunrpc/pm_getmaps.c: Likewise.
50964         * sunrpc/pm_getport.c: Likewise.
50965         * sunrpc/pmap_clnt.c: Likewise.
50966         * sunrpc/pmap_prot.c: Likewise.
50967         * sunrpc/pmap_prot2.c: Likewise.
50968         * sunrpc/pmap_rmt.c: Likewise.
50969         * sunrpc/publickey.c: Likewise.
50970         * sunrpc/rpc_cmsg.c: Likewise.
50971         * sunrpc/rpc_common.c: Likewise.
50972         * sunrpc/rpc_dtable.c: Likewise.
50973         * sunrpc/rpc_prot.c: Likewise.
50974         * sunrpc/rpc_thread.c: Likewise.
50975         * sunrpc/rtime.c: Likewise.
50976         * sunrpc/svc.c: Likewise.
50977         * sunrpc/svc_auth.c: Likewise.
50978         * sunrpc/svc_raw.c: Likewise.
50979         * sunrpc/svc_run.c: Likewise.
50980         * sunrpc/svc_tcp.c: Likewise.
50981         * sunrpc/svc_udp.c: Likewise.
50982         * sunrpc/svc_unix.c: Likewise.
50983         * sunrpc/svcauth_des.c: Likewise.
50984         * sunrpc/xcrypt.c: Likewise.
50985         * sunrpc/xdr.c: Likewise.
50986         * sunrpc/xdr_array.c: Likewise.
50987         * sunrpc/xdr_float.c: Likewise.
50988         * sunrpc/xdr_intXX_t.c: Likewise.
50989         * sunrpc/xdr_mem.c: Likewise.
50990         * sunrpc/xdr_rec.c: Likewise.
50991         * sunrpc/xdr_ref.c: Likewise.
50992         * sunrpc/xdr_sizeof.c: Likewise.
50993         * sunrpc/xdr_stdio.c: Likewise.
50995 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50997         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50998         change.  Update copyright years.
51000 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
51002         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
51004 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
51005             Joseph Myers  <joseph@codesourcery.com>
51006             Paul Pluzhnikov  <ppluzhnikov@google.com>
51008         [BZ #14012]
51009         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
51010         requiring rpcgen.
51011         [cross-compiling] (extra-libs): Likewise.
51012         [cross-compiling] (extra-libs-others): Likewise.
51013         [cross-compiling] (librpcsvc-routines): Likewise.
51014         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
51015         [cross-compiling] (omit-deps): Likewise.
51016         (sunrpc-CPPFLAGS): New variable.
51017         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
51018         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
51019         (cross-rpcgen-objs): New variable.
51020         (extra-objs): Append $(cross-rpcgen-objs).
51021         ($(cross-rpcgen-objs)): New rule.
51022         ($(objpfx)cross-rpcgen): Likewise.
51023         (rpcgen-cmd): Define to use $(built-program-file).  Expand
51024         comment.
51025         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
51026         ($(objpfx)x%.stmp): Likewise.
51027         * sunrpc/proto.h [IS_IN_build] (_): Define.
51028         [IS_IN_build] (_libc_intl_domainname): Likewise.
51030 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
51032         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
51033         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
51034         and R_X86_64_TPOFF64.
51036 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
51038         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
51039         sysdeps/unix/sysv/syscalls.list.
51040         (stime): Likewise.
51041         (utime): Likewise.
51042         * sysdeps/unix/sysv/syscalls.list: Remove file.
51044 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
51046         [BZ #3440]
51047         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
51048         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
51049         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
51050         (__LC_IDENTIFICATION): Make these macros useful in #if
51051         expressions, as required by C99.
51053 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
51055         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
51056         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
51057         after this.
51059 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
51061         * stdlib/longlong.h: Updated from GCC.
51063 2012-05-09  Andreas Jaeger  <aj@suse.de>
51065         * nscd/nscd.c (run_modes): Make named enum, reorder so that
51066         default is first entry.
51067         (run_mode): Set type.
51068         (main): Remove informal message about syslog.
51069         (options): Fix typo.
51071         [BZ #14053]
51072         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
51073         to asm.
51074         (lrint): Likewise.
51075         (llrintf): Likewise.
51076         (llrint): Likewise.
51077         (rint): Likewise.
51078         (rintf): Likewise.
51079         (nearbyint): Likewise.
51080         (nearbyintf): Likewise.
51082 2012-05-09  Andreas Jaeger  <aj@suse.de>
51083             Pedro Alves  <palves@redhat.com>
51085         * nscd/nscd.c (run_mode): Use enum.
51086         (main): Cleanup coding style issue.
51088 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
51089             Andreas Jaeger  <aj@suse.de>
51091         * nscd/nscd.c (go_background): Replaced with...
51092         (run_mode): ... this.
51093         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
51094         (options): Add -F --foreground.
51095         (main): Implement it.
51096         (parse_opt): Parse it.
51098 2012-05-09  Andreas Jaeger  <aj@suse.de>
51100         [BZ #14083]
51101         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
51102         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
51103         -Wconversion warning.
51104         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
51105         Likewise.
51107 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
51109         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
51110         == 0.
51111         (LC_ALL): Use macro-int-constant.
51112         (LC_COLLATE): Likewise.
51113         (LC_CTYPE): Likewise.
51114         (LC_MESSAGES): Likewise.
51115         (LC_MONETARY): Likewise.
51116         (LC_NUMERIC): Likewise.
51117         (LC_TIME): Likewise.
51118         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
51119         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51120         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51121         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
51122         Specify type.
51123         [C99-based standards] (float_t): Expect type.
51124         [C99-based standards] (double_t): Expect type.
51125         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
51126         type.
51127         [C99-based standards] (HUGE_VALL): Likewise.
51128         [C99-based standards] (INFINITY): Likewise.
51129         [C99-based standards] (NAN): Likewise.
51130         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
51131         [C99-based standards] (FP_NAN): Likewise.
51132         [C99-based standards] (FP_NORMAL): Likewise.
51133         [C99-based standards] (FP_SUBNORMAL): Likewise.
51134         [C99-based standards] (FP_ZERO): Likewise.
51135         [C99-based standards] (FP_FAST_FMA): Use
51136         optional-macro-int-constant.  Specify type.  Require == 1.
51137         [C99-based standards] (FP_FAST_FMAF): Likewise.
51138         [C99-based standards] (FP_FAST_FMAL): Likewise.
51139         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
51140         [C99-based standards] (FP_ILOGBNAN): Likewise.
51141         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
51142         Specify type.
51143         [C99-based standards] (MATH_ERREXCEPT): Likewise.
51144         [C99-based standards] (math_errhandling): Specify type.
51145         [ISO99 || ISO11] (signgam): Do not allow.
51146         [non-C99-based standards] (copysignf): Do not allow.
51147         [non-C99-based standards] (exp2f): Likewise.
51148         [non-C99-based standards] (log2f): Likewise.
51149         [non-C99-based standards] (modff): Allow.
51150         [non-C99-based standards] (erff): Do not allow.
51151         [non-C99-based standards] (erfcf): Likewise.
51152         [non-C99-based standards] (gammaf): Likewise.
51153         [non-C99-based standards] (hypotf): Likewise.
51154         [non-C99-based standards] (j0f): Likewise.
51155         [non-C99-based standards] (j1f): Likewise.
51156         [non-C99-based standards] (jnf): Likewise.
51157         [non-C99-based standards] (lgammaf): Likewise.
51158         [non-C99-based standards] (tgammaf): Likewise.
51159         [non-C99-based standards] (y0f): Likewise.
51160         [non-C99-based standards] (y1f): Likewise.
51161         [non-C99-based standards] (ynf): Likewise.
51162         [non-C99-based standards] (isnanf): Likewise.
51163         [non-C99-based standards] (acoshf): Likewise.
51164         [non-C99-based standards] (asinhf): Likewise.
51165         [non-C99-based standards] (atanhf): Likewise.
51166         [non-C99-based standards] (cbrtf): Likewise.
51167         [non-C99-based standards] (expm1f): Likewise.
51168         [non-C99-based standards] (ilogbf): Likewise.
51169         [non-C99-based standards] (log1pf): Likewise.
51170         [non-C99-based standards] (logbf): Likewise.
51171         [non-C99-based standards] (nextafterf): Likewise.
51172         [non-C99-based standards] (remainderf): Likewise.
51173         [non-C99-based standards] (rintf): Likewise.
51174         [non-C99-based standards] (scalbf): Likewise.
51175         [non-C99-based standards] (copysignl): Likewise.
51176         [non-C99-based standards] (exp2l): Likewise.
51177         [non-C99-based standards] (log2l): Likewise.
51178         [non-C99-based standards] (modfl): Allow.
51179         [non-C99-based standards] (erfl): Do not allow.
51180         [non-C99-based standards] (erfcl): Likewise.
51181         [non-C99-based standards] (gammal): Likewise.
51182         [non-C99-based standards] (hypotl): Likewise.
51183         [non-C99-based standards] (j0l): Likewise.
51184         [non-C99-based standards] (j1l): Likewise.
51185         [non-C99-based standards] (jnl): Likewise.
51186         [non-C99-based standards] (lgammal): Likewise.
51187         [non-C99-based standards] (tgammal): Likewise.
51188         [non-C99-based standards] (y0l): Likewise.
51189         [non-C99-based standards] (y1l): Likewise.
51190         [non-C99-based standards] (ynl): Likewise.
51191         [non-C99-based standards] (isnanl): Likewise.
51192         [non-C99-based standards] (acoshl): Likewise.
51193         [non-C99-based standards] (asinhl): Likewise.
51194         [non-C99-based standards] (atanhl): Likewise.
51195         [non-C99-based standards] (cbrtl): Likewise.
51196         [non-C99-based standards] (expm1l): Likewise.
51197         [non-C99-based standards] (ilogbl): Likewise.
51198         [non-C99-based standards] (log1pl): Likewise.
51199         [non-C99-based standards] (logbl): Likewise.
51200         [non-C99-based standards] (nextafterl): Likewise.
51201         [non-C99-based standards] (remainderl): Likewise.
51202         [non-C99-based standards] (rintl): Likewise.
51203         [non-C99-based standards] (scalbl): Likewise.
51204         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51205         [non-C99-based standards] (FP_*): Do not allow.
51206         [C99-based standards] (FP_*): Change to
51207         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51208         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51209         allow.
51210         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
51211         (SIG_ERR): Likewise.
51212         [X/Open-based standards] (SIG_HOLD): Likewise.
51213         (SIG_IGN): Likewise.
51214         (SIGABRT): Use macro-int-constant.  Specify type.  Require
51215         positive value.
51216         (SIGFPE): Likewise.
51217         (SIGILL): Likewise.
51218         (SIGINT): Likewise.
51219         (SIGSEGV): Likewise.
51220         (SIGTER): Likewise.
51221         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
51222         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
51223         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
51224         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
51225         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
51226         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
51227         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
51228         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
51229         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
51230         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
51231         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
51232         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
51233         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
51234         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
51235         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
51236         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
51237         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
51238         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
51239         [X/Open-based standards] (SIGTRAP): Likewise.
51240         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
51241         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
51242         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
51243         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
51244         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51245         allow.
51247 2012-05-08  Ian Wienand  <ianw@vmware.com>
51249         [BZ #14080]
51250         * time/tzset.c (__tzset_parse_tz): Update default rules for
51251         daylight time changes in the Energy Policy Act of 2005.
51253 2012-05-09  Andreas Jaeger  <aj@suse.de>
51255         [BZ #13983]
51256         * elf/ldconfig.c (parse_conf): Change string to make clear that
51257         ldconfig only issued a warning if ld.so.conf does not exist.
51259 2012-05-08  David S. Miller  <davem@davemloft.net>
51261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
51262         movxtod instead of popping the value on the stack.
51264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51266 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
51268         * config.h.in: Add HAVE_ARM_PCS_VFP.
51270 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
51272         [BZ #13979]
51273         * include/features.h: Warn if user requests __FORTIFY_SOURCE
51274         checking but the checks are disabled for any reason.
51276 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
51278         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
51279         and ELF64_R_TYPE with ELFW(R_TYPE).
51281 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
51283         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
51284         (ulimit): Likewise.
51286         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
51287         (settimeofday): Likewise.
51289 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
51291         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
51292         a struct th_u2 inside the union, and move tu_block/tu_code into
51293         a new th_u3 union of tu_block/tu_code inside of that.  Move
51294         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
51295         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
51296         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
51297         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
51298         (th_stuff): Change to th_u1.tu_stuff.
51299         (th_data): Define.
51300         (th_msg): Change to th_u1.th_u2.tu_data.
51302 2012-05-07  David S. Miller  <davem@davemloft.net>
51304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51306         [BZ #14074]
51307         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
51308         (SETUP_PIC_REG): Use it.
51309         (SETUP_PIC_REG_LEAF): Use it.
51311 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
51313         [BZ #13885]
51314         [BZ #13923]
51315         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51316         USE_AS_EXPM1L.
51317         (EXPL_FINITE): Likewise.
51318         (FLDLOG): Likewise.
51319         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51320         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51321         e_expl.S.
51322         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51323         USE_AS_EXPM1L.
51324         (EXPL_FINITE): Likewise.
51325         (FLDLOG): Likewise.
51326         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51327         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51328         e_expl.S.
51329         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
51330         test of -max_value argument for long double.
51331         * sysdeps/i386/fpu/libm-test-ulps: Update.
51332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51334 2012-05-06  David S. Miller  <davem@davemloft.net>
51336         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
51337         quad soft-float symbols whose references which are compiler
51338         generated.
51339         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51341 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
51343         [BZ #13884]
51344         [BZ #13914]
51345         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51346         USE_AS_EXP10L.
51347         (EXPL_FINITE): Likewise.
51348         (FLDLOG): Likewise.
51349         (c0): Likewise.
51350         (c1): Likewise.
51351         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51352         Adjust comments for base varying.
51353         (__expl_finite): Change alias to EXPL_FINITE.
51354         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
51355         e_expl.S.
51356         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
51357         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
51358         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51359         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
51360         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51361         USE_AS_EXP10L.
51362         (EXPL_FINITE): Likewise.
51363         (FLDLOG): Likewise.
51364         (c0): Likewise.
51365         (c1): Likewise.
51366         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51367         Adjust comments for base varying.
51368         (__expl_finite): Change alias to EXPL_FINITE.
51369         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
51370         tests for bugs.
51371         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51373         [BZ #14064]
51374         * math/libm-test.inc (check_float_internal): Correct ulp
51375         calculation for subnormal expected results.
51377 2012-05-06  Andreas Jaeger  <aj@suse.de>
51379         * Makeconfig (+math-flags): New, set to -frounding-math.
51380         (+cflags): Add +math-flags so that all of glibc gets compiled with
51381         it.
51383         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
51385 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
51387         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
51388         Disable one test.
51390         [BZ #13787]
51391         [BZ #13922]
51392         [BZ #14036]
51393         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
51394         (__ieee754_expl): Allow for and saturate large arguments.
51395         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
51396         (u_threshold): Likewise.
51397         (__exp): Call __ieee754_exp before checking for overflow and
51398         underflow.
51399         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
51400         (u_threshold): Likewise.
51401         (__expf): Call __ieee754_expf before checking for overflow and
51402         underflow.
51403         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
51404         (u_threshold): Likewise.
51405         (__expl): Call __ieee754_expl before checking for overflow and
51406         underflow.
51407         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
51408         (__ieee754_expl): Allow for and saturate large arguments.
51409         * math/libm-test.inc (exp_test): Add another test.  Do not allow
51410         missing overflow exception on overflow.
51411         (expm1_test): Do not allow missing overflow exception on overflow.
51413         * sysdeps/i386/fpu/e_expl.c: Move to ...
51414         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
51415         rather than using inline asm.
51416         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
51417         * sysdeps/x86_64/fpu/e_expl.S: Copy from
51418         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
51420         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
51421         (nice): Likewise.
51422         (poll): Likewise.
51423         (signal): Likewise.
51424         (time): Likewise.
51425         (times): Likewise.
51427 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51429         * sysdeps/unix/syscalls.list (adjtime): Add entry from
51430         sysdeps/unix/common/syscalls.list.
51431         (fchmod): Likewise.
51432         (fchown): Likewise.
51433         (ftruncate): Likewise.
51434         (getrusage): Likewise.
51435         (gettimeofday): Likewise.
51436         (setpgid): Likewise.
51437         (setregid): Likewise.
51438         (setreuid): Likewise.
51439         (sigaction): Likewise.
51440         (truncate): Likewise.
51441         (vhangup): Likewise.
51442         * sysdeps/unix/common/syscalls.list: Remove file.
51443         * sysdeps/unix/bsd/Implies: Don't include unix/common.
51444         * sysdeps/unix/sysv/linux/Implies: Likewise.
51446 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
51448         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
51449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
51450         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
51451         Moved to ...
51452         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51453         Here.
51454         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
51455         to ...
51456         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
51457         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
51458         to ...
51459         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
51460         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
51461         to ...
51462         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
51463         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
51464         to ...
51465         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
51466         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
51467         to ...
51468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
51469         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
51470         to ...
51471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
51472         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
51473         to ...
51474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51475         Here.
51476         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
51477         to ...
51478         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
51479         Here.
51480         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
51481         to ...
51482         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
51483         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
51484         Moved to ...
51485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
51486         Here.
51487         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
51488         to ...
51489         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
51491 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51493         * sysdeps/unix/common/bits/dirent.h: Remove file.
51494         * sysdeps/unix/common/bits/fcntl.h: Likewise.
51496         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
51497         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
51498         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
51499         * sysdeps/unix/bsd/isatty.c: Likewise.
51500         * sysdeps/unix/bsd/tcdrain.c: Likewise.
51501         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
51502         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
51504 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51506         [BZ #13563]
51507         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
51508         long double comparison inaccuracies.
51509         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51512 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
51514         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
51515         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
51517 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51519         [BZ #14049]
51520         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
51521         nonzero digits before rounding a hex value.
51522         * stdlib/tst-strtod.c (tests): Add another test.
51524 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51526         * sysdeps/s390/fpu/libm-test-ulps: Update.
51528 2012-05-03  Andreas Jaeger  <aj@suse.de>
51530         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
51531         does not get optimized out.
51532         (malloc_opt_barrier): New.
51534 2012-05-03  Andreas Jaeger  <aj@suse.de>
51535             Roland McGrath  <roland@hack.frob.com>
51537         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
51538         intermediate file deletion.
51539         (generated): Add .symlist files.
51541 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
51543         [BZ #13775]
51544         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
51545         Redirect under this condition.
51546         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51547         [__USE_GNU] (__dprintf_chk): Not under this condition.
51548         [__USE_GNU] (__vdprintf_chk): Likewise.
51549         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
51550         under this condition.
51551         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51552         [__USE_XOPEN2K8] (dprintf): Define under this condition.
51553         [__USE_XOPEN2K8] (vdprintf): Likewise.
51554         [__USE_GNU] (__dprintf_chk): Not under this condition.
51555         [__USE_GNU] (__vdprintf_chk): Likewise.
51556         [__USE_GNU] (dprintf): Likewise.
51557         [__USE_GNU] (vdprintf): Likewise.
51559 2012-05-03  Roland McGrath  <roland@hack.frob.com>
51561         * elf/Makefile (common-generated): Set this instead of generated for
51562         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
51563         $(all-built-dso)-derived lists.
51565 2012-05-03  Andreas Jaeger  <aj@suse.de>
51567         * sysdeps/i386/fpu/libm-test-ulps: Update.
51569         * FAQ: Removed.
51570         * FAQ.in: Likewise.
51571         * scripts/gen-FAQ.pl: Likewise.
51572         * manual/install.texi (Installation): Point to online location of
51573         FAQ.
51574         * Makefile (files-for-dist): Remove FAQ.
51575         (FAQ): Remove.
51577 2012-05-02  Allan McRae  <allan@archlinux.org>
51579         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
51580         (LDFLAGS-reldepmod5.so): Likewise.
51581         (LDFLAGS-reldep6mod1.so): Likewise.
51582         (LDFLAGS-reldep6mod4.so): Likewise.
51583         (LDFLAGS-reldep8mod3.so): Likewise.
51584         (LDFLAGS-unload4mod1.so): Likewise.
51585         (LDFLAGS-unload4mod2.so): Likewise.
51586         (LDFLAGS-tst-initorder): Likewise.
51587         (LDFLAGS-tst-initordera2.so): Likewise.
51588         (LDFLAGS-tst-initordera3.so): Likewise.
51589         (LDFLAGS-tst-initordera4.so): Likewise.
51590         (LDFLAGS-tst-initorderb2.so): Likewise.
51591         (LDFLAGS-noload): Likewise.
51592         (LDFLAGS-next): Likewise.
51593         (LDFLAGS-order2mod1.so): Likewise.
51594         (LDFLAGS-order2mod2.so): Likewise.
51595         (LDFLAGS-tst-initorder2): Likewise.
51596         (LDFLAGS-tst-initorder2a.so): Likewise.
51597         (LDFLAGS-tst-initorder2b.so): Likewise.
51598         (LDFLAGS-tst-initorder2c.so): Likewise.
51599         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
51601 2012-05-02  David S. Miller  <davem@davemloft.net>
51603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51605 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
51607         [BZ #14055]
51608         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
51610 2012-05-02  Andreas Jaeger  <aj@suse.de>
51612         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
51613         since we manipulate rounding mode.
51614         (CPPFLAGS-test-idouble.c): Likewise.
51615         (CPPFLAGS-test-ifloat.c): Likewise.
51616         (CFLAGS-test-ldouble.c): Likewise.
51617         (CFLAGS-test-double.c): Likewise.
51618         (CFLAGS-test-float.c): Likewise.
51619         (CFLAGS-test-misc.c): Likewise.
51620         (CFLAGS-test-test-fenv.c): Likewise.
51622 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51624         [BZ #2550]
51625         [BZ #2570]
51626         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
51627         comparisons to determine direction to adjust input.
51629 2012-05-01  Roland McGrath  <roland@hack.frob.com>
51631         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
51632         output to the target.
51634         * scripts/localplt.awk: New file.
51635         * elf/Makefile ($(objpfx)check-localplt): Target removed.
51636         (check-localplt-CFLAGS): Variable removed.
51637         ($(all-built-dso:=.jmprel)): New static pattern rule.
51638         (generated): Add those targets.
51639         (localplt-built-dso): New variable.
51640         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
51642         * elf/check-localplt.c: File removed.
51644         * scripts/check-execstack.awk: New file.
51645         * elf/Makefile ($(objpfx)check-execstack): Target removed.
51646         (check-execstack-CFLAGS): Variable removed.
51647         ($(objpfx)check-execstack.h): Target removed.
51648         ($(objpfx)execstack-default): New target.
51649         (generated): Add that instead of check-execstack.h.
51650         ($(all-built-dso:=.phdr)): New static pattern rule.
51651         (generated): Add those targets.
51652         * elf/check-execstack.c: File removed.
51654         * scripts/check-textrel.awk: New file.
51655         * elf/Makefile ($(objpfx)check-textrel): Target removed.
51656         (check-textrel-CFLAGS): Variable removed.
51657         (all-built-dso): Use := to define.o
51658         ($(all-built-dso:=.dyn)): New static pattern rule.
51659         (generated): Add those targets.
51660         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
51661         * config.make.in (READELF): New substituted variable.
51662         * elf/check-textrel.c: File removed.
51664 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51666         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51667         allow.
51668         * conform/data/ctype.h-data [C99-based standards] (isblank):
51669         Expect function.
51670         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51671         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51672         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51673         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51674         Specify type.  Require positive value.
51675         (EILSEQ): Likewise.
51676         (ERANGE): Likewise.
51677         [ISO || POSIX] (EILSEQ): Do not expect.
51678         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51679         Specify type.  Require positive value.
51680         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51681         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51682         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51683         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51684         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51685         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51686         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51687         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51688         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51689         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51690         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51691         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51692         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51693         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51694         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51695         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51696         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51697         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51698         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51699         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51700         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51701         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51702         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51703         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51704         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51705         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51706         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51707         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51708         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51709         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51710         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51711         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51712         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51713         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51714         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51715         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51716         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51717         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51718         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51719         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51720         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51721         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51722         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51723         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51724         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51725         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51726         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51727         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51728         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51729         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51730         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51731         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51732         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51733         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51734         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51735         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51736         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51737         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51738         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51739         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51740         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51741         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51742         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51743         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51744         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51745         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51746         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51747         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51748         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51749         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51750         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51751         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51752         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51753         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51754         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51755         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51756         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51757         Require >= 2.
51758         (FLT_ROUNDS): Expect as macro, not constant.
51759         (FLT_MANT_DIG): Use macro-int-constant.
51760         (DBL_MANT_DIG): Likewise.
51761         (LDBL_MANT_DIG): Likewise.
51762         (FLT_DIG): Likewise.
51763         (DBL_DIG): Likewise.
51764         (LDBL_DIG): Likewise.
51765         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51766         (DBL_MIN_EXP): Likewise.
51767         (LDBL_MIN_EXP): Likewise.
51768         (FLT_MAX_EXP): Use macro-int-constant.
51769         (DBL_MAX_EXP): Likewise.
51770         (LDBL_MAX_EXP): Likewise.
51771         (FLT_MAX_10_EXP): Likewise.
51772         (DBL_MAX_10_EXP): Likewise.
51773         (LDBL_MAX_10_EXP): Likewise.
51774         (FLT_MAX): Use macro-constant.
51775         (DBL_MAX): Likewise.
51776         (LDBL_MAX): Likewise.
51777         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51778         (DBL_EPSILON): Likewise.
51779         (LDBL_EPSILON): Likewise.
51780         (FLT_MIN): Likewise.
51781         (DBL_MIN): Likewise.
51782         (LDBL_MIN): Likewise.
51783         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51784         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51785         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51786         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51787         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51788         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51789         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51790         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51791         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51792         [ISO11] (FLT_TRUE_MIN): Likewise.
51793         [ISO11] (LDBL_TRUE_MIN): Likewise.
51794         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51795         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51796         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51797         (SCHAR_MAX): Likewise.
51798         (UCHAR_MAX): Likewise.
51799         (CHAR_MIN): Likewise.
51800         (CHAR_MAX): Likewise.
51801         (MB_LEN_MAX): Use macro-int-constant.
51802         (SHRT_MIN): Use macro-int-constant.  Specify type.
51803         (SHRT_MAX): Likewise.
51804         (USHRT_MAX): Likewise.
51805         (INT_MAX): Likewise.
51806         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51807         bound negative.
51808         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51809         bound with "U".
51810         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51811         bound with "L".
51812         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51813         bound negative.  Suffix upper bound with "L".
51814         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51815         bound with "UL".
51816         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51817         Specify type.
51818         [C99-based standards] (LLONG_MAX): Likewise.
51819         [C99-based standards] (ULLONG_MAX): Likewise.
51820         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51821         == 0.
51822         [ISO11] (max_align_t): Require type.
51823         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51825         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51826         from $CFLAGS, without defining away __attribute__ calls.
51827         (checknamespace): Use $CFLAGS_namespace.
51829         * conform/conformtest.pl (@keywords): Only include C99 keywords
51830         for standards based on C99 or C11.
51832         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51833         Disable tests.
51834         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51835         UNIX98]: Likewise.
51837         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51838         usability of symbols in #if.
51840         * conform/conformtest.pl: If macro or constant types start
51841         "promoted:", expect the symbol to be of the following type
51842         promoted by the integer promotions.
51844         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51845         in one place.  Also handle "macro-constant".
51847         * conform/conformtest.pl: Only accept expected macro values with
51848         "==".  Parse all "macro" lines in one place.
51849         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51851         * conform/conformtest.pl: Handle braced types on "constant" lines
51852         instead of handling "typed-constant".
51853         * conform/data/signal.h-data: Use "constant" instead of
51854         "typed-constant".
51856         * conform/conformtest.pl: Handle "optional-" at start of lines in
51857         one place rather than duplicating several cases.  Handle each
51858         format of "macro" line with initial "optional-".
51860         * conform/conformtest.pl: Only accept expected constant or
51861         optional-constant values with "==".  Parse all "constant" lines in
51862         one place.  Parse all "optional-constant" lines in one place.
51863         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51864         * conform/data/fmtmsg.h-data: Likewise.
51865         * conform/data/netinet/in.h-data: Likewise.
51866         * conform/data/tar.h-data: Likewise.
51867         * conform/data/limits.h-data: Use "==" form on "constant" and
51868         "optional-constant" lines.
51870         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51871         Use -std=c99 for XOPEN2K.
51872         (@knownproblems): Remove.
51873         (newtoken): Don't check %isknown.
51875         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51876         Do not expect macro.
51877         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51878         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51879         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51880         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51881         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51882         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51883         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51884         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51885         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51886         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51887         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51888         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51889         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51890         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51891         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51892         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51893         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51894         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51895         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51896         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51897         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51898         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51899         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51900         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51901         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51902         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51903         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51904         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51905         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51906         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51907         [XPG3] (acosh): Likewise.
51908         [XPG3] (asinh): Likewise.
51909         [XPG3] (atanh): Likewise.
51910         [XPG3] (cbrt): Likewise.
51911         [XPG3] (expm1): Likewise.
51912         [XPG3] (ilogb): Likewise.
51913         [XPG3] (log1p): Likewise.
51914         [XPG3] (logb): Likewise.
51915         [XPG3] (nextafter): Likewise.
51916         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51917         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51918         [XPG3] (remainder): Likewise.
51919         [XPG3] (rint): Likewise.
51920         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51921         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51922         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51923         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51924         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51925         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51926         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51927         [UNIX98 || XOPEN2K] (scalb): Expect.
51928         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51929         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51930         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51931         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51932         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51933         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51934         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51935         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51936         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51937         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51938         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51939         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51940         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51941         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51942         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51943         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51944         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51945         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51946         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51947         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51948         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51949         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51950         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51951         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51952         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51953         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51954         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51955         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51956         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51957         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51958         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51959         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51960         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51961         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51962         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51963         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51964         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51965         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51966         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51967         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51968         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51969         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51970         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51971         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51972         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51973         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51974         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51975         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51976         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51977         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51978         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51979         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51980         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51981         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51982         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51983         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51984         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51985         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51986         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51987         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51988         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51989         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51990         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51991         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51992         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51993         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51994         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51995         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51996         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51997         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51998         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51999         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
52000         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
52001         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
52002         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
52003         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
52004         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
52005         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
52006         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
52007         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
52008         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
52009         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
52010         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
52011         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
52012         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
52013         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
52014         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
52015         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
52016         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
52017         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
52018         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
52019         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
52020         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
52021         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
52022         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
52023         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
52024         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
52025         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
52026         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
52027         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
52028         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
52029         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
52030         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
52031         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
52032         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
52033         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
52034         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
52035         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
52036         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
52037         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
52038         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
52039         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
52040         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
52041         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
52042         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
52043         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
52044         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
52045         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
52046         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
52047         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
52048         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
52049         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
52050         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
52051         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
52052         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
52053         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
52054         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
52055         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
52056         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
52057         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
52058         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
52059         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
52060         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
52061         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
52062         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
52063         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
52064         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
52066         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
52067         _XOPEN_SOURCE_EXTENDED for XPG4.
52069         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
52071         * Makeconfig (localtime): Remove variable.
52072         (inst_localtime-file): Likewise.
52074 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
52077         Update.
52078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52079         Update.
52080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
52081         Update.
52082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52083         Update.
52084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
52085         Update.
52086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
52087         Update.
52088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52089         Update.
52090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
52091         Update.
52092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52093         Update.
52095 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
52097         [BZ #2550]
52098         [BZ #2570]
52099         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
52100         comparisons to determine direction to adjust input.
52101         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
52102         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
52103         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
52104         Likewise.
52105         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
52106         Likewise.
52107         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52108         Likewise.
52109         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
52110         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
52111         Likewise.
52112         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
52113         Likewise.
52114         * math/libm-test.inc (nexttoward_test): Add more tests.
52116 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52118         [BZ #14040]
52119         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
52120         in version GLIBC_2.1, not GLIBC_2.0.
52121         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
52122         Likewise.
52124 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
52126         [BZ #13942]
52127         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
52128         (1 - x) * (1 + x).
52129         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52130         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
52131         * math/libm-test.inc (acos_test): Add more tests.
52132         (asin_test): Likewise.
52133         * sysdeps/i386/fpu/libm-test-ulps: Update.
52134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52136         [BZ #14034]
52137         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
52138         of square root.
52139         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
52140         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52141         * math/libm-test.inc (acos_test_tonearest): New function.
52142         (acos_test_towardzero): Likewise.
52143         (acos_test_downward): Likewise.
52144         (acos_test_upward): Likewise.
52145         (asin_test_tonearest): Likewise.
52146         (asin_test_towardzero): Likewise.
52147         (asin_test_downward): Likewise.
52148         (asin_test_upward): Likewise.
52149         (main): Call the new functions.
52150         * sysdeps/i386/fpu/libm-test-ulps: Update.
52151         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52153         [BZ #13884]
52154         [BZ #13924]
52155         * math/e_exp10.c: Include <float.h>.
52156         (__ieee754_exp10): Handle underflow here rather than multiplying
52157         large negative argument by M_LN10.
52158         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
52159         of __ieee754_expf.
52160         * math/e_exp10l.c: Include <float.h>.
52161         (__ieee754_exp10l): Handle underflow here rather than multiplying
52162         large negative argument by M_LN10l.
52163         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
52164         spurious overflow exception on underflow.
52166 2012-04-29  Marek Polacek  <polacek@redhat.com>
52168         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
52169         (__fortify_function): New macro.
52170         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
52171         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
52172         __extern_always_inline.
52173         * libio/bits/stdio2.h: Likewise.
52174         * libio/bits/stdio.h: Likewise.
52175         * string/string.h: Likewise.
52176         * string/bits/string3.h: Likewise.
52177         * include/stdio.h: Likewise.
52178         * stdlib/bits/stdlib.h: Likewise.
52179         * stdlib/stdlib.h: Likewise.
52180         * rt/bits/mqueue2.h: Likewise.
52181         * rt/mqueue.h: Likewise.
52182         * posix/bits/unistd.h: Likewise.
52183         * posix/unistd.h: Likewise.
52184         * io/bits/poll2.h: Likewise.
52185         * io/bits/fcntl2.h: Likewise.
52186         * io/fcntl.h: Likewise.
52187         * io/sys/poll.h: Likewise.
52188         * misc/bits/syslog.h: Likewise.
52189         * misc/bits/syslog-ldbl.h: Likewise.
52190         * misc/sys/syslog.h: Likewise.
52191         * socket/bits/socket2.h: Likewise.
52192         * socket/sys/socket.h: Likewise.
52193         * debug/tst-chk1.c: Likewise.
52194         * wcsmbs/bits/wchar2.h: Likewise.
52195         * wcsmbs/bits/wchar-ldbl.h: Likewise.
52196         * wcsmbs/wchar.h: Likewise.
52198 2012-04-29  Andreas Jaeger  <aj@suse.de>
52200         * Makerules (tests): Remove enable-check-abi protection.
52201         (check-abi-warn): Remove.
52202         (check-abi-%): Remove check-abi-warn usage.
52204         * configure.in: Remove check-abi configure option.
52205         * configure: Regenerated.
52206         * config.make.in (enable-check-abi): Remove.
52208 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
52210         [BZ #14033]
52211         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
52212         double functions to double *_finite functions.
52214         [BZ #13941]
52215         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
52216         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
52217         LDBL_MIN_EXP.
52218         * stdio-common/Makefile (tests): Add tst-sprintf3.
52219         * stdio-common/tst-sprintf3.c: New file.
52221         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
52222         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
52224 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52226         * conform/conformtest.pl: Remove duplicate typed-constant
52227         handling.
52229 2012-04-28  David S. Miller  <davem@davemloft.net>
52231         * Makerules (%.abilist): Add vpath on sysdep_dirs.
52232         (check-abi-%): Remove AWK script prerequisite and explicit
52233         abilist directory.
52234         (check-abi): Rewrite to just diff the symlist with the abilist.
52235         (config-tls, config-abi-config): Delete, no longer used.
52236         (update-abi-%): Remove AWK script and explicit abilist directory.
52237         (update-abi): Rewrite to simply compare and conditionally copy the
52238         symlist and the sysdep abilist file.  Remove update-abi-config
52239         checks.
52240         * abilist/ld.abilist: Remove.
52241         * abilist/libBrokenLocale.abilist: Remove.
52242         * abilist/libanl.abilist: Remove.
52243         * abilist/libcrypt.abilist: Remove.
52244         * abilist/libdl.abilist: Remove.
52245         * abilist/librt.abilist: Remove.
52246         * abilist/libthread_db.abilist: Remove.
52247         * abilist/libutil.abilist: Remove.
52248         * scripts/extract-abilist.awk: Remove.
52249         * scripts/merge-abilist.awk: Remove.
52250         * sysdeps/generic/libcidn.abilist: New file.
52251         * sysdeps/generic/libnss_compat.abilist: New file.
52252         * sysdeps/generic/libnss_db.abilist: New file.
52253         * sysdeps/generic/libnss_dns.abilist: New file.
52254         * sysdeps/generic/libnss_files.abilist: New file.
52255         * sysdeps/generic/libnss_hesiod.abilist: New file.
52256         * sysdeps/generic/libnss_nis.abilist: New file.
52257         * sysdeps/generic/libnss_nisplus.abilist: New file.
52258         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
52259         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
52260         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
52261         file.
52262         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
52263         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
52264         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
52265         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
52266         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
52267         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
52268         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
52269         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
52270         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
52271         file.
52272         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
52273         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
52274         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
52275         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
52276         file.
52277         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
52278         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
52279         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
52280         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
52281         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
52282         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
52283         file.
52284         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
52285         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
52286         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
52287         file.
52288         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
52289         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
52290         New file.
52291         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
52292         New file.
52293         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
52294         New file.
52295         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
52296         New file.
52297         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
52298         New file.
52299         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
52300         New file.
52301         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
52302         New file.
52303         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
52304         New file.
52305         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
52306         New file.
52307         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
52308         New file.
52309         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
52310         New file.
52311         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
52312         New file.
52313         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
52314         New file.
52315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
52316         file.
52317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
52318         New file.
52319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
52320         New file.
52321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
52322         file.
52323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
52324         New file.
52325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
52326         New file.
52327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
52328         file.
52329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
52330         New file.
52331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52332         New file.
52333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
52334         New file.
52335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
52336         New file.
52337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
52338         New file.
52339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
52340         New file.
52341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
52342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
52343         file.
52344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
52345         New file.
52346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
52347         file.
52348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
52349         file.
52350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
52351         file.
52352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
52353         file.
52354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
52355         file.
52356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52357         New file.
52358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
52359         file.
52360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
52361         file.
52362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
52363         New file.
52364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
52365         file.
52366         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
52367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
52368         file.
52369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
52370         New file.
52371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
52372         file.
52373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
52374         file.
52375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
52376         file.
52377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
52378         file.
52379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
52380         file.
52381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52382         New file.
52383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
52384         file.
52385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
52386         file.
52387         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
52388         New file.
52389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
52390         file.
52391         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52392         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
52393         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
52394         file.
52395         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
52396         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
52397         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
52398         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
52399         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
52400         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
52401         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
52402         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
52403         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
52404         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
52405         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
52406         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
52407         file.
52408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
52409         New file.
52410         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
52411         file.
52412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
52413         file.
52414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
52415         file.
52416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
52417         file.
52418         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
52419         file.
52420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
52421         New file.
52422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
52423         New file.
52424         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
52425         file.
52426         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
52427         New file.
52428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
52429         file.
52430         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
52431         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
52432         file.
52433         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
52434         New file.
52435         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
52436         file.
52437         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
52438         file.
52439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
52440         file.
52441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
52442         file.
52443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
52444         file.
52445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
52446         New file.
52447         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
52448         New file.
52449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
52450         file.
52451         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
52452         New file.
52453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
52454         file.
52456 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52458         * conform/conformtest.pl: Fix typo in handling typed-constant from
52459         allow-header.
52461 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52463         * README: Cut down references to pre-2.6 Linux kernels and
52464         Linuxthreads.  Update lists of configurations in libc and ports
52465         and sort alphabetically.  Say "or newer" with Linux kernel version
52466         requirements.
52468         * config.h.in [IS_IN_build]: Allow compiling without optimization.
52470 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52472         [BZ #887]
52473         * math/libm-test.inc (logb_test_downward): New test to expose
52474         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
52475         rounding mode.
52477 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52479         [BZ #14027]
52480         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
52481         to be done.
52482         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
52483         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
52485 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
52487         * sysdeps/unix/i386/brk.S: Remove file.
52488         * sysdeps/unix/i386/dl-brk.S: Likewise.
52489         * sysdeps/unix/i386/pipe.S: Likewise.
52490         * sysdeps/unix/i386/sigreturn.S: Likewise.
52491         * sysdeps/unix/i386/syscall.S: Likewise.
52492         * sysdeps/unix/i386/vfork.S: Likewise.
52493         * sysdeps/unix/i386/wait.S: Likewise.
52495         * sysdeps/unix/common/tcsendbrk.c: Move to ...
52496         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
52498         * configure.in (arm*-none*): Do not allow without
52499         --enable-hacker-mode.
52500         (netbsd*): Remove case setting base_os.
52501         (386bsd*): Likewise.
52502         (freebsd*): Likewise.
52503         (bsdi*): Likewise.
52504         (osf*): Likewise.
52505         (sunos*): Likewise.
52506         (ultrix*): Likewise.
52507         (newsos*): Likewise.
52508         (dynix*): Likewise.
52509         (*bsd*): Likewise.
52510         (sysv*): Likewise.
52511         (isc*): Likewise.
52512         (esix*): Likewise.
52513         (sco*): Likewise.
52514         (minix*): Likewise.
52515         (irix4*): Likewise.
52516         (irix6*): Likewise.
52517         (solaris[2-9]*): Likewise.
52518         (none): Likewise.
52519         * configure: Regenerated.
52521 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52523         [BZ #11521]
52524         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
52525         overflow or cancellation in calculating denominator.
52526         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
52527         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
52528         down expression to avoid unexpected rounding in newer GCCs.
52529         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
52531 2012-04-26  David S. Miller  <davem@davemloft.net>
52533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
52534         long-double compat symbols.
52535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
52539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52540         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
52541         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
52542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
52543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
52544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
52545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
52546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
52547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52549 2012-04-25  David S. Miller  <davem@davemloft.net>
52551         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
52552         HWCAP_* values only after the memory barriers have been defined.
52553         (atomic_full_barrier): Define.
52554         (atomic_read_barrier): Define.
52555         (atomic_write_barrier): Define.
52557 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52559         * shlib-versions: Add libgcc_s version information.
52560         * sysdeps/generic/libgcc_s.h: Remove.
52561         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
52562         libgcc_s.h.
52563         * sysdeps/gnu/unwind-resume.c: Likewise.
52564         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
52566 2012-04-25  David S. Miller  <davem@davemloft.net>
52568         * sysdeps/unix/sparc/brk.S: Delete.
52569         * sysdeps/unix/sparc/dl-brk.S: Delete.
52570         * sysdeps/unix/sparc/pipe.S: Delete.
52571         * sysdeps/unix/sparc/sysdep.S: Delete.
52572         * sysdeps/unix/sparc/sysdep.h: Delete.
52573         * sysdeps/unix/sparc/vfork.S: Delete.
52574         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
52575         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
52576         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
52577         (ret_ERRVAL, r0, r1, MOVE): Define.
52578         (JUMPTARGET): Remove.
52579         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
52580         sysdeps/unix/sparc/sysdep.h
52581         (ENTRY, END): Remove.
52582         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52584 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
52586         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
52587         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
52588         -DIS_IN_build.
52590         * timezone/README: Update upstream location and email address for
52591         tzcode and tzdata.
52592         * timezone/zdump.c: Update from tzcode 2012b.
52593         * timezone/zic.c: Likewise.
52595         * configure.in (libc_cv_as_needed): Remove test.
52596         * configure: Regenerated.
52597         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
52598         conditional definition.
52599         [$(have-as-needed) != yes] (no-as-needed): Likewise.
52600         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
52601         * config.make.in (have-as-needed): Remove variable.
52603 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52604             Paul Pluzhnikov  <ppluzhnikov@google.com>
52606         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
52607         strings correctly.
52609 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
52611         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
52612         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
52613         * sysdeps/sh/strlen.S: Likewise.
52615 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52617         * sysdeps/unix/fork.S: Remove file.
52618         * sysdeps/unix/i386/fork.S: Likewise.
52619         * sysdeps/unix/sparc/fork.S: Likewise.
52621         * sysdeps/unix/system.c: Remove file.
52622         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
52624         * sysdeps/unix/getegid.S: Remove file.
52625         * sysdeps/unix/geteuid.S: Likewise.
52627 2012-04-24  Roland McGrath  <roland@hack.frob.com>
52629         * scripts/check-localplt.awk: New file.
52630         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
52631         of diff.
52632         * scripts/data/localplt-generic.data: Add a comment.
52634         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
52635         NODE when __dir_mkfile failed.
52636         * sysdeps/mach/hurd/symlinkat.c: Likewise.
52637         Reported by Ludovic Courtès <ludo@gnu.org>.
52639 2012-04-24  Andreas Jaeger  <aj@suse.de>
52641         * Makerules (common-clean): Also remove gen-as-const-headers
52642         files.
52644 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52646         * Makerules (native-compile): Do not change working directory for
52647         build.  Use $(OUTPUT_OPTION) in command.
52648         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
52650 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52652         [BZ #13886]
52653         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
52654         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
52655         * math/libm-test.inc (floor_test): Add more tests.
52656         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
52658 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52660         * sysdeps/unix/getdents.c: Remove file.
52661         * sysdeps/unix/sysv/getdents.c: Likewise.
52662         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
52664         * sysdeps/unix/syscalls.list (madvise): Add syscall from
52665         sysdeps/unix/mman/syscalls.list.
52666         (mmap): Likewise.
52667         (mprotect): Likewise.
52668         (msync): Likewise.
52669         (munmap): Likewise.
52670         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52671         * sysdeps/unix/mman/syscalls.list: Remove.
52672         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52674         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52675         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52676         * configure: Regenerated.
52677         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52678         $(libgcc_s_suffix).
52679         * config.make.in (libgcc_s_suffix): Remove variable.
52681 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
52683         * sysdeps/unix/sysv/gethostname.c: Move to ...
52684         * sysdeps/posix/gethostname.c: ... here.
52686         * sysdeps/unix/execve.S: Remove file.
52688         * sysdeps/unix/_exit.S: Remove file.
52690 2012-04-23  Andreas Jaeger  <aj@suse.de>
52692         [BZ #13739]
52693         * manual/Makefile: Remove make dist support, there's no
52694         need for a stand-alone documentation tar ball.
52695         (TEXI2DVI): Define always, it's not in Makeconfig.
52696         (dist): Removed.
52697         (tar-it): Removed.
52698         (edition): Removed.
52699         (glibc-doc-$(edition).tar): Removed
52700         (%.Z): Removed.
52701         (%.gz): Removed.
52702         (%.uu): Removed.
52703         (ETAGS): Remove, it's in Makeconfig.
52704         (move-if-change): Remove, it's in Makeconfig.
52706 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
52708         [BZ #13970]
52709         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52710         (strtod, strtof, strtold, strtol, strtoul, strtoq)
52711         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52712         (strtod_l, strtof_l, strtold_l): Remove __wur.
52713         It is not necessarily an error to ignore strtol's return value.
52714         One can reliably look at the stored endptr to decide whether
52715         the number had valid syntax.
52717 2012-04-21  Andreas Jaeger  <aj@suse.de>
52719         [BZ #13739]
52720         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52722 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52724         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52725         * sysdeps/unix/sysv/Versions: Remove file.
52727 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52729         [BZ #13927]
52730         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52732 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52734         [BZ #7064]
52735         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52736         version from __vm86.
52738 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52740         * sysdeps/unix/common/lxstat.c: Remove file.
52741         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52743         * sysdeps/unix/sysv/Makefile: Remove file.
52745         * sysdeps/unix/sysv/direct.h: Remove file.
52747         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52748         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52749         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52750         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52751         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52752         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52753         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52755         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52757         * sysdeps/unix/xmknod.c: Remove file.
52758         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52760         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52762         * sysdeps/unix/sysv/i386/time.S: Remove file.
52764         * sysdeps/unix/fxstat.c: Remove file.
52765         * sysdeps/unix/xstat.c: Likewise.
52766         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52768         * sysdeps/unix/sysv/sigaction.c: Remove file.
52770         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52771         (sysdep_headers): Remove variable.
52772         [termio.h not in sysdep_headers] (generated): Likewise.
52773         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52774         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52775         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52776         * sysdeps/unix/sysv/tcflow.c: Likewise.
52777         * sysdeps/unix/sysv/tcflush.c: Likewise.
52778         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52779         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52780         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52781         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52782         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52784         * sysdeps/unix/siglist.c: Remove file.
52786         * sysdeps/unix/getppid.S: Remove file.
52788         * sysdeps/unix/mkdir.c: Remove file.
52789         * sysdeps/unix/rmdir.c: Likewise.
52791 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52793         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52794         ERR_MAX value.
52795         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52796         errlist-compat value.
52798 2012-04-18  David S. Miller  <davem@davemloft.net>
52800         * sysdeps/generic/memcopy.h (reg_char): Delete.
52801         * debug/strcat_chk.c: Use char, not reg_char.
52802         * debug/strcpy_chk.c: Likewise.
52803         * debug/strncat_chk.c: Likewise.
52804         * debug/strncpy_chk.c: Likewise.
52805         * string/memchr.c: Likewise.
52806         * string/memrchr.c: Likewise.
52807         * string/rawmemchr.c: Likewise.
52808         * string/strcat.c: Likewise.
52809         * string/strchr.c: Likewise.
52810         * string/strchrnul.c: Likewise.
52811         * string/strcmp.c: Likewise.
52812         * string/strcpy.c: Likewise.
52813         * string/strncat.c: Likewise.
52814         * string/strncmp.c: Likewise.
52815         * string/strncpy.c: Likewise.
52817 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52819         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52820         __builtin_memcopy is called when src and dest ranges are known to not
52821         overlap.
52823 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52825         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52826         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52827         fwd_align_merge macro call.
52828         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52829         bwd_align_merge macro call.
52830         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52832 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52834         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52835         bwd_align_merge macros.
52836         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52837         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52838         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52840 2012-04-18  David S. Miller  <davem@davemloft.net>
52842         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52844 2012-04-18  Andreas Jaeger  <aj@suse.de>
52846         [BZ# 6794]
52847         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52848         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52849         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52851         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52852         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52853         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52855         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52856         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52857         Adjust for changed ldbl-128 files.
52859         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52860         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52861         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52863 2012-04-17  David S. Miller  <davem@davemloft.net>
52865         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52867 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52869         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52870         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52871         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52872         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52873         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52874         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52876 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52878         [BZ #6794]
52879         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52880         * math/libm-test.inc: Add ilogb errno and exception tests.
52881         * math/w_ilogb.c: New file: ilogb wrapper.
52882         * math/w_ilogbf.c: New file: ilogbf wrapper.
52883         * math/w_ilogbl.c: New file: ilogbl wrapper.
52884         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52885         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52886         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52887         exception being thrown with 0.0 as argument.
52888         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52889         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52890         exception being thrown with 0.0 as argument.
52891         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52892         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52893         exception being thrown with 0.0 as argument.
52894         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52895         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52896         exception being thrown with 0.0 as argument.
52897         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52898         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52899         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52900         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52901         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52902         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52903         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52904         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52905         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52907 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52909         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52910         with altivec.
52912 2012-04-16  Marek Polacek  <polacek@redhat.com>
52914         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52916 2012-04-16  Marek Polacek  <polacek@redhat.com>
52918         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52919         operands of fdivp instruction.
52921 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52923         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52924         * elf/tst-auditmod3b.c: Likewise.
52925         * elf/tst-auditmod4b.c: Likewise.
52926         * elf/tst-auditmod5b.c: Likewise.
52927         * elf/tst-auditmod6b.c: Likewise.
52928         * elf/tst-auditmod6c.c: Likewise.
52929         * elf/tst-auditmod7b.c: Likewise.
52930         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52931         * sysdeps/x86_64/preconfigure.in: Likewise.
52932         * sysdeps/x86_64/preconfigure: Regenerated.
52934 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52936         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52937         __ILP32__.
52939 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52941         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52942         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52944 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52946         [BZ #13973]
52947         * locale/iso-639.def: Fix gl language name. Spotted by
52948         Yaron Shahrabani.
52950 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52952         [BZ #2074]
52953         * libio/libio.h (__io_write_fn): Update comment.
52955 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52957         [BZ #2074]
52958         * stdio.texi (Hook Functions): The user provided writer function
52959         is not allowed to return -1.
52961 2012-04-11  David S. Miller  <davem@davemloft.net>
52963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52965 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52967         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52968         Add a leading slash to rtkaio.
52970 2012-04-11  Jim Meyering  <meyering@redhat.com>
52972         [BZ #11959]
52973         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52974         It is not necessarily an error to ignore fwrite's return
52975         value.  One can reliably use ferror to test for errors after
52976         the fact.
52978 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52980         * bits/types.h (__snseconds_t): New type.
52981         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52983         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52984         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52985         (__SNSECONDS_T_TYPE): Likewise.
52986         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52987         (__SNSECONDS_T_TYPE): Likewise.
52988         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52989         (__SNSECONDS_T_TYPE): Likewise.
52991 2012-04-10  Andreas Jaeger  <aj@suse.de>
52993         [BZ #2636]
52994         * manual/time.texi (Processor Time): Return type of times is
52995         elapsed real time since an arbitrary point in the past.
52996         (CPU Time): Move CLK_TCK from here...
52997         (Processor Time): ...to here.  Correct description.
52998         * manual/conf.texi (Constants for Sysconf): Correct description of
52999         _SC_CLK_TCK.
53001 2012-04-10  David S. Miller  <davem@davemloft.net>
53003         [BZ #13967]
53004         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
53005         where the is a gap between DT_REL(A) and DT_JMPREL.
53007 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
53009         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
53010         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53011         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53013 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53015         * elf/dl-support.c (_dl_inhibit_cache): New variable.
53016         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
53017         (dl_main): Handle --inhibit-cache.
53018         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
53019         _dl_inhibit_cache.
53020         * elf/dl-load.c (_dl_map_object): Use it.
53021         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
53023 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
53025         [BZ #13872]
53026         * sysdeps/i386/fpu/e_powl.S (p78): New object.
53027         (__ieee754_powl): Saturate large exponents rather than testing for
53028         overflow of y*log2(x).
53029         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53030         * math/libm-test.inc (pow_test): Do not permit spurious overflow
53031         exceptions.
53033         [BZ #11521]
53034         * math/s_ctan.c: Include <float.h>.
53035         (__ctan): Avoid internal overflow or cancellation in calculating
53036         denominator.
53037         * math/s_ctanf.c: Likewise.
53038         * math/s_ctanl.c: Likewise.
53039         * math/s_ctanh.c: Likewise.
53040         * math/s_ctanhf.c: Likewise.
53041         * math/s_ctanhl.c: Likewise.
53042         * math/libm-test.inc (ctan_test): Add more tests.
53043         (ctanh_test): Likewise.
53044         * sysdeps/i386/fpu/libm-test-ulps: Update.
53045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53047 2012-04-09  Andreas Jaeger  <aj@suse.de>
53049         [BZ #6894]
53050         * manual/filesys.texi (Directory Entries): Mention that d_namlen
53051         is an optional BSD extension.
53053         [BZ #10254]
53054         * manual/stdio.texi (Opening Streams): Document additional fopen
53055         parameters.
53057 2012-04-09  Roland McGrath  <roland@hack.frob.com>
53059         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
53060         %eax without telling the compiler.
53062 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
53064         [BZ # 13963]
53065         * manual/install.texi: Use sourceware.org.
53067 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
53069         [BZ #13873]
53070         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
53071         (__ieee754_pow): Generate overflow and underflow using huge*huge
53072         and tiny*tiny rather than just returning constant infinity or zero
53073         for large exponents.
53074         * math/libm-test.inc (pow_test): Require overflow exceptions for
53075         applicable cases of large exponents.
53077         [BZ #706]
53078         * sysdeps/i386/fpu/e_pow.S (p10): New object.
53079         (__ieee754_pow): Use iterative multiplication algorithm only for
53080         integer exponents with absolute value below 1024.  Check for odd
53081         integer exponents when using algorithm for real exponents.
53082         * math/libm-test.inc (pow_test): Add more tests.
53083         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53085 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
53087         [BZ #13705]
53088         * math/libm-test.inc (exp_test): Do not allow overflow exception
53089         on underflow test.
53091 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
53093         [BZ #13705]
53094         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
53095         instead of __kernel_standard_f.
53097 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
53099         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
53100         * sysdeps/x86_64/memset_chk.S: Likewise.
53102 2012-04-08  Andreas Jaeger  <aj@suse.de>
53104         [BZ #10153]
53105         * manual/startup.texi (Environment Access): Describe return value
53106         for putenv and setenv.
53108         [BZ #6895]
53109         * manual/filesys.texi (Directory Entries): Add description for
53110         DT_LNK.
53112         [BZ #6890]
53113         * manual/filesys.texi (Directory Entries): Clarify that it's file
53114         system not operating system in the description of DT_UNKNOWN.
53116         [BZ #6578]
53117         * manual/syslog.texi (closelog): Fix reference, it's openlog.
53119 2012-04-08  Stephen Compall  <s11@member.fsf.org>
53121         [BZ #6649]
53122         * manual/llio.texi (Opening and Closing Files): Add cross
53123         reference to explain mode argument.
53125 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
53127         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
53128         * sysdeps/x86_64/memset_chk.S: Likewise.
53130 2012-04-07  David S. Miller  <davem@davemloft.net>
53132         * elf/elf.h (R_SPARC_WDISP10): Define.
53133         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
53134         R_SPARC_SIZE32.
53135         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
53136         R_SPARC_SIZE64 and R_SPARC_H34.
53138 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
53140         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
53141         conditions and remove no longer applicable assertion.
53143 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53145         * bits/byteswap.h: Include <features.h>.
53146         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53147         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53149 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53151         * bits/byteswap.h (__bswap_16): Removed.
53152         Include <bits/byteswap-16.h> to get __bswap_16.
53153         * sysdeps/i386/bits/byteswap.h: Likewise.
53154         * sysdeps/s390/bits/byteswap.h: Likewise.
53155         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53156         * bits/byteswap-16.h: New file.
53157         * sysdeps/i386/bits/byteswap-16.h: Likewise.
53158         * sysdeps/s390/bits/byteswap-16.h: Likewise.
53159         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
53160         * string/Makefile (headers): Add bits/byteswap-16.h.
53162 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53164         [BZ #13895]
53165         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
53166         extra indirection.
53167         * nss/Makefile (tests-static, tests): Add tst-nss-static.
53168         * nss/tst-nss-static.c: New.
53170 2012-04-06  Robert Millan  <rmh@gnu.org>
53172         [BZ #6486]
53173         * manual/llio.texi (File Position Primitive): lseek
53174         refers to WHENCE when it really means OFFSET.
53176 2012-04-06  Andreas Jaeger  <aj@suse.de>
53178         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
53179         strncmp declarations.
53181         * abilist/libc.abilist: Add __poll and __ppoll.
53183 2012-04-05  David S. Miller  <davem@davemloft.net>
53185         * scripts/check-local-headers.sh: Accept a host triplet in the
53186         path matched by the exclude regexp.
53188         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
53189         definition.
53190         * sysdeps/powerpc/powerpc32/dl-machine.h
53191         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
53192         * sysdeps/s390/s390-32/dl-machine.h
53193         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53194         * sysdeps/sparc/sparc32/dl-machine.h
53195         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53196         * sysdeps/sparc/sparc64/dl-machine.h
53197         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53199         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
53200         lazy binding.
53201         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
53202         undefined symbol errors.
53204         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
53205         DT_NEEDED entries.
53207 2012-04-05  Michael Matz  <matz@suse.de>
53209         [BZ #13592]
53210         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
53212 2012-04-05  Andreas Jaeger  <aj@suse.de>
53214         [BZ #13908]
53215         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
53216         comment.
53218 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53220         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
53221         which ROUND is no valid rounding mode.
53223 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53225         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
53226         read again.
53227         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
53229 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53231         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
53232         an exception using FPU order intentionally.
53234 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53236         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
53237         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
53238         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
53239         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
53241 2012-04-05  Simon Josefsson  <simon@josefsson.org>
53243         [BZ #12340]
53244         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
53245         EINVAL when BUFLEN is too smal.
53247 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53249         [BZ #13553]
53250         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
53251         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
53253 2012-04-03  Andreas Jaeger  <aj@suse.de>
53255         [BZ #13938]
53256         * manual/setjmp.texi (System V contexts): Fix sentence.
53258         [BZ #13926]
53259         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
53260         New macro for this case.
53261         [!__GNUC__] (__bswap_64): New inline function for this case.
53262         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53263         * bits/byteswap.h: Likewise.
53264         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
53265         ull, guard with __GLIBC_HAVE_LONG_LONG.
53267         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
53268         __GLIBC_HAVE_LONG_LONG.
53270         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
53271         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
53273 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53275         [BZ #13691]
53276         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
53277         inptr and inend, rather than using last_ch.
53279 2012-04-02  David S. Miller  <davem@davemloft.net>
53281         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
53282         * stdio-common/printf-parse.h (read_int): Change return type to
53283         'int', return -1 on INT_MAX overflow.
53284         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
53285         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
53286         overflows INT_MAX.  Check for overflow of in-format-string precision
53287         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
53288         SIZE_MAX not INT_MAX for integer overflow test.
53289         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
53290         skip the construct in the format string but do not record anything.
53291         * stdio-common/bug22.c: Adjust to test both width/prevision
53292         INT_MAX overflow as well as total length INT_MAX overflow.  Check
53293         explicitly for proper errno values.
53295 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53297         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
53298         CHAR_MAX.
53299         * string/test-strcmp.c [! WIDE]: Likewise.
53300         * time/tst-mktime2.c: Likewise for INT_MAX.
53301         * string/test-string.h: #include <sys/param.h> for MIN.
53303         * csu/init-first.c (__libc_init_first): Call __ctype_init.
53304         * sysdeps/i386/init-first.c (init): Likewise.
53305         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
53306         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
53307         * sysdeps/sh/init-first.c (init): Likewise.
53309 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
53311         * po/ru.po: Update from translation team.
53312         * po/vi.po: Likewise.
53314 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53316         * resolv/nss_dns/dns-host.c: Merge copyright years.
53318 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53320         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53321         Optimize memcpy with prefetch if
53322         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
53323         src, dst pointers have unequal 16 byte alignments.
53325 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53327         [BZ #13928]
53328         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
53329         from a CNAME entry and return the minimum ttl for the query.
53330         (gaih_getanswer_slice): Likewise.
53332 2012-03-30  Jeff Law  <law@redhat.com>
53334         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
53335         due to long keys.
53336         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
53337         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
53339         * resolv/nss_dns/dns-host.c: Update copyright year.
53341 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
53343         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
53344         requests to save a system call.  Fix check that all bytes are sent.
53346         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
53347         comments for sendmmsg.
53349 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53351         [BZ #13691]
53352         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
53353         with only 1 character between 0x0041 and 0x01b0.
53354         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
53355         * wcsmbs/tst-mbsnrtowcs.c: New file.
53357 2012-03-29  David S. Miller  <davem@davemloft.net>
53359         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
53360         small copies by hand.
53362 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53364         [BZ #13761]
53365         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
53366         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
53367         group memberships.
53369 2012-03-28  David S. Miller  <davem@davemloft.net>
53371         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
53372         that branches into memcpy.
53373         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
53374         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
53375         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53376         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
53377         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
53378         bits.
53379         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
53380         implementation too.
53381         * sysdeps/sparc/mempcpy.S: New file.
53383         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
53384         the IFUNC routine in the libc case.
53385         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53387         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
53388         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
53389         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
53390         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
53391         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
53392         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
53393         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
53394         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
53396         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
53397         loop to 256 bytes instead of 64 bytes and fix test signedness.
53399         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
53400         * sysdeps/sparc/sparc32/Makefile: rather than here...
53401         * sysdeps/sparc/sparc64/Makefile: and here.
53403 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
53405         * malloc/mallocbug.c: Avoid warnings about unused variables.
53407 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53409         [BZ #13760]
53410         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
53411         in the right place. Discard and retry query if response is
53412         larger than input buffer size.
53414 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
53416         [BZ #369]
53417         [BZ #2678]
53418         [BZ #3866]
53419         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
53420         x for large integer exponent.
53421         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
53422         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
53423         sign of result as needed afterwards.
53424         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
53425         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
53426         result for underflowing pow the same as for overflow.
53427         (__kernel_standard_l): Handle powl overflow and underflow here
53428         rather than calling __kernel_standard.
53429         * math/libm-test.inc (pow_test): Add more tests.
53431         [BZ #3868]
53432         [BZ #13879]
53433         [BZ #13910]
53434         [BZ #13911]
53435         [BZ #13912]
53436         [BZ #13913]
53437         [BZ #13915]
53438         [BZ #13916]
53439         [BZ #13917]
53440         [BZ #13918]
53441         [BZ #13919]
53442         [BZ #13920]
53443         [BZ #13921]
53444         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
53445         * sysdeps/ieee754/k_standard.c: Include <float.h>.
53446         (__kernel_standard_l): New function.
53447         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
53448         __kernel_standard.
53449         * math/w_acosl.c (__acosl): Likewise.
53450         * math/w_asinl.c (__asinl): Likewise.
53451         * math/w_atan2l.c (__atan2l): Likewise.
53452         * math/w_atanhl.c (__atanhl): Likewise.
53453         * math/w_coshl.c (__coshl): Likewise.
53454         * math/w_exp10l.c (__exp10l): Likewise.
53455         * math/w_exp2l.c (__exp2l): Likewise.
53456         * math/w_fmodl.c (__fmodl): Likewise.
53457         * math/w_hypotl.c (__hypotl): Likewise.
53458         * math/w_j0l.c (__j0l, __y0l): Likewise.
53459         * math/w_j1l.c (__j1l, __y1l): Likewise.
53460         * math/w_jnl.c (__jnl, __ynl): Likewise.
53461         * math/w_lgammal.c (__lgammal): Likewise.
53462         * math/w_log10l.c (__log10l): Likewise.
53463         * math/w_log2l.c (__log2l): Likewise.
53464         * math/w_logl.c (__logl): Likewise.
53465         * math/w_powl.c (__powl): Likewise.
53466         * math/w_remainderl.c (__remainderl): Likewise.
53467         * math/w_scalbl.c (sysv_scalbl): Likewise.
53468         * math/w_sinhl.c (__sinhl): Likewise.
53469         * math/w_sqrtl.c (__sqrtl): Likewise.
53470         * math/w_tgammal.c (__tgammal): Likewise.
53471         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
53472         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
53473         * math/libm-test.inc (acos_test): Add more tests.
53474         (acosh_test): Likewise.
53475         (asin_test): Likewise.
53476         (atanh_test): Likewise.
53477         (exp_test): Likewise.
53478         (exp10_test): Likewise.
53479         (exp2_test): Likewise.
53480         (expm1_test): Likewise.
53481         (lgamma_test): Likewise.
53482         (log_test): Likewise.
53483         (log10_test): Likewise.
53484         (log1p_test): Likewise.
53485         (log2_test): Likewise.
53486         (pow_test): Do not allow some spurious overflow exceptions.
53487         (sqrt_test): Add more tests.
53488         (tgamma_test): Likewise.
53489         (y0_test): Likewise.
53490         (y1_test): Likewise.
53491         (yn_test): Likewise.
53493 2012-03-27  Anton Blanchard  <anton@samba.org>
53495         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
53496         MAP_HUGETLB.
53497         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53498         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53499         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53501 2012-03-27  David S. Miller  <davem@davemloft.net>
53503         * conform/Makefile: Run run-conformtest.sh using $(BASH).
53505         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
53506         have-as-vis3 check.
53508 2012-03-27  Andreas Jaeger  <aj@suse.de>
53510         * sysdeps/x86_64/elf/configure.in: Moved to ...
53511         * sysdeps/x86_64/configure.in: ... here.
53512         * sysdeps/x86_64/elf/start.S: Moved to ...
53513         * sysdeps/x86_64/start.S: ... here.
53514         * sysdeps/x86_64/elf/configure: Delete.
53516         * sysdeps/x86_64/configure.in: Merge contents from
53517         sysdeps/i386/configure.in (without i686 check).
53519         * sysdeps/i386/elf/Versions: Merge into ...
53520         * sysdeps/i386/Versions: ... this.
53521         * sysdeps/i386/elf/Versions: Delete file.
53522         * sysdeps/i386/elf/start.S: Moved to ...
53523         * sysdeps/i386/start.S: ...here.
53524         * sysdeps/i386/elf/configure.in: Merge into...
53525         * sysdeps/i386/configure.in: ...here.
53526         * sysdeps/i386/elf/configure.in: Delete file.
53527         * sysdeps/i386/elf/configure: Delete file.
53529         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
53530         * debug/backtracesyms.c: ... here.
53531         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
53532         * debug/backtracesymsfd.c: ... here.
53533         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
53534         * sysdeps/generic/ifunc-sel.h: ... here.
53536         * sysdeps/unix/i386/start.c: Delete file.
53537         * sysdeps/unix/sparc/start.c: Delete file.
53538         * sysdeps/unix/start.c: Delete file.
53540         * sysdeps/sh/elf/configure.in: Moved to ...
53541         * sysdeps/sh/configure.in: ... here.
53542         * sysdeps/sh/elf/start.S: Moved to ...
53543         * sysdeps/sh/start.S: ... here.
53544         * sysdeps/sh/elf/configure: Delete file.
53546         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
53547         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
53548         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
53549         * sysdeps/powerpc/powerpc64/entry.h: ... here.
53550         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
53551         * sysdeps/powerpc/powerpc64/start.S: here.
53552         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
53553         * sysdeps/powerpc/powerpc64/Makefile: ... this.
53554         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
53555         * sysdeps/powerpc/powerpc64/configure.in: ... this.
53556         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
53558         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
53559         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
53560         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
53561         * sysdeps/powerpc/powerpc32/start.S: ... here.
53562         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
53563         * sysdeps/powerpc/powerpc32/configure.in: ... this.
53564         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
53566         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
53567         * sysdeps/powerpc/ifunc-sel.h: ... here.
53568         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
53569         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
53571         * sysdeps/sparc/elf/configure.in: Moved to ...
53572         * sysdeps/sparc/configure.in: ... here.
53573         * sysdeps/sparc/elf/configure: Delete file.
53574         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
53575         * sysdeps/sparc/sparc32/start.S: ... here.
53576         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
53577         * sysdeps/sparc/sparc64/start.S: ... here.
53578         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
53579         * sysdeps/sparc/sparc32/Makefile: ... this.
53580         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
53581         * sysdeps/sparc/sparc64/Makefile: ... this.
53583         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
53584         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
53585         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
53586         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
53587         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
53588         * sysdeps/s390/s390-32/setjmp.S: ... here.
53589         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
53590         * sysdeps/s390/s390-32/configure.in: ... here.
53591         * sysdeps/s390/s390-32/elf/configure: Delete file.
53592         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
53593         * sysdeps/s390/s390-32/start.S: ... here.
53595         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
53596         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
53597         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
53598         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
53599         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
53600         * sysdeps/s390/s390-64/setjmp.S: ... here.
53601         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
53602         * sysdeps/s390/s390-64/configure.in: ... here
53603         * sysdeps/s390/s390-64/elf/configure: Delete file.
53604         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
53605         * sysdeps/s390/s390-64/start.S: ... here.
53606         * sysdeps/s390/s390-64/elf/configure: Delete.
53608         * configure.in: Remove support for elf directories in sysdeps.
53610         * configure: Regenerated.
53611         * sysdeps/i386/configure: Regenerated.
53612         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53613         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53614         * sysdeps/s390/s390-32/configure: Regenerated.
53615         * sysdeps/s390/s390-64/configure: Regenerated.
53616         * sysdeps/sh/configure: Regenerated.
53617         * sysdeps/sparc/configure: Regenerated.
53618         * sysdeps/x86_64/configure: Regenerated.
53620 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
53622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53624         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
53625         denormal result into account.
53627 2012-03-25  Roland McGrath  <roland@hack.frob.com>
53629         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
53630         Reported by Allan McRae <allan@archlinux.org>.
53632 2012-03-23  Jeff Law  <law@redhat.com>
53634         * nss/getnssent.c (__nss_getent): Fix typo.
53636 2012-03-23  David S. Miller  <davem@davemloft.net>
53638         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53640 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
53642         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
53643         to pad to uint64_t for each field.
53644         (dl_tls_index): Replace unsigned long with uint64_t.
53646 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
53647         Paul Pluzhnikov  <ppluzhnikov@google.com>
53649         [BZ #6528]
53650         * grp/Makefile (otherlibs): Don't set it.
53651         * inet/Makefile (otherlibs): Likewise.
53652         * login/Makefile (otherlibs): Likewise.
53653         * nscd/Makefile (otherlibs): Likewise.
53654         * posix/Makefile (otherlibs): Likewise.
53655         * pwd/Makefile (otherlibs): Likewise.
53656         * rt/Makefile (otherlibs): Likewise.
53657         * sunrpc/Makefile (otherlibs): Likewise.
53658         * nss/Makefile (otherlibs): Likewise.
53659         Add libnss_files to routines and static-only-routines.
53660         ($(objpfx)getent): Remove rule.
53661         * resolv/Makefile: Add libnss_dns and libresolv to routines and
53662         static-only-routines.
53664 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53666         [BZ #13892]
53667         * math/s_cexp.c: Include <float.h>.
53668         (__cexp): Handle exp result overflowing not necessarily
53669         overflowing both real and imaginary parts of result.
53670         * math/s_cexpf.c: Likewise.
53671         * math/s_cexpl.c: Likewise.
53672         * math/libm-test.inc (cexp_test): Add more tests.
53673         * sysdeps/i386/fpu/libm-test-ulps: Update.
53674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53676 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53678         * include/link.h (ELFW): New macro.
53679         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53680         Replace ELF64_R_TYPE with ELFW(R_TYPE).
53682 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53684         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53685         with uint64_t.
53687 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53689         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53690         declaration.
53691         (struct La_x32_retval): Likewise.
53693 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53695         * sysdeps/x86_64/preconfigure.in: New file.
53696         * sysdeps/x86_64/preconfigure: New generated file.
53698 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53700         [BZ #13824]
53701         * math/e_exp2l.c: Include <float.h>.
53702         (__ieee754_exp2l): Handle overflow and underflow cases
53703         separately.  Only pass fractional part of argument to
53704         __ieee754_expl.
53705         * math/libm-test.inc (exp2_test): Add more tests.
53707         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53708         negating x to take absolute value.
53709         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53710         Likewise.
53711         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53712         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53713         Likewise.
53714         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53715         computing low part if x was negated.
53716         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53718 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53720         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53721         la_x32_gnu_pltexit.
53722         (pltexit): Cast int_retval to ptrdiff_t.
53723         * elf/tst-auditmod3b.c: Likewise.
53724         * elf/tst-auditmod4b.c: Likewise.
53725         * elf/tst-auditmod5b.c: Likewise.
53726         * elf/tst-auditmod6b.c: Likewise.
53727         * elf/tst-auditmod6c.c: Likewise.
53728         * elf/tst-auditmod7b.c: Likewise.
53730         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53731         and x32_gnu_pltexit.
53733         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53734         __ELF_NATIVE_CLASS.
53735         (La_x32_regs): New macro.
53736         (La_x32_retval): Likewise.
53737         (la_x32_gnu_pltenter): New function prototype.
53738         (la_x32_gnu_pltexit): Likewise.
53740 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53742         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53743         exponent.
53745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53747         * configure.in (libc_cv_cc_nofma): Check for option to disable
53748         generation of FMA instructions.
53749         * configure: Regenerate.
53750         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53751         * sysdeps/ieee754/dbl-64/Makefile: New file.
53752         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53753         Remove brandred-fma4.
53754         (CFLAGS-brandred-fma4.c): Remove.
53755         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53756         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53757         define.
53758         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53759         define.
53761 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53763         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53764         LLONG_MAX != LONG_MAX.
53765         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53766         (_fitoa_word): Likewise.
53767         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53768         LLONG_MAX != LONG_MAX.
53769         * stdio-common/_itowa.h: Include <_itoa.h>.
53770         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53771         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53772         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53773         only if not defined.
53774         (_ITOA_WORD_TYPE): Likewise.
53775         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53776         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53778 2012-03-21  David S. Miller  <davem@davemloft.net>
53780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53782 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53784         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53785         of x86_64 when setting libc_cv_slibdir, libdir and
53786         libc_cv_localedir.
53787         * sysdeps/unix/sysv/linux/configure: Regenerated.
53789 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53791         * manual/lang.texi (Old Varargs): Remove section.
53792         (How Variadic): Update menu.
53793         (va_start): Do not mention varargs.h.
53795 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53796             Joseph Myers  <joseph@codesourcery.com>
53798         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53799         link test.
53800         * configure: Regenerated.
53802 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53804         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53805         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53806         conformtest.pl
53808 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53810         * NOTES: Remove.
53811         * Makefile (files-for-dist): Remove NOTES.
53812         (NOTES): Remove rule.
53813         * README: Don't refer to NOTES.
53814         * manual/creature.texi: Don't include macros.texi.
53815         * manual/intro.texi (creature.texi): Remove comment referring to
53816         NOTES.
53818         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53819         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53820         * configure: Regenerated.
53821         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53822         LIBC_TRY_CC_OPTION.
53823         (libc_cv_as_i686): Likewise.
53824         (libc_cv_cc_avx): Likewise.
53825         (libc_cv_cc_sse2avx): Likewise.
53826         (libc_cv_cc_fma4): Likewise.
53827         (libc_cv_cc_novzeroupper): Likewise.
53828         * sysdeps/i386/configure: Regenerated.
53830         [BZ #13883]
53831         * sysdeps/i386/fpu/s_cexp.S: Remove.
53832         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53833         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53834         * math/libm-test.inc (cexp_test): Add more tests.
53835         * sysdeps/i386/fpu/libm-test-ulps: Update.
53836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53838 2012-03-21  Allan McRae  <allan@archlinux.org>
53840         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53842 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53844         [BZ #13871]
53845         * math/w_exp2.c: Do not include <float.h>.
53846         (o_threshold, u_threshold): Remove.
53847         (__exp2): Calculate result before checking finiteness and calling
53848         __kernel_standard.
53849         * math/w_exp2f.c: Likewise.
53850         * math/w_exp2l.c: Likewise.
53851         * math/libm-test.inc (exp2_test): Require overflow exception for
53852         1e6 input.
53854         [BZ #3866]
53855         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53856         range of signed 64-bit integers before using fistpll.  Remove
53857         checks for whether integers fit in mantissa bits.
53858         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53859         the range of signed 32-bit integers before using fistpl.  Remove
53860         checks for whether integers fit in mantissa bits.
53861         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53862         (__ieee754_powl): Test for y outside the range of signed 64-bit
53863         integers before using fistpll.  Reduce 64-bit values to 63-bit
53864         ones as needed.
53865         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53866         divide-by-zero is raised for zero to large negative powers.
53867         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53868         (__ieee754_powl): Test for y outside the range of signed 64-bit
53869         integers before using fistpll.  Reduce 64-bit values to 63-bit
53870         ones as needed.
53871         * math/libm-test.inc (pow_test): Add more tests.
53873 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53875         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53876         <stdio-common/_itoa.h>.
53877         * debug/segfault.c: Likewise.
53878         * elf/dl-cache.c: Likewise.
53879         * elf/dl-minimal.c: Likewise.
53880         * elf/dl-misc.c: Likewise.
53881         * elf/dl-sysdep.c: Likewise.
53882         * elf/dl-version.c: Likewise.
53883         * elf/rtld.c: Likewise.
53884         * hurd/hurdsock.c: Likewise.
53885         * hurd/lookup-retry.c: Likewise.
53886         * malloc/malloc.c: Likewise.
53887         * malloc/mtrace.c: Likewise.
53888         * nscd/nscd_getgr_r.c: Likewise.
53889         * nscd/nscd_getpw_r.c: Likewise.
53890         * nscd/nscd_getserv_r.c: Likewise.
53891         * posix/getopt_init.c: Likewise.
53892         * posix/wordexp.c: Likewise.
53893         * stdio-common/_itoa.c: Likewise.
53894         * stdio-common/printf_fphex.c: Likewise.
53895         * stdio-common/vfprintf.c: Likewise.
53896         * string/_strerror.c: Likewise.
53897         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53898         * sysdeps/i386/i686/hp-timing.h: Likewise.
53899         * sysdeps/mach/_strerror.c: Likewise.
53900         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53901         * sysdeps/mach/hurd/sethostid.c: Likewise.
53902         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53903         * sysdeps/mach/xpg-strerror.c: Likewise.
53904         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53905         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53906         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53907         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53908         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53909         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53910         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53911         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53912         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53913         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53914         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53915         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53916         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53917         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53918         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53919         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53920         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53921         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53922         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53923         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53924         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53926         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53928         * stdio-common/_itoa.h: Moved to ...
53929         * sysdeps/generic/_itoa.h: Here.
53931         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53933         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53934         instead of "_itoa.h" and "_itowa.h".
53935         * stdio-common/vfprintf.: Likewise.
53937 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53939         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53940         <bits/wordsize.h>.
53941         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53942         (__signbit): Likwise.
53943         (llrintf): Likwise.
53944         (llrint): Likwise.
53946 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53948         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53949         __WORDSIZE != 64.
53951 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53953         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53954         OVERFLOW_EXCEPTION_OK.
53955         * math/libm-test.inc ("Philosophy"): Update comment about
53956         exception testing.
53957         (OVERFLOW_EXCEPTION): Define.
53958         (OVERFLOW_EXCEPTION_OK): Likewise.
53959         (INVALID_EXCEPTION_OK): Renumber.
53960         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53961         (IGNORE_ZERO_INF_SIGN): Likewise.
53962         (test_exceptions): Handle FE_OVERFLOW.
53963         (exp10_test): Expect overflow exceptions.
53964         (exp2_test): Likewise.
53965         (expm1_test): Likewise.
53966         (nextafter_test): Likewise.
53967         (pow_test): Likewise.
53968         (scalbn_test): Likewise.
53969         (scalbln_test): Likewise.
53971 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53973         * sysdeps/x86_64/bits/atomic.h
53974         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53975         64bit integer.
53976         (atomic_exchange_acq): Likewise.
53977         (__arch_exchange_and_add_body): Likewise.
53978         (__arch_add_body): Likewise.
53979         (atomic_add_negative): Likewise.
53980         (atomic_add_zero): Likewise.
53982 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53984         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53985         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53987 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53989         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53990         Check __x86_64__ instead of __WORDSIZE.
53992 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53994         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53996 2012-03-19  David S. Miller  <davem@davemloft.net>
53998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54000         * sysdeps/sparc/fpu/fenv_private.h: New file.
54001         * sysdeps/sparc/fpu/math_private.h: Use it.
54002         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
54003         Remove.
54004         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
54005         (libc_feholdexcept_setroundl): Remove.
54006         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
54007         Remove.
54008         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
54009         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
54011 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54013         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
54014         int64_t instead of long int.
54015         (INSERT_WORDS64): Likwise.
54017 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54019         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
54020         _Unwind_GetCFA return to _Unwind_Ptr first.
54022 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
54024         [BZ #13629]
54025         * math/s_clog.c: Include <float.h>.
54026         (__clog): Scale large or subnormal inputs.
54027         * math/s_clogf.c: Likewise.
54028         * math/s_clogl.c: Likewise.
54029         * math/s_clog10.c: Include <float.h>.
54030         (M_LOG10_2): Define.
54031         (__clog10): Scale large or subnormal inputs.
54032         * math/s_clog10f.c: Likewise.
54033         * math/s_clog10l.c: Likewise.
54034         * math/libm-test.inc (clog_test): Add more tests.
54035         (clog10_test): Likewise.
54036         * sysdeps/i386/fpu/libm-test-ulps: Update.
54037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54039         [BZ #11451]
54040         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
54041         x and y.
54042         * math/libm-test.inc (atan2_test): Add another test.
54044         * Makerules (common-objdir-compile): Remove.
54045         * sysdeps/unix/Makefile (config-generated): Do not add
54046         $(unix-generated) to variable.
54047         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
54048         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
54049         Remove rule.
54050         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
54051         Likewise.
54052         [generic bits/local_lim.h] (before-compile): Do not append to
54053         variable.
54054         [generic bits/local_lim.h] (common-generated): Likewise.
54055         [generic sys/param.h] (before-compile): Do not append to variable.
54056         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
54057         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
54058         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
54059         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
54060         include.
54061         [generic sys/param.h] (sys/param.h-includes): Remove variable.
54062         [generic sys/param.h] (sys/param.h-includes): Remove rule.
54063         [generic sys/param.h] ($(addprefix
54064         $(common-objpfx),$(sys/param.h-includes))): Likewise.
54065         [generic sys/param.h] (common-generated): Do not append to
54066         variable.
54067         [generic sys/param.h] (sysdep_headers): Likewise.
54068         [generic bits/errno.h] (before-compile): Do not append to
54069         variable.
54070         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
54071         rule.
54072         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
54073         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
54074         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
54075         [generic bits/errno.h] (common-generated): Do not append to
54076         variable.
54077         [generic bits/ioctls.h] (before-compile): Do not append to
54078         variable.
54079         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
54080         rule.
54081         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
54082         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
54083         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
54084         rule.
54085         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
54086         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
54087         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
54088         [generic bits/ioctls.h] (common-generated): Do not append to
54089         variable.
54090         [generic sys/syscall.h] (syscall.h): Remove variable.
54091         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
54092         rule.
54093         [generic sys/syscall.h] (before-compile): Do not append to
54094         variable.
54095         [generic sys/syscall.h] (common-generated): Likewise.
54096         * sysdeps/unix/errnos-tmpl.c: Remove file.
54097         * sysdeps/unix/errnos.awk: Likewise.
54098         * sysdeps/unix/ioctls-tmpl.c: Likewise.
54099         * sysdeps/unix/ioctls.awk: Likewise.
54100         * sysdeps/unix/mk-local_lim.c: Likewise.
54101         * sysdeps/unix/snarf-ioctls: Likewise.
54103 2012-03-19  Richard Henderson  <rth@twiddle.net>
54105         * sysdeps/i386/fpu/fenv_private.h: New file.
54106         * sysdeps/i386/fpu/math_private.h: Use it.
54107         (math_opt_barrier, math_force_eval): Remove.
54108         (libc_feholdexcept_setround_53bit): Remove.
54109         (libc_feupdateenv_53bit): Remove.
54110         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54111         (math_opt_barrier, math_force_eval): Remove.
54112         (libc_feholdexcept): Remove.
54113         (libc_feholdexcept_setround): Remove.
54114         (libc_fetestexcept, libc_fesetenv): Remove.
54115         (libc_feupdateenv_test): Remove.
54116         (libc_feupdateenv, libc_feholdsetround): Remove.
54117         (libc_feresetround): Remove.
54119         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
54120         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
54122         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
54123         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
54124         (libc_feupdateenv_testl): New.
54125         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
54126         (libc_feupdateenv_testf): New.
54127         (libc_feupdateenv): Use libc_feupdateenv_test.
54128         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
54129         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
54131         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
54132         (libc_feholdsetroundf, libc_feholdsetroundl): New.
54133         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
54134         (libc_feresetround_noex): New.
54135         (libc_feresetround_noexf): New.
54136         (libc_feresetround_noexl): New.
54137         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
54138         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
54139         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
54140         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
54141         SET_RESTORE_ROUND.
54142         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54143         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
54144         (__cos): Likewise.
54145         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
54146         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
54147         SET_RESTORE_ROUND_NOEX.
54148         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
54149         SET_RESTORE_ROUND_NOEXF.
54150         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
54151         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
54152         (libc_feholdsetroundf): New.
54153         (libc_feresetround, libc_feresetroundf): New.
54155         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
54156         (libc_feholdexcept_setround_53bit): Convert from macro to function.
54157         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
54159         * sysdeps/generic/math_private.h: Include <fenv.h>.
54160         (default_libc_feholdexcept): New.
54161         (default_libc_feholdexcept_setround): New.
54162         (default_libc_fesetenv, default_libc_feupdateenv): New.
54163         (libc_feholdexcept): Only define if undefined.
54164         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
54165         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
54166         (libc_feholdexcept_setroundl): Likewise.
54167         (libc_feholdexcept_setround_53bit): Likewise.
54168         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
54169         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
54170         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
54171         (libc_feupdateenv_53bit): Likewise.
54172         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
54173         (libc_feholdexcept): Convert from macro to inline function.
54174         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
54175         (libc_fesetenv, libc_feupdateenv): Likewise.
54177         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
54178         not previously defined.
54179         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
54180         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
54181         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
54182         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
54183         * sysdeps/ieee754/flt-32/math_private.h: New file.
54184         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
54185         math_private.h below SET_FLOAT_WORD.
54186         (__isnan, __isinf_ns, __finite): Remove.
54187         (__isnanf, __isinf_nsf, __finitef): Remove.
54189 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
54191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54193 2012-03-17  David S. Miller  <davem@davemloft.net>
54195         [BZ #6471]
54196         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
54197         for 2.16.
54199 2012-03-16  David S. Miller  <davem@davemloft.net>
54201         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
54202         warnings.
54204         [BZ #6471]
54205         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
54206         properly.
54207         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
54208         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
54209         sysdep_routines when subdir is sysvipc.
54210         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
54211         __getshmlba helper.
54213         * sysdeps/sparc/fpu/libm-test/ulps: Update.
54215 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54217         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
54218         [__LP64__].
54220 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54222         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
54223         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
54224         (__lround): Renamed to ...
54225         (__llround): This.  Replace long int with long long int.
54226         Define lround functions as aliases of llround functions.
54227         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
54229 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54231         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
54232         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
54233         adresses to uintptr_t.  Replace "long int" and "unsigned long
54234         int" with "greg_t" on va_arg.
54236 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54238         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
54239         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
54241         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
54242         Move e_machine check before EI_CLASS check.  Handle x32
54243         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
54244         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
54245         SKIP_EM_IA_64 and include
54246         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
54248         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
54249         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
54250         (add_system_dir): New macro.
54252         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
54253         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
54255 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54257         [BZ #2551]
54258         [BZ #2552]
54259         [BZ #2553]
54260         [BZ #2554]
54261         [BZ #2562]
54262         [BZ #2563]
54263         [BZ #2565]
54264         [BZ #2566]
54265         [BZ #2576]
54266         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
54267         (y0): Likewise.
54268         * math/w_j0f.c (j0f): Likewise.
54269         (y0f): Likewise.
54270         * math/w_j0l.c (__j0l): Likewise.
54271         (__y0l): Likewise.
54272         * math/w_j1.c (j1): Likewise.
54273         (y1): Likewise.
54274         * math/w_j1f.c (j1f): Likewise.
54275         (y1f): Likewise.
54276         * math/w_j1l.c (__j1l): Likewise.
54277         (__y1l): Likewise.
54278         * math/w_jn.c (jn): Likewise.
54279         (yn): Likewise.
54280         * math/w_jnf.c (jnf): Likewise.
54281         (ynf): Likewise.
54282         * math/w_jnl.c (__jnl): Likewise.
54283         (__ynl): Likewise.
54284         * math/libm-test.inc (j0_test): Add more tests.
54285         (j1_test): Likewise.
54286         (jn_test): Likewise.  Add trailing semicolon to existing test.
54287         (y0_test): Likewise.
54288         (y1_test): Likewise.
54289         * sysdeps/i386/fpu/libm-test-ulps: Update.
54290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54292         [BZ #13851]
54293         [BZ #13854]
54294         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
54295         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
54296         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
54297         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
54298         (__tanl): Set errno for infinite argument.
54299         * sysdeps/i386/fpu/mptan.c: Remove.
54300         * sysdeps/i386/fpu/s_tan.S: Likewise.
54301         * sysdeps/i386/fpu/s_tanl.S: Likewise.
54302         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
54303         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
54304         * math/libm-test.inc (tan_test): Add more tests and enable more
54305         tests for double and long double.
54306         * sysdeps/i386/fpu/libm-test-ulps: Update.
54307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54309 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
54311         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
54312         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
54314 2012-03-16  Roland McGrath  <roland@hack.frob.com>
54316         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
54317         * configure.in: Use it for both main tree and add-ons.
54318         * configure: Regenerated.
54320 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54322         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
54324 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54326         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
54327         in comment.
54329         [BZ #13851]
54330         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
54331         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
54332         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
54333         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
54334         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
54335         infinite argument.
54336         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
54337         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
54338         != 0 for prec == 2.
54339         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
54340         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
54341         * sysdeps/i386/fpu/s_cosl.S: Likewise.
54342         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
54343         * sysdeps/i386/fpu/s_sinl.S: Likewise.
54344         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
54345         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
54346         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
54347         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
54348         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
54349         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
54350         * math/libm-test.inc (cos_test): Add more tests and enable more
54351         tests for long double.
54352         (sin_test): Likewise.
54353         (sincos_test): Likewise.
54354         * sysdeps/i386/fpu/libm-test-ulps: Update.
54355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54357 2012-03-16  David S. Miller  <davem@davemloft.net>
54359         * sysdeps/sparc/fpu/math_private.h: New file.
54361 2012-03-15  David S. Miller  <davem@davemloft.net>
54363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
54364         file.
54365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
54366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
54367         file.
54368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
54369         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
54370         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
54371         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
54372         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
54373         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
54374         sysdep routines.
54375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54377         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
54378         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
54380         * sysdeps/sparc/sparc-ifunc.h: New file.
54381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
54382         sparc-ifunc.h
54383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
54385         Likewise.
54386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
54387         Likewise.
54388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
54389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
54390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54392         Likewise.
54393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
54395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
54397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
54398         Likewise.
54399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
54400         Likewise.
54401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
54403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
54404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
54405         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54406         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54407         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
54408         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
54409         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54410         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54411         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
54412         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
54413         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
54414         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
54415         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
54416         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
54417         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
54418         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
54419         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
54420         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
54421         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
54422         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
54423         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
54424         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
54426 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54428         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
54429         scaling.
54430         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54432 2012-03-15  Andreas Jaeger  <aj@suse.de>
54434         [BZ #13852]
54435         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
54436         ieee754/flt-32 implementation for sin, cos and sincos.
54437         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
54438         * sysdeps/i386/fpu/s_cosf.S: Likewise.
54439         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
54440         * sysdeps/i386/fpu/s_sinf.S: Likewise.
54441         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
54442         ieee754/flt-32 implementation for tan.
54444         * math/libm-test.inc (cos_test): Enable some large input tests for
54445         float as well
54446         (sin_test): Likewise.
54447         (sincos_test): Likewise.
54448         (tan_test): Add tests for large input.
54450         * sysdeps/i386/fpu/libm-test-ulps: Update.
54452 2012-03-15  Andreas Jaeger  <aj@suse.de>
54454         [BZ #13658]
54455         * math/libm-test.inc (cos_test): Add more test cases.
54456         (sin_test): Likewise.
54457         (sincos_test): Likewise.
54459 2012-03-15  Andreas Jaeger  <aj@suse.de>
54461         [BZ #13837]
54462         * math/libm-test.inc (cos_test): Add a test case for large input
54463         value.
54464         (sin_test): Likewise.
54465         (sincos_test): Likewise.
54467 2012-03-15  Andreas Jaeger  <aj@suse.de>
54468             Joseph Myers  <joseph@codesourcery.com>
54470         [BZ #13658]
54471         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
54472         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
54473         * sysdeps/i386/fpu/branred.c: Likewise.
54474         * sysdeps/i386/fpu/dosincos.c: Likewise.
54475         * sysdeps/i386/fpu/mpa.c: Likewise.
54476         * sysdeps/i386/fpu/s_cos.S: Likewise.
54477         * sysdeps/i386/fpu/s_sin.S: Likewise.
54478         * sysdeps/i386/fpu/s_sincos.S: Likewise.
54479         * sysdeps/i386/fpu/sincos32.c: Likewise.
54481         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
54482         Define.
54483         (libc_feupdateenv_53bit): Define.
54484         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
54485         Define.
54486         (libc_feupdateenv_53bit): Define.
54488         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
54489         53 bit (without extend i386 double precision).
54491         * math/libm-test.inc (sincos_test): Add tests for large input.
54492         (sin): Likewise.
54493         (cos): Likewise.
54495         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
54497 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54501 2012-03-15  David S. Miller  <davem@davemloft.net>
54503         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
54504         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
54505         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
54506         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
54507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
54508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
54509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
54510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
54511         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
54512         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
54513         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
54514         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
54515         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
54516         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
54517         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
54518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
54519         file.
54520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
54521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
54522         file.
54523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
54524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
54525         file.
54526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
54527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
54528         file.
54529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
54530         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
54531         fmin/fmax sysdep routines.
54532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54534 2012-03-14  David S. Miller  <davem@davemloft.net>
54536         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
54537         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
54538         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
54539         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
54540         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
54541         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
54542         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
54543         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
54544         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
54545         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
54546         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
54547         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
54548         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
54549         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
54550         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
54551         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
54552         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
54553         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
54554         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
54555         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
54556         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
54557         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
54558         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
54559         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
54560         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
54561         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
54562         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
54563         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
54564         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
54565         routines.
54566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
54567         file.
54568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
54569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
54570         file.
54571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
54572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
54573         file.
54574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
54575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
54576         file.
54577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
54578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
54579         file.
54580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
54581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
54582         file.
54583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
54584         file.
54585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
54586         file.
54587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
54588         file.
54589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
54590         New file.
54591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
54592         file.
54593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
54594         file.
54595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
54596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
54597         file.
54598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
54599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
54600         file.
54601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
54602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
54603         file.
54604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
54605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
54606         VIS3 routines.
54608         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54609         New file.
54611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54613         * sysdeps/sparc/configure.in: New file.
54614         * sysdeps/sparc/configure: Generate.
54615         * configure.in (libc_cv_sparc_as_vis3): Substitute.
54616         * configure: Regenerate.
54617         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
54618         * config.make.in (have-as-vis3): New.
54619         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
54620         available use -Av9d instead of -Av9a.
54621         * sysdeps/sparc/sparc64/Makefile: Likewise.
54622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
54623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
54624         New file.
54625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
54626         file.
54627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
54628         New file.
54629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
54630         file.
54631         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
54632         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
54633         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
54634         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
54635         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
54637         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
54638         fzeros/fnegs to load 0x80000000 into a float register instead of
54639         using the stack.
54640         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
54642 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54644         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54645         bits/syscall.h.
54646         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
54647         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
54648         ($(inst_includedir)/bits/syscall.h): Remove rule.
54649         ($(objpfx)bits/syscall.d): Include instead of
54650         $(objpfx)syscall-list.d.
54651         (generated): Change syscall-list.h and syscall-list.d to
54652         bits/syscall.h and bits/syscall.d.
54654 2012-03-14  Roland McGrath  <roland@hack.frob.com>
54656         [BZ #13846]
54657         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
54659 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54661         [BZ #13841]
54662         * math/s_csqrt.c: Include <float.h>.
54663         (__csqrt): Scale large or subnormal inputs.
54664         * math/s_csqrtf.c: Likewise.
54665         * math/s_csqrtl.c: Likewise.
54666         * math/libm-test.inc (csqrt_test): Add more tests.
54667         * sysdeps/i386/fpu/libm-test-ulps: Update.
54668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54670         [BZ #13840]
54671         * math/libm-test.inc (hypot_test): Add more tests.
54673 2012-03-13  David S. Miller  <davem@davemloft.net>
54675         [BZ #13840]
54676         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54677         double-precision for the calculation instead of scaling.
54679 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
54681         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54682         manipulate bits before adding and subtracting TWO52[sx].
54683         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54684         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54685         Likewise.
54686         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54688 2012-03-13  David S. Miller  <davem@davemloft.net>
54690         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54691         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54692         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54693         rtld-global-offsets.h
54694         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54696         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54697         large parameters.
54699         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54701         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54702         'err' in the ifdef scope in which it is actually used.
54704         * nss/nss_db/db-init.c: Include string.h
54706 2012-03-12  David S. Miller  <davem@davemloft.net>
54708         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54709         masking out of the most significant byte of random value used.
54710         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54711         Fix coding style in previous change.
54713         * sysdeps/unix/sysv/linux/kernel-features.h
54714         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54715         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54716         expression.
54717         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54718         later.
54720 2012-03-11  David S. Miller  <davem@davemloft.net>
54722         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54723         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54724         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54725         for 'resultvar' otherwise things get truncated on 64-bit.
54727         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54728         Fix masking out of the most significant byte of random value used.
54730         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54732 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54736 2012-03-09  David S. Miller  <davem@davemloft.net>
54738         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54739         variables with appropriate CPP guards.
54740         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54741         from the frame pointer, not the stack pointer.  Correct layout
54742         comments.  Fix test on resulting framesize and the management of
54743         the outregs buffer for pltexit.  Preserve floating point return
54744         values across _dl_call_pltexit call.
54745         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54746         framesize and the management of the outregs buffer for pltexit.
54747         Preserve floating point return values across _dl_call_pltexit
54748         call.
54749         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54750         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54751         (la_sparc64_gnu_pltexit): New functions.
54752         (print_exit): Fix format string for return register value.
54754 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54756         * sunrpc/Makefile (others): Add rpcgen.
54757         ($(objpfx)rpcgen): Remove special build rule and dependency on
54758         libc.
54759         * sunrpc/rpcgen.c: New file.
54761 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54763         [BZ #13673]
54764         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54765         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54766         * sysdeps/i386/crti.S: Likewise.
54767         * sysdeps/i386/crtn.S: Likewise.
54768         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54769         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54770         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54771         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54772         * sysdeps/sh/crti.S: Likewise.
54773         * sysdeps/sh/crtn.S: Likewise.
54774         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54776         [BZ #13673]
54777         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54778         with URL.
54779         * locale/programs/locfile-kw.gperf: Likewise.
54780         * locale/programs/charmap-kw.h: Regenerated.
54781         * locale/programs/locfile-kw.h: Likewise.
54783         [BZ #13673]
54784         * intl/plural.y: Replace FSF snail mail address with URL.
54785         * intl/plural.c: Regenerated.
54787 2012-03-09  Richard Henderson  <rth@twiddle.net>
54789         * include/math_private.h: Remove file.
54790         * math/math_private.h: Move file ...
54791         * sysdeps/generic/math_private.h: ... here.
54793         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54794         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54795         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54797         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54798         and <math_private.h>.
54799         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54800         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54801         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54802         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54803         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54804         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54805         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54806         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54807         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54808         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54809         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54810         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54811         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54812         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54813         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54814         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54815         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54816         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54817         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54818         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54819         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54820         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54821         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54822         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54823         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54824         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54825         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54826         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54827         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54828         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54829         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54830         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54831         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54832         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54833         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54834         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54835         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54836         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54837         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54838         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54839         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54840         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54841         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54842         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54843         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54844         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54845         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54846         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54847         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54848         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54849         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54850         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54851         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54852         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54853         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54854         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54855         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54856         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54857         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54858         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54859         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54860         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54861         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54862         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54863         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54864         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54865         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54866         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54867         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54868         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54869         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54870         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54871         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54872         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54873         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54874         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54875         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54876         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54877         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54878         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54879         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54880         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54881         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54882         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54883         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54884         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54885         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54886         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54887         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54888         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54889         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54890         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54891         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54892         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54893         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54894         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54895         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54896         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54897         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54898         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54899         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54900         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54901         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54902         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54903         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54904         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54905         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54906         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54907         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54908         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54909         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54910         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54911         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54912         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54913         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54914         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54915         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54916         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54917         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54918         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54919         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54920         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54921         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54922         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54923         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54924         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54925         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54926         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54927         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54928         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54929         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54930         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54931         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54932         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54933         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54934         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54935         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54936         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54937         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54938         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54939         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54940         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54941         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54942         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54943         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54944         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54945         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54946         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54947         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54948         * sysdeps/ieee754/k_standard.c: Likewise.
54949         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54950         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54951         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54952         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54953         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54954         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54955         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54956         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54957         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54958         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54959         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54960         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54961         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54962         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54963         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54964         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54965         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54966         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54967         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54968         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54969         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54970         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54971         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54972         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54973         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54974         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54975         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54976         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54977         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54978         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54979         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54980         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54981         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54982         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54983         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54984         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54985         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54986         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54987         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54988         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54989         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54990         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54991         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54992         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54993         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54994         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54995         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54996         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54997         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54998         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54999         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55000         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55001         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55002         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
55003         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55004         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55005         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
55006         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
55007         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55008         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55009         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55010         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55011         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55012         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55013         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55014         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55015         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55016         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55017         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55018         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55019         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55020         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55021         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55022         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55023         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55024         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55025         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
55026         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55027         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55028         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55029         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55030         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55031         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55032         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55033         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
55034         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55035         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55036         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
55037         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55038         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55039         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
55040         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55041         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
55042         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55043         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55044         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55045         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
55046         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
55047         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
55048         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
55049         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55050         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55051         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55052         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55053         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
55054         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55055         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55056         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
55057         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
55058         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55059         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55060         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55061         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55062         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55063         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55064         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55065         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55066         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55067         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55068         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55069         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55070         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55071         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55072         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55073         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55074         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
55075         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55076         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55077         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55078         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55079         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55080         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55081         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55082         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55083         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55084         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55085         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
55086         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55087         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55088         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
55089         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
55090         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55091         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
55092         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
55093         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55094         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55095         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55096         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55097         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55098         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
55099         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55100         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55101         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55102         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55103         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
55104         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
55105         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55106         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55107         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55108         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55109         * sysdeps/ieee754/s_lib_version.c: Likewise.
55110         * sysdeps/ieee754/s_matherr.c: Likewise.
55111         * sysdeps/ieee754/s_signgam.c: Likewise.
55112         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55113         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55114         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
55115         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
55116         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
55117         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55118         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
55119         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
55120         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
55121         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
55122         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55123         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
55124         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55125         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55126         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
55127         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55128         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55129         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55130         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55131         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55132         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55134 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55136         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
55137         * sunrpc/rpc_main.c: Likewise.
55138         * sunrpc/rpc_svcout.c: Likewise.
55140 2012-03-09  David S. Miller  <davem@davemloft.net>
55142         * include/math_private.h: New file.
55144 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55146         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
55147         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
55148         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
55149         from <bits/socket_type.h>.
55150         (enum __socket_type): Don't define here.
55151         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
55152         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55153         bits/socket_type.h.
55155         [BZ #13566]
55156         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
55157         checking __USE_GNU.
55159         * Makerules ($(inst_includedir)/%.h): New rule.
55160         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
55161         (install-others): Remove variable setting.
55162         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
55164 2012-03-08  Richard Henderson  <rth@twiddle.net>
55166         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
55167         from macro to inline function; merge with the
55168         !__LIBC_INTERNAL_MATH_INLINES version.
55169         (__ieee754_sqrtf): Likewise.
55171         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
55172         to inline function.
55173         (__rintf, __floor, __floorf): Likewise.
55175         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
55176         macro to inline function.
55177         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
55179         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
55180         not <math/math_private.h>.
55182 2012-03-08  David S. Miller  <davem@davemloft.net>
55184         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
55185         copyright year.
55186         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
55188 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
55190         * resolv/gai_misc.c (handle_requests): Fix struct timespec
55191         normalization.
55192         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
55193         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
55195 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
55197         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
55198         be defined individually, they must be defined as a block.  Define
55199         S for printing a string instead of hidint the different by using a
55200         macro for adding the 'l'.
55201         * stdio-common/tst-fphex-wide.c: Adjust.
55203 2012-03-07  Marek Polacek  <polacek@redhat.com>
55205         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
55207 2012-03-08  Marek Polacek  <polacek@redhat.com>
55209         [BZ #13806]
55210         * stdio-common/Makefile (tests): Add tst-fphex-wide.
55211         * stdio-common/tst-fphex.c: Define a few macros to make the
55212         test reusable.  Use them.
55213         * stdio-common/tst-fphex-wide.c: New file.
55215 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
55217         [BZ #6911]
55218         * manual/macros.texi (gnusystems): New macro.
55219         (nongnusystems): Likewise.
55220         (gnulinuxhurdsystems): Likewise.
55221         (gnuhurdsystems): Likewise..
55222         (gnulinuxsystems): Likewise.
55223         * manual/charset.texi: Use new macros or @theglibc{} to refer to
55224         variants of the GNU system, not "GNU system".
55225         * manual/conf.texi: Likewise.
55226         * manual/errno.texi: Likewise.  Update example of errno macro
55227         expansion.
55228         * manual/filesys.texi: Likewise.
55229         (getumask): Document as specific to GNU/Hurd.
55230         * manual/install.texi: Likewise.  Reword some references to
55231         GNU/Linux.
55232         * manual/intro.texi: Likewise.
55233         * manual/io.texi: Likewise.
55234         (File Name Portability): Detail which constraints are inapplicable
55235         to all GNU systems and which are only inapplicable to GNU/Hurd.
55236         * manual/job.texi: Likewise.
55237         * manual/llio.texi: Likewise.
55238         (O_NOCTTY): Document as present on GNU/Linux.
55239         * manual/maint.texi: Likewise.
55240         * manual/memory.texi: Likewise.
55241         * manual/pattern.texi: Likewise.
55242         * manual/pipe.texi: Likewise.
55243         * manual/process.texi: Likewise.
55244         * manual/resource.texi: Likewise.
55245         (RUSAGE_CHILDREN): Remove statement about specifying a particular
55246         child on GNU/Hurd.
55247         * manual/setjmp.texi: Likewise.
55248         * manual/signal.texi: Likewise.
55249         * manual/startup.texi: Likewise.
55250         * manual/stdio.texi: Likewise.
55251         * manual/terminal.texi: Likewise.
55252         (ONLCR): Document as POSIX.
55253         (OXTABS): Document availability on GNU/Linux as XTABS.
55254         (ONOEOT): Document availability separately from other bits.
55255         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
55256         * manual/time.texi: Likewise.
55257         * manual/users.texi: Likewise.
55258         * INSTALL: Regenerated.
55259         * sysdeps/gnu/errlist.c: Regenerated.
55261         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
55262         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
55263         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
55264         puts.
55265         * configure: Regenerated.
55267 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
55269         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
55270         default includes instead of AC_HEADER_CHECK.
55271         * sysdeps/i386/configure: Regenerated.
55273         [BZ #10716]
55274         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
55275         * math/s_cacoshf.c (__cacoshf): Likewise.
55276         * math/s_cacoshl.c (__cacoshl): Likewise.
55277         * math/s_casinh.c (__casinh): Set signs of result from argument.
55278         * math/s_casinhf.c (__casinhf): Likewise.
55279         * math/s_casinhl.c (__casinhl): Likewise.
55280         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
55281         (casinh_test): Add more tests.
55282         * sysdeps/i386/fpu/libm-test-ulps: Update.
55283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55285 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
55287         * po/zh_TW.po: Update from translation team.
55289         * login/Makefile (distribute): Remove variable.
55290         * catgets/Makefile: Likewise.
55291         * mach/Makefile: Likewise.
55292         * malloc/Makefile: Likewise.
55293         * misc/Makefile: Likewise.
55294         * iconv/Makefile: Likewise.
55295         * nscd/Makefile: Likewise.
55296         * hurd/Makefile: Likewise.
55297         * manual/Makefile: Likewise.
55298         * locale/Makefile: Likewise.
55299         * intl/Makefile: Likewise.
55300         * conform/Makefile: Likewise.
55301         * nss/Makefile: Likewise.
55302         * time/Makefile: Likewise.
55303         * soft-fp/Makefile: Likewise.
55304         * dirent/Makefile: Likewise.
55305         * gmon/Makefile: Likewise.
55306         * po/Makefile: Likewise.
55307         * rt/Makefile: Likewise.
55308         * socket/Makefile: Likewise.
55309         * math/Makefile: Likewise.
55310         * signal/Makefile: Likewise.
55311         * debug/Makefile: Likewise.
55312         * elf/Makefile: Likewise.
55313         * timezone/Makefile: Likewise.
55314         * stdlib/Makefile: Likewise.
55315         * iconvdata/Makefile: Likewise.
55316         * sunrpc/Makefile: Likewise.
55317         * io/Makefile: Likewise.
55318         * argp/Makefile: Likewise.
55319         * inet/Makefile: Likewise.
55320         * hesiod/Makefile: Likewise.
55321         * grp/Makefile: Likewise.
55322         * csu/Makefile: Likewise.
55323         * wctype/Makefile: Likewise.
55324         * crypt/Makefile: Likewise.
55325         * libio/Makefile: Likewise.
55326         * string/Makefile: Likewise.
55327         * nis/Makefile: Likewise.
55328         * resolv/Makefile: Likewise.
55329         * stdio-common/Makefile: Likewise.
55330         * wcsmbs/Makefile: Likewise.
55331         * dlfcn/Makefile: Likewise.
55332         * posix/Makefile: Likewise.
55334         [BZ #6959]
55335         * timezone/Makefile: Don't install timezone files, just the programs
55336         and scripts.
55338 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
55340         * nss/databases.def: Add missing gshadow entry.
55342         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
55344 2012-03-06  Marek Polacek  <polacek@redhat.com>
55346         [BZ #13726]
55347         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
55348         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55349         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
55350         * stdio-common/tst-long-dbl-fphex.c: New file.
55352 2012-03-06  David S. Miller  <davem@davemloft.net>
55354         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55355         (set_obp_int): New function.
55356         (get_obp_int): New function.
55357         (__get_clockfreq_via_dev_openprom): Likewise.
55358         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
55359         Avoid unused variable warnings on 'val' and use builtin_expect.
55360         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
55361         __builtin_expect.
55362         (INLINE_CLONE_SYSCALL): Likewise.
55364 2012-03-05  David S. Miller  <davem@davemloft.net>
55366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55368 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
55370         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55372         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
55373         only for |x| >= 40.
55374         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55376 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
55378         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
55379         Replace gettimeofday with __vdso_gettimeofday.
55381         * sysdeps/unix/sysv/linux/x86_64/init-first.c
55382         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
55383         __vdso_clock_gettime and __vdso_getcpu.
55385         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
55386         time with __vdso_time.
55388 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55390         * manual/lang.texi (size_t): Note types to which size_t may be
55391         equivalent with the GNU C Library, but do not describe when
55392         differences between them are significant.
55394 2012-03-05  Andreas Jaeger  <aj@suse.de>
55396         * sysdeps/i386/fpu/libm-test-ulps: Update.
55398 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55400         [BZ #3976]
55401         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
55402         (__ieee754_pow): Save and restore rounding mode and use
55403         round-to-nearest for main computations.
55404         * math/libm-test.inc (pow_test_tonearest): New function.
55405         (pow_test_towardzero): Likewise.
55406         (pow_test_downward): Likewise.
55407         (pow_test_upward): Likewise.
55408         (main): Call the new functions.
55409         * sysdeps/i386/fpu/libm-test-ulps: Update.
55410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55412         [BZ #3976]
55413         * math/libm-test.inc (cosh_test_tonearest): New function.
55414         (cosh_test_towardzero): Likewise.
55415         (cosh_test_downward): Likewise.
55416         (cosh_test_upward): Likewise.
55417         (sinh_test_tonearest): Likewise.
55418         (sinh_test_towardzero): Likewise.
55419         (sinh_test_downward): Likewise.
55420         (sinh_test_upward): Likewise.
55421         (main): Call the new functions.
55422         * sysdeps/i386/fpu/libm-test-ulps: Update.
55423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55425 2012-03-05  Tom de Vries  <tom@codesourcery.com>
55427         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
55428         default stack guard is set in last bytes.
55429         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
55431 2012-03-05  Kees Cook  <keescook@chromium.org>
55433         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
55435         [BZ #13656]
55436         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
55437         possibly allocate from heap instead of stack.
55438         * stdio-common/bug-vfprintf-nargs.c: New file.
55439         * stdio-common/Makefile (tests): Add nargs overflow test.
55441 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
55443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55445 2012-03-03  Marek Polacek  <polacek@redhat.com>
55447         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
55448         * math/math_private.h: Likewise.
55449         * stdlib/tst-strtod.c: Likewise.
55450         * sysdeps/i386/i486/bits/atomic.h: Likewise.
55451         * sysdeps/x86_64/bits/atomic.h: Likewise.
55453 2012-03-02  David S. Miller  <davem@davemloft.net>
55455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
55456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
55457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
55458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
55459         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
55460         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
55461         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
55462         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
55464 2012-03-02  Roland McGrath  <roland@hack.frob.com>
55466         [BZ #13792]
55467         * manual/examples/README: New file, says the example source files
55468         can be used under GPL>=2.
55469         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
55470         line containing just "*/".
55471         * manual/examples/add.c: Add copyright header (GPL>=2).
55472         * manual/examples/argp-ex1.c: Likewise.
55473         * manual/examples/argp-ex2.c: Likewise.
55474         * manual/examples/argp-ex3.c: Likewise.
55475         * manual/examples/argp-ex4.c: Likewise.
55476         * manual/examples/atexit.c: Likewise.
55477         * manual/examples/db.c: Likewise.
55478         * manual/examples/dir.c: Likewise.
55479         * manual/examples/dir2.c: Likewise.
55480         * manual/examples/execinfo.c: Likewise.
55481         * manual/examples/filecli.c: Likewise.
55482         * manual/examples/filesrv.c: Likewise.
55483         * manual/examples/fmtmsgexpl.c: Likewise.
55484         * manual/examples/genpass.c: Likewise.
55485         * manual/examples/inetcli.c: Likewise.
55486         * manual/examples/inetsrv.c: Likewise.
55487         * manual/examples/isockad.c: Likewise.
55488         * manual/examples/longopt.c: Likewise.
55489         * manual/examples/memopen.c: Likewise.
55490         * manual/examples/memstrm.c: Likewise.
55491         * manual/examples/mkfsock.c: Likewise.
55492         * manual/examples/mkisock.c: Likewise.
55493         * manual/examples/mygetpass.c: Likewise.
55494         * manual/examples/pipe.c: Likewise.
55495         * manual/examples/popen.c: Likewise.
55496         * manual/examples/rprintf.c: Likewise.
55497         * manual/examples/search.c: Likewise.
55498         * manual/examples/select.c: Likewise.
55499         * manual/examples/setjmp.c: Likewise.
55500         * manual/examples/sigh1.c: Likewise.
55501         * manual/examples/sigusr.c: Likewise.
55502         * manual/examples/stpcpy.c: Likewise.
55503         * manual/examples/strdupa.c: Likewise.
55504         * manual/examples/strftim.c: Likewise.
55505         * manual/examples/strncat.c: Likewise.
55506         * manual/examples/subopt.c: Likewise.
55507         * manual/examples/swapcontext.c: Likewise.
55508         * manual/examples/termios.c: Likewise.
55509         * manual/examples/testopt.c: Likewise.
55510         * manual/examples/testpass.c: Likewise.
55511         * manual/examples/timeval_subtract.c: Likewise.
55513         [BZ #13792]
55514         * manual/time.texi (Elapsed Time): Move timeval_subtract example
55515         function to ...
55516         * manual/timeval_subtract.c.texi: ... here, new file.
55518 2012-03-02  David S. Miller  <davem@davemloft.net>
55520         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
55522 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
55524         [BZ #3976]
55525         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
55526         (__sin): Save and restore rounding mode and use round-to-nearest
55527         for all computations.
55528         (__cos): Save and restore rounding mode and use round-to-nearest
55529         for all computations.
55530         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
55531         <fenv.h>.
55532         (tan): Save and restore rounding mode and use round-to-nearest for
55533         all computations.
55534         * math/libm-test.inc (cos_test_tonearest): New function.
55535         (cos_test_towardzero): Likewise.
55536         (cos_test_downward): Likewise.
55537         (cos_test_upward): Likewise.
55538         (sin_test_tonearest): Likewise.
55539         (sin_test_towardzero): Likewise.
55540         (sin_test_downward): Likewise.
55541         (sin_test_upward): Likewise.
55542         (tan_test_tonearest): Likewise.
55543         (tan_test_towardzero): Likewise.
55544         (tan_test_downward): Likewise.
55545         (tan_test_upward): Likewise.
55546         (main): Call the new functions.
55547         * sysdeps/i386/fpu/libm-test-ulps: Update.
55548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55550         [BZ #10135]
55551         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
55552         small n, then large n, before computing and testing k+n.
55553         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55554         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
55555         Likewise.
55556         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
55557         Likewise.
55558         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
55559         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
55560         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
55561         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
55562         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55563         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55564         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
55565         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
55566         * math/libm-test.inc (scalbn_test): Add more tests.
55567         (scalbln_test): Likewise.
55569         * manual/filesys.texi (mode_t): Describe constraints on size and
55570         signedness, not exact equivalence to a particular type.
55571         (ino_t): Likewise.
55572         (ino64_t): Likewise.
55573         (dev_t): Likewise.
55574         (nlink_t): Likewise.
55575         (blkcnt_t): Likewise.
55576         (blkcnt64_t): Likewise.
55577         * manual/llio.texi (off_t): Likewise.
55579         [BZ #3976]
55580         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
55581         (__ieee754_exp): Save and restore rounding mode and use
55582         round-to-nearest for all computations.
55583         * math/libm-test.inc (exp_test_tonearest): New function.
55584         (exp_test_towardzero): Likewise.
55585         (exp_test_downward): Likewise.
55586         (exp_test_upward): Likewise.
55587         (main): Call the new functions.
55588         * sysdeps/i386/fpu/libm-test-ulps: Update.
55589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55591 2012-03-01  Chris Demetriou  <cgd@google.com>
55593         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
55594         have predictable order.
55596 2012-03-01  David S. Miller  <davem@davemloft.net>
55598         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
55600         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
55601         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
55602         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
55603         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
55605         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
55606         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
55607         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
55608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
55609         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
55610         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
55611         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
55612         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
55613         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
55615         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55617         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
55618         * sysdeps/sparc/fpu/libm-test-ulps: to here.
55619         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
55621         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
55622         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55623         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55624         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
55625         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
55626         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
55627         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
55628         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55629         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55630         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
55631         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
55632         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55633         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55634         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55635         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55636         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55637         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
55638         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
55639         * sysdeps/sparc/elf/configure: Regenerated.
55641 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
55643         * configure.in (AS, LD): Require binutils 2.20 or later.
55644         * configure: Regenerated.
55645         * manual/install.texi (Tools for Compilation): Give binutils 2.20
55646         as required minimum version.
55647         * INSTALL: Regenerated.
55649         [BZ #2541]
55650         [BZ #4108]
55651         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
55652         before squaring exponent.
55653         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
55654         bottom long double and 27 bits of top long double before squaring
55655         exponent.
55656         * math/libm-test.inc (erfc_test): Add more tests.
55657         * sysdeps/i386/fpu/libm-test-ulps: Update.
55658         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55661 2012-03-01  Kai Tietz  <ktietz@redhat.com>
55663         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
55664         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
55665         containing bit-fields.
55666         * soft-fp/extended.h (_FP_UNION_E): Likewise.
55667         * soft-fp/single.h (_FP_UNION_S): Likewise.
55668         * soft-fp/double.h (_FP_UNION_D): Likewise.
55670 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55672         [BZ #13786]
55673         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55674         not include ../strcmp.S.
55675         [USE_AS_STRNCASECMP_L]: Likewise.
55676         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55677         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55678         * sysdeps/i386/i686/multiarch/strncase_l-c.c
55679         (__strncasecmp_l_ia32): Define as alias to
55680         __strncasecmp_l_nonascii.
55682         [BZ #5794]
55683         * math/libm-test.inc (expm1_test): Add test for bug 5794.
55684         * sysdeps/i386/fpu/libm-test-ulps: Update.
55685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55687         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55690 2012-02-29  Jeff Law  <law@redhat.com>
55692         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55693         out of bounds read.
55695 2012-02-29  Marek Polacek  <polacek@redhat.com>
55697         [BZ #13706]
55698         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55699         * elf/Makefile: Add rules to run tst-unused-dep.out.
55701 2012-02-28  David S. Miller  <davem@davemloft.net>
55703         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55704         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55705         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55706         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55707         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55708         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55710 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55712         * math/libm-test.inc (llround_test): Move one test from
55713         lround_test.  Use TEST_f_L in moved test.
55714         (lround_test): Move misplaced test to llround_test.  Add testcase
55715         from bug 2561.
55717 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55719         * sysdeps/x86_64/fpu/e_expf.S: New file.
55720         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55722 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55724         [BZ #13637]
55725         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55726         of remain_len that may cause incomplete multi-byte character and
55727         false match.
55728         * posix/bug-regex33.c: New file.
55729         * posix/Makefile (tests): Add bug-regex33.
55731 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55733         * manual/macros.texi: New file.
55734         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55735         * manual/libc.texinfo: Include macros.texi.
55736         * manual/creatute.texi: Likewise.
55737         * manual/install.texi: Likewise.
55738         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55739         @glibcadj{} in references to the GNU C Library.
55740         * manual/charset.texi: Likewise.
55741         * manual/conf.texi: Likewise.
55742         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55743         when not using those macros.
55744         * manual/creature.texi: Likewise.
55745         * manual/crypt.texi: Likewise.
55746         * manual/errno.texi: Likewise.
55747         * manual/filesys.texi: Likewise.
55748         * manual/header.texi: Likewise.
55749         * manual/install.texi: Likewise.
55750         * manual/intro.texi: Likewise.
55751         * manual/io.texi: Likewise.
55752         * manual/job.texi: Likewise.
55753         * manual/lang.texi: Likewise.
55754         * manual/libc.texiinfo: Likewise.
55755         * manual/llio.texi: Likewise.
55756         * manual/locale.texi: Likewise.
55757         * manual/maint.texi: Likewise.
55758         * manual/math.texi: Likewise.
55759         * manual/memory.texi: Likewise.
55760         * manual/message.texi: Likewise.
55761         * manual/nss.texi: Likewise.
55762         * manual/pattern.texi: Likewise.
55763         * manual/process.texi: Likewise.
55764         * manual/resource.texi: Likewise.
55765         * manual/search.texi: Likewise.
55766         * manual/setjmp.texi: Likewise.
55767         * manual/signal.texi: Likewise.
55768         * manual/socket.texi: Likewise.
55769         * manual/startup.texi: Likewise.
55770         * manual/stdio.texi: Likewise.
55771         * manual/string.texi: Likewise.
55772         * manual/sysinfo.texi: Likewise.
55773         * manual/syslog.texi: Likewise.
55774         * manual/terminal.texi: Likewise.
55775         * manual/time.texi: Likewise.
55776         * manual/users.texi: Likewise.
55777         * INSTALL: Regenerated.
55778         * NOTES: Regenerated.
55779         * sysdeps/gnu/errlist.c: Regenerated.
55781 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55783         * include/dirent.h: Include <dirstream.h> before
55784         <dirent/dirent.h>.
55786 2012-02-28  David S. Miller  <davem@davemloft.net>
55788         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55789         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55790         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55791         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55793 2012-02-27  David S. Miller  <davem@davemloft.net>
55795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55797         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55798         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55801         frame pointer instead of stack pointer relative arg slot.
55802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55803         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55804         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55806 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55808         [BZ #3992]
55809         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55811 2012-02-27  David S. Miller  <davem@davemloft.net>
55813         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55815         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55816         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55817         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55818         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55819         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55820         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55822 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55824         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55825         later.  Allow versions 5-9.
55826         * configure: Regenerated.
55827         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55828         required minimum version and 4.6 as recommended version.  Do not
55829         mention bugs in GCC 2.7 and 2.8.
55830         * INSTALL: Regenerated.
55832 2012-02-27  David S. Miller  <davem@davemloft.net>
55834         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55835         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55838         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55839         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55840         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55841         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55843         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55844         manipulate bits before adding and subtracting TWO112[sx].
55845         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55847 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55849         [BZ #13775]
55850         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55851         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55852         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55853         being in POSIX, because they are in 1003.1-2008.
55855         * rt/tst-aio.c: Include <fcntl.h>.
55856         * rt/tst-aio7.c: Likewise.
55857         * rt/tst-aio64.c: Likewise.
55859         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55861 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55863         * manual/install.texi (--with-headers): Describe headers as
55864         interface headers, not private headers.
55865         (Specific advice for GNU/Linux systems): Describe use of headers
55866         from "make headers_install", not private headers from older
55867         kernels.
55868         * INSTALL: Regenerated.
55869         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55870         Change to 2.6.19.
55871         * sysdeps/unix/sysv/linux/configure: Regenerated.
55873         * manual/llio.texi (fclean): Remove documentation.
55875         * manual/Makefile (libc-texi-generated): New variable.  Include
55876         version.texi.
55877         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55878         $(libc-texi-generated), not duplicated list of files.
55879         (version.texi, stamp-version): New rules.
55880         (realclean): Remove $(libc-texi-generated), not individual files
55881         from that list.  Do not remove dir-add.texinfo.
55882         * manual/libc.texinfo: Comment out uses of edition numbers and
55883         references to printed manual.  Remove last-updated dates.
55884         (EDITION): Comment out.
55885         (ISBN): Likewise.
55886         (VERSION, UPDATED): Remove.
55887         (version.texi): Include.
55889 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55891         * sysdeps/posix/spawni.c: Include <signal.h>.
55892         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55893         * sysdeps/pthread/aio_fsync.c: Likewise.
55895 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55897         * conform/Makefile (tests): Run only when not cross-compiling and
55898         when fast-check is not defined.
55900         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55901         * conform/data/limits.h-data: Fixes for POSIX2008.
55902         * conform/run-conformtest.sh: Run all tests.
55903         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55904         headers.
55905         * include/bits/dlfcn.h: Likewise.
55906         * include/langinfo.h: Likewise.
55907         * include/monetary.h: Likewise.
55908         * include/sys/poll.h: Likewise.
55910         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55911         for __USE_GNU.
55912         * posix/spawn.h: Define __need_sigset_t.
55913         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55914         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55915         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55916         to get sigevent_t only.
55917         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55918         only for __USE_GNU.
55919         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55920         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55921         process_vm_writev only for __USE_GNU.
55922         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55924         * conform/Makefile: For now ignore errors from run-conformtest.
55925         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55926         POSIX to avoid namespace pollution.  Don't prepend headers.
55927         * conform/data/aio.h-data: Fixes for POSIX testing.
55928         * conform/data/fcntl.h-data: Likewise.
55929         * conform/data/glob.h-data: Likewise.
55930         * conform/data/grp.h-data: Likewise.
55931         * conform/data/pthread.h-data: Likewise.
55932         * conform/data/pwd.h-data: Likewise.
55933         * conform/data/signal.h-data: Likewise.
55934         * conform/data/spawn.h-data: Likewise.
55935         * conform/data/stdio.h-data: Likewise.
55936         * conform/data/stdlib.h-data: Likewise.
55937         * conform/data/stropts.h-data: Likewise.
55938         * conform/data/sys/mman.h-data: Likewise.
55939         * conform/data/sys/stat.h-data: Likewise.
55940         * conform/data/sys/types.h-data: Likewise.
55941         * conform/data/sys/wait.h-data: Likewise.
55942         * conform/data/time.h-data: Likewise.
55943         * conform/data/unistd.h-data: Likewise.
55944         * conform/data/utime.h-data: Likewise.
55946         * io/sys/stat.h: fchmod was always in POSIX.
55947         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55948         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55949         * rt/aio.h: Define __need_timespec before including <time.h>.
55950         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55951         struct.  Add forward declaration of pthread_attr_t and use it in
55952         sigevent.
55953         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55954         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55955         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55956         always remove CLK_TCK definition.
55958 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55960         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55962 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55964         * conform/run-conformtest.sh: New file.
55965         * conform/Makefile: Run run-conformtest for tests.
55966         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55967         support.
55969         * conform/data/uchar.h-data: New file.
55970         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55971         * conform/data/arpa/inet.h-data: Likewise.
55972         * conform/data/assert.h-data: Likewise.
55973         * conform/data/complex.h-data: Likewise.
55974         * conform/data/cpio.h-data: Likewise.
55975         * conform/data/ctype.h-data: Likewise.
55976         * conform/data/dirent.h-data: Likewise.
55977         * conform/data/dlfcn.h-data: Likewise.
55978         * conform/data/errno.h-data: Likewise.
55979         * conform/data/fcntl.h-data: Likewise.
55980         * conform/data/float.h-data: Likewise.
55981         * conform/data/fmtmsg.h-data: Likewise.
55982         * conform/data/fnmatch.h-data: Likewise.
55983         * conform/data/ftw.h-data: Likewise.
55984         * conform/data/glob.h-data: Likewise.
55985         * conform/data/grp.h-data: Likewise.
55986         * conform/data/iconv.h-data: Likewise.
55987         * conform/data/inttypes.h-data: Likewise.
55988         * conform/data/langinfo.h-data: Likewise.
55989         * conform/data/libgen.h-data: Likewise.
55990         * conform/data/limits.h-data: Likewise.
55991         * conform/data/locale.h-data: Likewise.
55992         * conform/data/math.h-data: Likewise.
55993         * conform/data/monetary.h-data: Likewise.
55994         * conform/data/mqueue.h-data: Likewise.
55995         * conform/data/ndbm.h-data: Likewise.
55996         * conform/data/net/if.h-data: Likewise.
55997         * conform/data/netdb.h-data: Likewise.
55998         * conform/data/netinet/in.h-data: Likewise.
55999         * conform/data/nl_types.h-data: Likewise.
56000         * conform/data/poll.h-data: Likewise.
56001         * conform/data/pthread.h-data: Likewise.
56002         * conform/data/pwd.h-data: Likewise.
56003         * conform/data/regex.h-data: Likewise.
56004         * conform/data/sched.h-data: Likewise.
56005         * conform/data/search.h-data: Likewise.
56006         * conform/data/semaphore.h-data: Likewise.
56007         * conform/data/setjmp.h-data: Likewise.
56008         * conform/data/signal.h-data: Likewise.
56009         * conform/data/spawn.h-data: Likewise.
56010         * conform/data/stdarg.h-data: Likewise.
56011         * conform/data/stdio.h-data: Likewise.
56012         * conform/data/stdlib.h-data: Likewise.
56013         * conform/data/string.h-data: Likewise.
56014         * conform/data/strings.h-data: Likewise.
56015         * conform/data/stropts.h-data: Likewise.
56016         * conform/data/sys/ipc.h-data: Likewise.
56017         * conform/data/sys/mman.h-data: Likewise.
56018         * conform/data/sys/msg.h-data: Likewise.
56019         * conform/data/sys/resource.h-data: Likewise.
56020         * conform/data/sys/select.h-data: Likewise.
56021         * conform/data/sys/sem.h-data: Likewise.
56022         * conform/data/sys/shm.h-data: Likewise.
56023         * conform/data/sys/socket.h-data: Likewise.
56024         * conform/data/sys/stat.h-data: Likewise.
56025         * conform/data/sys/statvfs.h-data: Likewise.
56026         * conform/data/sys/time.h-data: Likewise.
56027         * conform/data/sys/timeb.h-data: Likewise.
56028         * conform/data/sys/times.h-data: Likewise.
56029         * conform/data/sys/types.h-data: Likewise.
56030         * conform/data/sys/uio.h-data: Likewise.
56031         * conform/data/sys/un.h-data: Likewise.
56032         * conform/data/sys/utsname.h-data: Likewise.
56033         * conform/data/sys/wait.h-data: Likewise.
56034         * conform/data/syslog.h-data: Likewise.
56035         * conform/data/tar.h-data: Likewise.
56036         * conform/data/termios.h-data: Likewise.
56037         * conform/data/utime.h-data: Likewise.
56038         * conform/data/utmpx.h-data: Likewise.
56039         * conform/data/varargs.h-data: Likewise.
56040         * conform/data/wchar.h-data: Likewise.
56041         * conform/data/wctype.h-data: Likewise.
56042         * conform/data/wordexp.h-data: Likewise.
56044         * include/stropts.h: New file.
56045         * include/uchar.h: New file.
56046         * include/aio.h: Changes to allow conformtest.pl to use the headers.
56047         * include/assert.h: Likewise.
56048         * include/ctype.h: Likewise.
56049         * include/dirent.h: Likewise.
56050         * include/dlfcn.h: Likewise.
56051         * include/fcntl.h: Likewise.
56052         * include/fnmatch.h: Likewise.
56053         * include/glob.h: Likewise.
56054         * include/grp.h: Likewise.
56055         * include/libio.h: Likewise.
56056         * include/locale.h: Likewise.
56057         * include/math.h: Likewise.
56058         * include/net/if.h: Likewise.
56059         * include/netdb.h: Likewise.
56060         * include/netinet/in.h: Likewise.
56061         * include/pthread.h: Likewise.
56062         * include/pwd.h: Likewise.
56063         * include/regex.h: Likewise.
56064         * include/sched.h: Likewise.
56065         * include/search.h: Likewise.
56066         * include/setjmp.h: Likewise.
56067         * include/signal.h: Likewise.
56068         * include/stdio.h: Likewise.
56069         * include/stdlib.h: Likewise.
56070         * include/string.h: Likewise.
56071         * include/sys/cdefs.h: Likewise.
56072         * include/sys/mman.h: Likewise.
56073         * include/sys/msg.h: Likewise.
56074         * include/sys/resource.h: Likewise.
56075         * include/sys/select.h: Likewise.
56076         * include/sys/socket.h: Likewise.
56077         * include/sys/stat.h: Likewise.
56078         * include/sys/statvfs.h: Likewise.
56079         * include/sys/time.h: Likewise.
56080         * include/sys/times.h: Likewise.
56081         * include/sys/uio.h: Likewise.
56082         * include/sys/utsname.h: Likewise.
56083         * include/sys/wait.h: Likewise.
56084         * include/termios.h: Likewise.
56085         * include/time.h: Likewise.
56086         * include/ulimit.h: Likewise.
56087         * include/unistd.h: Likewise.
56088         * include/utime.h: Likewise.
56089         * include/wchar.h: Likewise.
56090         * include/wctype.h: Likewise.
56091         * include/wordexp.h: Likewise.
56093         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
56095         * time/time.h: TIME_UTC must be a macro.
56096         Make timespec_get available for ISO C11 only as well.
56098 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
56100         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
56101         Reported by Peng Haitao <penght@cn.fujitsu.com>.
56103 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56105         * configure.in: Use -o not -a in test for unsupported multi-arch.
56107 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56109         * manual/texinfo.tex: Update to version 2012-01-19.16.
56111 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56113         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
56115 2012-02-24  Roland McGrath  <roland@hack.frob.com>
56117         [BZ #13738]
56118         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
56119         * manual/fdl-1.3.texi: New file.
56120         * manual/fdl-1.1.texi: File removed.
56122         [BZ #13738]
56123         * manual/libc.texinfo (FDL_VERSION): New @set.
56124         Use it for mention of FDL in cover text.
56125         (Documentation License): Use it in @include file name.
56127 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56128             Roland McGrath  <roland@hack.frob.com>
56130         [BZ #5461]
56131         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
56132         (not LONG_LONG_MAX and LONG_LONG_MIN.
56133         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
56134         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
56135         name.
56136         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
56138 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56140         [BZ #2547]
56141         [BZ #11365]
56142         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
56143         manipulate bits before adding and subtracting TWO23[sx].
56144         * math/libm-test.inc (nearbyint_test): Add more tests.
56146 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56148         [BZ #2548]
56149         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
56150         bits before adding and subtracting TWO23[sx].
56151         * math/libm-test.inc (rint_test): Add more tests.
56152         (rint_test_tonearest): Likewise.
56153         (rint_test_towardzero): Likewise.
56154         (rint_test_downward): Likewise.
56155         (rint_test_upward: Likewise.
56157 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56159         [BZ #10110]
56160         * include/stdc-predef.h: New file.  Extracted from features.h.
56161         * include/features.h: Include stdc-predef.h.
56162         * Makefile (headers): Add stdc-predef.h.
56163         * CONFORMANCE (Compiler limitations): Update.
56165 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56167         * manual/libc.texinfo (VERSION, UPDATED): Revert.
56169 2012-02-21  David S. Miller  <davem@davemloft.net>
56171         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
56172         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56174 2012-02-20  David S. Miller  <davem@davemloft.net>
56176         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
56177         using a normal save/restore sequence, rather than allocating a
56178         dummy stack frame just to store a frame pointer and restore.
56179         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56181 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56183         * manual/install.texi: Fix stray word in line-wrapped comment.
56185 2012-02-20  David S. Miller  <davem@davemloft.net>
56187         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
56188         both binutils and gcc support GOTDATA.
56190         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
56191         "rd %pc" in the PIC register setup sequences.
56193         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
56194         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
56195         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56196         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
56197         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56198         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
56199         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56200         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56201         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
56202         (SYSCALL_ERROR_HANDLER): Likewise.
56203         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56204         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56205         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
56206         (SYSCALL_ERROR_HANDLER): Likewise.
56208         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
56209         (HAVE_GCC_GOTDATA): New.
56210         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
56211         relocation support in both binutils and gcc.
56212         * sysdeps/sparc/elf/configure: Regenerate.
56214         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
56215         * sysdeps/sparc/sparc32/elf/configure: Delete.
56216         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
56217         * sysdeps/sparc/sparc64/elf/configure: Delete.
56218         * sysdeps/sparc/elf/configure.in: New file.
56219         * sysdeps/sparc/elf/configure: Generate.
56221         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
56222         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
56223         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56224         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
56225         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
56227 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56229         * manual/install.texi: Do not mention specific glibc version
56230         numbers.
56231         * manual/libc.texinfo (VERSION, UPDATED): Update.
56232         (@copying): Use @copyright{} and range of years.
56234 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56236         [BZ #13695]
56237         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
56238         [crti.S not in sysdirs] (generated): Do not append.
56239         [crti.S not in sysdirs] (omit-deps): Likewise.
56240         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
56241         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
56242         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
56243         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
56244         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
56245         Likewise.
56246         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
56247         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
56248         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
56249         * csu/defs.awk: Remove file.
56250         * sysdeps/generic/initfini.c: Likewise.
56251         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
56252         variable.
56253         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
56254         Likewise.
56256 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56258         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
56259         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
56260         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
56261         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
56262         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56263         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
56264         <bits/epoll.h>.
56265         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
56266         (__EPOLL_PACKED): Define to empty if not defined by
56267         <bits/epoll.h>.
56268         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
56269         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56270         bits/epoll.h.
56272 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56274         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
56275         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
56276         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
56277         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
56278         <bits/timerfd.h>.
56279         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
56280         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56281         bits/timerfd.h.
56283 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56285         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
56286         in C locale.
56287         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56288         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56289         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
56290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56292 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
56294         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56295         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56297 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
56299         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
56300         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
56301         defined.
56302         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
56303         Likewise.
56304         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
56305         entry for 2.16.
56307 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
56309         * math/w_acos.c: Use non-signaling floating-point comparisons.
56310         * math/w_acosf.c: Likewise.
56311         * math/w_acosh.c: Likewise.
56312         * math/w_acoshf.c: Likewise.
56313         * math/w_acoshl.c: Likewise.
56314         * math/w_acosl.c: Likewise.
56315         * math/w_asin.c: Likewise.
56316         * math/w_asinf.c: Likewise.
56317         * math/w_asinl.c: Likewise.
56318         * math/w_atanh.c: Likewise.
56319         * math/w_atanhf.c: Likewise.
56320         * math/w_atanhl.c: Likewise.
56321         * math/w_exp2.c: Likewise.
56322         * math/w_exp2f.c: Likewise.
56323         * math/w_exp2l.c: Likewise.
56324         * math/w_j0.c: Likewise.
56325         * math/w_j0f.c: Likewise.
56326         * math/w_j0l.c: Likewise.
56327         * math/w_j1.c: Likewise.
56328         * math/w_j1f.c: Likewise.
56329         * math/w_j1l.c: Likewise.
56330         * math/w_jn.c: Likewise.
56331         * math/w_jnf.c: Likewise.
56332         * math/w_log.c: Likewise.
56333         * math/w_log10.c: Likewise.
56334         * math/w_log10f.c: Likewise.
56335         * math/w_log10l.c: Likewise.
56336         * math/w_log2.c: Likewise.
56337         * math/w_log2f.c: Likewise.
56338         * math/w_log2l.c: Likewise.
56339         * math/w_logf.c: Likewise.
56340         * math/w_logl.c: Likewise.
56341         * math/w_sqrt.c: Likewise.
56342         * math/w_sqrtf.c: Likewise.
56343         * math/w_sqrtl.c: Likewise.
56344         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56345         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
56346         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56347         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56348         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56350 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56352         [BZ #9739]
56353         * manual/string.texi (strnlen): Use correct parameter name in
56354         equivalent expression.
56356 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56358         [BZ #11174]
56359         * manual/users.texi (seteuid): Consistently use neweuid for
56360         argument name.
56362 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56364         [BZ #13704]
56365         * manual/nss.texi (Services in the NSS configuration): Correct
56366         list of services in example configuration file.
56368 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
56370         [BZ #11322]
56371         * manual/arith.texi: Remove statements about negative zero
56372         behaving identically to zero.
56374 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56376         [BZ #5993]
56377         * manual/install.texi: Do not document upgrading from libc5.
56379 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56381         [BZ #4596]
56382         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
56384 2012-02-18  David S. Miller  <davem@davemloft.net>
56386         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
56387         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
56388         %o7 across the call.
56389         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
56390         instead.
56391         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
56392         SETUP_PIC_REG_LEAF.
56393         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56394         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
56395         * sysdeps/sparc/crtn.S: Likewise.
56397 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
56399         * aout/Makefile: Remove.
56401 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
56403         [BZ #13058]
56404         * manual/examples/argp-ex1.c (main): Format definition in GNU
56405         style.
56406         * manual/examples/argp-ex2.c (main): Likewise.
56407         * manual/examples/argp-ex3.c (main): Likewise.
56408         * manual/examples/argp-ex4.c (main): Likewise.
56409         * manual/examples/longopt.c (main): Use new-style prototype
56410         definition.
56411         * manual/examples/strncat.c (main): Specify return type and use
56412         (void) for arguments.
56413         * manual/examples/subopt.c (main): Use char **argv argument.
56415 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56417         [BZ #5077]
56418         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
56419         rounding modes.
56421 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
56423         [BZ #6907]
56424         * manual/string.texi (strchr): Change when strchrnul is
56425         recommended.
56427 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
56429         [BZ #174]
56430         * manual/locale.texi (setlocale): Document LOCPATH.
56432 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56434         [BZ #10210]
56435         * manual/process.texi (execle): Move @dots{} before last argument.
56437 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
56439         [BZ #12047]
56440         * manual/charset.texi (Generic Charset Conversion): Fix typo
56441         (LC_TYPE -> LC_CTYPE).
56443 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
56445         [BZ #5805]
56446         * manual/arith.texi (scalbn): Use @var{} on parameter names.
56447         (scalbnf): Likewise.
56448         (scalbnl): Likewise.
56449         (scalbln): Likewise.
56450         (scalblnf): Likewise.
56451         (scalblnl): Likewise.
56452         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
56453         (vwarnx): Likewise.
56454         (verr): Likewise.
56455         (verrx): Likewise.
56456         * manual/filesys.texi (telldir): Use braces around return type.
56457         * manual/llio.texi (mmap): Add space after comma.
56458         (mmap64): Likewise.
56459         * manual/math.texi (jn): Use @var{} on parameter names.
56460         (jnf): Likewise.
56461         (jnl): Likewise.
56462         (yn): Likewise.
56463         (ynf): Likewise.
56464         (ynl): Likewise.
56465         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
56466         line.
56467         * manual/resource.texi (ulimit): Use @dots{} instead of literal
56468         "...".
56469         (sched_get_priority_min): Remove semicolon on @deftypefun line.
56470         (sched_get_priority_max): Likewise.
56471         * manual/signal.texi (sigvec): Add space after comma.
56472         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
56473         names.
56474         (if_indextoname): Likewise.
56475         (if_freenameindex): Likewise.
56476         (sendto): Use ',' instead of '.' in prototype.
56477         * manual/startup.texi (syscall): Use @dots{} instead of literal
56478         "...".
56479         * manual/stdio.texi (__fpending): Separate initial words of
56480         paragraph from @deftypefun line.
56481         * manual/syslog.texi (syslog): Use @dots{} instead of literal
56482         "...".
56483         (vsyslog): Use @var{} on parameter names.
56484         * manual/terminal.texi (stty): Use @var{} on parameter names.
56485         * manual/users.texi (getutmp): Use @var{} on parameter names.
56486         (getutmpx): Likewise.
56488 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56490         [BZ #6884]
56491         * manual/stdio.texi (fopen): Fix typos in description of
56492         ",ccs=STRING".
56494 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
56496         [BZ #4026]
56497         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
56498         get clock_id definition.
56500 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
56502         [BZ #4822]
56503         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
56504         (madvise): Cast every argument to void on its own.
56506 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56508         [BZ #9902]
56509         * manual/startup.texi (Exit Status): Fix typo.
56511 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56513         [BZ #10140]
56514         * manual/examples/argp-ex1.c: Include <stdlib.h>.
56515         * manual/examples/argp-ex2.c: Likewise.
56516         * manual/examples/argp-ex3.c: Likewise.
56518 2012-02-16  Richard Henderson  <rth@redhat.com>
56520         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
56521         * sysdeps/s390/s390-32/initfini.c: Remove.
56522         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
56523         * sysdeps/s390/s390-64/initfini.c: Remove.
56525 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56527         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
56528         compiler output for sysdeps/generic/initfini.c.
56529         * sysdeps/sh/elf/initfini.c: Remove file.
56531 2012-02-16  David S. Miller  <davem@davemloft.net>
56533         [BZ #11494]
56534         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
56536         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
56537         * sysdeps/sparc/crti.S: New file.
56538         * sysdeps/sparc/crtn.S: New file.
56539         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
56540         * sysdeps/sparc/sparc64/Makefile: Likewise.
56542 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
56544         [BZ #3335]
56545         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
56547 2012-02-15  Roland McGrath  <roland@hack.frob.com>
56549         [BZ #4822]
56550         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
56552         * mach/devstream.c (cookie_io_functions_t): Macro removed.
56553         (write, read, close): Likewise.
56554         Patch by Aurelien Jarno <aurelien@aurel32.net>.
56556 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
56558         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
56559         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
56560         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
56561         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
56562         <bits/signalfd.h>.
56563         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
56564         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56565         bits/signalfd.h.
56567 2012-02-14  Marek Polacek  <polacek@redhat.com>
56569         * sysdeps/x86_64/crti.S: New file.
56570         * sysdeps/x86_64/crtn.S: New file.
56571         * sysdeps/x86_64/elf/initfini.c: Remove file.
56573 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56575         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
56576         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
56577         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
56578         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
56579         <bits/inotify.h>.
56580         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
56581         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56582         bits/inotify.h.
56584 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56586         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
56587         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
56588         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
56589         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
56590         <bits/eventfd.h>.
56591         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
56592         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56593         bits/eventfd.h.
56595 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
56597         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
56598         __feraiseexcept instead of feraiseexcept.
56600         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
56601         nanosleep invocations.
56602         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
56603         strings, and add error checking for a nanosleep invocations.
56605 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
56607         Replace FSF snail mail address with URLs, as per GNU coding standards.
56608         Most of the snail mail addresses were wrong anyway, and omitting
56609         them makes the source code easier to maintain.  Almost all of the
56610         changes are to license notices and to locale LC_IDENTIFICATION
56611         addresses, except for this one:
56612         * manual/libc.texinfo: In "Published by", give the FSF's URL,
56613         not its snail mail address.
56615 2012-02-09  Richard Henderson  <rth@twiddle.net>
56617         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
56618         of kernel-features.h.
56620         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
56622 2012-02-08  Marek Polacek  <polacek@redhat.com>
56624         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
56625         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
56626         * sysdeps/gnu/_G_config.h: Likewise.
56627         * sysdeps/generic/_G_config.h: Likewise.
56629 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
56631         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
56632         tests.
56633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56635         * sysdeps/powerpc/powerpc32/crti.S: New file.
56636         * sysdeps/powerpc/powerpc32/crtn.S: New file.
56637         * sysdeps/powerpc/powerpc64/crti.S: New file.
56638         * sysdeps/powerpc/powerpc64/crtn.S: New file.
56640         * Makeconfig (have-initfini): Don't set.
56641         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
56642         * configure.in (nopic_initfini): Don't substitute.
56643         * config.h.in (HAVE_INITFINI): Don't #undef.
56644         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
56645         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
56647 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
56649         Support crti.S and crtn.S provided directly by architectures.
56650         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
56651         [crti.S in sysdirs] (omit-deps): Likewise.
56652         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
56653         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
56654         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
56655         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
56656         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
56657         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
56658         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
56659         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56660         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
56661         compiler output for sysdeps/generic/initfini.c.
56662         * sysdeps/i386/elf/Makefile: Remove file.
56663         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
56665 2012-02-07  Marek Polacek  <polacek@redhat.com>
56667         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
56668         * sysdeps/gnu/_G_config.h: Likewise.
56669         * sysdeps/mach/hurd/_G_config.h: Likewise.
56671 2012-02-07  Marek Polacek  <polacek@redhat.com>
56673         * math/Makefile (tests): Add tst-CMPLX2.
56674         * math/tst-CMPLX2.c: New file.
56676 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
56678         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56680         * math/libm-test.inc (jn_test): Add missing L suffix.
56682 2012-02-06  Marek Polacek  <polacek@redhat.com>
56684         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56685         * sysdeps/i386/fpu/e_powf.S: Likewise.
56686         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56687         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56688         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56689         * sysdeps/i386/fpu/e_pow.S: Likewise.
56690         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56691         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56692         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56693         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56694         * sysdeps/i386/fpu/e_log2.S: Likewise.
56695         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56696         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56697         * sysdeps/i386/fpu/e_powl.S: Likewise.
56698         * sysdeps/i386/fpu/s_log1p.S: Likewise.
56699         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56700         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56701         * sysdeps/i386/fpu/e_logl.S: Likewise.
56702         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56703         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56704         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56705         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56706         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56707         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56708         * sysdeps/i386/fpu/e_log.S: Likewise.
56709         * sysdeps/i386/fpu/s_cexp.S: Likewise.
56710         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56711         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56712         * sysdeps/i386/fpu/e_logf.S: Likewise.
56713         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56714         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56715         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56716         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56717         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56718         * sysdeps/i386/fpu/e_log10.S: Likewise.
56719         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56720         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56721         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56722         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56723         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56724         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56725         * sysdeps/i386/asm-syntax.h: Likewise.
56726         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56727         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56728         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56729         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56730         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56731         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56732         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56733         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56734         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56735         * sysdeps/powerpc/sysdep.h: Likewise.
56736         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56737         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56739 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56741         [BZ #411]
56742         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56744 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56746         * sysdeps/i386/sysdep.h: Include <features.h>.
56747         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56748         version.
56750 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56752         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56753         Define.
56754         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56755         LOAD_PIC_REG_STR.
56757 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56759         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56760         (SETUP_PIC_REG): Use GET_PC_THUNK.
56761         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56762         macro.
56764 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56766         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56767         for non-PIC compilation.
56768         (SETUP_PIC_REG): Add .p2align directive.
56769         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56770         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56771         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56772         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56773         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56774         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56775         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56776         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56777         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56778         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56779         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56780         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56781         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56782         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56783         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56784         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56785         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56786         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56787         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56788         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56789         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56790         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56791         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56792         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56793         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56794         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56795         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56796         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56797         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56798         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56799         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56800         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56801         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56802         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56803         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56804         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56805         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56806         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56807         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56808         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56809         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56811 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56813         * math/tst-CMPLX.c: Include <stdio.h>.
56815 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56817         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56818         float.
56819         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56820         * sysdeps/sparc/bits/mathdef.h: Likewise.
56822 2012-01-31  Marek Polacek  <polacek@redhat.com>
56824         * libio/libio.h: Don't define _PARAMS.
56825         * locale/programs/config.h: Don't define PARAMS.
56826         * stdlib/strtol_l.c: Likewise.
56827         (__strtol_l): Remove PARAMS from the prototype.
56829 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56831         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56832         names.  Just use the correct names.  Remove unnecessary wrapper
56833         functions.
56834         * malloc/arena.c: Likewise.
56835         * malloc/hooks.c: Likewise.
56837         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56838         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56839         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56841 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56843         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56844         into tail calls.
56845         (update_get_addr): New function.
56846         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56847         GET_ADDR_MODULE parameter.
56849 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56851         * crypt/cert.c: Remove __STDC__ conditionals.
56852         * crypt/crypt-entry.c: Likewise.
56853         * crypt/crypt_util.c: Likewise.
56854         * libio/filedoalloc.c: Likewise.
56855         * libio/fileops.c: Likewise.
56856         * libio/genops.c: Likewise.
56857         * libio/iofclose.c: Likewise.
56858         * libio/iofdopen.c: Likewise.
56859         * libio/iofopen.c: Likewise.
56860         * libio/iofopen64.c: Likewise.
56861         * libio/iogetdelim.c: Likewise.
56862         * libio/iopopen.c: Likewise.
56863         * libio/obprintf.c: Likewise.
56864         * libio/oldfileops.c: Likewise.
56865         * libio/oldiofclose.c: Likewise.
56866         * libio/oldiofdopen.c: Likewise.
56867         * libio/oldiofopen.c: Likewise.
56868         * libio/oldiopopen.c: Likewise.
56869         * libio/wfiledoalloc.c: Likewise.
56870         * libio/wgenops.c: Likewise.
56871         * locale/programs/xmalloc.c: Likewise.
56872         * misc/syslog.c: Likewise.
56873         * stdio-common/xbug.c: Likewise.
56874         * string/memchr.c: Likewise.
56875         * string/memcmp.c: Likewise.
56876         * string/memrchr.c: Likewise.
56877         * string/rawmemchr.c: Likewise.
56878         * sysdeps/posix/getcwd.c: Likewise.
56879         * time/strftime_l.c: Likewise.
56881 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56883         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56884         * config.make.in (config-cflags-sse2avx): Define.
56885         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56886         Fix typo.
56888 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56890         * scripts/config.guess: Update from upstream config git repository.
56891         * scripts/config.sub: Likewise.
56893 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56895         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56896         (EM_NUM): Update.
56897         (R_TILEPRO_*, R_TILEGX_*): New macros.
56899         * scripts/firstversions.awk: Fix bug in version range handling.
56901         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56903         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56905         * include/sys/epoll.h: New file.
56906         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56907         libc_hidden_def.
56909 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56911         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56912         Avoid unnecessary __WORDSIZE == 64 test.
56913         (fmaxf): Use VEX format if possible.
56914         (fmax): Likewise.
56915         (fminf): Likewise.
56916         (fmin): Likewise.
56918         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56919         * math/math_private.h: Remove libc_fegetround* and
56920         libc_fesetround*.
56921         * sysdeps/i386/configure.in: Check for -msse2avx.
56922         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56923         also if SSE2AVX is defined.
56924         Remove libc_fegetround* and libc_fesetround*.
56925         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56926         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56927         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56928         of HAS_YMM_USABLE.
56929         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56930         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56931         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56932         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56933         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56935         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56937 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56939         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56940         size is not set.
56941         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56943 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56945         [BZ #13618]
56946         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56947         relocation.
56948         * Makeconfig (libm): Define.
56949         * elf/Makefile: Add rules to build and run tst-relsort1.
56950         * elf/tst-relsort1.c: New file.
56951         * elf/tst-relsort1mod1.c: New file.
56952         * elf/tst-relsort1mod2.c: New file.
56954 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56956         * math/s_ldexp.c: Remove __STDC__ conditionals.
56957         * math/s_ldexpf.c: Likewise.
56958         * math/s_ldexpl.c: Likewise.
56959         * math/s_nextafter.c: Likewise.
56960         * math/s_nexttowardf.c: Likewise.
56961         * math/s_significand.c: Likewise.
56962         * math/s_significandf.c: Likewise.
56963         * math/s_significandl.c: Likewise.
56964         * math/w_jnl.c: Likewise.
56965         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56966         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56967         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56968         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56969         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56970         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56971         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56972         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56973         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56974         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56975         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56976         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56977         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56978         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56979         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56980         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56981         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56982         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56983         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56984         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56985         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56986         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56987         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56988         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56989         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56990         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56991         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56992         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56993         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56994         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56995         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56996         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56997         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56998         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56999         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57000         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57001         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57002         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57003         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57004         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57005         * sysdeps/ieee754/k_standard.c: Likewise.
57006         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57007         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57008         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57009         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57010         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57011         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57012         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57013         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57014         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57015         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57016         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57017         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57018         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57019         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57020         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57021         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57022         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57023         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57024         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57025         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57026         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57027         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57028         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57029         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57030         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57031         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57032         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57033         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57034         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57035         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57036         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57037         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
57038         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57039         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57040         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57041         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57042         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
57043         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57044         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57045         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
57046         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
57047         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57048         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
57049         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
57050         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57051         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57052         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57053         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57054         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57055         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
57056         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
57057         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57058         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57059         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57060         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57061         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57062         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
57063         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57064         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57065         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57066         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57067         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57068         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57069         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57070         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57071         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57072         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57073         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57074         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57075         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57076         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57077         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57078         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57079         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57080         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57081         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57082         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57083         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57084         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57085         * sysdeps/ieee754/s_matherr.c: Likewise.
57086         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57087         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57088         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57089         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57091 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
57093         * crypt/md5.h: Remove __STDC__ conditionals.
57094         * libio/libioP.h: Likewise.
57095         * locale/programs/config.h: Likewise.
57096         * sysdeps/generic/sysdep.h: Likewise.
57097         * sysdeps/i386/asm-syntax.h: Likewise.
57098         * sysdeps/s390/asm-syntax.h: Likewise.
57099         * sysdeps/unix/sysdep.h: Likewise.
57100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
57101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57103 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
57105         * libio/libio.h: Remove __STDC__ conditionals.
57106         * malloc/obstack.h: Likewise.
57107         * math/complex.h: Likewise.
57108         * math/math.h: Likewise.
57109         * sysdeps/generic/_G_config.h: Likewise.
57110         * sysdeps/gnu/_G_config.h: Likewise.
57111         * sysdeps/mach/hurd/_G_config.h: Likewise.
57112         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57113         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57114         * sysdeps/sparc/bits/mathdef.h: Likewise.
57116 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
57118         [BZ #13583]
57119         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
57120         Clean up HAS_* macros.
57121         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
57122         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
57123         possible.
57124         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
57125         HAS_AVX.
57126         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57127         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57128         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57129         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57130         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57132 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
57134         * elf/tst-unique3.cc (gets): Remove declaration.
57135         * elf/tst-unique3lib.cc (gets): Likewise.
57136         * elf/tst-unique3lib2.cc (gets): Likewise.
57137         * elf/tst-unique4.cc (gets): Likewise.
57139 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
57141         * include/stdio.h: Add C++ protection.  Add gets declarations and
57142         definitions.
57143         * debug/tst-chk1.c: Don't declare gets here.
57144         * stdio-common/tst-gets.c: Likewise.
57146 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57148         * posix/glob: Remove directory.
57150 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57152         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
57154 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
57156         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
57157         of the non-standard EPFNOSUPPORT.
57159 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57161         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
57162         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
57163         ANYWHERE set to 1 only on KERN_NO_SPACE error.
57165 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
57167         * wcsmbs/uchar.h: Test __STDC_VERSION__.
57169 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
57171         * nscd/aicache.c (addhstaiX): Do not cache negative results of
57172         transient errors.
57173         * nscd/grpcache.c (cache_addgr): Likewise.
57174         * nscd/hstcache.c (cache_addhst): Likewise.
57175         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57176         * nscd/pwdcache.c (cache_addpw): Likewise.
57177         * nscd/servicescache.c (cache_addserv): Likewise.
57179 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
57181         * malloc/malloc.c: Various cleanups.
57182         * malloc/hooks.c: Likewise.
57184         * stdlib/Makefile (tests): Add bug-fmtmsg1.
57185         * stdlib/bug-fmtmsg1.c: New file.
57187         * stdlib/fmtmsg.c (init): Add missing unlock.
57188         Patch by Peng Haitao <penght@cn.fujitsu.com>.
57190 2012-01-12  Marek Polacek  <polacek@redhat.com>
57192         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
57193         and _GNU_SOURCE.
57195 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
57197         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
57198         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
57199         macro to ensure uniqueness of label name.
57200         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57201         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57203 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
57205         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
57207         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
57208         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57209         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57210         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
57212 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
57214         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
57216         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
57217         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57218         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57220         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
57222         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
57223         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57224         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57225         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
57227         * math/bits/math-finite.h: Add ldexp support.
57229 2012-01-10  Marek Polacek  <polacek@redhat.com>
57231         * locale/programs/localedef.h (show_archive_content): Add noreturn
57232         attribute.
57234 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
57236         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
57238 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57240         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
57242         * io/Makefile (headers): Add bits/poll2.h.
57244 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
57246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
57247         typo #include statement.
57249 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57251         * include/sys/cdefs.h: Define __attribute_alloc_size.
57252         * catgets/gencat.c: Add alloc_size attribute and apply consistently
57253         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
57254         * elf/pldd.c: Likewise.
57255         * iconv/iconv_charmap.c: Likewise.
57256         * iconv/iconvconfig.c: Likewise.
57257         * iconv/strtab.c: Likewise.
57258         * locale/programs/locale.c: Likewise.
57259         * locale/programs/localedef.h: Likewise.
57260         * locale/programs/simple-hash.c: Likewise.
57261         * nscd/nscd.h: Likewise.
57262         * nss/makedb.c: Likewise.
57263         * sysdeps/generic/ldconfig.h: Likewise.
57264         * locale/programs/localedef.c: Remove xmalloc prototype.
57265         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
57267 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
57269         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
57270         appropriate.
57272 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57274         * math/Makefile (tests): Add tst-CMPLX.
57275         * math/tst-CMPLX.c: New file.
57277         * math/complex.h (CMPLXL): Fix typo.
57279         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
57280         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
57281         GLIBC_2.16.
57282         * debug/tst-chk1.c: Add poll and ppoll tests.
57283         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
57284         * include/sys/poll.h: Add hidden proto for ppoll.
57285         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
57286         * sysdeps/mach/hurd/ppoll.c: Likewise.
57287         * io/ppoll.c: Likewise.
57288         * debug/poll_chk.c: New file.
57289         * debug/ppoll_chk.c: New file.
57290         * include/bits/poll2.h: New file.
57291         * io/bits/poll2.h: New file.
57293         [BZ #1350]
57294         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
57296         * configure.in: static is always set to yes.  Remove.
57297         * config.make.in: Don't set build-static.
57298         * Makeconfig: Remove use of build-static.
57299         * dlfcn/Makefile: Likewise.
57300         * elf/Makefile: Likewise.
57301         * math/Makefile: Likewise.
57302         * misc/Makefile: Likewise.
57303         * nptl/Makefile: Likewise.
57304         * sysdeps/mach/hurd/Makefile: Likewise.
57306         * configure.in: PWD_P is not used anymore.
57307         * config.make.in: Remove PWD_P entry.
57309         * configure.in: Remove last remnants of RANLIB.
57310         No need to check for signed size_t anymore.
57311         Don't set libc_commonpagesize and libc_relro_required here for Alpha
57312         and IA-64.
57313         Remove __builtin_expect test because we require at least gcc 3.4.
57314         * aclocal.m4: Likewise.
57316         * wcsmbs/mbrtoc16.c: Implement using towc function.
57317         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
57318         * wcsmbs/wcsmbsload.c: Likewise.
57319         * iconv/gconv_simple.c: Likewise.
57320         * iconv/gconv_int.h: Likewise.
57321         * iconv/gconv_builtin.h: Likewise.
57322         * iconv/iconv_prog.c: Remove CHAR16 handling.
57324         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
57326         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
57328         * configure.in: Remove --with-elf and --enable-bounded options.
57329         Dont set base_machine for ia64.  More non-ELF conditions removed.
57330         Remove testing and setting of leading underscore information.
57331         * config.make.in (build-bounded): Set to no.
57332         * config.h.in: Remove NO_UNDERSCORES entry.
57333         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
57334         them.
57335         * csu/start.c: Remove !NO_UNDERSCORE code.
57336         * locale/localeinfo.h: Likewise.
57337         * sysdeps/generic/machine-gmon.h: Likewise.
57338         * sysdeps/generic/sysdep.h: Likewise.
57339         * sysdeps/i386/sysdep.h: Likewise.
57340         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57341         * sysdeps/mach/sysdep.h: Likewise.
57342         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57343         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57344         * sysdeps/sh/sysdep.h: Likewise.
57345         * sysdeps/sparc/sparc32/alloca.S: Likewise.
57346         * sysdeps/unix/i386/sysdep.S: Likewise.
57347         * sysdeps/unix/sparc/start.c: Likewise.
57348         * sysdeps/unix/sparc/sysdep.S: Likewise.
57349         * sysdeps/unix/sparc/sysdep.h: Likewise.
57350         * sysdeps/unix/start.c: Likewise.
57351         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57352         * sysdeps/x86_64/sysdep.h: Likewise.
57354 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
57356         [BZ #13553]
57357         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
57358         for non-gcc.
57359         * argp/argp-fmtstream.h: Use const instead __const.
57360         * argp/argp.h: Likewise.
57361         * assert/assert.h: Likewise.
57362         * bits/fenv.h: Likewise.
57363         * bits/sched.h: Likewise.
57364         * bits/sigset.h: Likewise.
57365         * bits/sigthread.h: Likewise.
57366         * catgets/nl_types.h: Likewise.
57367         * conform/data/pthread.h-data: Likewise.
57368         * crypt/crypt-private.h: Likewise.
57369         * crypt/crypt.h: Likewise.
57370         * crypt/crypt_util.c: Likewise.
57371         * ctype/ctype.h: Likewise.
57372         * debug/execinfo.h: Likewise.
57373         * debug/mbsnrtowcs_chk.c: Likewise.
57374         * debug/mbsrtowcs_chk.c: Likewise.
57375         * debug/wcsnrtombs_chk.c: Likewise.
57376         * debug/wcsrtombs_chk.c: Likewise.
57377         * debug/wcstombs_chk.c: Likewise.
57378         * dirent/dirent.h: Likewise.
57379         * dlfcn/dlfcn.h: Likewise.
57380         * elf/neededtest4.c: Likewise.
57381         * grp/grp.h: Likewise.
57382         * gshadow/gshadow.h: Likewise.
57383         * iconv/gconv.h: Likewise.
57384         * iconv/gconv_int.h: Likewise.
57385         * iconv/gconv_simple.c: Likewise.
57386         * iconv/iconv.h: Likewise.
57387         * iconv/loop.c: Likewise.
57388         * iconv/skeleton.c: Likewise.
57389         * include/aio.h: Likewise.
57390         * include/aliases.h: Likewise.
57391         * include/argz.h: Likewise.
57392         * include/arpa/inet.h: Likewise.
57393         * include/assert.h: Likewise.
57394         * include/dirent.h: Likewise.
57395         * include/dlfcn.h: Likewise.
57396         * include/execinfo.h: Likewise.
57397         * include/fcntl.h: Likewise.
57398         * include/fenv.h: Likewise.
57399         * include/glob.h: Likewise.
57400         * include/grp.h: Likewise.
57401         * include/libintl.h: Likewise.
57402         * include/mntent.h: Likewise.
57403         * include/netdb.h: Likewise.
57404         * include/pwd.h: Likewise.
57405         * include/rpc/netdb.h: Likewise.
57406         * include/sched.h: Likewise.
57407         * include/search.h: Likewise.
57408         * include/shadow.h: Likewise.
57409         * include/signal.h: Likewise.
57410         * include/stdio.h: Likewise.
57411         * include/stdlib.h: Likewise.
57412         * include/string.h: Likewise.
57413         * include/sys/socket.h: Likewise.
57414         * include/sys/stat.h: Likewise.
57415         * include/sys/statfs.h: Likewise.
57416         * include/sys/statvfs.h: Likewise.
57417         * include/sys/syslog.h: Likewise.
57418         * include/sys/time.h: Likewise.
57419         * include/sys/uio.h: Likewise.
57420         * include/time.h: Likewise.
57421         * include/unistd.h: Likewise.
57422         * include/utmp.h: Likewise.
57423         * include/wchar.h: Likewise.
57424         * include/wctype.h: Likewise.
57425         * inet/aliases.h: Likewise.
57426         * inet/arpa/inet.h: Likewise.
57427         * inet/netinet/ether.h: Likewise.
57428         * inet/netinet/in.h: Likewise.
57429         * intl/libintl.h: Likewise.
57430         * io/bits/fcntl2.h: Likewise.
57431         * io/fcntl.h: Likewise.
57432         * io/ftw.h: Likewise.
57433         * io/sys/poll.h: Likewise.
57434         * io/sys/stat.h: Likewise.
57435         * io/sys/statfs.h: Likewise.
57436         * io/sys/statvfs.h: Likewise.
57437         * io/utime.h: Likewise.
57438         * libio/bits/stdio.h: Likewise.
57439         * libio/bits/stdio2.h: Likewise.
57440         * libio/libio.h: Likewise.
57441         * libio/libioP.h: Likewise.
57442         * libio/stdio.h: Likewise.
57443         * locale/lc-ctype.c: Likewise.
57444         * locale/locale.h: Likewise.
57445         * login/utmp.h: Likewise.
57446         * malloc/arena.c: Likewise.
57447         * malloc/malloc.c: Likewise.
57448         * malloc/malloc.h: Likewise.
57449         * malloc/mcheck.c: Likewise.
57450         * malloc/mtrace.c: Likewise.
57451         * math/bits/mathcalls.h: Likewise.
57452         * math/fenv.h: Likewise.
57453         * math/math_private.h: Likewise.
57454         * misc/bits/error.h: Likewise.
57455         * misc/bits/syslog.h: Likewise.
57456         * misc/err.h: Likewise.
57457         * misc/error.h: Likewise.
57458         * misc/fstab.h: Likewise.
57459         * misc/mntent.h: Likewise.
57460         * misc/regexp.h: Likewise.
57461         * misc/search.h: Likewise.
57462         * misc/sgtty.h: Likewise.
57463         * misc/sys/mman.h: Likewise.
57464         * misc/sys/syslog.h: Likewise.
57465         * misc/sys/uio.h: Likewise.
57466         * misc/sys/xattr.h: Likewise.
57467         * misc/ttyent.h: Likewise.
57468         * nis/rpcsvc/ypclnt.h: Likewise.
57469         * nss/nss.h: Likewise.
57470         * posix/bits/unistd.h: Likewise.
57471         * posix/fnmatch.h: Likewise.
57472         * posix/glob.h: Likewise.
57473         * posix/sched.h: Likewise.
57474         * posix/spawn.h: Likewise.
57475         * posix/sys/wait.h: Likewise.
57476         * posix/unistd.h: Likewise.
57477         * posix/wordexp.h: Likewise.
57478         * pwd/pwd.h: Likewise.
57479         * resolv/netdb.h: Likewise.
57480         * resource/sys/resource.h: Likewise.
57481         * rt/aio.h: Likewise.
57482         * rt/bits/mqueue2.h: Likewise.
57483         * rt/mqueue.h: Likewise.
57484         * shadow/shadow.h: Likewise.
57485         * signal/signal.h: Likewise.
57486         * socket/send.c: Likewise.
57487         * socket/sendto.c: Likewise.
57488         * socket/sys/socket.h: Likewise.
57489         * stdio-common/printf.h: Likewise.
57490         * stdlib/bits/stdlib.h: Likewise.
57491         * stdlib/fmtmsg.h: Likewise.
57492         * stdlib/monetary.h: Likewise.
57493         * stdlib/stdlib.h: Likewise.
57494         * stdlib/ucontext.h: Likewise.
57495         * streams/stropts.h: Likewise.
57496         * string/argz.h: Likewise.
57497         * string/bits/string2.h: Likewise.
57498         * string/string.h: Likewise.
57499         * string/strings.h: Likewise.
57500         * sunrpc/rpc/auth.h: Likewise.
57501         * sunrpc/rpc/auth_des.h: Likewise.
57502         * sunrpc/rpc/clnt.h: Likewise.
57503         * sunrpc/rpc/netdb.h: Likewise.
57504         * sunrpc/rpc/pmap_clnt.h: Likewise.
57505         * sunrpc/rpc/xdr.h: Likewise.
57506         * sysdeps/generic/inttypes.h: Likewise.
57507         * sysdeps/generic/net/if.h: Likewise.
57508         * sysdeps/generic/sys/swap.h: Likewise.
57509         * sysdeps/gnu/net/if.h: Likewise.
57510         * sysdeps/gnu/utmpx.h: Likewise.
57511         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
57512         * sysdeps/i386/i486/bits/string.h: Likewise.
57513         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
57514         * sysdeps/s390/bits/string.h: Likewise.
57515         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
57516         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
57517         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
57518         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
57519         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
57520         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
57521         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
57522         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
57523         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
57524         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
57525         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
57526         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57527         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
57528         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57529         * sysdeps/unix/sysv/linux/readv.c: Likewise.
57530         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
57531         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57532         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57533         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
57534         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
57535         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57536         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
57537         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
57538         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
57539         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
57540         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
57541         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
57542         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57543         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
57544         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
57545         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
57546         * sysvipc/sys/ipc.h: Likewise.
57547         * sysvipc/sys/msg.h: Likewise.
57548         * sysvipc/sys/sem.h: Likewise.
57549         * sysvipc/sys/shm.h: Likewise.
57550         * termios/termios.h: Likewise.
57551         * time/sys/time.h: Likewise.
57552         * time/time.h: Likewise.
57553         * wcsmbs/bits/wchar2.h: Likewise.
57554         * wcsmbs/uchar.h: Likewise.
57555         * wcsmbs/wchar.h: Likewise.
57556         * wctype/wctype.h: Likewise.
57558         [BZ #13551]
57559         * Makeconfig: Remove all but ELF support including AIX support.
57560         * Makerules: Likewise.
57561         * config.h.in: Likewise.
57562         * config.make.in: Likewise.
57563         * configure: Likewise.
57564         * configure.in: Likewise.
57565         * csu/Makefile: Likewise.
57566         * csu/version.c: Likewise.
57567         * debug/Makefile: Likewise.
57568         * dlfcn/Makefile: Likewise.
57569         * elf/Makefile: Likewise.
57570         * extra-lib.mk: Likewise.
57571         * iconv/Makefile: Likewise.
57572         * include/libc-symbols.h: Likewise.
57573         * include/shlib-compat.h: Likewise.
57574         * resolv/Makefile: Likewise.
57575         * resolv/res_libc.c: Likewise.
57576         * rt/Makefile: Likewise.
57577         * sysdeps/i386/asm-syntax.h: Likewise.
57578         * sysdeps/i386/sysdep.h: Likewise.
57579         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57580         * sysdeps/mach/sysdep.h: Likewise.
57581         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
57582         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
57583         * sysdeps/s390/asm-syntax.h: Likewise.
57584         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57585         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57586         * sysdeps/sh/sysdep.h: Likewise.
57587         * sysdeps/unix/sparc/sysdep.h: Likewise.
57588         * sysdeps/wordsize-32/divdi3.c: Likewise.
57589         * sysdeps/x86_64/sysdep.h: Likewise.
57591         * argp/Versions: Remove _argp_unlock_xxx.
57593         [BZ #13559]
57594         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
57595         * abilist/libBrokenLocale.abilist: Likewise.
57596         * abilist/libanl.abilist: Likewise.
57597         * abilist/libc.abilist: Likewise.
57598         * abilist/libcrypt.abilist: Likewise.
57599         * abilist/libdl.abilist: Likewise.
57600         * abilist/libm.abilist: Likewise.
57601         * abilist/libnsl.abilist: Likewise.
57602         * abilist/libpthread.abilist: Likewise.
57603         * abilist/libresolv.abilist: Likewise.
57604         * abilist/librt.abilist: Likewise.
57605         * abilist/libthread_db.abilist: Likewise.
57606         * abilist/libutil.abilist: Likewise.
57607         * abilist/libnss_db.abilist: New file.
57609         * scripts/abilist.awk: Add support for indirect functions.
57611         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
57613         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
57615         * shlib-versions: Remove entries for ports architectures.
57617         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
57618         files in ports.
57619         * elf/stackguard-macros.h: Remove support for IA-64.
57620         * elf/tst-auditmod1.c: Likewise.
57621         * sysdeps/generic/ldsodefs.h: Likewise.
57623         * sysdeps/unix/sysv/linux/configure.in: Ports should define
57624         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
57625         configure files.
57627         [BZ #13552]
57628         * configure.in: Remove --enable-omitfp support.
57629         * FAQ.in: Adjust.
57630         * config.make.in: Likewise.
57631         * Makeconfig: Likewise.
57632         * manual/install.texi: Likewise.
57634         In case anyone cares, the IA-64 architecture could move to ports.
57635         * sysdeps/ia64/*: Removed.
57636         * sysdeps/unix/sysv/linux/ia64/*: Removed.
57637         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
57639         [BZ #13555]
57640         * configure.in: Remove entries for unsupported architectures.
57642         [BZ #13533]
57643         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
57644         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
57645         routines.
57646         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
57647         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
57648         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
57649         fall back to using wcrtomb.
57650         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
57651         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
57652         renaming.
57653         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
57654         * wcsmbs/tst-c16c32-1.c: New file.
57656         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
57657         local variable.
57659         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
57661         * elf/tst-unique3.cc: Add explicit declaration of gets.
57662         * elf/tst-unique3lib.cc: Likewise.
57663         * elf/tst-unique3lib2.cc: Likewise.
57664         * elf/tst-unique4.cc: Likewise.
57666         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
57668 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
57670         [BZ #13566]
57671         * assert/assert.h (static_assert): Don't define for C++.
57672         * libio/stdio.h (gets): Do declare for C++ <= C++11.
57673         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57675 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
57677         * iconv/loop.c (single loop): Fix assertion in storing of
57678         remaining bytes.
57680         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57682 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
57684         * posix/getconf.c: Update copyright year.
57685         * nss/getent.c: Likewise.
57686         * nss/makedb.c: Likewise.
57687         * iconv/iconvconfig.c: Likewise.
57688         * iconv/iconv_prog.c: Likewise.
57689         * elf/ldconfig.c: Likewise.
57690         * elf/pldd.c: Likewise.
57691         * elf/sotruss.ksh: Likewise.
57692         * catgets/gencat.c: Likewise.
57693         * csu/version.c: Likewise.
57694         * elf/ldd.bash.in: Likewise.
57695         * elf/sprof.c (print_version): Likewise.
57696         * locale/programs/locale.c: Likewise.
57697         * locale/programs/localedef.c: Likewise.
57698         * login/programs/pt_chown.c: Likewise.
57699         * nscd/nscd.c (print_version): Likewise.
57700         * debug/xtrace.sh: Likewise.
57701         * malloc/memusage.sh: Likewise.
57702         * malloc/mtrace.pl: Likewise.
57703         * debug/catchsegv.sh: Likewise.
57705 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
57707         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57708         pure attribute.
57710 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
57712         [BZ #13533]
57713         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57714         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57715         transformations.
57716         * iconv/gconv_int.h: Likewise.
57717         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57718         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57719         from libc for GLIBC_2.16.
57720         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57721         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57722         * wcsmbs/uchar.h: Really define mbstate_t.
57723         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57724         * wcsmbs/c16rtomb.c: New file.
57725         * wcsmbs/mbrtoc16.c: New file.
57726         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57727         for C/POSIX locale.
57728         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57729         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57731         * wcsmbs/wchar.h: Add missing __restrict.
57733 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57735         [BZ #13532]
57736         * time/Makefile (routines): Add timespec_get.
57737         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57738         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57739         timespec for ISO C11.
57740         * time/timespec_get.c: New file.
57741         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57742         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57744         [BZ #13531]
57745         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57746         * stdlib/stdlib.h: Declare aligned_alloc.
57747         * Versions.def: Add GLIBC_2.16 for libc.
57748         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57750         [BZ 13527]
57751         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57752         ISO C11.
57754         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57755         code.
57757         [BZ #13528]
57758         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57760         [BZ #13529]
57761         * assert/assert.h (static_assert): Define.
57763         * version.h: Update for 2.16 development version.
57765         [BZ #13526]
57766         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57767         _ISOC11_SOURCE.
57769         * version.h (RELEASE): Bump for 2.15 release.
57770         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57772         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57773         Patch by Marek Polacek <mpolacek@redhat.com>.
57775         * bits/byteswap.h: Protect long long constants with __extension__.
57776         * sysdeps/i386/bits/byteswap.h: Likewise.
57777         * sysdeps/ia64/bits/byteswap.h: Likewise.
57778         * sysdeps/s390/bits/byteswap.h: Likewise.
57779         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57781 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57783         [BZ #13540]
57784         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57785         destination buffer.
57786         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57788 2011-12-23  Marek Polacek  <polacek@redhat.com>
57790         * elf/dl-addr.c (determine_info): Add inline keyword.
57791         * elf/tst-auditmod4b.c (check_avx): Likewise.
57792         * elf/tst-auditmod6b.c (check_avx): Likewise.
57793         * elf/tst-auditmod6c.c (check_avx): Likewise.
57794         * elf/tst-auditmod7b.c (check_avx): Likewise.
57796 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57798         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57799         !__SSE_MATH__.
57801 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57803         [BZ #13540]
57804         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57805         processing for last bytes.
57807 2011-08-06  Bruno Haible  <bruno@clisp.org>
57809         [BZ #13061]
57810         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57811         U+0385, not to U+1FEE.
57813         [BZ #13062]
57814         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57815         entry for U+00A5 U+0301.
57817 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57819         [BZ #13166]
57820         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57821         buffer for the output is too small.
57823         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57824         optimization.
57826         [BZ #13185]
57827         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57828         SSE flags if possible.
57830 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57832         [BZ #13540]
57833         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57834         processing for last bytes.
57836 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57838         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57839         (syscall-list-default-options, syscall-list-default-condition)
57840         (syscall-list-includes): Define.
57841         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57842         list of ABIs and options and #if conditions for each ABI.  Do not
57843         handle common syscalls between ABIs specially.
57844         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57845         Remove.
57846         (syscall-list-variants, syscall-list-32bit-options)
57847         (syscall-list-32bit-condition, syscall-list-64bit-options)
57848         (syscall-list-64bit-condition): Define.
57849         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57850         (syscall-list-variants, syscall-list-32bit-options)
57851         (syscall-list-32bit-condition, syscall-list-64bit-options)
57852         (syscall-list-64bit-condition): Define.
57853         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57854         Remove.
57855         (syscall-list-variants, syscall-list-32bit-options)
57856         (syscall-list-32bit-condition, syscall-list-64bit-options)
57857         (syscall-list-64bit-condition): Define.
57858         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57859         Remove.
57860         (syscall-list-variants, syscall-list-32bit-options)
57861         (syscall-list-32bit-condition, syscall-list-64bit-options)
57862         (syscall-list-64bit-condition): Define.
57864 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57866         * locale/iso-639.def: Add brx entry.
57868         [BZ #13328]
57869         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57870         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57872         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57873         __feraiseexcept_renamed.
57875 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57877         [BZ #13538]
57878         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57879         EPOLLET with unsigned values.
57880         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57881         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57883         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57884         to large cancellation.
57885         * math/s_cacoshf.c: Likewise.
57886         * math/s_cacoshl.c: Likewise.
57888 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57890         [BZ #13305]
57891         [BZ #12786]
57892         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57893         * math/s_cacoshf.c: Likewise.
57894         * math/s_cacoshl.c: Likewise.
57896 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57898         [BZ #13439]
57899         * iconv/gconv.h: Define __GCONV_SWAP.
57900         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57901         * iconvdata/utf-16.c: Likewise.
57902         * iconvdata/utf-32.c: Likewise.
57904 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57906         [BZ #13524]
57907         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57908         numerator after shifting it by one limb.
57910 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57912         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57913         under [__USE_EXTERN_INLINES].
57915 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57917         [BZ #13446]
57918         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57920 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57922         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57923         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57924         optimized code.
57925         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57926         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57927         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57928         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57929         for strncasecmp/strncasecmp_l compilation.
57930         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57931         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57933 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57935         [BZ #13484]
57936         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57937         of __asm__.
57939 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57941         [BZ #13506]
57942         * time/tzfile.c (__tzfile_read): Check values from file header.
57944 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57946         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57947         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57948         * powerpc/powerpc32/dl-start.S: Likewise.
57949         * powerpc/powerpc32/elf/start.S: Likewise.
57950         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57951         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57952         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57953         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57954         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57955         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57956         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57957         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57958         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57959         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57960         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57961         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57962         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57963         * powerpc/powerpc32/memset.S: Likewise.
57964         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57965         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57966         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57967         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57968         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57969         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57970         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57971         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57972         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57973         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57974         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57975         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57976         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57978 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57980         * math/libm-test.inc: Added more nearbyint tests.
57981         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57982         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57983         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57984         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57986 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57988         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57989         FD_CLOEXEC.
57991 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57993         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57994         Add wcscpy-ssse3 wcscpy-c.
57995         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57996         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57997         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57998         * sysdeps/x86_64/wcschr.S: New file.
57999         * sysdeps/x86_64/wcsrchr.S: New file.
58000         * string/test-strcmp.c: Remove checking of wcscmp function for
58001         wrong alignments.
58002         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
58003         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
58004         wcsrchr-sse2 wcsrchr-c.
58005         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
58006         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
58007         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
58008         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
58009         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
58010         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
58011         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
58012         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
58013         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
58014         * wcsmbc/wcschr.c (WCSCHR): New macro.
58016 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58018         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
58019         * wcsmbs/test-wcsrchr.c: New file.
58020         * string/test-strrchr.c: Add wcsrchr support.
58021         (WIDE): New macro.
58022         * wcsmbs/test-wcscpy.c: New file.
58023         * string/test-strcpy.c: Add wcscpy support.
58024         (WIDE): New macro.
58026 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
58028         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
58029         the inner loop.
58031 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
58033         [BZ #13472]
58034         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
58036 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
58038         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
58039         Minor optimizations.
58041         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
58042         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
58043         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
58045 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
58047         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
58048         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
58049         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
58050         for gcc to avoid warnings.
58051         * inet/Makefile (tests): Add tst-checks.
58052         * inet/tst-checks.c: New file.
58054         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
58055         warning.
58057         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
58058         __wmemcmp_sse2.
58060         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
58061         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
58063         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
58065 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
58067         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
58068         problem.
58070         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
58072 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
58074         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
58075         conditional on GCC version.
58076         (__arch_compare_and_exchange_val_8_acq)
58077         (__arch_compare_and_exchange_val_16_acq)
58078         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
58079         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
58080         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
58082 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
58084         * sysdeps/sh/backtrace.c: New file.
58086 2011-12-02  Andreas Schwab  <schwab@redhat.com>
58088         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
58089         parenthesis.
58091 2011-12-01  Andreas Schwab  <schwab@redhat.com>
58093         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
58094         falling back to utime.
58096 2011-11-30  Andreas Schwab  <schwab@redhat.com>
58098         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
58099         expectations for float.
58101 2011-11-29  Andreas Schwab  <schwab@redhat.com>
58103         * locale/weight.h (findidx): Add parameter len.
58104         * locale/weightwc.h (findidx): Likewise.
58105         * posix/fnmatch_loop.c (FCT): Adjust caller.
58106         * posix/regcomp.c (build_equiv_class): Likewise.
58107         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
58108         * posix/regexec.c (check_node_accept_bytes): Likewise.
58109         * string/strcoll_l.c (STRCOLL): Likewise.
58110         * string/strxfrm_l.c (STRXFRM): Likewise.
58112 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
58114         * Makefile.in: Remove CVSOPT handling.
58115         * configure.in: Remove use of AC_REVISION.
58116         * iconvdata/Makefile (distribute): No need to filter out CVS.
58117         * scripts/list-sources.sh: Remove CVS, subversion and monotone
58118         handling.
58120 2011-11-16  Andreas Schwab  <schwab@redhat.com>
58122         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
58123         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
58124         [USE_AS_STRNCASECMP_L]: Likewise.
58125         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
58126         NO_TLS_DIRECT_SEG_REFS.
58127         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
58128         Fix argument offsets for non-PIC.
58129         [USE_AS_STRNCASECMP_L]: Likewise.
58130         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
58131         NO_TLS_DIRECT_SEG_REFS.
58133 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58135         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
58136         O_CLOEXEC.
58137         * locale/loadlocale.c (_nl_load_locale): Likewise.
58139 2011-11-15  Andreas Schwab  <schwab@redhat.com>
58141         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
58142         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
58143         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
58144         (SYSCALL_GETTIME): Set errno on error.
58146         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
58147         count references to noai6ai_cached.
58149 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58151         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
58153         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
58154         FD_CLOEXEC for /proc/self/maps.
58156         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
58157         FD_CLOEXEC for /proc/meminfo.
58159         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
58160         gai.conf.
58162         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
58163         FD_CLOEXEC for given file.
58165         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
58167         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
58168         FD_CLOEXEC for /etc/hosts.
58169         (_gethtent): Likewise.
58171         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
58173         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
58174         cancellation and set FD_CLOEXEC for /etc/netgroup.
58176         * nss/nss_files/files-key.c (search): Don't allow cancellation when
58177         reading /etc/publickey.
58179         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
58180         allow cancellation when reading /etc/group.
58182         * nss/nss_files/files-alias.c (internal_setent): Don't allow
58183         cancellation.
58184         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
58186         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
58187         when using data file.
58189         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
58191         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
58192         (write_nis_obj): Use "c" and "e" in fopen.
58194         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
58196         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
58198         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
58200         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
58202         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
58203         locale.alias.
58205         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
58207         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
58209         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
58211         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
58212         file parsing and set FD_CLOEXEC.
58214 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58216         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
58218 2011-11-14  Andreas Schwab  <schwab@redhat.com>
58220         * malloc/arena.c (arena_get2): Don't call reused_arena when
58221         _int_new_arena failed.
58223 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58225         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
58226         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
58227         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
58228         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58229         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58230         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
58231         to compile strcasecmp and strncasecmp.
58232         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
58233         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
58235         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
58237 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
58239         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
58240         locale-defines.sym to gen-as-const-headers.
58241         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
58242         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
58243         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
58244         to compile strcasecmp and strncasecmp.
58245         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
58246         strcasecmp_l and strncasecmp_l.
58247         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
58248         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
58249         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
58250         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
58251         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
58252         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
58253         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
58254         * sysdeps/i386/i686/multiarch/strncase.S: New file.
58255         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
58256         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
58257         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
58259 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
58261         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
58262         result of SYSDEP_GETTIME_CPU to retval.
58263         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
58264         parameter list to macro.  Remove trailing semicolon.  Adjust users.
58266         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
58267         variable.
58269         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
58270         mantissa words.
58271         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
58273         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
58274         from unused variable.
58276         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
58277         DWARF definitions.
58278         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
58279         for assembling.
58281         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
58282         over namespaces.
58284         * sunrpc/rpc_prot.c (rejected): Fix case value.
58286         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
58287         unsigned long long int to avoid warnings in shift.
58289         * posix/regex_internal.c (re_string_reconstruct): Actually use result
58290         of use of trans.
58291         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
58292         variable tmp.
58294         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
58295         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
58296         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
58298         * nis/nis_table.c (nis_list): Use variable of correct type for
58299         result of __follow_path call.
58301 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58303         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
58304         of math functions ceil, trunc, floor, round, and sqrt, when
58305         avaliable on the platform.
58306         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
58307         name clash.
58308         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58309         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58310         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58312 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
58314         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
58315         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58317 2011-11-11  Roland McGrath  <roland@hack.frob.com>
58319         * include/unistd.h: Fix __readlink return type.
58320         Reported by Chris Metcalf <cmetcalf@tilera.com>.
58322 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
58324         * stdlib/ucontext.h: Undo last change for makecontext.
58326 2011-11-11  Andreas Schwab  <schwab@redhat.com>
58328         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
58330         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
58331         * setjmp/setjmp.h: Mark functions as non-leaf.
58332         * setjmp/bits/setjmp2.h: Likewise.
58333         * stdlib/ucontext.h: Likewise.
58335 2011-11-10  Andreas Schwab  <schwab@redhat.com>
58337         * malloc/arena.c (_int_new_arena): Don't increment narenas.
58338         (reused_arena): Don't check arena limit.
58339         (arena_get2): Atomically check arena limit.
58341 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
58343         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
58344         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
58346         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
58347         instructions.
58349 2011-11-07  Andreas Schwab  <schwab@redhat.com>
58351         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
58352         handler when locking.
58354         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58355         Fix size of allocated buffer.
58357 2011-11-04  Andreas Schwab  <schwab@redhat.com>
58359         [BZ #10103]
58360         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
58361         declarations for long double functions.
58362         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
58364         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
58366 2011-11-03  Andreas Schwab  <schwab@redhat.com>
58368         * nscd/nscd.c (main): Don't start AVC thread until credentials are
58369         installed.
58371         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
58372         is disabled.
58374 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58376         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
58378 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58380         * include/alloca.h (stackinfo_alloca_round): Define.
58381         (extend_alloca): Use it.
58382         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
58383         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
58384         here.
58386         * scripts/check-local-headers.sh: Ignore libaudit.h.
58388         * nscd/Makefile (extra-objs): Make recursively expanded.
58390 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
58392         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
58393         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
58395         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
58396         * posix/tst-rfc3484-2.c: Likewise.
58397         * posix/tst-rfc3484-3.c: Likewise.
58399         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58400         process_vm_writev.
58401         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
58402         process_vm_writev.
58403         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
58404         process_vm_writev from libc using GLIBC_2.15 version.
58406         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
58408 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
58410         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
58411         stack usage.
58413 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
58415         [BZ #13367]
58416         * nss/getent.c (initgroups_keys): Show error message in case no group
58417         names are given.
58419         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
58420         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
58421         __bump_nl_timestamp.
58422         * nscd/connections (nscd_init): When host database is served open
58423         netlink socket and request notification about configuration changes.
58424         (main_loop_poll): Track netlink file descriptor and bump timestamp
58425         in case data becomes available.
58426         (main_loop_epoll): Likewise.
58427         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
58428         (database_pers_head): Add extra_data fileds.
58429         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
58430         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
58431         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
58432         Adjust caller.
58433         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
58434         in6ai data, call __free_in6ai.
58435         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
58436         Add -DHAVE_NETLINK.
58437         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
58438         interface information.  Reuse previous data if netlink timestamp
58439         is not changed.
58440         (__bump_nl_timestamp): New function.
58441         (__free_in6ai): New function.
58443 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
58445         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
58446         close_not_cancel_no_status here.
58447         (__check_pf): Reorganize code a bit to not call close twice if OOM.
58449 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58451         [BZ #13276]
58452         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
58453         return value.
58455         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
58456         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
58457         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
58459 2011-07-03  Andreas Jaeger  <aj@suse.de>
58461         [BZ #10709]
58462         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
58463         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
58464         * math/libm-test.inc (sin_test): Add test case.
58466 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58468         [BZ #13337]
58469         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
58470         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58472         * elf/chroot_canon.c (chroot_canon): Cleanups.
58474         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
58476         [BZ #13335]
58477         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
58478         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58480         * string/test-strchr.c: Make usable for strchrnul testing.
58481         * string/test-strchrnul.c: New file.
58482         * string/Makefile (strop-tests): Add strchrnul.
58484         * po/it.po: Update from translation team.
58485         * po/es.po: Likewise.
58487 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
58489         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
58490         the three constants needed as parameters.  Drop the others.
58491         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
58492         __m128i_strloadu_tolower.
58493         Create and initialize variable zero and use it in all the places
58494         where _mm_setzero_si128 was used.
58496         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
58497         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
58498         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
58499         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
58500         anymore.
58501         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
58502         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
58503         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
58504         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
58505         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
58506         __mpranred, __mptan.
58507         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
58508         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
58509         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
58510         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
58511         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
58512         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
58513         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
58514         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
58515         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
58517 2011-10-28  Andreas Schwab  <schwab@redhat.com>
58519         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
58520         redefine if SHARED.
58521         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
58523         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
58524         wide char related routines to wcsmbs subdir.
58526 2011-10-27  Andreas Schwab  <schwab@redhat.com>
58528         [BZ #13344]
58529         * misc/sys/cdefs.h (__THROWNL): Define.
58530         * posix/unistd.h: Use __THREADNL instead of __THREAD
58531         for memory synchronization functions.
58533 2011-10-26  Roland McGrath  <roland@hack.frob.com>
58535         [BZ #13349]
58536         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
58537         doesn't exist.
58538         * manual/stdio.texi (Obstack Streams): Node removed.
58540 2011-10-26  Andreas Schwab  <schwab@redhat.com>
58542         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
58543         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58544         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58546         * math/math_private.h (math_force_eval): Allow non-addressable
58547         arguments.
58548         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
58550 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58552         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
58553         file is not needed.
58555         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
58556         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
58557         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58558         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58559         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58560         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58561         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58562         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
58563         Add AVX variants.
58564         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
58565         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
58566         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
58567         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
58568         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
58569         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
58570         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
58571         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
58572         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
58573         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
58574         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
58575         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
58576         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
58577         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
58578         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
58579         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
58580         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
58581         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
58582         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
58584         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
58585         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
58587         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
58588         place.  Use VEX encoding when compiling for AVX.
58590 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58592         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
58593         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58595         * string/test-strchr.c (do_test): Don't generate NUL bytes.
58597 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58599         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
58600         useless if() expression.
58601         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58602         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58603         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58604         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58605         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58606         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58607         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58608         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58609         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58610         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58611         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58612         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58613         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
58614         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58615         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
58616         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58617         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58618         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58619         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
58621         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
58623 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58625         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
58626         condition.
58627         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58629 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58631         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
58632         .text section.  Avoid duplicate constants.
58633         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58634         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58635         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58636         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58637         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58638         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58639         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58640         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58641         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58642         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
58643         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58644         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58645         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58646         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58647         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58648         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58649         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58650         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58651         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58652         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58653         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58654         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58655         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58656         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
58657         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
58658         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
58659         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
58660         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
58661         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
58662         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
58663         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
58664         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
58665         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58666         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
58667         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
58668         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
58669         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
58670         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58671         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58672         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58673         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58674         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58675         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58676         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58677         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58679 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
58681         * sysdeps/x86_64/dla.h: Move to ...
58682         * sysdeps/x86_64/fpu/dla.h: ...here.
58683         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58684         situations.  Use __builtin_fma only for gcc 4.6 and up.
58686         * config.make.in: Add have-mfma4 entry.
58687         * configure.in: Substitute libc_cv_cc_fma4.
58688         * math/Makefile (dbl-only-routines): Add sincostab.
58689         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58690         Use __sincostab not sincos.
58691         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58692         name is a macro.
58693         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58694         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58695         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58696         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
58697         using __copysign.
58698         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
58699         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
58700         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58701         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58702         and __inv.
58703         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58704         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58705         __copysign.
58706         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
58707         define aliases when function name is a macro.
58708         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58709         sysdeps/ieee754/dbl-64/sincos.tbl.
58710         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58711         fma4-enabled routines.
58712         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58713         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58714         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58715         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58716         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58717         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58718         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58719         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58720         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58721         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58722         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58723         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58724         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58725         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58726         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58727         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58728         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58729         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58730         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58731         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58732         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58733         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58734         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58735         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58736         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58737         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58738         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58739         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58740         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58741         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58743         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58744         rename.
58745         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58746         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58747         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58748         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58749         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58750         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58751         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58752         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58754 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58756         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58758 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58760         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58762         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58763         prediction.
58764         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58766         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58767         Remove unused variable magic_bits.
58768         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58770         * string/strnlen.c: Define and use STRNLEN macro.
58771         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58772         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58773         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58774         * wcsmbs/wcslen.c: Define and use WCSLEN.
58775         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58776         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58777         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58778         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58779         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58780         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58781         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58783 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58785         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58786         strnlen-sse2-no-bsf.
58787         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58788         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58789         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58790         Add strnlen support.
58791         (USE_AS_STRNLEN): New macro.
58792         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58793         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58794         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58795         * sysdeps/x86_64/wcslen.S: New file.
58797 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58799         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58800         XMM-moves are used for copying on small sizes.
58802 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58804         * wcsmbs/Makefile (strop-tests): Add wcschr.
58805         * wcsmbs/test-wcschr.c: New file.
58806         * string/test-strchr.c: Update.
58807         Add wcschr support.
58808         (WIDE): New macro.
58810 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58812         * wcsmbs/Makefile (strop-tests): Add wcslen.
58813         * wcsmbs/test-wcslen.c: New file.
58814         * string/test-strlen.c: Update.
58815         Add wcslen support.
58816         (WIDE): New macro.
58818 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58820         * po/it.po: Update from translation team.
58822 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58824         * sysdeps/x86_64/wcscmp.S: Update.
58825         Fix wrong comparison semantics.
58826         wcscmp shall use signed comparison not unsigned.
58827         Don't use substraction to avoid overflow bug.
58828         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58829         * wcsmbc/wcscmp.c: Likewise.
58830         * string/test-strcmp.c: Likewise.
58831         Add new tests to check cases with negative values.
58833 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58835         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58836         * sysdeps/x86_64/dla.h: ...here.  New file.
58837         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58838         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58839         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58840         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58841         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58842         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58843         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58844         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58845         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58847 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58849         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58850         __ynl_finite aliases.
58852 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58854         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58856         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58857         define DLA_FMA.
58858         [DLA_FMA] (EMULV): Use DLA_FMA.
58859         [DLA_FMA] (MUL12): Use EMULV.
58860         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58861         that are not needed.
58862         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58863         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58864         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58865         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58866         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58867         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58868         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58870 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58872         * math/s_nan.c: Undef __nan.
58873         * math/s_nanf.c: Undef __nanf.
58874         * math/s_nanl.c: Undef __nanl.
58875         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58876         "math_private.h".
58878 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58880         * math/s_catan.c: Add branch predictions.
58881         * math/s_catanf.c: Likewise.
58882         * math/s_catanh.c: Likewise.
58883         * math/s_catanhf.c: Likewise.
58884         * math/s_catanhl.c: Likewise.
58885         * math/s_catanl.c: Likewise.
58886         * math/s_cexp.c: Likewise.
58887         * math/s_cexpf.c: Likewise.
58888         * math/s_cexpl.c: Likewise.
58889         * math/s_clog.c: Likewise.
58890         * math/s_clog10.c: Likewise.
58891         * math/s_clog10f.c: Likewise.
58892         * math/s_clog10l.c: Likewise.
58893         * math/s_clogf.c: Likewise.
58894         * math/s_clogl.c: Likewise.
58895         * math/s_csqrt.c: Likewise.
58896         * math/s_csqrtf.c: Likewise.
58897         * math/s_csqrtl.c: Likewise.
58898         * math/s_ctanf.c: Likewise.
58899         * math/s_ctanh.c: Likewise.
58900         * math/s_ctanhf.c: Likewise.
58901         * math/s_ctanhl.c: Likewise.
58902         * math/s_ctanl.c: Likewise.
58904         * math/math_private.h: Define __nan, __nanf, __nanl.
58905         * math/s_cacosh.c: Include <math_private.h>.
58906         * math/s_cacoshl.c: Likewise.
58907         * math/s_casinh.c: Likewise.
58908         * math/s_casinhf.c: Likewise.
58909         * math/s_casinhl.c: Likewise.
58910         * math/s_ccos.c: Rely entire on ccosh.
58911         * math/s_ccosf.c: Rely entire on ccoshf.
58912         * math/s_ccosl.c: Rely entirely on ccoshl.
58913         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58914         Remove tests for FE_INVALID.
58915         * math/s_ccoshf.c: Likewise.
58916         * math/s_ccoshl.c: Likewise.
58917         * math/s_csin.c: Likewise.
58918         * math/s_csinf.c: Likewise.
58919         * math/s_csinh.c Likewise.
58920         * math/s_csinhf.c: Likewise.
58921         * math/s_csinhl.c: Likewise.
58922         * math/s_csinl.c: Likewise.
58923         * math/s_ctan.c: Likewise.
58924         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58925         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58926         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58928 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58930         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58931         compilation problems.
58933         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58934         __builtin_expect.
58936 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58938         * sysdeps/i386/configure.in: Test for -mfma4 option.
58939         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58940         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58941         COMMON_CPUID_INDEX_80000001.
58942         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58943         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58944         use it if FMA3 is not supported.
58945         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58947         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58948         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58950 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58952         [BZ #12892]
58953         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58954         it would create a cycle with a link time dependency.
58956 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58958         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58959         instruction.
58960         * string/Makefile (strop-tests): Add rawmemchr.
58961         * string/test-rawmemchr.c: New file.
58963         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58964         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58965         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58966         when compiling str{,n}casecmp and when AVX is available.  Hook up
58967         new optimized code in initializers.
58969 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58971         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58972         __feraiseexcept instead of feraiseexcept.
58974 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58976         * math/math_private.h: Define defaults for libc_fetestexcept and
58977         libc_feupdateenv.
58978         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58979         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58980         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58981         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58982         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58983         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58984         libc_fetestexcept and libc_feupdateenv.
58986         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58987         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58988         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58989         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58990         libc_feholdexcept_setround.
58992         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58993         Add s_nearbyint-c and s_nearbyintf-c.
58994         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58995         nearbyintf inlines.
58996         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58997         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58998         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58999         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
59001         * math/math_private.h: Define defaults for libc_fegetround,
59002         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
59003         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
59004         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
59005         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
59006         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
59007         standard functions.
59008         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59009         Remove comments and hacks for old compiler versions.
59010         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59011         libc_fegetround, libc_fesetround, libc_feholdexcept, and
59012         libc_feholdexceptl.
59014 2011-10-18  Andreas Schwab  <schwab@redhat.com>
59016         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
59017         (__feraiseexcept_renamed): Add __NTH.
59018         (feraiseexcept): Add __NTH.  Rename local variables to fix
59019         namespace violations.
59021 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
59023         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
59025         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
59027         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
59028         recently added interfaces.
59029         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
59031         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
59032         about macro parameter expansion.
59034         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
59035         __NO_MATH_INLINES is defined.  Cleanups.
59037         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
59038         and __floorf is target has SSE4.1.
59039         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
59040         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
59041         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
59042         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
59044         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
59045         name.
59046         (floorf): Likewise.
59048         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
59050 2011-10-17  Andreas Schwab  <schwab@redhat.com>
59052         * misc/sys/cdefs.h: Fix last change.
59054         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
59055         database lookup.
59057 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
59059         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
59061         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
59062         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59063         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59064         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59065         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59066         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59067         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59068         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59069         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59070         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
59071         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
59072         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
59073         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
59074         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
59075         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
59076         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
59077         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
59078         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
59079         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
59080         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
59081         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
59082         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
59084         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
59085         ceil, ceilf, floor, floorf.
59087         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
59088         Perform IRELATIVE relocations last.
59090         * elf/do-rel.h: Add another parameter nrelative, replacing the
59091         local variable with the same name.  Change name of the function
59092         to end in Rel or Rela (uppercase).
59093         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
59094         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
59095         elf_dynamic_do_##reloc function.
59097 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
59099         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
59100         is sufficient, at least on modern CPUs.
59102         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
59104         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
59105         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
59107         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
59108         __expl_finite.
59109         * math/bits/math-finite.h: Add entries for exp.
59110         * math/e_expl.c: Add __*_finite alias.
59111         * sysdeps/i386/fpu/e_exp.S: Likewise.
59112         * sysdeps/i386/fpu/e_expf.S: Likewise.
59113         * sysdeps/i386/fpu/e_expl.c: Likewise.
59114         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59115         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59116         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59117         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59118         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
59119         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
59120         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
59122         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
59123         is sufficient, at least on modern CPUs.
59125         * ctype/ctype-info.c (__ctype_init): Define.
59126         * include/ctype.h (__ctype_init): Declare.
59127         (__ctype_b_loc): The variable is always initialized.
59128         (__ctype_toupper_loc): Likewise.
59129         (__ctype_tolower_loc): Likewise.
59130         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
59131         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
59133 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
59135         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
59137         * configure.in: Also look in $cxxmachine/include for C++ system
59138         headers.
59140 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59142         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
59143         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
59144         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
59145         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
59146         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
59147         (USE_AS_WMEMCMP): New macro.
59148         Fixing indents.
59149         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
59150         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
59151         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
59152         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
59153         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59154         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
59155         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
59156         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
59157         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
59158         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
59159         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
59160         (USE_AS_WMEMCMP): New macro.
59161         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
59162         * sysdeps/string/test-memcmp.c: Update.
59163         Fix simple_wmemcmp.
59164         Add new tests.
59165         * wcsmbs/wmemcmp.c: Update.
59166         (WMEMCMP): New macro.
59167         Fix overflow bug.
59169 2011-10-12  Andreas Jaeger  <aj@suse.de>
59171         [BZ #13268]
59172         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
59174 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
59176         * libio/iofwide.c (do_length): Avoid warning.
59178         * ctype/ctype.h (__isctype_f): Add missing __THROW.
59180 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
59182         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
59184         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
59185         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
59186         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
59187         * sysdeps/i386/i686/fpu/e_log.S: New file.
59188         * sysdeps/i386/i686/fpu/e_logf.S: New file.
59189         * sysdeps/i386/i686/fpu/e_logl.S: New file.
59191         * ctype/ctype.h: Add support for inlined isXXX functions when
59192         compiling C++ code.
59194 2011-10-14  Andreas Schwab  <schwab@redhat.com>
59196         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59198         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
59200 2011-10-13  Roland McGrath  <roland@hack.frob.com>
59202         [BZ #13291]
59203         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
59205 2011-10-13  Andreas Schwab  <schwab@redhat.com>
59207         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
59208         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
59209         feraiseexcept.
59211         * sysdeps/x86_64/memrchr.S: Check for zero size.
59213         * string/stratcliff.c: Add memrchr tests.
59215 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59217         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59218         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
59219         rawmemchr-sse2 rawmemchr-sse2-bsf.
59220         * sysdeps/i386/i686/multiarch/memchr.S: New file.
59221         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
59222         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
59223         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
59224         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
59225         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
59226         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
59227         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
59228         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
59229         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
59230         * string/memrchr.c (MEMRCHR): New macro.
59232 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
59234         Add integration with gcc's -ffinite-math-only and optimize wrapper
59235         functions in libm.
59236         * Versions.def: Define GLIBC_2.15 version for libm.
59237         * math/Makefile (headers): Add bits/math-finite.h.
59238         * math/bits/math-finite.h: New file.
59239         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
59240         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
59241         * math/e_acoshl.c: Add __*_finite alias.
59242         * math/e_acosl.c: Likewise.
59243         * math/e_asinl.c: Likewise.
59244         * math/e_atan2l.c: Likewise.
59245         * math/e_atanhl.c: Likewise.
59246         * math/e_coshl.c: Likewise.
59247         * math/e_exp10.c: Likewise.
59248         * math/e_exp10f.c: Likewise.
59249         * math/e_exp10l.c: Likewise.
59250         * math/e_exp2l.c: Likewise.
59251         * math/e_fmodl.c: Likewise.
59252         * math/e_gammal_r.c: Likewise.
59253         * math/e_hypotl.c: Likewise.
59254         * math/e_j0l.c: Likewise.
59255         * math/e_j1l.c: Likewise.
59256         * math/e_jnl.c: Likewise.
59257         * math/e_lgammal_r.c: Likewise.
59258         * math/e_log10l.c: Likewise.
59259         * math/e_log2l.c: Likewise.
59260         * math/e_logl.c: Likewise.
59261         * math/e_powl.c: Likewise.
59262         * math/e_sinhl.c: Likewise.
59263         * math/e_sqrtl.c: Likewise.
59264         * math/e_scalb.c: Completely rewritten and optimized.
59265         * math/e_scalbf.c: Likewise.
59266         * math/e_scalbl.c: Likewise.
59267         * math/w_acos.c: Likewise.
59268         * math/w_acosf.c: Likewise.
59269         * math/w_acosl.c: Likewise.
59270         * math/w_acosh.c: Likewise.
59271         * math/w_acoshf.c: Likewise.
59272         * math/w_acoshl.c: Likewise.
59273         * math/w_asin.c: Likewise.
59274         * math/w_asinf.c: Likewise.
59275         * math/w_asinl.c: Likewise.
59276         * math/w_atan2.c: Likewise.
59277         * math/w_atan2f.c: Likewise.
59278         * math/w_atan2l.c: Likewise.
59279         * math/w_atanh.c: Likewise.
59280         * math/w_atanhf.c: Likewise.
59281         * math/w_atanhl.c: Likewise.
59282         * math/w_exp10.c: Likewise.
59283         * math/w_exp10f.c: Likewise.
59284         * math/w_exp10l.c: Likewise.
59285         * math/w_fmod.c: Likewise.
59286         * math/w_fmodf.c: Likewise.
59287         * math/w_fmodl.c: Likewise.
59288         * math/w_j0.c: Likewise.
59289         * math/w_j0f.c: Likewise.
59290         * math/w_j0l.c: Likewise.
59291         * math/w_j1.c: Likewise.
59292         * math/w_j1f.c: Likewise.
59293         * math/w_j1l.c: Likewise.
59294         * math/w_jn.c: Likewise.
59295         * math/w_jnf.c: Likewise.
59296         * math/w_log.c: Likewise.
59297         * math/w_logf.c: Likewise.
59298         * math/w_logl.c: Likewise.
59299         * math/w_log10.c: Likewise.
59300         * math/w_log10f.c: Likewise.
59301         * math/w_log10l.c: Likewise.
59302         * math/w_log2.c: Likewise.
59303         * math/w_log2f.c: Likewise.
59304         * math/w_log2l.c: Likewise.
59305         * math/w_pow.c: Likewise.
59306         * math/w_powf.c: Likewise.
59307         * math/w_powl.c: Likewise.
59308         * math/w_remainder.c: Likewise.
59309         * math/w_remainderf.c: Likewise.
59310         * math/w_remainderl.c: Likewise.
59311         * math/w_scalb.c: Likewise.
59312         * math/w_scalbf.c: Likewise.
59313         * math/w_scalbl.c: Likewise.
59314         * math/w_sqrt.c: Likewise.
59315         * math/w_sqrtf.c: Likewise.
59316         * math/w_sqrtl.c: Likewise.
59317         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
59318         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
59319         used.
59320         * math/math_private.h: Declare __kernel_standard_f.
59321         * math/w_cosh.c: Remove cruft and optimize a bit.
59322         * math/w_coshf.c: Likewise.
59323         * math/w_coshl.c: Likewise.
59324         * math/w_exp2.c: Likewise.
59325         * math/w_exp2f.c: Likewise.
59326         * math/w_exp2l.c: Likewise.
59327         * math/w_hypot.c: Likewise.
59328         * math/w_hypotf.c: Likewise.
59329         * math/w_hypotl.c: Likewise.
59330         * math/w_lgamma.c: Likewise.
59331         * math/w_lgamma_r.c: Likewise.
59332         * math/w_lgammaf.c: Likewise.
59333         * math/w_lgammaf_r.c: Likewise.
59334         * math/w_lgammal.c: Likewise.
59335         * math/w_lgammal_r.c: Likewise.
59336         * math/w_sinh.c: Likewise.
59337         * math/w_sinhf.c: Likewise.
59338         * math/w_sinhl.c: Likewise.
59339         * math/w_tgamma.c: Likewise.
59340         * math/w_tgammaf.c: Likewise.
59341         * math/w_tgammal.c: Likewise.
59342         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59343         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59344         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
59345         Minor optimizations.  Pretty printing.  Remove cruft.
59346         * sysdeps/i386/fpu/e_acosf.S: Likewise.
59347         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59348         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59349         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59350         * sysdeps/i386/fpu/e_acosl.c: Likewise.
59351         * sysdeps/i386/fpu/e_asin.S: Likewise.
59352         * sysdeps/i386/fpu/e_asinf.S: Likewise.
59353         * sysdeps/i386/fpu/e_atan2.S: Likewise.
59354         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
59355         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
59356         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59357         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59358         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59359         * sysdeps/i386/fpu/e_exp10.S: Likewise.
59360         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
59361         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
59362         * sysdeps/i386/fpu/e_exp2.S: Likewise.
59363         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
59364         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
59365         * sysdeps/i386/fpu/e_fmod.S: Likewise.
59366         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
59367         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
59368         * sysdeps/i386/fpu/e_hypot.S: Likewise.
59369         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
59370         * sysdeps/i386/fpu/e_log.S: Likewise.
59371         * sysdeps/i386/fpu/e_log10.S: Likewise.
59372         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59373         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59374         * sysdeps/i386/fpu/e_log2.S: Likewise.
59375         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59376         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59377         * sysdeps/i386/fpu/e_logf.S: Likewise.
59378         * sysdeps/i386/fpu/e_logl.S: Likewise.
59379         * sysdeps/i386/fpu/e_pow.S: Likewise.
59380         * sysdeps/i386/fpu/e_powf.S: Likewise.
59381         * sysdeps/i386/fpu/e_powl.S: Likewise.
59382         * sysdeps/i386/fpu/e_remainder.S: Likewise.
59383         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
59384         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
59385         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59386         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59387         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59388         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
59389         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
59390         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
59391         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59392         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59393         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59394         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59395         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59396         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59397         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
59398         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59399         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59400         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59401         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59402         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59403         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59404         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59405         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59406         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59407         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59408         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59409         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59410         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59411         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59412         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59413         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59414         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59415         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59416         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59417         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59418         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59419         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
59420         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59421         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59422         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59423         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59424         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59425         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59426         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59427         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59428         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59429         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59430         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59431         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59432         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59433         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59434         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59435         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59436         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59437         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59438         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59439         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59440         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
59441         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59442         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59443         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59444         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59445         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59446         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59447         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59448         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59449         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59450         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59451         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59452         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59453         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59454         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59455         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59456         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59457         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59458         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59459         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
59460         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59461         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59462         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59463         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59464         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59465         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59466         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59467         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59468         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59469         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59470         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59471         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59472         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59473         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
59474         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59475         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59476         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59477         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59478         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59479         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59480         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59481         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59482         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59483         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59484         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59485         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59486         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59487         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59488         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
59489         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
59490         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
59491         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
59492         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
59493         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
59494         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
59495         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59496         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59497         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59498         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59499         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
59500         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59501         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
59502         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
59503         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
59504         (__isnanf): Likewise.
59505         (__isinf_ns): Likewise.
59506         (__isinf_nsf): Likewise.
59507         (__finite): Likewise.
59508         (__finitef): Likewise.
59509         (__ieee754_sqrt): Define as macro.
59510         (__ieee754_sqrtf): Define as macro.
59511         (__ieee754_sqrtl): Define as macro.
59512         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
59513         inlined copy.
59514         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
59515         __FINITE_MATH_ONLY__ consistent.
59516         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
59518 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
59520         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
59521         of rawmemchr.
59523         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
59525 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
59527         * po/ja.po: Update from translation team.
59529 2011-10-08  Roland McGrath  <roland@hack.frob.com>
59531         * locale/programs/locarchive.c (prepare_address_space): New function.
59532         (create_archive, enlarge_archive, open_archive): Use it.
59534         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
59535         inside [SHARED], where it is used.
59537         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
59539         * nss/getent.c (netgroup_keys): Remove unused variable.
59540         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59542 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
59544         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
59545         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
59546         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
59547         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
59548         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
59549         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
59550         * math/Makefile (libm-calls): Add s_isinf_ns.
59551         * math/divtc3.c: Use __isinf_nsl instead of isinf.
59552         * math/multc3.c: Likewise.
59553         * math/s_casin.c: Likewise.
59554         * math/s_casinf.c: Likewise.
59555         * math/s_casinl.c: Likewise.
59556         * math/s_ccos.c: Likewise.
59557         * math/s_ccosf.c: Likewise.
59558         * math/s_ccosl.c: Likewise.
59559         * math/s_ctan.c: Likewise.
59560         * math/s_ctanf.c: Likewise.
59561         * math/s_ctanh.c: Likewise.
59562         * math/s_ctanhf.c: Likewise.
59563         * math/s_ctanhl.c: Likewise.
59564         * math/s_ctanl.c: Likewise.
59565         * math/w_fmod.c: Likewise.
59566         * math/w_fmodf.c: Likewise.
59567         * math/w_fmodl.c: Likewise.
59568         * math/w_remainder.c: Likewise.
59569         * math/w_remainderf.c: Likewise.
59570         * math/w_remainderl.c: Likewise.
59571         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
59572         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
59573         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
59574         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
59575         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
59576         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
59577         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
59578         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
59580         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
59581         of the number.
59582         * stdio-common/printf_fphex.c: Likewise.
59583         * stdio-common/printf_size.c: Likewise.
59585         * math/e_exp10.c: Include math_private.h using <...> not "...".
59586         * math/e_exp10f.c: Likewise.
59587         * math/e_exp10l.c: Likewise.
59588         * math/e_exp2l.c: Likewise.
59589         * math/e_j0l.c: Likewise.
59590         * math/e_j1l.c: Likewise.
59591         * math/e_jnl.c: Likewise.
59592         * math/e_lgammal_r.c: Likewise.
59593         * math/e_rem_pio2l.c: Likewise.
59594         * math/e_scalb.c: Likewise.
59595         * math/e_scalbf.c: Likewise.
59596         * math/e_scalbl.c: Likewise.
59597         * math/k_cosl.c: Likewise.
59598         * math/k_sinl.c: Likewise.
59599         * math/k_tanl.c: Likewise.
59600         * math/s_cacoshf.c: Likewise.
59601         * math/s_catan.c: Likewise.
59602         * math/s_catanf.c: Likewise.
59603         * math/s_catanh.c: Likewise.
59604         * math/s_catanhf.c: Likewise.
59605         * math/s_catanhl.c: Likewise.
59606         * math/s_catanl.c: Likewise.
59607         * math/s_ccosh.c: Likewise.
59608         * math/s_ccoshf.c: Likewise.
59609         * math/s_ccoshl.c: Likewise.
59610         * math/s_cexp.c: Likewise.
59611         * math/s_cexpf.c: Likewise.
59612         * math/s_cexpl.c: Likewise.
59613         * math/s_clog.c: Likewise.
59614         * math/s_clog10.c: Likewise.
59615         * math/s_clog10f.c: Likewise.
59616         * math/s_clog10l.c: Likewise.
59617         * math/s_clogf.c: Likewise.
59618         * math/s_clogl.c: Likewise.
59619         * math/s_csin.c: Likewise.
59620         * math/s_csinf.c: Likewise.
59621         * math/s_csinh.c: Likewise.
59622         * math/s_csinhf.c: Likewise.
59623         * math/s_csinhl.c: Likewise.
59624         * math/s_csinl.c: Likewise.
59625         * math/s_csqrt.c: Likewise.
59626         * math/s_csqrtf.c: Likewise.
59627         * math/s_csqrtl.c: Likewise.
59628         * math/s_ctan.c: Likewise.
59629         * math/s_ctanf.c: Likewise.
59630         * math/s_ctanh.c: Likewise.
59631         * math/s_ctanhf.c: Likewise.
59632         * math/s_ctanhl.c: Likewise.
59633         * math/s_ctanl.c: Likewise.
59634         * math/s_ldexp.c: Likewise.
59635         * math/s_ldexpf.c: Likewise.
59636         * math/s_ldexpl.c: Likewise.
59637         * math/s_significand.c: Likewise.
59638         * math/s_significandf.c: Likewise.
59639         * math/s_significandl.c: Likewise.
59640         * math/w_acos.c: Likewise.
59641         * math/w_acosf.c: Likewise.
59642         * math/w_acosh.c: Likewise.
59643         * math/w_acoshf.c: Likewise.
59644         * math/w_acoshl.c: Likewise.
59645         * math/w_acosl.c: Likewise.
59646         * math/w_asin.c: Likewise.
59647         * math/w_asinf.c: Likewise.
59648         * math/w_asinl.c: Likewise.
59649         * math/w_atan2.c: Likewise.
59650         * math/w_atan2f.c: Likewise.
59651         * math/w_atan2l.c: Likewise.
59652         * math/w_atanh.c: Likewise.
59653         * math/w_atanhf.c: Likewise.
59654         * math/w_atanhl.c: Likewise.
59655         * math/w_cosh.c: Likewise.
59656         * math/w_coshf.c: Likewise.
59657         * math/w_coshl.c: Likewise.
59658         * math/w_dremf.c: Likewise.
59659         * math/w_exp10.c: Likewise.
59660         * math/w_exp10f.c: Likewise.
59661         * math/w_exp10l.c: Likewise.
59662         * math/w_exp2.c: Likewise.
59663         * math/w_exp2f.c: Likewise.
59664         * math/w_fmod.c: Likewise.
59665         * math/w_fmodf.c: Likewise.
59666         * math/w_fmodl.c: Likewise.
59667         * math/w_hypot.c: Likewise.
59668         * math/w_hypotf.c: Likewise.
59669         * math/w_hypotl.c: Likewise.
59670         * math/w_j0.c: Likewise.
59671         * math/w_j0f.c: Likewise.
59672         * math/w_j0l.c: Likewise.
59673         * math/w_j1.c: Likewise.
59674         * math/w_j1f.c: Likewise.
59675         * math/w_j1l.c: Likewise.
59676         * math/w_jn.c: Likewise.
59677         * math/w_jnf.c: Likewise.
59678         * math/w_jnl.c: Likewise.
59679         * math/w_lgamma.c: Likewise.
59680         * math/w_lgamma_r.c: Likewise.
59681         * math/w_lgammaf.c: Likewise.
59682         * math/w_lgammaf_r.c: Likewise.
59683         * math/w_lgammal.c: Likewise.
59684         * math/w_lgammal_r.c: Likewise.
59685         * math/w_log.c: Likewise.
59686         * math/w_log10.c: Likewise.
59687         * math/w_log10f.c: Likewise.
59688         * math/w_log10l.c: Likewise.
59689         * math/w_log2.c: Likewise.
59690         * math/w_log2f.c: Likewise.
59691         * math/w_log2l.c: Likewise.
59692         * math/w_logf.c: Likewise.
59693         * math/w_logl.c: Likewise.
59694         * math/w_pow.c: Likewise.
59695         * math/w_powf.c: Likewise.
59696         * math/w_powl.c: Likewise.
59697         * math/w_remainder.c: Likewise.
59698         * math/w_remainderf.c: Likewise.
59699         * math/w_remainderl.c: Likewise.
59700         * math/w_scalb.c: Likewise.
59701         * math/w_scalbf.c: Likewise.
59702         * math/w_scalbl.c: Likewise.
59703         * math/w_sinh.c: Likewise.
59704         * math/w_sinhf.c: Likewise.
59705         * math/w_sinhl.c: Likewise.
59706         * math/w_sqrt.c: Likewise.
59707         * math/w_sqrtf.c: Likewise.
59708         * math/w_sqrtl.c: Likewise.
59709         * math/w_tgamma.c: Likewise.
59710         * math/w_tgammaf.c: Likewise.
59711         * math/w_tgammal.c: Likewise.
59713         * po/ja.po: Update from translation team.
59715 2011-09-29  Andreas Jaeger  <aj@suse.de>
59717         [BZ #13179]
59718         * sunrpc/netname.c (netname2host): Fix logic.
59720         [BZ #6779]
59721         [BZ #6783]
59722         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59723         correctly.
59724         * math/w_remainder.c (__remainder): Likewise.
59725         * math/w_remainderf.c (__remainderf): Likewise.
59726         * math/libm-test.inc (remainder_test): Add test cases.
59728 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59730         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59731         sdiv_qrnnd.
59733 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59735         * string/test-memcmp.c: Avoid unncessary #defines.
59736         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59738 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59740         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59741         Use new sse2 version for core i3 - i7 as it's faster
59742         than sse42 version.
59743         (bit_Prefer_PMINUB_for_stringop): New.
59744         * sysdeps/x86_64/rawmemchr.S: Update.
59745         Replace with faster SSE2 version.
59746         * sysdeps/x86_64/memrchr.S: New file.
59747         * sysdeps/x86_64/memchr.S: Update.
59748         Replace with faster SSE2 version.
59750 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59752         * elf/dl-load.c (lose): Add cast to avoid warning.
59754 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59756         * po/ca.po: Update from translation team.
59758         * inet/getnetgrent_r.c: Hook up nscd.
59759         * nscd/Makefile (routines): Add nscd_netgroup.
59760         (nscd-modules): Add netgroupcache.
59761         (CFLAGS-netgroupcache.c): Define.
59762         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59763         (cache_search): Add const to second parameter.
59764         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59765         INNETGR.
59766         (dbs): Add netgrdb entry.
59767         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59768         (verify_persistent_db): Handle netgrdb.
59769         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59770         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59771         GETFDNETGR.
59772         (netgroup_response_header): Define.
59773         (innetgroup_response_header): Define.
59774         (datahead): Add netgroup_response_header and innetgroup_response_header
59775         elements.
59776         * nscd/nscd.conf: Add entries for netgroup cache.
59777         * nscd/nscd.h (dbtype): Add netgrdb.
59778         (_PATH_NSCD_NETGROUP_DB): Define.
59779         (netgroup_iov_disabled): Declare.
59780         (xmalloc, xcalloc, xrealloc): Move declarations here.
59781         (cache_search): Adjust prototype.
59782         Add netgroup-related prototypes.
59783         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59784         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59785         (__nscd_innetgr): Declare.
59786         * nscd/selinux.c (perms): Use access_vector_t as element type and
59787         add netgroup-related initializers.
59788         * nscd/netgroupcache.c: New file.
59789         * nscd/nscd_netgroup.c: New file.
59790         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59791         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59792         For four parameters use innetgr.
59793         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59794         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59795         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59796         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59798         * nscd/connections.c (register_traced_file): Don't register file
59799         for disabled databases.
59801 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59803         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59805         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59806         from tree and freeing node.
59808 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59810         * nss/nsswitch.c (__nss_database_lookup): Handle
59811         nss_parse_service_list out of memory case.
59813 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59815         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59816         out of memory case.
59818 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59820         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59821         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59822         pass it down.
59823         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59824         elf_machine_rela, elf_machine_lazy_rel.
59825         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59826         (ELF_DYNAMIC_DO_REL): Likewise.
59827         (ELF_DYNAMIC_DO_RELA): Likewise.
59828         (ELF_DYNAMIC_RELOCATE): Likewise.
59829         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59830         to ELF_DYNAMIC_DO_REL.
59831         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59832         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59833         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59834         elf_machine_rela.
59835         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59836         skip_ifunc, don't call ifunc function if non-zero.
59837         (elf_machine_rela): Likewise.
59838         (elf_machine_lazy_rel): Likewise.
59839         (elf_machine_lazy_rela): Likewise.
59840         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59841         (elf_machine_lazy_rel): Likewise.
59842         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59843         Likewise.
59844         (elf_machine_lazy_rel): Likewise.
59845         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59846         Likewise.
59847         (elf_machine_lazy_rel): Likewise.
59848         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59849         (elf_machine_lazy_rel): Likewise.
59850         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59851         (elf_machine_lazy_rel): Likewise.
59852         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59853         (elf_machine_lazy_rel): Likewise.
59854         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59855         (elf_machine_lazy_rel): Likewise.
59856         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59857         (elf_machine_lazy_rel): Likewise.
59858         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59859         (elf_machine_lazy_rel): Likewise.
59861 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59863         * nss/nss_files/files-init.c (_nss_files_init): Use static
59864         initialization for all the *_traced_file variables.
59866 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59868         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59870 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59872         [BZ #13226]
59873         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59875 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59877         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59878         Reread the line before reparsing it.
59880 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59882         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59884 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59885             Maxim Kuvyrkov  <maxim@codesourcery.com>
59886             Joseph Myers  <joseph@codesourcery.com>
59888         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59889         if needed for __stack_chk_guard.
59891 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59893         * sysdeps/posix/spawni.c (script_execute): Always define it.
59894         It will be optimized away if unused.
59895         (maybe_script_execute): New function.
59896         (__spawni): Call it.
59898         * Makerules: Don't include tls.make.
59899         (config-tls): Always set to thread.
59900         * tls.make.c: File removed.
59902 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59904         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59905         * config.make.in (CPPFLAGS-config): New substituted variable.
59907 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59909         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59911         [BZ #13192]
59912         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59913         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59915 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59917         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59918         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59919         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59920         (CALL_FAIL): Likewise.
59921         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59922         (CALL_FAIL): Macro removed.
59923         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59925 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59927         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59928         for __FINITE_MATH_ONLY__ == 1.
59930 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59932         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59933         __ieee754_sqrt instead of sqrt.
59934         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59935         __ieee754_sqrtf instead of sqrtf.
59936         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59937         __floorf instead of floorf.
59938         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59939         __floorf, __truncf instead of floorf, truncf.
59941 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59943         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59945         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59946         __extern_always_inline.
59947         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59948         32-bit.
59950 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59952         * elf/rtld.c (dl_main): Also relocate in dependency order when
59953         doing symbol dependency testing.
59955 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59957         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59958         Always define `refsym'.
59960 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59962         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59963         (__FD_ELT): Renamed from __FDELT.
59964         * misc/bits/select2.h (__FD_ELT): Likewise.
59965         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59966         __FD_MASK instead of __FDELT, __FDMASK.
59967         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59968         Likewise.
59969         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59970         Likewise.
59972         * elf/Makefile (gen-ldd): Fix pattern.
59974         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59975         (init_tls): Likewise.
59977 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59979         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59981 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59983         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59984         `struct cmsghdr *' instead of `void *'.
59985         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59986         Likewise.
59988 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59990         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59991         if non-absolute.
59992         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59993         ldd_rewrite_script.
59995 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59997         * configure.in: Remove --with-tls option.
59998         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59999         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
60000         out in case it is missing.
60001         * sysdeps/ia64/elf/configure.in: Likewise.
60002         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
60003         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
60004         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
60005         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
60006         * sysdeps/sh/elf/configure.in: Likewise.
60007         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
60008         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60009         * sysdeps/x86_64/elf/configure.in: Likewise.
60010         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
60011         * sysdeps/mach/hurd/tls.h: Likewise.
60013         [BZ #13067]
60014         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
60016         [BZ #13090]
60017         * configure.in: Fix use of AC_INIT.
60019         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
60021 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
60023         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
60024         __set_errno.
60025         * malloc/hooks.c: Likewise.
60027         [BZ #11929]
60028         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
60029         variables statically.
60030         (narenas): Initialize.
60031         (list_lock): Initialize.
60032         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
60033         initializtion of main_arena and list_lock.  Small cleanups.
60034         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
60035         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
60036         Add initializers to main_arena and mp_.
60037         (malloc_state): Remove pagesize member.  Change all users to use
60038         GLRO(dl_pagesize).
60040         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
60041         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
60042         is always initialized.
60044         * malloc/malloc.c: Removed unused configurations and dead code.
60045         * malloc/arena.c: Likewise.
60046         * malloc/hooks.c: Likewise.
60047         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
60049         * include/tls.h: Removed.  USE___THREAD must always be defined.
60050         * bits/libc-tsd.h: Don't handle !USE___THREAD.
60051         * elf/dl-libc.c: Likewise.
60052         * elf/dl-tsd.c: Likewise.
60053         * include/errno.h: Likewise.
60054         * include/netdb.h: Likewise.
60055         * include/resolv.h: Likewise.
60056         * inet/herrno-loc.c: Likewise.
60057         * inet/herrno.c: Likewise.
60058         * malloc/arena.c: Likewise.
60059         * malloc/hooks.c: Likewise.
60060         * malloc/malloc.c: Likewise.
60061         * resolv/res-state.c: Likewise.
60062         * resolv/res_libc.c: Likewise.
60063         * sysdeps/i386/dl-machine.h: Likewise.
60064         * sysdeps/ia64/dl-machine.h: Likewise.
60065         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
60066         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
60067         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
60068         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
60069         * sysdeps/sh/dl-machine.h: Likewise.
60070         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60071         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60072         * sysdeps/unix/i386/sysdep.S: Likewise.
60073         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
60074         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
60075         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
60076         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
60077         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
60078         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
60079         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
60080         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60081         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60082         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
60083         * sysdeps/unix/x86_64/sysdep.S: Likewise.
60084         * sysdeps/x86_64/dl-machine.h: Likewise.
60085         * tls.make.c: Likewise.
60087         * configure.in: Remove --with-__thread option.  Make tests for
60088         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
60089         tls_model attribute fail if no support is available.  Remove
60090         USE_IN_LIBIO.
60091         * Makeconfig: Adjust for dropped configure option.  All features are
60092         now mandatory.
60093         * Makerules: Likewise.
60094         * Versions.def: Likewise.
60095         * argp/argp-fmtstream.c: Likewise.
60096         * argp/argp-fmtstream.h: Likewise.
60097         * argp/argp-help.c: Likewise.
60098         * assert/assert.c: Likewise.
60099         * config.h.in: Likewise.
60100         * config.make.in: Likewise.
60101         * configure: Likewise.
60102         * configure.in: Likewise.
60103         * csu/Versions: Likewise.
60104         * csu/init.c: Likewise.
60105         * elf/tst-audit2.c: Likewise.
60106         * elf/tst-tls10.c: Likewise.
60107         * elf/tst-tls10.h: Likewise.
60108         * elf/tst-tls11.c: Likewise.
60109         * elf/tst-tls12.c: Likewise.
60110         * elf/tst-tls14.c: Likewise.
60111         * elf/tst-tlsmod11.c: Likewise.
60112         * elf/tst-tlsmod12.c: Likewise.
60113         * elf/tst-tlsmod13.c: Likewise.
60114         * elf/tst-tlsmod13a.c: Likewise.
60115         * elf/tst-tlsmod14a.c: Likewise.
60116         * elf/tst-tlsmod15b.c: Likewise.
60117         * elf/tst-tlsmod16a.c: Likewise.
60118         * elf/tst-tlsmod16b.c: Likewise.
60119         * elf/tst-tlsmod7.c: Likewise.
60120         * elf/tst-tlsmod8.c: Likewise.
60121         * elf/tst-tlsmod9.c: Likewise.
60122         * gmon/gmon.c: Likewise.
60123         * grp/fgetgrent_r.c: Likewise.
60124         * grp/putgrent.c: Likewise.
60125         * hurd/fopenport.c: Likewise.
60126         * include/libc-symbols.h: Likewise.
60127         * include/tls.h: Likewise.
60128         * intl/gettextP.h: Likewise.
60129         * intl/loadinfo.h: Likewise.
60130         * locale/global-locale.c: Likewise.
60131         * locale/localeinfo.h: Likewise.
60132         * mach/devstream.c: Likewise.
60133         * malloc/arena.c: Likewise.
60134         * malloc/set-freeres.c: Likewise.
60135         * misc/err.c: Likewise.
60136         * misc/getttyent.c: Likewise.
60137         * misc/mntent_r.c: Likewise.
60138         * posix/getopt.c: Likewise.
60139         * posix/wordexp.c: Likewise.
60140         * pwd/fgetpwent_r.c: Likewise.
60141         * resolv/Versions: Likewise.
60142         * resolv/res_hconf.c: Likewise.
60143         * shadow/fgetspent_r.c: Likewise.
60144         * shadow/putspent.c: Likewise.
60145         * stdio-common/printf_fphex.c: Likewise.
60146         * stdio-common/tmpfile.c: Likewise.
60147         * stdlib/abort.c: Likewise.
60148         * stdlib/fmtmsg.c: Likewise.
60149         * sunrpc/auth_unix.c: Likewise.
60150         * sunrpc/clnt_perr.c: Likewise.
60151         * sunrpc/clnt_tcp.c: Likewise.
60152         * sunrpc/clnt_udp.c: Likewise.
60153         * sunrpc/clnt_unix.c: Likewise.
60154         * sunrpc/openchild.c: Likewise.
60155         * sunrpc/svc_simple.c: Likewise.
60156         * sunrpc/svc_tcp.c: Likewise.
60157         * sunrpc/svc_udp.c: Likewise.
60158         * sunrpc/svc_unix.c: Likewise.
60159         * sunrpc/xdr.c: Likewise.
60160         * sunrpc/xdr_array.c: Likewise.
60161         * sunrpc/xdr_rec.c: Likewise.
60162         * sunrpc/xdr_ref.c: Likewise.
60163         * sunrpc/xdr_stdio.c: Likewise.
60165 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60167         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60169 2011-07-03  Andreas Jaeger  <aj@suse.de>
60171         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
60172         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
60173         regenerate with gen-libm-tests.pl.
60175 2010-05-12  Petr Baudis  <pasky@suse.cz>
60177         [BZ #11589]
60178         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
60179         around j0() zero points by switching to j1().
60180         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60181         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60182         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60183         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60185 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60187         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
60188         instead of 0.
60189         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
60190         instead of 0.
60191         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60192         Patch in part by Pavel Roskin <proski@gnu.org>.
60194         [BZ #13138]
60195         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
60196         realloc.
60197         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
60198         Free memory block if necessary.
60200         [BZ #12847]
60201         * libio/genops.c (INTDEF): For string streams the _lock pointer can
60202         be NULL.  Don't lock in this case.
60204 2011-09-09  Roland McGrath  <roland@hack.frob.com>
60206         * elf/elf.h (ELFOSABI_GNU): New macro.
60207         (ELFOSABI_LINUX): Define to that.
60209 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
60211         * string/strncat.c (strncat): Undef the symbol in case it has been
60212         defined in bits/string.h.
60214 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60216         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
60218         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
60219         link map.
60221 2011-08-17  Andreas Jaeger  <aj@suse.de>
60223         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
60225 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
60226             Ian Lance Taylor  <iant@google.com>
60228         * math/libm-test.inc (lround_test): New testcase.
60229         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
60231 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
60233         * Makefile: Remove support for automatic cvs check-ins.
60234         * Makerules: Likewise.
60235         * config.make.in: Likewise.
60236         * configure.in: Likewise.
60237         * intl/Makefile: Likewise.
60238         * locale/Makefile: Likewise.
60239         * po/Makefile: Likewise.
60240         * posix/Makefile: Likewise.
60241         * sysdeps/gnu/Makefile: Likewise.
60242         * sysdeps/mach/hurd/Makefile: Likewise.
60243         * sysdeps/sparc/sparc32/Makefile: Likewise.
60245         [BZ #13118]
60246         * posix/Makefile (bug-regex32-ENV): Define.
60247         Patch by John Stanley <jpsinthemix@verizon.net>.
60249         * misc/Makefile (headers): Add bits/select2.h.
60250         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
60251         * misc/bits/select2.h: New file.
60252         * include/bits/select2.h: New file.
60253         * debug/Makefile (routines): Add fdelt_chk.
60254         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
60255         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
60256         FD_ISSET.
60257         * debug/fdelt_chk.c: New file.
60259         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
60260         * wcsmbs/test-wmemcmp.c: Likewise.
60261         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
60262         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
60264 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60266         * string/Makefile (strop-tests): Add memcmp.
60267         * string/test-wmemcmp.c: New file.
60268         * string/test-memcmp.c: Add wmemcmp support.
60270 2011-09-08  Roland McGrath  <roland@hack.frob.com>
60272         [BZ #13153]
60273         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
60274         2011-07-19 change.
60276         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
60277         garbage value in a __mach_port_mod_refs call in the cases of the
60278         task-self and thread-self ports.
60280 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60282         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
60284 2011-09-08  Andreas Schwab  <schwab@redhat.com>
60286         * elf/dl-load.c (lose): Check for non-null L.
60288 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60290         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
60292         * elf/dl-libc.c (dlerror_run): Pass back error code from
60293         dl_catch_error.
60295         [BZ #13123]
60296         * elf/dl-load.c (lose): Free l_origin if it is valid.
60298         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
60299         names.
60300         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
60301         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60302         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60303         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60304         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
60305         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
60307 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60309         * sysdeps/powerpc/fpu/e_hypot.c: New file.
60310         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
60311         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
60312         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
60313         * sysdeps/powerpc/fpu/k_cosf.c: New file.
60314         * sysdeps/powerpc/fpu/k_sinf.c: New file.
60315         * sysdeps/powerpc/fpu/s_cosf.c: New file.
60316         * sysdeps/powerpc/fpu/s_sinf.c: New file.
60317         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
60318         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
60320 2011-08-15  Alan Modra  <amodra@gmail.com>
60322         [BZ #13092]
60323         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
60324         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
60325         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
60326         ppc_mcount to static-only-routines.
60327         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
60328         __mcount_internal.
60329         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
60330         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
60332 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
60334         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
60335         for finite and infinity parameters.
60337 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
60339         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
60340         and add nop instructions for throughput optimization.
60341         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60343 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
60345         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
60346         aligned copy for power7 with vector-scalar instructions.
60347         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60349 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
60351         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
60352         AVX check.
60354 2011-09-07  Andreas Schwab  <schwab@redhat.com>
60356         [BZ #13144]
60357         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
60358         last change.
60360 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60362         * sysdeps/unix/sysv/linux/x86_64/init-first.c
60363         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
60364         syscall wrapper around clock_gettime in __vdso_clock_gettime.
60365         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
60366         clock_gettime.
60368 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60370         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
60371         Forgot to demangle the pointer.
60373         * sysdeps/i386/sysdep.h: Define atom_text_section.
60374         * sysdeps/x86_64/sysdep.h: Likewise.
60375         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
60376         section with atom_text_section.
60377         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60378         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60379         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
60380         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60381         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
60383         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
60384         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
60385         already be defined.  Change to take two parameters and don't assign
60386         result to variable.  Adjust all users.
60387         Define INTERNAL_GETTIME if not already defined.
60388         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
60389         call.
60390         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
60391         HAVE_CLOCK_GETTIME_VSYSCALL.
60392         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
60394         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
60395         gettimeofday vsyscall, just use time.
60397 2011-09-06  Andreas Schwab  <schwab@redhat.com>
60399         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
60400         <errno.h>.
60402 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60404         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
60405         syscall on x86-64.
60406         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
60407         syscall.
60408         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
60409         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
60410         syscall if possible.
60412 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60414         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
60415         e_ident.  Don't pass to find_mapsXX.
60416         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
60418 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60420         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60421         strchr-sse2-no-bsf strrchr-sse2-no-bsf
60422         * sysdeps/x86_64/multiarch/strchr.S: Update.
60423         Check bit_slow_BSF bit.
60424         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60425         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
60426         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
60428 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60430         [BZ #13134]
60431         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
60432         before glibc 2.15.
60433         (tryshell): Define.
60434         (__spawni): Change last parameter to be flag.  Test
60435         SPAWN_XFLAGS_USE_PATH flag to use path or not.
60436         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
60437         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
60438         * posix/spawni.c: Likewise.
60439         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
60440         * posix/spawnp.c: Likewise.  Change normal version to use
60441         SPAWN_XFLAGS_USE_PATH.
60442         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
60443         SPAWN_XFLAGS_TRY_SHELL.
60445         [BZ #13150]
60446         * posix/glob.h: Remove gcc 1.x support.
60448         [BZ #13068]
60449         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
60451 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60453         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60454         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
60455         strrchr-sse2-bsf
60456         * sysdeps/i386/i686/multiarch/strchr.S: New file.
60457         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
60458         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
60459         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
60460         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
60461         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
60463 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60465         * sysdeps/x86_64/wcscmp.S: New file.
60467         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
60468         wcscmp-c wcscmp-sse2
60469         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
60470         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
60471         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
60472         * wcsmbs/wcscmp.c: Allow renaming.
60474 2011-09-05  David S. Miller  <davem@davemloft.net>
60476         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
60477         stack slot, rather than the struct return pointer slot.
60478         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
60479         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
60480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
60481         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
60483 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60485         * po/ja.po: Update from translation team.
60487         [BZ #13144]
60488         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
60489         kernel in 64-bit binaries.
60491 2011-09-01  David S. Miller  <davem@davemloft.net>
60493         * elf/elf.h (HWCAP_SPARC_*): Move to..
60494         * sysdeps/sparc/sysdep.h: this new file and add new values.
60495         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
60496         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
60497         _DL_HWCAP_COUNT to 24.
60498         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60499         entries.
60500         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
60501         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
60502         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
60503         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
60504         instead of magic constants.
60505         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60507 2011-08-31  David S. Miller  <davem@davemloft.net>
60509         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
60510         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
60511         Reimplement to do errno handling inline.
60512         (SYSCALL_ERROR_HANDLER): New macro.
60513         (__SYSCALL_STRING): Do not do errno handling in asm.
60514         (__CLONE_SYSCALL_STRING): Delete.
60515         (__INTERNAL_SYSCALL_STRING): Delete.
60516         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
60517         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
60518         (PSEUDO): Reimplement to do errno handling inline.
60519         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
60520         (SYSCALL_ERROR_HANDLER): New macro.
60521         (__SYSCALL_STRING): Do not do errno handling in asm.
60522         (__CLONE_SYSCALL_STRING): Delete.
60523         (__INTERNAL_SYSCALL_STRING): Delete.
60524         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
60525         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
60526         i386.
60527         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
60528         (inline_syscall*): Add 'err' argument.
60529         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
60530         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
60531         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
60532         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
60534         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
60535         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60537 2011-08-30  Andreas Schwab  <schwab@redhat.com>
60539         * elf/rtld.c (dl_main): Relocate objects in dependency order.
60541 2011-08-29  Jiri Olsa <jolsa@redhat.com>
60543         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
60544         directive.
60546 2011-08-24  David S. Miller  <davem@davemloft.net>
60548         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
60550 2011-08-24  Andreas Schwab  <schwab@redhat.com>
60552         * elf/Makefile: Add rules to build and run unload8 test.
60553         * elf/unload8.c: New file.
60554         * elf/unload8mod1.c: New file.
60555         * elf/unload8mod1x.c: New file.
60556         * elf/unload8mod2.c: New file.
60557         * elf/unload8mod3.c: New file.
60559         * elf/dl-close.c (_dl_close_worker): Reset private search list if
60560         it wasn't used.
60562 2011-08-23  David S. Miller  <davem@davemloft.net>
60564         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
60565         subtract stack bias.
60566         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
60567         %sp not %fp in calculations.
60568         (_JMPBUF_UNWINDS_ADJ): Likewise.
60570         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
60571         (aio_suspend): Call it to force an exception region around the
60572         AIO_MISC_WAIT() invocation.
60574 2011-08-23  Andreas Schwab  <schwab@redhat.com>
60576         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
60577         backslash.
60579 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
60581         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
60582         protection macro.
60583         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
60584         and <dl-machine.h>.
60585         (Elf64_FuncDesc): Remove.
60587 2011-08-22  David S. Miller  <davem@davemloft.net>
60589         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
60590         sigaltstack check, add missing cfi directives.
60591         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
60592         missing cfi directives, and sigaltstack handling.
60594 2011-08-16  Andreas Schwab  <schwab@redhat.com>
60596         [BZ #11724]
60597         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
60598         object is seen twice.
60599         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60601         * elf/Makefile (distribute): Add tst-initorder2.c.
60602         (tests): Add tst-initorder2.
60603         (modules-names): Add tst-initorder2a tst-initorder2b
60604         tst-initorder2c tst-initorder2d.  Add rules to build them.
60605         ($(objpfx)tst-initorder2.out): New rule.
60606         * elf/tst-initorder2.c: New file.
60607         * elf/tst-initorder2.exp: New file.
60609 2011-08-22  Andreas Schwab  <schwab@redhat.com>
60611         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
60613         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
60614         dependencies back to end of function.
60616         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60617         $(elfobjdir)/ld.so.
60619 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
60621         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
60622         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
60623         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
60624         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
60625         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
60626         of __vdso_gettimeofday.
60627         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
60628         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
60629         attribute_hidden.
60630         (_libc_vdso_platform_setup): Remove initialization of
60631         __vdso_gettimeofday and __vdso_time.
60633 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60635         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
60636         and fgetc_unlocked.
60637         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
60638         getc_unlocked.
60640         * elf/dl-open.c (add_to_global): Report additions to the global scope
60641         for LD_DEBUG=scopes.
60642         (dl_open_worker): Also print scope of newly loaded dependencies.
60643         (_dl_show_scope): Indicate if there is no scope.
60645         [BZ #13114]
60646         * stdio-common/Makefile (tests): Add bug24.
60647         * stdio-common/bug24.c: New file.
60649 2011-08-19  Andreas Jaeger  <aj@suse.de>
60651         [BZ #13114]
60652         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
60653         non-existant file when using close-on-exec mode.
60655 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60657         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
60658         the very first instruction.
60660         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
60661         the CFI state in the end.
60662         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
60663         inclusion of dl-trampoline.h.
60664         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
60666 2011-08-19  Andreas Schwab  <schwab@redhat.com>
60668         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
60669         expectations for long double.
60671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60672         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60674 2011-08-14  David S. Miller  <davem@davemloft.net>
60676         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60677         artificual limit depends upon the system page size.
60679 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60681         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60682         * resolv/Makefile: Define CFLAGS-libresolv.
60684 2011-08-17  Andreas Schwab  <schwab@redhat.com>
60686         * nss/makedb.c (compute_tables): Make variables used in nested
60687         function static.
60689 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60691         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60692         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60693         if buffer was too small.
60695         * elf/pldd.c (main): Attach to all threads in the process.
60696         Rewrite /proc handling to use *at functions.
60698 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
60700         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60701         specifies first scope to show.
60702         (dl_open_worker): Update callers.  Move printing scope of new
60703         object to before the relocation.
60704         * elf/rtld.c (dl_main): Update _dl_show_scope call.
60705         * sysdeps/generic/ldsodefs.h: Update declaration.
60707         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60708         string for the scope number.
60710 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
60712         * nscd/servicescache.c (cache_addserv): Make sure written is always
60713         initialized.
60715 2011-08-14  Roland McGrath  <roland@hack.frob.com>
60717         * sysdeps/i386/i486/bits/atomic.h
60718         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60719         statement expression, so as to suppress "set but not used" warning.
60720         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60722         * string/strncat.c (STRNCAT): Use prototype definition.
60724         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60725         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60726         -Iprograms here.
60727         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60728         (localedef-modules): Add localedef.
60729         (locale-modules): Add locale.
60731         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60732         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60733         to avoid a warning.
60735 2011-08-14  David S. Miller  <davem@davemloft.net>
60737         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60738         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60740 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60742         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60743         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60744         * elf/rtld.c (dl_main): Set l_name of vDSO.
60745         Call _dl_show_scope when DL_DEBUG_SCOPES.
60746         (process_dl_debug): Recognize scopes flag and also set it for all.
60747         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60748         Declare _dl_show_scope.
60750         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60751         (do_dlopen): Pass caller_dlopen to dl_open.
60752         (__libc_dlopen_mode): Initialize caller_dlopen.
60754         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60755         of libc.  Make tolower call locale-independent.  Optimize a bit by
60756         using isdigit instead of isalnum.
60757         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60759 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60761         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60762         was a dependency or dynamically loaded.
60764 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60766         * intl/l10nflist.c: Allow architecture-specific pop function.
60767         * sysdeps/x86_64/l10nflist.c: New file.
60769         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60770         classification.
60772 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60774         * include/dirent.h: Add libc_hidden_proto for scandirat and
60775         scandirat64.  Don't declare __scandirat64.
60776         * dirent/scandirat.c: Add libc_hidden_def.
60777         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60778         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60780 2011-08-10  David S. Miller  <davem@davemloft.net>
60782         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60783         enum.
60784         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60785         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60786         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60788 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60790         * Versions.def [libc]: Add GLIBC_2.15.
60791         * dirent/Makefile (routines): Add scandirat and scandirat64.
60792         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60793         GLIBC_2.15.
60794         * dirent/dirent.h: Declare scandirat and scandirat64.
60795         * dirent/scandirat.c: New file.
60796         * dirent/scandirat64.c: New file.
60797         * sysdeps/wordsize-64/scandirat.c: New file.
60798         * sysdeps/wordsize-64/scandirat64.c: New file.
60799         * dirent/opendir.c: Define opendirat.
60800         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60801         using scandirat.
60802         * dirent/scandir64.c: Adjust for scandir.c change.
60803         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60804         __scandirat64, and __scandir_cancel_handler.
60805         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60806         additional parameter and use openat instead of open (outside of ld.so).
60807         Add new __opendir as wrapper around __opendirat.
60808         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60809         here without requiring old scandirat implementation.
60811 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60813         * dirent/scandir.c (cancel_handler): Renamed to
60814         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60815         defined.  Adjust users.
60816         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60817         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60819 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60821         * string/test-string.h (IMPL): Use __STRING to expand name and then
60822         stringify it.
60824         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60825         of cleanups.
60827 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60829         * string/Makefile: Update.
60830         (strop-tests): Append strncat.
60831         * string/test-wcscmp.c: New file.
60832         New comprehensive test for wcscmp.
60833         * string/test-strcmp.c: Update.
60834         (WIDE): New define.
60836 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60838         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60839         line.
60841 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60843         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60844         encoding to ACE if AI_IDN.
60846 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60848         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60849         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60851 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60853         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60854         Fix overflow bug in strncat.
60855         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60857         * string/test-strncat.c: Update.
60858         Add new tests for checking overflow bugs.
60860 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60862         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60863         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60864         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60865         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60866         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60867         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60868         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60869         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60870         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60872         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60873         (USE_AS_STRCAT): Define.
60874         Add strcat and strncat support.
60875         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60877 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60879         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60880         __n bigger than INT_MAX+1.
60881         (__strncmp_g): Likewise.
60883 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60885         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60886         * libio/stido.h: Likewise.
60888         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60889         (AF_NFC): Define.
60890         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60891         (AF_NFC): Define.
60893         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60894         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60895         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60896         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60897         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60899         [BZ #13021]
60900         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60901         installed.
60903         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60904         typo.
60905         (_dl_x86_64_save_sse): Likewise.
60907 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60909         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60910         OSXSAVE.
60911         (_dl_x86_64_save_sse): Likewise.
60913         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60915         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60917 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60919         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60920         change.
60921         (_dl_x86_64_save_sse): Use correct AVX check.
60923 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60925         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60926         bug in strncpy/strncat.
60927         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60929 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60931         * string/tester.c (test_strcat): Add tests for different alignments
60932         of source and destination.
60933         (test_strncat): Likewise.
60935 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60937         [BZ #12852]
60938         * posix/glob.c (glob): Check passed in values before using them in
60939         expressions to avoid some overflows.
60940         (glob_in_dir): Likewise.
60942         [BZ #13007]
60943         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60944         check for AVX enablement so that we don't crash with old kernels and
60945         new hardware.
60946         * elf/tst-audit4.c: Add same checks here.
60947         * elf/tst-audit6.c: Likewise.
60949         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60951 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60953         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60955 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60957         * po/cs.po: Update from translation team.
60958         * po/bg.po: Likewise.
60960 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60962         * misc/sys/cdefs.h: Add support for const attribute.
60963         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60964         to gnu_dev_{major,minor,makedev} functions.
60966 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60968         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60970 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60972         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60973         strlen results.
60975 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60977         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60978         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60979         register in order to avoid conflicts with the soft frame pointer
60980         being held in r11 when necessary.
60981         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60982         (INTERNAL_VSYSCALL_NCS): Likewise.
60984 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60986         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60987         * elf/dl-fini.c (_dl_fini): Adjust caller.
60988         * elf/dl-close.c (_dl_close_worker): Likewise.
60989         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60991 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60993         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60994         "aux_cache->nlibs < 0".
60996         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60997         in the reload-count case.
60999 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61001         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61002         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
61003         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
61004         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
61005         * sysdeps/x86_64/multiarch/strcat.S: New file.
61006         * sysdeps/x86_64/multiarch/strncat.S: New file.
61007         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
61008         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
61009         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
61010         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
61011         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
61012         (USE_AS_STRCAT): Define.
61013         Add strcat and strncat support.
61014         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61015         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
61016         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
61017         * string/strncat.c: Update.
61018         (USE_AS_STRNCAT): Define.
61019         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61020         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
61021         and i7.
61022         * sysdeps/x86_64/multiarch/init-arch.h
61023         (bit_Prefer_PMINUB_for_stringop): New.
61024         (index_Prefer_PMINUB_for_stringop): Likewise.
61025         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
61026         bit_Prefer_PMINUB_for_stringop.
61028 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
61030         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
61031         buffer64.
61032         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
61033         of casting of buffer.
61034         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
61035         buffer32 and buffer64.
61036         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
61037         writes instead of casting of buffer.
61038         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
61039         buffer32.
61040         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
61041         casting of buffer.
61043 2011-07-19  Andreas Schwab  <schwab@redhat.com>
61045         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
61047 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
61049         * nscd/nscd.c (termination_handler): Don't do anything for a database
61050         if it has not yet been initialized.
61052 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
61054         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61056 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
61058         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61060 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
61062         * po/nl.po: Update from translation team.
61063         * po/sv.po: Likewise.
61065 2011-07-16  Roland McGrath  <roland@hack.frob.com>
61067         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
61068         now disallowed by GCC.
61070         * configure.in (use-default-link): Default to yes if a test -shared
61071         link meets our qualifications.
61072         * configure: Regenerated.
61074         * config.make.in (output-format): New variable.
61075         * configure.in: Check for ld --print-output-format support.
61076         * configure: Regenerated.
61077         * Makerules ($(common-objpfx)format.lds)
61078         [$(output-format) != unknown]: Just use $(output-format),
61079         instead of the linker-script munging.
61081 2011-07-14  Roland McGrath  <roland@hack.frob.com>
61083         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
61084         of $(common-objpfx)shlib.lds.
61085         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
61087         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
61088         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
61090         * configure.in (-z relro check): Adjust test code to add a large
61091         writable data section after it.
61092         * configure: Regenerated.
61094 2011-07-11  Roland McGrath  <roland@hack.frob.com>
61096         * configure.in (-z relro check): Fix test code to make the variable
61097         truly const.
61098         * configure: Regenerated.
61100 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
61102         * nscd/nscd.h (struct traced_file): Define.
61103         (struct database_dyn): Remove inotify_descr, reset_res, and filename
61104         elements.  Add traced_files.
61105         (inotify_fd): Declare.
61106         (register_traced_file): Declare.
61107         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
61108         (inotify_fd): Export.
61109         (resolv_conf_descr): Remove.
61110         (nscd_init): Move inotify descriptor creation to main.
61111         Don't register files for notification here.
61112         (register_traced_file): New function.
61113         (invalidate_cache): Don't use reset_res to determine whether to call
61114         res_init, go through the list of registered files.
61115         (main_loop_poll): The inotify descriptors are now stored in the
61116         structures for the traced files.
61117         (main_loop_epoll): Likewise
61118         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
61119         to __nss_disable_nscd.
61120         * nscd/cache.c (prune_cache): There is no single inotify descriptor
61121         for a database anymore.  Check the records for all the registered
61122         files instead.
61123         * nss/Makefile (libnss_files-routines): Add files-init.
61124         (libnss_db-routines): Add db-init.
61125         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
61126         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
61127         * nss/nss_db/db-init.c: New file.
61128         * nss/nss_files/files-init.c: New file.
61129         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
61130         __nss_lookup_function.
61131         (__nss_lookup_function): Call nss_load_library.
61132         (nss_load_all_libraries): New function.
61133         (__nss_disable_nscd): Take parameter with callback function for files
61134         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
61135         used for the cached services.
61136         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
61137         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
61138         options for features to all the files in nscd.
61140         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
61142 2011-07-10  Roland McGrath  <roland@hack.frob.com>
61144         * csu/elf-init.c (__libc_csu_init): Comment typo.
61146 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
61148         * po/pl.po: Update from translation team.
61149         * po/ja.po: Likewise.
61150         * po/ru.po: Likewise.
61151         * po/ko.po: Likewise.
61152         * po/fr.po: Likewise.
61154 2011-07-09  Roland McGrath  <roland@hack.frob.com>
61156         * configure.in (.ctors/.dtors header and trailer check):
61157         Use an empirical test on a built program.
61158         * configure: Regenerated.
61160         * configure.in (-z relro check): Use an empirical test on a built DSO.
61161         Detect, but do not require, on ia64.
61162         * configure: Regenerated.
61164         * configure.in (READELF): Find it with AC_CHECK_TOOL.
61165         Update tests that use readelf to use $READELF instead.
61166         * configure: Regenerated.
61168 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
61170         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
61171         if the result is not used.
61173 2011-07-05  Andreas Jaeger  <aj@suse.de>
61175         [BZ#9696]
61176         * stdlib/tst-strtod.c: Add testcase.
61178 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
61180         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
61181         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
61182         The latter has a higher limit.  Take additional parameter to pass to
61183         the new function.
61184         (__pathconf): Pass file to __statfs_link_max.
61185         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
61186         __statfs_link_max.
61187         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
61188         __statfs_link_max.
61190         [BZ #12868]
61191         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
61192         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61193         Handle Lustre.
61194         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
61195         (__statfs_filesize_max): Likewise.
61196         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
61198 2011-07-05  Andreas Jaeger  <aj@suse.de>
61200         * resolv/res_comp.c (dn_skipname): Remove unused variable.
61202 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
61204         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
61205         `status' variable.
61206         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
61207         Likewise.
61209 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
61211         * Makefile (strop-tests): Add strncat.
61212         * string/test-strncat.c: New file.
61214 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
61216         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
61218 2011-06-21  Andreas Jaeger  <aj@suse.de>
61220         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
61221         Copy rule from iconvdata/Makefile.
61223 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
61225         [BZ #12922]
61226         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
61227         but no long options are defined, just return 'W'.
61229 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
61231         [BZ #9696]
61232         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
61234 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
61236         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
61237         netgroups to read.
61238         (innetgr): Likewise.
61240 2011-07-05  Roland McGrath  <roland@hack.frob.com>
61242         * config.make.in (install_root): Default to $(DESTDIR).
61244 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
61246         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
61248 2011-07-02  Roland McGrath  <roland@hack.frob.com>
61250         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
61252         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
61253         containing directory rather than embedding absolute directory names.
61255         * scripts/check-local-headers.sh: Rewritten using awk.
61256         Match by word, not by line.  Print error messages for matches.
61257         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
61259         * Makerules [shlib-lds-flags empty]:
61260         ($(common-objpfx)libc_pic.opts): New target.
61261         ($(common-objpfx)libc_pic.os.clean): New target.
61262         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
61264         * config.make.in (OBJCOPY): New variable.
61265         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
61266         * configure: Regenerated.
61268         * config.make.in (use-default-link): New variable.
61269         * configure.in (use_default_link): Grok --with-default-link to set it.
61270         * configure: Regenerated.
61271         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
61272         (shlib-lds, shlib-lds-flags): Define to empty.
61274         * Makerules (shlib-lds): New variable.
61275         (shlib-lds-flags): New variable.
61276         (build-shlib, build-moduile, build-module-asneeded): Use it.
61277         ($(common-objpfx)libc.so): Use $(shlib-lds).
61278         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
61279         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
61281         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
61282         DT_FLAGS/DT_FLAGS_1 with zero flags.
61284         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
61285         linker script munging.
61287 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
61289         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
61290         as 128-bit value.
61291         * crypt/sha512.c (sha512_process_block): Perform total addition using
61292         128-bit if possible.
61293         (__sha512_finish_ctx): Likewise.
61294         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
61295         as 64-bit value.
61296         * crypt/sha256.c (SWAP64): Define.
61297         (sha256_process_block): Perform total addition using 64-bit if
61298         possible.
61299         (__sha256_finish_ctx): Likewise.
61301 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
61303         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
61304         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61305         * nscd/hstcache.c (cache_addhst): Likewise.
61306         * nscd/grpcache.c (cache_addgr): Likewise.
61307         * nscd/aicache.c (addhstaiX): Likewise
61308         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
61310 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
61312         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
61313         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61314         * nscd/hstcache.c (cache_addhst): Likewise.
61315         * nscd/grpcache.c (cache_addgr): Likewise.
61316         * nscd/aicache.c (addhstaiX): Likewise
61318 2011-07-01  Andreas Schwab  <schwab@redhat.com>
61320         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
61321         domain only when needed.
61323 2011-06-30  Andreas Schwab  <schwab@redhat.com>
61325         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
61326         is always restored.
61328 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
61330         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
61331         are re-adding the entry.
61332         * nscd/servicescache.c (cache_addserv): Likewise.
61334 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
61336         * sysdeps/generic/dl-irel.h: fix protection against multiple
61337         inclusions.
61338         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
61340 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
61342         [BZ #12935]
61343         * malloc/memusage.sh: Fix quoting in message.
61344         * debug/xtrace.sh: Likewise.
61346         * configure.in: Remove support for --experimental-malloc option, make
61347         it the default.
61348         * config.make.in: Likewise.
61349         * malloc/Makefile: Likewise.
61351 2011-06-27  Andreas Schwab  <schwab@redhat.com>
61353         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
61354         two-byte characters.
61356 2011-06-27  Roland McGrath  <roland@hack.frob.com>
61358         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
61359         AC_CACHE_CHECK invocation.
61360         * configure: Regenerated.
61362         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
61364 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
61366         [BZ #12350]
61367         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
61368         bit from old_res_options.
61370         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
61372         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
61373         value type for setfct.
61375 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
61377         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61378         __gettimeofday instead of gettimeofday.
61380 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
61382         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
61384 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
61386         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
61388         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
61389         info.
61391 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61393         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61394         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61395         strcpy-sse2-unaligned strncpy-sse2-unaligned
61396         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
61397         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
61398         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
61399         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
61400         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
61401         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
61402         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
61403         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
61404         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
61405         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
61406         (STRCPY): Support SSE2 and SSSE3 versions.
61408 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
61410         [BZ #12874]
61411         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
61412         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
61413         kernels which artificially limit size of requests.
61415 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61417         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61418         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61419         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
61420         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
61421         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
61422         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
61423         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
61424         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
61425         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
61426         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
61427         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
61428         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
61429         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
61430         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
61431         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
61432         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61433         Enable unaligned load optimization for Intel Core i3, i5 and i7
61434         processors.
61435         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
61436         Define.
61437         (index_Fast_Unaligned_Load): Define.
61438         (HAS_FAST_UNALIGNED_LOAD): Define.
61440 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
61442         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
61444 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61446         [BZ #12907]
61447         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
61448         until it is clear that the information is realy needed.
61449         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
61451 2011-06-22  Andreas Schwab  <schwab@redhat.com>
61453         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
61455 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61457         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61458         /sys/devices/system/cpu/online if it is usable.
61460         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
61461         reading the information from the /proc filesystem to once a second.
61463 2011-06-21  Andreas Jaeger  <aj@suse.de>
61465         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
61466         NULL after inclusion of kernel headers.
61468 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
61470         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
61471         calls to internal_setent.
61473         [BZ #12885]
61474         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
61475         addresses using gethostbyname4_r ignore IPv4 addresses.
61477         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
61478         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
61480         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
61482 2011-06-20  David S. Miller  <davem@davemloft.net>
61484         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
61485         inclusions.
61486         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
61488         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
61489         (elf_irel): Use it.
61490         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
61491         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
61492         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
61493         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
61494         * sysdeps/x86_64/dl-irel.h: Likewise.
61496         * elf/dl-runtime.c: Use elf_ifunc_invoke.
61497         * elf/dl-sym.c: Likewise.
61499 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61501         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
61502         need to dereference resplen2.
61504 2011-06-14  Andreas Schwab  <schwab@redhat.com>
61506         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
61508 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61510         * Makeconfig: Define vardbdir and inst_vardbdir.
61511         * nss/Makefile: Add rules to install db-Makefile.
61513         * nss/nss_db/db-XXX.c: Cleanup.
61515         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
61516         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
61517         GLIBC_PRIVATE.
61518         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
61519         * nss/makedb.c: Implement -g option to specify that value strings
61520         are generated and should not be added to table iterated over for
61521         get*ent calls.
61522         * nss/nss_db/db-initgroups.c: New file.
61524         * nss/getent.c: Add support for initgroups lookups through getgrouplist
61525         interface.
61527         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
61528         (internal_getgrouplist): Adjust to name change.
61529         Update use_initgroups_entry if this is not the first call.
61530         * nss/databases.def: Add initgroups entry.
61532         * nss/makedb.c (compute_tables): Check result of multiple hash table
61533         sizes to minimize maximum chain length.
61535 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
61537         * Versions.def: Add entry for libnss_db.
61538         * shlib-versions: Likewise.
61539         * nss/Makefile: Add rules to build libnss_db.
61540         * nss/Versions: Add libnss_db information.  Organize libnss_files
61541         entries better.
61542         * nss/db-Makefile: Add gshadow support.  Change rules for the new
61543         makedb progra.  Some minor improvements to generate smaller files.
61544         * nss/nss_db/nss_db.h: Move NSS database header data structures to
61545         here from...
61546         * nss/makedb.c: ...here.
61547         Improve database format to be smaller and require less memory at
61548         runtime.
61549         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
61550         db anymore.
61551         * nss/nss_db/db-netgrp.c: Likewise.
61552         * nss/nss_db/db-open.c: Likewise.
61553         * nss/nss_files/flies-XXX.x: Adjust comments.
61554         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
61555         * nss/nss_files/files-grp.c: Likewise.
61556         * nss/nss_files/files-hosts.c: Likewise.
61557         * nss/nss_files/files-network.c: Likewise.
61558         * nss/nss_files/files-proto.c: Likewise.
61559         * nss/nss_files/files-pwd.c: Likewise.
61560         * nss/nss_files/files-rpc.c: Likewise.
61561         * nss/nss_files/files-service.c: Likewise.
61562         * nss/nss_files/files-sgrp.c: Likewise.
61563         * nss/nss_files/files-spwd.c: Likewise.
61564         * nss/nss_db/db-alias.c: Removed.
61565         * nss/nss_db/dummy-db.h: Removed.
61567 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
61569         * nss/makedb.c: Rewritten to not use database library.
61570         * nss/Makefile: Update to build new makedb program.
61572 2011-06-14  Andreas Jaeger  <aj@suse.de>
61574         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
61575         memset declaration.
61577 2011-06-10  Andreas Schwab  <schwab@redhat.com>
61579         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
61580         tmpbuf.
61582 2011-06-10  Roland McGrath  <roland@hack.frob.com>
61584         * Makerules (shlib.lds): Fail if the linker script comes out empty.
61585         * elf/Makefile ($(objpfx)ld.so): Likewise.
61587         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
61588         Don't list ld.so twice in dependencies.
61590         * posix/bug-regex31.c: Include <stdlib.h>.
61592         * nscd/hstcache.c (cache_addhst): Remove unused variable.
61594         * nis/nss_compat/compat-spwd.c
61595         (getspent_next_nss_netgr): Remove unused variable.
61596         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
61598         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
61599         nonmembers" output to use the right array.
61601         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
61603         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
61605         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
61606         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
61607         * catgets/gencat.c (read_input_file): Likewise.
61608         * locale/programs/locarchive.c (enlarge_archive): Likewise.
61610         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
61611         variable definition inside #if's controlling its use.
61613         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
61615         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
61617         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
61619         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
61620         unreachable code.
61622         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
61624         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
61625         * configure: Regenerated.
61627         * Makerules: Revert last change.
61628         * elf/Makefile: Likewise.
61630 2011-06-09  Roland McGrath  <roland@hack.frob.com>
61632         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
61633         * elf/Makefile ($(objpfx)librtld.os): Likewise.
61634         (reloc-link): Likewise.
61636 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
61638         * elf/Makefile: Add rules to build pldd.
61639         * elf/pldd.c: New file.
61640         * elf/pldd-xx.c: New file.
61642 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
61644         * version.h: Update for 2.15 development version.
61646 2011-06-07  David S. Miller  <davem@davemloft.net>
61648         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
61649         ifuncs.
61650         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
61651         elf_machine_lazy_rel): Likewise.
61652         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
61653         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
61654         elf_machine_lazy_rel): Likewise.
61655         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
61656         dl_hwcap via passed in argument.
61657         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
61658         Likewise.
61660 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61662         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
61664 2011-06-06  Roland McGrath  <roland@hack.frob.com>
61666         [BZ #12849]
61667         * manual/fdl-1.1.texi: New file, verbatim from:
61668         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
61669         * manual/lgpl-2.1.texi: New file, verbatim from:
61670         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61671         * manual/Makefile (licenses): New variable, list those new file names.
61672         (texis): Use it.
61673         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61675         * manual/fdl.texi: File removed.
61676         * manual/lesser.texi: File removed.
61677         * manual/libc.texinfo (Copying, Documentation License):
61678         Use new @include file names, put @appendix directive before @include.
61680 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
61682         [BZ #12841]
61683         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61684         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61685         (mq_open): Add __NTH.
61687 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
61689         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61690         Assume Intel Core i3/i5/i7 processor if AVX is available.
61692 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61694         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61695         typo.
61697 2011-05-31  Andreas Schwab  <schwab@redhat.com>
61699         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61700         memory.  Use alloca_account.  Fix memory leak when retrying.
61702 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61704         * version.h (RELEASE): Bump for 2.14 release.
61705         * include/features.h (__GLIBC_MINOR__): Bump to 14.
61707         * config.make.in (RANLIB): Remove entry.
61709 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
61711         * po/Makefile (po-sed-cmd): Add ksh to extensions.
61712         (libc.pot): Work around missing support for .ksh extension in xgettext.
61714         [BZ #12684]
61715         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61716         if both request failed.
61717         (send_dg): In case of server errors clear resplen or *resplen2.
61719         [BZ #12454]
61720         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61721         when there are multiple maps.
61722         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61723         (_dl_fini): Remove test here.
61725         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61727 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61729         [BZ #12350]
61730         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61731         bit from old_res_options.
61732         (gaih_inet): Likewise.
61734         [BZ #11099]
61735         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61736         as signed.
61738         * resolv/res_init.c (res_setoptions): Make the code more compact.
61740         [BZ #11558]
61741         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61742         set RES_USEVC.
61744         [BZ #11634]
61745         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61747         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61749         [BZ #11781]
61750         * malloc/malloc.h: Declare malloc hook variables as volatile.
61752         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61753         in last patch.
61755         [BZ #11799]
61756         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61757         raise in the comment.
61758         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61759         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61760         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61762 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61764         [BZ #12811]
61765         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61766         grow the buffers more if it already has to be sufficient.
61767         (build_wcs_upper_buffer): Likewise.
61768         * posix/regexec.c (check_matching): Likewise.
61769         (clean_state_log_if_needed): Likewise.
61770         (extend_buffers): Don't enlarge buffers beyond size of the input
61771         buffer.
61772         Patches mostly by Emil Wojak <emil@wojak.eu>.
61773         * posix/bug-regex32.c: New file.
61774         * posix/Makefile (tests): Add bug-regex32.
61776         * locale/findlocale.c (_nl_find_locale): Return right away if
61777         _nl_explode_name failed.
61778         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61780         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61782         * debug/xtrace.sh: Unify messages.
61783         * malloc/memusage.sh: Likewise.
61785         [BZ #12813]
61786         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61787         time symbol from vDSO.  Substitute with vsyscall if not available.
61788         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61789         __vdso_time.
61791         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61792         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61793         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61794         Add sendmmsg and internal_sendmmsg.
61795         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61796         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61797         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61799         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61800         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61801         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61803 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61805         [BZ #12813]
61806         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61807         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61808         available.
61809         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61810         __vdso_getcpu.
61812         [BZ #12814]
61813         * iconvdata/Makefile (tests): Add bug-iconv9.
61814         * iconvdata/bug-iconv9.c: New file.
61816 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61818         [BZ #12814]
61819         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61821 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61823         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61824         (struct user_regs_struct): Change intcs field back to cs.
61826 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61828         * po/ja.po: Update from translation team.
61830 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61832         [BZ #12795]
61833         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61834         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61836 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61838         * stdlib/longlong.h: Update from GCC.
61840 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61842         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61843         parameter name.
61844         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61845         Add parameter name.
61846         (__sysconf): Pass it down.
61848 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61850         [BZ #12671]
61851         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61852         some situations.
61853         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61854         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61855         add in in __libc_use_alloca calls.  Adjust callers.
61856         (glob): Use malloc in some situations.
61858         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61859         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61860         pltexit.
61862 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61864         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61865         and CLOCK_BOOTTIME_ALARM.
61867         [BZ #12782]
61868         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61869         is returned.
61871         * string/_strerror.c (__strerror_r): Print negative errors as signed
61872         numbers.
61874         [BZ #12777]
61875         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61876         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61877         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61879         * configure.in: Fix typo in redirection and correct removal of test
61880         files in two cases.
61882         [BZ #12788]
61883         * locale/setlocale.c (new_composite_name): Fix test to check for
61884         identical name of all categories.
61886         [BZ #12792]
61887         * libio/filedoalloc.c (local_isatty): New function.
61888         (_IO_file_doallocate): Use local_isatty.
61889         * stdio-common/perror.c (perror): In case a new stream is used
61890         forward the stream error.
61891         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61892         error flag.
61894 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61896         [BZ #11869]
61897         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61898         alloca.
61899         * include/alloca.h (extend_alloca_account): Define.
61901         [BZ #11857]
61902         * posix/regex.h: Fix comments with documentation of user-accessible
61903         fields after compilation and describe correct free'ing of pattern
61904         after re_compile_pattern.
61905         Patch by Reuben Thomas <rrt@sc3d.org>.
61907 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61909         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61910         and -mno-altivec to prevent the compiler from using Altivec and/or
61911         VSX instructions when the corresponding registers are not available.
61913 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61915         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61917 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61919         * libio/freopen.c (freopen): Use __dup2, not dup2.
61920         * libio/freopen64.c (freopen64): Likewise.
61922 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61924         [BZ #12775]
61925         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61926         * math/Makefile (tests): Add test-powl.
61927         (CFLAGS-test-powl.c): Define.
61928         * math/test-powl.c: New file.
61930 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61932         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61934 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61936         [BZ #11837]
61937         * iconvdata/gb18030.c: Update to GB18020-2005.
61939 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61941         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61942         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61943         Patch by Aharon Robbins <arnold@skeeve.com>.
61945         [BZ #11892]
61946         * stdlib/putenv.c (putenv): Don't always create copy of the variable
61947         on the stack.
61949         [BZ #11895]
61950         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61951         through underflows.
61953         [BZ #12766]
61954         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61955         point to strings before performing equality test for error_one_per_line
61956         mode.
61958         [BZ #11697]
61959         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61961         [BZ #11820]
61962         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61963         (struct user_fpregs_struct): Avoid __uint*_t types.
61965         [BZ #6420]
61966         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61967         symbol info.  Use it instead of calling _dl_addr locally.
61968         (lock_and_info): New function.
61969         (tr_freehook): Call lock_and_info and pass symbol info as additional
61970         parameter to tr_where.
61971         (tr_mallochook): Likewise.
61972         (tr_reallochook): Likewise.
61973         (tr_memalignhook): Likewise.
61975         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61976         used and couldn't be at all thread-safe.
61978 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61980         * libio/freopen.c (freopen): Don't close old file descriptor
61981         before the new one is opened.  Instead dup the new file descriptor
61982         to the old one after the new stream is created.
61983         * libio/freopen64.c (freopen64): Likewise.
61984         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61985         * libio/fileops.c (_IO_new_file_close_it): Handle new
61986         _IO_FLAGS2_NOCLOSE flag.
61987         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61988         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61989         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61990         _IO_FLAGS2_NOCLOSE flag.
61991         * include/unistd.h: Add hidden_proto for dup3.
61992         Define __have_dup3.
61993         * io/dup3.c: Define hidden symbol.
61994         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61996         [BZ #7101]
61997         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61998         when an incomplete long option is used.
61999         * posix/tst-getopt_long1.c: New file.
62000         * posix/Makefile (tests): Add tst-getopt_long1.
62002         [BZ #10138]
62003         * scripts/config.guess: Update from autoconf-2.68.
62004         * scripts/config.sub: Likewise.
62006         [BZ #10157]
62007         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
62008         tests into ...
62009         (has_cpuclock): ...this.  New function.
62010         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
62011         macro here based on has_cpuclock code.
62013         [BZ #10149]
62014         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62015         First byte (not low byte) is now always NUL.
62016         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
62018         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62019         Use non-cancelable interfaces.
62021         [BZ #9809]
62022         * locale/iso-639.def: Add entry for Sorani.
62024         [BZ #11901]
62025         * include/stdlib.h: Move include protection to the right place.
62026         Define abort_msg_s.  Declare __abort_msg with it.
62027         * stdlib/abort.c (__abort_msg): Adjust type.
62028         * assert/assert.c (__assert_fail_base): New function.  Majority
62029         of code from __assert_fail.  Allocate memory for __abort_msg with
62030         mmap.
62031         (__assert_fail): Now call __assert_fail_base.
62032         * assert/assert-perr.c: Remove bulk of implementation.  Use
62033         __assert_fail_base.
62034         * include/assert.hL Declare __assert_fail_base.
62035         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
62036         mmap.
62037         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
62039 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
62041         [BZ #11952]
62042         [BZ #12453]
62043         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
62044         until all modules are registered in the DTV.
62045         * elf/Makefile: Add rules to build and run tst-tls19.
62046         * elf/tst-tls19.c: New file.
62047         * elf/tst-tls19mod1.c: New file.
62048         * elf/tst-tls19mod2.c: New file.
62049         * elf/tst-tls19mod3.c: New file.
62050         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
62052         [BZ #12083]
62053         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
62054         correctly.
62056         [BZ #12601]
62057         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
62058         two-byte sequence errors.
62059         * iconvdata/Makefile (tests): Add bug-iconv8.
62060         * iconvdata/bug-iconv8.c: New file.
62062         [BZ #12626]
62063         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
62064         buf2 definition.
62066         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
62068         [BZ #12432]
62069         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
62070         (dummy_getcfa): New function.
62071         (init): Get _Unwind_GetCFA address, use dummy if not found.
62072         (backtrace_helper): In recursion check, also check whether CFA changes.
62073         (__backtrace): Completely initialize arg.
62075         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
62076         storing incomplete byte sequence in state object.  Avoid testing for
62077         guaranteed too small input if we know there is enough data available.
62079 2011-05-11  Andreas Schwab  <schwab@redhat.com>
62081         * Makeconfig (+link-pie): Indent.
62082         * Rules (binaries-pie): Define if $(have-fpie) and
62083         $(build-shared).
62084         (binaries-shared): Also filter out $(binaries-pie).
62085         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
62086         * nscd/Makefile (others-pie): Add nscd.
62087         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
62088         ($(objpfx)nscd): Remove command override.
62089         * login/Makefile (others-pie): Add pt_chown.
62090         ($(objpfx)pt_chown): Remove command override.
62091         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
62092         remove command overrides.
62094 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
62096         * libio/tst_putwc.c: Fix error messages.
62098         [BZ #12724]
62099         * libio/fileops.c (_IO_new_file_close_it): Always flush when
62100         currently writing and seek to current position when not.
62101         * libio/Makefile (tests): Add bug-fclose1.
62102         * libio/bug-fclose1.c: New file.
62104 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
62106         [BZ #12511]
62107         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
62108         don't set DF_1_NODELETE here.
62109         (do_lookup_x): When entering new entry test for copy relocation
62110         and if necessary set DF_1_NODELETE flag.
62111         * elf/tst-unique4.cc: New file.
62112         * elf/tst-unique4.h: New file.
62113         * elf/tst-unique4lib.cc: New file.
62114         * elf/Makefile: Add rules to build and run tst-unique4.
62115         Patch by Piotr Bury <pbury@goahead.com>.
62117 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
62119         [BZ #12052]
62120         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
62122         [BZ #12625]
62123         * misc/mntent_r.c (addmntent): Flush the stream after the output
62125         [BZ #12393]
62126         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
62127         (is_trusted_path_normalize): Skip initial colon.  Append slash
62128         to empty buffer.  Duplicate is_trusted_path code but allow
62129         constructed patch to be prefix.
62130         (is_dst): Allow $ORIGIN followed by /.
62131         (_dl_dst_substitute): Correct clearing of check_for_trusted.
62132         Correct testing of result of is_trusted_path_normalize
62133         (decompose_rpath): Fix warning.
62135 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
62137         [BZ #11257]
62138         * grp/initgroups.c (internal_getgrouplist): When we found the service
62139         list through the initgroups entry in nsswitch.conf do not always
62140         continue on a successful lookup.  Don't always use the
62141         __nss_group_database value if it is set.
62142         * nss/nsswitch.conf (initgroups): Change action for successful db
62143         lookup to continue for compatibility.
62145 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
62147         [BZ #11532]
62148         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
62149         and CP774 modules.
62150         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
62151         and CP774 modules.
62152         * iconvdata/tst-tables.sh: Likewise.
62153         * iconvdata/cp770.c: New file.
62154         * iconvdata/cp771.c: New file.
62155         * iconvdata/cp772.c: New file.
62156         * iconvdata/cp773.c: New file.
62157         * iconvdata/cp774.c: New file.
62158         * iconvdata/testdata/CP770: New file.
62159         * iconvdata/testdata/CP770..UTF8: New file.
62160         * iconvdata/testdata/CP771: New file.
62161         * iconvdata/testdata/CP771..UTF8: New file.
62162         * iconvdata/testdata/CP772: New file.
62163         * iconvdata/testdata/CP772..UTF8: New file.
62164         * iconvdata/testdata/CP773: New file.
62165         * iconvdata/testdata/CP773..UTF8: New file.
62166         * iconvdata/testdata/CP774: New file.
62167         * iconvdata/testdata/CP774..UTF8: New file.
62169         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
62170         END CHARMAP line.
62171         * iconvdata/gen-8bit-gap.sh: Likewise.
62172         * iconvdata/gen-8bit.sh: Likewise.
62174         * locale/iso-639.def: Add ary entry.
62176         [BZ #11258]
62177         * locale/C-translit.h.in: Add U20A1 transliteration.
62179         [BZ #12178]
62180         * locale/iso-639.def: Add wae entry.
62181         Patch by Kevin Bortis <bortis@translate-wae.ch>.
62183         [BZ #12545]
62184         * locale/programs/localedef.c (construct_output_path): Use ssize_t
62185         for n.
62187         [BZ #12711]
62188         * locale/C-translit.h.in: Add entry for U20B9.
62189         Patch by pravin.d.s@gmail.com.
62191 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
62193         [BZ #12713]
62194         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
62195         ENAMETOOLONG use generic getcwd.
62196         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
62197         in rtld.  Use *stat64.
62198         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
62199         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
62200         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
62201         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
62202         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
62203         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
62204         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
62205         __fstatat64 macros.
62206         * include/dirent.h: Add libc_hidden_proto for rewinddir.
62207         * dirent/rewinddir.c: Add libc_hidden_def.
62208         * sysdeps/mach/hurd/rewinddir.c: Likewise.
62209         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
62211         * include/dirent.h (__alloc_dir): Add flags parameter.
62212         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
62213         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
62214         __alloc_dir.
62215         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
62216         from fdopendir if O_CLOEXEC is already set.
62218 2011-03-15  Alan Modra  <amodra@gmail.com>
62220         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
62221         l_tls_firstbyte_offset non-zero.  Save padding offset in
62222         l_tls_firstbyte_offset for later use.
62223         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
62224         freeing static tls block.
62226 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
62228         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
62229         where #ifdef was intended.  The intent is to prevent ARG_MAX from
62230         being defined by the kernel headers.
62232 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
62234         [BZ #12734]
62235         * resolv/resolv.h: Define RES_NOTLDQUERY.
62236         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
62237         no-tld-query and set RES_NOTLDQUERY.
62238         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
62239         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
62240         modern BIND to search name as TLD unless forbidden.
62242 2011-05-07  Petr Baudis  <pasky@suse.cz>
62243             Ulrich Drepper  <drepper@gmail.com>
62245         [BZ #12393]
62246         * elf/dl-load.c (fillin_rpath): Move trusted path check...
62247         (is_trusted_path): ...to here.
62248         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
62249         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
62250         using is_trusted_path_normalize() in setuid scripts.
62252 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62254         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
62255         __BEGIN/__END_DECLS.
62257 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
62259         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
62260         NSS_STATUS_NOTFOUND if no record was found.
62262 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62264         * sunrpc/Makefile (headers): Add rpc/netdb.h.
62265         (headers-not-in-tirpc): Remove rpc/netdb.h
62266         * resolv/netdb.h: Revert last change.
62268 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62270         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
62271         circular dependency between libgcc.a and libc.a.
62273 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62275         * resolv/netdb.h: Don't include <rpc/netdb.h>.
62276         * nis/Makefile: Don't install rpcsvc/*.
62277         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
62278         instead of <rpc/types.h>.
62279         (MAXHOSTNAMELEN): Define.
62281 2011-05-03  Andreas Schwab  <schwab@redhat.com>
62283         * elf/ldconfig.c (add_dir): Don't crash on empty path.
62285 2011-04-28  Maciej Babinski  <mbabinski@google.com>
62287         [BZ #12714]
62288         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
62289         gethostbyname4_r when IPv6 results are possible.
62291 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
62293         [BZ #12723]
62294         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
62295         _PC_PIPE_BUF handling.
62297 2011-04-30  Bruno Haible  <bruno@clisp.org>
62299         [BZ #12717]
62300         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
62301         * resolv/netdb.h (getnameinfo): Change type of flags parameter
62302         to 'int'.
62303         * inet/getnameinfo.c (getnameinfo): Likewise.
62305 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
62307         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
62308         to groups setting in database lookup.
62309         * nss/nsswitch.conf: Add initgroups entry.
62311 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
62313         [BZ #12685]
62314         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
62315         mode string.
62316         Patch by Eric Blake <eblake@redhat.com>.
62318 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
62320         * sunrpc/Makefile (need-export-routines): Add svc_run.
62321         (routines): Remove svc_run.
62322         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
62323         * sunrpc/clnt_perr.c (clnt_perrno): Export.
62324         * sunrpc/svc_run.c (svc_run): Likewise.
62325         * sunrpc/svc_udp.c (svcudp_create): Likewise.
62327 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
62329         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
62330         problem in reallocation in last patch.
62332 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
62334         * sunrpc/Makefile: Move inclusion of Rules.
62336 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62338         * nss/nss_files/files-initgroups.c: New file.
62339         * nss/Makefile (libnss_files-routines): Add files-initgroups.
62340         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
62341         _nss_files_initgroups_dyn.
62343 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
62345         * elf/elf.h (R_ARM_IRELATIVE): Define.
62347 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62349         * po/ru.po: Update from translation team.
62351 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62353         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
62354         dependencies.
62356 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
62358         [BZ #12653]
62359         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
62360         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
62361         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62362         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62363         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62365 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
62367         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
62368         differing bytes.
62369         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62370         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62371         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62373 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62375         [BZ #12420]
62376         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
62377         storing it.
62378         * stdlib/bug-getcontext.c: New file.
62379         * stdlib/Makefile: Add rules to build and run bug-getcontext.
62381 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62383         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
62384         instructions into .machine "z9-109".
62385         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
62386         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
62388 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62390         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
62391         between environment variables and auxiliary vector.
62393 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
62395         * Makefile: Add rules to build linkobj/libc.so.
62396         * include/libc-symbols.h: Define libc_hidden_nolink.
62397         * include/rpc/auth.h: Mark functions which are to be hidden.
62398         * include/rpc/auth_des.h: Likewise.
62399         * include/rpc/auth_unix.h: Likewise.
62400         * include/rpc/clnt.h: Likewise.
62401         * include/rpc/des_crypt.h: Likewise.
62402         * include/rpc/key_prot.h: Likewise.
62403         * include/rpc/pmap_clnt.h: Likewise.
62404         * include/rpc/pmap_prot.h: Likewise.
62405         * include/rpc/pmap_rmt.h: Likewise.
62406         * include/rpc/rpc_msg.h: Likewise.
62407         * include/rpc/svc.h: Likewise.
62408         * include/rpc/svc_auth.h: Likewise.
62409         * include/rpc/xdr.h: Likewise.
62410         * nis/Makefile: Link all DSOs against linkobj/libc.so.
62411         * nss/Makefile: Likewise.
62412         * sunrpc/Makefile: Don't install headers.  Build library with normal
62413         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
62414         * sunrpc/auth_des.c: Hide exported symbols by default, export some
62415         for the compat linking library.  Remove use of INTDEF/INTUSE.
62416         * sunrpc/auth_none.c: Likewise.
62417         * sunrpc/auth_unix.c: Likewise.
62418         * sunrpc/authdes_prot.c: Likewise.
62419         * sunrpc/authuxprot.c: Likewise.
62420         * sunrpc/clnt_gen.c: Likewise.
62421         * sunrpc/clnt_perr.c: Likewise.
62422         * sunrpc/clnt_raw.c: Likewise.
62423         * sunrpc/clnt_simp.c: Likewise.
62424         * sunrpc/clnt_tcp.c: Likewise.
62425         * sunrpc/clnt_udp.c: Likewise.
62426         * sunrpc/clnt_unix.c: Likewise.
62427         * sunrpc/des_crypt.c: Likewise.
62428         * sunrpc/des_soft.c: Likewise.
62429         * sunrpc/get_myaddr.c: Likewise.
62430         * sunrpc/key_call.c: Likewise.
62431         * sunrpc/key_prot.c: Likewise.
62432         * sunrpc/netname.c: Likewise.
62433         * sunrpc/pm_getmaps.c: Likewise.
62434         * sunrpc/pm_getport.c: Likewise.
62435         * sunrpc/pmap_clnt.c: Likewise.
62436         * sunrpc/pmap_prot.c: Likewise.
62437         * sunrpc/pmap_prot2.c: Likewise.
62438         * sunrpc/pmap_rmt.c: Likewise.
62439         * sunrpc/publickey.c: Likewise.
62440         * sunrpc/rpc_cmsg.c: Likewise.
62441         * sunrpc/rpc_common.c: Likewise.
62442         * sunrpc/rpc_dtable.c: Likewise.
62443         * sunrpc/rpc_prot.c: Likewise.
62444         * sunrpc/rpc_thread.c: Likewise.
62445         * sunrpc/rtime.c: Likewise.
62446         * sunrpc/svc.c: Likewise.
62447         * sunrpc/svc_auth.c: Likewise.
62448         * sunrpc/svc_authux.c: Likewise.
62449         * sunrpc/svc_raw.c: Likewise.
62450         * sunrpc/svc_run.c: Likewise.
62451         * sunrpc/svc_simple.c: Likewise.
62452         * sunrpc/svc_tcp.c: Likewise.
62453         * sunrpc/svc_udp.c: Likewise.
62454         * sunrpc/svc_unix.c: Likewise.
62455         * sunrpc/svcauth_des.c: Likewise.
62456         * sunrpc/xcrypt.c: Likewise.
62457         * sunrpc/xdr.c: Likewise.
62458         * sunrpc/xdr_array.c: Likewise.
62459         * sunrpc/xdr_float.c: Likewise.
62460         * sunrpc/xdr_intXX_t.c: Likewise.
62461         * sunrpc/xdr_mem.c: Likewise.
62462         * sunrpc/xdr_rec.c: Likewise.
62463         * sunrpc/xdr_ref.c: Likewise.
62464         * sunrpc/xdr_sizeof.c: Likewise.
62465         * sunrpc/xdr_stdio.c: Likewise.
62467 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
62469         [BZ #12650]
62470         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
62471         * sysdeps/ia64/dl-tls.h: Likewise.
62472         * sysdeps/powerpc/dl-tls.h: Likewise.
62473         * sysdeps/s390/dl-tls.h: Likewise.
62474         * sysdeps/sh/dl-tls.h: Likewise.
62475         * sysdeps/sparc/dl-tls.h: Likewise.
62476         * sysdeps/x86_64/dl-tls.h: Likewise.
62477         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
62479 2011-03-14  Andreas Schwab  <schwab@redhat.com>
62481         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
62482         rpath element also skip the following colon.
62483         (expand_dynamic_string_token): Add is_path parameter and pass
62484         down to DL_DST_REQUIRED and _dl_dst_substitute.
62485         (decompose_rpath): Call expand_dynamic_string_token with
62486         non-zero is_path.  Ignore empty rpaths.
62487         (_dl_map_object_from_fd): Call expand_dynamic_string_token
62488         with zero is_path.
62490 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
62492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62493         Make cancelable.
62495 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
62497         [BZ #12655]
62498         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
62499         Patch by Filipe David Manana <fdmanana@apache.org>.
62501 2011-04-07  Andreas Schwab  <schwab@redhat.com>
62503         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
62504         Maintain aligned stack.
62505         (CHECK_RSP): Remove unused macro.
62507 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
62509         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
62510         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
62512 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
62514         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
62516         * include/features.h: Mention __USE_XOPEN2K8 in comment.
62518 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
62520         [BZ #12518]
62521         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
62522         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
62523         * sysdeps/x86_64/memmove.c: New file.
62524         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
62525         (memcpy): Renamed to ...
62526         (__new_memcpy): This.
62527         (memcpy): Provide GLIBC_2_14 memcpy.
62528         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
62529         (memcpy): Provide GLIBC_2_2_5 memcpy.
62531 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62533         [BZ #12631]
62534         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
62536 2011-03-30  Andreas Schwab  <schwab@redhat.com>
62538         * misc/syncfs.c: New file.
62539         * misc/Makefile (routines): Add syncfs.
62540         * posix/unistd.h: Declare syncfs.
62541         * sysdeps/unix/syscalls.list: Add syncfs.
62543 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62545         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
62546         open_by_handle_at.
62547         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62548         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62549         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62550         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62551         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62552         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
62553         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62555 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62557         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
62558         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62559         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
62560         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62561         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62562         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62563         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62565         * io/Makefile: Compile fallocate.c, fallocate64.c, and
62566         sync_file_range.c with -fexceptions.
62567         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
62568         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
62569         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
62570         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
62571         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
62572         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62573         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
62574         sync_file_range as cancellation point
62575         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
62576         now a wrapper around __call_sync_file_range with cancellation handling.
62577         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
62578         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
62579         function name to __call_sync_file_range.
62580         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
62581         Add call_sync_file_range.
62583 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62585         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62586         bits/timex.h.
62588 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62590         * iconv/iconv.h: Fix typo in comment.
62591         * io/fcntl.h: Likewise.
62592         * libio/stdio.h: Likewise.
62593         * posix/spawn.h: Likewise.
62594         * posix/unistd.h: Likewise.
62595         * stdlib/stdlib.h: Likewise.
62596         * time/time.h: Likewise.
62597         * wcsmbs/wchar.h: Likewise.
62599         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
62600         open_by_handle): Add.
62601         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
62602         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
62603         Augment a few comments.
62604         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62605         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62606         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62607         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62608         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62609         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
62610         open_by_handle.
62612         * io/fcntl.h (AT_EMPTY_PATH): Define.
62614 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
62616         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
62617         * sysdeps/unix/sysv/linux/bits/time.h: New file.
62618         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
62619         to...
62620         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
62621         * Versions.def: Add GLIBC_2.14.
62622         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
62623         Export.
62625 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
62627         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
62628         round counter.
62629         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62631 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62633         [BZ #12597]
62634         * string/test-strncmp.c (do_page_test): New function.
62635         (check2): Likewise.
62636         (test_main): Call check2.
62637         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
62639 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
62641         [BZ #12587]
62642         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
62643         Handle cache information in CPU leaf 4.
62644         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62646 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
62648         [BZ #12583]
62649         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
62650         character representation.
62651         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
62653 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
62655         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
62656         END(__isnan) to END(__isnanf) to match function entry point/label
62657         EALIGN(__isnanf,...).
62659 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
62661         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
62663 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
62665         [BZ #12510]
62666         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
62667         copy from the symbol referenced in the relocation to initialize the
62668         used variable.
62669         Patch by Piotr Bury <pbury@goahead.com>.
62670         * elf/Makefile: Add rules to build and tst-unique3.
62671         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62672         * elf/tst-unique3.cc: New file.
62673         * elf/tst-unique3.h: New file.
62674         * elf/tst-unique3lib.cc: New file.
62675         * elf/tst-unique3lib2.cc: New file.
62677         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62679 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
62681         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62682         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
62683         to _start.
62685 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
62687         * elf/dl-load.c (_dl_map_object): If we are looking for the first
62688         to-be-loaded object along a path to loader is ld.so.
62690 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62691             Ulrich Drepper  <drepper@gmail.com>
62693         * sysdeps/x86_64/memset.S: After aligning destination, code
62694         branches to different locations depending on the value of
62695         misalignment, when multiarch is enabled. Fix this.
62697 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62699         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62700         Set _x86_64_preferred_memory_instruction for AMD processsors.
62701         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62702         Set bit_Prefer_SSE_for_memop for AMD processors.
62704 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
62706         * libio/fmemopen.c (fmemopen): Optimize a bit.
62708 2011-03-03  Andreas Schwab  <schwab@redhat.com>
62710         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62712 2011-03-03  Roland McGrath  <roland@redhat.com>
62714         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62716 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
62718         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62719         __bzero_ultra1 instead of __memset_ultra1.
62721 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62722             Ulrich Drepper  <drepper@gmail.com>
62724         [BZ #12509]
62725         * include/link.h (struct link_map): Add l_orig_initfini.
62726         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62727         returning unsuccessfully.
62728         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62729         close of a file loaded at startup, restore the original l_initfini
62730         list.
62731         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62732         list, store the pointer.
62733         * elf/Makefile ($(objpfx)noload-mem): New rule.
62734         (noload-ENV): Define.
62735         (tests): Add $(objpfx)noload-mem.
62736         * elf/noload.c: Include <memcheck.h>.
62737         (main): Call mtrace.  Close all opened handles.
62739 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62741         [BZ #12454]
62742         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62743         dependencies are missing.
62745 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62747         Fix __if_freereq crash: Unlike the generic version which uses free,
62748         Hurd needs munmap.
62749         * sysdeps/mach/hurd/ifreq.h: New file.
62751 2011-01-27  Petr Baudis  <pasky@suse.cz>
62752             Ulrich Drepper  <drepper@gmail.com>
62754         [BZ 12445]#
62755         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62756         to extend_alloca().
62757         * stdio-common/bug23.c: New file.
62758         * stdio-common/Makefile (tests): Add bug23.
62760 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62761             Ulrich Drepper  <drepper@gmail.com>
62763         [BZ #12489]
62764         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62765         before performing relro protection.  At old place add assertion
62766         to make sure nothing changed.
62768 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62769             Glauber de Oliveira Costa  <glommer@gmail.com>
62771         * elf/elf.h: Add new ARM TLS relocs.
62773 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62776         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62777         cast from r3.
62778         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62779         'tests' variable.
62780         * sysdeps/wordsize-64/tst-writev.c: New file.
62782 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62784         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62785         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62786         insns in _dl_start to prevent a TOC reference before relocs are
62787         resolved.
62789 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62791         [BZ #12469]
62792         * Makeconfig: Remove RANLIB definition.
62793         * Makerules: Don't use RANLIB.
62794         * aclocal.m4: Remove ranlib test.
62795         * configure.in: No need to check for ranlib.
62796         * elf/rtld-Rules: Don't use RANLIB.
62798 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62800         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62801         protection macro.
62802         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62803         inclusion protection macro.
62805         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62806         SIGRTMIN and SIGRTMAX and print information in that case only when
62807         SIGRTMIN is defined.
62809 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62811         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62812         arginfo fn returning -1.
62814         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62815         and thousands string is zero terminated.
62817 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62819         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62820         sysdeps/unix/sysv/linux/bits/socket.h.
62822 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62824         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62825         (__CPU_COUNT): Remove old macros.
62826         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62827         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62828         (__CPU_ALLOC, __CPU_FREE): Add macros.
62829         (__sched_cpualloc, __sched_cpufree): Add declarations.
62831 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62833         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62834         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62835         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62836         (readdhstai): Return value of addhstaiX call.
62837         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62838         (addgrbyX): Return value returned by cache_addgr.
62839         (readdgrbyname): Return value returned by addgrbyX.
62840         (readdgrbygid): Likewise.
62841         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62842         (addpwbyX): Return value returned by cache_addpw.
62843         (readdpwbyname): Return value returned by addhstbyX.
62844         (readdpwbyuid): Likewise.
62845         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62846         (addservbyX): Return value returned by cache_addserv.
62847         (readdservbyname): Return value returned by addservbyX:
62848         (readdservbyport): Likewise.
62849         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62850         (addhstbyX): Return value returned by cache_addhst.
62851         (readdhstbyname): Return value returned by addhstbyX.
62852         (readdhstbyaddr): Likewise.
62853         (readdhstbynamev6): Likewise.
62854         (readdhstbyaddrv6): Likewise.
62855         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62856         (readdinitgroups): Return value returned by addinitgroupsX.
62857         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62858         (prune_cache): Keep track of timeout value of re-added entries.
62859         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62860         * nscd/nscd.h: Adjust prototypes of readd* functions.
62862 2011-02-04  Roland McGrath  <roland@redhat.com>
62864         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62865         (nis_stats): Likewise.
62866         * nis/nis_modify.c (nis_modify): Likewise.
62867         * nis/nis_remove.c (nis_remove): Likewise.
62868         * nis/nis_add.c (nis_add): Likewise.
62870         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62872         * posix/fnmatch_loop.c: Add some consts.
62874         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62876 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62878         [BZ #12460]
62879         * config.make.in (config-cflags-novzeroupper): Define.
62880         * configure.in: Substitute libc_cv_cc_novzeroupper.
62881         * elf/Makefile (AVX-CFLAGS): Define.
62882         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62883         (CFLAGS-tst-auditmod4a.c): Likewise.
62884         (CFLAGS-tst-auditmod4b.c): Likewise.
62885         (CFLAGS-tst-auditmod6b.c): Likewise.
62886         (CFLAGS-tst-auditmod6c.c): Likewise.
62887         (CFLAGS-tst-auditmod7b.c): Likewise.
62888         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62890 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62892         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62893         function to the callback.
62894         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62896 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62898         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62899         of errno.
62901 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62903         [BZ #11724]
62904         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62905         of constructors.
62906         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62907         of destructors.
62908         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62910         [BZ #11724]
62911         * elf/Makefile: Add rules to build and run new test.
62912         * elf/tst-initorder.c: New file.
62913         * elf/tst-initorder.exp: New file.
62914         * elf/tst-initordera1.c: New file.
62915         * elf/tst-initordera2.c: New file.
62916         * elf/tst-initordera3.c: New file.
62917         * elf/tst-initordera4.c: New file.
62918         * elf/tst-initorderb1.c: New file.
62919         * elf/tst-initorderb2.c: New file.
62920         * elf/tst-order-a1.c: New file.
62921         * elf/tst-order-a2.c: New file.
62922         * elf/tst-order-a3.c: New file.
62923         * elf/tst-order-a4.c: New file.
62924         * elf/tst-order-b1.c: New file.
62925         * elf/tst-order-b2.c: New file.
62926         * elf/tst-order-main.c: New file.
62927         New test case by George Gensure <werkt0@gmail.com>.
62929 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62931         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62932         decoding ACE if AI_CANONIDN.
62934 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62936         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62938 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62940         * version.h (RELEASE): Bump for 2.13 release.
62941         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62943         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62945         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62946         MADV_NOHUGEPAGE.
62947         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62948         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62949         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62950         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62951         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62952         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62954         * posix/getconf.c: Update copyright year.
62955         * catgets/gencat.c: Likewise.
62956         * csu/version.c: Likewise.
62957         * debug/catchsegv.sh: Likewise.
62958         * debug/xtrace.sh: Likewise.
62959         * elf/ldconfig.c: Likewise.
62960         * elf/ldd.bash.in: Likewise.
62961         * elf/sprof.c (print_version): Likewise.
62962         * iconv/iconv_prog.c: Likewise.
62963         * iconv/iconvconfig.c: Likewise.
62964         * locale/programs/locale.c: Likewise.
62965         * locale/programs/localedef.c: Likewise.
62966         * malloc/memusage.sh: Likewise.
62967         * malloc/mtrace.pl: Likewise.
62968         * nscd/nscd.c (print_version): Likewise.
62969         * nss/getent.c: Likewise.
62971         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62972         PF_CAIF, and PF_ALG.
62973         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62975 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62977         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62978         (modules-names): Use them.
62979         (ifunc-test-modules, ifunc-pie-tests): Define.
62980         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62981         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62982         (test-extras): Likewise.
62983         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62984         $(compile-command.c).
62985         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62986         (all-built-dso): Define.
62987         (check-textrel.out, check-execstack.out): Depend on it.
62989         * configure.in: Don't override --enable-multi-arch.
62991 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62993         [BZ #6812]
62994         * nscd/hstcache.c (tryagain): Define.
62995         (cache_addhst): Return tryagain not notfound for temporary errors.
62996         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62997         failed.
62999 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
63001         [BZ #10563]
63002         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
63003         to make the syscall.
63004         * sysdeps/unix/sysv/linux/setgroups.c: New file.
63006         [BZ #12378]
63007         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
63008         and fall back to matching as normal character if the string ends before
63009         the matching ']' is found.  This is what POSIX requires.
63010         * posix/testfnm.c: Adjust test result.
63011         * posix/globtest.sh: Adjust test result.  Add new test.
63012         * posix/tst-fnmatch.input: Likewise.
63013         * posix/tst-fnmatch2.c: Add new test.
63015 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
63017         * elf/Makefile (check-execstack): Revert last change.  Depend on
63018         check-execstack.h.
63019         (check-execstack.h): New target.
63020         (generated): Add check-execstack.h.
63021         * elf/check-execstack.c: Include "check-execstack.h".
63022         (main): Revert last change.
63023         (handle_file): Return zero if GNU_STACK is absent and
63024         DEFAULT_STACK_PERMS doesn't include PF_X.
63026 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
63028         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
63029         in child fails because the descriptor is already closed.
63030         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
63031         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
63032         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
63034         [BZ #12397]
63035         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
63036         syscall.
63038         [BZ #10484]
63039         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
63040         temporary buffer used to handle multi lookups locally.
63041         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
63043 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
63045         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
63046         loader is ld.so.
63048 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
63050         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
63051         alignment for SSE2.
63053 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
63055         [BZ #12394]
63056         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
63057         characters.  When rounding increased number of integer digits recompute
63058         number of groups.
63059         * stdio-common/tst-grouping.c: New file.
63060         * stdio-common/Makefile: Add rules to build and run tst-grouping.
63062 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
63064         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
63065         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
63067         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
63068         void.
63069         * bits/select.h: Likewise.
63071 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
63073         * po/ja.po: Update from translation team.
63075 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
63077         [BZ #11155]
63078         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
63079         implementation just like for lxstat, fxstatat, et al.
63081 2010-12-27  Jim Meyering  <meyering@redhat.com>
63083         [BZ #12348]
63084         * posix/regexec.c (build_trtable): Return failure indication upon
63085         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
63087 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
63089         [BZ #12201]
63090         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
63091         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
63092         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
63093         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
63095         [BZ #12207]
63096         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
63098         [BZ #12204]
63099         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
63100         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
63102 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
63104         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
63105         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
63106         script has SORT_BY_INIT_PRIORITY.
63107         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
63108         NO_CTORS_DTORS_SECTIONS is defined.
63109         * elf/soinit.c: Likewise.
63110         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
63111         NO_CTORS_DTORS_SECTIONS is defined.
63112         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
63113         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
63114         * sysdeps/sh/init-first.c: Likewise.
63115         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
63117 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
63119         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
63120         always use the slow path.
63122 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
63124         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
63125         similar rule which adds the sysdep directories to the header search in
63126         order to pick up the correct platform stackinfo.h.
63127         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
63128         perform test if it is, otherwise return successfully without testing.
63129         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
63130         DEFAULT_STACK_PERMS define in stackinfo.h.
63131         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
63132         defined in stackinfo.h.
63133         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
63134         DEFAULT_STACK_PERMS defined in stackinfo.h.
63135         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
63136         * sysdeps/ia64/stackinfo.h: Likewise.
63137         * sysdeps/s390/stackinfo.h: Likewise.
63138         * sysdeps/sh/stackinfo.h: Likewise.
63139         * sysdeps/sparc/stackinfo.h: Likewise.
63140         * sysdeps/x86_64/stackinfo.h: Likewise.
63141         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
63142         PF_X for powerpc64.  Retain PF_X for powerpc32.
63144 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
63146         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
63147         accurately.
63148         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
63149         GETDENTS_64BIT_ALIGNED.
63151 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
63153         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
63155 2010-12-10  Andreas Schwab  <schwab@redhat.com>
63157         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
63158         _GNU_SOURCE.
63160         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
63161         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
63162         Remove __restrict.
63163         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
63164         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
63166 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
63168         [BZ #11655]
63169         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
63170         are initialized.
63172 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
63174         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
63176 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
63178         * po/it.po: Update from translation team.
63180 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
63182         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
63183         unused codes.
63185 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
63187         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
63189 2010-11-24  Andreas Schwab  <schwab@redhat.com>
63191         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
63192         specially.
63193         (gaih_getanswer_slice): Likewise.
63195 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
63197         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
63199 2010-05-31  Petr Baudis  <pasky@suse.cz>
63201         [BZ #11149]
63202         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
63203         silently even in the chroot mode.
63205 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
63207         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
63208         last patch a bit.  Pretty printing
63210 2010-05-31  Petr Baudis <pasky@suse.cz>
63212         [BZ #10085]
63213         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
63214         initialization of skip_initgroups_dyn.
63216 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
63218         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
63219         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63221 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
63223         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
63225 2010-11-11  Andreas Schwab  <schwab@redhat.com>
63227         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
63228         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
63229         (tst-fnmatch-ENV): Set MALLOC_TRACE.
63230         ($(objpfx)tst-fnmatch-mem): New rule.
63231         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
63232         * posix/tst-fnmatch.c (main): Call mtrace.
63234 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
63236         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63237         Support Intel processor model 6 and model 0x2c.
63239 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
63241         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
63242           signed comparison.
63244 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
63246         [BZ #12205]
63247         * string/test-strncasecmp.c (check_result): New function.
63248         (do_one_test): Use it.
63249         (check1): New function.
63250         (test_main): Use it.
63251         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
63252         Support strcasecmp and strncasecmp.
63254 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
63256         [BZ #12194]
63257         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
63258         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63260 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
63262         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
63263         IFUNC support.
63264         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63265         memset-x86-64.
63266         * sysdeps/x86_64/multiarch/bzero.S: New file.
63267         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
63268         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
63269         * sysdeps/x86_64/multiarch/memset.S: New file.
63270         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
63271         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63272         Set bit_Prefer_SSE_for_memop for Intel processors.
63273         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
63274         Define.
63275         (index_Prefer_SSE_for_memop): Define.
63276         (HAS_PREFER_SSE_FOR_MEMOP): Define.
63278 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
63280         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
63281         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
63283 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
63285         [BZ #12191]
63286         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63287         (__x86_64_raw_data_cache_size_half): Likewise.
63288         (__x86_64_raw_shared_cache_size): Likewise.
63289         (__x86_64_raw_shared_cache_size_half): Likewise.
63291         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63292         (__x86_64_raw_data_cache_size_half): Likewise.
63293         (__x86_64_raw_shared_cache_size): Likewise.
63294         (__x86_64_raw_shared_cache_size_half): Likewise.
63295         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
63296         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
63297         and __x86_64_raw_shared_cache_size_half.  Round
63298         __x86_64_data_cache_size_half, __x86_64_data_cache_size
63299         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
63300         to multiple of 256 bytes.
63302 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
63304         [BZ #12167]
63305         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
63306         of inacessible symlinks.  Verify result of symlink before returning it.
63307         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
63308         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
63310 2010-10-28  Erich Ritz  <erichritz@gmail.com>
63312         * math/math.h (isinf): Fix typo in comment.
63314 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
63316         * po/da.po: Update from translation team.
63318 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
63320         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
63321         is added to the list.
63323 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63324             Ulrich Drepper  <drepper@gmail.com>
63326         * elf/dl-object.c (_dl_new_object): Don't append the new object to
63327         the global list here.  Move code to...
63328         (_dl_add_to_namespace_list): ...here.  New function.
63329         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
63330         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
63331         * elf/dl-load.c (lose): Don't remove the element from the list.
63332         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
63333         (_dl_map_object): Likewise.
63335 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
63337         [BZ #12159]
63338         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
63339         into all bytes of SSE register.
63340         Patch by Richard Li <richardpku@gmail.com>.
63342 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
63344         [BZ #12140]
63345         * malloc/malloc.c (_int_free): Fill correct number of bytes when
63346         perturbing.
63348 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
63350         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
63351         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
63352         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
63353         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
63355         submachine.
63356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
63358 2010-10-22  Andreas Schwab  <schwab@redhat.com>
63360         * include/dlfcn.h (__RTLD_SECURE): Define.
63361         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
63362         mode & __RTLD_SECURE instead.
63363         (open_path): Rename preloaded parameter to secure.
63364         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
63365         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
63366         * elf/dl-deps.c (openaux): Likewise.
63367         * elf/rtld.c (struct map_args): Remove is_preloaded.
63368         (map_doit): Don't use it.
63369         (dl_main): Likewise.
63370         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
63371         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
63373 2010-09-09  Andreas Schwab  <schwab@redhat.com>
63375         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
63376         (sysd-rules-targets): Remove duplicates.
63377         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
63378         rtld-%.$o dependency.
63380 2010-10-18  Andreas Schwab  <schwab@redhat.com>
63382         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
63383         _dl_map_object do it.
63385 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
63387         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
63388         fast fma builtins, define the macros in the C99 standard.
63389         (FP_FAST_FMAF): Likewise.
63390         (FP_FAST_FMAL): Likewise.
63391         * sysdeps/x86_64/bits/mathdef.h: Likewise.
63393         * bits/mathdef.h: Update copyright year.
63394         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63396 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
63398         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
63399         builtins, define the macros in the C99 standard.
63400         (FP_FAST_FMAF): Likewise.
63401         (FP_FAST_FMAL): Likewise.
63402         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
63403         multiply/add.
63404         (FP_FAST_FMAF): Likewise.
63406 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
63408         [BZ #3268]
63409         * math/libm-test.inc (fma_test): Some new testcases.
63410         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
63411         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
63412         y and infinite z.  Do multiplication by C already in long double.
63413         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
63414         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
63415         y and infinite z.  Do bitwise or of inexact bit into u.d.
63416         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
63417         * sysdeps/i386/fpu/s_fmaf.S: Removed.
63418         * sysdeps/i386/fpu/s_fma.S: Removed.
63419         * sysdeps/i386/fpu/s_fmal.S: Removed.
63421 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
63423         [BZ #3268]
63424         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
63425         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
63426         computation is not scheduled after fetestexcept.  Fix value
63427         of minimum denormal long double.
63429 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
63431         [BZ #3268]
63432         * math/libm-test.inc (fma_test): Add some more tests.
63433         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
63434         correctly.
63436 2010-10-15  Andreas Schwab  <schwab@redhat.com>
63438         * scripts/data/localplt-s390-linux-gnu.data: New file.
63439         * scripts/data/localplt-s390x-linux-gnu.data: New file.
63441 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
63443         [BZ #3268]
63444         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
63445         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
63446         instead of dbl-64.
63447         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
63448         inlines.
63449         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
63450         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
63451         if one of x and y is very large and the other is subnormal.
63452         * sysdeps/s390/fpu/s_fmaf.c: New file.
63453         * sysdeps/s390/fpu/s_fma.c: New file.
63454         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
63455         * sysdeps/powerpc/fpu/s_fma.S: New file.
63456         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
63457         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
63458         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
63460 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
63462         [BZ #3268]
63463         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
63464         fma tests.
63465         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
63466         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
63467         * sysdeps/i386/i686/multiarch/s_fma.c: Include
63468         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
63469         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
63470         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
63471         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
63473 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
63475         [BZ #12078]
63476         * posix/regcomp.c (parse_branch): One more memory leak plugged.
63477         * posix/bug-regex31.input: Add test case.
63479 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63481         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
63482         * posix/bug-regex31.input: New file.
63484         [BZ #12078]
63485         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
63486         (parse_sub_exp): Fix last change, use postorder.
63488         * posix/bug-regex31.c: New file.
63489         * posix/Makefile: Add rules to build and run bug-regex31.
63491         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
63493         [BZ #12078]
63494         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
63496         [BZ #12108]
63497         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
63498         to have entries in sys_siglist.
63500         [BZ #12093]
63501         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
63502         be NULL.
63504 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
63506         [BZ #3268]
63507         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
63508         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
63509         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
63510         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
63511         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63512         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
63513         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
63514         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
63515         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
63516         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
63517         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
63518         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
63519         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
63520         * math/ftestexcept.c (fetestexcept): Likewise.
63521         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
63522         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
63523         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
63524         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
63525         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
63526         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
63527         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63529 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63531         [BZ #12107]
63532         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
63533         newline.
63535 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
63537         * string/bug-strstr1.c: New file.
63538         * string/Makefile: Add rules to build and run bug-strstr1.
63540 2010-10-05  Eric Blake  <eblake@redhat.com>
63542         [BZ #12092]
63543         * string/str-two-way.h (two_way_long_needle): Always clear memory
63544         when skipping input due to the shift table.
63546 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
63548         [BZ #12005]
63549         * malloc/mcheck.c: Handle large requests.
63551         [BZ #12077]
63552         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
63553         for strncmp and strncasecmp.
63554         * string/stratcliff.c: Add tests for strcmp and strncmp.
63555         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
63557 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63559         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
63560         __set_fpscr.
63562 2010-09-30  Andreas Jaeger  <aj@suse.de>
63564         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
63565         (CGROUP_SUPER_MAGIC): Define.
63566         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63567         Handle btrfs and cgroup file systems.
63568         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63569         Likewise.
63571 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
63573         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
63574         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
63576 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63578         [BZ #12067]
63579         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
63580         trying to locate the ELF header.
63582 2010-09-27  Andreas Schwab  <schwab@redhat.com>
63584         [BZ #11611]
63585         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
63586         Mask out sign-bit copies when constructing f_fsid.
63588 2010-09-24  Petr Baudis <pasky@suse.cz>
63590         * debug/stack_chk_fail_local.c: Add missing licence exception.
63591         * debug/warning-nop.c: Likewise.
63593 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
63595         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
63596         implementing getdents64 using getdents syscall, set d_type if
63597         __ASSUME_GETDENTS32_D_TYPE.
63599 2010-09-16  Andreas Schwab  <schwab@redhat.com>
63601         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
63602         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
63604 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
63606         [BZ #12037]
63607         * posix/unistd.h: Undo change of feature selection for ftruncate from
63608         2010-01-11.
63610 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
63612         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
63613         detection.
63615 2010-09-20  Andreas Schwab  <schwab@redhat.com>
63617         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
63618         fanotify_mark.
63619         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63621 2010-09-14  Andreas Schwab  <schwab@redhat.com>
63623         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
63624         variables after CHECK_SP call.
63625         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
63627 2010-09-13  Andreas Schwab  <schwab@redhat.com>
63628             Ulrich Drepper  <drepper@redhat.com>
63630         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
63631         re-relocationg ld.so.
63632         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
63633         _dl_init_paths call.
63634         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
63635         here anymore.
63637 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
63639         * resolv/res_init.c (__res_vinit): Count the default server we added.
63641 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
63642             Ulrich Drepper  <drepper@redhat.com>
63644         [BZ #11968]
63645         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
63646         (____longjmp_chk): Use %ebx for saving value across system call.
63647         Add unwind info.
63649 2010-09-06  Andreas Schwab  <schwab@redhat.com>
63651         * manual/Makefile: Don't mix pattern rules with normal rules.
63653 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63655         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
63656         operation.
63657         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
63658         * libio/iofopncook.c (_IO_cookie_init): Likewise.
63659         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
63660         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
63661         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63662         Likewise.
63664 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
63666         [BZ #11979]
63667         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
63668         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
63670 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
63672         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63673         * sysdeps/x86_64/addmul_1.S: Likewise.
63674         * sysdeps/x86_64/lshift.S: Likewise.
63675         * sysdeps/x86_64/mul_1.S: Likewise.
63676         * sysdeps/x86_64/rshift.S: Likewise.
63677         * sysdeps/x86_64/sub_n.S: Likewise.
63678         * sysdeps/x86_64/submul_1.S: Likewise.
63680 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63682         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63683         Define __sched_param instead of SCHED_* and sched_param when
63684         <bits/sched.h> is included with __need_schedparam defined.
63685         * bits/sched.h [__need_schedparam]
63686         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63687         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63688         (__defined_schedparam): Define to 1.
63689         (__sched_param): New structure, identical to sched_param.
63690         (__need_schedparam): Undefine.
63692 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
63694         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63695         (epoll_create1): Declare.
63697         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63699 2010-08-31  Andreas Schwab  <schwab@redhat.com>
63701         [BZ #7066]
63702         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63703         shifting retval into place.
63705 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
63707         * nis/rpcsvc/nis.h: Update copyright notice.
63708         * nis/rpcsvc/nis.x: Likewise.
63709         * nis/rpcsvc/nis_callback.h: Likewise.
63710         * nis/rpcsvc/nis_callback.x: Likewise.
63711         * nis/rpcsvc/nis_object.x: Likewise.
63712         * nis/rpcsvc/nis_tags.h: Likewise.
63713         * nis/rpcsvc/yp.h: Likewise.
63714         * nis/rpcsvc/yp.x: Likewise.
63715         * nis/rpcsvc/ypupd.h: Likewise.
63716         * nis/yp_xdr.c: Likewise.
63717         * nis/ypupdate_xdr.c: Likewise.
63719         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63720         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63721         (pmap_getport): Use __libc_rpc_getport.
63722         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63723         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63724         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63726 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63729         fanotify_mark.
63731 2010-08-27  Roland McGrath  <roland@redhat.com>
63733         * sysdeps/i386/i686/multiarch/Makefile
63734         (CFLAGS-varshift.c): New variable.
63736 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63738         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63739         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63741         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63743         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63745 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63747         * sysdeps/x86_64/strlen.S: Unroll the loop.
63748         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63749         strlen-sse2 strlen-sse2-bsf.
63750         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63751         __strlen_no_bsf if bit_Slow_BSF is set.
63752         (__strlen_sse42): Removed.
63753         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63754         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63756 2010-08-25  Roland McGrath  <roland@redhat.com>
63758         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63759         * sysdeps/x86_64/multiarch/varshift.c: New file.
63760         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63761         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63762         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63763         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63765 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63767         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63768         strlen-sse2 strlen-sse2-bsf.
63769         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63770         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63771         (__strlen_sse2): Removed.
63772         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63773         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63774         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63775         bit_Slow_BSF for Atom.
63776         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63777         (index_Slow_BSF): Define.
63778         (HAS_SLOW_BSF): Define.
63780 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63782         [BZ #10851]
63783         * resolv/res_init.c (__res_vinit): When no server address at all
63784         is given default to loopback.
63786 2010-08-24  Roland McGrath  <roland@redhat.com>
63788         * configure.in: Remove config-name.h generation.
63789         * configure: Regenerated.
63790         * config-name.in: File removed.
63791         * scripts/config-uname.sh: New file.
63792         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63793         ($(objdir)config-name.h): New target.
63795         * sunrpc/rpc_parse.h: Avoid nested comment.
63797 2010-08-24  Richard Henderson  <rth@redhat.com>
63798             Ulrich Drepper  <drepper@redhat.com>
63799             H.J. Lu  <hongjiu.lu@intel.com>
63801         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63802         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63803         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63804         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63805         _mm_alignr_epi8 with _mm_loadu_si128.
63806         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63807         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63808         (__m128i_shift_right): Removed.
63809         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63810         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63811         * sysdeps/x86_64/multiarch/varshift.h: New file.
63812         * sysdeps/x86_64/multiarch/varshift.S: New file.
63814 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63816         * configure.in: Move assembler checks to before sysdep dir checking.
63818 2010-08-20  Petr Baudis  <pasky@suse.cz>
63820         * LICENSES: Sync the sunrpc license.
63822 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63824         * sunrpc/auth_des.c: Update copyright notice once again.
63825         * sunrpc/auth_none.c: Likewise.
63826         * sunrpc/auth_unix.c: Likewise.
63827         * sunrpc/authdes_prot.c: Likewise.
63828         * sunrpc/authuxprot.c: Likewise.
63829         * sunrpc/bindrsvprt.c: Likewise.
63830         * sunrpc/clnt_gen.c: Likewise.
63831         * sunrpc/clnt_perr.c: Likewise.
63832         * sunrpc/clnt_raw.c: Likewise.
63833         * sunrpc/clnt_simp.c: Likewise.
63834         * sunrpc/clnt_tcp.c: Likewise.
63835         * sunrpc/clnt_udp.c: Likewise.
63836         * sunrpc/clnt_unix.c: Likewise.
63837         * sunrpc/des_crypt.c: Likewise.
63838         * sunrpc/des_soft.c: Likewise.
63839         * sunrpc/get_myaddr.c: Likewise.
63840         * sunrpc/getrpcport.c: Likewise.
63841         * sunrpc/key_call.c: Likewise.
63842         * sunrpc/key_prot.c: Likewise.
63843         * sunrpc/openchild.c: Likewise.
63844         * sunrpc/pm_getmaps.c: Likewise.
63845         * sunrpc/pm_getport.c: Likewise.
63846         * sunrpc/pmap_clnt.c: Likewise.
63847         * sunrpc/pmap_prot.c: Likewise.
63848         * sunrpc/pmap_prot2.c: Likewise.
63849         * sunrpc/pmap_rmt.c: Likewise.
63850         * sunrpc/rpc/auth.h: Likewise.
63851         * sunrpc/rpc/auth_unix.h: Likewise.
63852         * sunrpc/rpc/clnt.h: Likewise.
63853         * sunrpc/rpc/des_crypt.h: Likewise.
63854         * sunrpc/rpc/key_prot.h: Likewise.
63855         * sunrpc/rpc/netdb.h: Likewise.
63856         * sunrpc/rpc/pmap_clnt.h: Likewise.
63857         * sunrpc/rpc/pmap_prot.h: Likewise.
63858         * sunrpc/rpc/pmap_rmt.h: Likewise.
63859         * sunrpc/rpc/rpc.h: Likewise.
63860         * sunrpc/rpc/rpc_des.h: Likewise.
63861         * sunrpc/rpc/rpc_msg.h: Likewise.
63862         * sunrpc/rpc/svc.h: Likewise.
63863         * sunrpc/rpc/svc_auth.h: Likewise.
63864         * sunrpc/rpc/types.h: Likewise.
63865         * sunrpc/rpc/xdr.h: Likewise.
63866         * sunrpc/rpc_clntout.c: Likewise.
63867         * sunrpc/rpc_cmsg.c: Likewise.
63868         * sunrpc/rpc_common.c: Likewise.
63869         * sunrpc/rpc_cout.c: Likewise.
63870         * sunrpc/rpc_dtable.c: Likewise.
63871         * sunrpc/rpc_hout.c: Likewise.
63872         * sunrpc/rpc_main.c: Likewise.
63873         * sunrpc/rpc_parse.c: Likewise.
63874         * sunrpc/rpc_parse.h: Likewise.
63875         * sunrpc/rpc_prot.c: Likewise.
63876         * sunrpc/rpc_sample.c: Likewise.
63877         * sunrpc/rpc_scan.c: Likewise.
63878         * sunrpc/rpc_scan.h: Likewise.
63879         * sunrpc/rpc_svcout.c: Likewise.
63880         * sunrpc/rpc_tblout.c: Likewise.
63881         * sunrpc/rpc_util.c: Likewise.
63882         * sunrpc/rpc_util.h: Likewise.
63883         * sunrpc/rpcinfo.c: Likewise.
63884         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63885         * sunrpc/rpcsvc/key_prot.x: Likewise.
63886         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63887         * sunrpc/rpcsvc/mount.x: Likewise.
63888         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63889         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63890         * sunrpc/rpcsvc/rex.x: Likewise.
63891         * sunrpc/rpcsvc/rstat.x: Likewise.
63892         * sunrpc/rpcsvc/rusers.x: Likewise.
63893         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63894         * sunrpc/rpcsvc/spray.x: Likewise.
63895         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63896         * sunrpc/rtime.c: Likewise.
63897         * sunrpc/svc.c: Likewise.
63898         * sunrpc/svc_auth.c: Likewise.
63899         * sunrpc/svc_authux.c: Likewise.
63900         * sunrpc/svc_raw.c: Likewise.
63901         * sunrpc/svc_run.c: Likewise.
63902         * sunrpc/svc_simple.c: Likewise.
63903         * sunrpc/svc_tcp.c: Likewise.
63904         * sunrpc/svc_udp.c: Likewise.
63905         * sunrpc/svc_unix.c: Likewise.
63906         * sunrpc/svcauth_des.c: Likewise.
63907         * sunrpc/xcrypt.c: Likewise.
63908         * sunrpc/xdr.c: Likewise.
63909         * sunrpc/xdr_array.c: Likewise.
63910         * sunrpc/xdr_float.c: Likewise.
63911         * sunrpc/xdr_mem.c: Likewise.
63912         * sunrpc/xdr_rec.c: Likewise.
63913         * sunrpc/xdr_ref.c: Likewise.
63914         * sunrpc/xdr_sizeof.c: Likewise.
63915         * sunrpc/xdr_stdio.c: Likewise.
63917         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63918         handling.
63920 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63922         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63924 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63926         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63927         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63928         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63929         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63930         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63931         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63932         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63933         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63934         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63935         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63936         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63937         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63938         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63939         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63941 2010-07-26  Anton Blanchard  <anton@samba.org>
63943         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63944         * malloc/arena.c (heap_trim): Likewise.
63946 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
63948         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63949         here.  Not...
63950         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63951         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63953 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63955         * sysdeps/i386/elf/Makefile: New file.
63957 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63959         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63960         from fanotify_init.
63961         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63962         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63964 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63966         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63967         of strncasecmp_l.
63968         * sysdeps/multiarch/strcmp.S: Likewise.
63970 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63972         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63973         strncase_l-nonascii.
63974         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63975         Add strncase_l-ssse3.
63976         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63977         * sysdeps/x86_64/strcmp.S: Likewise.
63978         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63979         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63980         * sysdeps/x86_64/strncase.S: New file.
63981         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63982         * sysdeps/x86_64/strncase_l.S: New file.
63983         * string/Makefile (strop-tests): Add strncasecmp.
63984         * string/test-strncasecmp.c: New file.
63986         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63987         warning.
63989         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63990         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63992 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63994         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63996 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63998         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63999         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
64000         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
64002 2010-05-01  Alan Modra  <amodra@gmail.com>
64004         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
64005         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
64006         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
64007         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
64008         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
64009         tidying.  Don't tail-call __sigjmp_save for static lib.
64010         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
64011         save location.
64012         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
64013         (CALL_MCOUNT): Add eh info, and nop after bl.
64014         (TAIL_CALL_SYSCALL_ERROR): New macro.
64015         (PSEUDO_RET): Use it.
64016         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
64017         Correct save location of integer regs and cr.
64018         (_dl_profile_resolve): Correct cr save location.  Delete nops
64019         after bl when SHARED.  Reduce cfi size a little by better
64020         placement of cfi directives.
64021         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
64022         make a stack frame.  Instead use parm save area as a temp.
64023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
64024         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
64025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
64026         Don't make a stack frame for parent, use parm save area.
64027         Increase child stack frame to 112 bytes.  Don't save unused reg,
64028         and adjust reg usage.  Set up cfi on error recovery and
64029         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
64030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64031         (__makecontext): Add dummy nop after jump to exit.
64032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
64033         Use correct parm save area and cr save, reduce stack frame.
64034         Correct cfi for possible PSEUDO_RET frame setup.
64035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
64036         Branch to local label emitted by PSEUDO_RET rather than
64037         __syscall_error.
64039 2010-08-12  Andreas Schwab  <schwab@redhat.com>
64041         [BZ #11904]
64042         * locale/programs/locale.c (print_assignment): New function.
64043         (show_locale_vars): Use it.
64045 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
64047         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
64048         field.
64049         (struct statfs64): Likewise.
64050         (_STATFS_F_FLAGS): Define.
64051         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
64052         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64053         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
64054         (ST_VALID): Define locally.
64055         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
64056         __statvfs_getflags, use the provided value.
64057         * sysdeps/unix/sysv/linux/kernel-features.h: Define
64058         __ASSUME_STATFS_F_FLAGS.
64060         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
64062         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
64063         Add sys/fanotify.h.
64064         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
64065         fanotify_mask for GLIBC_2.13.
64066         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
64067         fanotify_init and fanotify_mark.
64068         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64069         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
64071         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
64072         Add prlimit.
64073         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
64074         prlimit64 for GLIBC_2.13.
64075         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
64076         prlimit64.
64077         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
64078         syscall.
64079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
64080         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64081         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
64082         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
64083         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
64084         add prlimit alias.
64085         * sysdeps/unix/sysv/linux/prlimit.c: New file.
64087         [BZ #11903]
64088         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
64089         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
64091         * nss/Makefile: Add rules to build and run tst-nss-test1.
64092         * shlib-versions: Add entry for libnss_test1.
64093         * nss/nss_test1.c: New file.
64094         * nss/tst-nss-test1.c: New file.
64096         * nss/nsswitch.c (__nss_database_custom): Define new variable.
64097         (__nss_configure_lookup): Set appropriate entry in
64098         __nss_configure_lookup to true.
64099         * nss/nsswitch.h: Define enum with indeces of databases in
64100         databases and __nss_database_custom arrays.  Declare
64101         __nss_database_custom.
64102         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
64103         to avoid using nscd when custom rules are installed.
64104         * nss/getXXbyYY_r.c: Likewise.
64105         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64107         * nss/nss_files/files-parse.c: Whitespace fixes.
64109 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
64111         [BZ #11883]
64112         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
64113         * posix/fnmatch_loop.c: Likewise.
64115 2010-07-17  Andi Kleen  <ak@linux.intel.com>
64117         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
64118         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
64119         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
64120         * Versions.def [GLIBC_2.13]: Add.
64122 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
64124         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64125         Also fail if tpwd after pwuid call is NULL.
64127 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64129         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
64130         when converting to ms.
64132 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64134         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
64135         EOPNOTSUPP errors with ENOTTY.
64136         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
64137         EOPNOTSUPP errors with ENOTTY.
64139 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
64141         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64142         Add strcasecmp_l-ssse3.
64143         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
64144         strcasecmp.
64145         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
64146         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
64147         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
64149 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
64151         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
64153         * string/Makefile (strop-tests): Add strcasecmp.
64154         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64155         strcasecmp_l-nonascii.
64156         (gen-as-const-headers): Add locale-defines.sym.
64157         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
64158         * sysdeps/x86_64/strcasecmp.S: New file.
64159         * sysdeps/x86_64/strcasecmp_l.S: New file.
64160         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
64161         * sysdeps/x86_64/locale-defines.sym: New file.
64162         * string/test-strcasecmp.c: New file.
64164         * string/test-strcasestr.c: Test both ends of the range of characters.
64165         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
64167 2010-07-29  Roland McGrath  <roland@redhat.com>
64169         [BZ #11856]
64170         * manual/locale.texi (Yes-or-No Questions): Fix example code.
64172 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
64174         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
64175         for ld.so.
64177 2010-07-27  Andreas Schwab  <schwab@redhat.com>
64179         * manual/memory.texi (Malloc Tunable Parameters): Document
64180         M_PERTURB.
64182 2010-07-26  Roland McGrath  <roland@redhat.com>
64184         [BZ #11840]
64185         * configure.in (-fgnu89-inline check): Set and substitute
64186         gnu89_inline, not libc_cv_gnu89_inline.
64187         * configure: Regenerated.
64188         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
64190 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
64192         * string/test-strnlen.c: New file.
64193         * string/Makefile (strop-tests): Add strnlen.
64194         * string/tester.c (test_strnlen): Add a few more test cases.
64195         * string/tst-strlen.c: Better error reporting.
64197         * sysdeps/x86_64/strnlen.S: New file.
64199 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
64201         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
64202         lower-latency instructions.
64204 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
64206         * string/test-strcasestr.c: New file.
64207         * string/test-strstr.c: New file.
64208         * string/Makefile (strop-tests): Add strstr and strcasestr.
64209         * string/str-two-way.h: Don't undefine MAX.
64210         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
64212 2010-07-21  Andreas Schwab  <schwab@redhat.com>
64214         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64215         strcasestr-nonascii.
64216         (CFLAGS-strcasestr-nonascii.c): Define.
64217         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
64218         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
64219         Remove unused attribute.
64221 2010-07-20  Roland McGrath  <roland@redhat.com>
64223         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
64224         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
64225         ld.so.cache was broken.  With it, there is no way to disable dsocaps
64226         like LD_HWCAP_MASK can disable hwcaps.
64228 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64230         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
64232 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
64234         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
64235         call in strcasestr.
64236         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
64237         __strcasestr_sse42_nonascii.
64238         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
64239         strcasestr-nonascii.c.
64240         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
64242 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
64244         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
64245         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
64246         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
64247         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
64249 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
64251         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
64252         fcntl.
64254 2010-07-06  Andreas Schwab  <schwab@redhat.com>
64256         [BZ #11577]
64257         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
64258         dl_signal_cerror.
64260 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
64262         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
64263         _PC_PIPE_BUF using F_GETPIPE_SZ.
64265 2010-07-05  Roland McGrath  <roland@redhat.com>
64267         * manual/arith.texi (Rounding Functions): Fix rint description
64268         implicit in round description.
64270 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
64272         * elf/Makefile: Fix linking for a few tests to make recent linker
64273         happy.
64275 2010-06-30  Andreas Schwab  <schwab@redhat.com>
64277         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64278         $(common-objpfx)libc_nonshared.a.
64280 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
64282         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
64283         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
64284         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64285         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64286         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
64287         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
64288         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64289         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
64291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
64292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
64293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
64295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
64297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
64298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
64299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
64300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
64302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
64304         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
64305         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
64306         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
64307         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
64308         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
64309         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
64310         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
64311         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
64312         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
64313         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
64314         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
64315         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
64316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
64317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
64318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
64319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
64320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
64321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
64322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
64323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
64324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
64325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
64326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
64327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
64328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
64329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
64331 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
64333         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
64334         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
64335         * string/memmove.c (memmove): Renamed to ...
64336         (MEMMOVE): ...this.  Default to memmove.
64337         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
64338         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
64339         (END_CHK): Define.
64340         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64341         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
64342         mempcpy-ssse3-back memmove-ssse3-back.
64343         * sysdeps/x86_64/multiarch/bcopy.S: New file .
64344         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
64345         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
64346         * sysdeps/x86_64/multiarch/memcpy.S: New file.
64347         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
64348         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
64349         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
64350         * sysdeps/x86_64/multiarch/memmove.c: New file.
64351         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
64352         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
64353         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
64354         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
64355         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
64356         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
64357         Define.
64358         (index_Fast_Copy_Backward): Define.
64359         (HAS_ARCH_FEATURE): Define.
64360         (HAS_FAST_REP_STRING): Define.
64361         (HAS_FAST_COPY_BACKWARD): Define.
64363 2010-06-21  Andreas Schwab  <schwab@redhat.com>
64365         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64366         Restore proper fallback handling.
64368 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
64370         [BZ #11701]
64371         * posix/group_member.c (__group_member): Correct checking loop.
64373         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
64374         OOM in getpwuid_r correctly.  Return error number when the caller
64375         should return, otherwise -1.
64376         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
64377         call returning > 0 value.
64378         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
64380 2010-06-07  Andreas Schwab  <schwab@redhat.com>
64382         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
64383         libc_nonshared.a from targets in modules-names.
64385 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
64387         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
64388         requires it.
64390 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
64392         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
64393         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
64394         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
64395         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
64397 2010-06-02  Andreas Schwab  <schwab@redhat.com>
64399         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
64401 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
64403         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
64404         and F_GETPIPE_SZ.
64405         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64406         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64407         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64408         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64409         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64410         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
64412 2010-06-14  Roland McGrath  <roland@redhat.com>
64414         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
64416 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
64418         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
64419         __REDIRECT followed by __THROW.
64420         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
64421         * posix/getopt.h (getopt): Likewise.
64423 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64425         * hurd/lookup-at.c (__file_name_lookup_at): Accept
64426         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
64427         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
64428         in AT_FLAGS.
64429         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
64430         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
64432 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
64434         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
64436 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
64438         [BZ #11640]
64439         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64440         Properly check family and model.
64442 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
64444         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
64446 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
64448         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
64450 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
64452         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
64453         symbol reference.
64455 2010-05-19  Andreas Schwab  <schwab@redhat.com>
64457         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
64458         symbol reference.
64460 2010-05-21  Andreas Schwab  <schwab@redhat.com>
64462         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
64463         and internal_recvmmsg.
64464         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
64465         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
64466         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
64467         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
64469         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
64470         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
64471         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
64473 2010-05-20  Andreas Schwab  <schwab@redhat.com>
64475         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
64477 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
64479         POWER7 optimizations.
64480         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
64481         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
64483 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
64485         * version.h: Update for 2.13 development version.
64487 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
64489         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
64490         exceptions.  Return 0.
64492 2010-05-07  Roland McGrath  <roland@redhat.com>
64494         * elf/ldconfig.c (main): Add a const.
64496 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
64498         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
64499         (args_options): Add no-idn option.
64500         (ahosts_keys_int): Add idn_flags to ai_flags.
64501         (parse_option): Handle 'i' option to clear idn_flags.
64503         * malloc/malloc.c (_int_free): Possible race in the most recently
64504         added check.  Only act on the data if no current modification
64505         happened.
64507 See ChangeLog.17 for earlier changes.