Fix broken overflow check in posix_fallocate [BZ 18873]
[glibc.git] / ChangeLog
blob09224e91d5604418b34178283462b91163b7f76f
1 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
3         [BZ #18873]
4         Fix broken overflow check in posix_fallocate
5         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
6         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
7         Fix parenthesization typo.
9 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
11         [BZ #18887]
12         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
13         tst-mntent-blank-passno.
14         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
15         * misc/tst-mntent-blank-corrupt.c: New test.
16         * misc/tst-mntent-blank-passno.c: New test ripped from ...
17         * misc/tst-mntent.c (do_test): ... here.
19 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
21         [BZ #4404]
22         * po/de.po: Fix SIGALRM typo.
24 2015-08-28  James Perkins  <james@loowit.net>
26         * time/tst-strptime2.c (tests): Replace short list of test
27         strings for strptime %z specifier with code which exhaustively
28         tests every combination of sign and 0 to 5 digits. Tests for
29         rejection of invalid strings.
31 2015-08-28  James Perkins  <james@loowit.net>
33         [BZ #16141]
34         * time/strptime_l.c (__strptime_internal): Fix %z minutes
35         calculation, removing incorrect decimal time rounding, so that
36         all minute values result in a valid seconds value.
37         * time/strptime_l.c (__strptime_internal): Extend %z time zone
38         offset range limits to UTC-99:59 through UTC+99:59 to parse
39         current and historical use cases.
40         * time/tst-strptime2.c (tests): Modify and add tests for the
41         strptime %z input field descriptor, specifically conversion of
42         minutes to seconds and validating an offset range of -9959 to
43         +9959.
45 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
46             Dmitry V. Levin  <ldv@altlinux.org>
48         [BZ #18877]
49         * posix/Makefile (tests): Add tst-mmap-offset.
50         * posix/tst-mmap.c: New file.
51         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
52         offset calculation for negative values.
54 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
56         * sysdeps/i386/init-arch.h: New file.
57         * sysdeps/i386/i586/init-arch.h: Likewise.
58         * sysdeps/i386/i686/init-arch.h: Likewise.
59         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
60         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
61         * sysdeps/x86/cpu-features.h (bit_I586): New.
62         (bit_I686): Likewise.
63         (bit_CX8): Likewise.
64         (bit_CMOV): Likewise.
65         (index_CX8): Likewise.
66         (index_CMOV): Likewise.
67         (index_I586): Likewise.
68         (index_I686): Likewise.
69         (reg_CX8): Likewise.
70         (reg_CMOV): Likewise.
71         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
72         available at compile-time.
73         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
74         available at compile-time.
75         * sysdeps/x86/init-arch.h (USE_I586): New macro.
76         (USE_I686): Likewise.
78 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
80         * sysdeps/i386/bcopy.S: New file.
81         * sysdeps/i386/bzero.S: Likewise.
82         * sysdeps/i386/memcpy.S: Likewise.
83         * sysdeps/i386/memmove.S: Likewise.
84         * sysdeps/i386/mempcpy.S: Likewise.
85         * sysdeps/i386/memset.S: Likewise.
86         * sysdeps/i386/bzero.c: Removed.
87         * sysdeps/i386/memset.c: Likewise.
88         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
89         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
90         * sysdeps/i386/i586/memset_chk.S: Likewise.
91         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
92         * sysdeps/i386/memcpy_chk.S: Here.
93         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
94         * sysdeps/i386/memmove_chk.S: Here.
95         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
96         * sysdeps/i386/mempcpy_chk.S: Likewise.
97         * sysdeps/i386/i686/memset_chk.S: Moved to ...
98         * sysdeps/i386/memset_chk.S: Likewise.
100 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
102         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
103         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
104         file, move DIAG_POP_NEEDS_COMMENT to end of file.
105         * soft-fp/fmadf4.c: Ditto.
106         * soft-fp/fmatf4.c: Ditto.
108 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
110         * sysdeps/i386/i586/Implies: Removed.
111         * sysdeps/i386/i686/Implies: Likewise.
113 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
115         * sysdeps/i386/i486/strlen.S: Moved to ...
116         * sysdeps/i386/strlen.S: Here.
118 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
120         * sysdeps/i386/i486/strcat.S: Moved to ...
121         * sysdeps/i386/strcat.S: Here.
123 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
125         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
126         * sysdeps/i386/pthread_spin_trylock.S: Here.
127         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
128         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
130 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
132         * sysdeps/i386/i486/string-inlines.c: Moved to ...
133         * sysdeps/i386/string-inlines.c: Here.
135 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
137         * sysdeps/i386/i486/htonl.S: Moved ...
138         * sysdeps/i386/htonl.S: here.
140 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
142         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
143         * sysdeps/i386/bits/atomic.h: Here.
145 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
147         * sysdeps/i386/i486/Versions: Removed.
149 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
151         [BZ #2898]
152         * misc/mktemp.c: Add mkdtemp to the link_warning message.
153         Based on patch by Aurelien Jarno.
155 2015-08-26  Stan Shebs  <stanshebs@google.com>
157         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
158         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
160 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
162         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
163         * sysdeps/powerpc/dl-procinfo.c:
164         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
165         feature so it shows when LD_SHOW_AUXV=1.
167 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
169         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
170         (__arch_compare_and_exchange_val_32_acq): Remove and use common
171         definition.  ISA 2.07B no longer requires full sync.
173 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
175         [BZ #18863]
176         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
177         (si_call_addr): Define.
178         (si_syscall): Define.
179         (si_arch): Define.
181 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
183         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
184         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
185         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
186         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
187         (__memset_zero_constant_len_parameter): New.
188         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
189         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
190         (__memset_zero_constant_len_parameter): Don't define if
191         __memset_chk or USE_AS_BZERO are defined.
193         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
194         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
195         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
197         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
198         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
199         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
200         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
201         comments.
202         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
203         -mno-mmx for $(all-rtld-routines).
204         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
205         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
206         i386.
208 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
210         * sysdeps/generic/unwind.h
211         (_Unwind_Word): Use __mode__(__unwind_word__)
212         instead of __mode__(__word__).
213         (_Unwind_Sword): Likewise.
215         * sysdeps/s390/s390-64/utf8-utf16-z9.c
216         (MAX_NEEDED_INPUT): New define.
217         (MAX_NEEDED_OUTPUT): New define.
219         * NEWS: New item for IBM z13 string optimizations.
221         * sysdeps/s390/multiarch/memrchr-c.c: New File.
222         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
223         * sysdeps/s390/multiarch/memrchr.c: Likewise.
224         * sysdeps/s390/multiarch/Makefile
225         (sysdep_routines): Add memrchr functions.
226         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
227         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
229         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
230         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
231         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
232         * sysdeps/s390/multiarch/Makefile
233         (sysdep_routines): Add wmemcmp functions.
234         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
235         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
236         * benchtests/bench-wmemcmp.c: New File.
237         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
239         * sysdeps/s390/multiarch/wmemset-c.c: New File.
240         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
241         * sysdeps/s390/multiarch/wmemset.c: Likewise.
242         * sysdeps/s390/multiarch/Makefile
243         (sysdep_routines): Add wmemset functions.
244         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
245         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
246         * wcsmbs/wmemset.c: Use WMEMSET if defined.
247         * string/test-memset.c: Add wmemset support.
248         * wcsmbs/test-wmemset.c: New File.
249         * wcsmbs/Makefile (strop-tests): Add wmemset.
250         * benchtests/bench-memset.c: Add wmemset support.
251         * benchtests/bench-wmemset.c: New File.
252         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
254         * sysdeps/s390/multiarch/memccpy-c.c: New File.
255         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
256         * sysdeps/s390/multiarch/memccpy.c: Likewise.
257         * sysdeps/s390/multiarch/Makefile
258         (sysdep_routines): Add memccpy functions.
259         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
260         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
261         * string/memccpy.c: Use MEMCCPY if defined.
263         * sysdeps/s390/multiarch/memchr-vx.S: New File.
264         * sysdeps/s390/multiarch/memchr.c: Likewise.
265         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
266         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
267         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
268         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
269         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
270         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
271         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
272         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
273         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
274         and rawmemchr functions.
275         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
276         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
277         and wmemchr.
278         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
279         * string/test-memchr.c: Add wmemchr support.
280         * wcsmbs/test-wmemchr.c: New File.
281         * wcsmbs/Makefile (strop-tests): Add wmemchr.
282         * benchtests/bench-memchr.c: Add wmemchr support.
283         * benchtests/bench-wmemchr.c: New File.
284         * benchtests/Makefile (wcsmbs-bench): wmemchr.
286         * sysdeps/s390/multiarch/strcspn-c.c: New File.
287         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
288         * sysdeps/s390/multiarch/strcspn.c: Likewise.
289         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
290         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
291         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
292         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
293         wcscspn functions.
294         * sysdeps/s390/multiarch/ifunc-impl-list.c
295         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
296         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
297         * string/test-strcspn.c: Add wcscspn support.
298         * wcsmbs/test-wcscspn.c: New File.
299         * wcsmbs/Makefile (strop-tests): Add wcscspn.
300         * benchtests/bench-strcspn.c: Add wcscspn support.
301         * benchtests/bench-wcscspn.c: New File.
302         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
304         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
305         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
306         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
307         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
308         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
309         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
310         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
311         wcspbrk functions.
312         * sysdeps/s390/multiarch/ifunc-impl-list.c
313         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
314         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
315         * string/test-strpbrk.c: Add wcspbrk support.
316         * wcsmbs/test-wcspbrk.c: New File.
317         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
318         * benchtests/bench-strpbrk.c: Add wcspbrk support.
319         * benchtests/bench-wcspbrk.c: New File.
320         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
322         * sysdeps/s390/multiarch/strspn-c.c: New File.
323         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
324         * sysdeps/s390/multiarch/strspn.c: Likewise.
325         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
326         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
327         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
328         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
329         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
330         wcsspn functions.
331         * sysdeps/s390/multiarch/ifunc-impl-list.c
332         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
333         * string/test-strspn.c: Add wcsspn support.
334         * wcsmbs/test-wcsspn.c: New File.
335         * wcsmbs/Makefile (strop-tests): Add wcsspn.
336         * benchtests/bench-strspn.c: Add wcsspn support.
337         * benchtests/bench-wcsspn.c: New File.
338         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
340         * sysdeps/s390/multiarch/strrchr-c.c: New File.
341         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
342         * sysdeps/s390/multiarch/strrchr.c: Likewise.
343         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
344         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
345         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
346         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
347         wcsrchr functions.
348         * sysdeps/s390/multiarch/ifunc-impl-list.c
349         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
350         * benchtests/bench-wcsrchr.c: New File.
351         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
353         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
354         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
355         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
356         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
357         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
358         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
359         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
360         wcschrnul functions.
361         * sysdeps/s390/multiarch/ifunc-impl-list.c
362         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
363         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
364         * string/test-strchr.c: Add wcschrnul support.
365         * wcsmbs/test-wcschrnul.c: New File.
366         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
367         * benchtests/bench-strchr.c: Add wcschrnul support.
368         * benchtests/bench-wcschrnul.c: New File.
369         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
371         * sysdeps/s390/multiarch/strchr-c.c: New File.
372         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
373         * sysdeps/s390/multiarch/strchr.c: Likewise.
374         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
375         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
376         * sysdeps/s390/multiarch/wcschr.c: Likewise.
377         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
378         wcschr functions.
379         * sysdeps/s390/multiarch/ifunc-impl-list.c
380         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
381         * string/strchr.c (STRCHR): Define and use macro.
382         * benchtests/bench-wcschr.c: New File.
383         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
385         * sysdeps/s390/multiarch/strncmp-c.c: New File.
386         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
387         * sysdeps/s390/multiarch/strncmp.c: Likewise.
388         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
389         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
390         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
391         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
392         wcsncmp functions.
393         * sysdeps/s390/multiarch/ifunc-impl-list.c
394         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
395         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
396         * benchtests/bench-strncmp.c: Add wcsncmp support.
397         * benchtests/bench-wcsncmp.c: New File.
398         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
400         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
401         * sysdeps/s390/multiarch/strcmp.c: Likewise.
402         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
403         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
404         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
405         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
406         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
407         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
408         wcscmp functions.
409         * sysdeps/s390/multiarch/ifunc-impl-list.c
410         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
411         * string/strcmp.c (STRCMP): Define and use macro.
412         * benchtests/bench-wcscmp.c: New File.
413         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
414         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
415         instead of _HAVE_STRING_ARCH_memchr.
417         * sysdeps/s390/multiarch/strncat-c.c: New File.
418         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
419         * sysdeps/s390/multiarch/strncat.c: Likewise.
420         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
421         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
422         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
423         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
424         wcsncat functions.
425         * sysdeps/s390/multiarch/ifunc-impl-list.c
426         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
427         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
428         * string/test-strncat.c: Add wcsncat support.
429         * wcsmbs/test-wcsncat.c: New File.
430         * wcsmbs/Makefile (strop-tests): Add wcsncat.
431         * benchtests/bench-strncat.c: Add wcsncat support.
432         * benchtests/bench-wcsncat.c: New File.
433         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
435         * sysdeps/s390/multiarch/strcat-c.c: New File.
436         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
437         * sysdeps/s390/multiarch/strcat.c: Likewise.
438         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
439         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
440         * sysdeps/s390/multiarch/wcscat.c: Likewise.
441         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
442         wcscat functions.
443         * sysdeps/s390/multiarch/ifunc-impl-list.c
444         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
445         * string/strcat.c (STRCAT): Define and use macro.
446         * wcsmbs/wcscat.c: Use WCSCAT if defined.
447         * string/test-strcat.c: Add wcscat support.
448         * wcsmbs/test-wcscat.c: New File.
449         * wcsmbs/Makefile (strop-tests): Add wcscat.
450         * benchtests/bench-strcat.c: Add wcscat support.
451         * benchtests/bench-wcscat.c: New File.
452         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
454         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
455         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
456         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
457         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
458         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
459         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
460         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
461         wcpncpy functions.
462         * sysdeps/s390/multiarch/ifunc-impl-list.c
463         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
464         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
465         * string/test-stpncpy.c: Add wcpncpy support.
466         * wcsmbs/test-wcpncpy.c: New File.
467         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
468         * benchtests/bench-stpncpy.c: Add wcpncpy support.
469         * benchtests/bench-wcpncpy.c: New File.
470         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
472         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
473         * sysdeps/s390/multiarch/strncpy.c: Likewise.
474         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
475         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
476         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
477         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
478         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
479         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
480         wcsncpy functions.
481         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
482         * sysdeps/s390/multiarch/ifunc-impl-list.c
483         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
484         * string/test-strncpy.c: Add wcsncpy support.
485         * wcsmbs/test-wcsncpy.c: New File.
486         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
487         * benchtests/bench-strncpy.c: Add wcsncpy support.
488         * benchtests/bench-wcsncpy.c: New File.
489         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
491         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
492         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
493         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
494         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
495         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
496         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
497         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
498         wcpcpy functions.
499         * string/stpcpy.c: Use STPCPY if defined.
500         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
501         * sysdeps/s390/multiarch/ifunc-impl-list.c
502         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
503         * string/test-stpcpy.c: Add wcpcpy support.
504         * wcsmbs/test-wcpcpy.c: New File.
505         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
506         * benchtests/bench-stpcpy.c: Add wcpcpy support.
507         * benchtests/bench-wcpcpy.c: New File.
508         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
510         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
511         * sysdeps/s390/multiarch/strcpy.c: Likewise.
512         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
513         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
514         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
515         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
516         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
517         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
518         wcscpy functions.
519         * sysdeps/s390/multiarch/ifunc-impl-list.c
520         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
521         * benchtests/bench-wcscpy.c: New File.
522         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
524         * sysdeps/s390/multiarch/strnlen-c.c: New File.
525         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
526         * sysdeps/s390/multiarch/strnlen.c: Likewise.
527         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
528         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
529         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
530         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
531         wcsnlen functions.
532         * sysdeps/s390/multiarch/ifunc-impl-list.c
533         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
534         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
535         * string/test-strnlen.c: Add wcsnlen support.
536         * wcsmbs/test-wcsnlen.c: New File.
537         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
538         * benchtests/bench-strnlen.c: Add wcsnlen support.
539         * benchtests/bench-wcsnlen.c: New File.
540         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
542         * sysdeps/s390/multiarch/Makefile: New File.
543         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
544         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
545         * sysdeps/s390/multiarch/strlen.c: Likewise.
546         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
547         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
548         * sysdeps/s390/multiarch/wcslen.c: Likewise.
549         * string/strlen.c (STRLEN): Define and use macro.
550         * sysdeps/s390/multiarch/ifunc-impl-list.c
551         (IFUNC_VX_IMPL): New macro function.
552         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
553         * benchtests/Makefile (wcsmbs-bench): New variable.
554         (string-bench-all): Added wcsmbs-bench.
555         * benchtests/bench-wcslen.c: New File.
557         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
558         s390_vx_libc_ifunc2): New macro function.
560         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
561         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
562         assembler support.
563         * sysdeps/s390/configure: Regenerated.
565         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
566         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
568         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
569         * sysdeps/s390/dl-procinfo.h: Add vector capability.
570         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
572         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
573         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
574         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
575         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
576         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
577         (memcmp, bcmp): Use __memcmp_default as alias source.
578         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
579         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
580         Rename to __memcmp_default.
581         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
582         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
583         (memcpy): Use __memcpy_default as alias source.
584         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
585         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
586         Rename to __memcpy_default.
587         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
588         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
589         (memset): Use __memset_default as alias source.
590         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
591         * sysdeps/s390/s390-32/memset.S (__memset_g5):
592         Rename to __memset_default.
593         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
594         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
595         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
596         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
597         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
598         (memcmp, bcmp): Use __memcmp_default as alias source.
599         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
600         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
601         Rename to __memcmp_default.
602         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
603         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
604         (memcpy): Use __memcpy_default as alias source.
605         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
606         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
607         Rename to __memcpy_default.
608         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
609         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
610         (memset): Use __memset_default as alias source.
611         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
612         * sysdeps/s390/s390-64/memset.S (__memset_z900):
613         Rename to __memset_default.
614         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
615         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
617         [BZ #18610]
618         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
619         __ieee_instruction_pointer to __unused.
620         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
621         __ieee_instruction_pointer.
622         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
623         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
624         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
625         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
626         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
627         Mark dxc-field as reserved.
629 2015-08-25  Roland McGrath  <roland@hack.frob.com>
631         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
632         if the weak reference is not null.
634 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
636         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
638         [BZ #11214]
639         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
641 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
643         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
644         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
645         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
646         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
647         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
648         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
649         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
650         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
651         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
652         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
653         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
654         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
655         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
656         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
657         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
658         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
659         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
660         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
662 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
664         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
665         register other than r0 for tabort, it has special meaning.
666         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
667         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
668         transaction before starting syscall.
670 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
672         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
674 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
676         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
678         * sysdeps/x86_64/rtld-memcmp.c: Removed.
679         * sysdeps/x86_64/rtld-memset.S: Likewise.
680         * sysdeps/x86_64/rtld-strchr.S: Likewise.
681         * sysdeps/x86_64/rtld-strlen.S: Likewise.
682         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
683         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
685         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
687 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
689         * debug/strcpy_chk.c: Improve performance.
690         * debug/stpcpy_chk.c: Likewise.
691         * sysdeps/x86_64/strcpy_chk.S: Remove.
692         * sysdeps/x86_64/stpcpy_chk.S: Remove.
694         [BZ #18240]
695         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
697 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
699         [BZ #15128]
700         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
701         ifuncmain8.
702         (modules-names): Add ifuncmod8.
703         ($(objpfx)ifuncmain8): New rule.
704         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
705         <cpuid.h>.
706         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
707         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
708         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
709         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
710         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
711         * sysdeps/x86_64/dl-trampoline.h: Likewise.
712         * sysdeps/x86_64/ifuncmain8.c: New file.
713         * sysdeps/x86_64/ifuncmod8.c: Likewise.
714         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
715         Removed.
716         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
717         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
718         Change rtld_savespace_sse to __glibc_unused2.
719         (RTLD_CHECK_FOREIGN_CALL): Removed.
720         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
721         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
722         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
724 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
726         * sysdeps/aarch64/bzero.S (__bzero): Remove.
728 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
730         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
731         Unconditionally set __fpcr to avoid uninialized warning.
732         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
734 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
736         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
737         is corrupt.
739         * malloc/arena.c (arena_get2): Drop unused argument.
740         (arena_lock): Adjust.
741         (arena_get_retry): Likewise.
743 2015-08-24  Andreas Schwab  <schwab@suse.de>
745         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
746         Don't define.
747         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
748         (__ASSUME_IPC64): Don't undef.
749         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
750         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
751         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
752         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
753         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
754         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
755         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
756         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
757         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
758         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
759         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
760         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
761         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
762         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
763         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
764         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
765         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
766         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
767         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
768         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
769         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
771 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
773         * manual/Makefile (install): Only build manual when perl is available.
775 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
777         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
778         '#undef memcpy' by '#undef memchr'.
780 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
782         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
783         memchr not point to the internal __GI_memchr implementation.
785 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
787         * timezone/Makefile (CFLAGS-zdump.c): Remove
788         -Wno-strict-prototypes.
789         (CFLAGS-zic.c): Likewise.
790         (CFLAGS-ialloc.c): Likewise.
791         (CFLAGS-scheck.c): Likewise.
793         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
794         -Wno-error=undef.
796 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
798         * i386/i686/multiarch/strcasestr-c.c: Removed.
799         * x86_64/multiarch/strcasestr.c: Likewise.
800         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
801         Remove strcasestr.
803 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
805         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
807         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
808         variables for high and low parts before possibly modifying them.
810 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
812         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
813         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
814         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
815         of "multiarch/init-arch.h".
816         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
817         * sysdeps/x86/init-arch.h: This.
819 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
821         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
822         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
824 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
826         [BZ #17787]
827         * manual/macros.texi: Add twoexp macro.
828         * manual/filesys.texi: Fix exponents.
829         * manual/llio.texi: Likewise.
830         * manual/stdio.texi: Likewise.
832 2015-08-20  Florian Weimer  <fweimer@redhat.com>
834         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
835         incorrect use.
837 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
839         [BZ #18370]
840         * math/s_csqrt.c (__csqrt): Force underflow exception for results
841         whose real or imaginary part has small absolute value.
842         * math/s_csqrtf.c (__csqrtf): Likewise.
843         * math/s_csqrtl.c (__csqrtl): Likewise.
844         * math/auto-libm-test-in: Add more tests of csqrt.
845         * math/auto-libm-test-out: Regenerated.
846         * sysdeps/i386/fpu/libm-test-ulps: Update.
848 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
850         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
851         __ppc_set_ppr_very_low): New functions.
852         * manual/platform.texi: Add documentation about
853         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
855 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
857         * string/stpncpy.c (stpncpy): Improve performance using
858         __strnlen/memcpy/memset.
860 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
862         [BZ #18796]
863         * scripts/test-installation.pl: Don't add -lmvec to build options if
864         libmvec wasn't built.
866 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
868         [BZ #14341]
869         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
870         case when there is a gap between DT_REL and DT_JMPREL sections.
871         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
872         (LDFLAGS-tst-split-dynreloc): New.
873         (tst-split-dynreloc-ENV): Likewise.
874         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
875         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
877 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
879         [BZ #18822]
880         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
881         attribute_hidden.
882         (__xstat64_conv): Likewise.
883         (__xstat32_conv): Likewise.
885 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
887         [BZ #18822]
888         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
889         Don't load %ebx when calling __setcontext.  Call __setcontext
890         with HIDDEN_JUMPTARGET.
891         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
892         libc_hidden_def.
894 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
896         * sysdeps/i386/i686/Makefile
897         [$(subdir) == string] (sysdep_routines): Moved to ...
898         * sysdeps/i386/Makefile: Here.
899         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
900         * sysdeps/i386/cacheinfo.c: Here.
901         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
902         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
903         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
904         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
906 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
908         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
909         __i586__ is defined.
910         (HAS_I686): Defined to 1 if __i686__ is defined.
912 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
914         * elf/Makefile [$(have-z-execstack) = yes]
915         (CPPFLAGS-tst-execstack.c): New variable.
917         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
918         conditional to [defined UTMPX || _HAVE_UT_TYPE].
919         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
920         UTMPX || _HAVE_UT_TV].
921         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
922         UTMPX || _HAVE_UT_TV - 0].
924 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
926         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
927         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
928         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
930 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
932         * sysdeps/powerpc/dl-procinfo.c:
933         (_dl_powerpc_cap_flags): Added missing strings for some
934         hwcap features.
935         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
937 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
939         Port the 0x7efe...feff pattern to GCC 6.
940         See Steve Ellcey's bug report in:
941         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
942         * string/memrchr.c (MEMRCHR):
943         * string/rawmemchr.c (RAWMEMCHR):
944         * string/strchr.c (strchr):
945         * string/strchrnul.c (STRCHRNUL):
946         Rewrite code to avoid issues with signed shift overflow.
948 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
950         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
951         whether cpuid is available only if HAS_CPUID is 0.
952         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
953         (HAS_I586): Likewise.
954         (HAS_I686): Likewise.
956 2015-08-18  Zack Weinberg  <zackw@panix.com>
958         * misc/Versions (libc): Add GLIBC_2.23.
960 2015-08-18  Alan Modra  <amodra@gmail.com>
962         [BZ #18421]
963         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
964         .Lp__global.
965         (_start): Load %dp via .Lp__global.
966         [!SHARED]: Use .section .rodata.
968 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
970         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
971         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
973 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
975         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
976         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
978 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
980         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
981         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
983 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
985         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
986         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
988 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
990         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
991         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
993 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
995         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
996         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
998 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1000         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
1002 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1004         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
1005         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
1006         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1007         (__ASSUME_LWS_CAS): Delete.
1009 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1011         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
1012         * sysdeps/hppa/configure: Regenerated.
1013         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
1014         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
1015         * sysdeps/hppa/nptl/tls.h: Likewise.
1017 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
1019         [BZ #18823]
1020         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
1021         for scaling up small arguments.
1022         * math/s_csqrtf.c (__csqrtf): Likewise.
1023         * math/s_csqrtl.c (__csqrtl): Likewise.
1024         * math/auto-libm-test-in: Add more tests of csqrt.
1025         * math/auto-libm-test-out: Regenerated.
1027 2015-08-17  Andreas Schwab  <schwab@suse.de>
1029         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
1030         version set GLIBC_2.19.
1032 2015-08-16  Zack Weinberg  <zackw@panix.com>
1034         [BZ #18681]
1035         * misc/regexp.h: This interface is no longer supported.
1036         Remove all contents, leaving only an #error directive.
1037         * misc/regexp.c (loc1, loc2, locs, step, advance):
1038         Demote to compatibility symbols.
1040 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
1042         [BZ #18084]
1043         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
1044         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
1045         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
1046         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
1047         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
1048         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
1049         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
1050         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
1051         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
1053 2015-08-15  Zack Weinberg  <zackw@panix.com>
1055         [BZ #18795]
1056         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
1057         buffer length is known to be too large, not if it's known to be
1058         small enough.
1059         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
1060         overflow at runtime, involving a length parameter, twice: once
1061         with a compile-time constant length parameter, once without.
1063 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
1065         [BZ #18824]
1066         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
1067         scaling x * y up instead of down.
1068         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1069         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1070         * math/auto-libm-test-in: Add more tests of fma.
1071         * math/auto-libm-test-out: Regenerated.
1073 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
1075         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1077 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1079         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
1080         unnecessary movq.
1081         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
1082         Likewise.
1084 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
1086         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1087         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
1088         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
1089         and tgamma.
1090         * math/auto-libm-test-out: Regenerated.
1091         * sysdeps/i386/fpu/libm-test-ulps: Update.
1092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1094         [BZ #16520]
1095         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
1096         (__tanh): Force underflow exception for arguments with small
1097         absolute value.
1098         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
1099         (__tanhf): Force underflow exception for arguments with small
1100         absolute value.
1101         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
1102         (__tanhl): Force underflow exception for arguments with small
1103         absolute value.
1104         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
1105         (__tanhl): Force underflow exception for arguments with small
1106         absolute value.
1107         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
1108         (__tanhl): Force underflow exception for arguments with small
1109         absolute value.
1110         * math/auto-libm-test-in: Add more tests of tanh.
1111         * math/auto-libm-test-out: Regenerated.
1112         * sysdeps/i386/fpu/libm-test-ulps: Update.
1114 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1116         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
1117         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
1119 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1121         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
1122         <cpuid.h>.
1124 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1126         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
1127         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
1129 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1131         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
1132         Remove $(objpfx)init-arch.o.
1133         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
1134         init-arch.
1135         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
1136         (INIT_ARCH_EXT): Defined as empty.
1137         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
1138         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
1139         __init_cpu_features call.  Replace HAS_XXX with
1140         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1141         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
1142         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
1143         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
1144         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
1145         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1146         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
1147         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
1148         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1149         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
1150         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
1151         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1152         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
1153         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
1154         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1155         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
1156         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
1157         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1158         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1159         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
1160         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
1161         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1162         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
1163         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
1164         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1165         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
1166         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
1167         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1168         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
1169         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
1170         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1171         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
1172         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
1173         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1174         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
1175         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
1177 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1179         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
1180         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1181         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1182         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1183         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
1184         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
1185         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
1186         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
1187         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
1188         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
1189         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
1190         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
1191         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1192         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1193         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1194         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1195         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1196         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1197         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1198         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1199         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1200         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1201         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1202         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1203         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1204         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1205         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1206         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1207         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1208         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1209         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1210         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1211         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1212         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1213         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1214         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1215         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1216         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1217         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1218         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1219         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1220         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1221         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1223 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1225         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
1226         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1227         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1228         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1229         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1230         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
1231         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1232         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
1233         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1234         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1235         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1236         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
1237         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
1238         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
1239         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
1240         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
1241         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
1242         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
1243         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
1244         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
1245         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1246         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
1247         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
1248         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1249         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1250         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
1251         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
1252         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
1253         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1254         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1255         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1256         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1257         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1258         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1259         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1260         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1261         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1262         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1263         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1264         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1265         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1266         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1267         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1269 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1271         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
1272         (dl_platform_init): Call init_cpu_features.
1273         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
1274         * sysdeps/i386/i686/cacheinfo.c
1275         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
1276         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
1277         * sysdeps/i386/i686/multiarch/Versions: Removed.
1278         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
1279         Removed.
1280         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
1281         * sysdeps/unix/sysv/linux/x86/Makefile
1282         (libpthread-sysdep_routines): Remove init-arch.
1283         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
1284         <sysdeps/x86_64/dl-procinfo.c> instead of
1285         sysdeps/generic/dl-procinfo.c>.
1286         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
1287         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
1288         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
1289         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
1290         [$(subdir) == elf] (tests-static): Add
1291         tst-get-cpu-features-static.
1292         * sysdeps/x86/Versions: New file.
1293         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
1294         * sysdeps/x86/cpu-features.c: Likewise.
1295         * sysdeps/x86/cpu-features.h: Likewise.
1296         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
1297         * sysdeps/x86/libc-start.c: Likewise.
1298         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1299         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
1300         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
1301         * sysdeps/x86_64/dl-procinfo.c: Likewise.
1302         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
1303         Assume USE_MULTIARCH is defined and don't check it.
1304         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
1305         (is_amd): Likewise.
1306         (max_cpuid): Likewise.
1307         (intel_check_word): Likewise.
1308         (__cache_sysconf): Don't call __init_cpu_features.
1309         (__x86_preferred_memory_instruction): Removed.
1310         (init_cacheinfo): Don't call __init_cpu_features. Replace
1311         __cpu_features with GLRO(dl_x86_cpu_features).
1312         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
1313         (dl_platform_init): Call init_cpu_features.
1314         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
1315         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
1316         * sysdeps/x86_64/multiarch/Versions: Removed.
1317         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
1318         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
1319         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
1320         Removed.
1321         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
1323 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1325         [BZ #18820]
1326         * libio/Makefile (test-fmemopen-mem): New test.
1327         * libio/test-fmemopen.c (do_bz18820): New test.
1328         * libio/fmemopen.c (__fmemopen): Fix memory leak.
1329         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
1331 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1333         [BZ #16734]
1334         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
1335         (FREE_BUF): Delete.
1336         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
1337         * libio/genops.c (_IO_setb): Use malloc and free directly.
1338         (_IO_default_doallocate, _IO_default_finish): Likewise.
1339         ( _IO_unbuffer_all): Likewise.
1340         ( libc_freeres_fn): Likewise.
1341         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1342         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1343         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
1344         (_IO_wdefault_doallocate): Likewise.
1346 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1348         [BZ #18086]
1349         * sysdeps/posix/nice.c (nice): Restore old errno.
1350         * posix/tst-nice.c (do_test): Add test for BZ #18086.
1352 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
1354         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
1356 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1358         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
1359         __bcopy and add a weak_alias to bcopy.
1360         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
1361         for static build.
1363         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
1364         cleanup macro usage.
1365         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
1366         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
1367         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1368         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
1369         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1370         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
1371         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
1372         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1373         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1374         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
1375         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1376         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
1377         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1378         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
1379         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1380         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
1381         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
1382         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
1383         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1385         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
1386         libc_hidden_def.
1387         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
1389         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
1390         (sysdep_routines): Add strstr-ppc64.
1391         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
1393 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1395         [BZ #18778]
1396         * elf/Makefile (tests): Add Add tst-nodelete2.
1397         (modules-names): Add tst-nodelete2mod.
1398         (tst-nodelete2mod.so-no-z-defs): New.
1399         ($(objpfx)tst-nodelete2): Likewise.
1400         ($(objpfx)tst-nodelete2.out): Likewise.
1401         (LDFLAGS-tst-nodelete2): Likewise.
1402         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
1403         out of loop through all loaded libraries.
1404         * elf/tst-nodelete2.c: New file.
1405         * elf/tst-nodelete2mod.c: Likewise.
1407 2015-08-11  Andreas Schwab  <schwab@suse.de>
1409         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
1410         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
1411         (__openat64_nocancel): Likewise.
1413 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
1415         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
1416         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
1417         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
1418         * math/auto-libm-test-out: Regenerated.
1419         * sysdeps/i386/fpu/libm-test-ulps: Update.
1420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1422 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1424         [BZ #18790]
1425         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
1426         threshold for returning +/- 1.
1427         * math/auto-libm-test-in: Add more tests of tanh.
1428         * math/auto-libm-test-out: Regenerated.
1429         * sysdeps/i386/fpu/libm-test-ulps: Update.
1431 2015-08-10  Andreas Schwab  <schwab@suse.de>
1433         [BZ #18781]
1434         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
1435         MORE_OFLAGS to oflag.
1436         * io/test-lfs.c (do_test): Test openat64.
1438 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1440         [BZ #18789]
1441         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
1442         smaller threshold for returning the argument.
1443         * math/auto-libm-test-in: Add more tests of sinh.
1444         * math/auto-libm-test-out: Regenerated.
1445         * sysdeps/i386/fpu/libm-test-ulps: Update.
1447 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
1449         [BZ #18674]
1450         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
1451         break.
1453 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
1455         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
1456         (generated): Don't add $(addprefix z.,$(tzfiles)).
1458 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1460         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
1461         * scripts/sysd-rules.awk: Likewise.
1463 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1465         * iconvdata/tst-tables.sh: Change echo -n to printf.
1466         * nss/db-Makefile: Likewise.
1467         * posix/tst-getconf.sh: Likewise.
1468         * stdio-common/tst-unbputc.sh: Likewise.
1470 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1472         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
1473         MADV_*_PAGES defines behind this feature check.
1475 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
1477         [BZ #18480]
1478         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
1479         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
1480         Define.
1481         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
1482         LOAD_REGS_5, LOAD_REGS_6): Update.
1483         (INTERNAL_SYSCALL): Update using new LOAD defines.
1484         (INTERNAL_SYSCALL_NCS): Likewise.
1485         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
1487 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1489         [BZ #16734]
1490         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
1492 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1494         [BZ #17905]
1495         * catgets/Makefile (tst-catgets-mem): New test.
1496         * catgets/catgets.c (catopen): Don't use unbounded alloca.
1497         * catgets/open_catalog.c (__open_catalog): Likewise.
1498         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
1500 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
1502         [BZ #18787]
1503         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
1504         clobber registers.
1505         (atomic_compare_and_exchange_val_acq): Use register asms to assign
1506         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
1507         Cast return to __typeof (oldval).
1509 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
1511         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
1512         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
1513         and delete sys/syscall.h include.
1515 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
1517         [BZ #16517]
1518         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
1519         (tan): Force underflow exception for arguments with small absolute
1520         value.
1521         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
1522         (__kernel_tanf): Force underflow exception for arguments with
1523         small absolute value.
1524         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
1525         (__kernel_tanl): Force underflow exception for arguments with
1526         small absolute value.
1527         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
1528         (__kernel_tanl): Force underflow exception for arguments with
1529         small absolute value.
1530         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
1531         (__kernel_tanl): Force underflow exception for arguments with
1532         small absolute value.
1533         * math/auto-libm-test-in: Add more tests of tan.
1534         * math/auto-libm-test-out: Regenerated.
1536 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1538         Fix sysdeps/i386/fpu/s_scalbn.S build
1540         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
1542 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
1544         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1546 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1548         Fix gcrt0.o compilation
1550         When static-start-installed-name is different from
1551         start-installed-name, we must not use the shared objects.
1553         * csu/Makefile
1554         (extra-objs): Add gmon-start.o when building shared library and
1555         $(static-start-installed-name) is different from
1556         $(start-installed-name).
1557         $(objpfx)g$(static-start-installed-name): When building shared
1558         library and $(static-start-installed-name) is different from
1559         $(static-start-installed-name), revert to non-shared rule,
1560         i.e. using $(objpfx)% and gmon-start.o.
1562 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
1564         [BZ #16519]
1565         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
1566         (__ieee754_sinh): Force underflow exception for arguments with
1567         small absolute value.
1568         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
1569         (__ieee754_sinhf): Force underflow exception for arguments with
1570         small absolute value.
1571         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
1572         (__ieee754_sinhl): Force underflow exception for arguments with
1573         small absolute value.
1574         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
1575         (__ieee754_sinhl): Force underflow exception for arguments with
1576         small absolute value.
1577         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
1578         (__ieee754_sinhl): Force underflow exception for arguments with
1579         small absolute value.
1580         * math/auto-libm-test-in: Add more tests of sinh.
1581         * math/auto-libm-test-out: Regenerated.
1582         * sysdeps/i386/fpu/libm-test-ulps: Update.
1584 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1586         * libio/oldfileops.c: Include unistd.h.
1588 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
1590         * stdlib/isomac.c: Include ctype.h.
1592 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
1594         * dirent/tst-seekdir.c (main): Converted to ...
1595         (do_test): ... this.
1596         (TEST_FUNCTION): New macro.
1597         Include test-skeleton.c.
1598         * elf/tst-dlmodcount.c (main): Converted to ...
1599         (do_test): ... this.
1600         (TEST_FUNCTION): New macro.
1601         Include test-skeleton.c.
1602         * elf/tst-order-main.c (main): Converted to ...
1603         (do_test): ... this.
1604         (TEST_FUNCTION): New macro.
1605         Include test-skeleton.c.
1606         * elf/tst-pie2.c (main): Converted to ...
1607         (do_test): ... this.
1608         (TEST_FUNCTION): New macro.
1609         Include test-skeleton.c.
1610         * inet/tst-ether_aton.c (main): Converted to ...
1611         (do_test): ... this.
1612         (TEST_FUNCTION): New macro.
1613         Include test-skeleton.c.
1614         * misc/tst-mntent.c (main): Converted to ...
1615         (do_test): ... this.
1616         (TEST_FUNCTION): New macro.
1617         Include test-skeleton.c.
1618         * misc/tst-tsearch.c (main): Converted to ...
1619         (do_test): ... this.
1620         (TEST_FUNCTION): New macro.
1621         Include test-skeleton.c.
1622         * posix/tst-regexloc.c (main): Converted to ...
1623         (do_test): ... this.
1624         (TEST_FUNCTION): New macro.
1625         Include test-skeleton.c.
1626         * resolv/tst-aton.c (main): Converted to ...
1627         (do_test): ... this.
1628         (TEST_FUNCTION): New macro.
1629         Include test-skeleton.c.
1630         * stdio-common/test-fwrite.c (main): Converted to ...
1631         (do_test): ... this.
1632         (TEST_FUNCTION): New macro.
1633         Include test-skeleton.c.
1634         * stdio-common/tst-ferror.c (main): Converted to ...
1635         (do_test): ... this.
1636         (TEST_FUNCTION): New macro.
1637         Include test-skeleton.c.
1638         * stdio-common/tst-printf.c (main): Converted to ...
1639         (do_test): ... this.
1640         (TEST_FUNCTION): New macro.
1641         Include test-skeleton.c.
1642         * stdio-common/tst-printfsz.c (main): Converted to ...
1643         (do_test): ... this.
1644         (TEST_FUNCTION): New macro.
1645         Include test-skeleton.c.
1646         * stdlib/tst-strtod.c (main): Converted to ...
1647         (do_test): ... this.
1648         (TEST_FUNCTION): New macro.
1649         Include test-skeleton.c.
1650         * string/tst-strlen.c (main): Converted to ...
1651         (do_test): ... this.
1652         (TEST_FUNCTION): New macro.
1653         Include test-skeleton.c.
1654         * string/tst-svc.c (main): Converted to ...
1655         (do_test): ... this.
1656         (TEST_FUNCTION): New macro.
1657         Include test-skeleton.c.
1658         * time/tst-strptime.c (main): Converted to ...
1659         (do_test): ... this.
1660         (TEST_FUNCTION): New macro.
1661         Include test-skeleton.c.
1662         * timezone/tst-timezone.c (main): Converted to ...
1663         (do_test): ... this.
1664         (TEST_FUNCTION): New macro.
1665         Include test-skeleton.c.
1667 2015-08-05  Zack Weinberg  <zackw@panix.com>
1669         * misc/regexp.h: Update comments.
1671 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
1673         [BZ #18635]
1674         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
1675         before return label.
1677 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1679         [BZ #18661]
1680         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
1681         when calling __errno_location.
1682         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
1683         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
1685 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1687         [BZ #18661]
1688         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
1689         (__lll_timedwait_tid): Align stack to 16 bytes when calling
1690         __gettimeofday.
1692 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1694         [BZ #18661]
1695         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1696         (__start_context): Don't use pop to restore %rdi so that stack
1697         is aligned to 16 bytes when calling __setcontext.
1699 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1701         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
1702         only for libc.
1703         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1705 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1707         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
1708         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
1709         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
1711 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1713         * string/memccpy.c (memccpy):
1714         Improve performance by using memchr/memcpy/__mempcpy.
1716 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1718         * string/strncpy.c (strncpy):
1719         Improve performance by using __strnlen/memcpy.
1721 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1723         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1724         Optimize to avoid an unnecessary FPCR read.
1726 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1728         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1729         Optimize to reduce FPCR/FPSR accesses.
1731 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1733         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1734         dead->data[category] != NULL.
1736 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
1738         [BZ #18647]
1739         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1740         and |x| close to 1, use absolute value of x when computing log.
1741         * math/auto-libm-test-in: Add more tests of pow.
1742         * math/auto-libm-test-out: Regenerated.
1744 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1746         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1747         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1748         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1750 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
1752         [BZ #18525]
1753         * locales/km_KH: Remove timezone definition.
1754         * locales/lo_LA: Likewise.
1755         * locales/my_MM: Likewise.
1756         * locales/nan_TW@latin: Likewise.
1757         * locales/th_TH: Likewise.
1758         * locales/uk_UA: Likewise.
1760 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1762         [BZ #18265]
1763         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1764         (wcsncat): Likewise.
1765         (wcscmp): Likewise.
1766         (wcsncmp): Likewise.
1768 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1770         * test-skeleton.c (usage): New function.
1771         (main): Call usage when opt is '?'.
1773 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1775         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1776         before first use.
1778 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1780         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1781         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1782         in there too.
1784 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1786         * version.h (RELEASE): Set to "development".
1787         (VERSION): Set to "2.22.90"
1789         * version.h (RELEASE): Set to "stable".
1790         (VERSION): Set to "2.22"
1791         * include/features.h (__GLIBC_MINOR__): Set to 22.
1793 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1795         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1796         Restructure macro to avoid "value computed is not used" warning.
1797         (atomic_compare_and_exchange_val_acq): Likewise.
1799 2015-08-04  Andreas Schwab  <schwab@suse.de>
1801         [BZ #18635]
1802         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1803         ret.
1804         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1806 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1808         * po/pl.po: Updated translation.
1809         * po/uk.po: Likewise.
1810         * po/fi.po: Likewise.
1811         * po/ko.po: Likewise.
1812         * po/ru.po: Likewise.
1813         * po/vi.po: Likewise.
1815 2015-07-31  Zack Weinberg  <zackw@panix.com>
1817         [BZ #18681]
1818         * regexp.h: Add unconditional #warning stating that this header
1819         will be removed soon.  Revise banner comment to match.
1820         (compile): Consistently use ERROR instead of RETURN to report
1821         errors (partial fix for bz#18681).
1822         * regexp.c: Don't include regexp.h. Remove some unnecessary
1823         declarations.
1825 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1827         * po/libc.pot: Regenerated.
1829 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1831         [BZ #18740]
1832         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1833         float-vlen4-arch-ext-cflags): Removed.
1834         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1835         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1837 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1839         [BZ #14113]
1840         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1841         aligned to __aligned__.
1842         (pthread_cond_t, pthread_rwlock_t): Likewise.
1844 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1846         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1848 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1850         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1851         (struct sigaction): Change sa_flags from a long to an int, and add
1852         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1854 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1856         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1857         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1858         sysdeps/generic/sysdep.h include.
1859         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1860         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1861         sysdeps/hppa/sysdep.h.
1862         (ENTRY, PSEUDO): Undefine before defining.
1864 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1866         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1867         from scratch to use INTERNAL_SYSCALL.
1869 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1871         [BZ #18078]
1872         * scripts/check-localplt.awk: Support alternate relocations.
1873         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1874         sections.
1875         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1876         malloc entries with + REL R_386_GLOB_DAT.
1877         * sysdeps/x86_64/localplt.data: New file.
1879 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1881         [BZ #18731]
1882         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1883         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1884         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1886 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1888         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1890 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1892         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1893         directly in terms of __sync_fetch_and_add and delete (int) cast.
1895 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1897         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1898         the -D_ASM_IA64_CURRENT_H flag.
1900 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1902         [BZ #18641]
1903         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1905 2015-07-27  Andreas Schwab  <schwab@suse.de>
1907         * conform/conformtest.pl (checknamespace): Filter out string
1908         literals while tokenizing.
1910 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1912         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1913         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1914         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1916 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1918         * nptl/tst-join7mod.c: Add #include <string.h>.
1920 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1922         * sysdeps/nios2/libm-test-ulps: Update.
1924 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1926         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1927         Fix order of arguments to the rt_sigprocmask syscall.
1928         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1929         Likewise.
1931 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1933         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1935 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1937         [BZ #18457]
1938         * nptl/Makefile (tests): New test case tst-join7.
1939         (modules-names): New test case module tst-join7mod.
1940         * nptl/tst-join7.c: New file.
1941         * nptl/tst-join7mod.c: New file.
1942         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1943         all translation units in libc.so, libpthread.so and rtld.
1945 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1947         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1949 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1951         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1952         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1953         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1954         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1955         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1956         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1957         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1958         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1959         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1960         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1961         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1962         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1963         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1964         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1965         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1966         implementation.
1968 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1970         [BZ #17711]
1971         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1972         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1973         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1974         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1975         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1976         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1978 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1980         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1981         instead of just saying load lock in the comments.
1983 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1985         * sysdeps/unix/Subdirs: Moved ...
1986         * sysdeps/posix/Subdirs: ... here.
1987         * login/pty.h (struct termios, struct winsize): Add forward decls.
1988         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1989         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1990         * sysdeps/arm/nacl/libc.abilist: Updated.
1991         * sysdeps/nacl/libutil.abilist: New file.
1993         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1994         (SIGWINCH): New macro.
1996         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1997         * sysdeps/arm/nacl/libc.abilist: Add it.
1999 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
2001         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
2003 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
2005         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2006         Swap __glibc_reserved0 and sa_flags order.
2008 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2010         [BZ #18657]
2011         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
2012         are pending TLS destructor calls.
2013         * include/link.h (struct link_map): Add concurrency note for
2014         L_TLS_DTOR_COUNT.
2015         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2016         Don't touch the link map flag.  Atomically increment
2017         l_tls_dtor_count.
2018         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
2019         Avoid taking the load lock and don't touch the link map flag.
2020         * stdlib/tst-tls-atexit-nodelete.c: New test case.
2021         * stdlib/Makefile (tests): Use it.
2022         * stdlib/tst-tls-atexit.c (do_test): dlopen
2023         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
2024         to allow tst-tls-atexit-nodelete test case to use it.
2026 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
2028         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
2029         to bits/types.h.
2030         (msgqnum_t): New typedef.
2031         (msglen_t): Likewise.
2032         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
2033         and msg_qbytes type to msglen_t.
2035 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
2037         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
2038         pad0 to __glibc_reserved0.
2039         (struct stat64): Likewise.
2041 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
2043         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2044         Change sa_flags from a long to an int and add __glibc_reserved0 before
2045         it for padding.
2047 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
2049         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
2050         anonymous by deleting "siginfo" name.
2052 2015-07-21  Roland McGrath  <roland@hack.frob.com>
2054         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
2055         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
2056         rather than __nacl_irt_filename.
2057         * sysdeps/nacl/xstat.c (__xstat): Likewise.
2059         * NEWS: New item for arm-nacl port.
2060         * sysdeps/arm/nacl/libc.abilist: New file.
2061         * sysdeps/nacl/ld.abilist: New file.
2062         * sysdeps/nacl/libBrokenLocale.abilist: New file.
2063         * sysdeps/nacl/libanl.abilist: New file.
2064         * sysdeps/nacl/libcrypt.abilist: New file.
2065         * sysdeps/nacl/libdl.abilist: New file.
2066         * sysdeps/nacl/libm.abilist: New file.
2067         * sysdeps/nacl/libpthread.abilist: New file.
2068         * sysdeps/nacl/libresolv.abilist: New file.
2069         * sysdeps/nacl/librt.abilist: New file.
2071 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
2073         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
2074         __startcontext to initialize the new context.
2075         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
2076         up CFI directive to forbid further backtracing.
2078 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
2080         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
2081         reference.
2082         * charmaps/ANSI_X3.4-1968: Likewise.
2083         * charmaps/BS_4730: Likewise.
2084         * charmaps/BS_VIEWDATA: Likewise.
2085         * charmaps/CP1250: Likewise.
2086         * charmaps/CP1251: Likewise.
2087         * charmaps/CP1252: Likewise.
2088         * charmaps/CP1253: Likewise.
2089         * charmaps/CP1254: Likewise.
2090         * charmaps/CP1255: Likewise.
2091         * charmaps/CP1256: Likewise.
2092         * charmaps/CSN_369103: Likewise.
2093         * charmaps/EBCDIC-DK-NO: Likewise.
2094         * charmaps/GB_1988-80: Likewise.
2095         * charmaps/GREEK-CCITT: Likewise.
2096         * charmaps/GREEK7: Likewise.
2097         * charmaps/INIS-8: Likewise.
2098         * charmaps/ISIRI-3342: Likewise.
2099         * charmaps/ISO_2033-1983: Likewise.
2100         * charmaps/ISO_5427-EXT: Likewise.
2101         * locales/POSIX: Likewise.
2102         * locales/ar_SA: Likewise.
2103         * locales/be_BY: Likewise.
2104         * locales/be_BY@latin: Likewise.
2105         * locales/ca_ES: Likewise.
2106         * locales/cs_CZ: Likewise.
2107         * locales/da_DK: Likewise.
2108         * locales/de_BE: Likewise.
2109         * locales/de_CH: Likewise.
2110         * locales/de_LU: Likewise.
2111         * locales/en_AU: Likewise.
2112         * locales/en_BW: Likewise.
2113         * locales/en_CA: Likewise.
2114         * locales/en_DK: Likewise.
2115         * locales/en_GB: Likewise.
2116         * locales/en_IE: Likewise.
2117         * locales/en_NZ: Likewise.
2118         * locales/en_ZA: Likewise.
2119         * locales/en_ZW: Likewise.
2120         * locales/es_AR: Likewise.
2121         * locales/es_BO: Likewise.
2122         * locales/es_CL: Likewise.
2123         * locales/es_CO: Likewise.
2124         * locales/es_DO: Likewise.
2125         * locales/es_EC: Likewise.
2126         * locales/es_ES: Likewise.
2127         * locales/es_HN: Likewise.
2128         * locales/es_MX: Likewise.
2129         * locales/es_PA: Likewise.
2130         * locales/es_PE: Likewise.
2131         * locales/es_PY: Likewise.
2132         * locales/es_SV: Likewise.
2133         * locales/es_US: Likewise.
2134         * locales/es_UY: Likewise.
2135         * locales/es_VE: Likewise.
2136         * locales/et_EE: Likewise.
2137         * locales/fa_IR: Likewise.
2138         * locales/fo_FO: Likewise.
2139         * locales/fr_CA: Likewise.
2140         * locales/fr_CH: Likewise.
2141         * locales/gv_GB: Likewise.
2142         * locales/he_IL: Likewise.
2143         * locales/hr_HR: Likewise.
2144         * locales/id_ID: Likewise.
2145         * locales/is_IS: Likewise.
2146         * locales/it_CH: Likewise.
2147         * locales/iw_IL: Likewise.
2148         * locales/kl_GL: Likewise.
2149         * locales/ko_KR: Likewise.
2150         * locales/kw_GB: Likewise.
2151         * locales/lg_UG: Likewise.
2152         * locales/lt_LT: Likewise.
2153         * locales/lv_LV: Likewise.
2154         * locales/mi_NZ: Likewise.
2155         * locales/nhn_MX: Likewise.
2156         * locales/nl_BE: Likewise.
2157         * locales/pl_PL: Likewise.
2158         * locales/sk_SK: Likewise.
2159         * locales/sl_SI: Likewise.
2160         * locales/sv_FI: Likewise.
2161         * locales/tl_PH: Likewise.
2162         * locales/tr_TR: Likewise.
2163         * locales/vi_VN: Likewise.
2165 2015-07-21  Khem Raj  <raj.khem@gmail.com>
2167         [BZ #17475]
2168         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
2169         of tu_IN and bh_IN.
2171 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
2173         [BZ #18694]
2174         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
2175         bits/wordsize.h.
2176         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
2178 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2180         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
2181         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
2182         (spawn_thread): New function.
2183         (load): Rename to reg_dtor_and_close.  Move dlopen to...
2184         (do_test): ... here.  Use IS_LOADED to test for its
2185         availability.
2187 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
2189         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2191 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
2193         [BZ #18696]
2194         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
2195         si_addr_bnd.
2196         (si_lower): New.
2197         (si_upper): Likewise.
2199 2015-07-16  David S. Miller  <davem@davemloft.net>
2201         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2203 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2205         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
2206         buffer.
2207         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
2208         fail output information.
2210 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2212         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
2213         and strstr-ppc64..
2214         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2215         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
2216         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
2217         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
2218         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
2220 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2222         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2223         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2224         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2225         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2227 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2229         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2230         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
2231         rtld_hidden_proto.
2232         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
2234 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2236         * tst-nodelete-opened.c (do_test): Add comment to clarify how
2237         the test can fail.
2239         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
2241         [BZ #18676]
2242         * elf/tst-nodelete-opened.c: New test case.
2243         * elf/tst-nodelete-opened-lib.c: New test case module.
2244         * elf/Makefile (tests, modules-names): Use them.
2245         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
2246         early.
2248 2015-07-15  David S. Miller  <davem@davemloft.net>
2250         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
2251         futex-intenal.h
2252         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
2253         * sysdeps/sparc/sparc64/Makefile: Likewise.
2254         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2255         Remove space from macro define.
2256         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
2258 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
2260         [BZ #17475]
2261         * locale/iso-639.def: Update Bhili and Tulu language codes as
2262         per iso639-3.
2264 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
2266         * elf/tst-leaks1.c (main): Converted to ...
2267         (do_test): ... this.
2268         (TEST_FUNCTION): New macro.
2269         Include test-skeleton.c.
2270         * localedata/tst-langinfo.c (main): Converted to ...
2271         (do_test): ... this.
2272         (TEST_FUNCTION): New macro.
2273         Include test-skeleton.c.
2274         * math/test-fpucw.c (main): Converted to ...
2275         (do_test): ... this.
2276         (TEST_FUNCTION): New macro.
2277         Include test-skeleton.c.
2278         * math/test-tgmath.c (main): Converted to ...
2279         (do_test): ... this.
2280         (TEST_FUNCTION): New macro.
2281         Include test-skeleton.c.
2282         * math/test-tgmath2.c (main): Converted to ...
2283         (do_test): ... this.
2284         (TEST_FUNCTION): New macro.
2285         Include test-skeleton.c.
2286         * setjmp/tst-setjmp.c (main): Converted to ...
2287         (do_test): ... this.
2288         (TEST_FUNCTION): New macro.
2289         Include test-skeleton.c.
2290         * stdio-common/tst-sscanf.c (main): Converted to ...
2291         (do_test): ... this.
2292         (TEST_FUNCTION): New macro.
2293         Include test-skeleton.c.
2294         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
2295         (do_test): ... this.
2296         (TEST_FUNCTION): New macro.
2297         Include test-skeleton.c.
2299         * elf/tst-audit9.c (main): Converted to ...
2300         (do_test): ... this.
2301         (TEST_FUNCTION): New macro.
2302         Include test-skeleton.c.
2304 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
2306         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
2308 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2310         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
2311         New variable.
2313 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2315         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2317 2015-07-14  Roland McGrath  <roland@hack.frob.com>
2319         * sysdeps/generic/dl-fileid.h: New file.
2320         * sysdeps/posix/dl-fileid.h: New file.
2321         * sysdeps/nacl/dl-fileid.h: New file.
2322         * include/link.h: Include <dl-fileid.h>.
2323         (struct link_map): Replace l_dev and l_ino with l_file_id.
2324         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
2325         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
2326         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
2328 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2330         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
2332 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2334         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
2335         Add iff $CXX is set.
2336         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
2337         Likewise.
2338         (tst-nodelete-zmodiff): Likewise.
2339         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
2341 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2343         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
2345 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2347         * sysdeps/aarch64/fpu/math_private.h
2348         (define math_opt_barrier): Add AArch64 version.
2349         (math_force_eval): Likewise.
2351 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2353         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
2355 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2357         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
2358         %ld with %jd and cast to intmax_t.
2359         (do_test_length_zero): Likewise.
2361 2015-07-10  Roland McGrath  <roland@hack.frob.com>
2363         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
2365 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
2367         * sysdeps/tile/libm-test-ulps: Regenerated.
2369         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
2370         Comment out the whole function, not just its body.
2372 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2374         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
2375         locks.
2377         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
2379 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2381         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
2382         (sem_assume_only_signals_cause_futex_EINTR): Remove.
2384 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2386         * sysdeps/nptl/futex-internal.h: New file.
2387         * sysdeps/nacl/futex-internal.h: New file.
2388         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
2389         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
2390         error checking.
2391         (setxid_unmark_thread): Likewise.
2392         (__nptl_setxid): Likewise.
2393         (__wait_lookup_done): Likewise.
2394         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
2395         * nptl/nptl-init.c (sighandler_setxid): Likewise.
2396         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2397         * nptl/pthread_once.c (clear_once_control): Likewise.
2398         (__pthread_once_slow): Likewise.
2399         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2400         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
2401         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
2402         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2403         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
2404         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
2405         Likewise.
2406         (__pthread_rwlock_rdlock): Likewise.
2407         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2408         Likewise.
2409         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2410         Likewise.
2411         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2412         Likewise.
2413         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
2414         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
2415         Likewise.
2416         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
2417         __ASSUME_PRIVATE_FUTEX check.
2418         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
2419         Check that shared futexes are supported.
2420         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
2421         wrappers with error checking.
2422         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
2423         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
2424         * nptl/pthread_barrierattr_setpshared.c
2425         (pthread_barrierattr_setpshared): Check that shared futexes are
2426         supported.
2427         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
2428         Likewise.
2429         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
2430         Likewise.
2431         * nptl/sem_init.c (futex_private_if_supported): Remove.
2432         (__new_sem_init): Adapt and check that shared futexes are supported.
2433         * nptl/sem_open.c (sem_open): Likewise.
2434         * nptl/sem_post.c (futex_wake): Remove.
2435         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
2436         (do_futex_wait): Use futex wrappers with error checking.
2437         * nptl/sem_wait.c: Include lowlevellock.h.
2438         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
2439         Use futex_supports_pshared.
2440         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
2441         Use futex wrappers with error checking.
2442         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
2443         Likewise.
2444         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
2445         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
2446         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
2447         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
2448         (futex_wake): Likewise.
2449         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
2450         (do_futex_wait): Use futex wrappers with error checking.
2451         (__new_sem_wait_slow): Update EINTR handling.
2452         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
2454 2015-07-09  Martin Sebor  <msebor@redhat.com>
2456         [BZ #18435]
2457         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2458         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
2459         * nptl/Makefile (test-xfail-tst-once5): Define.
2461 2015-07-09  Roland McGrath  <roland@hack.frob.com>
2463         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
2464         * elf/dl-minimal.c: For readability, reorder some definitions and
2465         introduce more page breaks.  Include <stdio.h>.
2466         (__libc_fatal): New function.
2468         * include/unistd.h: Add rtld_hidden_proto for _exit.
2469         * posix/_exit.c: Add rtld_hidden_def.
2470         * sysdeps/mach/hurd/_exit.c: Likewise.
2471         * sysdeps/nacl/_exit.c: Likewise.
2472         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
2473         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
2475 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
2477         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
2478         bndmov encoding with zero displacement.
2480 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
2481             H.J. Lu  <hongjiu.lu@intel.com>
2483         [BZ #18134]
2484         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
2485         * sysdeps/i386/configure: Regenerated.
2486         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2487         (_dl_runtime_profile): Save and restore Intel MPX return bound
2488         registers when calling _dl_call_pltexit.  Add
2489         PRESERVE_BND_REGS_PREFIX before return.
2490         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
2491         (LRV_BND1_OFFSET): Likewise.
2492         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
2493         lrv_bnd1.
2494         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
2495         typo in bndmov encoding.
2496         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
2497         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
2498         branch instructions to preserve bounds.
2500 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2503         [GLIBC_2.22]: Add fmemopen.
2505 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2507         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
2508         returns an error, also try to use host port from __mach_host_self for
2509         the __vm_wire call.
2510         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
2512 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2514         [BZ #18400]
2515         [BZ #18648]
2516         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
2517         Fix pr_uid and pr_gid members.
2518         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
2519         definition to elf_greg_t.
2521 2015-07-08  Roland McGrath  <roland@hack.frob.com>
2523         [BZ #18383]
2524         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
2525         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
2526         * sysdeps/arm/configure: Regenerated.
2527         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
2528         (test-xfail-tst-tlsalign-static): Variable removed.
2530         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
2531         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
2532         rather than explicit 'ln -s'.
2534         * resolv/rpc/netdb.h: New file.
2535         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
2537 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2539         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
2540         length buffers.
2541         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2542         test-skeleton.c.
2544         [BZ #6544]
2545         [BZ #11216]
2546         [BZ #12836]
2547         [BZ #13151]
2548         [BZ #13152]
2549         [BZ #14292]
2550         * include/stdio.h (fmemopen): Remove hidden prototype.
2551         (__fmemopen): Add new hidden prototype.
2552         * libio/Makefile: Add oldfmemopen object.
2553         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
2554         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
2555         compliance.
2556         * libio/oldfmemopen.c: New file: old fmemopen implementation for
2557         symbol compatibility.
2558         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
2559         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
2560         fmemopen.
2561         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
2562         on append and read mode.
2563         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
2564         fmemopen.
2565         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
2566         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
2567         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
2568         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
2569         Likewise.
2570         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2571         [GLIBC_2.22]: Likewise.
2572         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
2573         Likewise.
2574         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
2575         Likewise.
2576         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2577         [GLIBC_2.22]: Likewise.
2578         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2579         [GLIBC_2.22]: Likewise.
2580         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2581         [GLIBC_2.22]: Likewise.
2582         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2583         [GLIBC_2.22]: Likewise.
2584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2585         [GLIBC_2.22]: Likewise.
2586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2587         [GLIBC_2.22]: Likewise.
2588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2589         [GLIBC_2.22]: Likewise.
2590         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
2591         Likewise.
2592         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
2593         Likewise.
2594         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
2595         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2596         [GLIBC_2.22]: Likewise.
2597         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2598         [GLIBC_2.22]: Likewise.
2599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2600         [GLIBC_2.22]: Likewise.
2601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2602         [GLIBC_2.22]: Likewise.
2603         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
2604         Likewise.
2605         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
2606         Likewise.
2607         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
2608         Likewise.
2609         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
2610         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
2612 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2614         [BZ #18643]
2615         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
2616         IPV6_PATHMTU, and IPV6_DONTFRAG.
2618 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
2620         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
2621         and _IO_UNBUFFERED.
2622         * libio/oldfileops.c: Likewise.
2623         * libio/wfileops.c: Likewise.
2625 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2627         * nscd/selinux.c: Delete selinux/flask.h include.
2629 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2631         [BZ #18641]
2632         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
2633         (putpwent): Likewise.
2634         (getpwnam): Likewise.
2635         (getpwent_r): Likewise.
2636         (getpwuid_r): Likewise.
2637         (getpwnam_r): Likewise.
2638         (fgetpwent_r): Likewise.
2640 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2642         [BZ #18557]
2643         * inet/rcmd.c (__validuser2_sa): Check user first to
2644         short-circuit host check.
2646 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
2647             Mikhail Ilin  <m.ilin@samsung.com>
2649         [BZ #17833]
2650         * elf/Makefile (tests): Add tst-nodelete.
2651         (modules-names): Add tst-nodelete-uniquemod.
2652         (tst-nodelete-uniquemod.so-no-z-defs): New.
2653         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
2654         (tst-nodelete-zmod.so-no-z-defs): Likewise.
2655         ($(objpfx)tst-nodelete): Likewise.
2656         ($(objpfx)tst-nodelete.out): Likewise.
2657         (LDFLAGS-tst-nodelete): Likewise.
2658         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
2659         * elf/dl-close.c (_dl_close_worker): Add a parameter to
2660         implement forced object deletion.
2661         (_dl_close): Pass false to _dl_close_worker.
2662         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
2663         * elf/tst-nodelete.cc: New file.
2664         * elf/tst-nodeletelib.cc: Likewise.
2665         * elf/tst-znodeletelib.cc: Likewise.
2666         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
2668 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2670         [BZ #18508]
2671         * stdlib/Makefile ($(objpfx)tst-makecontext3):
2672         Depend on $(libdl).
2673         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
2674         is not called infinitely times.
2675         (backtrace_helper): New function.
2676         (trace_arg): New struct.
2677         (st1): Enlarge stack size.
2678         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2679         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
2680         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2681         Likewise.
2683 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2685         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2687 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2689         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
2690         Include sys/types.h instead of bits/types.h.
2691         Remove inclusion of bits/wordsize.h.
2693 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2695         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
2696         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
2697         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
2698         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
2699         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
2700         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
2702 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2704         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
2705         link-defines.sym.
2706         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
2707         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
2708         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
2709         and LR_SIZE.
2710         * sysdeps/i386/link-defines.sym: New file.
2712 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2714         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
2715         (modules-names): Add tst-auditmod3a tst-auditmod3b.
2716         ($(objpfx)tst-audit3): New rule.
2717         ($(objpfx)tst-audit3.out): Likewise.
2718         * sysdeps/i386/tst-audit3.c: New file.
2719         * sysdeps/i386/tst-audit3.h: Likewise.
2720         * sysdeps/i386/tst-auditmod3a.c: Likewise.
2721         * sysdeps/i386/tst-auditmod3b.c: Likewise.
2723 2015-07-07  Torvald Riegel  <triegel@redhat.com>
2725         [BZ #18633]
2726         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2727         pointer in C code.
2728         (__strcat_c): Likewise.
2729         (__strcat_g): Likewise.
2731 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
2733         [BZ #18592]
2734         * misc/sbrk.c: Set errno to ENOMEM on overflow.
2736 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2738         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2739         New function.  (__ieee754_sqrtf): New function.
2740         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2741         New function.
2742         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2743         New function.
2745 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2747         * sysdeps/ieee754/support.c: Remove unused file.
2749 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2751         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2752         registers instead of d ones so the layout is kernel abi compatible.
2753         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2754         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2755         Likewise.
2757 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2759         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2761 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2763         [BZ #18619]
2764         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2765         and return argument in case of subnormal argument.
2767 2015-07-01  Martin Sebor  <msebor@redhat.com>
2769         [BZ #18435]
2770         * nptl/Makefile: Add tst-once5.cc.
2771         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2772         Remove macro redefinitions.
2773         * nptl/tst-once5.cc: New test.
2775 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2777         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2779         * sysdeps/arm/libm-test-ulps: Regenerated.
2781         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2782         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2784 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2786         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2787         lll_lock_wait_private and lll_futex_wake probes.
2789         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2790         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2791         Likewise.
2792         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2793         atomic_spin_nop.
2794         * sysdeps/x86_64/bits/atomic.h: Likewise.
2795         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2796         to atomic_spin_nop and move ...
2797         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2798         ... here and ...
2799         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2800         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2801         atomic_spin_nop instead of BUSY_WAIT_NOP.
2802         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2803         Likewise.
2804         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2805         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2806         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2807         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2808         instead of atomic_delay.
2810 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2812         [BZ #18613]
2813         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2814         X_ADJ not X when adjusting exponent.
2815         (__ieee754_gamma_r): Do intermediate computations in
2816         round-to-nearest then adjust overflowing and underflowing results
2817         as needed.
2818         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2819         of X_ADJ not X when adjusting exponent.
2820         (__ieee754_gammaf_r): Do intermediate computations in
2821         round-to-nearest then adjust overflowing and underflowing results
2822         as needed.
2823         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2824         log of X_ADJ not X when adjusting exponent.
2825         (__ieee754_gammal_r): Do intermediate computations in
2826         round-to-nearest then adjust overflowing and underflowing results
2827         as needed.  Use 1.0L not 1.0f as numerator of division.
2828         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2829         log of X_ADJ not X when adjusting exponent.
2830         (__ieee754_gammal_r): Do intermediate computations in
2831         round-to-nearest then adjust overflowing and underflowing results
2832         as needed.  Use 1.0L not 1.0f as numerator of division.
2833         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2834         of X_ADJ not X when adjusting exponent.
2835         (__ieee754_gammal_r): Do intermediate computations in
2836         round-to-nearest then adjust overflowing and underflowing results
2837         as needed.  Use 1.0L not 1.0f as numerator of division.
2838         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2839         to auto-libm-test-in.
2840         (tgamma_test): Use ALL_RM_TEST.
2841         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2842         tests of tgamma with spurious-overflow.
2843         * math/auto-libm-test-out: Regenerated.
2844         * math/gen-libm-have-vector-test.sh: Do not check for START.
2845         * sysdeps/i386/fpu/libm-test-ulps: Update.
2846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2848         [BZ #18612]
2849         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2850         arguments, just return 0.5 times the argument, with underflow
2851         forced as needed.
2852         * math/auto-libm-test-in: Add more tests of j1.
2853         * math/auto-libm-test-out: Regenerated.
2855         [BZ #16559]
2856         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2857         (__ieee754_j1): Force underflow exception for small results.
2858         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2859         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2860         (__ieee754_j1f): Force underflow exception for small results.
2861         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2862         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2863         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2864         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2865         (__ieee754_j1l): Force underflow exception for small results.
2866         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2867         * math/auto-libm-test-in: Add more tests of j1 and jn.
2868         * math/auto-libm-test-out: Regenerated.
2870         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2871         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2872         (PF_MPLS): Likewise.
2873         (AF_IB): Likewise.
2874         (AF_MPLS): Likewise.
2875         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2876         value and macro.
2877         (MS_RMT_MASK): Include MS_LAZYTIME.
2879 2015-06-26  Mel Gorman  <mgorman@suse.de>
2881         [BZ #18502]
2882         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2883         already minimal.
2885 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2887         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2888         (DT_MIPS_NUM): Update.
2889         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2890         DT_MIPS_RLD_MAP_REL.
2892 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2894         [BZ #16559]
2895         [BZ #18602]
2896         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2897         round-to-nearest internally then recompute results that
2898         underflowed to zero in the original rounding mode.
2899         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2900         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2901         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2902         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2903         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2904         * sysdeps/i386/fpu/libm-test-ulps: Update.
2905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2907 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2909         * NEWS: Fixed description of link with vector math library.
2911 2015-06-25  Andreas Schwab  <schwab@suse.de>
2913         [BZ #18549]
2914         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2915         * libio/test-fmemopen.c (do_test): Add test for it.
2917 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2919         [BZ #17841]
2920         * Makeconfig (no-pie-ldflag): New.
2921         (+link): Set to $(+link-pie) if default to PIE.
2922         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2923         * config.make.in (build-pie-default): New.
2924         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2925         is default.  AC_SUBST.
2926         * configure: Regenerated.
2927         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2929 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2931         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2932         to 'unsigned int'.
2934         * resolv/gai_misc.h (struct waitlist): Change type of field
2935         counterp to 'volatile unsigned int *'.
2936         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2937         FUTEXADDR and OLDVAL.
2938         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2939         Give local variable TOTAL type 'volatile unsigned int'.
2940         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2941         * resolv/gai_suspend.c (gai_suspend):
2942         Give local variable CNTR type 'unsigned int'.
2944         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2945         counterp to 'volatile unsigned int *'.
2946         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2947         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2948         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2949         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2950         Give local variable TOTAL type 'volatile unsigned int'.
2951         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2953 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2955         [BZ #18383]
2956         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2957         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2958         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2959         comment for i386/x86-64.
2960         (test-xfail-tst-tlsalign-extern-static): Removed.
2962 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2964         * math/test-double.h: New file.
2965         * math/test-float.h: Likewise.
2966         * math/test-ldouble.h: Likewise.
2967         * math/test-math-inline.h: Likewise.
2968         * math/test-math-no-inline.h: Likewise.
2969         * math/test-math-scalar.h: Likewise.
2970         * math/test-math-vector.h: Likewise.
2971         * math/test-vec-loop.h: Remove file.  Contents moved into
2972         test-math-vector.h.
2973         * math/libm-test.inc (MATHCONST): Do not document macro.
2974         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2975         and test-math-scalar.h.
2976         (FUNC): Remove macro.
2977         (FUNC_TEST): Likewise.
2978         (FLOAT): Likewise.
2979         (MATHCONST): Likewise.
2980         (PRINTF_EXPR): Likewise.
2981         (PRINTF_XEXPR): Likewise.
2982         (PRINTF_NEXPR): Likewise.
2983         (TEST_DOUBLE): Likewise.
2984         (TEST_MATHVEC): Likewise.
2985         (__NO_MATH_INLINES): Likewise.
2986         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2987         and test-math-scalar.h.
2988         (FUNC): Remove macro.
2989         (FUNC_TEST): Likewise.
2990         (FLOAT): Likewise.
2991         (MATHCONST): Likewise.
2992         (PRINTF_EXPR): Likewise.
2993         (PRINTF_XEXPR): Likewise.
2994         (PRINTF_NEXPR): Likewise.
2995         (TEST_FLOAT): Likewise.
2996         (TEST_MATHVEC): Likewise.
2997         (__NO_MATH_INLINES): Likewise.
2998         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2999         and test-math-scalar.h.
3000         (FUNC): Remove macro.
3001         (FUNC_TEST): Likewise.
3002         (FLOAT): Likewise.
3003         (MATHCONST): Likewise.
3004         (PRINTF_EXPR): Likewise.
3005         (PRINTF_XEXPR): Likewise.
3006         (PRINTF_NEXPR): Likewise.
3007         (TEST_DOUBLE): Likewise.
3008         (TEST_MATHVEC): Likewise.
3009         (TEST_INLINE): Likewise.
3010         (__NO_MATH_INLINES): Likewise.
3011         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
3012         test-math-scalar.h.
3013         (FUNC): Remove macro.
3014         (FUNC_TEST): Likewise.
3015         (FLOAT): Likewise.
3016         (MATHCONST): Likewise.
3017         (PRINTF_EXPR): Likewise.
3018         (PRINTF_XEXPR): Likewise.
3019         (PRINTF_NEXPR): Likewise.
3020         (TEST_FLOAT): Likewise.
3021         (TEST_MATHVEC): Likewise.
3022         (TEST_INLINE): Likewise.
3023         (__NO_MATH_INLINES): Likewise.
3024         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
3025         and test-math-scalar.h.
3026         (FUNC): Remove macro.
3027         (FUNC_TEST): Likewise.
3028         (FLOAT): Likewise.
3029         (MATHCONST): Likewise.
3030         (PRINTF_EXPR): Likewise.
3031         (PRINTF_XEXPR): Likewise.
3032         (PRINTF_NEXPR): Likewise.
3033         (TEST_LDOUBLE): Likewise.
3034         (TEST_MATHVEC): Likewise.
3035         (TEST_INLINE): Likewise.
3036         (__NO_MATH_INLINES): Likewise.
3037         * math/test-ldouble.c: Include test-ldouble.h,
3038         test-math-no-inline.h and test-math-scalar.h.
3039         (FUNC): Remove macro.
3040         (FUNC_TEST): Likewise.
3041         (FLOAT): Likewise.
3042         (MATHCONST): Likewise.
3043         (PRINTF_EXPR): Likewise.
3044         (PRINTF_XEXPR): Likewise.
3045         (PRINTF_NEXPR): Likewise.
3046         (TEST_LDOUBLE): Likewise.
3047         (TEST_MATHVEC): Likewise.
3048         (__NO_MATH_INLINES): Likewise.
3049         * math/test-double-vlen2.h: Include test-double.h,
3050         test-math-no-inline.h and test-math-vector.h.
3051         (FLOAT): Remove macro.
3052         (FUNC): Likewise.
3053         (MATHCONST): Likewise.
3054         (PRINTF_EXPR): Likewise.
3055         (PRINTF_XEXPR): Likewise.
3056         (PRINTF_NEXPR): Likewise.
3057         (TEST_DOUBLE): Likewise.
3058         (TEST_MATHVEC): Likewise.
3059         (__NO_MATH_INLINES): Likewise.
3060         (CNCT): Likewise.
3061         (CONCAT): Likewise.
3062         (WRAPPER_NAME): Likewise.
3063         (WRAPPER_DECL): Likewise.
3064         (WRAPPER_DECL_ff): Likewise.
3065         (WRAPPER_DECL_fFF): Likewise.
3066         (VECTOR_WRAPPER): Likewise.
3067         (VECTOR_WRAPPER_ff): Likewise.
3068         (VECTOR_WRAPPER_fFF): Likewise.
3069         (VEC_LEN): New macro.
3070         * math/test-double-vlen4.h: Include test-double.h,
3071         test-math-no-inline.h and test-math-vector.h.
3072         (FLOAT): Remove macro.
3073         (FUNC): Likewise.
3074         (MATHCONST): Likewise.
3075         (PRINTF_EXPR): Likewise.
3076         (PRINTF_XEXPR): Likewise.
3077         (PRINTF_NEXPR): Likewise.
3078         (TEST_DOUBLE): Likewise.
3079         (TEST_MATHVEC): Likewise.
3080         (__NO_MATH_INLINES): Likewise.
3081         (CNCT): Likewise.
3082         (CONCAT): Likewise.
3083         (WRAPPER_NAME): Likewise.
3084         (WRAPPER_DECL): Likewise.
3085         (WRAPPER_DECL_ff): Likewise.
3086         (WRAPPER_DECL_fFF): Likewise.
3087         (VECTOR_WRAPPER): Likewise.
3088         (VECTOR_WRAPPER_ff): Likewise.
3089         (VECTOR_WRAPPER_fFF): Likewise.
3090         (VEC_LEN): New macro.
3091         * math/test-double-vlen8.h: Include test-double.h,
3092         test-math-no-inline.h and test-math-vector.h.
3093         (FLOAT): Remove macro.
3094         (FUNC): Likewise.
3095         (MATHCONST): Likewise.
3096         (PRINTF_EXPR): Likewise.
3097         (PRINTF_XEXPR): Likewise.
3098         (PRINTF_NEXPR): Likewise.
3099         (TEST_DOUBLE): Likewise.
3100         (TEST_MATHVEC): Likewise.
3101         (__NO_MATH_INLINES): Likewise.
3102         (CNCT): Likewise.
3103         (CONCAT): Likewise.
3104         (WRAPPER_NAME): Likewise.
3105         (WRAPPER_DECL): Likewise.
3106         (WRAPPER_DECL_ff): Likewise.
3107         (WRAPPER_DECL_fFF): Likewise.
3108         (VECTOR_WRAPPER): Likewise.
3109         (VECTOR_WRAPPER_ff): Likewise.
3110         (VECTOR_WRAPPER_fFF): Likewise.
3111         (VEC_LEN): New macro.
3112         * math/test-float-vlen4.h: Include test-float.h,
3113         test-math-no-inline.h and test-math-vector.h.
3114         (FLOAT): Remove macro.
3115         (FUNC): Likewise.
3116         (MATHCONST): Likewise.
3117         (PRINTF_EXPR): Likewise.
3118         (PRINTF_XEXPR): Likewise.
3119         (PRINTF_NEXPR): Likewise.
3120         (TEST_FLOAT): Likewise.
3121         (TEST_MATHVEC): Likewise.
3122         (__NO_MATH_INLINES): Likewise.
3123         (CNCT): Likewise.
3124         (CONCAT): Likewise.
3125         (WRAPPER_NAME): Likewise.
3126         (WRAPPER_DECL): Likewise.
3127         (WRAPPER_DECL_ff): Likewise.
3128         (WRAPPER_DECL_fFF): Likewise.
3129         (VECTOR_WRAPPER): Likewise.
3130         (VECTOR_WRAPPER_ff): Likewise.
3131         (VECTOR_WRAPPER_fFF): Likewise.
3132         (VEC_LEN): New macro.
3133         * math/test-float-vlen8.h: Include test-float.h,
3134         test-math-no-inline.h and test-math-vector.h.
3135         (FLOAT): Remove macro.
3136         (FUNC): Likewise.
3137         (MATHCONST): Likewise.
3138         (PRINTF_EXPR): Likewise.
3139         (PRINTF_XEXPR): Likewise.
3140         (PRINTF_NEXPR): Likewise.
3141         (TEST_FLOAT): Likewise.
3142         (TEST_MATHVEC): Likewise.
3143         (__NO_MATH_INLINES): Likewise.
3144         (CNCT): Likewise.
3145         (CONCAT): Likewise.
3146         (WRAPPER_NAME): Likewise.
3147         (WRAPPER_DECL): Likewise.
3148         (WRAPPER_DECL_ff): Likewise.
3149         (WRAPPER_DECL_fFF): Likewise.
3150         (VECTOR_WRAPPER): Likewise.
3151         (VECTOR_WRAPPER_ff): Likewise.
3152         (VECTOR_WRAPPER_fFF): Likewise.
3153         (VEC_LEN): New macro.
3154         * math/test-float-vlen16.h: Include test-float.h,
3155         test-math-no-inline.h and test-math-vector.h.
3156         (FLOAT): Remove macro.
3157         (FUNC): Likewise.
3158         (MATHCONST): Likewise.
3159         (PRINTF_EXPR): Likewise.
3160         (PRINTF_XEXPR): Likewise.
3161         (PRINTF_NEXPR): Likewise.
3162         (TEST_FLOAT): Likewise.
3163         (TEST_MATHVEC): Likewise.
3164         (__NO_MATH_INLINES): Likewise.
3165         (CNCT): Likewise.
3166         (CONCAT): Likewise.
3167         (WRAPPER_NAME): Likewise.
3168         (WRAPPER_DECL): Likewise.
3169         (WRAPPER_DECL_ff): Likewise.
3170         (WRAPPER_DECL_fFF): Likewise.
3171         (VECTOR_WRAPPER): Likewise.
3172         (VECTOR_WRAPPER_ff): Likewise.
3173         (VECTOR_WRAPPER_fFF): Likewise.
3174         (VEC_LEN): New macro.
3175         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
3176         test-vec-loop.h.
3177         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3178         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3179         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3180         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3181         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3182         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3183         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3185 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3187         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
3188         (__getlogin_r): ... this.
3190 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3192         [BZ #18594]
3193         * math/s_ccosh.c (__ccosh): Compare with least normal value
3194         instead of comparing class with FP_SUBNORMAL.
3195         * math/s_ccoshf.c (__ccoshf): Likewise.
3196         * math/s_ccoshl.c (__ccoshl): Likewise.
3197         * math/s_cexp.c (__cexp): Likewise.
3198         * math/s_cexpf.c (__cexpf): Likewise.
3199         * math/s_cexpl.c (__cexpl): Likewise.
3200         * math/s_csin.c (__csin): Likewise.
3201         * math/s_csinf.c (__csinf): Likewise.
3202         * math/s_csinh.c (__csinh): Likewise.
3203         * math/s_csinhf.c (__csinhf): Likewise.
3204         * math/s_csinhl.c (__csinhl): Likewise.
3205         * math/s_csinl.c (__csinl): Likewise.
3206         * math/s_ctan.c (__ctan): Likewise.
3207         * math/s_ctanf.c (__ctanf): Likewise.
3208         * math/s_ctanh.c (__ctanh): Likewise.
3209         * math/s_ctanhf.c (__ctanhf): Likewise.
3210         * math/s_ctanhl.c (__ctanhl): Likewise.
3211         * math/s_ctanl.c (__ctanl): Likewise.
3212         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
3213         csin, csinh, ctan and ctanh.
3214         * math/auto-libm-test-out: Regenerated.
3215         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
3216         * sysdeps/i386/fpu/libm-test-ulps: Update.
3217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3219 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3221         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
3222         return value is wrong, print the expected value too.
3224 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
3226         [BZ #18585]
3227         * elf/readlib.c (is_gdb_python_file): New.
3228         (process_file): Don't issue errors on filenames with -gdb.py
3229         suffix.
3231 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3233         * math/auto-libm-test-in: Add more tests of csin and csinh.
3234         * math/auto-libm-test-out: Regenerated.
3235         * math/libm-test.inc (csin_test_data): Remove tests moved to
3236         auto-libm-test-in.
3237         (csinh_test_data): Likewise.
3239         [BZ #18593]
3240         * math/s_csin.c (__csin): Negate before rather than after possibly
3241         overflowing multiplication.
3242         * math/s_csinf.c (__csinf): Likewise.
3243         * math/s_csinh.c (__csinh): Likewise.
3244         * math/s_csinhf.c (__csinhf): Likewise.
3245         * math/s_csinhl.c (__csinhl): Likewise.
3246         * math/s_csinl.c (__csinl): Likewise.
3247         * math/auto-libm-test-in: Add some tests of csin and csinh.
3248         * math/auto-libm-test-out: Regenerated.
3249         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
3250         (csinh_test_data): Likewise.
3251         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3253         [BZ #18586]
3254         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
3255         underflow exception for small results.
3257 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
3259         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3260         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
3261         variable and included header.
3262         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
3263         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
3264         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
3265         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
3266         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
3267         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3268         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3269         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
3270         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
3271         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
3272         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
3273         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
3274         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
3275         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
3276         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
3277         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
3279 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3281         [BZ #16526]
3282         [BZ #16538]
3283         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
3284         (__sin): Force underflow exception for arguments with small
3285         absolute value.
3286         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
3287         (__kernel_sinf): Force underflow exception for arguments with
3288         small absolute value.
3289         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
3290         (__kernel_sincosl): Force underflow exception for arguments with
3291         small absolute value.
3292         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
3293         (__kernel_sinl): Force underflow exception for arguments with
3294         small absolute value.
3295         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
3296         (__kernel_sincosl): Force underflow exception for arguments with
3297         small absolute value.
3298         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
3299         (__kernel_sinl): Force underflow exception for arguments with
3300         small absolute value.
3301         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
3302         (__kernel_sinl): Force underflow exception for arguments with
3303         small absolute value.
3304         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
3305         (__kernel_sinf): Force underflow exception for arguments with
3306         small absolute value.
3307         * math/auto-libm-test-in: Add more tests of sin and sincos.
3308         * math/auto-libm-test-out: Regenerated.
3310         [BZ #18245]
3311         [BZ #18583]
3312         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
3313         (__kernel_standard_l): Use feholdexcept and fesetenv around
3314         conversion to double instead of special-casing overflow and
3315         underflow.
3316         * math/libm-test.inc (fmod_test_data): Add more tests.
3317         (remainder_test_data): Likewise.
3318         (sqrt_test_data): Likewise.
3320 2015-06-23  Torvald Riegel  <triegel@redhat.com>
3322         [BZ #17403]
3323         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
3324         atomic_read_barrier, atomic_write_barrier): Define.
3325         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
3326         atomic_read_barrier, atomic_write_barrier): Define.
3328 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3330         * math/Makefile [$(PERL) != no]
3331         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
3332         dependency on libm-test.stmp below the inclusion of Rules.
3334 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
3336         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3337         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
3338         and included header.
3339         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
3340         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
3341         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
3342         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
3343         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
3344         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
3345         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3346         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3347         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
3348         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
3349         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
3350         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
3351         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
3352         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
3353         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
3354         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
3355         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
3356         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
3357         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
3359 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3361         [BZ #18371]
3362         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
3363         intermediate but not final result might underflow.
3364         * math/s_csqrtf.c (__csqrtf): Likewise.
3365         * math/s_csqrtl.c (__csqrtl): Likewise.
3366         * math/auto-libm-test-in: Add more tests of csqrt.
3367         * math/auto-libm-test-out: Regenerated.
3368         * sysdeps/i386/fpu/libm-test-ulps: Update.
3370         [BZ #18219]
3371         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
3372         threshold on absolute value of exponent for which scaling is used.
3373         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3374         * math/auto-libm-test-in: Add more tests of exp2.
3375         * math/auto-libm-test-out: Regenerated.
3377 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
3379         [BZ #17977]
3380         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
3381         when initializing interface list, based on the bug analysis
3382         and the patch proposed by Eric Newton.
3383         * resolv/tst-res_hconf_reorder.c: New test.
3384         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
3385         tst-res_hconf_reorder.
3386         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
3387         and $(shared-thread-library).
3388         (tst-res_hconf_reorder-ENV): New variable.
3390         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
3391         in comment.
3393 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
3395         [BZ #16353]
3396         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
3397         (__expm1): Force underflow exception for arguments with small
3398         absolute value.
3399         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
3400         (__expm1f): Force underflow exception for arguments with small
3401         absolute value.
3402         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
3403         (__expm1): Force underflow exception for arguments with small
3404         absolute value.
3405         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
3406         (__expm1f): Force underflow exception for arguments with small
3407         absolute value.
3408         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3409         Check for small arguments before calling __expm1.
3410         * math/auto-libm-test-in: Do not mark underflow exceptions as
3411         possibly missing for bug 16353.
3412         * math/auto-libm-test-out: Regenerated.
3414 2015-06-22  Andreas Schwab  <schwab@suse.de>
3416         [BZ #18513]
3417         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
3418         PTR queries.
3420 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
3422         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
3424         * string/strcoll_l.c: Remove unused struct element idxnow.
3426 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
3428         [BZ #18569]
3429         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
3430         underflow and return argument in case of subnormal argument.
3431         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3432         Likewise.
3433         * math/auto-libm-test-in: Add more tests of expm1.
3434         * math/auto-libm-test-out: Regenerated.
3436         [BZ #16361]
3437         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3438         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3439         tiny results.
3440         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3441         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3442         tiny results.
3443         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
3444         mark underflow exceptions as possibly missing for bug 16361.
3445         * math/auto-libm-test-out: Regenerated.
3447 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
3449         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
3450         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
3451         Remove variable.
3452         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3453         (test-xfail-XOPEN2K8/utmpx.h/conform).
3455         * conform/conformtest.pl ($xerrors): New variable.
3456         (note_error): New function.
3457         (compiletest): New argument $xfail.  Use not_error.
3458         (runtest): Likewise.
3459         (top level): Handle xfail- lines.  Update calls to compiletest and
3460         runtest.  Handle xfail- and optional- in headers listed with
3461         allow-header.
3462         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
3463         (O_EXEC): Likewise.
3464         (O_SEARCH): Likewise.
3465         * conform/data/stropts.h-data (ioctl): Likewise.
3466         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
3467         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
3468         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
3469         (msghdr.msg_controllen): Likewise.
3470         (cmsghdr.cmsg_len): Likewise.
3471         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
3472         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
3473         variable.
3474         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3475         (test-xfail-XPG4/stropts.h/conform): Likewise.
3476         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3477         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3478         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3479         (test-xfail-UNIX98/stropts.h/conform): Likewise.
3480         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3481         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3482         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3483         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3484         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3485         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3486         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3487         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3488         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3489         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3490         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3491         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3492         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3493         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3494         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3496 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3498         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
3499         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
3500         definitions for proper unfolding of __MATHDECL_VEC.
3502 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3504         * benchtests/bench-strcoll.c:
3505         Include string.h.
3506         (main): Remove unused variable res.
3508 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3510         * timezone/Makefile (%/UTC %/Universal):
3511         Generate test-result files for UTC and Universal.
3513 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3515         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3517 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
3519         [BZ #16350]
3520         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
3521         for arguments with small absolute value.
3522         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
3523         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
3524         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
3525         (__asinh): Force underflow exception for arguments with small
3526         absolute value.
3527         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
3528         (__asinhf): Force underflow exception for arguments with small
3529         absolute value.
3530         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
3531         (__asinhl): Force underflow exception for arguments with small
3532         absolute value.
3533         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
3534         (__asinhl): Force underflow exception for arguments with small
3535         absolute value.
3536         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
3537         (__asinhl): Force underflow exception for arguments with small
3538         absolute value.
3539         * math/auto-libm-test-in: Do not mark underflow exceptions as
3540         possibly missing for bug 16350.
3541         * math/auto-libm-test-out: Regenerated.
3543         * include/bits/ipc.h: Remove file.
3544         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
3545         variable.
3546         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3547         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3548         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3549         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3550         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3551         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3552         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3553         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3554         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3556         * math/auto-libm-test-in: Remove spurious underflow allowance for
3557         tests of cexp.
3558         * math/auto-libm-test-out: Regenerated.
3560         [BZ #18558]
3561         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
3562         unconditional definition.
3563         (MCAST_BLOCK_SOURCE): Likewise.
3564         (MCAST_UNBLOCK_SOURCE): Likewise.
3565         (MCAST_LEAVE_GROUP): Likewise.
3566         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3567         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3568         (MCAST_MSFILTER): Likewise.
3569         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
3570         Remove variable.
3571         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3572         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3573         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3574         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3575         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3577 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
3579         * NEWS: Mention addition of x86_64 vector sincosf.
3580         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
3581         * math/test-float-vlen4.h: Likewise.
3582         * math/test-float-vlen8.h: Likewise.
3583         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3584         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
3585         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3586         * sysdeps/x86_64/fpu/Versions: New versions added.
3587         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3588         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3589         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3590         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
3591         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3592         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
3593         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3594         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
3595         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3596         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
3597         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
3598         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
3599         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
3600         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
3601         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
3602         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
3603         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
3604         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3605         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3606         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3607         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3608         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3609         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3610         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3612         * NEWS: Mention addition of x86_64 vector sincos.
3613         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
3614         * math/math.h (__MATHDECL_VEC): New macro.
3615         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
3616         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
3617         declaration under condition.
3618         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
3619         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
3620         TEST_VEC_LOOP change.
3621         * math/test-double-vlen4.h: Likewise.
3622         * math/test-double-vlen8.h: Likewise.
3623         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
3624         * math/test-float-vlen4.h: Likewise.
3625         * math/test-float-vlen8.h: Likewise.
3626         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3627         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
3628         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3629         * sysdeps/x86_64/fpu/Versions: New versions added.
3630         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3631         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3632         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3633         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
3634         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
3635         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
3636         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
3637         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
3638         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
3639         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
3640         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
3641         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
3642         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
3643         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
3644         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
3645         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
3646         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
3647         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3648         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3649         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3650         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3651         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3652         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3653         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3655         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3656         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3657         redirections for powf.
3658         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3659         * sysdeps/x86_64/fpu/Versions: New versions added.
3660         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3661         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3662         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3663         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
3664         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
3665         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
3666         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
3667         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
3668         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
3669         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
3670         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
3671         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
3672         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
3673         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
3674         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
3675         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
3676         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
3677         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3678         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3679         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3680         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3681         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3682         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3683         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3684         * math/test-float-vlen16.h: Fixed 2 argument macro.
3685         * math/test-float-vlen4.h: Likewise.
3686         * math/test-float-vlen8.h: Likewise.
3687         * NEWS: Mention addition of x86_64 vector powf.
3689 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
3691         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3692         and redefine.
3693         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3694         and redefine.
3695         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
3696         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3697         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3699         [BZ #18553]
3700         * resource/getpriority.c (getpriority): Rename to __getpriority
3701         and define as weak alias of __getpriority.
3702         * resource/setpriority.c (setpriority): Rename to __setpriority
3703         and define as weak alias of __setpriority.
3704         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
3705         __getpriority and define as weak alias of __getpriority.
3706         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
3707         __setpriority and define as weak alias of __setpriority.
3708         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
3709         strong name.
3710         (setpriority): Use __setpriority as strong name.
3711         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
3712         __getpriority and define as weak alias of __getpriority.
3713         * include/sys/resource.h (__getpriority): Declare.  Use
3714         libc_hidden_proto.
3715         (__setpriority): Likewise.
3716         (getpriority): Don't use libc_hidden_proto.
3717         (setpriority): Likewise.
3718         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
3719         getpriority.  Call __setpriority instead of setpriority.
3720         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
3721         Remove variable.
3723         [BZ #18547]
3724         * misc/getttyent.c (getttynam): Rename to __getttynam and define
3725         as weak alias of __getttynam.  Use prototype function definition.
3726         Call __setttyent, __getttyent and __endttyent instead of
3727         setttyent, getttyent and endttyent.
3728         (getttyent): Rename to __getttyent and define as weak alias of
3729         __getttyent.  Call __setttyent instead of setttyent.  Call
3730         __fgets_unlocked instead of fgets_unlocked.
3731         (setttyent): Rename to __setttyent and define as weak alias of
3732         __setttyent.
3733         (endttyent): Rename to __endttyent and define as weak alias of
3734         __endttyent.
3735         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
3736         (__setttyent): Likewise.
3737         (__endttyent): Likewise.
3738         (getttyent): Don't use libc_hidden_proto.
3739         (setttyent): Likewise.
3740         (endttyent): Likewise.
3741         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3742         __endttyent instead of setttyent, getttyent and endttyent.
3743         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3744         Remove variable.
3746         [BZ #18546]
3747         * socket/recv.c (__recv): Use libc_hidden_def.
3748         * socket/socket.c (__socket): Likewise.
3749         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3750         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3751         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3752         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3753         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3754         libc_hidden_def.
3755         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3756         libc_hidden_weak.
3757         * include/sys/socket.h (__socket): Do not use attribute_hidden.
3758         Use libc_hidden_proto.
3759         (__recv): Likewise.
3760         * socket/Versions (libc): Export __recv and __socket at version
3761         GLIBC_PRIVATE.
3762         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3763         instead of recv.
3764         (init_mq_netlink): Call __socket instead of socket.
3765         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3766         Remove variable.
3768         [BZ #18545]
3769         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3770         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3771         hidden_weak.
3772         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3773         define as alias of __mq_timedsend.  Use hidden_weak.
3774         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3775         __mq_timedsend as strong name.
3776         (mq_timedreceive): Use __mq_timedreceive as strong name.
3777         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3778         (__mq_timedreceive): Likewise.
3779         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3780         __mq_timedreceive instead of mq_timedreceive.
3781         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3782         instead of mq_timedsend.
3783         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3784         Remove variable.
3786         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3787         hidden_def and hidden_weak instead of libc_hidden_def and
3788         libc_hidden_weak.
3789         (top level): Refer to hidden_def in comment.
3790         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3791         macro.  Use it instead of libc_hidden_def.
3792         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3793         specify __GI_* name explicitly.
3794         (mq_timedreceive): Likewise.
3795         (mq_setattr): Likewise.
3797         [BZ #18544]
3798         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3799         __pthread_barrier_init and define as weak alias of
3800         __pthread_barrier_init.
3801         * sysdeps/sparc/nptl/pthread_barrier_init.c
3802         (pthread_barrier_init): Likewise.
3803         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3804         __pthread_barrier_wait and define as weak alias of
3805         __pthread_barrier_wait.
3806         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3807         (pthread_barrier_wait): Likewise.
3808         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3809         (pthread_barrier_wait): Likewise.
3810         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3811         (pthread_barrier_wait): Likewise.
3812         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3813         (pthread_barrier_wait): Likewise.
3814         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3815         __pthread_barrier_wait at version GLIBC_PRIVATE.
3816         * include/pthread.h (__pthread_barrier_init): Declare.
3817         (__pthread_barrier_wait): Likewise.
3818         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3819         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3820         (helper_thread): Likewise.
3821         (init_mq_netlink): Call __pthread_barrier_init instead of
3822         pthread_barrier_init.
3824         [BZ #18542]
3825         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3826         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3827         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3828         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3829         vswscanf.
3830         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3831         Remove variable.
3833         [BZ #18540]
3834         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3835         strong alias of _IO_fflush.  Use libc_hidden_def.
3836         * libio/iofflush_u.c (fflush_unlocked): Rename to
3837         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3838         Use libc_hidden_weak.
3839         * include/stdio.h (__fflush_unlocked): Declare.  Use
3840         libc_hidden_proto.
3841         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3842         fflush_unlocked.
3843         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3844         Remove variable.
3846         [BZ #18539]
3847         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3848         define as weak alias of __addseverity.
3849         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3850         Remove variable.
3851         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3852         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3853         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3855         [BZ #18536]
3856         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3857         (__tfind): Likewise.
3858         (__tdelete): Likewise.
3859         (__twalk): Likewise.
3860         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3861         __twalk to GLIBC_PRIVATE.
3862         * include/search.h (__tsearch): Use libc_hidden_proto.
3863         (__tfind): Likewise.
3864         (__tdelete): Likewise.
3865         (__twalk): Likewise.
3866         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3867         Call __tdelete instead of tdelete.
3868         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3869         tfind.  Call __tsearch instead of tsearch.
3870         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3871         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3872         Remove variable.
3873         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3875         [BZ #18534]
3876         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3877         (dprintf): Define as a weak alias of __dprintf, not a strong
3878         alias.
3879         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3880         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3881         dprintf.
3882         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3883         Remove variable.
3884         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3885         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3887         [BZ #18533]
3888         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3889         not a strong alias.
3890         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3891         Remove variable.
3893         [BZ #18532]
3894         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3895         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3896         (in6addr_loopback): Rename to __in6addr_loopback and define as
3897         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3898         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3899         libc_hidden_proto.
3900         (__in6addr_any): Likewise.
3901         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3902         in6addr_any.
3903         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3904         variable.
3905         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3907 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3909         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3910         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3911         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3912         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3913         redirections for pow.
3914         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3915         * sysdeps/x86_64/fpu/Versions: New versions added.
3916         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3917         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3918         build of SSE, AVX2 and AVX512 IFUNC versions.
3919         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3920         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3921         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3922         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3923         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3924         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3925         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3926         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3927         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3928         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3929         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3930         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3931         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3932         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3933         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3934         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3935         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3936         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3937         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3938         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3939         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3940         * NEWS: Mention addition of x86_64 vector pow.
3942         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3943         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3944         redirections for expf.
3945         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3946         * sysdeps/x86_64/fpu/Versions: New versions added.
3947         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3948         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3949         build of SSE, AVX2 and AVX512 IFUNC versions.
3950         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3951         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3952         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3953         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3954         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3955         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3956         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3957         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3958         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3959         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3960         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3961         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3962         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3963         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3964         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3965         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3966         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3967         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3968         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3969         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3970         * NEWS: Mention addition of x86_64 vector expf.
3972         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3973         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3974         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3975         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3976         redirections for exp.
3977         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3978         * sysdeps/x86_64/fpu/Versions: New versions added.
3979         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3980         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3981         build of SSE, AVX2 and AVX512 IFUNC versions.
3982         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3983         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3984         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3985         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3986         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3987         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3988         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3989         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3990         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3991         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3992         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3993         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3994         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3995         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3996         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3997         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3998         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3999         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4000         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4001         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4002         * NEWS: Mention addition of x86_64 vector exp.
4004         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4005         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4006         redirections for logf.
4007         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4008         * sysdeps/x86_64/fpu/Versions: New versions added.
4009         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4010         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4011         build of SSE, AVX2 and AVX512 IFUNC versions.
4012         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
4013         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
4014         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
4015         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
4016         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
4017         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
4018         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
4019         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
4020         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
4021         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
4022         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
4023         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
4024         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
4025         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4026         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4027         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4028         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4029         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4030         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4031         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4032         * NEWS: Mention addition of x86_64 vector logf.
4034         * bits/libm-simd-decl-stubs.h: Added stubs for log.
4035         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
4036         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4037         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4038         redirections for log.
4039         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4040         * sysdeps/x86_64/fpu/Versions: New versions added.
4041         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4042         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4043         build of SSE, AVX2 and AVX512 IFUNC versions.
4044         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
4045         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
4046         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
4047         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
4048         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
4049         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
4050         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
4051         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
4052         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
4053         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
4054         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
4055         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
4056         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
4057         test.
4058         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4059         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4060         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4061         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4062         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4063         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4064         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4065         * NEWS: Mention addition of x86_64 vector log.
4067 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4069         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
4070         cfi_adjust_cfa_offset argument.
4071         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
4072         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
4074         [BZ #18034]
4075         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
4076         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
4077         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
4078         ordering using ldar.
4079         (_dl_tlsdesc_dynamic): Likewise.
4080         (_dl_tlsdesc_return_lazy): Likewise.
4081         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
4082         relaxed atomics instead of volatile and synchronize with release store.
4083         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
4084         volatile.
4085         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4087 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
4089         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4090         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
4091         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4092         * sysdeps/x86_64/fpu/Versions: New versions added.
4093         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4094         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4095         build of SSE, AVX2 and AVX512 IFUNC versions.
4096         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
4097         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
4098         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
4099         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
4100         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
4101         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
4102         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
4103         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
4104         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
4105         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
4106         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
4107         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
4108         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
4109         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4110         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4111         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4112         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4113         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4114         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4115         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4116         * NEWS: Mention addition of x86_64 vector sinf.
4118 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
4120         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
4121         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
4122         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
4123         Remove variable.
4124         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4125         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4127 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
4129         [BZ #18530]
4130         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
4131         strong alias of _IO_fputs.  Use libc_hidden_def.
4132         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
4133         and define as weak alias of __fputs_unlocked.  Use
4134         libc_hidden_weak.
4135         * include/stdio.h (__fputs_unlocked): Declare.  Use
4136         libc_hidden_proto.
4137         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
4138         fputs_unlocked.
4140         [BZ #18529]
4141         * resolv/netdb.h [__USE_POSIX]: Change condition to
4142         [__USE_XOPEN2K].
4143         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
4144         not expect.
4145         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
4146         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
4147         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
4148         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
4149         [XPG4 || UNIX98] (AI_ALL): Likewise.
4150         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
4151         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
4152         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
4153         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
4154         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
4155         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
4156         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
4157         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
4158         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
4159         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
4160         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
4161         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
4162         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
4163         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
4164         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
4165         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4166         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4167         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
4168         [XPG4 || UNIX98] (gai_strerror): Likewise.
4169         [XPG4 || UNIX98] (getaddrinfo): Likewise.
4170         [XPG4 || UNIX98] (getnameinfo): Likewise.
4172         [BZ #18528]
4173         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
4174         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
4175         __USE_XOPEN2K8].
4176         (getgrent): Likewise.
4177         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
4178         expect.
4179         [XPG3 || POSIX2008] (endgrent): Likewise.
4180         [XPG3] (setgrent): Likewise.
4181         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
4182         variable.
4183         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4185         [BZ #18527]
4186         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
4187         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
4188         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
4189         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4190         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
4191         * include/unistd.h (__getlogin_r): Declare.  Use
4192         libc_hidden_proto.
4193         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
4194         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
4195         variable.
4196         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4197         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4198         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4200 2015-06-12  Martin Sebor  <msebor@redhat.com>
4202         [BZ #18512]
4203         * Makerules (check-install-supported): New target.
4204         (install): Add check-install-supported as a dependency.
4205         * manual/install.texi (Installing the C Library): Document
4206         that overriding prefix and exec_prefix is not supported.
4207         Mention DESTDIR.
4208         * INSTALL: Regenerate from the above.
4210 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
4212         [BZ #18519]
4213         * posix/Versions (libc): Export __libc_pread at version
4214         GLIBC_PRIVATE.
4215         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
4216         instead of pread.
4217         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
4218         variable.
4220         [BZ #18522]
4221         * misc/efgcvt_r.c
4222         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
4223         (cvt_symbol): Use weak_alias instead of strong_alias.
4224         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
4225         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
4226         Remove variable.
4227         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4228         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4230         [BZ #18520]
4231         * inet/herrno.c (h_errno): Rename to __h_errno.
4232         (__libc_h_errno): Define as alias of __h_errno not h_errno.
4233         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
4234         to __h_errno instead of h_errno.
4235         * nptl/herrno.c (h_errno): Rename to __h_errno.
4236         (__h_errno_location): Refer to __h_errno not h_errno.
4237         * resolv/Versions (h_errno): Rename to __h_errno.
4238         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
4239         Remove variable.
4240         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4242 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
4244         * configure.ac: More strict check for AVX512 assembler support.
4245         * configure: Regenerated.
4247         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
4248         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
4249         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4250         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
4251         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4252         * sysdeps/x86_64/fpu/Versions: New versions added.
4253         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4254         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4255         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4256         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
4257         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
4258         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
4259         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
4260         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
4261         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
4262         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
4263         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
4264         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
4265         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
4266         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
4267         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
4268         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
4269         test.
4270         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4271         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4272         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4273         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4274         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4275         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4276         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4277         * NEWS: Mention addition of x86_64 vector sin.
4279 2015-06-11  Florian Weimer  <fweimer@redhat.com>
4281         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
4282         comment.
4284 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4286         [BZ #18479]
4287         * nptl/pt-interp.c: New file.
4288         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
4289         Add pt-interp.
4290         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
4291         $(common-objpfx)runtime-linker.h.
4293 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
4295         * Makeconfig (+interp): Remove unused variable.
4296         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
4297         only.  Depend on $(common-objpfx)runtime-linker.h instead of
4298         $(elf-objpfx)runtime-linker.h.
4299         ($(elf-objpfx)runtime-linker.h): Rename to
4300         $(common-objpfx)runtime-linker.h and move ...
4301         * Makerules [$(build-shared) = yes]: ... here.
4302         * elf/interp.c: Include <runtime-linker.h> instead of
4303         <elf/runtime-linker.h>.
4305 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4307         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
4308         (__gettimeofday_syscall): Remove vsyscall fallback.
4309         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
4310         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
4311         Add syscall fallback function.
4312         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
4313         if vDSO is not present.
4314         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
4315         fallback function.
4316         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
4317         present.
4318         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
4319         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4321 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
4323         [BZ #18497]
4324         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
4325         of wcscmp.
4326         (wcscmp): Define as weak alias of WCSCMP.
4327         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
4328         wcscoll.
4329         (USE_HIDDEN_DEF): Define.
4330         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
4331         __wcscoll.  Don't use libc_hidden_weak.
4332         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
4333         wcscmp.
4334         * sysdeps/i386/i686/multiarch/wcscmp-c.c
4335         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
4336         __GI_wcscmp.
4337         (weak_alias): Undefine and redefine.
4338         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
4339         __wcscmp and define as weak alias of __wcscmp.
4340         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
4341         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
4342         (__wcscoll): Likewise.
4343         (wcscmp): Don't use libc_hidden_proto.
4344         (wcscoll): Likewise.
4345         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
4346         wcscoll.
4347         * posix/regexec.c (check_node_accept_bytes): Likewise.
4348         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
4349         variable.
4350         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4351         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4353         [BZ #18507]
4354         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
4355         __fstatvfs and define as weak alias of __fstatvfs.  Use
4356         libc_hidden_weak.
4357         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
4358         and define as weak alias of __statvfs.  Use libc_hidden_weak.
4359         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
4360         Define as alias of __fstatvfs, not fstatvfs.
4361         (fstatvfs64): Likewise.
4362         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
4363         Define as alias of __statvfs, not statvfs.
4364         (statvfs64): Likewise.
4365         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
4366         Remove variable.
4368 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4371         (HAVE_GETCPU_VSYSCALL): Define.
4372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4373         (HAVE_GETCPU_VSYSCALL): Likewise.
4374         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
4375         * sysdeps/unix/sysv/linux/sched_getcpu.c
4376         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
4377         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
4378         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
4379         prototype.
4380         * sysdeps/unix/sysv/linux/x86_64/init-first.c
4381         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
4382         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
4383         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
4384         Define.
4385         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
4386         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4387         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
4388         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4390 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
4392         * sysdeps/x86_64/fpu/Makefile: New file.
4393         * sysdeps/x86_64/fpu/Versions: New file.
4394         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
4395         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
4396         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
4397         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
4398         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
4399         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
4400         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
4401         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
4402         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
4403         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
4404         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
4405         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
4406         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
4407         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4408         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4409         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
4410         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
4411         * sysdeps/x86_64/configure.ac: Options for libmvec build.
4412         * sysdeps/x86_64/configure: Regenerated.
4413         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
4414         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
4415         * manual/install.texi (Configuring and compiling): Document
4416         --disable-mathvec.
4417         * INSTALL: Regenerated.
4418         * NEWS: Mention addition of libmvec and x86_64 vector cos.
4420         * math/Makefile: Added rules for vector tests.
4421         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
4422         declaration under condition.
4423         * math/test-double-vlen2.h: New file.
4424         * math/test-double-vlen4.h: New file.
4425         * math/test-double-vlen8.h: New file.
4426         * math/test-vec-loop.h: Added initialization macro.
4427         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
4428         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
4429         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
4430         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
4431         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
4432         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
4433         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
4434         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
4435         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
4436         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
4437         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
4439         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4440         * sysdeps/x86_64/fpu/Versions: New versions added.
4441         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
4442         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
4443         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
4444         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
4445         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
4446         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
4447         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
4448         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
4449         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
4450         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
4451         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
4452         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
4453         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
4454         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4455         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4456         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4457         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
4458         * NEWS: Mention addition of x86_64 vector cosf.
4460         * math/Makefile: Added CFLAGS for new tests.
4461         * math/test-float-vlen16.h: New file.
4462         * math/test-float-vlen4.h: New file.
4463         * math/test-float-vlen8.h: New file.
4464         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
4465         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
4466         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4467         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
4468         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
4469         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
4470         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
4471         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
4472         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
4473         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
4474         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
4476 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
4478         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
4479         * locale/programs/ld-ctype.c: Likewise.
4481 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
4483         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
4484         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
4485         bit_ZMM16_31_state): New macro.
4486         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4487         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
4489 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
4491         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
4493 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
4495         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
4497 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
4499         [BZ #18498]
4500         * libio/memstream.c (open_memstream): Rename to __open_memstream
4501         and define as weak alias of __open_memstream.
4502         * include/stdio.h (__open_memstream): Declare.  Use
4503         libc_hidden_proto.
4504         (open_memstream): Don't use libc_hidden_proto.
4505         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
4506         open_memstream.
4507         * posix/getopt.c (_getopt_internal_r): Likewise.
4508         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
4509         variable.
4510         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4511         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4512         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4514         [BZ #18496]
4515         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
4516         instead of wcrtomb.
4518         [BZ #18483]
4519         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
4520         [__USE_XOPEN2K8].  Remove redundant #endif.
4521         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
4522         Remove redundant #if.
4523         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
4524         Remove variable.
4525         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4526         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4528         [BZ #18495]
4529         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
4530         (__iswlower): Likewise.
4531         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
4532         (__iswlower): Likewise.
4533         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
4534         instead of towlower.
4535         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
4536         instead of iswlower.  Call __towupper instead of towupper.
4537         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
4538         instead of iswalnum.
4540 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4542         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
4543         errors to stderr.
4545 2015-06-05  Florian Weimer  <fweimer@redhat.com>
4547         [BZ #15661]
4548         [BZ #17322]
4549         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4550         Check for overflow properly.  Check for O_APPEND.  Ignore large
4551         file system block sizes.  Add comments about problems.
4552         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
4553         * manual/filesys.texi (Storage Allocation): New node.
4555 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4557         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
4558         cancellable syscalls.
4559         (SYS_ify): Add guard to no redefine it.
4560         (INLINE_SYSCALL): Likewise.
4561         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
4562         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
4563         SYSCALL_CANCEL instead.
4564         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
4565         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4566         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4567         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4568         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4569         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
4570         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
4571         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
4572         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4573         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4574         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
4575         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
4576         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
4577         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
4578         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
4579         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4580         Likewise.
4581         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4582         (__libc_pread64): Likewise.
4583         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
4584         (__libc_preadv): Likewise.
4585         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
4586         (__libc_readv64): Likewise.
4587         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4588         (__libc_pwrite): Likewise.
4589         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4590         (__libc_pwrite64): Likewise.
4591         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
4592         (__libc_pwritev): Likewise.
4593         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
4594         (__libc_pwritev64): Likewise.
4595         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
4596         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4597         (sync_file_range): Likewise.
4598         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
4599         Likewise.
4600         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
4601         Likewise.
4602         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4603         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4604         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4605         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4606         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4607         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4608         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4609         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
4610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4611         Likewise.
4612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4613         (__libc_read64): Likewise.
4614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
4615         Likewise.
4616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
4617         Likewise.
4618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
4619         Likewise.
4620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
4621         Likewise.
4622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4623         (__libc_pread64): Likewise.
4624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
4625         Likewise.
4626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4627         (__libc_pwrite64): Likewise.
4628         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
4629         (sync_file_range): Likewise.
4630         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
4631         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4632         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4633         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
4634         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
4635         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4636         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4637         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
4638         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
4639         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4640         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4641         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4642         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4643         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4644         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
4645         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4646         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4647         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4648         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4649         Likewise.
4650         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
4651         Likewise.
4652         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
4653         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
4654         Likewise.
4655         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
4656         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
4657         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
4658         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
4659         Likewise.
4660         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
4661         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
4662         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
4663         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
4664         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
4666 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
4668         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
4669         Include dl-vdso.
4670         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
4671         Use VDSO routines for gettimeofday, clock_gettime if
4672         available.
4673         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
4674         Declare VDSO symbols.
4675         * sysdeps/unix/sysv/linux/arm/sysdep.h:
4676         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
4677         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4678         * sysdeps/unix/sysv/linux/arm/Versions: Add
4679         __vdso_clock_gettime.
4681 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4683         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
4684         be an inline implementation regardless of library is built within.
4685         (open_not_cancel_2): Likewise.
4686         (__read_nocancel): Likewise.
4687         (__write_nocancel): Likewise.
4688         (openat_not_cancel): Likewise.
4689         (openat_not_cancel_3): Likewise.
4690         (openat64_not_cancel): Likewise.
4691         (openat64_not_cancel_3): Likewise.
4692         (__close_nocancel): Likewise.
4693         (pause_not_cancel): Likewise.
4694         (nanosleep_not_cancel): Likewise.
4695         (sigsuspend_not_cancel): Likewise.
4697 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4699         [BZ #14958]
4700         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
4701         wake-up.
4702         (__pthread_rwlock_rdlock_slow): Likewise.
4703         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4704         Likewise.
4705         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4706         Likewise.
4707         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
4708         * nptl/tst-rwlock16.c: New file.
4709         * nptl/Makefile (tests): Add new test.
4711 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4713         [BZ #18324]
4714         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
4715         missing wake-up of readers.
4716         * nptl/tst-rwlock15.c: New file.
4717         * nptl/Makefile (tests): Add new test.
4719 2015-06-03  Roland McGrath  <roland@hack.frob.com>
4721         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
4722         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4723         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4724         and __nacl_supply_interface_rtld.
4725         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4726         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4727         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4728         Add __nacl_supply_interface_rtld.
4729         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4731 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4733         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4734         isfinite.
4735         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4736         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4738 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4740         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4741         __signbit* with standard C99 macros.
4742         * math/e_exp10l.c: Likewise.
4743         * math/e_exp2l.c: Likewise.
4744         * math/e_scalb.c: Likewise.
4745         * math/e_scalbf.c: Likewise.
4746         * math/e_scalbl.c: Likewise.
4747         * math/s_ldexp.c: Likewise.
4748         * math/s_ldexpf.c: Likewise.
4749         * math/s_ldexpl.c: Likewise.
4750         * math/w_atan2.c: Likewise.
4751         * math/w_atan2f.c: Likewise.
4752         * math/w_atan2l.c: Likewise.
4753         * math/w_cosh.c: Likewise.
4754         * math/w_coshf.c: Likewise.
4755         * math/w_coshl.c: Likewise.
4756         * math/w_exp10.c: Likewise.
4757         * math/w_exp10f.c: Likewise.
4758         * math/w_exp10l.c: Likewise.
4759         * math/w_exp2.c: Likewise.
4760         * math/w_exp2f.c: Likewise.
4761         * math/w_exp2l.c: Likewise.
4762         * math/w_fmod.c: Likewise.
4763         * math/w_fmodf.c: Likewise.
4764         * math/w_fmodl.c: Likewise.
4765         * math/w_hypot.c: Likewise.
4766         * math/w_hypotf.c: Likewise.
4767         * math/w_hypotl.c: Likewise.
4768         * math/w_jnl.c: Likewise.
4769         * math/w_lgamma.c: Likewise.
4770         * math/w_lgamma_r.c: Likewise.
4771         * math/w_lgammaf.c: Likewise.
4772         * math/w_lgammaf_r.c: Likewise.
4773         * math/w_lgammal.c: Likewise.
4774         * math/w_lgammal_r.c: Likewise.
4775         * math/w_pow.c: Likewise.
4776         * math/w_powf.c: Likewise.
4777         * math/w_powl.c: Likewise.
4778         * math/w_remainder.c: Likewise.
4779         * math/w_remainderf.c: Likewise.
4780         * math/w_remainderl.c: Likewise.
4781         * math/w_scalb.c: Likewise.
4782         * math/w_scalbf.c: Likewise.
4783         * math/w_scalbl.c: Likewise.
4784         * math/w_scalbln.c: Likewise.
4785         * math/w_scalblnf.c: Likewise.
4786         * math/w_scalblnl.c: Likewise.
4787         * math/w_sinh.c: Likewise.
4788         * math/w_sinhf.c: Likewise.
4789         * math/w_sinhl.c: Likewise.
4790         * math/w_tgamma.c: Likewise.
4791         * math/w_tgammaf.c: Likewise.
4792         * math/w_tgammal.c: Likewise.
4793         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4794         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4795         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4796         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4797         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4798         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4799         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4800         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4801         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4802         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4803         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4804         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4805         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4806         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4807         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4808         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4809         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4810         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4811         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4812         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4813         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4814         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4815         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4816         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4817         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4818         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4819         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4820         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4821         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4822         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4823         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4824         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4825         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4826         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4827         * stdio-common/printf_fp.c: Likewise.
4828         * stdio-common/printf_fphex.c: Likewise.
4829         * stdio-common/printf_size.c: Likewise.
4831 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4833         [BZ #18470]
4834         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4835         strnlen.
4836         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4837         Remove variable.
4838         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4839         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4840         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4841         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4842         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4843         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4844         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4845         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4846         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4847         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4849         [BZ #18468]
4850         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4851         weak alias of __wmemchr.  Use libc_hidden_weak.
4852         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4853         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4854         instead of wmemchr.
4856 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4858         [BZ #18383]
4859         * elf/tst-tlsalign-extern.c: New file.
4860         * elf/tst-tlsalign-extern-static.c: New file.
4861         * elf/tst-tlsalign-vars.c: New file.
4862         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4863         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4864         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4865         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4866         (test-xfail-tst-tlsalign-extern-static): New variable.
4868 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4870         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4871         Use variable name _sc_err instead of err.
4872         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4873         instead of ret.
4874         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4875         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4876         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4877         (INLINE_SYSCALL): Likewise.
4879         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4880         * include/string.h (__strnlen): Use libc_hidden_proto.
4881         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4882         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4883         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4884         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4885         (libc_hidden_def): Undefine and redefine.
4886         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4887         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4888         __GI_strnlen.
4889         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4890         libc_hidden_def.
4891         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4893         [BZ #18469]
4894         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4895         weak alias of __towlower.  Use libc_hidden_weak.
4896         (towupper): Rename to __towupper and define as weak alias of
4897         __towupper.  Use libc_hidden_weak.
4898         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4899         (__towupper): Likewise.
4900         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4901         __towlower instead of towlower.
4903 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4905         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4906         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4908 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4910         * sysdeps/aarch64/libm-test-ulps: Update.
4912 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4914         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4915         Define.
4916         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4917         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4918         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4919         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4920         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4921         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4922         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4924 2015-06-01  Martin Sebor  <msebor@redhat.com>
4926         [BZ #18116]
4927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4928         (__setcontext): Use extended four-operand version of mtsf whenever
4929         possible.
4930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4931         (__novec_swapcontext): Likewise.
4933 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4935         * benchtests/scripts/compare_bench.py: New file.
4936         * benchtests/scripts/import_bench.py (mean): New function.
4937         (split_list): Likewise.
4938         (do_for_all_timings): Likewise.
4939         (compress_timings): Likewise.
4941         * benchtests/scripts/import_bench.py: New file.
4942         * benchtests/scripts/validate_benchout.py: Import import_bench
4943         instead of jsonschema.
4944         (validate_bench): Remove function.
4945         (main): Use import_bench.
4947 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4949         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4950         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4952 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4956 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4958         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4959         set THREAD_SELF->tid to a magic value and futex-wake it.
4960         Pass its address to the thread_exit system call.
4961         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4962         bit is clear.
4963         * sysdeps/nacl/lowlevellock.h: New file.
4964         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4966         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4967         Add TIMEOUT to current time, don't subtract it.
4969 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4971         [BZ #2981]
4972         [BZ #18422]
4973         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4974         ($(objpfx)tst-audit2.out): Also depend on
4975         $(objpfx)tst-auditmod9b.so.
4976         * elf/tst-audit2.c: Include <dlfcn.h>.
4977         (calloc_called): New.
4978         (calloc): Allow to be called more than once.
4979         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4981 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4983         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4984         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4986 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4988         * stdlib/monetary.h: Fix comment.
4990 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4992         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4993         Avoid using variables in #defines that might cause shadowing.
4994         (INTERNAL_VSYSCALL_CALL): Likewise.
4996 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4998         * sysdeps/nacl/lll_timedlock_wait.c: New file.
5000         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
5001         * nptl/lll_timedlock_wait.c: ... to this new file.
5002         * nptl/Makefile (libpthread-routines): Add it.
5003         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
5004         * nptl/lll_timedwait_tid.c: ... to this new file.
5005         * nptl/Makefile (libpthread-routines): Add it.
5006         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
5007         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
5008         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
5009         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
5010         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
5011         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
5012         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
5013         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
5014         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
5015         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
5017 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5019         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
5020         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5021         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5022         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5023         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5024         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5025         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5026         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5027         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5028         * sysdeps/unix/sysv/linux/tile/sysdep.h
5029         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5030         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
5031         using vDSO syscall macro.
5033 2015-05-26  Andriy Rysin  <arysin@gmail.com>
5035         [BZ #17293]
5036         * uk_UA: Fix sorting order for Ukrainian locale
5038 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
5040         * stdlib/monetary.h: Fix comment.
5042 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5044         [BZ #18234]
5045         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
5046         st_mtim and st_ctim members.
5047         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
5048         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
5049         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
5050         (struct stat64): Likewise.
5051         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
5052         (struct stat64): Likewise.
5053         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
5054         (struct stat64): Likewise.
5056 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5058         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
5059         Define and include sysdep-vdso.h.
5060         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
5061         Likewise.
5062         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
5063         Likewise.
5064         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
5065         Define with VDSO_SYMBOL and use PTR_MANGLE.
5066         (__vdso_clock_gettime): Likewise.
5067         (__vdso_clock_getres): Likewise.
5068         (_libc_vdso_platform_setup): Likewise.
5069         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5070         Likewise.
5071         (_libc_vdso_platform_setup): Likewise.
5072         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
5073         Likewise.
5074         (__vdso_clock_gettime): Likewise.
5075         (__vdso_clock_getres): Likewise.
5076         (__vdso_get_tbfreq): Likewise.
5077         (__vdso_getcpu): Likewise.
5078         (__vdso_time): Likewise.
5079         (__vdso_sigtramp_rt64): Likewise.
5080         (__vdso_signtramp32): Likewise.
5081         (__vdso_sigtramp_rt32): Likewise.
5082         (_libc_vdso_platform_setup): Likewise.
5083         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
5084         Likewise.
5085         (__vdso_clock_gettime): Likewise.
5086         (__vdso_clock_getres): Likewise.
5087         (_libc_vdso_platform_setup): Likewise.
5088         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
5089         Likewise.
5090         (__vdso_clock_gettime): Likewise.
5091         (_libc_vdso_platform_setup): Likewise.
5092         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5093         Likewise.
5094         (__vdso_getcpu): Likewise.
5095         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
5096         Use VDSO_SYMBOL macro to define.
5097         (__vdso_clock_gettime): Likewise.
5098         (__vdso_clock_getres): Likewise.
5099         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
5100         Likewise.
5101         (__vdso_clock_gettime): Likewise.
5102         (__vdso_clock_getres): Likewise.
5103         (__vdso_get_tbfreq): Likewise.
5104         (__vdso_getcpu): Likewise.
5105         (__vdso_time): Likewise.
5106         (__vdso_sigtramp_rt64): Likewise.
5107         (__vdso_signtramp32): Likewise.
5108         (__vdso_sigtramp_rt32): Likewise.
5109         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
5110         Likewise.
5111         (__vdso_clock_gettime): Likewise.
5112         (__vdso_clock_getres): Likewise.
5113         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
5114         Likewise.
5115         (__vdso_clock_gettime): Likewise.
5116         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5117         Likewise.
5118         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
5119         macro.
5120         (INTERNAL_VSYSCALL): Likewise.
5121         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
5122         Remove macro.
5123         (INTERNAL_VSYSCALL): Likewise.
5124         (INTERNAL_VSYSCALL_NCS): Likewise.
5125         (INTERNAL_VSYSCALL_CALL): New macro.
5126         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5127         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
5128         Likewise.
5129         (INTERNAL_VSYSCALL): Likewise.
5130         (INTERNAL_VSYSCALL_NCS): Likewise.
5131         (INTERNAL_VSYSCALL_CALL): New macro.
5132         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5134         (INLINE_VSYSCALL): Remove macro.
5135         (INTERNAL_VSYSCALL): Remove macro.
5136         (INTERNAL_VSYSCALL_NCS): Remove macro.
5137         (INTERNAL_VSYSCALL_CALL): New macro.
5138         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
5139         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
5140         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5141         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
5142         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5144         (INLINE_VSYSCALL): Remove macro.
5145         (INTERNAL_VSYSCALL): Likewise.
5146         (INTERNAL_VSYSCALL_NCS): Likewise.
5147         (INTERNAL_VSYSCALL_CALL): New macro.
5148         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
5149         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
5150         PTR_DEMANGLE on vDSO pointer.
5151         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5152         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
5153         macro.
5154         (INTERNAL_SYSCALL): Likewise.
5155         (INTERNAL_VSYSCALL_NCS): Remove macro.
5156         (INTERNAL_VSYSCALL_CALL): New macro.
5157         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
5158         Remove macro.
5159         (INTERNAL_VSYSCALL): Likewise.
5160         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
5161         sysdep-vdso.h instead of libc-vdso.h.
5162         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
5163         definition.
5164         (INLINE_VSYSCALL): Likewise.
5165         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
5166         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
5167         definition.
5168         (INLINE_VSYSCALL): Likewise.
5169         (INTERNAL_VSYSCALL): Likewise.
5170         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5171         * sysdeps/unix/sysv/linux/timespec_get.c
5172         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5173         (timespec_get): Use ANSI prototype.
5174         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
5175         and definition for Linux.
5177 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
5179         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
5180         * include/libc-symbols.h: libmvec_hidden_* macro series added.
5182 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
5184         [BZ #2981]
5185         [BZ #18410]
5186         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
5187         for missing DT_PLTRELSZ.
5189 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
5191         Remove obsolete aliases that broke 'locale -a'
5192         [BZ #18412]
5193         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
5194         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
5195         breaking some applications that use 'locale -a' output.
5196         Change the encoding of this file from Latin-1 to ASCII to avoid
5197         other potential problems with people grepping this file.
5199 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5201         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
5202         -fasynchronous-unwind-tables.
5203         (CFLAGS-sendto.c): Likewise.
5204         (CFLAGS-sendmsg.c): Likewise.
5205         (CFLAGS-connect.c): Likewise.
5206         (CFLAGS-recvmsg.c): Likewise.
5207         (CFLAGS-recvfrom.c): Likewise.
5208         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
5209         (SOCKETCALL): New macro: non-cancellable socketcall.
5210         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
5211         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
5212         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
5213         * sysdeps/unix/sysv/linux/accept.c: New file.
5214         * sysdeps/unix/sysv/linux/bind.c: Likewise.
5215         * sysdeps/unix/sysv/linux/connect.c: Likewise.
5216         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
5217         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
5218         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
5219         * sysdeps/unix/sysv/linux/listen.c: Likewise.
5220         * sysdeps/unix/sysv/linux/recv.c: Likewise.
5221         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
5222         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5223         * sysdeps/unix/sysv/linux/send.c: Likewise.
5224         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5225         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
5226         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
5227         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
5228         * sysdeps/unix/sysv/linux/socket.c: Likewise.
5229         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
5230         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
5231         prototype.
5232         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
5233         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5234         instead of __internal_xxx function.
5235         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
5236         prototype.
5237         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
5238         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5239         instead of __internal_xxx function.
5240         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
5241         prototype.
5242         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
5243         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5244         instead of __internal_xxx function.
5245         * sysdeps/unix/sysv/linux/accept.S: Remove file.
5246         * sysdeps/unix/sysv/linux/bind.S: Likewise.
5247         * sysdeps/unix/sysv/linux/connect.S: Likewise.
5248         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
5249         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
5250         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
5251         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
5252         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
5253         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
5254         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
5255         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
5256         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5257         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
5258         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
5259         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
5260         * sysdeps/unix/sysv/linux/listen.S: Likewise.
5261         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
5262         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
5263         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
5264         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
5265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
5266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
5267         * sysdeps/unix/sysv/linux/recv.S: Likewise.
5268         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5269         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5270         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
5271         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5272         * sysdeps/unix/sysv/linux/send.S: Likewise.
5273         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5274         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5275         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
5276         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
5277         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
5278         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
5279         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
5280         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
5281         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
5282         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
5283         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
5284         socketcall is implemented in GLIBC.
5286 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5288         * soft-fp/fmadf4.c: Include <libc-internal.h>.
5289         (__fma): Ignore uninitialized warnings around packing.
5290         * soft-fp/fmasf4.c: Include <libc-internal.h>.
5291         (__fmaf): Ignore uninitialized warnings around packing.
5292         * soft-fp/fmatf4.c: Include <libc-internal.h>.
5293         (__fmal): Ignore uninitialized warnings around packing.
5295         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
5296         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5297         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
5298         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5300         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
5301         switch statement into default case.
5302         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
5304         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
5305         a conditional in forcing "inexact".
5306         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5307         Likewise.
5309 2015-05-22  Roland McGrath  <roland@hack.frob.com>
5311         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5312         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
5313         for each INTERNAL_SYSCALL use.
5315 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5317         [BZ #438]
5318         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
5319         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
5320         variable.
5322         [BZ #18444]
5323         * string/basename.c (basename): Rename to __basename and define as
5324         weak alias of __basename.  Use libc_hidden_weak.
5325         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
5326         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
5327         __basename instead of basename.
5328         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
5329         Remove variable.
5330         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5332 2015-05-18  Florian Weimer  <fweimer@redhat.com>
5334         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
5335         (_IO_JUMPS_FILE_plus): New.
5336         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
5337         _IO_CAST_FIELD_ACCESS.
5338         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
5339         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
5340         * libio/freopen.c (freopen): Likewise.
5341         * libio/freopen64.c (freopen64): Likewise.
5342         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
5343         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
5344         * libio/iofwide.c (_IO_fwide): Likewise.
5345         * libio/memstream.c (open_memstream): Likewise.
5346         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5347         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5348         * libio/oldiopopen.c (_IO_old_popen): Likewise.
5350 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
5352         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
5353         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
5354         NADJ.
5355         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
5356         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
5357         NADJ.
5358         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
5359         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
5360         NADJ.
5362         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
5363         (p == 4) case.
5365         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
5366         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
5367         Remove variable.
5368         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5369         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5370         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5372 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5374         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
5375         Adjust jump table label generation macros.
5377 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5379         * stdio-common/vfprintf.c (vfprintf): Move local variables
5380         args_malloced, specs, specs_malloced, and the code after
5381         do_positional to the printf_positional function.
5382         (printf_positional): New function.
5384 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5386         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
5387         function.
5388         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
5389         STEP4_TABLE, process_arg): Move macro definitions
5390         out of the vfprintf function.  (Cosmetic change only.)
5392 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
5394         * benchtests/Makefile (stdio-common-bench): Define.
5395         (benchset): Add stdio-common-bench.
5396         * sprintf-inputs: New file.
5397         * sprintf-source.c: New file.
5399 2015-05-21  Andreas Schwab  <schwab@suse.de>
5401         [BZ #13028]
5402         [BZ #17053]
5403         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
5404         of struct __res_state.
5405         * resolv/res_send.c (__libc_res_nsend): Likewise.
5406         (get_nsaddr): New function.
5407         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
5408         statp directly.
5410 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
5412         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
5413         -D_POSIX_C_SOURCE=199506L.
5415         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
5417         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
5418         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
5419         Do not mention otherwise.
5420         [POSIX] (_XOPEN_VERSION): Do not expect.
5421         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
5422         [POSIX] (_POSIX2_C_BIND): Likewise.
5423         [POSIX] (_POSIX2_VERSION): Likewise.
5424         [POSIX] (_XOPEN_XPG2): Likewise.
5425         [POSIX] (_XOPEN_XPG3): Likewise.
5426         [POSIX] (_XOPEN_XPG4): Likewise.
5427         [POSIX] (_XOPEN_UNIX): Likewise.
5428         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
5429         [POSIX] (_POSIX_BARRIERS): Likewise.
5430         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
5431         [POSIX] (_POSIX_CPUTIME): Likewise.
5432         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
5433         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
5434         [POSIX] (_POSIX_SHELL): Likewise.
5435         [POSIX] (_POSIX_SPAWN): Likewise.
5436         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
5437         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
5438         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
5439         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
5440         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
5441         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
5442         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
5443         [POSIX] (_XBS5_LP64_OFF64): Likewise.
5444         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
5445         [POSIX] (_POSIX_TIMEOUTS): Likewise.
5446         [POSIX] (_POSIX2_PBS): Likewise.
5447         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
5448         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
5449         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
5450         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
5451         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
5452         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
5453         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
5454         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
5455         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
5456         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
5457         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
5458         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
5459         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
5460         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
5461         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
5462         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
5463         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
5464         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
5465         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
5466         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
5467         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
5468         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
5469         [POSIX] (_SC_2_C_BIND): Likewise.
5470         [POSIX] (_SC_2_C_VERSION): Likewise.
5471         [POSIX] (_SC_2_PBS): Likewise.
5472         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
5473         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
5474         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
5475         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
5476         [POSIX] (_SC_2_PBS_TRACK): Likewise.
5477         [POSIX] (_SC_ATEXIT_MAX): Likewise.
5478         [POSIX] (_SC_BARRIERS): Likewise.
5479         [POSIX] (_SC_BASE): Likewise.
5480         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
5481         [POSIX] (_SC_DEVICE_IO): Likewise.
5482         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
5483         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
5484         [POSIX] (_SC_FD_MGMT): Likewise.
5485         [POSIX] (_SC_FIFO): Likewise.
5486         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
5487         [POSIX] (_SC_FILE_LOCKING): Likewise.
5488         [POSIX] (_SC_FILE_SYSTEM): Likewise.
5489         [POSIX] (_SC_IOV_MAX): Likewise.
5490         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
5491         [POSIX] (_SC_NETWORKING): Likewise.
5492         [POSIX] (_SC_PAGE_SIZE): Likewise.
5493         [POSIX] (_SC_PASS_MAX): Likewise.
5494         [POSIX] (_SC_PIPE): Likewise.
5495         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
5496         [POSIX] (_SC_REGEXP): Likewise.
5497         [POSIX] (_SC_SHELL): Likewise.
5498         [POSIX] (_SC_SIGNALS): Likewise.
5499         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
5500         [POSIX] (_SC_SPIN_LOCKS): Likewise.
5501         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
5502         [POSIX] (_SC_USER_GROUPS): Likewise.
5503         [POSIX] (_SC_USER_GROUPS_R): Likewise.
5504         [POSIX] (_SC_STREAMS): Likewise.
5505         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
5506         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
5507         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
5508         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
5509         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
5510         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
5511         [POSIX] (_PC_FILESIZEBITS): Likewise.
5512         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
5513         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
5514         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
5515         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
5516         [POSIX] (uid_t): Likewise.
5517         [POSIX] (gid_t): Likewise.
5518         [POSIX] (off_t): Likewise.
5519         [POSIX] (pid_t): Likewise.
5520         [POSIX] (cuserid): Allow.
5521         (_SC_2_CHAR_TERM): Require constant.
5522         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
5523         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
5524         variable.
5526 2015-05-20  Roland McGrath  <roland@hack.frob.com>
5528         * sysdeps/nacl/pthread-pids.h: New file.
5529         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
5530         (create_thread): Use __nacl_get_tid to initialize PD->tid.
5532         * nptl/pthread-pids.h: New file.
5533         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
5534         * nptl/nptl-init.c: Include <pthread-pids.h>.
5535         (__pthread_initialize_minimal_internal):
5536         Call __pthread_initialize_pids instead of set_tid_address syscall.
5538         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
5539         * sysdeps/posix/usleep.c: ... here.
5541 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5543         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
5544         call_pselect6 object.
5545         [$(subdir) = io]: Remove call_sync_file_range object.
5546         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
5547         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
5548         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
5549         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
5551 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
5553         * math/s_cproj.c: Add include "math_private.h".
5554         * math/s_cprojf.c: Likewise.
5555         * math/s_cprojl.c: Likewise.
5557 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
5559         [BZ #18244]
5560         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
5561         high mantissa bit when testing whether P is a NaN.
5562         * math/libm-test.inc (remainder_test_data): Add more tests.
5563         (remquo_test_data): Likewise.
5565         [BZ #18049]
5566         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
5567         below -32, return the argument, with underflow if subnormal.
5568         * math/auto-libm-test-in: Add more tests of atanh.
5569         * math/auto-libm-test-out: Regenerated.
5571 2015-05-19  Roland McGrath  <roland@hack.frob.com>
5573         [BZ #18434]
5574         * nptl/tst-sem15.c: New file.
5575         * nptl/Makefile (tests): Add it.
5576         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
5577         s/<</>>/ to fix typo in EOVERFLOW check.
5578         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
5580 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5582         * manual/strings.texi (envz_remove): Fix typo in safety
5583         annotations.
5585 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
5586             Steve Ellcey  <sellcey@imgtec.com>
5588         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
5589         in order to avoid strict alias warnings.
5590         (iruserok_af): Ditto for ra.
5592 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
5594         [BZ #17581]
5595         * malloc/hooks.c
5596         (magicbyte): Convert to a function and avoid returning 0x01.
5597         (mem2mem_check): Avoid using a length byte equal to the magic byte.
5598         (mem2chunk_check): Fix unsigned comparisons to zero.
5599         Hoist defs of sz and magic.
5601 2015-05-19  Richard Henderson  <rth@redhat.com>
5603         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
5605         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5607 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5609         [BZ #16159]
5610         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
5611         * malloc/arena.c (arena_lock): Check if arena is corrupt.
5612         (reused_arena): Find a non-corrupt arena.
5613         (heap_trim): Pass arena to unlink.
5614         * malloc/hooks.c (malloc_check_get_size): Pass arena to
5615         malloc_printerr.
5616         (top_check): Likewise.
5617         (free_check): Likewise.
5618         (realloc_check): Likewise.
5619         * malloc/malloc.c (malloc_printerr): Add arena argument.
5620         (unlink): Likewise.
5621         (munmap_chunk): Adjust.
5622         (ARENA_CORRUPTION_BIT): New macro.
5623         (arena_is_corrupt): Likewise.
5624         (set_arena_corrupt): Likewise.
5625         (sysmalloc): Use mmap if there are no usable arenas.
5626         (_int_malloc): Likewise.
5627         (__libc_malloc): Don't fail if arena_get returns NULL.
5628         (_mid_memalign): Likewise.
5629         (__libc_calloc): Likewise.
5630         (__libc_realloc): Adjust for additional argument to
5631         malloc_printerr.
5632         (_int_free): Likewise.
5633         (malloc_consolidate): Likewise.
5634         (_int_realloc): Likewise.
5635         (_int_memalign): Don't touch corrupt arenas.
5636         * malloc/tst-malloc-backtrace.c: New test case.
5638         * Makefile (summarize-tests): Fix return value on success.
5640         * manual/string.texi (Envz Functions): Add envz_remove.
5642 2015-05-18  Roland McGrath  <roland@hack.frob.com>
5644         * sysdeps/posix/opendir.c: Include <stdbool.h>.
5645         (invalid_name): New function, broken out of ...
5646         (__opendirat): ... here.  Call it.
5647         (need_isdir_precheck): New function, broken out of ...
5648         (__opendirat): ... here.  Call it.
5649         Use __fxstatat64, not __xstatat64.
5650         (opendir_oflags): New function, broken out of ...
5651         (__opendirat): ... here.  Call it.
5652         (opendir_tail): New function, broken out of ...
5653         (__opendirat): ... here.  Call it.
5654         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
5655         opendir_tail, rather than punting to __opendirat.
5656         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
5658 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5660         * .gitignore: Ignore generated *.pyc.
5662 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
5664         * include/stdio.h: Define __need_wint_t.
5665         * test-skeleton.c: Avoid `for' loop initial declaration.
5666         * nptl/tst-initializers1.c: Use test-skeleton.c.
5668 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5670         [BZ #18418]
5671         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
5673 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5675         [BZ #16352]
5676         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
5677         (__ieee754_atanh): Force underflow exception for results with
5678         small absolute value.
5679         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
5680         (__ieee754_atanhf): Force underflow exception for results with
5681         small absolute value.
5682         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
5683         (__ieee754_atanh): Force underflow exception for results with
5684         small absolute value.
5685         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
5686         (__ieee754_atanhf): Force underflow exception for results with
5687         small absolute value.
5688         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
5689         (__ieee754_atanhl): Force underflow exception for results with
5690         small absolute value.
5691         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
5692         (__ieee754_atanhl): Force underflow exception for results with
5693         small absolute value.
5694         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
5695         (__ieee754_atanhl): Force underflow exception for results with
5696         small absolute value.
5697         * math/auto-libm-test-in: Do not allow missing underflow
5698         exceptions from atanh.
5699         * math/auto-libm-test-out: Regenerated.
5701         [BZ #18221]
5702         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
5703         2**-28 as threshold for returning x or +/- 1/x.
5704         * math/auto-libm-test-in: Add more tests of tan.
5705         * math/auto-libm-test-out: Regenerated.
5707         [BZ #18220]
5708         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5709         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
5710         * math/auto-libm-test-in: Add another test of lgamma.
5711         * math/auto-libm-test-out: Regenerated.
5713 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
5715         * stdio-common/printf_fp.c (___printf_fp): Use abs.
5716         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
5717         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
5718         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
5719         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
5720         (ADD2A): Use fabs.  (SUB2A): Use fabs.
5721         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
5722         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5723         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5724         (log1): Use fabs.  (my_log2): Use fabs.
5725         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5726         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5727         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5728         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5729         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5730         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
5731         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
5732         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
5733         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
5734         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5735         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5737 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5739         [BZ #18217]
5740         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5741         as threshold for returning 1 - x.
5742         * math/auto-libm-test-in: Add more tests of erfc.
5743         * math/auto-libm-test-out: Regenerated.
5745 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
5747         [BZ #18196]
5748         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5749         threshold for large arguments.
5750         * math/auto-libm-test-in: Add another test of atan.
5751         * math/auto-libm-test-out: Regenerated.
5753         [BZ #16339]
5754         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5755         (__log1p): Force underflow exception for results with small
5756         absolute value.
5757         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5758         (__log1pf): Force underflow exception for results with small
5759         absolute value.
5760         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5761         (__log1p): Force underflow exception for results with small
5762         absolute value.
5763         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5764         (__log1pf): Force underflow exception for results with small
5765         absolute value.
5766         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5767         (__log1pl): Force underflow exception for results with small
5768         absolute value.
5769         * math/auto-libm-test-in: Do not allow missing underflow
5770         exceptions from log1p.
5771         * math/auto-libm-test-out: Regenerated.
5773 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5774             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5776         [BZ #16704]
5777         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5779 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5781         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5782         (libmvec): New variable.
5783         * configure.ac: Added option for mathvec build.
5784         * configure: Regenerated.
5785         * mathvec/Depend: New file.
5786         * mathvec/Makefile: New file.
5787         * shlib-versions: Added libmvec.
5788         * math/Makefile: Added rule for libm.so installation.
5790         * bits/math-vector.h: New file.
5791         * bits/libm-simd-decl-stubs.h: New header.
5792         * math/Makefile (headers): Added new header
5793         libm-simd-decl-stubs.h.
5794         * math/math.h (__MATHCALL_VEC): New macro.
5796         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5797         for conditions in testing functions.
5798         * math/Makefile: Added call of libm-have-vector-test.sh.
5799         * math/libm-test.inc (HAVE_VECTOR): New macros.
5801         * math/libm-test.inc: START refactored.
5802         * math/test-double.c (TEST_MATHVEC): Add define.
5803         * math/test-float.c: Likewise.
5804         * math/test-idouble.c: Likewise.
5805         * math/test-ifloat.c: Likewise.
5806         * math/test-ildoubl.c: Likewise.
5807         * math/test-ldouble.c: Likewise.
5808         * sysdeps/generic/math-tests-arch.h
5809         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5810         architecture check.
5812         * math/test-double.c (FUNC_TEST): New macro.
5813         * math/test-float.c: Likewise.
5814         * math/test-idouble.c: Likewise.
5815         * math/test-ifloat.c: Likewise.
5816         * math/test-ildoubl.c: Likewise.
5817         * math/test-ldouble.c: Likewise.
5818         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5820 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5822         * sysdeps/nacl/fdopendir.c: New file.
5824         * dirent/scandir-tail.c: New file.
5825         * dirent/scandir64-tail.c: New file.
5826         * dirent/Makefile (routines): Add them.
5827         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5828         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5829         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5830         [!SCANDIR] (SCANDIR_TAIL): New macro.
5831         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5832         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5833         (SCANDIRAT): Macro removed.
5834         (SCANDIR_TAIL): New macro.
5835         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5836         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5837         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5838         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5839         (READDIR): Macro removed.
5840         (SCANDIR_TAIL): New macro.
5841         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5842         (SCANDIR_TAIL): New macro.
5844         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5845         * dirent/scandir-cancel.c: ... to this new file.
5846         * dirent/Makefile (routines): Add it.
5847         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5848         * sysdeps/unix/sysv/linux/i386/scandir64.c
5849         (SKIP_SCANDIR_CANCEL): Macro removed.
5850         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5852         * dirent/tst-scandir.c: New file.
5853         * dirent/tst-scandir64.c: New file.
5854         * dirent/Makefile (tests): Add them.
5856 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5858         [BZ #18409]
5859         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5861 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5863         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5864         list.
5866 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5868         * benchtests/bench-strcoll.c: New benchmark.
5869         * benchtests/Makefile: Generate locales and run benchmark.
5870         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5871         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5872         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5873         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5874         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5875         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5876         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5877         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5878         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5879         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5880         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5881         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5882         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5883         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5884         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5885         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5886         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5887         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5888         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5889         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5890         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5891         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5892         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5893         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5895 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5897         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5898         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5900 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5902         * posix/uname-values.h: New file.
5903         * posix/uname.c: Include that instead of <config-name.h>.
5904         * sysdeps/nacl/uname-values.h: New file.
5905         * sysdeps/arm/nacl/uname-values.h: New file.
5907 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5909         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5910         splitting into fields.
5912 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5914         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5915         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5916         * locale/localeinfo.h: Add enum collation_encoding_type.
5917         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5918         * programs/ld-collate.c (collate_output): Add encoding type info.
5919         * string/strcoll_l.c (STRDIFF): New function.
5920         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5921         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5923 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5925         [BZ #18397]
5926         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5927         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5928         <fpu_control.h> instead of <math/fpu_control.c>.
5929         * sysdeps/mips/mips32/fpu/Makefile: New file.
5931 2015-05-11  Andreas Schwab  <schwab@suse.de>
5933         [BZ #18007]
5934         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5935         nss_endgrent.
5936         (_nss_compat_endgrent): Call nss_endgrent.
5937         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5938         nss_endpwent.
5939         (_nss_compat_endpwent): Call nss_endpwent.
5940         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5941         needent, call nss_setspent only if non-zero.
5942         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5943         (internal_endspent): Don't call nss_endspent.
5944         (_nss_compat_endspent): Call nss_endspent.
5945         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5946         Remove.  All uses removed.
5947         (internal_setent): Remove parameter stayopen, add parameter
5948         stream.  Use it instead of global variable.
5949         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5950         (internal_endent, internal_getent): Add parameter stream.  Use it
5951         instead of global variable.
5952         (CONCAT(_nss_files_end,ENTNAME))
5953         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5954         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5955         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5956         uses removed.
5957         (internal_setent, internal_endent): Add parameter stream.  Use it
5958         instead of global variable.
5959         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5960         stream.
5961         (get_next_alias): Add parameter stream.
5962         (_nss_files_getaliasent_r): Pass global stream.
5963         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5964         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5965         (_nss_files_gethostbyname4_r): Pass local stream to
5966         internal_setent, internal_getent and internal_endent.  Remove
5967         locking.
5969 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5971         * tst-strfmon1.c (tests): Update expected currency symbol.
5973 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5975         * sysdeps/nacl/gethostname.c: New file.
5977 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5979         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5980         and sinh.
5981         * math/auto-libm-test-out: Regenerated.
5982         * sysdeps/i386/fpu/libm-test-ulps: Update.
5983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5985 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5987         [BZ #18125]
5988         * stdlib/tst-setcontext3.c: New file.
5989         * stdlib/tst-setcontext3.sh: New file.
5990         * stdlib/Makefile (tests): Add tst-setcontext3.
5991         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5992         to verify test program created output file.
5993         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5994         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5995         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5996         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5998 2015-05-06  Roland McGrath  <roland@hack.frob.com>
6000         [BZ #18383]
6001         * elf/tst-tlsalign.c: New file.
6002         * elf/tst-tlsalign-static.c: New file.
6003         * elf/tst-tlsalign-lib.c: New file.
6004         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
6005         (tests-static): Add tst-tlsalign-static.
6006         (modules-names): Add tst-tlsalign-lib.
6007         (test-xfail-tst-tlsalign): New variable.
6008         (test-xfail-tst-tlsalign-static): New variable.
6010         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
6011         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
6013 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
6015         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
6016         csqrt, erfc, sin and sincos.
6017         * math/auto-libm-test-out: Regenerated.
6018         * sysdeps/i386/fpu/libm-test-ulps: Update.
6019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6021 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6023         * sysdeps/aarch64/libm-test-ulps: Update.
6025 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
6027         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
6028         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
6029         * math/auto-libm-test-out: Regenerated.
6030         * sysdeps/i386/fpu/libm-test-ulps: Update.
6031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6033 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
6035         [BZ #18265]
6036         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
6037         (wcsncpy): Likewise.
6039 2015-05-05  Florian Weimer  <fweimer@redhat.com>
6041         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6042         Assume __ASSUME_FALLOCATE is always true.
6043         * sysdeps/unix/sysv/linux/posix_fallocate64.c
6044         (__posix_fallocate64_l64): Likweise.
6045         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
6046         (posix_fallocate): Likewise.
6047         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
6048         (__posix_fallocate64_l64): Likewise.
6049         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6050         [!__ASSUME_FALLOCATE]: Add comment.
6052 2015-05-05  Florian Weimer  <fweimer@redhat.com>
6054         * sysdeps/unix/sysv/linux/i386/Makefile
6055         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
6056         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
6057         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
6058         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6059         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6060         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
6061         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
6063 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
6065         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
6066         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
6067         tgamma.
6068         * math/auto-libm-test-out: Regenerated.
6069         * sysdeps/i386/fpu/libm-test-ulps: Update.
6070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6072 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
6074         * math/auto-libm-test-in: Add more tests of tgamma.
6075         * math/auto-libm-test-out: Regenerated.
6076         * sysdeps/i386/fpu/libm-test-ulps: Update.
6077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6079         * math/auto-libm-test-in: Add more tests of tanh.
6080         * math/auto-libm-test-out: Regenerated.
6081         * sysdeps/i386/fpu/libm-test-ulps: Update.
6082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6084         * math/auto-libm-test-in: Add more tests of tan.
6085         * math/auto-libm-test-out: Regenerated.
6086         * sysdeps/i386/fpu/libm-test-ulps: Update.
6087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6089         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
6090         * math/auto-libm-test-out: Regenerated.
6091         * sysdeps/i386/fpu/libm-test-ulps: Update.
6092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6094         * math/auto-libm-test-in: Add another test of pow.
6095         * math/auto-libm-test-out: Regenerated.
6096         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6098         * math/auto-libm-test-in: Add more tests of lgamma.
6099         * math/auto-libm-test-out: Regenerated.
6100         * sysdeps/i386/fpu/libm-test-ulps: Update.
6101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6103         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
6104         log1p.
6105         * math/auto-libm-test-out: Regenerated.
6106         * sysdeps/i386/fpu/libm-test-ulps: Update.
6107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6109 2015-05-01  Mark Wielaard  <mjw@redhat.com>
6111         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
6112         Elf64_Chdr structs and ELFCOMPRESS constants.
6114 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
6116         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
6117         expm1.
6118         * math/auto-libm-test-out: Regenerated.
6119         * sysdeps/i386/fpu/libm-test-ulps: Update.
6120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6122         * math/auto-libm-test-in: Add more tests of erf and erfc.
6123         * math/auto-libm-test-out: Regenerated.
6124         * sysdeps/i386/fpu/libm-test-ulps: Update.
6125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6127 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6129         * config.h.in (HAVE_AARCH64_BE): Add.
6131 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
6133         * math/auto-libm-test-in: Add more tests of csqrt.
6134         * math/auto-libm-test-out: Regenerated.
6135         * sysdeps/i386/fpu/libm-test-ulps: Update.
6136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6138         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6139         * math/auto-libm-test-out: Regenerated.
6140         * sysdeps/i386/fpu/libm-test-ulps: Update.
6141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6143         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
6145 2015-04-29  Roland McGrath  <roland@hack.frob.com>
6147         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
6148         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
6150         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
6151         (euidaccess, eaccess): Define as weak aliases.
6153         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
6154         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
6155         but __suseconds_t is often 'long int' so some sources assume that
6156         type is being used (e.g. they use %ld to print tv_usec).
6158 2015-04-29  Florian Weimer  <fweimer@redhat.com>
6160         [BZ #18007]
6161         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
6162         (CVE-2014-8121)
6163         * nss/tst-nss-getpwent.c: New file.
6164         * nss/Makefile (tests): Add new test.
6166 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
6168         [BZ #18346]
6169         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
6170         exponents less than 48 as cases where high part of mantissa needs
6171         examining to determine whether argument is integral.
6172         * math/libm-test.inc (round_test_data): Add more tests.
6174 2015-04-28  Mark Wielaard  <mjw@redhat.com>
6176         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
6178 2015-04-27  David S. Miller  <davem@davemloft.net>
6180         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
6181         __tls_get_addr.
6182         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6184 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
6186         [BZ#18333]
6187         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
6189 2015-04-27  Florian Weimer  <fweimer@redhat.com>
6191         [BZ#18333]
6192         * time/tzset.c (parse_tzname): Return error on memory allocation
6193         failure.
6194         * test-skeleton.c (struct temp_name_list): Change type of name
6195         member to non-const.
6196         (add_temp_file): Create a copy of the file name.
6197         (delete_temp_files): Deallocate memory.
6198         (create_temp_file): Add comment.
6200 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6202         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
6203         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
6205 2015-04-24  Roland McGrath  <roland@hack.frob.com>
6207         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
6208         * sysdeps/arm/configure: Regenerated.
6210 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6212         [BZ #17715]
6213         * time/tzfile.c (__tzfile_read): Check for large values of
6214         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
6215         * time/tzset.c (__tzstring_len): New function, based on the old
6216         __tzstring function.
6217         (__tzstring): Call __tzstring_len.
6218         (parse_tzname): New helper function extracted from
6219         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
6220         the input string.
6221         (parse_offset): New helper function extracted from
6222         __tzset_parse_tz.  Replace switch with fallthrough with
6223         initialization before sscanf.
6224         (parse_rule): Likewise.
6225         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
6226         new-style function definition.
6227         * timezone/Makefile (tests): Add tst-tzset.
6228         (tst-tzset.out): Dependencies on time zone files.
6229         (tst-tzset-ENV): Set TZDIR.
6230         (testdata/XT%): Copy crafted time zone files.
6231         * timezone/README: Mention crafted time zone files.
6232         * timezone/testdata/XT1, timezone/testdata/XT2,
6233         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
6234         files.
6235         * timezone/tst-tzset.c: New test.
6237 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6239         * Makeconfig (+gccwarn): Remove -Winline.
6241 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6243         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
6245 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6247         * NEWS: Mention sysconf() cache information support for s390.
6248         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
6250 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
6252         * math/k_casinh.c (__kernel_casinh): Use __copysign.
6253         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
6254         (__nearbyint): Likewise.
6255         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
6256         (copysignl): Likewise.
6258 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
6260         [BZ #18287]
6261         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
6262         based on padding.  (CVE-2015-1781)
6264 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6266         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
6267         libc-vdso.h.
6268         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
6269         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
6270         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
6271         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6272         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6273         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
6274         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
6275         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6276         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6277         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
6278         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6279         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6280         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6281         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
6282         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6283         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
6284         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
6285         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
6286         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
6287         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
6288         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
6289         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
6290         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
6292 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
6294         * stdlib/setenv.c (__add_to_environ):
6295         Dump core quickly if setenv (..., NULL, ...) is called.
6296         This time, do it the right way, and pacify GCC with a pragma.
6298 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6300         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
6301         IMAP->l_prev cannot be null, and #if out the code for the contrary
6302         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
6303         believe that NS (&_dl_ns[NSID]) could point outside the array.
6305         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
6306         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
6307         before using NSID as an index.
6309 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
6311         [BZ #17825]
6312         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
6313         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6314         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6316 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6318         Add preliminary port to Google Native Client on ARM.
6319         * abi-tags (.*-.*-nacl.*): New entry.
6320         * sysdeps/arm/nacl: New directory.
6321         * sysdeps/nacl: New directory.
6323 2015-04-16  David S. Miller  <davem@davemloft.net>
6325         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
6326         lowlevellock-futex.h
6328 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
6330         * sysdeps/tile/configure.ac: New file.
6331         * sysdeps/tile/configure: Regenerated.
6333 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6335         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
6336         conditionals for weak_alias and libc_hidden_weak.
6337         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
6338         libc_hidden_weak and weak_alias.
6339         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
6340         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
6341         and weak_alias for static one.
6343 2015-04-15  David S. Miller  <davem@davemloft.net>
6345         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6347 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6349         [BZ #18206]
6350         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
6351           Use signed comparision instead of substraction to avoid
6352           overflow bug.
6353         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
6354           Take the sign of ret.
6355         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
6356           Do not expect precise return values. Only the sign matters.
6357         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
6358         * wcsmbs/test-wcsncmp.c: New File.
6359         * string/test-strncmp.c: Add wcsncmp support.
6361 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6363         [BZ #6792]
6364         * math/w_log1p.c: New file.
6365         * math/w_log1pf.c: Likewise.
6366         * math/w_log1pl.c: Likewise.
6367         * math/Makefile (libm-calls): Add w_log1p.
6368         * math/s_log1pl.c (log1pl): Remove weak_alias.
6369         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
6370         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
6371         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
6372         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
6373         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
6374         [NO_LONG_DOUBLE] (log1pl): Likewise.
6375         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
6376         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
6377         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
6378         (log1p): Remove long_double_symbol.
6379         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
6380         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
6381         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
6382         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
6383         remove weak_alias for corresponding log1p function.
6384         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
6385         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
6386         * sysdeps/ia64/fpu/w_log1p.c: New file.
6387         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
6388         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
6389         * math/libm-test.inc (log1p_test_data): Add errno expectations.
6391 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
6393         [BZ #18247]
6394         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
6395         decimal exponent by 1.
6396         * stdlib/tst-strtod-round-data: Add more tests.
6397         * stdlib/tst-strtod-round.c (tests): Regenerated.
6399 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
6401         * math/auto-libm-test-in: Add more tests of clog and clog10.
6402         * math/auto-libm-test-out: Regenerated.
6403         * sysdeps/i386/fpu/libm-test-ulps: Update.
6404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6406 2015-04-09  Roland McGrath  <roland@hack.frob.com>
6408         * Makeconfig (module-cppflags): Exclude all .v.i files.
6409         (skip-module-cppflags): Variable removed.
6411         * configure.ac (libc_config_ok): Initialize before reading
6412         preconfigure scripts, not after.
6413         * configure: Regenerated.
6415         * test-skeleton.c (TIMEOUT): Move #define to top level.
6416         (main): Grok environment variable TEST_DIRECT.  If set, print
6417         test expectation details into that file and then behave as if
6418         given --direct.
6420 2015-04-09  Florian Weimer  <fweimer@redhat.com>
6422         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
6423         warning on 32-bit.
6425 2015-04-08  David S. Miller  <davem@davemloft.net>
6427         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6429 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6431         * math/auto-libm-test-in: Add more tests of atanh.
6432         * math/auto-libm-test-out: Regenerated.
6433         * sysdeps/i386/fpu/libm-test-ulps: Update.
6434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6436         * math/auto-libm-test-in: Add more tests of atan.
6437         * math/auto-libm-test-out: Regenerated.
6438         * sysdeps/i386/fpu/libm-test-ulps: Update.
6439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6441 2015-04-08  Florian Weimer  <fweimer@redhat.com>
6443         * elf/pldd.c (main): Rewrite to use struct
6444         scratch_buffer instead of extend_alloca.
6445         * elf/pldd-xx.c (find_maps): Likewise.
6446         * grp/initgroups.c: Include <scratch_buffer.h> instead of
6447         <alloca.h>.
6448         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
6449         scratch_buffer instead of extend_alloca.
6450         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
6451         grp/compat-initgroups.c.
6452         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
6453         Rewrite to use struct scratch_buffer instead of extend_alloca.
6454         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
6455         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6457 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6459         * math/auto-libm-test-in: Add more tests of cbrt.
6460         * math/auto-libm-test-out: Regenerated.
6461         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6463         * math/auto-libm-test-in: Add more tests of cabs.
6464         * math/auto-libm-test-out: Regenerated.
6465         * sysdeps/i386/fpu/libm-test-ulps: Update.
6466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6468         [BZ #18210]
6469         [BZ #18211]
6470         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
6471         (__ieee754_atan2): Set FE_TONEAREST mode for internal
6472         computations.
6473         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
6474         clog10.
6475         * math/auto-libm-test-out: Regenerated.
6476         * sysdeps/i386/fpu/libm-test-ulps: Update.
6477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6479         [BZ #18197]
6480         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
6481         (atan): Set FE_TONEAREST mode for internal computations.
6482         * math/auto-libm-test-in: Add more tests of atan.
6483         * math/auto-libm-test-out: Regenerated.
6485 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
6487         [BZ #17930]
6488         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
6490 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6492         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
6494 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6496         * include/scratch_buffer.h: New file.
6497         * malloc/scratch_buffer_grow.c: Likewise.
6498         * malloc/scratch_buffer_grow_preserve.c: Likewise.
6499         * malloc/scratch_buffer_set_array_size.c: Likewise.
6500         * malloc/tst-scratch_buffer.c: Likewise.
6501         * malloc/Makefile (routines): Add scratch_buffer_grow.
6502         (tests): Add test case.
6503         * malloc/Versions (GLIBC_PRIVATE): Export
6504         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
6505         __libc_scratch_buffer_set_array_size.
6507 2015-04-06  Richard Henderson  <rth@redhat.com>
6509         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
6510         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6512         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
6513         unsigned int before printing.
6515 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6517         [BZ #17596]
6518         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
6519         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6521 2015-04-02  Florian Weimer  <fweimer@redhat.com>
6523         * include/libc-internal.h (libc_max_align_t): Define.
6525 2015-04-02  Andreas Schwab  <schwab@suse.de>
6527         [BZ #16850]
6528         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
6530 2015-04-02  Mel Gorman  <mgorman@suse.de>
6532         [BZ #17195]
6533         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
6534         as well as the main arena.
6536 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6538         [BZ #18185]
6539         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
6540         sharing L2 cache to 2 for Silvermont/Knights Landing.
6542 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6544         [BZ #17711]
6545         * config.make.in (have-protected-data): New.
6546         * configure.ac: Check linker support for protected data symbol.
6547         * configure: Regenerated.
6548         * elf/Makefile (modules-names): Add tst-protected1moda and
6549         tst-protected1modb if $(have-protected-data) is yes.
6550         (tests): Add tst-protected1a and tst-protected1b if
6551         $(have-protected-data) is yes.
6552         ($(objpfx)tst-protected1a): New.
6553         ($(objpfx)tst-protected1b): Likewise.
6554         (tst-protected1modb.so-no-z-defs): Likewise.
6555         * elf/tst-protected1a.c: New file.
6556         * elf/tst-protected1b.c: Likewise.
6557         * elf/tst-protected1mod.h: Likewise.
6558         * elf/tst-protected1moda.c: Likewise.
6559         * elf/tst-protected1modb.c: Likewise.
6561 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6563         [BZ #17711]
6564         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
6565         indicates it is called from do_lookup_x on relocation against
6566         protected data, skip the data definion in the executable from
6567         copy reloc.
6568         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
6569         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
6570         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
6571         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
6572         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
6573         otherwise to 0.
6574         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6575         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
6576         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
6577         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6578         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
6579         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
6581 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
6583         * sysdeps/nptl/pthread.h: Remove duplicate definition of
6584         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
6586 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
6588         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
6589         THREAD_SETMEM_NC.
6590         * sysdeps/x86_64/nptl/tls.h: Ditto.
6592 2015-03-27  Roland McGrath  <roland@hack.frob.com>
6594         * dlfcn/tststatic.c (main): Converted to ...
6595         (do_test): ... this.
6596         (TEST_FUNCTION): New macro.
6597         Include test-skeleton.c.
6599 2015-03-26  Alan Modra  <amodra@gmail.com>
6601         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
6602         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
6603         zero for undefined weak.
6604         (elf_machine_plt_conflict): Similarly.
6606 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6608         * math/auto-libm-test-in: Add more tests of acosh, asinh and
6609         atanh.
6610         * math/auto-libm-test-out: Regenerated.
6611         * sysdeps/i386/fpu/libm-test-ulps: Update.
6612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6614         * math/auto-libm-test-in: Add another test of asin.
6615         * math/auto-libm-test-out: Regenerated.
6616         * sysdeps/i386/fpu/libm-test-ulps: Update.
6617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6619         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
6620         Remove macro.
6621         (LLL_EBX_REG): Likewise.
6622         (LLL_ENTER_KERNEL): Likewise.
6624         * math/auto-libm-test-in: Add more tests of asin.
6625         * math/auto-libm-test-out: Regenerated.
6626         * sysdeps/i386/fpu/libm-test-ulps: Update.
6627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6629         [BZ #18138]
6630         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
6631         libc_do_syscall_args): New structure.
6632         (INTERNAL_SYSCALL_MAIN_0): New macro.
6633         (INTERNAL_SYSCALL_MAIN_1): Likewise.
6634         (INTERNAL_SYSCALL_MAIN_2): Likewise.
6635         (INTERNAL_SYSCALL_MAIN_3): Likewise.
6636         (INTERNAL_SYSCALL_MAIN_4): Likewise.
6637         (INTERNAL_SYSCALL_MAIN_5): Likewise.
6638         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
6639         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
6640         Replace conditional definitions by conditional definitions of ....
6641         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
6642         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
6643         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
6644         (libpthread-sysdep_routines): Add libc-do-syscall.
6645         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
6646         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
6647         to __NR_futex not 240.
6649 2015-03-25  Alan Modra  <amodra@gmail.com>
6651         * NEWS: Advertise TLS optimization.
6652         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
6653         (DT_PPC_NUM): Increment.
6654         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
6655         (CHECK_STATIC_TLS): Use here.
6656         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
6657         TLS descriptors.
6658         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6659         * sysdeps/powerpc/dl-tls.c: New file.
6660         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
6661         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
6662         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
6663         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
6664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
6665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6668 2015-03-25  Alan Modra  <amodra@gmail.com>
6670         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
6671         for overlapping .opd entries" to "support...".
6672         * sysdeps/powerpc/powerpc64/configure: Regenerate
6674 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6676         * math/auto-libm-test-in: Add more tests of acos.
6677         * math/auto-libm-test-out: Regenerated.
6678         * sysdeps/i386/fpu/libm-test-ulps: Update.
6679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6681         * math/auto-libm-test-in: Add more tests of expm1.
6682         * math/auto-libm-test-out: Regenerated.
6683         * sysdeps/i386/fpu/libm-test-ulps: Update.
6684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6686 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
6688         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6689         * math/auto-libm-test-out: Regenerated.
6690         * sysdeps/i386/fpu/libm-test-ulps: Update.
6691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6693         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6696         * math/auto-libm-test-in: Add more tests of log2.
6697         * math/auto-libm-test-out: Regenerated.
6698         * sysdeps/i386/fpu/libm-test-ulps: Update.
6699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6701 2015-03-23  Roland McGrath  <roland@hack.frob.com>
6703         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
6704         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
6705         _IO_IS_APPENDING bit in READ_WRITE instead.
6707 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6709         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6710         (__determine_cpumask_size): Replace extend_alloca with a
6711         variable-length array.  Do not treat res == 0 as an error.
6713 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6715         [BZ #18100]
6716         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
6717         and integer overflow.
6718         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
6719         (main): Add integer overflow tests.
6720         * manual/pattern.texi (Calling Wordexp): Document additional use
6721         for WRDE_SYNTAX.
6723 2015-03-23  Alan Modra  <amodra@gmail.com>
6725         * config.h.in: Remove HAVE_ASM_PPC_REL16.
6726         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6727         and false branch of conditional.
6728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6729         Likewise.
6731 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
6733         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6734         libc-modules.h
6735         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6736         unused declaration of _hurd_intr_rpc_msg_in_trap.
6737         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6738         defined instead of whether it is non-zero.
6739         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6740         input constraint instead of both input and output constraint.  Use ecx
6741         clobber instead of %ecx.
6742         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6743         mutex_unlock): Use a statement expression instead of an expression list.
6744         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6745         type to vm_size_t instead of vm_address_t.
6746         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6747         defined instead of whether it is non-zero.
6748         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6749         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6750         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6751         comparisons with mapaddr.
6752         * nscd/nscd-client.h: Include <time.h>.
6753         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6754         9th parameter to __vm_region instead of int.
6755         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6756         * scripts/check-local-headers.sh (exclude): Add device/,
6757         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6758         cthreads.h.
6760 2015-03-19  Roland McGrath  <roland@hack.frob.com>
6762         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6763         to account for alignment padding.
6764         * sysdeps/arm/memmove.S: Likewise.
6766 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
6768         * sysdeps/unix/sysv/linux/generic/README: New file.
6770 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6772         [BZ #18138]
6773         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6774         (futex_abstimed_wait)
6775         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6776         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6777         of lll_futex_timed_wait.
6779 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6781         [BZ #17542]
6782         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6784 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6786         [BZ #17090]
6787         [BZ #17620]
6788         [BZ #17621]
6789         [BZ #17628]
6790         * NEWS: Update.
6791         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6792         entries with Static TLS too.  Skip entries past the end of the
6793         allocated DTV, from Alan Modra.
6794         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6795         Static TLS DTV entry set up from...
6796         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6797         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6798         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6799         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6800         for Static TLS.
6801         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6802         that the slot we find is associated with the given map before
6803         using its generation count.
6804         * nptl_db/db_info.c: Include ldsodefs.h.
6805         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6806         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6807         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6808         (link_map::l_tls_offset): New struct field.
6809         (dtv_t::counter): Likewise.
6810         (rtld_global): New struct.
6811         (_rtld_global): New rtld variable.
6812         (dl_tls_dtv_slotinfo_list): New rtld global field.
6813         (dtv_slotinfo_list): New struct.
6814         (dtv_slotinfo): Likewise.
6815         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6816         (td_lookup): Rename to...
6817         (td_mod_lookup): ... this.  Use new mod parameter instead of
6818         LIBPTHREAD_SO.
6819         * nptl_db/td_thr_tlsbase.c: Include link.h.
6820         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6821         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6822         addresses even if the DTV is out of date or missing them.
6823         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6824         index zero-length arrays.
6825         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6826         (td_lookup): Make it a macro implemented in terms of...
6827         (td_mod_lookup): ... this declaration.
6828         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6829         (DB_MAIN_VARIABLE): Likewise.
6831 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6833         [BZ #18134]
6834         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6836 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6838         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6840 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6842         [BZ #18128]
6843         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6844         (atomic_add, atomic_increment_and_test)
6845         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6847 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6849         * stdlib/setenv.c (__add_to_environ):
6850         Dump core quickly if setenv (..., NULL, ...) is called.
6852 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6854         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6855         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6856         all the necessary asm magic in one place.
6857         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6858         using those.
6860 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6862         [BZ #14906]
6863         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6864         traced file mtime. Use consistent log message.
6865         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6866         (register_traced_file): Call install_watches. Always set mtime.
6867         (invalidate_cache): Iterate over all trace files. Call install_watches.
6868         (inotify_check_files): Don't inline. Handle watching parent
6869         directories and configuration file movement in and out.
6870         (handle_inotify_events): New function.
6871         (main_loop_poll): Call handle_inotify_events.
6872         (main_loop_epoll): Likewise.
6873         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6874         (struct traced_file): Use array of inotify fds. Add parent directory,
6875         and basename.
6876         (struct database_dyn): Remove unused file_mtime.
6877         (init_traced_file): New inline function.
6878         (define_traced_file): New macro.
6879         * nss/nss_db/db-init.c: Use define_traced_file.
6880         (_nss_db_init): Use init_traced_file.
6881         * nss/nss_files/files-init.c: Use define_traced_file.
6882         (_nss_files_init): Use init_traced_file.
6884 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6886         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6887         [_LIBC]: Do not include <stdlib.h>.
6888         [!_LIBC] (abort): Remove declaration.
6889         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6890         _FP_STATIC_ASSERT instead of conditionally calling abort.
6891         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6892         (_FP_EXTEND_CNAN): Likewise.
6893         (FP_TRUNC): Likewise.
6894         (__FP_CLZ): Likewise.
6895         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6897 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6899         * manual/string.texi (XPG basename): Fix prototype.
6901 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6903         [BZ #18080]
6904         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6905         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6906         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6907         (__setcontext): Likewise.
6908         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6909         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6910         Call rt_sigprocmask syscall one time to set new signal mask
6911         and retrieve the current signal mask instead of two calls.
6912         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6913         (__swapcontext): Likewise.
6914         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6915         * stdlib/tst-setcontext2.c: New file.
6917 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6919         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6921 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6923         [BZ #18093]
6924         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6925         the wrong size.
6927 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6929         [BZ #18043]
6930         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6932 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6934         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6935         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6936         Remove define.
6937         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6938         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6939         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6940         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6941         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6942         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6943         define.
6944         * nptl_db/td_symbol_list.c (td_lookup): Remove
6945         HAVE_ASM_GLOBAL_DOT_NAME code.
6946         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6947         HAVE_ASM_GLOBAL_DOT_NAME check.
6948         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6949         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6950         (DOT_LABEL): Remove define.
6951         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6952         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6953         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6954         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6955         (__TLS_GET_ADDR): Likewise.
6956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6957         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6959 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6961         [BZ #18111]
6962         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6963         (_FPU_SETCW): Initialize cw from fpsr before storing.
6964         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6965         (fesetexceptflag): Rewrite using fpu_control.h.
6966         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6968 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6970         [BZ #18110]
6971         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6972         asms.
6973         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6975 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6977         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6978         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6979         abort.
6980         (_FP_FMA): Likewise.
6981         (_FP_DIV): Likewise.
6983 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6985         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6986         with 0 in that case.
6987         * Makefile (summarize-tests): New canned sequence, factored out of
6988         commands for targets tests and xtests.  Display summary lines that
6989         don't start with PASS: or XFAIL: rather than ones that do start with
6990         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6991         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6992         do start with ERROR: or FAIL:.
6993         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6994         (except for [$(build-shared) = yes]).
6995         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6996         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6997         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6998         * nptl/Makefile: Revert 2015-03-04 changes.
6999         [$(CXX) empty] (tests-unsupported): New variable.
7000         * debug/Makefile: Likewise.
7002         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
7003         gnulib file.  Replace __attribute with __attribute__ throughout.
7005 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
7007         * sysdeps/hppa/fpu/libm-test-ulps: Update.
7009 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
7011         [BZ #18104]
7012         * math/auto-libm-test-in: Add another test of pow.
7013         * math/auto-libm-test-out: Regenerated.
7015 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7017         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
7018         $(config-cflags-nofma).
7020 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
7022         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
7023         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
7024         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
7025         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
7026         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
7027         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
7028         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
7029         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
7030         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
7031         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
7032         Add comment on closing #endif.
7034 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7036         * posix/wordexp.c (CHAR_IN_SET): New macro.
7037         (parse_param): Use it.
7039 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7041         * sysdeps/powerpc/fpu/libm-test-ulps: update.
7043 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7045         [BZ #18043]
7046         * posix/wordexp.c (parse_param): Fix buffer overflow.
7047         * posix/wordexp-test.c (test_case): Add test case.
7049 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7051         [BZ #18042]
7052         * posix/wordexp.c (parse_backtick): Fix off-by-one.
7053         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
7055 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7057         [BZ #18043]
7058         * posix/wordexp-test.c (test_case): Add test for BZ #18043
7059         (do_bz18043): Delete.
7060         (at_page_end): New.
7061         (testit): Refactor to have words at the edge of unreadable page.
7063 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7065         [BZ #16734]
7066         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
7067         Cleanup read-only streams as well.
7068         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
7070 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7072         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
7073         <bits/libc-lockP.h>
7075 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
7077         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
7078         on [__KERNEL__].
7079         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
7080         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
7081         * soft-fp/op-common.h (_FP_DECL): Likewise.
7083 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7085         * elf/ifuncdep2.c (global): Replace
7086         __attribute__((visibility("protected"))) with
7087         asm (".protected global").
7088         * elf/ifuncmod1.c (global): Likewise.
7089         * elf/ifuncmod5.c (global): Likewise.
7091 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
7093         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
7094         <asm/sfp-machine.h> instead of <sfp-machine.h>.
7096 2015-03-06  Roland McGrath  <roland@hack.frob.com>
7098         * manual/install.texi (Configuring and compiling):
7099         Document test-wrapper-env-only.
7100         * INSTALL: Regenerated.
7102 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7104         [BZ #18043]
7105         * posix/wordexp.c (parse_param): Fix buffer overflow.
7106         * posix/wordexp-test.c (do_bz18043): Add test case.
7108 2015-03-06  Vincent Bernat  <vincent@bernat.im>
7110         * time/tst-strptime2.c (do_test): Ensure failing tests are
7111         reported correctly.
7112         * time/tst-strptime3.c (do_test): Likewise.
7114 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
7116         Fix aio_error thread-safety.
7117         * sysdeps/pthread/aio_error.c: New file
7118         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
7119         synchronization.
7121 2015-03-06  Florian Weimer  <fweimer@redhat.com>
7123         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
7124         (group_number, vfprintf): Use it.
7125         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
7126         (JUMP, REF): Use it.
7127         (WORK_BUFFER_SIZE): New enum constant.
7128         (process_arg, vfprintf): Use it.
7130 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
7132         * manual/errno.texi (Error Messages): Complete example function
7133         by adding missing #define.
7134         (program_invocation_name): Add statement indicating GNU
7135         extension and reference which header file declares the variable.
7136         (program_invocation_short_name): Likewise.
7138 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
7140         * manual/errno.texi (Error Messages): Delete strerror ISO C89
7141         compatibility note.
7143 2015-03-05  Roland McGrath  <roland@hack.frob.com>
7145         * Makeconfig (test-wrapper-env-only): New variable.
7146         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
7147         then use that with $(test-wrapper-env-only) rather than using
7148         $(test-wrapper-env) $(run-program-env) $($*-ENV).
7150 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
7152         [BZ #18082]
7153         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
7154         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
7155         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
7156         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
7157         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
7158         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
7159         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
7160         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
7161         Likewise.
7162         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
7163         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
7164         Likewise.
7165         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
7166         Likewise.
7167         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
7168         Likewise.
7169         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
7170         Likewise.
7171         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
7172         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
7173         Likewise.
7174         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
7175         Likewise.
7176         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
7177         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
7179 2015-03-04  Roland McGrath  <roland@hack.frob.com>
7181         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
7182         (ETH_ALEN): New macro.
7183         (struct ether_addr): Use it for length of ether_addr_octet.
7185         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
7186         (setdb): Don't call __nss_configure_lookup for "rpc".
7187         (do_test): Don't call test_rpc.
7188         (output_rpcent, test_rpc): Functions moved ...
7189         * sunrpc/test-rpcent.c: ... to this new file.
7190         * sunrpc/Makefile (tests): Add it.
7192         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
7193         __xpg_sigpause.
7194         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
7195         * nptl/tst-signal6.c: Likewise.
7196         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
7197         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
7199         * configure.ac (libc_cv_cxx_link_ok): New check.
7200         Reset CXX to empty if it fails to link.
7201         * configure: Regenerated.
7202         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
7203         bug-atexit3-lib only if $(CXX) is nonempty.
7204         * nptl/Makefile (tests): Likewise for tst-cancel24.
7205         (tests, tests-static): Likewise for tst-cancel24-static.
7206         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
7207         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
7208         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
7209         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
7211 2015-03-04  Andreas Schwab  <schwab@suse.de>
7213         [BZ #17631]
7214         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
7215         for non-GCC compilers.
7216         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7217         Likewise.
7219 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7221         [BZ #17776]
7222         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
7223         integer before bitwise and assembly operations.
7224         (feclearexcept): Likewise.
7225         * math/test-fenvinline.c: New file.
7226         * math/Makefile: Add test-fenvinline test.
7228 2015-03-03  Alan Modra  <amodra@gmail.com>
7230         [BZ #16512]
7231         * scripts/localplt.awk: Strip off symbol version.
7232         * NEWS: Mention bug fix.
7234 2015-03-02  Roland McGrath  <roland@hack.frob.com>
7236         * sysdeps/pthread/timer_routines.c
7237         (timer_free_list, thread_free_list, thread_active_list): Make static.
7239 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
7241         [BZ #17779]
7242         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7243         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7244         Undefine.
7245         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7246         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7247         Likewise.
7248         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7249         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7250         Likewise.
7252 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
7254         [BZ #18036]
7255         * posix/fnmatch_loop.c (END): Detect invalid pattern.
7256         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
7258 2015-03-02  Andreas Schwab  <schwab@suse.de>
7260         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
7261         variable name.
7263 2015-03-02  Florian Weimer  <fweimer@redhat.com>
7265         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
7266         Return error status.
7268 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
7270         [BZ #15969]
7271         * locale/findlocale.c (_nl_find_locale): Introduce const
7272         version of loc_name and drop unsafe type casts.
7274 2015-02-27  Roland McGrath  <roland@hack.frob.com>
7276         * dlfcn/tststatic2.c (main): Converted to ...
7277         (do_test): ... this.
7278         (TEST_FUNCTION): New macro.
7279         Include test-skeleton.c.
7281 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
7283         [BZ #17711]
7284         * elf/Makefile (tests): Add vismain only if PIE is enabled.
7285         (tests-pie): Add vismain.
7286         (CFLAGS-vismain.c): New.
7287         * elf/vismain.c: Add comments for PIE requirement.
7289 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7291         [BZ #18046]
7292         [BZ #18047]
7293         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
7294         0x1p-56L as threshold for just returning the argument.
7295         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
7296         0x1p-32L as threshold for just returning the argument.
7297         * math/auto-libm-test-in: Add more tests of atanh.
7298         * math/auto-libm-test-out: Regenerated.
7299         * sysdeps/i386/fpu/libm-test-ulps: Update.
7300         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
7302 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
7304         * string/bcopy.c (bcopy): Call memmove for performance.
7306 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
7308         * string/bzero.c (__bzero): Call memset for performance.
7310 2015-02-27  John David Anglin  <dave.anglin@bell.net>
7312         [BZ #18068]
7313         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
7314         to 00100000.
7316 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7318         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
7320 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7322         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
7323         (__kernel_standard): Use CSTR macro when setting exc.name.
7324         * sysdeps/ieee754/Makefile [$(subdir) = math]
7325         (CFLAGS-k_standard.c): Remove variable.
7327         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
7328         setting p and q from "else if" to "else".
7329         (qzero): Likewise.
7330         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
7331         (qone): Likewise.
7332         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
7333         (qzerof): Likewise.
7334         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
7335         (qonef): Likewise.
7336         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
7337         (qzero): Likewise.
7338         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
7339         (qone): Likewise.
7341         [BZ #18038]
7342         [BZ #18039]
7343         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
7344         return pi/2 for arguments below 0x1p-113L.
7345         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
7346         return pi/2 for arguments below 0x1p-106L.
7347         * math/auto-libm-test-in: Add more tests of acos.
7348         * math/auto-libm-test-out: Regenerated.
7350         [BZ #16351]
7351         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
7352         (MO): New macro.
7353         (__ieee754_asin): Force underflow exception for results with small
7354         absolute value.
7355         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
7356         (MO): New macro.
7357         (__ieee754_asinf): Force underflow exception for results with
7358         small absolute value.
7359         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
7360         (__ieee754_asin): Force underflow exception for results with small
7361         absolute value.
7362         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
7363         (__ieee754_asinf): Force underflow exception for results with
7364         small absolute value.
7365         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
7366         (__ieee754_asinl): Force underflow exception for results with
7367         small absolute value.
7368         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
7369         (__ieee754_asinl): Force underflow exception for results with
7370         small absolute value.
7371         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
7372         (__ieee754_asinl): Force underflow exception for results with
7373         small absolute value.
7374         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7375         Include <math.h>.
7376         * math/auto-libm-test-in: Do not mark underflow exceptions as
7377         possibly missing for bug 16351.
7378         * math/auto-libm-test-out: Regenerated.
7380         [BZ #18030]
7381         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
7382         of power of 2 down when low part has opposite sign.
7383         * math/libm-test.inc (logb_test_data): Add more tests.
7385 2015-02-26  Andreas Schwab  <schwab@suse.de>
7387         [BZ #18032]
7388         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
7389         over collating symbol inside a bracket expression.  Minor cleanup.
7390         * posix/tst-fnmatch3.c (do_test): Add test case.
7392 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7394         [BZ #18029]
7395         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
7396         Adjust exponent of power of 2 down when low part has opposite
7397         sign.
7398         * math/libm-test.inc (ilogb_test_data): Add more tests.
7400 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
7402         [BZ #15969]
7403         * locale/findlocale.c (_nl_find_locale): Fix constness error in
7404         the previous change.
7406         [BZ #15969]
7407         * locale/findlocale.c (_nl_find_locale): Retry archive search
7408         after alias expansion.
7410 2015-02-25  Roland McGrath  <roland@hack.frob.com>
7412         * iconv/tst-iconv3.c (main): Converted to ...
7413         (do_test): ... this.
7414         (TEST_FUNCTION): New macro.
7415         Include test-skeleton.c.
7417         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
7418         (convert): Make function static.
7419         (test_unalign): Likewise.  Add const to argument pointee types.
7420         (main): Replace with static function do_test.
7421         Print "Succeeded." only if RET is zero.
7422         (TEST_FUNCTION): New macro.
7423         Include test-skeleton.c.
7425         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
7426         returns a null pointer.
7428 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7430         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
7431         to __memcpy_ppc only for static builds.
7433 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
7435         [BZ #18020]
7436         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
7437         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
7438         * math/auto-libm-test-in: Add more tests of asinh.
7439         * math/auto-libm-test-out: Regenerated.
7440         * sysdeps/i386/fpu/libm-test-ulps: Update.
7441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7443 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
7445         [BZ #15850]
7446         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
7447         and ip6_mtuinfo definitions here.
7448         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
7449         in this define too.  Update comment.
7451 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
7453         * elf/sprof.c (load_shobj): Tweak error message to match others.
7455 2015-02-24  Kevin Easton  <kevin@guarana.org>
7457         [BZ #16145] (partial fix)
7458         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
7459         to reduce lock contention.
7461 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
7463         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
7464         (struct timex): Update time comment.
7465         (ADJ_SETOFFSET): Define.
7467 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7469         [BZ #18019]
7470         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7471         2**56 not 2**28 as threshold for log (2x) formula.
7472         * math/auto-libm-test-in: Add more tests of acosh.
7473         * math/auto-libm-test-out: Regenerated.
7474         * sysdeps/i386/fpu/libm-test-ulps: Update.
7475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7477 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7479         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
7480         parenthesis around the buf assignment.
7481         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
7483 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7485         [BZ #16783]
7486         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
7487         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
7488         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
7489         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7490         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7491         * math/libm-test.inc (scalb_test_data): Add more tests.
7493 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7495         [BZ #17916]
7496         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
7497         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
7499 2015-02-24  Eric Rannaud  <e@nanocritical.com>
7501         [BZ #17523]
7502         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
7503         * io/bits/fcntl2.h (open): Use it.
7504         (openat): Likewise.
7505         * io/open.c (__libc_open): Likewise.
7506         * io/open64.c (__libc_open64): Likewise.
7507         * io/open64_2.c (__open64_2): Likewise.
7508         * io/open_2.c (__open_2): Likewise.
7509         * io/openat.c (__openat): Likewise.
7510         * io/openat64.c (__openat64): Likewise.
7511         * io/openat64_2.c (__openat64_2): Likewise.
7512         * io/openat_2.c (__openat_2): Likewise.
7513         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
7514         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7515         * sysdeps/posix/open64.c (__libc_open64): Likewise.
7516         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7517         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
7518         (__open_nocancel): Likewise.
7519         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
7520         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
7521         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
7523 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7525         [BZ #14841]
7526         * resolv/gethnamaddr.c (getanswer): Skip logging if
7527         RES_USE_DNSSEC is set.
7528         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7530 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7532         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
7534 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
7536         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7537         201304L, for Unicode 7.
7539 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
7541         [BZ #17836]
7542         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
7543         shared library.  Add gmon-start.os otherwise.
7544         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
7545         $(objpfx)gmon-start.os if builing shared library.
7546         ($(objpfx)g$(static-start-installed-name)): Likewise.
7548 2015-02-23  Andreas Schwab  <schwab@suse.de>
7550         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
7552 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
7554         [BZ #17269]
7555         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
7556         (enlarge_userbuf): Likewise.
7558 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
7560         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
7561         * math/atest-exp.c (TIMEOUT): Adjust to 200.
7562         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
7563         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
7565 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
7567         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
7568         expression inside statement expression.
7570 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7572         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
7573         <sysdeps/nptl/lowlevellock.h> and remove macros and
7574         functions that are now defined there.
7575         (SYS_futex): Remove.
7576         (lll_compare_and_swap): Remove.
7577         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
7579 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
7581         [BZ #17999]
7582         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
7583         instead of scandirat.
7584         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
7585         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
7586         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
7587         __scandirat.
7588         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
7589         (__scandirat): Declare.  Use libc_hidden_proto.
7590         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
7591         Remove variable.
7592         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7594 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7596         [BZ #15319]
7597         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
7598         (MO): New macro.
7599         (__ieee754_atan2): For results with small absolute value, force
7600         underflow exception and remove excess range and precision from
7601         return value.
7602         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
7603         (MO): New macro.
7604         (__ieee754_atan2f): For results with small absolute value, force
7605         underflow exception and remove excess range and precision from
7606         return value.
7607         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
7608         (MO): New macro.
7609         (__atan): For results with small absolute value, force underflow
7610         exception and remove excess range and precision from return value.
7611         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
7612         (MO): New macro.
7613         (__atanf): For results with small absolute value, force underflow
7614         exception and remove excess range and precision from return value.
7615         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
7616         <math.h>.
7617         (__ieee754_atan2): Force underflow exception for results with
7618         small absolute value.
7619         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
7620         <math_private.h>.
7621         (atan): Force underflow exception for results with small absolute
7622         value.
7623         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
7624         (__atanf): Force underflow exception for results with small
7625         absolute value.
7626         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
7627         <math.h>.
7628         (__atanl): Force underflow exception for results with small
7629         absolute value.
7630         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
7631         (__atanl): Force underflow exception for results with small
7632         absolute value.
7633         * sysdeps/x86/fpu/bits/mathinline.h
7634         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
7635         (__ieee754_atan2): Only define inline for long double.
7636         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7637         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
7638         * math/auto-libm-test-in: Do not mark underflow exceptions as
7639         possibly missing for bug 15319.  Add more tests of atan2.
7640         * math/auto-libm-test-out: Regenerated.
7641         * math/libm-test.inc (casin_test_data): Do not mark underflow
7642         exceptions as possibly missing for bug 15319.
7643         (casinh_test_data): Likewise.
7644         * sysdeps/i386/fpu/libm-test-ulps: Update.
7646 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
7648         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
7649         * sysdeps/mips/bits/endian.h: Fix comments.
7651 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7653         [BZ #17996]
7654         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
7655         (hdestroy_r): Likewise.
7656         (hsearch_r): Likewise.
7657         (__hcreate_r): Declare and use libc_hidden_proto.
7658         (__hdestroy_r): Likewise.
7659         (__hsearch_r): Likewise.
7660         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
7661         (hcreate): Call __hcreate_r instead of hcreate_r.
7662         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
7663         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
7664         as weak alias of __hcreate_r.
7665         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
7666         __hdestroy_r.
7667         (hsearch_r): Rename to __hsearch_r and define as weak alias of
7668         __hsearch_r.
7669         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
7670         Remove variable.
7671         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7672         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7673         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7674         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7676 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7678         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
7679         arena_lock into a single arena_get.
7681 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
7683         * dl-reloc.c: Inlucde libc-internal.h.
7684         (_dl_try_allocate_static_tls): Call ALIGN_UP.
7685         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
7686         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
7687         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
7688         (grow_heap): Likewise.
7689         * malloc/malloc.c: Include libc-internal.h.
7690         (do_check_malloc): Call powerof2.
7691         (sysmalloc): Use pagesize. Call ALIGN_UP.
7692         (systrim): Use pagesize.
7693         (mremap_chunk): Use pagesize. Call ALIGN_UP.
7694         (__libc_valloc): Use pagesize.
7695         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
7697 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7699         [BZ #17991]
7700         * include/sys/resource.h (__getrlimit64): Declare.  Use
7701         libc_hidden_proto.
7702         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
7703         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
7704         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
7705         getrlimit64.
7706         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
7707         __getrlimit64.
7708         [!getrlimit64] (getrlimit64): Define as weak alias of
7709         __getrlimit64.  Use libc_hidden_weak.
7710         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
7711         using __getrlimit64 not __new_getrlimit64.
7712         (__GI_getrlimit64): Likewise.
7713         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
7714         Likewise.
7715         (__GI_getrlimit64): Likewise.
7716         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
7717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
7718         (getrlimit): Add __getrlimit64 alias.
7719         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
7720         Likewise.
7721         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
7722         Remove variable.
7723         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7724         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7726 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7728         * libio/fileops.c: Add missing sys/mman.h
7729         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7731 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7733         * manual/math.texi (Errors in Math Functions): Clarify goals
7734         regarding inexact and underflow exceptions.
7736 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7738         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7739         * sysdeps/mips/memset.S: Ditto.
7741 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7743         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7745 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7747         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7748         (__v1longjmp): Remove versioned symbol.
7749         (__v1siglongjmp): Remove alias and versioned symbol.
7750         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7751         (__v2siglongjmp): Likewise.
7753 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7755         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7757 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
7759         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7761 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7763         [BZ #17987]
7764         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7765         zero result does not depend on the sign resulting from
7766         subtraction.
7767         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7768         Likewise.
7769         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7770         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7771         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7772         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7773         * math/libm-test.inc (remquo_test_data): Add more tests.
7775 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7777         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7778         Problem reported by J William Piggott.
7780 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7782         [BZ #17978]
7783         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7784         products 4 * y and 2 * y where those would overflow.
7785         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7786         Likewise.
7787         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7788         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7789         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7790         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7791         * math/libm-test.inc (remquo_test_data): Add more tests.
7793         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7795         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7796         [defined _COMPILING_NEWLIB].
7797         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7798         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7800         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7801         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7803 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7805         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7806         acquired.
7808 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7810         [BZ #17792]
7811         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7812         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7813         HOST_STACK_END_ADDR): Likewise.
7815 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7817         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7818         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7819         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7821 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7823         * sysdeps/generic/c++-types.data: New file.
7824         * sysdeps/generic/ld.abilist: New file.
7825         * sysdeps/generic/libBrokenLocale.abilist: New file.
7826         * sysdeps/generic/libanl.abilist: New file.
7827         * sysdeps/generic/libc.abilist: New file.
7828         * sysdeps/generic/libcrypt.abilist: New file.
7829         * sysdeps/generic/libdl.abilist: New file.
7830         * sysdeps/generic/libm.abilist: New file.
7831         * sysdeps/generic/libpthread.abilist: New file.
7832         * sysdeps/generic/libresolv.abilist: New file.
7833         * sysdeps/generic/librt.abilist: New file.
7835 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7837         [BZ #17569]
7838         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7839         Compute absolute value of x as modified by fmod, not original
7840         value of x.
7841         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7842         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7843         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7844         RUN_TEST_ffI_f1_mod8.
7845         (remquo_test_data): Add more tests.
7847 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7849         * sysdeps/init_array/pt-crti.S: New file.
7851 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7853         [BZ #17967]
7854         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7855         __builtin_fmaf instead of relying on contraction of a * b + c.
7857 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7859         [BZ #17969]
7860         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7861         node.
7863 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7865         [BZ #17964]
7866         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7867         __builtin_fma instead of relying on contraction of a * b + c.
7869 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7871         * Makeconfig (ASFLAGS): Add -Werror=undef.
7872         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7873         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7874         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7876         * Makeconfig (after-link): New variable.
7877         (+link-pie, +link-pie-tests): Use it.
7878         (+link-static, +link-static-tests): Likewise.
7879         (+link, +link-tests): Likewise.
7880         * Makerules (build-module, build-module-asneeded): Likewise.
7881         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7882         Likewise.
7883         * elf/Makefile ($(objpfx)ld.so): Likewise.
7885 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7887         [BZ #17965]
7888         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7889         both struct timeval and struct timespec.
7891 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7893         [BZ #16560]
7894         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7895         and redefine.
7896         (__ieee754_exp2l): Do not multiply small fractional parts by
7897         M_LN2l.
7898         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7899         small argument.
7900         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7901         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7902         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7903         * math/auto-libm-test-in: Add more tests of exp2.
7904         * math/auto-libm-test-out: Regenerated.
7906 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7908         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7909         unaligned path.
7911 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7913         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7914         little endian.
7916 2015-02-12  Andreas Schwab  <schwab@suse.de>
7918         [BZ #15790]
7919         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7920         Filter out elision flags from value returned in kind.
7921         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7922         * nptl/tst-pthread-mutexattr.c: New file.
7924 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7926         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7927         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7928         into gnu-gnu, and update comment to refer to abi-tags.
7930 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7932         [BZ #15467]
7933         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7934         (__sincos): Set errno to EDOM for infinite argument.
7935         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7936         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7937         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7938         (__sincosl): Set errno to EDOM for infinite argument.
7939         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7940         (__sincosl): Set errno to EDOM for infinite argument.
7941         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7942         (__sincosl): Set errno to EDOM for infinite argument.
7943         * math/libm-test.inc (sincos_test_data): Test errno setting.
7945 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7947         * string/strxfrm_l.c: Remove #define STRCMP.
7948         * string/strcoll_l.c: Remove #define STRLEN.
7949         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7950         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7952 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7954         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7955         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7956         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7957         * sysdeps/mips/mips64/Makefile: ... here.
7958         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7959         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7960         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7961         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7962         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7963         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7964         * sysdeps/mips/mips64/n64/Implies: Likewise.
7966 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7968         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7969         <sys/time.h>, <string.h>, and <errno.h>.
7970         (dest_offset, dest_address, value, zero): Remove unused variables.
7971         (ldouble): Remove typedef.
7972         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7973         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7974         1).  Fix code style.
7975         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7976         (check): Function removed.
7977         (CHECK): New macro.
7978         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7979         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7980         Don't call set_sigaction_FP and remove_sigaction_FP here.
7981         (ldouble_test): Just use 'long double' as macro argument, no need for
7982         the 'ldouble' typedef.
7983         (do_test): Set up SIGFPE handler at start, using plain signal rather
7984         than sigaction.  Fix code style.
7986 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7988         [BZ #17949]
7989         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7990         jump label.
7992 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7994         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7995         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7997         * sysdeps/powerpc/configure.ac: Remove file.
7998         * sysdeps/powerpc/configure: Likewise.
8000         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8001         [sysdep_routines]: Remove wordcopy-power6 object.
8002         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8003         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
8004         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
8005         (__memmove_ppc32): Likewise.
8006         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
8007         file.
8008         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
8009         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
8010         Remove preprocessor.
8012         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8013         [sysdep_routines]: Remove wide chars objects.
8014         [wcsmbs]: New rule for wide char objects.
8016         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8017         Remove wordcopy-power6 obejct.
8018         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
8019         Use local call for wordcopy and memcpy symbols.
8020         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
8021         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
8022         implementation for loader.
8023         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
8025         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8026         Remove wordcopy-power7 object.
8027         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
8028         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
8029         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
8030         (_wordcopy_fwd_dest_aligned): Likewise.
8031         (_wordcopy_bwd_aligned): Likewise.
8032         (_wordcopy_bwd_dest_aligned): Likewise.
8034         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
8035         Rewrite to call __memmove_ppc instead of include default
8036         implementation.
8038         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8039         Remove wide chars objects.
8040         [wcsmbs]: New rule for wide char objects.
8042 2015-02-09  Andreas Schwab  <schwab@suse.de>
8044         [BZ #17912]
8045         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
8046         in terms of __O_DIRECTORY.
8048 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8050         * time/getdate.c: Include <stdbool.h>.
8051         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
8052         call PTR_MANGLE.
8053         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
8054         PTR_DEMANGLE.
8056 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
8058         Add ersatz _Static_assert on older C hosts
8059         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
8060         pre-C11 C platform that is not known to support _Static_assert.
8062 2015-02-07  Richard Braun  <rbraun@sceen.net>
8064         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
8065         sigstate.
8066         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
8068 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8070         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
8071         priority against unexistent AIO_PRIO_DELTA_MAX.
8072         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
8073         instead of int.
8074         * misc/fchflags.c (fchflags): Likewise.
8075         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
8076         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
8077         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
8078         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
8079         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
8080         Declare macros.
8081         [__USE_MISC] (chflags, fchflags): Declare functions.
8082         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
8083         EINVAL when nfds is greater than FD_SETSIZE.
8084         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
8085         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
8086         45.
8087         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
8088         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
8089         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
8090         MACH_RCV_TIMED_OUT.
8091         * hurd/hurd/signal.h (_hurd_self_sigstate,
8092         _hurd_critical_section_lock, _hurd_critical_section_unlock):
8093         Explicit casts from void *.
8094         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
8095         * abi-tags: Rename gnu-gnu os into gnu.
8097         [BZ #4719]
8098         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
8099         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
8100         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
8101         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
8102         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
8103         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
8105         [BZ #17944]
8106         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
8107         duplicates ADDR->sun_path with sockaddr LEN limitation.
8108         * sysdeps/mach/hurd/connect.c: Include <string.h>
8109         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
8110         * sysdeps/mach/hurd/sendmsg.c: Likewise.
8111         * sysdeps/mach/hurd/sendto.c: Likewise.
8112         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
8113         implementing it by hand.
8115 2015-02-06  Roland McGrath  <roland@hack.frob.com>
8117         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
8118         Use sfi_breg on ldr.
8119         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
8120         Likewise.
8122         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
8123         it's defined.
8124         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
8125         Test SIGSETXID only if it's defined.
8127         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
8129         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
8130         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
8132         * nptl/tst-align2.c: Moved ...
8133         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
8134         * nptl/Makefile (tests): Remove tst-align2.
8135         * sysdeps/unix/sysv/linux/Makefile
8136         [$(subdir) = nptl] (tests): Add tst-align-clone.
8137         * nptl/tst-getpid1.c: Moved ...
8138         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
8139         * nptl/tst-getpid2.c: Moved ...
8140         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
8141         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
8142         * sysdeps/unix/sysv/linux/Makefile
8143         [$(subdir) = nptl] (tests): ... here.
8144         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
8145         * sysdeps/unix/sysv/linux/Makefile
8146         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
8148         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
8149         Drop trailing \n from perror argument.  Use return rather than exit.
8151         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
8152         on [SA_SIGINFO].
8153         * nptl/tst-cancel21.c (do_test): Likewise.
8154         * debug/tst-backtrace6.c: Include <signal.h> first thing.
8155         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
8156         [!SA_SIGINFO]: Make it a stub test.
8158         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
8159         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
8161         * posix/tst-getlogin.c: Move to ...
8162         * login/tst-getlogin.c: ... here.
8163         * posix/Makefile (tests): Move tst-getlogin to ...
8164         * login/Makefile (tests): ... here.
8166         * libio/tst-atime.c (do_test): Move local variables SV and E
8167         inside [ST_NOATIME] conditional.
8169         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
8171         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
8173         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
8174         (wait_code): New function replaces macro.
8175         Call nanosleep rather than syscall.
8177         * nptl/pt-system.c: Rewritten.  Put everything under
8178         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8179         Use IFUNC to redirect when possible.
8181         * nptl/pt-longjmp.c: Rewritten.  Put everything under
8182         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8183         Use IFUNC to redirect when possible.
8185         * nptl/pt-fork.c: Rewritten.  Put everything under
8186         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8187         Use IFUNC to redirect when possible.
8188         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
8190         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
8191         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
8192         unconditionally nowadays.  This included the only reference to
8193         __vdso_clock_gettime that appears outside libc proper.
8194         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
8195         Remove version set (containing only __vdso_clock_gettime).
8196         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
8197         Add attribute_hidden.
8198         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
8199         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
8200         libc_hidden_data_def.
8201         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8202         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8204         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
8205         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
8206         setrpcent, and getrpcport to ...
8207         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
8208         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
8209         getrpcbynumber_r, and getrpcent_r to ...
8210         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
8211         * inet/getrpcbyname.c: Moved ...
8212         * sunrpc/getrpcbyname.c: ... here.
8213         * inet/getrpcbyname_r.c: Moved ...
8214         * sunrpc/getrpcbyname_r.c: ... here.
8215         * inet/getrpcbynumber.c: Moved ...
8216         * sunrpc/getrpcbynumber.c: ... here.
8217         * inet/getrpcbynumber_r.c: Moved ...
8218         * sunrpc/getrpcbynumber_r.c: ... here.
8219         * inet/getrpcent.c: Moved ...
8220         * sunrpc/getrpcent.c: ... here.
8221         * inet/getrpcent_r.c: Moved ...
8222         * sunrpc/getrpcent_r.c: ... here.
8223         * inet/Makefile (routines): Move those to ...
8224         * sunrpc/Makefile (routines): ... here.
8225         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
8226         the $(subdirs) list.
8227         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
8228         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
8229         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
8230         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
8232         * elf/Makefile (routines): Include $(all-dl-routines), not just
8233         $(dl-routines).
8234         (rtld-routines): Likewise.  Use = rather than :=.
8235         * sysdeps/aarch64/Makefile [$(subdir) = elf]
8236         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
8237         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
8238         * sysdeps/arm/Makefile: Likewise.
8239         * sysdeps/i386/Makefile: Likewise.
8240         * sysdeps/x86_64/Makefile: Likewise.
8241         * sysdeps/hppa/Makefile [$(subdir) = elf]
8242         (sysdep_routines, sysdep-rtld-routines): Don't add
8243         $(sysdep-dl-routines) to these.
8244         * sysdeps/ia64/Makefile: Likewise.
8245         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
8246         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
8247         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
8248         Don't add dl-static to these; sysdep-dl-routines alone is enough.
8249         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
8250         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
8251         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
8252         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
8253         * sysdeps/powerpc/Makefile [$(subdir) = elf]
8254         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
8255         these; sysdep-dl-routines alone is enough.
8257 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
8259         [BZ #17932]
8260         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
8261         where multiplication results in zero and third argument is finite
8262         and nonzero.
8263         * math/auto-libm-test-in: Add more tests of fma.
8264         * math/auto-libm-test-out: Regenerated.
8266         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
8267         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
8268         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
8269         (_FP_CMP_EQ): Likewise.
8270         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
8272         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
8273         extra argument CHECK_NAN.  Redefine as wrapper around
8274         _FP_EXTEND_CNAN.
8276 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
8278         * version.h (RELEASE): Set to "stable".
8279         (VERSION): Set to "2.21"
8280         * include/features.h (__GLIBC_MINOR__): Set to 21.
8282         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
8284 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8285             Paul Eggert  <eggert@cs.ucla.edu>
8287         [BZ #16618]
8288         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
8289         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
8290         size in bytes. Store needed elements in wpmax. Use needed size
8291         in bytes for extend_alloca.
8293 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
8295         * manual/install.texi: Latest tested versions are GCC 4.9.2,
8296         binutls 2.25, and texinfo 5.2.
8297         * INSTALL: Regenerate.
8298         * sysdeps/nios2/configure: Regenerate.
8299         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
8300         * manual/contrib.texi: Update.
8301         * po/be.po: Update.
8302         * po/bg.po: Update.
8303         * po/ca.po: Update.
8304         * po/cs.po: Update.
8305         * po/da.po: Update.
8306         * po/de.po: Update.
8307         * po/el.po: Update.
8308         * po/eo.po: Update.
8309         * po/es.po: Update.
8310         * po/fi.po: Update.
8311         * po/fr.po: Update.
8312         * po/gl.po: Update.
8313         * po/hr.po: Update.
8314         * po/hu.po: Update.
8315         * po/ia.po: Update.
8316         * po/id.po: Update.
8317         * po/it.po: Update.
8318         * po/ja.po: Update.
8319         * po/ko.po: Update.
8320         * po/lt.po: Update.
8321         * po/nb.po: Update.
8322         * po/nl.po: Update.
8323         * po/pl.po: Update.
8324         * po/pt_BR.po: Update.
8325         * po/ru.po: Update.
8326         * po/rw.po: Update.
8327         * po/sk.po: Update.
8328         * po/sl.po: Update.
8329         * po/sv.po: Update.
8330         * po/tr.po: Update.
8331         * po/uk.po: Update.
8332         * po/vi.po: Update.
8333         * po/zh_CN.po: Update.
8334         * po/zh_TW.po: Update.
8336         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
8337         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
8338         * sysdeps/hppa/dl-irel.h: Remove #warning.
8339         * sysdeps/hppa/entry.h: Provide prototype for
8340         __canonicalize_funcptr_for_compare and cast argument.
8341         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
8342         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
8343         * sysdeps/hppa/sotruss-lib.c: New file.
8344         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
8345         (atomic_compare_and_exchange_val_acq): Use __typeof__.
8346         (atomic_compare_and_exchange_bool_acq): Likewise.
8347         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
8348         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
8350         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
8351         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
8352         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
8354 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
8356         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
8357         called function in non-PIC case.
8359 2015-01-31  David S. Miller  <davem@davemloft.net>
8361         * sysdeps/sparc/sparc32/bits/atomic.h
8362         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
8363         unlock not after it.
8364         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
8365         volatile register usage warnings from the compiler.
8367         * sysdeps/sparc/nptl/sem_init.c: Delete.
8368         * sysdeps/sparc/nptl/sem_post.c: Delete.
8369         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
8370         * sysdeps/sparc/nptl/sem_wait.c: Delete.
8371         * sysdeps/sparc/sparc32/sem_init.c: New file.
8372         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
8373         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
8374         padding explicitly initialized.
8375         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
8376         padding for in-semaphore spinlock.
8377         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
8378         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
8379         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
8380         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
8381         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
8382         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
8383         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
8384         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
8385         version.
8386         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
8387         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
8389 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8391         [BZ #17801]
8392         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8393         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
8394         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
8395         New.
8396         (index_AVX_Fast_Unaligned_Load): Likewise.
8397         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
8398         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
8399         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
8400         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
8401         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
8402         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
8403         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
8404         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
8405         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
8407 2015-01-29  Andreas Schwab  <schwab@suse.de>
8409         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
8411 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
8413         [BZ #17892]
8414         * nscd/nscd_stat.c (send_stats): Initialize DATA.
8416 2015-01-28  Martin Sebor  <msebor@redhat.com>
8418         * math/README.libm-test: Clarify. Add "How to read the test output."
8420 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
8422         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
8423         Define to 0.
8425 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
8427         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
8428         (__HAVE_64B_ATOMICS): Define to 0.
8430 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8432         [BZ #17885]
8433         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
8434         value to set as new flag.
8436         [BZ #16576]
8437         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
8438         and use _ARCH_PPCSQ instead.
8439         (__ieee754_sqrt): Likewise.
8440         (__ieee754_sqrtf): Likewise.
8441         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
8442         _ARCH_PPCSQ is defined.
8443         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
8444         fsqrt instruction.
8445         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
8446         _ARCH_PPCSQ is defined.
8447         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
8448         fsqrts instruction.
8449         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
8451 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8453         * iconv/loop.c: Suppress array out of bound warning caused by GCC
8454         bug (GCC BZ #64739).
8456 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
8458         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
8459         Mark _retval as used.
8460         (lll_futex_wake_unlock): Likewise.
8461         (lll_futex_timed_wait_requeue_pi): Likewise.
8463         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8464         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
8465         register variables.
8467         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
8468         libm_hidden_def.
8470         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
8471         (__bswap_64): Mark as __always_inline.
8473 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
8475         [BZ #15378]
8476         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
8477         when none of the search directories exist.
8479 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8481         [BZ #17869]
8482         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
8483         power8 in .machine directive.
8485         [BZ #17868]
8486         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
8487         set dependency from opd value.
8489 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8491         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8492         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
8493         architecture.
8495 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8497         [BZ #17870]
8498         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
8499         with uint64_t.
8500         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
8501         (uint64_t) 1.
8502         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
8503         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
8504         Replace 1UL with (uint64_t) 1.
8505         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
8506         int with uint64_t.
8508 2015-01-23  Roland McGrath  <roland@hack.frob.com>
8510         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
8511         (if_freenameindex): Likewise.
8513         * resource/getrlimit64.c: Add missing libc_hidden_def.
8515 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
8517         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
8518         __label__.
8519         (_FP_FMA): Likewise.
8520         (_FP_TO_INT_ROUND): Likewise.
8521         (_FP_FROM_INT): Likewise.
8523 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8525         [BZ #16418]
8526         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
8527         Make code racy and cancel safe.
8529 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
8531         * sysdeps/arm/unwind-resume.h: Fix copyright year.
8532         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
8533         attribution.
8535         * pwd/tst-getpw.c: Rewrite.
8537         [BZ #17702]
8538         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
8539         (modules-names): Add moddummy1 and moddummy2.
8540         ($(objpfx)tst-rec-dlopen): Define.
8541         * dlfcn/moddummy1.c: New file.
8542         * dlfcn/moddummy2.c: New file.
8543         * dlfcn/tst-rec-dlopen.c: New file.
8544         * elf/dl-cache.c (_dl_load_cache_lookup):
8545         Return char*. Copy result with alloca/strcpy/strdup.
8546         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
8547         returns char*. Free cached. If not saving realname
8548         free cached.
8549         * elf/dl-open.c (dl_open_worker): Do not assert that
8550         _r_debug->r_state is RT_CONSISTENT.
8551         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
8552         returns char*.
8554 2015-01-21  Torvald Riegel  <triegel@redhat.com>
8555             Carlos O'Donell  <carlos@redhat.com>
8557         [BZ #12674]
8558         * nptl/sem_waitcommon.c: New file.
8559         * nptl/sem_wait.c: Include sem_waitcommon.c.
8560         (__sem_wait_cleanup, do_futex_wait): Remove.
8561         (__new_sem_wait): Adapt.
8562         (__new_sem_trywait): New function.
8563         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
8564         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
8565         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
8566         (sem_timedwait): Adapt.
8567         * nptl/sem_post.c (__new_sem_post): Adapt.
8568         (futex_wake): New function.
8569         (__old_sem_post): Add release MO fence.
8570         * nptl/sem_open.c (sem_open): Adapt.
8571         * nptl/sem_init.c (__new_sem_init): Adapt.
8572         (futex_private_if_supported): New function.
8573         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
8574         (__old_sem_getvalue): Add using previous code.
8575         * sysdeps/nptl/internaltypes.h: Adapt.
8576         * nptl/tst-sem13.c (do_test): Adapt.
8577         * nptl/tst-sem11.c (main): Adapt.
8578         * nptl/sem_trywait.c: Remove.
8579         * nptl/DESIGN-sem.txt: Remove.
8580         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
8581         (gen-as-const-headers): Remove structsem.sym.
8582         * nptl/structsem.sym: Remove.
8583         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
8584         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
8585         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
8586         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
8587         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
8588         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
8589         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
8590         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
8591         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
8592         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
8593         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
8594         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
8595         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
8596         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
8597         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
8598         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
8599         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
8600         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
8601         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
8602         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
8603         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
8604         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
8606 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
8608         * INSTALL: Regenerated.
8610         * po/libc.pot: Regenerated.
8612 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
8613             Sandra Loosemore  <sandra@codesourcery.com>
8614             Andrew Jenner  <andrew@codesourcery.com>
8615             Joseph Myers  <joseph@codesourcery.com>
8616             Nathan Sidwell  <nathan@codesourcery.com>
8618         * NEWS: Mention new Nios II port.
8619         * sysdeps/nios2/Implies: New file.
8620         * sysdeps/nios2/Makefile: New file.
8621         * sysdeps/nios2/Subdirs: New file.
8622         * sysdeps/nios2/Versions: New file.
8623         * sysdeps/nios2/__longjmp.S: New file.
8624         * sysdeps/nios2/abort-instr.h: New file.
8625         * sysdeps/nios2/backtrace.c: New file.
8626         * sysdeps/nios2/bits/endian.h: New file.
8627         * sysdeps/nios2/bits/fenv.h: New file.
8628         * sysdeps/nios2/bits/link.h: New file.
8629         * sysdeps/nios2/bits/setjmp.h: New file.
8630         * sysdeps/nios2/bsd-_setjmp.S: New file.
8631         * sysdeps/nios2/bsd-setjmp.S: New file.
8632         * sysdeps/nios2/configure: New generated file.
8633         * sysdeps/nios2/configure.ac: New file.
8634         * sysdeps/nios2/crti.S: New file.
8635         * sysdeps/nios2/crtn.S: New file.
8636         * sysdeps/nios2/dl-init.c: New file.
8637         * sysdeps/nios2/dl-machine.h: New file.
8638         * sysdeps/nios2/dl-sysdep.h: New file.
8639         * sysdeps/nios2/dl-tls.h: New file.
8640         * sysdeps/nios2/dl-trampoline.S: New file.
8641         * sysdeps/nios2/gccframe.h: New file.
8642         * sysdeps/nios2/gmp-mparam.h: New file.
8643         * sysdeps/nios2/jmpbuf-offsets.h: New file.
8644         * sysdeps/nios2/jmpbuf-unwind.h: New file.
8645         * sysdeps/nios2/ldsodefs.h: New file.
8646         * sysdeps/nios2/libc-tls.c: New file.
8647         * sysdeps/nios2/libm-test-ulps: New file.
8648         * sysdeps/nios2/machine-gmon.h: New file.
8649         * sysdeps/nios2/math-tests.h: New file.
8650         * sysdeps/nios2/math_private.h: New file.
8651         * sysdeps/nios2/memusage.h: New file.
8652         * sysdeps/nios2/nptl/Makefile: New file.
8653         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
8654         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
8655         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
8656         * sysdeps/nios2/nptl/pthreaddef.h: New file.
8657         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
8658         * sysdeps/nios2/nptl/tls.h: New file.
8659         * sysdeps/nios2/preconfigure: New file.
8660         * sysdeps/nios2/s_fma.c: New file.
8661         * sysdeps/nios2/s_fmaf.c: New file.
8662         * sysdeps/nios2/setjmp.S: New file.
8663         * sysdeps/nios2/sfp-machine.h: New file.
8664         * sysdeps/nios2/sotruss-lib.c: New file.
8665         * sysdeps/nios2/stackguard-macros.h: New file.
8666         * sysdeps/nios2/stackinfo.h: New file.
8667         * sysdeps/nios2/start.S: New file.
8668         * sysdeps/nios2/sysdep.h: New file.
8669         * sysdeps/nios2/tls-macros.h: New file.
8670         * sysdeps/nios2/tst-audit.h: New file.
8671         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
8672         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
8673         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
8674         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
8675         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
8676         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
8677         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
8678         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
8679         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
8680         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
8681         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
8682         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
8683         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
8684         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
8685         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
8686         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
8687         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
8688         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
8689         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
8690         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
8691         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
8692         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
8693         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
8694         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
8695         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
8696         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
8697         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
8698         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
8699         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
8700         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
8701         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
8702         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
8703         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
8704         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
8705         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
8706         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
8707         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
8708         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
8709         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
8710         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
8711         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
8712         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
8713         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
8714         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
8716 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8718         [BZ #17844]
8719         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
8720         (getutent): Use weak_alias in non SHARED case
8721         and default_symbol_version in SHARED case.
8722         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8723         (getutent_r, pututline): Likewise.
8724         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8725         (getutid): Likewise.
8726         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8727         (getutid_r): Likewise.
8728         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8729         (getutline): Likewise.
8730         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8731         (getutline_r): Likewise.
8732         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8733         (updwtmp): Likewise.
8735 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8737         [BZ #17848]
8738         * sysdeps/s390/s390-32/memcmp.S
8739         (memcmp_g5): Rename to __memcmp_g5.
8740         * sysdeps/s390/s390-32/memcpy.S
8741         (memcpy_g5): Rename to __memcpy_g5.
8742         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8743         (memcpy_mvcle) Rename to __memcpy_mvcle.
8744         * sysdeps/s390/s390-32/memset.S
8745         (memset_g5): Rename to __memset_g5.
8746         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8747         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8748         and use prefixed functions.
8749         * sysdeps/s390/s390-32/multiarch/memcmp.S
8750         (memcmp_z196): Rename to __memcmp_z196.
8751         (memcmp_z10): Rename to __memcmp_z10.
8752         (memcmp): Set alias to __memcmp_g5.
8753         (bcmp): Set alias to __memcmp_g5.
8754         * sysdeps/s390/s390-32/multiarch/memcpy.S
8755         (memcpy_z196): Rename to __memcpy_z196.
8756         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8757         (memcpy_z10): Rename to __memcpy_z10.
8758         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8759         (memcpy): Set alias to __memcpy_g5.
8760         * sysdeps/s390/s390-32/multiarch/memset.S
8761         (memset_z196): Rename to __memset_z196.
8762         Jump to __memset_mvcle instead of memset_mvcle.
8763         (memset_z10): Rename to __memset_z10.
8764         Jump to __memset_mvcle instead of memset_mvcle.
8765         (memset_mvcle) Rename to __memset_mvcle.
8766         (memset): Set alias to __memset_g5.
8767         * sysdeps/s390/s390-64/memcmp.S
8768         (memcmp_z900): Rename to __memcmp_z900.
8769         * sysdeps/s390/s390-64/memcpy.S
8770         (memcpy_z900): Rename to __memcpy_z900.
8771         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8772         (memcpy_mvcle) Rename to __memcpy_mvcle.
8773         * sysdeps/s390/s390-64/memset.S
8774         (memset_z900): Rename to __memset_z900.
8775         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8776         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8777         and use prefixed functions.
8778         * sysdeps/s390/s390-64/multiarch/memcmp.S
8779         (memcmp_z196): Rename to __memcmp_z196.
8780         (memcmp_z10): Rename to __memcmp_z10.
8781         (memcmp): Set alias to __memcmp_z900.
8782         (bcmp): Set alias to __memcmp_z900.
8783         * sysdeps/s390/s390-64/multiarch/memcpy.S
8784         (memcpy_z196): Rename to __memcpy_z196.
8785         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8786         (memcpy_z10): Rename to __memcpy_z10.
8787         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8788         (memcpy): Set alias to __memcpy_z900.
8789         * sysdeps/s390/s390-64/multiarch/memset.S
8790         (memset_z196): Rename to __memset_z196.
8791         Jump to __memset_mvcle instead of memset_mvcle.
8792         (memset_z10): Rename to __memset_z10.
8793         Jump to __memset_mvcle instead of memset_mvcle.
8794         (memset_mvcle) Rename to __memset_mvcle.
8795         (memset): Set alias to __memset_z900.
8797 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8799         [BZ #17748]
8800         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8801         __fesetenv instead of fesetenv.
8803 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8805         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8806         macro.
8808 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8810         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8811         regression on LE.
8813         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8814         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8815         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8816         strncmp-power8 object.
8817         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8818         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8819         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8820         * NEWS: Update.
8822 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8823             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8825         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8826         trailing byte check.
8828 2015-01-13  David S. Miller  <davem@davemloft.net>
8830         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8832 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8834         * login/logout.c (logout): Use memset rather than bzero.
8835         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8836         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8837         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8838         (_gethtbyaddr): Likewise.
8839         * locale/programs/simple-hash.c (bcopy): Macro removed.
8841 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8843         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8844         Add strcmp-power8 object.
8845         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8846         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8847         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8848         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8849         __strcmp_power8 implementation.
8850         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8851         * NEWS: Update.
8853         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8854         Add strncpy-power8 and stpncpy-power8 objects.
8855         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8856         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8857         implementations.
8858         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8859         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8860         __stpncpy_power8 implementation.
8861         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8862         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8863         __strncpy_power8 implementation.
8864         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8865         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8866         * NEWS: Update.
8868         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8869         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8870         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8872         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8873         strncat-power8 object.
8874         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8875         __strcat_power8 implementation.
8876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8877         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8878         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8879         optimized strcat for power8.
8881         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8882         strcpy-power8 and stpcpy-power8 objects.
8883         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8884         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8885         implementations.
8886         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8887         multiarch stpcpy implementation for POWER8.
8888         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8889         multiarch strcpy implementation for POWER8.
8890         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8891         __strcpy_power8 function.
8892         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8893         stpcpy for POWER8.
8894         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8895         strcpy for POWER8.
8896         * NEWS: Update.
8898 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8900         [BZ #16009]
8901         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8902         weights and rules. Use do_xfrm_cached if data fits in cache,
8903         do_xfrm otherwise.  Moved former main loop to...
8904         * (do_xfrm_cached): New function.
8905         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8906         find_idx, find_position and stack_push.
8907         * (find_idx): New function.
8908         * (find_position): Likewise.
8909         * localedata/sort-test.sh: Added test run for do_xfrm.
8910         * localedata/xfrm-test.c (main): Added command line option
8911         -nocache to run the test with strings that are too large for
8912         the STRXFRM cache.
8914 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8916         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8917         variable to lll_futex_wake call, not the value itself.
8919 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8921         [BZ #17803]
8922         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8923         twom64.  Adjust value to 0x1p-64L.
8924         (__scalblnl): Only return standard underflowing result for K <=
8925         -64 not K <= -63; adjust exponent for underflowing result by 64
8926         not 63.
8927         * math/libm-test.inc (scalbn_test_data): Add more tests.
8928         (scalbln_test_data): Likewise.
8930         [BZ #17834]
8931         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8932         0x1p63L.
8933         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8934         not HX.
8935         * math/libm-test.inc (scalbn_test_data): Add more tests.
8936         (scalbln_test_data): Likewise.
8938 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8939             Stefani Seibold  <stefani@seibold.net>
8941         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8942         (sysdep_routines): Add dl-vdso here, ...
8943         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8944         (sysdep_routines): ... not here.
8945         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8946         fallback when vDSO is not presented.
8947         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8948         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8949         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8950         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8951         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8952         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8953         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8954         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8955         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8956         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8957         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8958         fallback configurable symbol when vDSO is not available.
8959         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8960         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8961         be able to redefine fallback symbol when vDSO is not available.
8962         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8963         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8965 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8967         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8968         (TLS_INIT_TP): Add tm_capable initialization.
8969         (TLS_DEFINE_INIT_TP): Likewise.
8970         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8971         TCB.
8972         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8973         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8974         calculation.
8975         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8976         transactoion is lock elision is built and TCB tm_capable is set.
8977         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8979         (INTERNAL_SYSCALL_NCS): Likewise.
8980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8981         (INTERNAL_SYSCALL_NCS): Likewise.
8982         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8984         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8985         for powerpc.
8986         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8987         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8988         and remove it for 32 bits case.
8989         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8990         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8991         initialization.
8992         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8993         Disable lock elision with rdlocks if elision is not available.
8995         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8996         (sysdep_routines): Add lock elision objects.
8997         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8998         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8999         [pthread_mutex_t] (__elision): Add field.
9000         [__PTHREAD_SPINS]: Adjust to init lock elision field.
9001         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
9002         elision definitions for powerpc.
9003         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
9004         implementation of lock elision for powerpc.
9005         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
9006         implementation of timed lock elision for powerpc.
9007         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
9008         implementation of trylock with lock elision for powerpc.
9009         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
9010         implementaion of unlock for lock elision for powerpc.
9011         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
9012         automatic enable lock elision for mutexes.
9013         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
9014         transaction execution definitions for powerpc.
9015         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
9016         definitions.
9017         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
9018         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
9019         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
9020         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
9021         * NEWS: Update.
9023 2015-01-09  Roland McGrath  <roland@hack.frob.com>
9025         * sysdeps/posix/shm-directory.c: Use <> rather than ""
9026         for #include of <shm-directory.h>.
9028 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
9030         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
9031         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
9033 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
9035         [BZ #17791]
9036         * NEWS: Mention bug fix.
9037         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
9038         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
9039         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
9041 2015-01-09  Torvald Riegel <triegel@redhat.com>
9043         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
9045 2015-01-09  Torvald Riegel <triegel@redhat.com>
9047         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
9049 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
9051         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
9052         pointer and cast to uintptr_t.
9054 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
9056         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
9057         removed.
9058         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
9060 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
9062         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
9063         of 0.
9065 2015-01-08  Roland McGrath  <roland@hack.frob.com>
9067         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
9068         <nptl/pthreadP.h> instead.
9069         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
9071         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
9072         already defined.
9073         [__SIGRTMIN] (init): Function removed.
9074         [__SIGRTMIN] (initialized): Variable removed.
9075         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
9076         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
9077         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
9078         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
9079         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
9080         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
9081         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
9082         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
9083         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
9084         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
9085         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
9086         * sysdeps/nptl/allocrtsig.c: New file.
9087         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
9088         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
9089         * sysdeps/generic/testrtsig.h: File removed.
9091         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
9092         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
9094         * nptl/nptl-init.c (pthread_functions): Conditionalize
9095         .ptr__nptl_setxid initialization on [SIGSETXID].
9097         * sysdeps/nptl/sys/procfs.h: New file.
9098         * nptl_db/Makefile (headers): Add it.
9099         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
9101         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
9102         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
9103         * nptl/pthread_attr_setaffinity.c: Include it.
9104         * nptl/pthread_setattr_default_np.c: Likewise.
9105         * nptl/check-cpuset.h: New file.
9107 2015-01-08  Richard Henderson  <rth@redhat.com>
9109         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
9110         (CFLAGS-tst-execstack-prog.c): Likewise.
9111         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
9113 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
9114             Sandra Loosemore  <sandra@codesourcery.com>
9115             Andrew Jenner  <andrew@codesourcery.com>
9116             Joseph Myers  <joseph@codesourcery.com>
9117             Nathan Sidwell  <nathan@codesourcery.com>
9119         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
9120         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
9121         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
9122         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
9123         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
9124         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
9125         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
9126         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
9127         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
9128         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
9129         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
9130         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
9131         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
9132         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
9133         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
9134         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
9135         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
9137 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9139         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
9140         timespec struct member in syscall macro.
9141         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9142         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
9143         first timeval struct member in syscall macro.
9144         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
9146 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
9148         [BZ #17748]
9149         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
9150         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
9151         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
9152         __feupdateenv and define as weak alias of __feupdateenv.  Use
9153         libm_hidden_weak.
9154         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
9155         libm_hidden_def.
9156         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
9157         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
9158         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9159         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
9160         libm_hidden_def.
9161         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
9162         __feupdateenv and define as weak alias of __feupdateenv.  Use
9163         libm_hidden_weak.
9164         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
9165         libm_hidden_def.
9166         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
9167         __feupdateenv and define as weak alias of __feupdateenv.  Use
9168         libm_hidden_weak.
9169         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
9170         libm_hidden_def.
9171         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9172         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9173         (__feupdateenv): Likewise.
9174         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
9175         __feupdateenv and define as weak alias of __feupdateenv.  Use
9176         libm_hidden_weak.
9177         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9178         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
9179         libm_hidden_def.
9180         * sysdeps/tile/math_private.h (__feupdateenv): New inline
9181         function.
9182         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
9183         libm_hidden_def.
9184         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
9185         __feupdateenv instead of feupdateenv.
9186         (default_libc_feupdateenv_test): Likewise.
9187         (libc_feresetround_ctx): Likewise.
9189 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9191         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
9192         prototype.
9194 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
9196         * posix/regcomp.c (parse_bracket_exp): Initialize type to
9197         COLL_SYM in a couple of places to avoid uninitialized variable
9198         wanings on tilegx gcc 4.8.2.
9200 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9202         * sysdeps/aarch64/strcpy.S: New file.
9203         * sysdeps/aarch64/stpcpy.S: New file.
9204         * NEWS: Updated.
9206 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9208         * sysdeps/aarch64/strrchr.S: New file.
9209         * NEWS: Updated.
9211 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
9213         [BZ #17658]
9214         * stdlib/setenv.c: Fix memory leak when setting large,
9215         duplicate string.
9217 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
9219         [BZ #17273]
9220         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
9221         and tabs from buffer before parsing fstab entry.
9222         * misc/tst-mntent.c (main): Add test for mount entry with
9223         trailing spaces and tabs.
9225 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
9227         [BZ #17748]
9228         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
9229         * math/fesetround.c (fesetround): Rename to __fesetround and
9230         define as weak alias of __fesetround.  Use libm_hidden_weak.
9231         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
9232         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
9233         * sysdeps/arm/fesetround.c (fesetround): Likewise.
9234         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
9235         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
9236         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
9237         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
9238         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
9239         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
9240         __fesetround_inline.
9241         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
9242         __fesetround_inline instead of __fesetround.
9243         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
9244         __fesetround and define as weak alias of __fesetround.  Use
9245         libm_hidden_weak.  Call __fesetround_inline instead of
9246         __fesetround.
9247         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
9248         __fesetround and define as weak alias of __fesetround.  Use
9249         libm_hidden_weak.
9250         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
9251         Likewise.
9252         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
9253         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9254         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
9255         * sysdeps/tile/math_private.h (__fesetround): New inline function.
9256         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
9257         __fesetround and define as weak alias of __fesetround.  Use
9258         libm_hidden_weak.
9259         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
9260         __fesetround instead of fesetround.
9261         (default_libc_feholdexcept_setround): Likewise.
9262         (libc_feholdsetround_ctx): Likewise.
9263         (libc_feholdsetround_noex_ctx): Likewise.
9265         [BZ #17748]
9266         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
9267         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
9268         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9269         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9270         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9271         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
9272         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9273         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9274         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9275         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9276         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9277         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9278         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9279         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9280         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
9281         libm_hidden_def.
9282         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
9283         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
9284         Likewise.
9285         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9286         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9287         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9288         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9289         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
9290         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9291         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9292         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
9293         __fesetenv instead of fesetenv.
9294         (libc_feresetround_noex_ctx): Likewise.
9295         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9296         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9297         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
9298         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9299         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9300         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9301         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9302         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9303         (__feupdateenv): Likewise.
9304         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9305         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9306         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9307         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
9309 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9311         [BZ #17806]
9312         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
9313         addresses have been freed.
9315 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9317         * resolv/res_init.c (__res_vinit): Improve comments about nserv
9318         and nservall.
9320 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
9322         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
9323         Clean up check_pf allocation pattern. addresses
9325 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9327         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
9328         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
9329         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9330         * nptl/pthread_exit.c (__pthread_exit): Likewise.
9331         * nptl/pthread_join.c (pthread_join): Likewise.
9332         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
9333         * sysdeps/posix/waitid.c (__waitid): Likewise.
9334         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9335         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9336         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9337         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9338         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9339         Likewise.
9340         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9341         (__libc_pread64): Likewise.
9342         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9343         (__libc_pwrite): Likewise.
9344         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9345         (__libc_pwrite64): Likewsie.
9346         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9347         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9348         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9349         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9350         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9351         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9352         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9354         Likewise.
9355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9356         (__libc_pread64): Likewise.
9357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
9358         Likewise.
9359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9360         (__libc_pwrite64): Likewise.
9361         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9362         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9363         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
9364         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9365         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9366         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9367         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
9368         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9369         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9370         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9371         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
9372         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9373         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9374         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
9375         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9376         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9377         Likewise.
9379 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9381         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
9382         (CFLAGS-test-double.c): Likewise.
9383         (CFLAGS-test-ldouble.c): Likewise.
9384         (CPPFLAGS-test-ifloat.c): Likewise.
9385         (CPPFLAGS-test-idouble.c): Likewise.
9386         (CPPFLAGS-test-ildoubl.c): Likewise.
9387         (CFLAGS-test-test-fenv.c): Remove variable.
9388         (CFLAGS-test-misc.c): Likewise.
9390 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
9392         [BZ #17797]
9393         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
9394         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
9395         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
9396         CLOCKS_PER_SEC == 1000000.
9397         * time/clocktest.c (main): Replace %ld with %jd and cast to
9398         intmax_t.
9400 2015-01-05  Roland McGrath  <roland@hack.frob.com>
9402         * sysdeps/generic/unwind-resume.h: New file.
9403         * sysdeps/gnu/unwind-resume.c: Include it.
9404         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
9405         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
9406         argument list.
9407         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
9408         global rather than static.
9409         (_Unwind_Resume): Update user.
9410         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
9411         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
9412         rather than static.  Add __attribute__ ((cold)).
9413         (_Unwind_Resume, __gcc_personality_v0): Update callers.
9414         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
9415         * sysdeps/arm/arm-unwind-resume.S: New file.
9416         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
9417         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
9418         * sysdeps/arm/Makefile [$(subdir) = csu]
9419         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
9420         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9421         Add rt-arm-unwind-resume.
9422         [$(subdir) = nptl]
9423         (libpthread-sysdep_routines, libpthread-shared-only-routines):
9424         Add pt-arm-unwind-resume.
9425         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
9426         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
9428 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9430         [BZ #17748]
9431         * include/fenv.h (__feholdexcept): Declare.  Use
9432         libm_hidden_proto.
9433         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
9434         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
9435         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9436         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
9437         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
9438         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
9439         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
9440         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9441         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
9442         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
9443         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9444         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
9445         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
9446         (feholdexcept): Likewise.
9447         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9448         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9449         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9450         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9451         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
9452         __feholdexcept instead of feholdexcept.
9453         (default_libc_feholdexcept_setround): Likewise.
9455 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9457         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
9458         to avoid using stl/str to align destination.
9460 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9462         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
9464 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9466         [BZ #17796]
9467         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
9468         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
9469         Define as weak alias not strong alias.
9471 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9473         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
9474         bltzal with addiupc.
9475         (RTLD_START): Ditto.
9477 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
9479         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
9480         for __vdso_* functions in declarations.
9481         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
9482         definitions.
9483         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
9484         INTERNAL_VSYSCALL): Use struct return types to check for error.
9486         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
9487         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
9488         function with cast from llround().
9489         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
9490         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9491         Define.
9493 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9495         [BZ #17793]
9496         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
9497         Define as weak alias not strong alias.
9499         [BZ #17635]
9500         * ctype/ctype-c99.c: New file.  isblank implementation moved from
9501         ...
9502         * ctype/ctype-extn.c: ... here.
9503         (__isblank_l): Move to ...
9504         * ctype/ctype-c99_l.c: ... here.  New file.
9505         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
9506         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
9507         Remove variable.
9508         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9509         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9510         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9511         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9512         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9514         [BZ #17777]
9515         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
9516         (posix_fadvise64): Define as weak alias not strong alias.
9517         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9518         (posix_fallocate64): Likewise.
9519         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
9520         Remove variable.
9521         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9522         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9523         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9524         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9525         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9527 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
9529         [BZ #16191]
9530         * NEWS: Mention bug fix.
9531         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
9532         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
9533         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
9534         (HOST_STACK_END_ADDR): Likewise.
9536 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9538         [BZ #17748]
9539         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
9540         * math/fegetround.c (fegetround): Rename to __fegetround and
9541         define as weak alias of __fegetround.  Use libm_hidden_weak.
9542         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
9543         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
9544         * sysdeps/arm/fegetround.c (fegetround): Likewise.
9545         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
9546         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9547         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
9548         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
9549         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
9550         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9551         Undefine after rather than before function definition; use
9552         parentheses around function name in definition.
9553         (__fegetround): Also undefine macro after function definition.
9554         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
9555         __fegetround and define as weak alias of __fegetround.  Use
9556         libm_hidden_weak.  Do not undefine as macro.
9557         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9558         Likewise.
9559         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
9560         __fegetround and define as weak alias of __fegetround.  Use
9561         libm_hidden_weak.
9562         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9563         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9564         * sysdeps/tile/math_private.h (__fegetround): New inline function.
9565         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
9566         __fegetround and define as weak alias of __fegetround.  Use
9567         libm_hidden_weak.
9568         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
9569         __fegetround instead of fegetround.
9571         [BZ #17782]
9572         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
9573         Condition macro definition on [__USE_MISC].
9575         [BZ #17781]
9576         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
9577         (struct sigaction): Change type of sa_flags field to int.
9579         [BZ #17780]
9580         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
9581         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
9582         __glibc_reserved0.
9584         * nptl/version.c (banner): Use single year in copyright notice.
9586         * NEWS: Update copyright dates.
9587         * catgets/gencat.c (print_version): Likewise.
9588         * csu/version.c (banner): Likewise.
9589         * debug/catchsegv.sh: Likewise.
9590         * debug/pcprofiledump.c (print_version): Likewise.
9591         * debug/xtrace.sh (do_version): Likewise.
9592         * elf/ldconfig.c (print_version): Likewise.
9593         * elf/ldd.bash.in: Likewise.
9594         * elf/pldd.c (print_version): Likewise.
9595         * elf/sotruss.sh: Likewise.
9596         * elf/sprof.c (print_version): Likewise.
9597         * iconv/iconv_prog.c (print_version): Likewise.
9598         * iconv/iconvconfig.c (print_version): Likewise.
9599         * locale/programs/locale.c (print_version): Likewise.
9600         * locale/programs/localedef.c (print_version): Likewise.
9601         * login/programs/pt_chown.c (print_version): Likewise.
9602         * malloc/memusage.sh (do_version): Likewise.
9603         * malloc/memusagestat.c (print_version): Likewise.
9604         * malloc/mtrace.pl: Likewise.
9605         * manual/libc.texinfo: Likewise.
9606         * nptl/version.c (banner): Likewise.
9607         * nscd/nscd.c (print_version): Likewise.
9608         * nss/getent.c (print_version): Likewise.
9609         * nss/makedb.c (print_version): Likewise.
9610         * posix/getconf.c (main): Likewise.
9611         * scripts/test-installation.pl: Likewise.
9612         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9614 2015-01-02  Will Newton  <will.newton@linaro.org>
9616         * sysdeps/arm/armv7/configure: Removed.
9617         * sysdeps/arm/armv7/configure.ac: Likewise.
9619 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9621         * All files with FSF copyright notices: Update copyright dates
9622         using scripts/update-copyrights.
9623         * intl/plural.c: Regenerated.
9624         * locale/programs/charmap-kw.h: Likewise.
9625         * locale/programs/locfile-kw.h: Likewise.
9627 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9629         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
9631 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9633         [BZ #17748]
9634         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
9635         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
9636         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9637         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9638         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9639         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
9640         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9641         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
9642         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9643         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9644         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9645         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9646         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9647         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9648         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
9649         libm_hidden_def.
9650         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
9651         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
9652         Likewise.
9653         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9654         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9655         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9656         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9657         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
9658         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9659         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9660         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
9661         __fegetenv instead of fegetenv.
9662         (libc_feholdsetround_noex_ctx): Likewise.
9664 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9666         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
9667         (Elf_MIPS_ABIFlags_v0): New structure.
9668         (EF_MIPS_FP64): Define.
9669         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
9670         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
9671         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
9672         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
9673         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
9674         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
9675         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
9676         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
9677         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
9678         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
9679         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
9680         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
9681         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
9682         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
9683         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
9684         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
9685         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
9686         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
9687         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
9688         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
9689         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
9690         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
9691         field.
9692         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
9693         EF_MIPS_FP64.
9694         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
9695         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
9696         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
9697         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
9698         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
9699         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
9700         * sysdeps/mips/tst-abi-interlink.c: Likewise.
9701         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
9702         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
9703         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
9704         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
9705         record the current FP ABI extension.
9706         (mips-mode-switch): Define to show if kernel headers support mode
9707         switching.
9708         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9709         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
9710         supported SYSV ABI version to 3.
9711         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
9712         feature.
9714 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9715             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9717         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
9718         path.
9719         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
9721 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9723         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9724         __fegetround and redefine to call __fegetround.  Remove condition
9725         on [!__NO_MATH_INLINES].
9726         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9727         function.
9728         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9729         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9730         Remove macro.
9731         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9732         instead of <fenv_libc.h>.
9733         (__llrintl): Call fegetround instead of __fegetround.
9734         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9735         instead of <fenv_libc.h>.
9736         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9737         (__lrintl): Call fegetround instead of __fegetround.
9738         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9739         instead of <fenv_libc.h>.
9740         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9741         (__rintl): Call fegetround instead of __fegetround.
9743 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9745         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9746         arrays.
9748 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9750         [BZ #17775]
9751         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9752         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9753         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9755 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9757         * sysdeps/i386/tls-macros.h: Include <features.h>.
9758         (TLS_LE): Use non-PIC version for GCC >= 5.0.
9759         (TLS_IE): Likewise.
9760         (TLS_LD): Likewise.
9761         (TLS_GD): Likewise.
9762         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9763         define for GCC >= 5.0.
9765 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
9767         * math/test-fenv.c (test_single_exception, set_single_exc,
9768         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9769         feexcp_mask_test, feenable_test, fe_single_test): Add
9770         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9771         case where they are not used.
9772         * math/libm-test.inc: Likewise.
9773         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9774         unused in the absence of FP rounding/exception support.
9775         * stdio-common/tst-printf-round.c: Likewise.
9776         * stdlib/tst-strtod-round.c: Likewise.
9777         * stdlib/tst-strtod-underflow.c: Likewise.
9779 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9781         [BZ #17723]
9782         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9783         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9784         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9785         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9786         libm_hidden_weak.
9787         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9788         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9789         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9790         libm_hidden_def.
9791         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9792         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9793         libm_hidden_weak.
9794         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9795         Likewise.
9796         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9797         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9798         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9799         libm_hidden_weak.
9800         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9801         libm_hidden_def.
9802         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9803         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9804         (__feraiseexcept): Likewise.
9805         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9806         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9807         libm_hidden_weak.
9808         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9809         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9810         libm_hidden_def.
9811         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9812         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9813         Use libm_hidden_def.
9814         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9815         libm_hidden_def.
9816         (feraiseexcept): Define as weak not strong alias.  Use
9817         libm_hidden_weak.
9818         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9819         New inline function.  Factored out of ...
9820         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9821         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9822         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9823         feraiseexcept.
9824         * math/w_acos.c (__acos): Likewise.
9825         * math/w_asin.c (__asin): Likewise.
9826         * math/w_ilogb.c (__ilogb): Likewise.
9827         * math/w_j0.c (y0): Likewise.
9828         * math/w_j1.c (y1): Likewise.
9829         * math/w_jn.c (yn): Likewise.
9830         * math/w_log.c (__log): Likewise.
9831         * math/w_log10.c (__log10): Likewise.
9832         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9833         * sysdeps/aarch64/fpu/math_private.h
9834         (libc_feupdateenv_test_aarch64): Likewise.
9835         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9836         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9837         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9838         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9839         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9840         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9841         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9842         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9843         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9844         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9846 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9848         [BZ #17732]
9849         * io/test-utime.c (main): Replace %ld with %jd and cast to
9850         intmax_t.
9851         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9852         * nptl/tst-mutex5.c: Include <stdint.h>.
9853         (do_test): Replace %ld with %jd and cast to intmax_t.
9854         * posix/tst-regex.c (run_test): Likewise.
9855         (run_test_backwards): Likewise.
9856         * rt/tst-clock.c: Include <stdint.h>.
9857         (clock_test): Replace %ld with %jd and cast to intmax_t.
9858         * rt/tst-cpuclock1.c: Include <stdint.h>.
9859         (do_test): Replace %lu with %ju and cast to uintmax_t.
9860         * rt/tst-cpuclock2.c: Include <stdint.h>.
9861         (do_test): Replace %lu with %ju and cast to uintmax_t.
9862         * rt/tst-mqueue1.c: Include <stdint.h>.
9863         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9864         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9865         intmax_t.
9866         * rt/tst-mqueue4.c (do_test): Likewise.
9867         * rt/tst-timer4.c: Include <stdint.h>.
9868         (check_ts): Replace %ld with %jd and cast to intmax_t.
9869         (do_test): Likewise.
9870         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9871         and cast to intmax_t.
9872         * sysdeps/pthread/tst-timer.c (main): Likewise.
9873         * time/clocktest.c (main): Likewise.
9874         * time/tst-posixtz.c (do_test): Likewise.
9875         * timezone/tst-timezone.c (main): Likewise.
9877 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9878             H.J. Lu  <hongjiu.lu@intel.com>
9880         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9881         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9882         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9883         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9884         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9885         version if bit_Fast_Unaligned_Load is set.
9886         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9887         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9888         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9889         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9890         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9891         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9892         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9893         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9894         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9895         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9896         to 4.
9897         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9898         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9899         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9900         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9902 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9904         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9905         instead of #if to avoid a Wundef warning.
9906         * stdlib/tst-limits.c (do_test): Likewise.
9908         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9909         parallel other exception macros.
9910         (fegetenv): Convert from macro to extern inline so that it applies
9911         retroactively to inline functions already seen by the compiler.
9912         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9914         * posix/Makefile (before-compile): Use $(objpfx) for
9915         posix-conf-vars-def.h.
9917 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9919         * posix/getconf.c (main): Use size_t for type of I.
9920         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9921         NSPEC.
9923         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9924         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9925         * posix/posix-envs.def: Likewise.
9926         * sysdeps/posix/sysconf.c: Likewise.
9927         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9928         (specs): Remove array.
9929         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9930         array.
9932         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9933         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9934         (__sysconf): Use CONF_IS_* macros.
9936         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9937         ($(objpfx)posix-conf-vars-def.h): New target.
9938         * posix/posix-conf-vars.list: New file.
9939         * posix/posix-conf-vars.h: New file.
9940         * posix/confstr.c: Include posix-conf-vars.h.
9941         (confstr): Use CONF_IS_* macros.
9942         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9943         CONF_IS_* macros.
9944         * scripts/gen-posix-conf-vars.awk: New file.
9946 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9948         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9949         fegetround): Add no-op macros to avoid linknamespace issues.
9951         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9952         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9954         * sysdeps/unix/sysv/linux/tile/sysdep.h
9955         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9956         assembly-specific section to avoid a redefinition warning.
9958         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9959         long before casting to pointer to avoid a cast warning.
9961 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9963         * sysdeps/tile/tilegx/Implies: New file.
9965 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9967         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9969 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9971         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9973 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9975         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9976         not define.
9977         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9978         <kernel-features.h>.
9979         (__utimes) [__NR_utimes]: Make code unconditional.
9980         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9981         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9982         (__ASSUME_UTIMES): Do not undefine.
9983         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9984         (__ASSUME_UTIMES): Likewise.
9985         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9986         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9987         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9988         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9990 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9992         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9994 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9996         [BZ #17747]
9997         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9998         alias to weak alias for j0l, y0l.
9999         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
10000         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
10002         [BZ #17746]
10003         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
10004         conversion.
10006 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
10008         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
10009         to zero if not already defined.
10011 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
10013         [BZ #17724]
10014         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
10015         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
10016         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
10017         (char *) casts added.
10018         * sysdeps/ieee754/k_standardf.c: New file.
10019         * sysdeps/ieee754/k_standardl.c: Likewise.
10020         * math/Makefile (libm-support): Remove k_standard.
10021         (libm-calls): Add k_standard.
10023 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
10025         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10026         Optimize to avoid an unnecessary FPCR read.
10028 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
10030         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10031         Optimize to reduce FPCR/FPSR accesses.
10033 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
10035         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
10036         Call libc_fetestexcept_aarch64.
10038 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
10040         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
10041         Call libc_fesetround_aarch64.
10043 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
10045         [BZ #17733]
10046         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
10047         (__bind): Do not define as weak alias.
10048         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
10049         define.
10050         (__getsockname): Do not define as weak alias.
10052 2014-12-22  Will Newton  <will.newton@linaro.org>
10054         * manual/install.texi: Document that we require bison 2.7
10055         or above.
10056         * INSTALL: Regenerate.
10057         * configure.ac: Use AC_CHECK_PROG_VER instead of
10058         AC_PATH_PROG when checking for bison and check for
10059         version 2.7 or above.
10060         * configure: Regenerate.
10062 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
10064         [BZ #17745]
10065         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
10066         * sysdeps/tile/ffsll.c (ffsll): To here.
10068         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
10070 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
10072         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
10073         if not defined.
10074         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
10075         definition.
10076         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10077         hidden ___tls_get_addr.
10078         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10079         hidden __tls_get_addr.
10080         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
10081         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
10082         Likewise.
10084 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
10086         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
10087         _dl_init call.
10089 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
10091         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
10092         from "call _dl_init@PLT".
10093         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
10095 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
10097         * manual/search.texi: (Array Sort Function): Clarify stable sorting
10098         guarantees.
10100 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
10102         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
10104 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
10106         [BZ #17744]
10107         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
10108         strnlen.
10110 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
10112         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
10113         of multu on MIPSr6.
10114         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
10115         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
10116         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
10117         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
10118         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
10120 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
10122         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
10123         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
10124         (PTR_SUBU): Use subu for mips32r6/mips64r6.
10125         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
10126         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
10127         mips32r6/mips64r6.
10128         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
10130 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
10132         * string/strncat.c (STRNCAT): Simplify implementation.
10134 2014-12-19  David S. Miller  <davem@davemloft.net>
10136         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
10137         access the quad as both a long double and as a series of 4 words.
10139         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
10140         link_map->l_info array access.
10142 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
10144         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
10146         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
10147         * math/atest-exp2.c (TIMEOUT): Likewise.
10148         * math/atest-sincos.c (TIMEOUT): Likewise.
10150 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10152         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
10153         -Wno-error with -fno-builtin-lround.
10155 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10157         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
10158         Contains futex constants and functions moved over from ...
10159         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
10160         <lowlevellock-futex.h>.
10161         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10162         (lll_timedwait_tid): Add comments and parentheses around macro
10163         arguments.
10165 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10167         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
10168         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
10169         (__lll_private_flag): Remove.
10170         (lll_futex_wait): Likewise.
10171         (lll_futex_timed_wait): Likewise.
10172         (lll_futex_wake): Likewise.
10173         (lll_futex_requeue): Likewise.
10174         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10175         (__lll_timedwait_tid): Spell out argument names.
10176         (lll_timedwait_tid): Add comments and parentheses around macro
10177         arguments.
10178         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
10179         LLL_SHARED and LLL_PRIVATE usable from assembly code.
10181 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10183         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
10184         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10185         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10186         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
10187         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
10188         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
10189         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
10190         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
10191         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
10192         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
10193         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
10194         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
10195         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
10196         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
10197         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
10198         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
10199         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
10200         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
10201         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
10203 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10205         * sysdeps/x86_64/x32/Makefile: New file.
10207 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10209         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
10210         1L with (mp_limb_t) 1.
10212 2014-12-17  Roland McGrath  <roland@hack.frob.com>
10214         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
10215         * nptl/libc_pthread_init.c: ... here.
10216         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
10217         * nptl/register-atfork.c: ... here.
10219         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
10220         Use pthread_sigmask rather than INTERNAL_SYSCALL.
10221         Use assert_perror to check its return value.
10222         (__gai_create_helper_thread): Likewise.
10224         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
10226         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
10228 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
10230         [BZ #17725]
10231         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
10232         __profil_counter.
10233         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
10234         Likewise.
10235         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
10236         Likewise.
10237         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
10238         Likewise.
10239         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
10240         (profil_counter): Likewise.
10241         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
10242         (profil_counter): Likewise.
10243         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
10244         Likewise.
10245         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
10246         Likewise.
10247         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
10248         (profil_counter): Likewise.
10249         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
10250         Likewise.
10251         [!__profil_counter] (profil_counter): Define as weak alias of
10252         __profil_counter.
10253         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
10254         (profil_counter): Rename to __profil_counter.
10255         [!__profil_counter] (profil_counter): Define as weak alias of
10256         __profil_counter.
10257         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
10258         (profil_counter): Rename to __profil_counter.
10259         [!__profil_counter] (profil_counter): Define as weak alias of
10260         __profil_counter.
10261         * sysdeps/posix/profil.c: Update comment referring to
10262         profil_counter.
10263         (__profil): Use __profil_counter instead of profil_counter.
10264         * sysdeps/posix/sprofil.c (profil_counter): Rename to
10265         __profil_counter.  Use __profil_counter_ushort and
10266         __profil_counter_uint in definitions.
10267         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
10268         instead of profil_counter_uint and profil_counter_ushort.
10270         [BZ #17722]
10271         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
10272         define as weak alias of __inet_makeaddr.
10273         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
10274         as weak alias of __inet_addr.
10275         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
10276         as weak alias of __inet_pton.  Use libc_hidden_weak.
10277         * include/arpa/inet.h (__inet_pton): Declare.  Use
10278         libc_hidden_proto.
10279         (inet_makeaddr): Don't use libc_hidden_proto.
10280         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
10281         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
10282         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
10283         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
10284         Remove variable.
10285         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10286         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10288 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
10290         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
10292 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10294         * stdio-common/bug-vfprintf-nargs.c (do_test):
10295         Cast value to intptr_t to avoid format warning
10296         for usage with PRIdPTR printing macro.
10298 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10300         * libio/tst-widetext.c (do_test):
10301         Use format type %td instead of %Zd for ptrdiff_t
10302         in order to avoid format warning.
10304 2014-12-17  Andreas Schwab  <schwab@suse.de>
10306         * nscd/mem.c (gc): Add size_t cast to match printf format.
10308 2014-12-16  Roland McGrath  <roland@hack.frob.com>
10310         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
10311         (init): Apply PTR_MANGLE to pointers before storing them.
10312         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
10313         before using them.
10315 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
10317         [BZ #17719]
10318         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
10319         define as weak alias of __memrchr.
10320         (__memrchr): Do not define as strong alias of memrchr.
10321         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
10322         Remove variable.
10323         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10324         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10325         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10327         [BZ #17717]
10328         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
10329         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
10330         (if_indextoname): Rename to __if_indextoname and define as weak
10331         alias of __if_indextoname.  Use libc_hidden_weak.
10332         (if_freenameindex): Rename to __if_freenameindex and define as
10333         weak alias of __if_freenameindex.
10334         (if_nameindex): Rename to __if_nameindex and define as weak alias
10335         of __if_nameindex.
10336         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
10337         __if_nametoindex and define as weak alias of __if_nametoindex.
10338         Use libc_hidden_weak.
10339         (if_freenameindex): Rename to __if_freenameindex and define as
10340         weak alias of __if_freenameindex.
10341         (if_nameindex): Rename to __if_nameindex and define as weak alias
10342         of __if_nameindex.
10343         (if_indextoname): Rename to __if_indextoname and define as weak
10344         alias of __if_indextoname.  Use libc_hidden_weak.
10345         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
10346         __if_nametoindex and define as weak alias of __if_nametoindex.
10347         Use libc_hidden_weak.
10348         (if_freenameindex): Rename to __if_freenameindex and define as
10349         weak alias of __if_freenameindex.  Use libc_hidden_weak.
10350         (if_nameindex_netlink): Use __if_freenameindex instead of
10351         if_freenameindex.
10352         (if_nameindex): Rename to __if_nameindex and define as weak alias
10353         of __if_nameindex.  Use libc_hidden_weak.
10354         (if_indextoname): Rename to __if_indextoname and define as weak
10355         alias of __if_indextoname.  Use libc_hidden_weak.
10356         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
10357         libc_hidden_proto.
10358         [!_ISOMAC] (__if_freenameindex): Likewise.
10359         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
10360         if_nametoindex.
10361         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
10362         variable.
10363         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10364         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10365         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10366         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10367         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10368         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10369         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10371         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
10372         Remove variable.
10373         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10374         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10376 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10378         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
10379         subscript above bounds'
10381         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
10382         bounds.
10384 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
10386         * libio/tst-fopenloc.c: Use test-skeleton.c.
10388         * stdlib/tst-bsearch.c: Use test-skeleton.c.
10389         (entry): Rename to ITEM.
10390         (do_test, comp): Adjust.
10392         * stdio-common/tst-fseek.c: Use test-skeleton.c.
10394 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10396         * string/tester.c: Include <libc-internal.h>.
10397         (test_memset): Ignore -Wmemset-transposed-args.
10399 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10401         * misc/tst-mntent2.c (do_test): Fix warning.
10403 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10405         * elf/tst-unique4lib.cc(a): Mark as used.
10407 2014-12-16  Florian Weimer  <fweimer@redhat.com>
10409         [BZ #17630]
10410         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
10411         names.
10413 2014-12-16  Allan McRae  <allan@archlinux.org>
10415         * stdio-common/Makefile (tests): Re-add bug26.
10417 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
10419         [BZ #17657]
10420         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
10421         static array.
10423 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
10425         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
10426         (__lll_lock_wait): Likewise.
10427         (__lll_timedlock_wait): Likewise.
10428         (__lll_timedwait_tid): Likewise.
10429         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
10430         (__lll_robust_timedlock_wait): Likewise.
10431         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
10432         (lll_cond_trylock): Likewise.
10433         (__lll_lock): Likewise.
10434         (__lll_robust_lock): Likewise.
10435         (__lll_cond_lock): Likewise.
10436         (lll_robust_cond_lock): Likewise.
10437         (__lll_timedlock): Likewise.
10438         (__lll_robust_timedlock): Likewise.
10439         (__lll_unlock): Likewise.
10440         (__lll_robust_unlock): Likewise.
10441         (lll_wait_tid): Likewise.
10442         (lll_timedwait_tid): Likewise.
10444 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10446         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
10448 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10450         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
10452 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10454         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
10455         * stdio-common/tst-sprintf.c: Likewise.
10457 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10459         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
10461 2014-12-15  Jeff Law  <law@redhat.com>
10463         [BZ #16617]
10464         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
10465         on the heap.  (CVE-2012-3406)
10466         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
10467         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
10468         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
10470 2014-12-15  Will Newton  <will.newton@linaro.org>
10472         * manual/install.texi: Bump required version of texinfo
10473         to 4.7 from 4.5.
10474         * INSTALL: Regenerated.
10475         * configure.ac: Check for makeinfo version 4.7 and above.
10476         * configure: Regenerated.
10478 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10480         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
10481         PREFIX, string constant to insert between directory and name.
10482         * sysdeps/posix/shm_open.c: Update caller.
10483         * sysdeps/posix/shm_unlink.c: Likewise.
10484         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
10485         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
10486         (SEM_SHM_PREFIX): New macro.
10487         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
10488         [$(have-thread-library) = no].
10489         * nptl/Makefile (libpthread-routines): Add shm-directory.
10490         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
10491         * sysdeps/nptl/shm-directory.h: New file.
10492         * sysdeps/posix/shm-directory.c
10493         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
10494         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10495         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
10496         INTERNAL_SYSCALL.
10497         (__where_is_shmfs): Function removed.
10498         (mountpoint, defaultmount, defaultdir, __namedsem_once):
10499         Variables removed.
10500         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
10501         Use SHM_GET_NAME.
10502         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
10504         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
10505         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
10506         unconditional for use inside libpthread.
10507         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
10509 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10511         * nptl/pthread_getaffinity.c: New file.
10512         * nptl/pthread_setaffinity.c: New file.
10513         * nptl/pthread_getname.c: New file.
10514         * nptl/pthread_setname.c: New file.
10516         * nptl/pthread_create.c (START_THREAD_DEFN)
10517         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
10519 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10520             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10522         * resolv/res_send.c (send_vc): Disable warning resplen may
10523         be used uninitialized.
10525 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10527         * nptl/tst-mutex6.c
10528         (ATTR_NULL): New define checks ATTR against NULL.
10529         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
10530         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
10532 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
10534         [BZ #17581]
10535         * malloc/hooks.c
10536         (mem2mem_check): Revert my previous change.
10537         (malloc_check_get_size): Revert my previous change.
10538         (mem2chunk_check): Revert my previous change.
10540 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10542         * sysdeps/posix/shm-directory.c: New file.
10543         * sysdeps/posix/shm-directory.h: New file.
10544         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
10545         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
10546         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
10547         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
10548         Transmute EPERM to EACCES.
10549         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
10550         from ...
10551         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
10552         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
10554 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10556         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
10557         pointer and cast to uintptr_t.
10558         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
10559         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
10560         Add cast to avoid warning.
10561         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
10563 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10565         * nptl/semaphore.h: Move to ...
10566         * sysdeps/pthread/semaphore.h: ... here.
10567         * Makefile (installed-headers): Change nptl/semaphore.h to
10568         sysdeps/pthread/semaphore.h.
10570 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10572         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
10573         generated error format strings.
10575         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
10576         -Wformat-extra-args warnings for scanf formats.
10577         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
10578         test of zero-length format (duh).
10579         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
10580         corner-case scanf format test.
10581         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
10582         generated fprintf format string.
10583         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
10584         corner-case sprintf format tests.
10585         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
10586         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
10587         -Wformat-extra-args warnings throughout.
10588         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
10589         (CFLAGS-scanf4.c): Likewise.
10590         (CFLAGS-scanf7.c): Likewise.
10591         (CFLAGS-tst-sprintf.c): Likewise.
10592         (CFLAGS-tst-printf.c): Likewise.
10593         (CFLAGS-tst-printfsz.c): Likewise.
10595 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10597         * include/cpio.h: New file.
10598         * include/fmtmsg.h: Likewise.
10600         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
10601         corresponding format argument to size_t.
10602         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
10603         arguments.
10604         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
10605         corresponding format argument to size_t.
10606         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
10607         arguments.
10608         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
10609         corresponding format argument to size_t.
10610         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
10611         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
10612         (CFLAGS-tst-mbswcs2.c): Likewise.
10613         (CFLAGS-tst-mbswcs3.c): Likewise.
10614         (CFLAGS-tst-mbswcs4.c): Likewise.
10615         (CFLAGS-tst-mbswcs5.c): Likewise.
10616         (CFLAGS-tst-trans.c): Likewise
10618 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10620         * posix/regexbug1.c (main): Use "%s" format with regerror results,
10621         rather than assuming they won't contain any '%'s.
10623 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
10625         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
10626         inhibit_loop_to_libcall to avoid recursive calls.
10627         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
10628         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
10630 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10632         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
10633         prototype.
10635 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10637         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
10638         integer value instead of boolean.
10640 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10642         * malloc/malloc.c: Fix powerof2 check.
10644 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10646         * locale/programs/locfile.h (maybe_swap_uint32):
10647         Remove inline and add unused attribute.
10649 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10651         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10652         Truncating assembler expression to a .long expression.
10654 2014-12-11  Andreas Schwab  <schwab@suse.de>
10656         * elf/rtld.c (struct map_args): Constify str member.
10657         (do_preload): Constify fname argument.
10659 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10661         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
10662         constants definition.
10664 2014-12-11  Andreas Schwab  <schwab@suse.de>
10666         [BZ #16657]
10667         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
10668         FORCE_ELISION instead of DO_ELISION.
10669         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
10670         Remove.
10671         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
10672         Likewise.
10674         * iconvdata/gconv-modules: Remove duplicate entry.
10676 2014-12-11  Will Newton  <will.newton@linaro.org>
10678         Merge gettext 0.19.3 into intl/.
10680         This involves a number of cosmetic changes to comments
10681         and ANSI function definitions and prototypes throughout
10682         all the files. The gettext copyright header is used but
10683         with the date ranges taken from the glibc copy.
10685         * NEWS: Add gettext merge to 2.21.
10686         * intl/bindtextdom.c: Switch to gettext copyright.
10687         Use ANSI definitions and prototypes.
10688         Use gl_* locking primitives rather than __libc_* ones.
10689         Use __builtin_expect rather than __glibc_likely/unlikely.
10690         * intl/dcgettext.c: Switch to gettext copyright.
10691         Use ANSI definitions and prototypes.
10692         * intl/dcigettext.c: Switch to gettext copyright.
10693         Use ANSI definitions and prototypes.
10694         (INTDIV0_RAISES_SIGFPE): New define.
10695         Use gl_* locking primitives rather than __libc_* ones.
10696         Include eval-plural.h instead of plural-eval.c.
10697         Use __builtin_expect rather than __glibc_likely/unlikely.
10698         * intl/dcngettext.c: Switch to gettext copyright.
10699         Use ANSI definitions and prototypes.
10700         * intl/dgettext.c: Likewise.
10701         * intl/dngettext.c: Likewise.
10702         * intl/plural-eval.c: Renamed to...
10703         * intl/eval-plural.h: ...this.
10704         * intl/explodename.c: Switch to gettext copyright.
10705         Use ANSI definitions and prototypes.
10706         (_nl_explode_name): Use strchr instead of __rawmemchr.
10707         * intl/finddomain.c: Switch to gettext copyright.
10708         Use ANSI definitions and prototypes.
10709         Use gl_* locking primitives rather than __libc_* ones.
10710         (_nl_find_domain): Use malloc rather than alloca for
10711         allocation of temporary locale name.
10712         * intl/gettext.c: Switch to gettext copyright.
10713         Use ANSI definitions and prototypes.
10714         * intl/gettextP.h: Switch to gettext copyright.
10715         Use ANSI definitions and prototypes.
10716         Use gl_* locking primitives rather than __libc_* ones.
10717         * intl/gmo.h: Switch to gettext copyright.
10718         (struct sysdep_string): Move struct segment_pair outside of
10719         struct definition.
10720         * intl/hash-string.c: Use ANSI definitions and prototypes.
10721         * intl/hash-string.h: Switch to gettext copyright.
10722         Use ANSI definitions and prototypes.
10723         * intl/l10nflist.c: Switch to gettext copyright.
10724         Use ANSI definitions and prototypes.
10725         (_nl_normalize_codeset): Avoid integer overflow.
10726         * intl/loadinfo.h: Switch to gettext copyright.
10727         Use ANSI definitions and prototypes.
10728         (LIBINTL_DLL_EXPORTED): New define.
10729         (PATH_SEPARATOR): New define.
10730         * intl/loadmsgcat.c: Switch to gettext copyright.
10731         * intl/localealias.c: Switch to gettext copyright.
10732         Use ANSI definitions and prototypes.
10733         (_nl_expand_alias): Use PATH_SEPARATOR.
10734         * intl/ngettext.c: Switch to gettext copyright.
10735         Use ANSI definitions and prototypes.
10736         * intl/plural-exp.c: Likewise.
10737         * intl/plural-exp.h: Switch to gettext copyright.
10738         Use ANSI definitions and prototypes.
10739         (struct expression): Move definition of enum operator outside
10740         of struct definition.
10741         * intl/plural.c: Regenerate.
10742         * intl/plural.y: Switch to gettext copyright.
10743         Use ANSI definitions and prototypes.
10744         Port to bison 3.0.
10745         * intl/textdomain.c: Switch to gettext copyright.
10746         Use ANSI definitions and prototypes.
10747         Use gl_* locking primitives rather than __libc_* ones.
10749 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
10751         * debug/warning-nop.c: Add used atrribute.
10753 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10755         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10757         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10758         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10759         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10761 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10762             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10764         [BZ #17634]
10765         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10766         Undefine after defining function.  Define as weak alias of
10767         __wcschr.  Use libc_hidden_weak.
10768         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
10769         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10770         (libc_hidden_def): Also define __GI___wcschr alias.
10771         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10772         __wcschr and define as weak alias of __wcschr.
10773         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10774         __wcschr.
10775         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10776         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10777         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10778         libc_hidden_weak.  Do not use libc_hidden_def.
10779         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10780         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10781         __GI___wcschr alias.
10782         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10783         [IS_IN (libc)] (wcschr): Define as macro expanding to
10784         __redirect_wcschr.
10785         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10786         [IS_IN (libc)] (__wcschr_power6): Likewise.
10787         [IS_IN (libc)] (__wcschr_power7): Likewise.
10788         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10789         instead of wcschr.
10790         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10791         __libc_wcschr.
10792         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10793         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10794         __wcschr and define as weak alias of __wcschr.  Use
10795         libc_hidden_builtin_def.
10796         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10797         as weak alias of __wcschr.  Use libc_hidden_weak.
10798         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10799         wcschr.
10800         * time/era.c (_nl_init_era_entries): Likewise.
10801         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10802         variable.
10803         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10804         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10806 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10808         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10809         format for long int variable.
10811 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10813         [BZ #10672]
10814         * manual/search.texi: (Array Sort Function): Remove claim how to make
10815         qsort stable.
10817 2014-12-10  Andreas Schwab  <schwab@suse.de>
10819         [BZ #12847]
10820         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10821         user-controlled locks.
10823 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10825         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10826         register.
10828 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10830         * configure.ac (--disable-werror): New configure option.
10831         (enable_werror): New AC_SUBST.
10832         * configure: Regenerated.
10833         * config.make.in (enable-werror): New variable.
10834         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10835         -Wno-error=undef.
10836         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10837         * manual/install.texi (Configuring and compiling): Document
10838         --disable-werror.
10839         * INSTALL: Regenerated.
10840         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10841         (CFLAGS-tst-chk2.c): Likewise.
10842         (CFLAGS-tst-chk3.c): Likewise.
10843         (CFLAGS-tst-chk4.cc): Likewise.
10844         (CFLAGS-tst-chk5.cc): Likewise.
10845         (CFLAGS-tst-chk6.cc): Likewise.
10846         (CFLAGS-tst-lfschk1.c): Likewise.
10847         (CFLAGS-tst-lfschk2.c): Likewise.
10848         (CFLAGS-tst-lfschk3.c): Likewise.
10849         (CFLAGS-tst-lfschk4.cc): Likewise.
10850         (CFLAGS-tst-lfschk5.cc): Likewise.
10851         (CFLAGS-tst-lfschk6.cc): Likewise.
10853         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10854         (main): Disable -Wdeprecated-declarations around calls to
10855         register_printf_function.
10857         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10858         (do_test): Disable -Wdiv-by-zero around some calls to
10859         fwrite_unlocked and fread_unlocked.
10861         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10862         (DIAG_POP_NEEDS_COMMENT): Likewise.
10863         (_DIAG_STR1): Likewise.
10864         (_DIAG_STR): Likewise.
10865         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10866         * stdio-common/bug21.c: Include <libc-internal.h>.
10867         (do_test): Disable -Wformat around call to sscanf.
10868         * stdio-common/scanf14.c: Include <libc-internal.h>.
10869         (main): Disable -Wformat around some calls to scanf functions.
10871 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10873         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10875 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10877         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10878         stack variable alignment.
10880 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10882         [BZ #17682]
10883         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10884         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10885         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10886         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10887         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10888         __getrlimit instead of getrlimit.
10889         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10890         __gettimeofday instead of gettimeofday.
10891         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10892         Likewise.
10893         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10894         Likewise.
10895         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10896         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10897         Remove variable.
10898         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10899         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10901 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10903         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10904         for wide-character tests.
10906 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10908         * io/openat64.c: #include <libc-internal.h>
10909         (__openat64): Prototypify.  Use ignore_value on MODE.
10910         * io/openat.c: Likewise.
10911         * misc/reboot.c: #include <libc-internal.h>
10912         (reboot): Prototypify.  Use ignore_value on HOWTO.
10913         * misc/ptrace.c: #include <libc-internal.h>
10914         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10916 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10918         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10919         XPG4, UNIX98 and XOPEN2K.
10920         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10921         Remove variable.
10922         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10924 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10926         * libio/fileops.c: Use ISO C style for function definitions.
10927         * libio/iofopen.c: Likewise.
10928         * libio/wfileops.c: Likewise.
10930         [BZ #17653]
10931         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10932         offset on EOF.
10933         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10934         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10935         (fgets_func): Function pointer to fgets and fgetws.
10936         (do_ftell_test): Add test to verify ftell value after read
10937         EOF.
10938         (do_test): Set fgets_func.
10940         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10941         O_TRUNC flag for w and w+ modes.
10942         (do_rewind_test): Likewise.
10943         (do_ftell_test): Likewise.
10944         (do_write_test): Likewise.
10946         [BZ #17647]
10947         * libio/fileops.c (do_ftell): Seek only when there are
10948         unflushed writes.
10949         * libio/wfileops.c (do_ftell_wide): Likewise.
10950         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10951         test case.
10952         (do_one_test): Call it.
10954 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10956         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10957         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10958         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10959         Remove variable.
10960         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10961         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10962         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10964 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10966         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10967         Remove variable.
10968         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10970         [BZ #17668]
10971         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10972         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10973         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10974         __freeifaddrs.  Use libc_hidden_weak.
10975         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10976         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10977         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10978         __freeifaddrs.  Use libc_hidden_weak.
10979         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10980         __getifaddrs and define as weak alias of __getifaddrs.  Use
10981         libc_hidden_weak.
10982         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10983         __freeifaddrs.  Use libc_hidden_weak.
10984         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10985         Remove variable.
10986         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10987         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10989 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10991         [BZ #17601]
10992         * sysdeps/mips/start.S (__start): Use indirect jump to call
10993         __libc_start_main.
10995 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10997         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10999         * nptl/tst-mutex1.c: Include <stdbool.h>.
11000         [!ATTR] (ATTR_NULL): New macro.
11001         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
11002         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
11003         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
11005         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
11006         to char *.
11008         [BZ #17665]
11009         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
11010         Change conditional to [__USE_MISC].
11012         [BZ #17664]
11013         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
11014         fgets_unlocked.
11015         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
11016         __fgets_unlocked.
11017         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
11018         fgets_unlocked.
11019         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
11020         Remove variable.
11021         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11022         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11023         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11024         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11025         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11026         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11027         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11028         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11029         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11031         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
11033 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11035         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11036         Remove strpbrk objects.
11037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11038         (__libc_ifunc_impl_list): Remove strpbrk implementation.
11039         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
11040         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
11041         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
11042         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
11044         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11045         Remove strcspn objects.
11046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11047         (__libc_ifunc_impl_list): Remove strcspn implementation.
11048         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
11049         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
11050         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
11051         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
11053         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11054         Remove strspn objetcs.
11055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11056         (__libc_ifunc_impl_list): Remove strspn implementation.
11057         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
11058         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11059         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
11060         * sysdeps/powerpc/powerpc64/strspn.S: New file.
11062 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
11064         [BZ #17581]
11065         * malloc/hooks.c
11066         (mem2mem_check): Add a terminator to the chain of checking blocks.
11067         (malloc_check_get_size): Use it here.
11068         (mem2chunk_check): Ditto.
11070 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11072         * sysdeps/powerpc/powerpc64/strtok.S: New file.
11073         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
11075 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
11077         * bits/ioctl-types.h: Indent preprocessor directives correctly.
11079         * nptl/nptl-init.c: Include libc-internal.h.
11080         (__pthread_initialize_minimal_internal): Use ROUND_UP.
11082         * elf/ldconfig.c (search_dir): Expand comment.
11084 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
11086         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
11087         variable.
11088         (linknamespace-symlist-stdlibs-tests): Likewise.
11089         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
11090         instead of $(objpfx)symlist-stdlibs.
11091         (linknamespace-libs-isoc): New variable.
11092         (linknamespace-libs): Use $(linknamespace-libs-isoc).
11093         (linknamespace-libs-ISO): New variable.
11094         (linknamespace-libs-ISO99): Likewise.
11095         (linknamespace-libs-ISO11): Likewise.
11096         (linknamespace-libs-XPG3): Likewise.
11097         (linknamespace-libs-XPG4): Likewise.
11098         (linknamespace-libs-POSIX): Likewise.
11099         (linknamespace-libs-UNIX98): Likewise.
11100         (linknamespace-libs-XOPEN2K): Likewise.
11101         (linknamespace-libs-POSIX2008): Likewise.
11102         (linknamespace-libs-XOPEN2K8): Likewise.
11103         ($(objpfx)symlist-stdlibs): Replace by
11104         $(linknamespace-symlist-stdlibs-tests).  Use
11105         $(linknamespace-libs-$*) as set of libraries.
11106         ($(linknamespace-header-tests)): Update dependencies.  Use
11107         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
11108         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
11109         * conform/linknamespace.pl: Remove comment about considering
11110         definitions of symbols from irrelevant libraries.
11112 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
11114         [BZ #13862]
11115         * elf/dl-tls.c: Include <atomic.h>.
11116         (oom): Remove #ifdef SHARED/#endif.
11117         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
11118         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
11119         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
11120         big enough.
11121         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
11122         * nptl/Makefile (tests): Add tst-stack4.
11123         (modules-names): Add tst-stack4mod.
11124         ($(objpfx)tst-stack4): New.
11125         (tst-stack4mod.sos): Likewise.
11126         ($(objpfx)tst-stack4.out): Likewise.
11127         ($(tst-stack4mod.sos)): Likewise.
11128         (clean): Likewise.
11129         * nptl/tst-stack4.c: New file.
11130         * nptl/tst-stack4mod.c: Likewise.
11132 2014-11-27  J. Brown  <jb999@gmx.de>
11134         * sysdeps/x86/bits/string.h: Add recent CPUs.
11136 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
11138         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
11139         sigblock.
11141         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
11142         feof.
11144         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
11145         variable.
11147 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
11149         * nscd/connections.c: Include libc-internal.h because of macro
11150         usage ignore_value.
11152 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11154         * string/bits/string3.h (__warn_memset_zero_len): Don't
11155         declare for gcc newer than 5.0.
11156         (memset): Don't test for zero-length __LEN for gcc newer than
11157         5.0.
11159 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
11161         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
11162         size_t for %zu format.
11164         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
11165         difference, not %ju.
11167 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
11169         * include/libc-internal.h (ignore_value): New macro.
11170         * nscd/connections.c (restart): Wrap calls to setuid and setgid
11171         with ignore_value.
11173         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
11174         definition.
11176         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
11177         pthread_cleanup_push to void *.
11179         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
11180         Undefine.
11182         [BZ #16619]
11183         [BZ #16740]
11184         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
11185         instead of 1L << 52.
11187         * libio/bug-rewind.c (do_test): Check fwscanf return values.
11188         * libio/bug-rewind2.c (do_test): Likewise.
11190         * debug/test-stpcpy_chk-ifunc.c: Remove file.
11191         * debug/test-strcpy_chk-ifunc.c: Likewise.
11192         * wcsmbs/test-wcschr-ifunc.c: Likewise.
11193         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11194         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11195         * wcsmbs/test-wcslen-ifunc.c: Likewise.
11196         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11197         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11198         * Rules [$(multi-arch) = no] (tests): Do not filter out
11199         $(tests-ifunc).
11200         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
11201         * debug/Makefile (tests-ifunc): Remove variable.
11202         (tests): Do not add $(tests-ifunc).
11203         * wcsmbs/Makefile (tests-ifunc): Remove variable.
11204         (tests): Do not add $(tests-ifunc).
11205         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
11206         [TEST_IFUNC]: Remove conditionals.
11207         * string/test-string.h (TEST_IFUNC): Remove macro.
11208         [TEST_IFUNC]: Remove conditionals.
11210         * string/test-strchr.c [!WIDE] (L): New macro.
11211         [WIDE] (L): Likewise.
11212         (check1): Use CHAR instead of char.  Use L on string and character
11213         constants.
11215 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
11217         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
11218         tests.
11219         * sysdeps/powerpc/bits/atomic.h
11220         (__arch_atomic_exchange_and_add_32_acq): Add definition.
11221         (__arch_atomic_exchange_and_add_32_rel): Likewise.
11222         (atomic_exchange_and_add_acq): Likewise.
11223         (atomic_exchange_and_add_rel): Likewise.
11224         * sysdeps/powerpc/powerpc32/bits/atomic.h
11225         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11226         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11227         * sysdeps/powerpc/powerpc64/bits/atomic.h
11228         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11229         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11231 2014-11-26  Torvald Riegel  <triegel@redhat.com>
11233         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
11234         Change synchronization of __sched_fifo_min_prio and
11235         __sched_fifo_max_prio.
11236         * nptl/pthread_mutexattr_getprioceiling.c
11237         (pthread_mutexattr_getprioceiling): Likewise.
11238         * nptl/pthread_mutexattr_setprioceiling.c
11239         (pthread_mutexattr_setprioceiling): Likewise.
11240         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
11241         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11242         Likewise.
11244 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
11246         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
11247         void.
11249 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11251         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
11252         third argument const.
11254 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
11256         fnmatch: work around GCC compiler warning bug with uninit var
11257         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
11258         This works around a bug with x86-64 GCC 4.9.2 and earlier
11259         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
11260         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
11261         used uninitialized in this function [-Wmaybe-uninitialized]".
11263 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11265         * posix/bug-regex31.c (main): Return RES not 0.
11267 2014-11-25  Anton Blanchard <anton@samba.org>
11269         * sysdeps/powerpc/bits/atomic.h
11270         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
11272 2014-11-24  Sterling Augustine  <saugustine@google.com>
11274         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
11276 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
11278         [BZ #17608]
11279         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
11281 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
11283         [BZ #17633]
11284         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
11285         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
11286         variable.
11287         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11288         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11290 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
11292         * string/strncpy.c (strncpy): Improve performance by using memset.
11294 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
11296         * string/strcpy.c (strcpy):
11297         Improve performance by using strlen and memcpy.
11299 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
11301         * string/strcoll_l.c (get_next_seq): __always_inline.
11302         * string/strcoll_l.c (do_compare): __always_inline.
11304 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11306         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
11307         defined.
11308         * include/mqueue.h: Likewise.
11309         * include/stdlib.h: Likewise.
11311         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
11312         (get_null_defines): Adjust.
11313         * sunrpc/Makefile: Adjust comment.
11314         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
11315         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
11316         (CFLAGS-interp.c): Likewise.
11317         (CFLAGS-ldconfig.c): Likewise.
11318         (CPPFLAGS-.os): Likewise.
11319         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11320         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11321         * extra-modules.mk (extra-modules.mk): Likewise.
11322         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
11323         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
11324         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
11325         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
11326         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
11327         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
11328         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
11329         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
11330         * iconvdata/Makefile (CPPFLAGS): Likewise.
11331         (cpp-srcs-left): Add libof for all iconvdata routines.
11332         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
11333         * include/assert.h: Likewise.
11334         * include/ctype.h: Likewise.
11335         * include/errno.h: Likewise.
11336         * include/libc-symbols.h: Likewise.
11337         * include/math.h: Likewise.
11338         * include/netdb.h: Likewise.
11339         * include/resolv.h: Likewise.
11340         * include/stdio.h: Likewise.
11341         * include/stdlib.h: Likewise.
11342         * include/string.h: Likewise.
11343         * include/sys/stat.h: Likewise.
11344         * include/wctype.h: Likewise.
11345         * intl/l10nflist.c: Likewise.
11346         * libidn/idn-stub.c: Likewise.
11347         * libio/libioP.h: Likewise.
11348         * nptl/libc_multiple_threads.c: Likewise.
11349         * nptl/pthreadP.h: Likewise.
11350         * posix/regex_internal.h: Likewise.
11351         * resolv/res_hconf.c: Likewise.
11352         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
11353         * sysdeps/arm/memmove.S: Likewise.
11354         * sysdeps/arm/sysdep.h: Likewise.
11355         * sysdeps/generic/_itoa.h: Likewise.
11356         * sysdeps/generic/symbol-hacks.h: Likewise.
11357         * sysdeps/gnu/errlist.awk: Likewise.
11358         * sysdeps/gnu/errlist.c: Likewise.
11359         * sysdeps/i386/i586/memcpy.S: Likewise.
11360         * sysdeps/i386/i586/memset.S: Likewise.
11361         * sysdeps/i386/i686/memcpy.S: Likewise.
11362         * sysdeps/i386/i686/memmove.S: Likewise.
11363         * sysdeps/i386/i686/mempcpy.S: Likewise.
11364         * sysdeps/i386/i686/memset.S: Likewise.
11365         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11366         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11367         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
11368         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
11369         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11370         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11371         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
11372         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11373         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11374         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11375         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11376         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11377         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11378         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11379         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11380         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11381         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
11382         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
11383         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
11384         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11385         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11386         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11387         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11388         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11389         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11390         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11391         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
11392         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11393         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
11394         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11395         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11396         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11397         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11398         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11399         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11400         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11401         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11402         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11403         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11404         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11405         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11406         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11407         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11408         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11409         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11410         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11411         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
11412         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
11413         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11414         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11415         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11416         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
11417         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
11418         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11419         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11420         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
11421         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11422         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
11423         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
11424         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11425         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11426         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11427         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
11428         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11429         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11430         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
11431         * sysdeps/posix/closedir.c: Likewise.
11432         * sysdeps/posix/opendir.c: Likewise.
11433         * sysdeps/posix/readdir.c: Likewise.
11434         * sysdeps/posix/rewinddir.c: Likewise.
11435         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
11436         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
11437         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11438         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11439         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11440         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
11441         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
11442         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
11443         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11444         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
11445         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
11446         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
11447         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
11448         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
11449         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
11450         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
11451         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
11452         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
11453         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
11454         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
11455         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
11456         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
11457         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
11458         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
11459         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
11460         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
11461         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
11462         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
11463         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
11464         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
11465         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
11466         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
11467         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
11468         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
11469         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
11470         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
11471         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11472         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11473         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
11474         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
11475         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
11476         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
11477         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
11478         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
11479         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
11480         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
11481         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
11482         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
11483         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
11484         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
11485         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
11486         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
11487         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11488         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
11489         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
11490         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
11491         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
11492         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
11493         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
11494         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
11495         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
11496         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
11497         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11498         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
11499         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
11500         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
11501         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
11502         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
11503         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
11504         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
11505         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
11506         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11507         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
11508         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11509         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11510         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
11511         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
11512         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11513         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11514         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
11515         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11516         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11517         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
11518         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
11519         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11520         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
11521         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
11522         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11523         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11524         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11525         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
11526         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
11527         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
11528         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11529         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11530         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
11531         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11532         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11533         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
11534         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
11535         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11536         * sysdeps/unix/alpha/sysdep.S: Likewise.
11537         * sysdeps/unix/alpha/sysdep.h: Likewise.
11538         * sysdeps/unix/make-syscalls.sh: Likewise.
11539         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11540         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11541         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11542         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11543         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11544         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11545         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
11546         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11547         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11548         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
11549         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11550         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11551         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11552         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11553         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11554         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11555         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11556         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11557         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11558         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11559         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11560         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11561         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11562         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11563         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11564         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11565         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11568         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
11569         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11570         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11571         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11572         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11573         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11574         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11575         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11576         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11577         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11578         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11579         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11580         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11581         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11582         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11583         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11584         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11585         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11586         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11587         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11588         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11589         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11590         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11591         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11592         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11593         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11594         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11595         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11596         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11597         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
11598         * sysdeps/x86_64/memcpy.S: Likewise.
11599         * sysdeps/x86_64/memmove.c: Likewise.
11600         * sysdeps/x86_64/memset.S: Likewise.
11601         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
11602         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11603         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11604         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
11605         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11606         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11607         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11608         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11609         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11610         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11611         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11612         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11613         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
11614         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11615         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11616         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
11617         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11618         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11619         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11620         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11621         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
11622         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11623         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11624         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11625         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11626         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11627         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11628         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
11629         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11630         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11631         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
11632         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11633         * sysdeps/x86_64/strcmp.S: Likewise.
11635         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
11637         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
11638         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
11639         * elf/rtld-Rules: Likewise.
11640         * elf/setup-vdso.h: Likewise.
11641         * include/assert.h: Likewise.
11642         * include/bits/stdlib-float.h: Likewise.
11643         * include/errno.h: Likewise.
11644         * include/sys/stat.h: Likewise.
11645         * include/unistd.h: Likewise.
11646         * sysdeps/aarch64/setjmp.S: Likewise.
11647         * sysdeps/alpha/setjmp.S: Likewise.
11648         * sysdeps/arm/__longjmp.S: Likewise.
11649         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
11650         * sysdeps/arm/setjmp.S: Likewise.
11651         * sysdeps/arm/sysdep.h: Likewise.
11652         * sysdeps/generic/_itoa.h: Likewise.
11653         * sysdeps/generic/dl-sysdep.h: Likewise.
11654         * sysdeps/generic/ldsodefs.h: Likewise.
11655         * sysdeps/i386/dl-tls.h: Likewise.
11656         * sysdeps/i386/setjmp.S: Likewise.
11657         * sysdeps/m68k/setjmp.c: Likewise.
11658         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
11659         * sysdeps/mach/hurd/opendir.c: Likewise.
11660         * sysdeps/posix/getcwd.c: Likewise.
11661         * sysdeps/posix/opendir.c: Likewise.
11662         * sysdeps/posix/profil.c: Likewise.
11663         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11664         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11665         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11666         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11667         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11668         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
11669         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11670         * sysdeps/s390/dl-tls.h: Likewise.
11671         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11672         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11673         * sysdeps/sh/sh3/setjmp.S: Likewise.
11674         * sysdeps/sh/sh4/setjmp.S: Likewise.
11675         * sysdeps/unix/alpha/sysdep.h: Likewise.
11676         * sysdeps/unix/arm/sysdep.S: Likewise.
11677         * sysdeps/unix/i386/sysdep.S: Likewise.
11678         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11679         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11680         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11681         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11682         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11683         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11684         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11685         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11686         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11687         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11688         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11689         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11690         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11693         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11694         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11695         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11696         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11697         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11698         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11699         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11700         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11701         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11702         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11703         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11704         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11705         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11706         * sysdeps/x86_64/setjmp.S: Likewise.
11708         * include/math.h: Use IS_IN instead of IS_IN_libm.
11709         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
11710         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11711         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11712         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11713         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11714         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11715         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11716         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11717         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11718         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11719         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
11720         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11721         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
11722         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11723         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11724         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11725         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11726         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11727         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11728         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11729         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11730         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11731         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11732         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11733         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11734         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11735         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11736         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11737         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11738         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11739         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11740         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11741         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11743         Likewise.
11744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11745         Likewise.
11746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11747         Likewise.
11748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11749         Likewise.
11750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11751         Likewise.
11752         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11753         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11754         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11755         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11756         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11757         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11763         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11764         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11765         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11766         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11767         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11768         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11769         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11770         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11771         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11772         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11773         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11774         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11775         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11776         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11778         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11780         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11781         * nptl/pthreadP.h: Likewise.
11782         * nptl_db/structs.def: Likewise.
11783         * sysdeps/arm/sysdep.h: Likewise.
11784         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11785         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11786         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11787         * sysdeps/unix/alpha/sysdep.h: Likewise.
11788         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11789         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11790         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11791         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11792         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11793         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11794         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11795         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11796         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11797         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11798         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11799         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11800         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11801         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11804         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11805         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11806         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11807         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11808         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11809         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11810         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11811         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11812         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11813         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11815         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11816         * nptl/pthreadP.h: Likewise.
11817         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11818         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11819         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11820         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11821         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11822         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11823         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11824         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11825         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11826         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11827         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11828         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11830         Likewise.
11831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11832         Likewise.
11833         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11834         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11835         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11836         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11837         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11838         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11839         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11840         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11842         * dlfcn/dladdr.c: Use IS_IN.
11843         * dlfcn/dladdr1.c: Likewise.
11844         * dlfcn/dlclose.c: Likewise.
11845         * dlfcn/dlerror.c: Likewise.
11846         * dlfcn/dlinfo.c: Likewise.
11847         * dlfcn/dlmopen.c: Likewise.
11848         * dlfcn/dlopen.c: Likewise.
11849         * dlfcn/dlsym.c: Likewise.
11850         * dlfcn/dlvsym.c: Likewise.
11852         * include/ifaddrs.h: Use IS_IN.
11853         * inet/check_pf.c: Likewise.
11854         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11855         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11857         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11858         IS_IN_ldconfig.
11859         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11860         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11862         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11863         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11864         IS_IN (libc).
11866         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11868         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11869         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11870         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11871         * include/libc-symbols.h (IS_IN_LIB): New macro.
11872         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11873         * include/netdb.h: Likewise.
11874         * include/stap-probe.h: Remove all uses of IN_LIB.
11876         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11877         instead of IN_MODULE.
11878         * include/libc-symbols.h (IN_MODULE): Define using
11879         MODULE_NAME.
11880         (PASTE_NAME, PASTE_NAME1): New macros.
11881         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11882         of IN_LIB.
11883         (STAP_PROBE_ASM): Likewise.
11885 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11887         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11888         __mach_init in dlopened libc.
11890 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11892         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11893         * sysdeps/arm/preconfigure: Regenerate.
11895 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11897         * nptl/pthread_create.c (__pthread_create_2_1): Set
11898         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11899         when copying values from IATTR into PD.
11901 2014-11-21  Will Newton  <will.newton@linaro.org>
11902             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11904         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11905         Refactor inline-asm.  Also add comment.
11907         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11908         ElfW macro instead of hardcoded Elf64 types.
11909         (la_aarch64_gnu_pltenter): Likewise.
11910         * sysdeps/aarch64/dl-machine.h
11911         (elf_machine_runtime_setup): Use ElfW(Addr).
11913         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11914         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11915         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11916         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11917         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11918         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11919         (R_AARCH64_TLS_DTPMOD): This.
11920         (R_AARCH64_TLS_DTPREL64): Rename to ...
11921         (R_AARCH64_TLS_DTPREL): This.
11922         (R_AARCH64_TLS_TPREL64): Rename to ...
11923         (R_AARCH64_TLS_TPREL): This.
11924         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11925         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11926         R_AARCH64_TLS_TPREL64.
11927         (elf_machine_rela): Likewise.
11929 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11931         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11932         by setting it to 0.  64b atomics are not supported currently.
11934 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11936         [BZ #16469]
11937         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11938         search domain names.
11940 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11942         [BZ #16469]
11943         * NEWS: Update.
11944         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11945         trailing dot.
11946         * posix/tst-getaddrinfo5.c: New.
11947         * posix/Makefile (tests): Add it.
11949 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11951         [BZ #14498]
11952         * NEWS: Fixed.
11953         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11954         after parsing line but before break_if_match.
11955         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11956         if there is a protocol mismatch.
11958 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11960         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11961         because the potential race is on the user-supplied stream.
11963 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11965         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11966         string literal if not passed a buffer.
11967         * manual/job.texi (ctermid): Update reasoning, note deviation
11968         from posix, suggest mtasurace when not passed a buffer, for
11969         future non-preliminary safety notes.
11971 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11973         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11974         of not passing it a buffer.
11975         Reported by Peng Haitao.
11977 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11979         * manual/Makefile ($(objpfx)stamp-summary): Require
11980         check-safety.sh to pass.
11981         * manual/check-safety.sh: Wish for verification that every
11982         @deftypefn and @deftypefun is followed by a @safety remark.
11984 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11986         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11988         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11989         PTHREAD_CANCEL_ASYNCHRONOUS.
11990         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11991         send SIGCANCEL.
11993         * nptl/default-sched.h: New file.
11994         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11995         * nptl/pthread_create.c: Include it.
11996         (__pthread_create_2_1): Use collect_default_sched instead of making
11997         Linux syscalls here directly.
11999 2014-11-20  Torvald Riegel  <triegel@redhat.com>
12001         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
12002         __pthread_once): Use C11 atomics.
12004 2014-11-20  Torvald Riegel  <triegel@redhat.com>
12006         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
12008 2014-11-20  Torvald Riegel  <triegel@redhat.com>
12010         * include/atomic.h (__atomic_link_error, __atomic_check_size,
12011         atomic_thread_fence_acquire, atomic_thread_fence_release,
12012         atomic_thread_fence_seq_cst, atomic_load_relaxed,
12013         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
12014         atomic_compare_exchange_weak_relaxed,
12015         atomic_compare_exchange_weak_acquire,
12016         atomic_compare_exchange_weak_release,
12017         atomic_exchange_acquire, atomic_exchange_release,
12018         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
12019         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
12020         atomic_fetch_and_acquire,
12021         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
12023 2014-11-20  Torvald Riegel  <triegel@redhat.com>
12025         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
12026         USE_ATOMIC_COMPILER_BUILTINS): Define.
12027         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
12028         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12029         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
12030         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12031         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
12032         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12033         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
12034         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12035         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
12036         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12037         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
12038         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12039         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
12040         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12041         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
12042         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12043         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12044         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12045         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12046         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12047         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
12048         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12049         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12050         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12051         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
12052         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12053         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12054         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12055         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
12056         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12057         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
12058         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12059         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
12060         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12061         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12062         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12063         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
12064         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12065         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
12066         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12068 2014-11-19  Roland McGrath  <roland@hack.frob.com>
12070         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
12071         the sched_priority value here.  It was already checked when the user
12072         called pthread_attr_setschedparam.
12074         * nptl/tst-bad-schedattr.c: New file.
12075         * nptl/Makefile (tests): Add it.
12077 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
12078             Florian Weimer  <fweimer@redhat.com>
12079             Joseph Myers  <joseph@codesourcery.com>
12080             Adam Conrad  <adconrad@0c3.net>
12081             Andreas Schwab  <schwab@suse.de>
12082             Brooks  <bmoses@google.com>
12084         [BZ #17625]
12085         * wordexp-test.c (__dso_handle): Add prototype.
12086         (__register_atfork): Likewise.
12087         (__app_register_atfork): New function.
12088         (registered_forks): New global.
12089         (register_fork): New function.
12090         (test_case): Add 3 new tests for WRDE_CMDSUB.
12091         (main): Call __app_register_atfork.
12092         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
12093         fork count is non-zero fail the test.
12094         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
12095         is set.
12096         (parse_dollars): Remove check for WRDE_NOCMD.
12097         (parse_dquote): Likewise.
12099 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12101         * Makeconfig (built-modules): List non-library modules to be
12102         built.
12103         (module-cppflags): Include libc-modules.h for
12104         everything except shlib-versions.v.i.
12105         (CPPFLAGS): Use it.
12106         (before-compile): Add libc-modules.h.
12107         ($(common-objpfx)libc-modules.h,
12108         $(common-objpfx)libc-modules.stmp): New targets.
12109         (common-generated): Add libc-modules.h and libc-modules.stmp.
12110         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
12111         * include/libc-symbols.h: Don't include libc-modules.h.
12112         * include/libc-modules.h: Remove file.
12113         * scripts/gen-libc-modules.awk: New script to generate
12114         libc-modules.h.
12115         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
12116         Depend on libc-modules.stmp.
12118         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
12120         * Makeconfig (in-module): Get value of libof set for the
12121         translation unit.
12122         (CPPFLAGS): Use $(in-module).
12123         * Makerules: Don't suffix routine names for nonlib.
12124         * include/libc-modules.h: New file.
12125         * include/libc-symbols.h: Include libc-modules.h
12126         (IS_IN): New macro to replace IS_IN_* macros.
12127         * elf/Makefile: Set libof-* for each routine.
12128         * elf/rtld-Rules: Likewise.
12129         * extra-modules.mk: Likewise.
12130         * iconv/Makefile: Likewise.
12131         * iconvdata/Makefile: Likewise.
12132         * locale/Makefile: Likewise.
12133         * malloc/Makefile: Likewise.
12134         * nss/Makefile: Likewise.
12135         * sysdeps/gnu/Makefile: Likewise.
12136         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
12137         * sysdeps/unix/sysv/linux/Makefile: Likewise.
12138         * sysdeps/s390/s390-64/Makefile: Likewise.
12139         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
12140         CPPFLAGS for nscd instead of nonlib.
12142 2014-11-18  Roland McGrath  <roland@hack.frob.com>
12144         * nptl/createthread.c: New file.
12146         * nptl/createthread.c: Moved ...
12147         * sysdeps/unix/sysv/linux/createthread.c: ... here.
12149         * nptl/createthread.c: Add proper top-line comment.
12150         (do_clone): Folded into ...
12151         (create_thread): ... here.  Take new arguments STOPPED_START and
12152         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
12153         increment __nptl_threads, do event-reporting logic, do
12154         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
12155         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
12156         resource cleanup if sched_setaffinity or sched_setscheduler fails,
12157         just send SIGCANCEL.
12158         * nptl/pthread_create.c: Forward-declare create_thread before
12159         including createthread.c.
12160         (start_thread): Use new macro START_THREAD_DEFN to replace defining
12161         declaration, and new macro START_THREAD_SELF to replace argument.
12162         Remove return statement.
12163         (report_thread_creation): New function.
12164         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
12165         synchronization logic, and __nptl_nthreads increment here, around
12166         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
12167         PD->parent_cancelhandling here, before create_thread.  When
12168         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
12169         __deallocate_stack, and ENOMEM translation here.
12171 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
12173         [BZ #17616]
12174         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
12175         (mptwo): Rename to __mptwo.
12176         (__inv): Use __mptwo instead of mptwo.
12177         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
12178         (mptwo): Rename to __mptwo.
12179         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
12180         of mpone and __mptwo instead of mptwo.
12181         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
12182         instead of mpone.
12183         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12184         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
12185         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
12186         of mpone and __mptwo instead of mptwo.
12187         (__mpranred): Use __mpone instead of mpone.
12188         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
12189         variable.
12190         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12191         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12192         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12193         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12194         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12195         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12196         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12197         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12198         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12199         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12200         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12201         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12202         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12203         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12204         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12205         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12206         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12207         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12208         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12210 2014-11-18  Tom de Vries  <tom@codesoucery.com>
12212         * manual/signal.texi (Primitives Interrupted by Signals): In section,
12213         replace BSD Handler xref with BSD Signal Handling.
12215 2014-11-17  Richard Henderson  <rth@redhat.com>
12217         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
12218         (_FP_PACK_RAW_2): Remove.
12219         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
12220         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
12221         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
12222         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
12223         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
12224         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
12225         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
12226         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
12227         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
12228         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
12229         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
12230         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
12231         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
12232         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
12233         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
12234         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
12236 2014-11-14  Roland McGrath  <roland@hack.frob.com>
12238         * signal/signal.h [__USE_MISC]
12239         (struct sigvec): Remove type.
12240         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
12241         (sigvec): Remove declaration.
12242         * sysdeps/posix/sigvec.c: Moved ...
12243         * signal/sigvec.c: ... here, replacing old file.
12244         (struct sigvec): New type, copied from old signal.h definition.
12245         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
12246         (__sigvec): Convert definition to prototype.
12247         (sigvec): Replace weak_alias with compat_symbol.
12248         * signal/Versions (libc: GLIBC_2.21): New version set.
12249         * include/signal.h: Remove __sigvec declaration.
12250         * sysdeps/unix/bsd/sigvec.c: Remove file.
12251         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
12252         * manual/signal.texi (BSD Handler): Remove subsection.
12253         Move siginterrupt up to ...
12254         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
12255         (Blocking in BSD): Fold subsection into its parent.
12256         * NEWS: Mention sigvec removal.
12258 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12260         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
12261         (DLA_FMS): Make definition conditional only on [__FMA4__].
12262         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
12263         definition.
12265         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
12266         Make definition conditional only on [PROF].
12267         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
12268         definition.
12269         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
12270         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
12272         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
12273         !__GNUC__].
12274         * include/signal.h (__sigpause): Move declaration above call to
12275         libc_hidden_proto.
12276         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
12277         variable.
12278         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12279         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12281 2014-11-14  David S. Miller  <davem@davemloft.net>
12283         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
12284         Define before including <string/memcpy.c> and <string/mempcpy.c>.
12286 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12288         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
12289         * configure: Regenerated.
12290         * manual/install.texi (Tools for Compilation): Document a
12291         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
12292         compiler verified to work.
12293         * INSTALL: Regenerated.
12295         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
12296         redeclare with asm name.
12297         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
12298         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
12299         including <string.h>.
12300         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12301         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
12302         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12303         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
12304         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12305         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12306         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12308 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
12310         * stdlib/strtol.c (__strtol): Use prototype definition.
12312         [BZ #17594]
12313         * stdlib/strtol.c (SYM__): New macro.
12314         (SYM__1): Likewise.
12315         (__strtol): Likewise.
12316         (strtol): Rename to __strtol and define as weak alias of
12317         __strtol.  Use libc_hidden_weak.
12319 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12321         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
12322         Use numbered labels in inline assembly.
12324 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12326         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
12327         Add setjmp LIBC_PROBE.
12328         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
12329         Likewise.
12330         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
12331         Add longjmp, longjmp_target LIBC_PROBE.
12332         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
12333         Likewise.
12335 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12337         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12338         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
12339         to get rid of unused variable warning.
12341 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12343         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
12344         Check for unwind_backtrace ==  NULL only in SHARED case.
12345         (__backchain_backtrace): Compile only in SHARED case.
12346         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
12347         Likewise.
12348         (__backchain_backtrace): Declare as static.
12350 2014-11-12  Roland McGrath  <roland@hack.frob.com>
12352         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
12353         (__libc_multiple_threads_ptr): Variable moved ...
12354         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
12356 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
12358         * conform/GlibcConform.pm: New file.
12359         * conform/conformtest.pl: Use GlibcConform module.
12360         * conform/linknamespace.pl: New file.
12361         * conform/list-header-symbols.pl: Likewise.
12362         * conform/Makefile (linknamespace-symlists-base): New variable.
12363         (linknamespace-symlists-tests): Likewise.
12364         (linknamespace-header-base): Likewise.
12365         (linknamespace-header-tests): Likewise.
12366         (tests-special): Add new tests.
12367         ($(linknamespace-symlists-tests)): New rule.
12368         (linknamespace-libs): New variable.
12369         ($(objpfx)symlist-stdlibs): New rule.
12370         ($(linknamespace-header-tests)): Likewise.
12371         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
12372         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
12373         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
12374         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
12375         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
12376         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
12377         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
12378         (test-xfail-ISO/math.h/linknamespace): Likewise.
12379         (test-xfail-ISO/signal.h/linknamespace): Likewise.
12380         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
12381         (test-xfail-ISO/time.h/linknamespace): Likewise.
12382         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12383         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
12384         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12385         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12386         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12387         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12388         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12389         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
12390         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12391         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12392         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12393         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12394         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
12395         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
12396         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
12397         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12398         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
12399         (test-xfail-XPG3/search.h/linknamespace): Likewise.
12400         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
12401         (test-xfail-XPG3/time.h/linknamespace): Likewise.
12402         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
12403         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12404         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
12405         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
12406         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12407         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12408         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
12409         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
12410         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12411         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
12412         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12413         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12414         (test-xfail-XPG4/search.h/linknamespace): Likewise.
12415         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12416         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
12417         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
12418         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
12419         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
12420         (test-xfail-XPG4/time.h/linknamespace): Likewise.
12421         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
12422         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12423         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
12424         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12425         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12426         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12427         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
12428         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
12429         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12430         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12431         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
12432         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12433         (test-xfail-POSIX/time.h/linknamespace): Likewise.
12434         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
12435         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12436         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12437         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
12438         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12439         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12440         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12441         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12442         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12443         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12444         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
12445         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12446         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12447         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12448         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
12449         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12450         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
12451         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
12452         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12453         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12454         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12455         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12456         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12457         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12458         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
12459         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
12460         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12461         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
12462         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12463         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
12464         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12465         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12466         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12467         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
12468         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12469         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12470         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
12471         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
12472         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
12473         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
12474         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12475         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12476         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
12477         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12478         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
12479         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
12480         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12481         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12482         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12483         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12484         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12485         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12486         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12487         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12488         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12489         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12490         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
12491         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12492         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
12493         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
12494         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
12495         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12496         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12497         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
12498         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12499         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12500         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12501         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12502         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12503         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12504         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12505         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12506         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12507         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12508         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
12509         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12510         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12511         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12512         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
12513         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12514         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
12515         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12516         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12517         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
12518         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12519         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12520         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12521         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12522         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12523         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12524         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12525         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12526         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12527         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12528         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
12529         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12530         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12531         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12533         [BZ #17589]
12534         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
12535         of fgets_unlocked.
12537         [BZ #17585]
12538         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
12539         (memmem): Rename to __memmem and define as weak alias of
12540         __memmem.  Use libc_hidden_weak.
12541         (__memmem): Use libc_hidden_def.
12542         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
12543         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
12544         memmem.
12546         [BZ #17582]
12547         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
12548         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
12549         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
12550         and define as weak alias of __fgets_unlocked.  Use
12551         libc_hidden_weak.
12552         (__fgets_unlocked): Use libc_hidden_def.
12553         * include/stdio.h (__fgets_unlocked): Declare.  Use
12554         libc_hidden_proto.
12555         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
12556         __fgets_unlocked instead of fgets_unlocked.
12557         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
12558         (GET_NPROCS_CONF_PARSER): Likewise.
12559         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
12560         (GET_NPROCS_CONF_PARSER): Likewise.
12562         [BZ #17574]
12563         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
12564         weak alias of __wmemset.  Use libc_hidden_weak.
12565         (__wmemset): Use libc_hidden_def.
12566         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
12567         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
12568         of wmemset.
12570         [BZ #17573]
12571         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
12572         with asm name __mempcpy.
12573         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
12575         [BZ #17572]
12576         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
12577         and define as weak alias of __rawmemchr.
12578         (__rawmemchr): Do not define as strong alias of rawmemchr.
12580         [BZ #17571]
12581         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
12582         alias of __qsort_r.
12583         (qsort): Call __qsort_r instead of qsort_r.
12584         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
12585         (__qsort_r): Declare.  Call libc_hidden_proto.
12586         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
12587         instead of qsort_r.
12588         * nscd/gai.c (__qsort_r): Define to qsort_r.
12589         * posix/tst-rfc3484.c (__qsort_r): Likewise.
12590         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
12591         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
12593         [BZ #17570]
12594         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
12595         define as weak alias of __malloc_info.
12597         [BZ #17584]
12598         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
12599         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12600         (__rewinddir): Use libc_hidden_def.
12601         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
12602         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12603         (__rewinddir): Use libc_hidden_def.
12604         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
12605         weak alias of __rewinddir.  Don't use libc_hidden_def.
12606         (__rewinddir): Use libc_hidden_def.
12607         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
12608         (__rewinddir): Use libc_hidden_proto.
12609         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
12610         rewinddir.
12611         (__getcwd): Use __rewinddir instead of rewinddir.
12613         [BZ #17583]
12614         * libio/fileno.c (fileno): Rename to __fileno and define as weak
12615         alias of __fileno.  Use libc_hidden_weak.
12616         (__fileno): Use libc_hidden_def.
12617         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
12618         * libio/ftello.c (ftello): Rename to __ftello and define as weak
12619         alias of __ftello.
12620         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
12621         __ftello.
12622         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
12623         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
12624         libc_hidden_def.
12625         (fread_unlocked): Don't use libc_hidden_ver.
12626         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
12627         and define as weak alias of __fread_unlocked.  Don't use
12628         libc_hidden_def.
12629         (__fread_unlocked): Use libc_hidden_def.
12630         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
12631         (ftello): Don't use libc_hidden_proto.
12632         (__ftello): Declare.  Use libc_hidden_proto.
12633         (fread_unlocked): Don't use libc_hidden_proto.
12634         (__fread_unlocked): Declare.  Use libc_hidden_proto.
12635         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
12636         and __ftello instead of fileno, fread_unlocked and ftello.
12638 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12640         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
12641         GOT12.
12642         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12643         Likewise.
12644         (_dl_start_user): Likewise.
12645         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
12647 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
12648             Siddhesh Poyarekar  <siddhesh@redhat.com>
12650         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
12651         Move argv and envp down instead of moving argc up.
12652         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
12654 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
12656         [BZ #17506]
12657         * test-skeleton.c (main): Return successful if one of
12658         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
12659         * string/tst-strcoll-overflow.c: Define expected status.
12661 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
12663         [BZ #17475]
12664         * locale/iso-639.def: Define Bhili and Tulu language codes.
12666 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
12668         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
12670 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
12672         [BZ #17555]
12673         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
12675 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
12677         * configure.ac: Updated check of minimal required version to
12678         2.22.
12679         * manual/install.texi (Tools for Compilation): Updated version
12680         number.
12681         * configure: Regenerated.
12682         * INSTALL: Likewise.
12684 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
12686         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
12687         __tls_get_addr.
12689 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
12691         * include/sys/wait.h (__libc_waitpid): Remove declaration.
12692         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
12693         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12694         libc_hidden_weak.
12695         (waitpid): Define as alias of __waitpid.
12696         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
12697         __waitpid.
12698         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12699         libc_hidden_weak.
12700         (waitpid): Define as alias of __waitpid.
12701         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
12702         __libc_waitpid alias.
12703         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
12704         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
12705         Likewise.
12706         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
12707         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
12708         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
12709         alias.
12710         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
12711         __waitpid.
12712         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12713         libc_hidden_weak.
12714         (waitpid): Define as alias of __waitpid.
12716 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
12718         * manual/llio.texi: Add comment that write safety has been
12719         fixed in Linux.
12721         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
12722         (localplt-build-dso): Add elf/ld.so.
12723         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12724         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12725         and free for ld.so.
12726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12727         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12729         Likewise.
12730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12731         Likewise.
12732         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12733         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12734         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12735         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12736         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12737         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12738         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12739         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12740         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12741         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12742         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12744 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
12746         [BZ #14132]
12747         * include/libc-symbols.h (INTUSE): Remove macro.
12748         (INTDEF): Likewise.
12749         (INTVARDEF): Likewise.
12750         (_INTVARDEF): Likewise.
12751         (INTDEF2): Likewise.
12752         (INTVARDEF2): Likewise.
12753         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12754         rtld_hidden_def instead of INTVARDEF.
12755         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12756         (_dl_starting_up_internal): Remove declaration.
12757         (_dl_starting_up): Use rtld_hidden_proto.
12758         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12759         declaration.
12760         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12761         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12762         _dl_starting_up.
12763         * elf/dl-writev.h (_dl_writev): Likewise.
12764         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12765         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12766         _dl_starting_up_internal.
12768 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12770         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12771         test-skeleton.c.
12773 2014-11-05  Will Newton  <will.newton@linaro.org>
12775         * benchtests/Makefile: (bench-malloc): Add malloc thread
12776         scalability benchmark.
12777         * benchtests/bench-malloc-threads.c: New file.
12779 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12781         * sysdeps/aarch64/strchrnul.S: New file.
12783 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12785         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12786         definition.
12787         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12788         Likwise.
12789         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12790         Likewise.
12791         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12792         Likewise.
12793         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12794         Likewise.
12795         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12796         Likewise.
12798 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12800         * catgets/test-gencat.c: Use test-skeleton.c.
12801         * catgets/tst-catgets.c: Likewise.
12802         * csu/tst-empty.c: Likewise.
12803         * elf/tst-audit2.c: Likewise.
12804         * elf/tst-global1.c: Likewise.
12805         * elf/tst-pathopt.c: Likewise.
12806         * elf/tst-piemod1.c: Likewise.
12807         * elf/tst-tls10.c: Likewise.
12808         * elf/tst-tls11.c: Likewise.
12809         * elf/tst-tls12.c: Likewise.
12810         * gnulib/tst-gcc.c: Likewise.
12811         * iconvdata/tst-e2big.c: Likewise.
12812         * iconvdata/tst-loading.c: Likewise.
12813         * iconv/tst-iconv1.c: Likewise.
12814         * iconv/tst-iconv2.c: Likewise.
12815         * inet/test-inet6_opt.c: Likewise.
12816         * inet/tst-gethnm.c: Likewise.
12817         * inet/tst-network.c: Likewise.
12818         * inet/tst-ntoa.c: Likewise.
12819         * intl/tst-codeset.c: Likewise.
12820         * intl/tst-gettext2.c: Likewise.
12821         * intl/tst-gettext3.c: Likewise.
12822         * intl/tst-ngettext.c: Likewise.
12823         * intl/tst-translit.c: Likewise.
12824         * io/test-stat.c: Likewise.
12825         * libio/test-fmemopen.c: Likewise.
12826         * libio/tst-freopen.c: Likewise.
12827         * libio/tst-sscanf.c: Likewise.
12828         * libio/tst-ungetwc1.c: Likewise.
12829         * libio/tst-ungetwc2.c: Likewise.
12830         * libio/tst-widetext.c: Likewise.
12831         * localedata/tst-ctype.c: Likewise.
12832         * localedata/tst-digits.c: Likewise.
12833         * localedata/tst-leaks.c: Likewise.
12834         * localedata/tst-mbswcs1.c: Likewise.
12835         * localedata/tst-mbswcs2.c: Likewise.
12836         * localedata/tst-mbswcs3.c: Likewise.
12837         * localedata/tst-mbswcs4.c: Likewise.
12838         * localedata/tst-mbswcs5.c: Likewise.
12839         * localedata/tst-setlocale.c: Likewise.
12840         * localedata/tst-trans.c: Likewise.
12841         * localedata/tst-wctype.c: Likewise.
12842         * localedata/tst-xlocale1.c: Likewise.
12843         * login/tst-grantpt.c: Likewise.
12844         * malloc/tst-calloc.c: Likewise.
12845         * malloc/tst-malloc.c: Likewise.
12846         * malloc/tst-mallocstate.c: Likewise.
12847         * malloc/tst-mcheck.c: Likewise.
12848         * malloc/tst-mtrace.c: Likewise.
12849         * malloc/tst-obstack.c: Likewise.
12850         * math/atest-exp2.c: Likewise.
12851         * math/atest-exp.c: Likewise.
12852         * math/atest-sincos.c: Likewise.
12853         * math/test-matherr.c: Likewise.
12854         * math/test-misc.c: Likewise.
12855         * math/test-powl.c: Likewise.
12856         * math/tst-definitions.c: Likewise.
12857         * misc/tst-dirname.c: Likewise.
12858         * misc/tst-efgcvt.c: Likewise.
12859         * misc/tst-fdset.c: Likewise.
12860         * misc/tst-hsearch.c: Likewise.
12861         * misc/tst-mntent2.c: Likewise.
12862         * nptl/tst-sem7.c: Likewise.
12863         * nptl/tst-sem8.c: Likewise.
12864         * nptl/tst-sem9.c: Likewise.
12865         * nss/test-netdb.c: Likewise.
12866         * posix/tst-fnmatch.c: Likewise.
12867         * posix/tst-getlogin.c: Likewise.
12868         * posix/tst-gnuglob.c: Likewise.
12869         * posix/tst-mmap.c: Likewise.
12870         * pwd/tst-getpw.c: Likewise.
12871         * resolv/tst-inet_ntop.c: Likewise.
12872         * rt/tst-timer.c: Likewise.
12873         * stdio-common/test-fseek.c: Likewise.
12874         * stdio-common/test-popen.c: Likewise.
12875         * stdio-common/test-vfprintf.c: Likewise.
12876         * stdio-common/tst-cookie.c: Likewise.
12877         * stdio-common/tst-fileno.c: Likewise.
12878         * stdio-common/tst-gets.c: Likewise.
12879         * stdio-common/tst-obprintf.c: Likewise.
12880         * stdio-common/tst-perror.c: Likewise.
12881         * stdio-common/tst-sprintf2.c: Likewise.
12882         * stdio-common/tst-sprintf3.c: Likewise.
12883         * stdio-common/tst-sprintf.c: Likewise.
12884         * stdio-common/tst-swprintf.c: Likewise.
12885         * stdio-common/tst-tmpnam.c: Likewise.
12886         * stdio-common/tst-unbputc.c: Likewise.
12887         * stdio-common/tst-wc-printf.c: Likewise.
12888         * stdlib/tst-environ.c: Likewise.
12889         * stdlib/tst-fmtmsg.c: Likewise.
12890         * stdlib/tst-limits.c: Likewise.
12891         * stdlib/tst-rand48-2.c: Likewise.
12892         * stdlib/tst-rand48.c: Likewise.
12893         * stdlib/tst-random2.c: Likewise.
12894         * stdlib/tst-random.c: Likewise.
12895         * stdlib/tst-strtol.c: Likewise.
12896         * stdlib/tst-strtoll.c: Likewise.
12897         * stdlib/tst-tls-atexit.c: Likewise.
12898         * stdlib/tst-xpg-basename.c: Likewise.
12899         * string/test-ffs.c: Likewise.
12900         * string/tst-bswap.c: Likewise.
12901         * string/tst-inlcall.c: Likewise.
12902         * string/tst-strtok.c: Likewise.
12903         * string/tst-strxfrm.c: Likewise.
12904         * sysdeps/x86_64/tst-audit10.c: Likewise.
12905         * sysdeps/x86_64/tst-audit3.c: Likewise.
12906         * sysdeps/x86_64/tst-audit4.c: Likewise.
12907         * sysdeps/x86_64/tst-audit5.c: Likewise.
12908         * time/tst-ftime_l.c: Likewise.
12909         * time/tst-getdate.c: Likewise.
12910         * time/tst-mktime3.c: Likewise.
12911         * time/tst-mktime.c: Likewise.
12912         * time/tst-posixtz.c: Likewise.
12913         * time/tst-strptime2.c: Likewise.
12914         * time/tst-strptime3.c: Likewise.
12915         * wcsmbs/tst-btowc.c: Likewise.
12916         * wcsmbs/tst-mbrtowc.c: Likewise.
12917         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12918         * wcsmbs/tst-wchar-h.c: Likewise.
12919         * wcsmbs/tst-wcpncpy.c: Likewise.
12920         * wcsmbs/tst-wcrtomb.c: Likewise.
12921         * wcsmbs/tst-wcsnlen.c: Likewise.
12922         * wcsmbs/tst-wcstof.c: Likewise.
12924 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12926         [BZ #14132]
12927         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12928         INTDEF.
12929         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12930         declaration.
12931         (_dl_mcount): Use rtld_hidden_proto.
12932         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12933         _dl_mcount.
12934         * elf/rtld.c (_rtld_global_ro): Likewise.
12936         [BZ #14132]
12937         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12938         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12939         of _dl_init_internal.
12940         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12941         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12942         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12943         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12944         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12945         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12946         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12947         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12948         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12949         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12950         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12951         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12952         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12953         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12954         * sysdeps/tile/dl-start.S (_start): Likewise.
12955         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12956         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12958         [BZ #14132]
12959         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12960         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12961         (rtld_progname): Make macro definition unconditional.
12962         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12963         INTDEF.
12964         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12965         (dl_main): Likewise.
12966         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12967         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12968         instead of _dl_argv_internal.
12969         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12970         __GI__dl_argv instead of INTUSE(_dl_argv).
12971         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12972         __GI__dl_argv instead of _dl_argv_internal.
12974         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12975         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12976         macro.
12977         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12978         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12979         New macro.
12980         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12981         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12982         macro.
12983         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12984         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12986 2014-11-04  Andreas Schwab  <schwab@suse.de>
12988         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12990 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12992         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12993         mtvsrd instruction in binary form.
12995 2014-11-03  Andreas Schwab  <schwab@suse.de>
12997         [BZ #17522]
12998         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12999         for less than MB_LEN_MAX use a local buffer of that size.
13000         * libio/tst-fputws.c: New file.
13001         * libio/Makefile (tests): Add tst-fputws.
13003 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
13005         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
13006         the size of the fpu_fr.fpu_dregs[] array.
13008 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
13010         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
13011         (__nanosleep): Do not define as alias.
13012         (nanosleep): Define as alias of __nanosleep.
13013         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
13014         __libc_nanosleep name.
13016 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
13018         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
13019         install.texi in comment.
13021 2014-10-31  Torvald Riegel  <triegel@redhat.com>
13023         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
13024         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
13025         ... add here and use lwsync or sync ...
13026         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
13027         ... and add here using lwsync.
13029 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
13031         * elf/dl-machine-reject-phdr.h: New file.
13032         * elf/dl-load.c: #include that.
13033         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
13034         if that returned true.
13036 2014-10-31  Roland McGrath  <roland@hack.frob.com>
13038         [BZ #17496]
13039         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
13040         gen-as-const-headers chunk.  Add a big scare comment after the last
13041         safe place to touch before-compile.
13043 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
13045         * manual/install.texi (Tools for Compilation): Update autoconf
13046         version requirements.
13047         * INSTALL: Regenerated.
13049         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
13050         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
13051         (__libc_pselect): Likewise.
13053         [BZ #14138]
13054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
13055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13059 2014-10-31  Torvald Riegel  <triegel@redhat.com>
13061         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
13062         correct barrier instruction.
13063         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
13064         Likewise.
13065         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
13066         Likewise.
13068 2014-10-30  Roland McGrath  <roland@hack.frob.com>
13070         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
13071         after defining inlines.  Instead, just use parens to defeat macro
13072         expansion of __isctype in its declaration.
13074 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
13076         * include/sys/uio.h (__libc_readv): Remove declaration.
13077         (__libc_writev): Likewise.
13078         * misc/readv.c (__libc_readv): Rename to __readv.
13079         (__readv): Do not define as alias.
13080         (readv): Define as alias of __readv.
13081         * misc/writev.c (__libc_writev): Rename to __writev.
13082         (__writev): Do not define as alias.
13083         (writev): Define as alias of __writev.
13084         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
13085         (__readv): Do not define as alias.
13086         (readv): Define unconditionally as alias of __readv.
13087         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
13088         (__writev): Do not define as alias.
13089         (writev): Define unconditionally as alias of __writev.
13090         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
13091         name.
13092         (writev): Do not define __libc_writev name.
13094 2014-10-30  Roland McGrath  <roland@hack.frob.com>
13096         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
13097         (convert_charseq): New function, broken out of ...
13098         (use_from_charmap): ... here.  Call it.
13099         (use_to_charmap): Use convert_charseq and free instead of duplicating
13100         its code with a variable-length stack struct.
13102 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
13104         * include/fcntl.h (__libc_creat): Remove declaration.
13105         * io/creat.c (__libc_creat): Rename to creat.
13106         (creat): Do not define as alias.
13107         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
13108         of creat instead of __libc_creat.
13109         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
13110         to creat.
13111         (creat): Do not define as alias.
13112         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
13113         __libc_creat.
13114         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
13115         __libc_creat name.
13116         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
13117         Likewise.
13119 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
13121         * manual/llio.texi: Add comments discussing why write() may be
13122         considered MT-unsafe on Linux.
13124 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
13126         * dl-load.c (local_strdup): Remove.
13127         (expand_dynamic_string_token): Use __strdup.
13128         (decompose_rpath): Likewise.
13129         (_dl_map_object): Likewise.
13131 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
13133         [BZ #14132]
13134         * sysdeps/generic/unwind-dw2-fde.c
13135         (__register_frame_info_bases_internal): Do not declare.
13136         (__register_frame_info_table_bases_internal): Likewise.
13137         (__deregister_frame_info_bases_internal): Likewise.
13138         (__register_frame_info_bases): Declare and use hidden_proto before
13139         definition.  Use hidden_def instead of INTDEF.
13140         (__register_frame_info_table_bases): Likewise.
13141         (__deregister_frame_info_bases): Likewise.
13142         (__register_frame_info): Do not use INTUSE.
13143         (__register_frame): Likewise.
13144         (__register_frame_info_table): Likewise.
13145         (__register_frame_table): Likewise.
13146         (__deregister_frame_info): Likewise.
13147         (__deregister_frame): Likewise.
13149 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
13151         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13152         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
13153         not undefine.
13154         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
13155         Likewise.
13156         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
13157         Likewise.
13159 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
13161         [BZ #14138]
13162         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
13163         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
13164         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
13165         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
13166         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
13167         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
13168         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
13169         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
13170         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
13171         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
13172         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
13173         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
13174         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
13175         syscall.
13176         (setfsuid): Likewise.
13177         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
13178         (setfsuid): Likewise.
13179         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
13180         (setfsuid): Likewise.
13181         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
13182         Likewise.
13183         (setfsuid): Likewise.
13184         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
13185         (setfsuid): Likewise.
13186         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
13187         Likewise.
13188         (setfsuid): Likewise.
13190 2014-10-27  Andreas Schwab  <schwab@suse.de>
13192         [BZ #17501]
13193         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
13194         check for Slow_SSE4_2 feature bit.
13195         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
13196         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13197         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
13198         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
13200 2014-10-24  Roland McGrath  <roland@hack.frob.com>
13202         * configure.ac: Validate compiler version with a empirical test of
13203         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
13204         $CC -v output.
13205         * configure: Regenerated.
13207         * inet/htons.c (htons): Prototypify.
13208         * inet/htonl.c (htonl): Likewise.
13210 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13212         * string/strncat.c (strncat): Improve performance by using strlen.
13214 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13216         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
13218 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13220         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
13221         Call libc_fetestexcept_aarch64.
13223 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13225         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
13226         Call libc_feholdexcept_aarch64.
13228 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13230         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
13231         Call get_rounding_mode.
13233 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13235         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13236         Simplify logic.
13238 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13240         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
13241         Simplify logic.
13243 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
13245         [BZ #14138]
13246         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
13247         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
13248         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
13249         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
13250         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
13251         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
13252         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
13253         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
13254         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
13255         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
13256         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13257         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
13258         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
13259         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
13260         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
13261         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
13262         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
13263         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
13264         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
13265         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
13266         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
13267         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
13268         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
13269         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
13270         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
13271         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
13272         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
13273         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
13274         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
13275         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
13276         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
13277         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
13278         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
13279         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
13280         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
13281         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
13282         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
13283         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
13284         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
13285         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
13286         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
13287         syscall.
13288         (geteuid): Likewise.
13289         (getgid): Likewise.
13290         (getuid): Likewise.
13291         (getresgid): Likewise.
13292         (getresuid): Likewise.
13293         (getgroups): Likewise.
13294         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
13295         (geteuid): Likewise.
13296         (getgid): Likewise.
13297         (getuid): Likewise.
13298         (getresgid): Likewise.
13299         (getresuid): Likewise.
13300         (getgroups): Likewise.
13301         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
13302         (geteuid): Likewise.
13303         (getgid): Likewise.
13304         (getuid): Likewise.
13305         (getresgid): Likewise.
13306         (getresuid): Likewise.
13307         (getgroups): Likewise.
13308         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
13309         Likewise.
13310         (geteuid): Likewise.
13311         (getgid): Likewise.
13312         (getuid): Likewise.
13313         (getresgid): Likewise.
13314         (getresuid): Likewise.
13315         (getgroups): Likewise.
13316         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
13317         (geteuid): Likewise.
13318         (getgid): Likewise.
13319         (getuid): Likewise.
13320         (getresgid): Likewise.
13321         (getresuid): Likewise.
13322         (getgroups): Likewise.
13323         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
13324         Likewise.
13325         (geteuid): Likewise.
13326         (getgid): Likewise.
13327         (getuid): Likewise.
13328         (getgroups): Likewise.
13330         [BZ #14138]
13331         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
13332         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
13333         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
13334         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13335         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
13336         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
13337         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
13338         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
13339         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
13340         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
13341         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
13342         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
13343         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
13344         __chown.
13345         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
13346         (lchown): Likewise.
13347         (fchown): Likewise.
13348         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
13349         Likewise.
13350         (lchown): Likewise.
13351         (fchown): Likewise.
13352         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
13353         (lchown): Likewise.
13354         (fchown): Likewise.
13355         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
13356         Likewise.
13357         (lchown): Likewise.
13358         (fchown): Likewise.
13360 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13362         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
13363         Simplify logic.
13365 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13367         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13368         Cleanup logic.
13370 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13372         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13373         Remove unused include.
13375 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13377         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
13378         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
13379         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
13380         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
13382 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
13383             Helge Deller <deller@gmx.de>
13385         [BZ #17508]
13386         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
13387         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
13388         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
13390 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
13392         [BZ #14132]
13393         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
13394         Remove macro definition.
13395         (__ashrdi3_v_glibc20): Likewise.
13396         (__lshrdi3_v_glibc20): Likewise.
13397         (__cmpdi2_v_glibc20): Likewise.
13398         (__ucmpdi2_v_glibc20): Likewise.
13399         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
13400         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13401         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13402         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13403         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13404         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
13406 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13408         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
13409         old GNU extension [0] syntax.
13410         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
13411         alloca rather than an array member with variable length.
13412         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
13413         * nscd/nscd.c (invalidate_db): New function, broken out of ...
13414         (parse_opt): ... here.  Likewise use alloca there.
13415         Validate the -i argument before checking for rootness.
13416         (send_shutdown): New function, broken out of ...
13417         (parse_opt): ... here.
13419 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13421         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
13422         macro to get at the _rt_local_ro field.
13423         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
13424         ([PIC] case) or _dl_hwcap ([!PIC] case).
13425         * sysdeps/arm/setjmp.S: Likewise.
13427         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
13428         * sysdeps/arm/configure.ac: New check to define it.
13429         * sysdeps/arm/configure: Regenerated.
13430         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
13431         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
13432         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
13433         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
13434         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
13435         Use move/movt pair instead of a load.
13436         (LDST_GLOBAL): Macro removed.
13437         (LDR_GLOBAL): New macro replaces it.
13438         (LDR_HIDDEN): New macro.
13439         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
13440         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
13442         * setjmp/tst-setjmp-static.c: New file.
13443         * setjmp/Makefile (tests): Add it.
13444         (tests-static): New variable.
13446 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
13448         [BZ #17485]
13449         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
13451 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
13453         [BZ #14132]
13454         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
13456 2014-10-21  Roland McGrath  <roland@hack.frob.com>
13458         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
13460 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13462         * io/fts.c (dirent_not_directory): New function.
13463         (fts_build): Call it.
13465 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13467         * nptl/version.c (__nptl_main): Use normal __write rather than
13468         INTERNAL_SYSCALL.
13469         (banner): Update copyright years.
13471         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
13472         gettimeofday.
13473         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13474         * nptl/pthread_cond_timedwait.c: Likewise.
13475         * nptl/pthread_mutex_timedlock.c: Likewise.
13476         * nptl/sem_timedwait.c: Likewise.
13478         * sysdeps/nptl/bits/libc-lock.h
13479         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13480         (__libc_lock_init_recursive): Return void, not 0.
13481         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
13482         (__libc_rwlock_init): Likewise.
13483         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
13485 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13487         [BZ #15215]
13488         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
13489         (__pthread_once_slow): ... here.
13490         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
13491         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
13493 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13495         [BZ #15215]
13496         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
13497         __PTHREAD_ONCE_FORK_GEN_INCR): New.
13498         * sysdeps/nptl/fork.c (__libc_fork): Use them.
13499         * nptl/pthread_once.c (__pthread_once): Likewise.
13500         Update comments.
13502 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
13504         [BZ #14138]
13505         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
13506         name.
13507         (writev): Use __libc_writev as strong name.
13508         * sysdeps/unix/sysv/linux/readv.c: Remove file.
13509         * sysdeps/unix/sysv/linux/writev.c: Likewise.
13511 2014-10-17  Roland McGrath  <roland@hack.frob.com>
13513         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
13515         * sysdeps/i386/nptl/tls.h
13516         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
13517         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
13518         New macros.
13519         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
13520         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
13521         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
13522         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
13523         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
13524         Call CHECK_THREAD_SYSINFO instead of doing an assert.
13526         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13527         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
13528         on [__NR_futex].
13529         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
13530         broken out of ...
13531         (__pthread_mutex_init): ... here.  Call it.
13532         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
13533         Conditionalize PI cases on [__NR_futex].
13534         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
13535         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
13536         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13538         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
13539         conditional on [SIGSETXID].
13540         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
13541         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
13542         is defined.  Likewise for SIGSETXID.
13543         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
13544         Conditionalize definitions on [SIGSETXID].
13545         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
13546         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
13547         unblocking on [SIGCANCEL].
13549         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
13550         [__NR_set_robust_list].
13552 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13554         * string/strcoll_l.c (get_next_seq): Fix up formatting.
13555         (do_compare): Likewise.
13557 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
13559         [BZ #15884]
13560         * string/strcoll_l.c: Don't include stdio.h.
13561         (coll_seq): Remove members idxarr and rulearr.
13562         (get_next_seq_cached): Remove function.
13563         (get_next_seq): Likewise.
13564         (get_next_seq_nocache): Rename to get_next_seq.
13565         (do_compare): Remove function.
13566         (do_compare_nocache): Rename to do_compare.
13567         (STRCOLL): Remove weight and rules cache.
13569 2014-10-16  Roland McGrath  <roland@hack.frob.com>
13571         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
13572         * sysdeps/arm/sfp-machine.h: ... to here.
13573         * sysdeps/arm/Implies: Remove arm/soft-fp.
13575 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
13577         * conform/data/sys/utsname.h-data (*_t): Allow.
13578         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
13579         [POSIX] (WEXITED): Do not expect constant.
13580         [POSIX] (WSTOPPED): Likewise.
13581         [POSIX] (WNOHANG): Likewise.
13582         [POSIX] (WNOWAIT): Likewise.
13583         [POSIX] (siginfo_t): Do not expect type or elements.
13584         [POSIX] (pid_t): Do not expect type.
13585         [POSIX] (signal.h): Do not allow header.
13586         [POSIX] (sys/resource.h): Likewise.
13587         [POSIX] (si_*): Do not allow pattern.
13588         [POSIX] (W*): Likewise.
13589         [POSIX] (P_*): Likewise.
13590         [POSIX] (BUS_*): Likewise.
13591         [POSIX] (CLD_*): Likewise.
13592         [POSIX] (FPE_*): Likewise.
13593         [POSIX] (ILL_*): Likewise.
13594         [POSIX] (POLL_*): Likewise.
13595         [POSIX] (SEGV_*): Likewise.
13596         [POSIX] (SI_*): Likewise.
13597         [POSIX] (TRAP_*): Likewise.
13598         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
13599         variable.
13601 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13603         [BZ #12926]
13604         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
13605         infinite loop when __recvmsg returns 0.
13607 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
13609         * CANCEL-FCT-WAIVE: Remove file.
13610         * CANCEL-FILE-WAIVE: Likewise.
13612         [BZ #14132]
13613         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
13614         instead of INTVARDEF.
13615         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13616         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
13617         rtld_hidden_data_def instead of INTVARDEF.
13618         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13619         * elf/dl-deps.c (expand_dst): Likewise.
13620         * elf/dl-load.c (_dl_dst_count): Likewise.
13621         (_dl_dst_substitute): Likewise.
13622         (decompose_rpath): Likewise.
13623         (_dl_init_paths): Likewise.
13624         (open_path): Likewise.
13625         (_dl_map_object): Likewise.
13626         * elf/rtld.c (dl_main): Likewise.
13627         (process_dl_audit): Likewise.
13628         (process_envvars): Likewise.
13629         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
13630         Remove declaration.
13631         (__libc_enable_secure): Use rtld_hidden_proto.
13633 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13635         * elf/dl-load.c
13636         (add_path): New function broken out of _dl_rtld_di_serinfo.
13637         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
13639 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13641         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
13642         parentheses around macro arguments.
13643         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
13644         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
13645         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
13646         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
13647         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
13648         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13649         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13650         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
13651         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
13652         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
13653         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
13654         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
13655         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
13656         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
13657         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
13658         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
13659         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
13660         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
13661         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
13662         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
13663         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
13664         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
13665         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
13666         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13667         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13668         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
13669         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
13670         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
13671         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
13672         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
13673         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
13674         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
13675         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
13676         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
13677         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
13678         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
13679         Likewise.
13680         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
13681         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13682         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13683         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
13684         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
13685         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
13686         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
13687         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
13688         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
13689         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
13690         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
13691         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
13692         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
13693         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
13694         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
13695         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13696         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13697         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
13698         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
13699         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
13700         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
13701         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
13702         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
13703         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
13704         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
13705         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
13706         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
13707         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
13708         (_FP_FRAC_SRS_1): Likewise.
13709         (_FP_FRAC_CLZ_1): Likewise.
13710         (_FP_MUL_MEAT_1_imm): Likewise.
13711         (_FP_MUL_MEAT_1_wide): Likewise.
13712         (_FP_MUL_MEAT_1_hard): Likewise.
13713         (_FP_SQRT_MEAT_1): Likewise.
13714         (_FP_FRAC_ASSEMBLE_1): Likewise.
13715         (_FP_FRAC_DISASSEMBLE_1): Likewise.
13716         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
13717         (__FP_CLZ_2): Likewise.
13718         (_FP_MUL_MEAT_2_wide): Likewise.
13719         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13720         (_FP_MUL_MEAT_2_gmp): Likewise.
13721         (_FP_MUL_MEAT_2_120_240_double): Likewise.
13722         (_FP_SQRT_MEAT_2): Likewise.
13723         (_FP_FRAC_ASSEMBLE_2): Likewise.
13724         (_FP_FRAC_DISASSEMBLE_2): Likewise.
13725         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13726         (_FP_FRAC_CLZ_4): Likewise.
13727         (_FP_MUL_MEAT_4_wide): Likewise.
13728         (_FP_MUL_MEAT_4_gmp): Likewise.
13729         (_FP_SQRT_MEAT_4): Likewise.
13730         (_FP_FRAC_ASSEMBLE_4): Likewise.
13731         (_FP_FRAC_DISASSEMBLE_4): Likewise.
13732         * soft-fp/op-common.h (_FP_CMP): Likewise.
13733         (_FP_CMP_EQ): Likewise.
13734         (_FP_CMP_UNORD): Likewise.
13735         (_FP_TO_INT): Likewise.
13736         (_FP_FROM_INT): Likewise.
13737         [!__FP_CLZ] (__FP_CLZ): Likewise.
13738         (_FP_DIV_HELP_imm): Likewise.
13739         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13740         Likewise.
13741         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13742         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13743         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13744         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13745         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13746         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13747         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13748         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13749         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13750         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13751         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13752         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13753         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13754         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13755         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13756         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13757         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13758         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13759         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13760         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13761         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13762         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13763         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13764         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13765         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13766         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13767         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13768         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13769         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13770         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13771         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13772         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13773         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13774         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13775         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13776         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13777         (FP_UNPACK_RAW_SP): Likewise.
13778         (FP_PACK_RAW_S): Likewise.
13779         (FP_PACK_RAW_SP): Likewise.
13780         (FP_UNPACK_S): Likewise.
13781         (FP_UNPACK_SP): Likewise.
13782         (FP_UNPACK_SEMIRAW_S): Likewise.
13783         (FP_UNPACK_SEMIRAW_SP): Likewise.
13784         (FP_PACK_S): Likewise.
13785         (FP_PACK_SP): Likewise.
13786         (FP_PACK_SEMIRAW_S): Likewise.
13787         (FP_PACK_SEMIRAW_SP): Likewise.
13788         (_FP_SQRT_MEAT_S): Likewise.
13789         (FP_CMP_S): Likewise.
13790         (FP_CMP_EQ_S): Likewise.
13791         (FP_CMP_UNORD_S): Likewise.
13792         (FP_TO_INT_S): Likewise.
13793         (FP_FROM_INT_S): Likewise.
13795         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13797         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13798         (FP_EX_INVALID_IMZ): Likewise.
13799         (FP_EX_INVALID_IMZ_FMA): Likewise.
13800         (FP_EX_INVALID_ISI): Likewise.
13801         (FP_EX_INVALID_ZDZ): Likewise.
13802         (FP_EX_INVALID_IDI): Likewise.
13803         (FP_EX_INVALID_SQRT): Likewise.
13804         (FP_EX_INVALID_CVI): Likewise.
13805         (FP_EX_INVALID_VC): Likewise.
13806         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13807         "invalid" exceptions.
13808         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13809         (_FP_ADD_INTERNAL): Likewise.
13810         (_FP_MUL): Likewise.
13811         (_FP_FMA): Likewise.
13812         (_FP_DIV): Likewise.
13813         (_FP_CMP_CHECK_NAN): Likewise.
13814         (_FP_SQRT): Likewise.
13815         (_FP_TO_INT): Likewise.
13816         (FP_EXTEND): Likewise.
13818 2014-10-09  Allan McRae  <allan@archlinux.org>
13820         * po/fr.po: Update French translation from translation project.
13822 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13824         [BZ #14132]
13825         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13826         of INTDEF.
13827         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13828         (__cxa_atexit): Use libc_hidden_proto.
13829         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13831         [BZ #14132]
13832         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13833         declaration.
13834         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13835         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13836         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13837         [!_ISOMAC] (__iswctype_internal): Likewise.
13838         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13839         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13840         alias.
13841         (fcntl): Remove __fcntl_internal alias.
13842         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13843         __connect_internal alias.
13844         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13845         Likewise.
13847         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13848         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13849         FP_DENORM_ZERO.
13850         (_FP_CHECK_FLUSH_ZERO): New macro.
13851         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13852         (_FP_CMP): Likewise.
13853         (_FP_CMP_EQ): Likewise.
13854         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13855         FP_DENORM_ZERO.
13856         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13857         (FP_TRUNC): Likewise.
13859         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13860         treated as invalid conversion, not as normal exponent.
13862         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13863         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13864         (_FP_CMP_EQ): Likewise.
13865         (_FP_CMP_UNORD): Likewise.
13866         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13867         (FP_CMP_EQ_D): Likewise.
13868         (FP_CMP_UNORD_D): Likewise.
13869         * soft-fp/extended.h (FP_CMP_E): Likewise.
13870         (FP_CMP_EQ_E): Likewise.
13871         (FP_CMP_UNORD_E): Likewise.
13872         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13873         (FP_CMP_EQ_Q): Likewise.
13874         (FP_CMP_UNORD_Q): Likewise.
13875         * soft-fp/single.h (FP_CMP_S): Likewise.
13876         (FP_CMP_EQ_S): Likewise.
13877         (FP_CMP_UNORD_S): Likewise.
13878         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13879         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13880         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13881         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13882         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13883         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13884         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13885         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13886         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13887         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13888         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13889         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13890         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13891         to FP_CMP_Q.
13892         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13893         FP_CMP_Q.
13894         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13895         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13896         FP_CMP_EQ_Q.
13897         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13898         FP_CMP_Q.
13899         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13900         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13901         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13902         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13903         FP_CMP_EQ_Q.
13904         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13905         FP_CMP_Q.
13906         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13907         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13908         FP_CMP_EQ_Q.
13909         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13910         FP_CMP_Q.
13911         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13912         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13913         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13914         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13915         FP_CMP_EQ_Q.
13917         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13918         a subnormal result, set the underflow exception if trapping on
13919         underflow is enabled.
13920         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13921         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13922         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13923         redefine to 0.
13924         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13925         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13926         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13927         * soft-fp/extendxftf2.c (__extendxftf2): Use
13928         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13930         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13931         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13932         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13933         FP_HANDLE_EXCEPTIONS.
13934         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13935         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13936         FP_HANDLE_EXCEPTIONS.
13937         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13938         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13939         FP_HANDLE_EXCEPTIONS.
13940         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13941         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13942         FP_HANDLE_EXCEPTIONS.
13944 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13946         [BZ #14132]
13947         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13948         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13949         use INTUSE.
13950         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13951         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13952         Remove alias.
13953         (__adjtimex): Define using libc_hidden_ver.
13954         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13955         Remove declaration.
13956         (ntp_gettime): Call __adjtimex directly.
13957         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13958         Remove declaration.
13959         (ntp_gettimex): Call __adjtimex directly.
13960         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13961         __adjtimex_internal alias.
13963 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13965         [BZ #17460]
13966         * nscd/nscd.c (more_help): Rewrite list of tables collection
13967         using xstrdup and asprintf.
13969         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13971 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13972             Roland McGrath  <roland@hack.frob.com>
13974         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13975         (do_lookup_unique): ... local function 'enter' here; update callers.
13977 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13979         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13980         compat_symbol calls on [SHARED].
13981         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13982         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13983         Remove.
13984         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13985         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13986         (oldsetrlimit): Remove.
13987         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13989         (lchown): New syscall entry.
13990         (oldsetrlimit): Remove.
13991         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13992         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13993         (oldsetrlimit): Remove.
13994         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13996         [BZ #14138]
13997         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13998         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13999         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
14000         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
14001         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14002         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
14003         (fchown): Likewise.
14004         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
14005         (fchown): Likewise.
14006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
14007         Likewise.
14009 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14011         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
14012         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
14013         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
14014         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
14015         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
14016         Likewise.
14017         (__old_sem_post): Likewise.
14019 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
14021         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
14022         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
14023         HAVE_CLOCK_GETTIME_VSYSCALL macros.
14024         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
14025         Use INLINE_VSYSCALL macro.
14026         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
14027         __vdso_clock_gettime.
14028         * sysdeps/unix/sysv/linux/tile/init-first.c
14029         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
14030         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
14031         __vdso_clock_gettime.
14033         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
14034         to set up frame more cleanly.
14036         * sysdeps/tile/memcmp.c: New file.
14038         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
14040         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
14041         * sysdeps/tile/tilegx/strcasestr.c: New file.
14042         * sysdeps/tile/tilegx/strnlen.c: New file.
14043         * sysdeps/tile/tilegx/strstr.c: New file.
14045         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
14047 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
14049         * nptl/tst-setuid3.c: Write errors to stdout.
14051 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14053         * elf/dl-deps.c
14054         (preload): New functions broken out of _dl_map_object_deps.
14055         (_dl_map_object_deps):  Remove a nested function. Update call sites.
14057 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
14059         [BZ #14138]
14060         * sysdeps/unix/sysv/linux/execve.c: Remove file.
14061         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
14063 2014-10-01  Steve Ellcey  <sellcey@mips.com>
14065         * sysdeps/mips/strcmp.S: New.
14067 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
14069         [BZ #14138]
14070         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
14071         (linkat): Likewise.
14072         (mkdirat): Likewise.
14073         (readlinkat): Likewise.
14074         (renameat): Likewise.
14075         (symlinkat): Likewise.
14076         (unlinkat): Likewise.
14077         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
14078         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
14079         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
14080         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
14081         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14082         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
14083         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
14085 2014-09-30  Will Newton  <will.newton@linaro.org>
14087         * math/math.h: Define long double math functions if
14088         _LIBC_TEST is defined.
14089         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
14091         * localedata/Makefile: Move assignment to tests-special
14092         into an ifdef testing run-built-tests.
14093         * timezone/Makefile: Likewise.
14095 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
14097         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
14098         with $(BASH) not $(SHELL).
14100 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
14101             Matthew LeGendre  <legendre1@llnl.gov>
14103         [BZ #17411]
14104         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
14105         l_reloc_result.
14107 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14109         * stdio-common/printf_fp.c
14110         (hack_digit): New function, broken out of ...
14111         (__printf_fp): ... local function here.  Update call sites.
14112         hack_digit now takes an additional parameter that is a pointer
14113         to a struct of the referenced locals.  Those locals moved inside
14114         the struct and references updated.
14116 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
14118         * aclocal.m4: Require autoconf 2.69.
14119         * configure: Regenerated.
14120         * sysdeps/aarch64/configure: Likewise.
14121         * sysdeps/alpha/configure: Likewise.
14122         * sysdeps/arm/armv7/configure: Likewise.
14123         * sysdeps/arm/configure: Likewise.
14124         * sysdeps/ia64/configure: Likewise.
14125         * sysdeps/mach/configure: Likewise.
14126         * sysdeps/mips/configure: Likewise.
14127         * sysdeps/s390/configure: Likewise.
14128         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
14129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
14131         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
14132         file.
14133         * sysdeps/ia64/configure.ac: Likewise.
14135 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
14137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
14138         specify symbol version for ld.so.  Do not include entry for
14139         libpthread.
14140         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14141         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14142         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14144         [BZ #14171]
14145         * Makeconfig [$(build-shared) = yes]
14146         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
14147         makefiles.
14148         [$(build-shared) = yes && $(soversions.mk-done) = t]
14149         ($(common-objpfx)gnu/lib-names.h): Remove rule.
14150         [$(build-shared) = yes && $(soversions.mk-done) = t]
14151         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
14152         to Makerules.
14153         [$(build-shared) = yes && $(soversions.mk-done) = t]
14154         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
14155         here.
14156         [$(build-shared) = yes && $(soversions.mk-done) = t]
14157         (common-generated): Don't append gnu/lib-names.h and
14158         gnu/lib-names.stmp here.
14159         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
14160         (lib-names-h-abi): New variable.
14161         [$(build-shared) = yes && $(soversions.mk-done) = t]
14162         (lib-names-stmp-abi): Likewise.
14163         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14164         abi-variants] (before-compile): Append
14165         $(common-objpfx)$(lib-names-h-abi).
14166         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14167         abi-variants] (common-generated): Append gnu/lib-names.h.
14168         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14169         abi-variants] (install-others-nosubdir): Depend on
14170         $(inst_includedir)/$(lib-names-h-abi).
14171         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14172         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
14173         [$(build-shared) = yes && $(soversions.mk-done) = t]
14174         ($(common-objpfx)$(lib-names-h-abi)): New rule.
14175         [$(build-shared) = yes && $(soversions.mk-done) = t]
14176         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
14177         [$(build-shared) = yes && $(soversions.mk-done) = t]
14178         (common-generated): Append $(lib-names-h-abi) and
14179         $(lib-names-stmp-abi).
14180         * scripts/lib-names.awk: Do not handle multi being set.
14181         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
14182         Remove variable.
14183         (abi-lp64_be-ld-soname): Likewise.
14184         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
14185         Likewise.
14186         (abi-hard-ld-soname): Likewise.
14187         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
14188         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
14189         Remove variable.
14190         (abi-o32_hard-ld-soname): Likewise.
14191         (abi-o32_soft_2008-ld-soname): Likewise.
14192         (abi-o32_hard_2008-ld-soname): Likewise.
14193         (abi-n32_soft-ld-soname): Likewise.
14194         (abi-n32_hard-ld-soname): Likewise.
14195         (abi-n32_soft_2008-ld-soname): Likewise.
14196         (abi-n32_hard_2008-ld-soname): Likewise.
14197         (abi-n64_soft-ld-soname): Likewise.
14198         (abi-n64_hard-ld-soname): Likewise.
14199         (abi-n64_soft_2008-ld-soname): Likewise.
14200         (abi-n64_hard_2008-ld-soname): Likewise.
14201         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
14202         Likewise.
14203         (abi-64-v2-ld-soname): Likewise.
14204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
14205         ld.so entries.
14206         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
14207         variable.
14208         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
14209         entry.
14210         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
14211         variable.
14212         (abi-64-ld-soname): Likewise.
14213         (abi-x32-ld-soname): Likewise.
14214         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
14215         entry.
14216         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14218 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
14220         [BZ #14138]
14221         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
14222         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
14223         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
14224         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
14225         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
14226         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
14227         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
14228         syscall entry for GLIBC_2.2 symbol version.
14229         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
14230         Likewise.
14231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14232         (setrlimit): Likewise.
14233         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
14234         Likewise.
14236 2014-09-23  Will Newton  <will.newton@linaro.org>
14238         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
14239         _LINUX_ARM_SYSDEP_H include guard too.
14240         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
14241         define.
14243 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14245         * sysdeps/unix/sysv/linux/eventfd.c:
14246         Make first argument unsigned.
14247         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
14248         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
14250 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
14252         * socket/recvmmsg.c (recvmmsg): Drop const argument.
14253         * socket/sys/socket.h: Likewise
14254         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
14256 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14258         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
14260 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
14262         * time/tst-ftime.c: New test.
14263         * time/Makefile (tests): Add tst-ftime.
14265 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
14267         * soft-fp/extended.h: Fix comment formatting.
14268         * soft-fp/op-1.h: Likewise.
14269         * soft-fp/op-2.h: Likewise.
14270         * soft-fp/op-4.h: Likewise.
14271         * soft-fp/op-8.h: Likewise.
14272         * soft-fp/op-common.h: Likewise.
14273         * soft-fp/soft-fp.h: Likewise.
14275         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
14277 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
14279         [BZ #6652]
14280         * Makeconfig (soversions-default-setname): Remove variable.
14281         ($(common-objpfx)soversions.i): Don't pass default_setname to
14282         soversions.awk.
14283         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
14284         oldest_abi to abi-versions.awk.
14285         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
14286         * config.make.in (oldest-abi): Remove variable.
14287         * configure.ac (--enable-oldest-abi): Remove configure option.
14288         * configure: Regenerated.
14289         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
14290         text.
14291         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
14292         * scripts/soversions.awk: Do not handle default_setname variable.
14293         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
14294         variable.
14295         * sysdeps/mach/hurd/configure: Regenerated.
14296         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
14297         variable.
14298         * sysdeps/unix/sysv/linux/configure: Regenerated.
14300 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14302         * elf/Makefile (CFLAGS-interp.c): Remove.
14303         ($(elf-objpfx)runtime-linker.h): Generate header with linker
14304         path string.
14305         * elf/interp.c: Include generated runtime-linker.h
14307         * Makerules (lib%.so): Don't include $(+interp) in
14308         prerequisites.
14309         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
14310         * dlfcn/eval.c: Remove file.
14312         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
14313         macros.
14315         [BZ #17266]
14316         * misc/sys/cdefs.h: Define __extern_always_inline for clang
14317         4.2 and newer.
14319         [BZ #17370]
14320         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
14322 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14323             Jakub Jelinek  <jakub@redhat.com>
14325         [BZ #17266]
14326         * libio/stdio.h: Check definition of __fortify_function
14327         instead of __extern_always_inline to include bits/stdio2.h.
14328         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
14329         check if __extern_always_inline is defined.
14330         [__USE_MISC || __USE_XOPEN]: Likewise.
14331         [__USE_ISOC99] Likewise.
14332         * misc/sys/cdefs.h (__fortify_function): Define only if
14333         __extern_always_inline is defined.
14334         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
14335         __extern_always_inline and __extern_inline only for g++-4.3
14336         and newer or a compatible gcc.
14338 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
14340         [BZ #17371]
14341         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14342         last change to handle zero prefix length.
14344 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14346         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
14347         _SC_REGEX_VERSION.
14349         * posix/getconf.c (vars): Add _POSIX_IPV6 and
14350         _POSIX_RAW_SOCKETS.
14352 2014-09-13  Allan McRae  <allan@archlinux.org>
14354         * po/ru.po: Update Russian translation from translation project.
14356 2014-09-12  Roland McGrath  <roland@hack.frob.com>
14358         * locale/programs/locale.c (show_locale_vars): Inline local function
14359         into its sole call site.  Clean up some style nits.
14360         (print_item): New function, broken out of ...
14361         (show_info): ... local function here.  Clean up style nits.
14363         * locale/programs/ld-ctype.c (set_one_default): New function, broken
14364         out of ...
14365         (set_class_defaults): ... local function set_default here.
14366         Define set_default as a macro locally to pass constant parameters.
14367         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
14368         rather than a shared local.
14370         * stdlib/rpmatch.c (try): New function, broken out of ...
14371         (rpmatch): ... local function here.  Also, prototypify definition.
14373 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
14375         * scripts/soversions.awk: Do not handle configuration names.
14376         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
14377         vendor and os variables to soversions.awk.
14378         * configure.ac: Do not modify gnu-* host_os.
14379         * configure: Regenerated
14380         * shlib-versions: Remove first column with configuration names.
14381         * nptl/shlib-versions: Likewise.
14382         * nptl_db/shlib-versions: Likewise.
14383         * sysdeps/hppa/shlib-versions: Likewise.
14384         * sysdeps/m68k/shlib-versions: Likewise.
14385         * sysdeps/mach/hurd/shlib-versions: Likewise.
14386         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
14387         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
14388         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
14389         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
14390         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
14391         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
14392         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
14393         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
14394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14395         Likewise.
14396         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14397         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14398         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14399         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14400         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14401         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
14402         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14403         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14406         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
14407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14408         Regenerated.
14409         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
14410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14411         Condition symbol version definitions on [HAVE_ELFV2_ABI].
14413         * shlib-versions: Remove OS-specific entries.  Moved to files in
14414         sysdeps.
14415         * sysdeps/mach/hurd/shlib-versions: New file.
14416         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14418         * nptl/shlib-versions: Remove architecture-specific entries.
14419         Moved to files in sysdeps.
14420         * shlib-versions: Likewise.
14421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
14422         file.
14423         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14424         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14425         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14426         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14428         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
14429         (UDP_NO_CHECK6_RX): Likewise.
14431 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14433         * sysdeps/posix/sysconf.c (__sysconf): Spell
14434         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
14436 2014-08-12  Florian Weimer  <fweimer@redhat.com>
14438         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
14439         loading.
14440         * iconv/Versions (__gconv_transliterate): Export for use from
14441         gconv modules.
14442         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
14443         (struct __gconv_trans_data, __gconv_trans_fct,
14444         __gconv_trans_context_fct, __gconv_trans_query_fct,
14445         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
14446         definitions.
14447         (struct __gconv_step_data): Remove __trans member.
14448         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
14449         longer hidden.  Remove unused trans_data argument.
14450         * iconv/gconv_int.h (struct trans_struct): Remove definition.
14451         (__gconv_translit_find): Remove declaration.
14452         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
14453         prototype.
14454         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
14455         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
14456         trans_data argument.  Add hidden definition.
14457         (__gconv_translit_find): Remove.
14458         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
14459         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
14460         * iconv/skeleton.c: Remove transliteration initialization.
14461         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
14462         __gconv_step_data initialization.
14463         * libio/iofwide.c (__libio_translit_): Remove.
14464         (_IO_fwide): Adjust struct __gconv_step_data initialization.
14465         * wcsmbs/btowc.c (__btowc): Likewise.
14466         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14467         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14468         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14469         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14470         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
14471         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14472         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14473         * wcsmbs/wctob.c (wctob): Likewise.
14475 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14477         [BZ #16194]
14478         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
14479         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
14480         register usage.
14481         * sysdeps/x86/Makefile: Adjust.
14483 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14484             Roland McGrath  <roland@hack.frob.com>
14486         * locale/weight.h: Add include guard.
14487         (findidx): Make static rather than auto; take new parameters
14488         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
14489         * locale/weightwc.h: Likewise.
14490         * posix/fnmatch_loop.c
14491         (FCT): Change type of EXTRA from int32_t to wint_t.
14492         Don't include either header inside the function.
14493         Call FINDIDX rather than findidx, and pass new arguments.
14494         #undef FINDIDX at the end of the file.
14495         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
14496         FINDIDX before including fnmatch_loop.c for the non-wide version.
14497         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
14498         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
14499         for the wide version.
14500         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
14501         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
14502         Pass new arguments to findidx.
14503         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
14504         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
14505         Don't #include it inside the function.  Pass new arguments to findidx.
14506         * posix/regex_internal.h
14507         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
14508         (re_string_elem_size_at): Don't #include it inside the function.
14509         Pass new arguments to findidx.
14510         * string/strcoll_l.c: #include WEIGHT_H at top level.
14511         (get_next_seq): Don't #include it inside the function.
14512         Pass new arguments to findidx.
14513         (get_next_seq_nocache): Likewise.
14514         * string/strxfrm_l.c: #include WEIGHT_H at top level.
14515         (STRXFRM): Don't #include it inside the function.
14516         Pass new arguments to findidx.
14518 2014-09-11  Florian Weimer  <fweimer@redhat.com>
14520         [BZ #17344]
14521         * malloc/malloc.c (unlink): Turn asserts into a call to
14522         malloc_printerr.
14524 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
14526         [BZ #17370]
14527         * libio/wfileops (do_ftell_wide): Free OUT.
14529 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
14531         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
14533 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14535         [BZ #17363]
14536         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
14537         group if the current group is empty.
14539 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14541         * benchtests/bench-memset.c (test_main): Add more test from size
14542         from 32 to 512 bytes.
14543         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14544         Add POWER8 memset object.
14545         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14546         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
14547         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
14548         implementation.
14549         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
14550         Likewise.
14551         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
14552         multiarch POWER8 memset optimization.
14553         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
14554         POWER8 memset optimization.
14556         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14557         Remove bzero multiarch objects.
14558         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
14559         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
14560         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
14561         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
14562         Remove define.
14563         [__bzero]: Redefine to specific name.
14564         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
14565         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
14566         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
14567         define.
14568         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14569         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14571 2014-09-10  Florian Weimer  <fweimer@redhat.com>
14573         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
14574         warnings into errors.
14576         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
14577         __cxa_thread_atexit_impl prototype.
14579 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14581         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
14582         Fix capitalization of error message.
14584 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14586         * sysdeps/mips/preconfigure: Modify ABI tests.
14588 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
14590         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
14592 2014-09-07  Roland McGrath  <roland@hack.frob.com>
14593             Carlos O'Donell  <carlos@systemhalted.org>
14595         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
14596         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
14597         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
14598         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
14599         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
14600         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
14601         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
14602         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
14603         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
14604         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
14605         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
14606         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
14607         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
14608         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
14609         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
14610         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
14611         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
14612         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
14613         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
14614         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
14615         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
14616         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
14617         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
14618         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
14619         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
14620         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
14621         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
14622         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
14623         Deconditionalize the code that was previously under [RESET_PID].
14624         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
14625         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
14626         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
14627         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
14628         include sysdep.h.
14630 2014-09-08  Allan McRae  <allan@archlinux.org>
14632         * version.h (RELEASE): Set to "development".
14633         (VERSION): Set to "2.20.90"
14635 2014-09-07  Allan McRae  <allan@archlinux.org
14637         * version.h (RELEASE): Set to "stable".
14638         (VERSION): Set to "2.20"
14639         * include/features.h (__GLIBC_MINOR__): Set to 20.
14641         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
14642         Liebler.
14644         * po/ko.po: Update Korean translation from translation project.
14646 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
14648         [BZ #17354]
14649         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
14650         macro for handling signed relocations.
14652 2014-09-03  Florian Weimer  <fweimer@redhat.com>
14654         [BZ #17325]
14655         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
14656         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
14657         assert.
14658         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
14659         * iconvdata/ibm935.c (BODY): Likewise.
14660         * iconvdata/ibm937.c (BODY): Likewise.
14661         * iconvdata/ibm939.c (BODY): Likewise.
14662         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
14663         assert.
14664         * iconvdata/Makefile (iconv-test.out): Pass module list to test
14665         script.
14666         * iconvdata/run-iconv-test.sh: New test loop for checking for
14667         decoder crashers.
14669 2014-09-02  Khem Raj  <raj.khem@gmail.com>
14671         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
14672         libm_hidden_ver.
14674 2014-09-01  Allan McRae  <allan@archlinux.org>
14676         * po/eo.po: Update Esperanto translation from translation project.
14678         * po/ca.po: Update Catalan translation from translation project.
14680 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14682         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
14683         __proc_dostop call.
14685 2014-08-27  Mark Wielaard  <mjw@redhat.com>
14687         [BZ #17319]
14688         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
14689         to call set_thread_area instead of hand written asm.
14690         (__NR_set_thread_area): Removed define.
14691         (TLS_FLAG_WRITABLE): Likewise.
14692         (__ASSUME_SET_THREAD_AREA): Remove check.
14693         (TLS_EBX_ARG): Remove define.
14694         (TLS_LOAD_EBX): Likewise.
14696 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14698         Simplify atomicity of socket creation in bind.
14700         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
14701         looking up the name after linking the file.
14703 2014-08-27  Allan McRae  <allan@archlinux.org>
14705         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14707 2014-08-26  Florian Weimer  <fweimer@redhat.com>
14709         [BZ #17187]
14710         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
14711         trans_compare, open_translit, __gconv_translit_find):
14712         Remove module loading code.
14714 2014-08-26  Allan McRae  <allan@archlinux.org>
14716         * po/vi.po: Update Vietnamese translation from translation project.
14718         * po/uk.po: Update Ukrainian translation from translation project.
14720         * po/fr.po: Update French translation from translation project.
14722         * po/ru.po: Update Russian translation from translation project.
14724         * po/pl.po: Update Polish translation from translation project.
14726         * po/cs.po: Update Czech translation from translation project.
14728         * po/de.po: Update German translation from translation project.
14730         * po/bg.po: Update Bulgarian translation from translation project.
14732         * po/sv.po: Update Sweedish translation from translation project.
14734         * po/nl.po: Update Dutch translation from translation project.
14736         * po/es.po: Update Spanish translation from translation project.
14738 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14740         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14742         * catgets/Makefile (CPPFLAGS-gencat): Remove.
14743         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14744         (CPPFLAGS-iconvconfig): Likewise.
14745         * timezone/Makefile (CPPFLAGS-zic): Likewise.
14747         * include/libc-symbols.h: Remove unnecessary check for
14748         NOT_IN_libc.
14749         * nptl/pthreadP.h: Likewise.
14750         * sysdeps/aarch64/setjmp.S: Likewise.
14751         * sysdeps/alpha/setjmp.S: Likewise.
14752         * sysdeps/arm/sysdep.h: Likewise.
14753         * sysdeps/i386/setjmp.S: Likewise.
14754         * sysdeps/m68k/setjmp.c: Likewise.
14755         * sysdeps/posix/getcwd.c: Likewise.
14756         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14757         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14758         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14759         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14760         * sysdeps/sh/sh3/setjmp.S: Likewise.
14761         * sysdeps/sh/sh4/setjmp.S: Likewise.
14762         * sysdeps/unix/alpha/sysdep.h: Likewise.
14763         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14764         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14765         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14766         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14769         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14770         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14771         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14772         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14773         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14774         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14775         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14776         * sysdeps/x86_64/setjmp.S: Likewise.
14778 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14780         [BZ #17263]
14781         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14782         <stdint.h>.
14783         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14784         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14786 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14788         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14790         [BZ #17262]
14791         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14792         and __x86_64__ when disabling x87 inline functions.
14794 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14796         [BZ #17259]
14797         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14798         asm statement with __cpuid_count.
14800 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14802         * configure.ac: Change __ehdr_start code to dereference the struct.
14803         Run readelf on the output to look for relocations.
14804         * configure: Regenerated.
14806 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14808         [BZ #17261]
14809         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14810         value to 0.
14811         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14813 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14815         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14817 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14819         [BZ #16892]
14820         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14821         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14823 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14825         * malloc/malloc.c: Fix typo in comment.
14827 2014-08-09  Allan McRae  <allan@archlinux.org>
14829         * Regenerate libc.po.
14831 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14833         * intl/tst-gettext2.sh: Check every lang file for creation.
14835 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14837         * sysdeps/aarch64/fpu/math_private.h
14838         (libc_feholdsetround_noex_aarch64_ctx): New function.
14840 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14842         * sysdeps/arm/armv6/strcpy.S (strcpy):
14843         Fix performance issue in misaligned cases.
14845 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14847         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14848         Move definition from termios.h.
14849         (struct termio): Likewise.
14850         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14851         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14852         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14853         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14854         Likewise.
14855         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14856         Move definition to ioctl-types.h
14857         (struct termio): Likewise.
14858         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14859         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14860         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14861         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14862         Likewise.
14864 2014-08-05  Richard Henderson  <rth@redhat.com>
14866         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14867         exceptions.
14868         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14869         Add fraiseexcpt.
14870         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14871         Use __feraiseexcept.
14872         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14873         Protect libm symbols with IS_IN_libm.
14875         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14877 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14879         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14881 2014-08-04  Will Newton  <will.newton@linaro.org>
14883         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14884         file.
14886 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14888         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14889         variants for each function.
14891 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14893         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14894         appended ...
14895         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14896         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14897         appended ...
14898         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14899         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14900         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14901         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14902         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14903         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14904         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14905         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14906         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14907         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14908         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14909         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14910         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14911         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14912         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14913         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14914         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14915         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14916         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14917         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14918         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14919         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14920         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14921         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14922         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14923         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14924         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14925         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14926         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14927         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14928         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14929         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14930         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14931         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14932         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14933         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14934         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14935         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14936         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14937         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14938         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14939         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14940         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14941         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14942         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14943         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14944         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14945         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14946         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14947         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14948         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14949         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14950         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14951         Update #include.
14952         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14953         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14955 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14957         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14958         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14959         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14960         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14961         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14962         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14964 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14966         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14967         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14968         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14969         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14971 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14973         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14974         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14975         (__libc_vfork): Define function under this name.
14976         (__vfork): Define as an alias.
14977         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14978         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14980 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14982         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14983         that was previously under [RESET_PID].
14984         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14986 2014-08-04  Andreas Schwab  <schwab@suse.de>
14988         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14990 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14992         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14993         (main): Likewise.
14995 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14997         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14999 2014-08-01  Richard Henderon  <rth@redhat.com>
15001         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
15002         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
15003         typo in exact zero test.
15004         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15005         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15006         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15008 2014-08-01  Roland McGrath  <roland@hack.frob.com>
15010         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
15011         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
15012         * sysdeps/arm/sysdep.h: ... here.
15013         [!__ASSEMBLER__]: Include <stdint.h>.
15015 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15017         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
15018         (HAVE_WCTYPE_H): Likewise.
15019         (HAVE_ISWCTYPE): Likewise.
15020         (ENABLE_NLS): Likewise.
15021         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
15022         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
15024         * posix/regex_internal.c: Check if DEBUG is defined and is
15025         set.
15027         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
15028         (HAVE_MBSRTOWCS): Likewise.
15029         * posix/fnmatch.c: Include string.h unconditionally.
15031 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15033         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
15034         reversal.
15036 2014-07-31  Roland McGrath  <roland@hack.frob.com>
15038         * sysdeps/generic/safe-fatal.h: New file.
15039         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
15040         * nptl/forward.c: Include it.
15041         (__pthread_unwind): Use __safe_fatal as default action, rather
15042         than a bogus use of INTERNAL_SYSCALL that could never work.
15044         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
15045         * configure.ac (libc_cv_builtin_trap): New test.
15046         * configure: Regenerated.
15047         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
15048         (ABORT_INSTRUCTION): Define using __builtin_trap.
15050         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
15051         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
15052         * sysdeps/nptl/nptl-signals.h: New file.
15053         * nptl/pthreadP.h: Include <nptl-signals.h>.
15055 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15057         * sysdeps/s390/s390-64/utf16-utf32-z9.c
15058         (ONE_DIRECTION): Define.
15059         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15060         (ONE_DIRECTION): Define.
15061         * sysdeps/s390/s390-64/utf8-utf32-z9.c
15062         (ONE_DIRECTION): Define.
15064 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15066         * sysdeps/s390/Makefile: Delete file.
15067         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
15068         * sysdeps/s390/__longjmp.c: Delete file.
15069         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
15070         Remove fields __flags and __reserved.
15071         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
15072         and add versioning.
15073         * sysdeps/s390/rtld-__longjmp.c: Delete file.
15074         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
15075         * sysdeps/s390/rtld-setjmp.S: Likewise.
15076         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
15077         * sysdeps/s390/s390-32/__longjmp.c: ... here.
15078         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
15079         * sysdeps/s390/s390-32/setjmp.S: ... here.
15080         Add versioning.
15081         (__sigsetjmp): Remove setting __flags field.
15082         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
15083         * sysdeps/s390/s390-64/__longjmp.c: ... here.
15084         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
15085         * sysdeps/s390/s390-64/setjmp.S: ... here.
15086         Add versioning.
15087         (__sigsetjmp): Remove setting __flags field.
15088         * sysdeps/s390/setjmp.S: Delete file.
15089         * sysdeps/s390/sigjmp.c: Likewise.
15090         * sysdeps/s390/v1-longjmp.c: Likewise.
15091         * sysdeps/s390/v1-setjmp.h: Likewise.
15092         * sysdeps/s390/v1-sigjmp.c: Likewise.
15093         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
15094         Remove v1-longjmp_chk.
15095         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
15096         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
15097         Include debug/longjmp_chk.c and add versioning.
15098         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
15099         Include nptl/pt-longjmp.c and add versioning.
15100         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
15101         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
15102         Include __longjmp.c.
15103         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15104         Move to ...
15105         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
15106         (__getcontext): Remove setting __flags field.
15107         Add versioning.
15108         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15109         Don't restore upper high grps.
15110         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
15111         Likewise.
15112         (__swapcontext): Remove setting uc_flags field.
15113         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
15114         Delete file.
15115         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15116         Include __longjmp.c.
15117         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15118         Move to ...
15119         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
15120         (__getcontext): Remove setting __flags field.
15121         Add versioning.
15122         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
15123         (__swapcontext): Remove setting uc_flags field.
15124         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
15125         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
15126         Remove fields uc_high_gprs and __reserved.
15127         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
15128         New file with reverted content.
15129         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
15130         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
15131         Regenerated.
15132         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
15133         Regenerated.
15135 2014-07-31  Andreas Schwab  <schwab@suse.de>
15137         * config.h.in (HAVE_IFUNC): Define to 0.
15138         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
15139         definedness.
15141 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
15143         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15144         memmove-avx-unaligned, memcpy-avx-unaligned and
15145         mempcpy-avx-unaligned.
15146         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15147         Add tests for AVX memcpy functions.
15148         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
15149         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
15150         memcpy_chk.
15151         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
15152         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
15153         memmove_chk.
15154         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
15155         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
15156         mempcpy_chk.
15157         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
15158         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
15159         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
15161 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15163         [BZ #17213]
15164         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
15165         powerpc64le.
15167 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
15169         [BZ #16839]
15170         * manual/llio.texi: Add section about open file description locks.
15171         * manual/examples/ofdlocks.c: Example of open file description
15172         lock usage.
15173         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
15174         F_OFD_SETLK, and F_OFD_SETLKW.
15176 2014-07-23  Allan McRae  <allan@archlinux.org>
15178         * po/es.po: Update Spanish translation from translation project.
15180 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
15182         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
15184 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
15186         [BZ #17078]
15187         * sysdeps/arm/dl-machine.h (elf_machine_rela)
15188         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
15189         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
15191 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
15193         [BZ #17088]
15194         * math/fesetenv.c (__fesetenv)
15195         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
15196         * math/feupdateenv.c (__feupdateenv)
15197         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
15199         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
15200         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15201         (__ASSUME_SOCKETCALL): Do not define.
15203         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
15204         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
15205         (__ASSUME_SOCKETCALL): Do not define.
15206         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
15207         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15208         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15209         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15210         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15211         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
15212         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15213         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15215         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
15216         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
15217         (__ASSUME_SOCKETCALL): Do not define.
15218         (__ASSUME_IPC64): Define unconditionally.
15219         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15220         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15221         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15222         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15223         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
15224         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15225         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
15226         Likewise.
15228         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
15229         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
15230         (__ASSUME_SOCKETCALL): Do not define.
15231         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
15232         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15233         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15234         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15235         (__ASSUME_REQUEUE_PI): Define unconditionally.
15236         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
15237         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15238         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15239         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
15240         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15241         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15243         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
15244         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
15245         (__ASSUME_SOCKETCALL): Do not define.
15246         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
15247         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15248         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15249         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
15250         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15251         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15253         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
15254         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
15255         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15256         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
15257         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15258         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
15259         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15260         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
15261         (__ASSUME_GETCPU_SYSCALL): Likewise.
15263         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
15264         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
15265         cases for individual architectures.
15266         * sysdeps/gnu/configure: Regenerated.
15267         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
15268         LIBC_SLIBDIR_RTLDDIR.
15269         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
15270         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
15271         LIBC_SLIBDIR_RTLDDIR.
15272         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
15273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
15274         LIBC_SLIBDIR_RTLDDIR.
15275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15276         Regenerated.
15277         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
15278         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
15279         file.
15280         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
15281         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
15282         file.
15283         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
15284         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
15285         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
15286         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
15288         * sysdeps/aarch64/shlib-versions: Move to ...
15289         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
15290         * sysdeps/alpha/shlib-versions: Move to ...
15291         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
15292         * sysdeps/arm/shlib-versions: Move to ...
15293         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
15294         * sysdeps/hppa/shlib-versions: Move all contents except for
15295         libgcc_s entry to ...
15296         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
15297         entry from ...
15298         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
15299         * sysdeps/ia64/shlib-versions: Move to ...
15300         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
15301         entry from ...
15302         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
15303         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
15304         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
15305         * sysdeps/microblaze/shlib-versions: Move to ...
15306         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
15307         * sysdeps/mips/shlib-versions: Move to ...
15308         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
15309         entry from ...
15310         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
15311         * sysdeps/tile/shlib-versions: Move to ...
15312         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
15313         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
15314         from ...
15315         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
15316         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
15317         entry from ...
15318         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
15320 2014-07-17  Will Newton  <will.newton@linaro.org>
15322         * sysdeps/arm/bits/atomic.h
15323         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
15324         (__arch_compare_and_exchange_bool_16_int): Likewise.
15325         (__arch_compare_and_exchange_bool_64_int): Likewise.
15327         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
15328         into an #else block.
15330 2014-07-16  Roland McGrath  <roland@hack.frob.com>
15332         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
15333         just Linux configurations.  Test empirically that the compiler sets
15334         __ARM_EABI__, rather than using the tuple to decide.
15335         * sysdeps/arm/preconfigure: Regenerated.
15336         * sysdeps/unix/sysv/linux/arm/configure: File removed.
15337         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
15338         contents appended ...
15339         * sysdeps/arm/configure.ac: ... here.
15340         * sysdeps/arm/configure: Regenerated.
15342 2014-07-15  Roland McGrath  <roland@hack.frob.com>
15344         * nptl/pthread_kill.c: New file.
15345         * nptl/pthread_sigmask.c: New file.
15346         * nptl/pthread_sigqueue.c: New file.
15348         * sysdeps/nptl/lowlevellock.h: New file.
15349         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
15350         * sysdeps/nptl/lowlevellock-futex.h: New file.
15352         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
15353         Remove dead declarations.
15355 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
15357         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
15358         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
15359         config-cflags-avx2.
15360         * sysdeps/x86_64/configure.ac: Likewise.
15361         * sysdeps/i386/configure: Regenerated.
15362         * sysdeps/x86_64/configure: Likewise.
15363         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15364         memset-avx2 only if config-cflags-avx2 is yes.
15365         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15366         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
15367         defined.
15368         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
15369         only if HAVE_AVX2_SUPPORT is defined.
15370         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15372 2014-07-14  Alan Modra  <amodra@gmail.com>
15374         [BZ #17153]
15375         * elf/elf.h (DT_PPC64_NUM): Correct value.
15376         * NEWS: Add to fixed bug list.
15378 2014-07-13  Jim Meyering  <meyering@fb.com>
15380         [BZ 17150]
15381         regex: don't deref NULL upon heap allocation failure
15382         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
15383         failure in one more place.
15384         To trigger the segfault, configure grep -with-included-regex,
15385         build it, and run these commands:
15386         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
15388 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
15390         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15392 2014-07-11  Richard Henderson  <rth@redhat.com>
15394         * sysdeps/aarch64/libm-test-ulps: Update.
15396 2014-07-10  Florian Weimer  <fweimer@redhat.com>
15398         [BZ #17135]
15399         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
15400         * nptl/allocatestack.c (__nptl_setxid_error): New function.
15401         (__nptl_setxid): Initialize error member.  Call
15402         __nptl_setxid_error.
15403         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
15404         * nptl/descr.h (struct xid_command): Add error member.
15405         * nptl/tst-setuid3.c: New file.
15406         * nptl/Makefile (tests): Add it.
15408 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15410         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
15411         New define.
15412         (__lll_trylock): Use __lll_base_trylock.
15413         (__lll_cond_trylock): Likewise.
15415 2014-07-10  Roland McGrath  <roland@hack.frob.com>
15417         * nptl/pthread_create.c (start_thread): Use atomic_or and
15418         lll_futex_wake directly rather than lll_robust_dead.
15419         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15420         (lll_robust_dead): Macro removed.
15421         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
15422         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15423         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15424         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15425         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15426         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15427         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15428         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15429         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15430         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15431         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15432         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15433         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15434         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15435         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15437         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
15438         Use atomic_compare_and_exchange_val_acq directly rather than
15439         lll_robust_trylock.
15440         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15441         (__lll_robust_trylock, lll_robust_trylock): Removed.
15442         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15443         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15444         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15445         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15446         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15447         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15448         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15449         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15450         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15451         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15452         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15453         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15454         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15455         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15457 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15459         * manual/locale.texi (Locale Names): New section documenting
15460         locale name syntax.  Adjust menu and node chaining accordingly.
15461         (Choosing Locale): Reference Locale Names, Locale Categories.
15462         Mention setting LC_ALL=C.  Reflect that name syntax is now
15463         documented.
15464         (Locale Categories): New section title.  Reference Locale Names.
15465         LC_ALL is an environment variable, but not a category.
15466         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
15467         description, now in Locale Name.  Reference that section.  Locale
15468         name syntax is now documented.
15470 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15472         [BZ #17137]
15473         * locale/findlocale.c (name_present, valid_locale_name): New
15474         functions.
15475         (_nl_find_locale): Use the loc_name variable to store name
15476         candidates.  Call name_present and valid_locale_name to check and
15477         validate locale names.  Return an error if the locale is invalid.
15479 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15481         * locale/setlocale.c (setlocale): Use strdup for allocating
15482         composite name copy.
15484 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15486         Sync up with gnulib.
15487         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
15488         [!_LIBC && ENABLE_NLS]: Include gettext.h.
15489         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
15490         and _GL_ARG_NONNULL.
15491         [USE_UNLOCKED_IO]: Include unlocked-io.h.
15492         [!_LIBC]: Include code for Windows and Cygwin.
15493         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
15494         Include prototype for int strerror_r.
15495         [!_LIBC] (is_open): New function.
15496         (flush_stdout): New function.
15497         (print_errno_message): Use it.
15498         (error): Likewise.
15499         (error_at_line): Likewise.
15500         (error_tail) Add function attribute macros.  Use
15501         __builtin_expect.
15503         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
15505         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
15507         * io/ftw.c: Include sys/param.h unconditionally.
15509         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
15511         [BZ #17125]
15512         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
15513         libc_freeres_ptr.
15514         (freecache): New function to free CACHE on exit.
15516         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
15517         initialization.
15519 2014-07-09  David S. Miller  <davem@davemloft.net>
15521         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15523         * sysdeps/sparc/nptl/internaltypes.h: Delete.
15524         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
15525         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
15526         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
15527         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
15528         * sysdeps/sparc/nptl/sem_init.c: Likewise.
15529         * sysdeps/sparc/nptl/sem_post.c: Likewise.
15530         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
15531         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
15532         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
15533         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
15534         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
15535         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
15537 2014-07-09  Andreas Schwab  <schwab@suse.de>
15539         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
15540         output.
15541         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
15542         (do_test): Likewise.
15544         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15546 2014-07-09  Will Newton  <will.newton@linaro.org>
15548         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
15549         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
15550         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
15551         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
15552         * sysdeps/hppa/start.S (_start): Likewise.
15554 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15556         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
15558         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
15559         defined.
15561 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15563         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
15564         after checking that it is non-NULL.
15566         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
15568 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15570         * sysdeps/powerpc/memmove.c: Remove file.
15571         * sysdeps/powerpc/powerpc32/power4/memcopy.h
15572         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
15573         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15574         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
15575         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
15576         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
15577         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
15578         string memmove instead of removed powerpc one.
15580         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15581         [weak_alias]: Fix compiler warning due trailing data.
15582         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
15583         [weak_alias]: Likewise.
15584         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
15585         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
15587         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15588         (__libc_ifunc_impl_list): Add memmove functions.
15590 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15592         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
15593         Remove code.
15594         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
15595         Likewise
15596         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
15597         Likewise
15598         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
15599         Likewise
15600         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
15601         Likewise
15602         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
15603         Likewise
15604         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
15605         Likewise
15606         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
15607         Likewise
15608         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
15609         Likewise
15610         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
15611         Likewise
15612         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
15613         Likewise
15614         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
15615         Likewise
15616         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
15617         Likewise
15618         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
15619         Likewise
15620         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
15621         Likewise
15622         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
15623         Likewise
15624         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
15625         Likewise
15627 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15629         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
15630         to avoid alignment traps in non-cacheable memory.
15631         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15633         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
15634         multiarch objects.
15635         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
15636         file: multiarch power7 memmove.
15637         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
15638         multiarch default memmove.
15639         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
15640         multiarch memove for powerpc32/power4.
15642         * string/bcopy.c: Use full path to include memmove.c.
15643         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
15644         multiarch objects.
15645         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
15646         bcopy for powerpc64.
15647         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
15648         bcopy for powerpc64.
15649         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
15650         and memmove implementations.
15651         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
15652         optimized multiarch memmove for POWER7/powerpc64.
15653         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
15654         default multiarch memmove for powerpc64.
15655         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
15656         multiarch for powerpc64.
15657         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
15658         for POWER7/powerpc64.
15659         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
15660         memmove for POWER7/powerpc64.
15662         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
15663         glibc default one.
15665         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
15666         __ELF_NATIVE_CLASS equal to 64.
15668 2014-07-07  Roland McGrath  <roland@hack.frob.com>
15670         * sysdeps/nptl/lowlevellock.h: File removed.
15672         * NEWS: NPTL is no longer an add-on!
15673         * nptl/internaltypes.h: Moved ...
15674         * sysdeps/nptl/internaltypes.h: ... here.
15675         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
15676         * sysdeps/nptl/fork.c: Likewise.
15677         * sysdeps/nptl/gai_misc.h: Likewise.
15678         * sysdeps/nptl/librt-cancellation.c: Likewise.
15679         * sysdeps/nptl/jmp-unwind.c: Likewise.
15680         * sysdeps/nptl/setxid.h: Likewise.
15681         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
15682         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
15683         * sysdeps/unix/sysv/linux/arm/Implies: New file.
15684         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
15685         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
15686         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
15687         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
15688         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
15689         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
15690         * sysdeps/unix/sysv/linux/mips/Implies: New file.
15691         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
15692         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
15693         * sysdeps/unix/sysv/linux/sh/Implies: New file.
15694         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
15695         * sysdeps/unix/sysv/linux/tile/Implies: New file.
15696         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
15697         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
15698         * nptl/Makeconfig: Moved ...
15699         * sysdeps/nptl/Makeconfig: ... here.
15700         * nptl/configure: File removed.
15701         * nptl/ANNOUNCE: File removed.
15702         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
15703         * sysdeps/unix/sysv/linux/configure: Regenerated.
15705         * nptl/Makefile (routines): Add libc_pthread_init,
15706         libc_multiple_threads, register-atfork and unregister-atfork.
15707         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
15708         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
15709         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
15710         pthread-pi-defines.sym, structsem.sym.
15711         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
15712         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
15713         [$(subdir) = nptl] (tests): Add tst-setgetname.
15714         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
15715         * sysdeps/unix/sysv/linux/sigaction.c: Just include
15716         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
15717         [!LIBC_SIGACTION]: Remove aliases.
15718         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15719         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15720         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15721         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
15722         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15723         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15724         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15725         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15726         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15727         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15728         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15729         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15730         __libc_allocate_rtsig_private.
15731         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15732         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15733         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15734         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15735         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15736         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15737         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15738         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15739         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15740         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15741         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15742         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15743         * nptl/internaltypes.h: ... here.
15744         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15745         * sysdeps/nptl/jmp-unwind.c: ... here.
15746         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15747         * nptl/libc-lowlevellock.c: ... here.
15748         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15749         * nptl/libc_multiple_threads.c: ... here.
15750         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15751         * nptl/libc_pthread_init.c: ... here.
15752         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15753         * nptl/lowlevelbarrier.sym: ... here.
15754         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15755         * nptl/lowlevelcond.sym: ... here.
15756         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15757         * nptl/lowlevellock.c: ... here.
15758         * nptl/lowlevellock.h: Moved ...
15759         * sysdeps/nptl/lowlevellock.h: ... here.
15760         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15761         * nptl/lowlevelrobustlock.c: ... here.
15762         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15763         * nptl/lowlevelrobustlock.sym: ... here.
15764         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15765         * nptl/lowlevelrwlock.sym: ... here.
15766         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15767         * nptl/pt-fork.c: ... here.
15768         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15769         * nptl/pthread-pi-defines.sym: ... here.
15770         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15771         * nptl/pthread_attr_getaffinity.c: ... here.
15772         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15773         * nptl/pthread_attr_setaffinity.c: ... here.
15774         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15775         * nptl/pthread_mutex_cond_lock.c: ... here.
15776         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15777         Update #include.
15778         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15779         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15780         * nptl/pthread_once.c: ... here, replacing old file.
15781         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15782         * nptl/pthread_yield.c: ... here.
15783         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15784         * nptl/register-atfork.c: ... here.
15785         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15786         * nptl/sem_post.c: ... here.
15787         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15788         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15789         * nptl/sem_timedwait.c: ... here.
15790         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15791         * nptl/sem_trywait.c: ... here.
15792         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15793         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15794         * nptl/sem_wait.c: ... here.
15795         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15796         * nptl/structsem.sym: ... here.
15797         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15798         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15799         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15800         * nptl/unregister-atfork.c: ... here.
15801         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15802         * nptl/unwindbuf.sym: ... here.
15803         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15804         * sysdeps/nptl/fork.c: ... here.
15805         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15806         * sysdeps/nptl/fork.h: ... here.
15807         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15808         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15809         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15810         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15811         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15812         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15813         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15814         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15815         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15816         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15817         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15818         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15819         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15820         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15821         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15822         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15823         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15824         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15825         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15826         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15827         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15828         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15829         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15830         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15831         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15832         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15833         * sysdeps/unix/sysv/linux/raise.c: ... here.
15834         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15835         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15836         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15837         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15838         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15839         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15840         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15841         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15842         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15843         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15844         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15845         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15846         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15847         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15848         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15850 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15852         * sysdeps/generic/memcopy.h: Add comment for
15853         MEMCPY_OK_FOR_FWD_MEMMOVE.
15855 2014-07-04  Will Newton  <will.newton@linaro.org>
15857         * string/memchr.c: Merge from gnulib.
15858         [_LIBC]: Remove conditionals.
15859         (__ptr_t): Remove define.
15860         (LONG_MAX_32_BITS): Likewise.
15861         (LONG_MAX): Likewise.
15862         (MEMCHR): Use ANSI prototype and optimize algorithm.
15864         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15866 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15868         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15869         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15871         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15872         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15873         in a bare environment with no <stdlib.h> installed.
15874         * sysdeps/nptl/configure: Regenerated.
15876         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15878         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15879         AC_EGREP_CPP for kernel header checks, so they only succeed if
15880         including <linux/version.h> actually works right.
15881         * sysdeps/unix/sysv/linux/configure: Regenerated.
15883         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15884         value so it's not diagnosed as unused.
15886         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15887         thing) with "ifeq ($(subdir),rt)".
15889 2014-07-03  Richard Henderson  <rth@redhat.com>
15891         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15892         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15893         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15895         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15896         (math_force_eval): New.
15898         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15899         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15901         * sysdeps/alpha/fpu/s_round.c: Remove file.
15902         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15904         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15905         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15906         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15907         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15908         (_dl_start, print_statistics): Likewise.
15909         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15910         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15912         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15913         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15914         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15915         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15916         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15917         (HP_SMALL_TIMING_AVAIL): Define.
15918         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15919         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15920         (HP_SMALL_TIMING_AVAIL): Define.
15921         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15922         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15924         * sysdeps/aarch64/hp-timing.h: New file.
15926         * sysdeps/generic/hp-timing.h: Remove dead comment.
15927         * sysdeps/generic/hp-timing-common.h: New file.
15928         * sysdeps/alpha/hp-timing.h: Include it.
15929         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15930         * sysdeps/i386/i686/hp-timing.h: Likewise.
15931         * sysdeps/ia64/hp-timing.h: Likewise.
15932         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15933         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15934         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15935         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15936         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15937         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15938         (hp_timing_t): New.
15940         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15941         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15942         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15943         * elf/rtld.c (_dl_start_final): Likewise.
15944         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15945         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15946         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15947         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15948         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15949         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15950         (HP_TIMING_DIFF_INIT): Remove.
15951         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15952         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15953         (HP_TIMING_DIFF_INIT): Remove.
15954         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15955         * sysdeps/i386/i686/hp-timing.c: Remove file.
15956         * sysdeps/x86_64/hp-timing.c: Remove file.
15957         * sysdeps/ia64/hp-timing.c: Remove file.
15958         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15959         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15960         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15961         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15963         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15964         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15965         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15966         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15967         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15968         (HP_TIMING_ACCUM): Remove.
15969         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15970         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15971         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15973         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15974         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15975         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15976         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15977         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15978         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15979         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15980         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15982         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15984 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15986         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15988 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15990         Sync up with gettext.
15991         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15992         [_MSC_VER]: Include malloc.h
15993         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15994         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15995         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15996         TEMP_FAILURE_RETRY.  Cast return of alloca.
15997         [!_LIBC] Call gl_rwlock_init.
15998         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
16000 2014-07-02  Roland McGrath  <roland@hack.frob.com>
16002         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
16003         before checking its value.
16005 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16007         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
16009         * debug/memcpy_chk.c: Don't include pagecopy.h.
16010         * debug/mempcpy_chk.c: Likewise.
16011         * string/memcpy.c: Likewise.
16012         * string/memmove.c: Likewise.
16013         * sysdeps/powerpc/memmove.c: Likewise.
16014         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
16015         definition of PAGE_COPY_FWD_MAYBE here...
16016         * sysdeps/generic/pagecopy.h: ... from here.
16017         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
16019 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16020             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16022         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
16023         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
16024         optimizations.
16025         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16026         (__libc_ifunc_impl_list): Likewise.
16027         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
16028         multiarch strcat for PPC64.
16029         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
16030         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
16032 2014-07-02  Roland McGrath  <roland@hack.frob.com>
16034         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
16036 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16038         * intl/loadmsgcat.c: Remove declaration of
16039         get_sysdep_segment_value.
16040         (get_sysdep_segment_value): Use ISO C style.
16041         (_nl_load_domain): Use ISO C style.  Get rid of redundant
16042         semicolon.  Fix typo and formatting in comment.
16043         (_nl_unload_domain): Use ISO C style.
16045         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
16047 2014-07-02  Will Newton  <will.newton@linaro.org>
16049         * malloc/obstack.c: Merge from gnulib master.
16050         [HAVE_CONFIG_H]: Remove conditional code.
16051         [!_LIBC]: Include config.h.
16052         [!ELIDE_CODE]: Don't include inttypes.h, include
16053         stdint.h unconditionally.
16054         (print_and_abort): Mark as _Noreturn.
16055         (_obstack_allocated_p): Mark as __attribute_pure__.
16056         (obstack_free): Rename to __obstack_free.
16057         [!__attribute__]: Remove conditional code.
16058         * malloc/obstack.h: Merge from gnulib master.
16059         [__cplusplus]: Move conditional down.
16060         [!__attribute_pure__]: Define __attribute_pure__ here
16061         if it is not already defined.
16062         (_obstack_memory_used): Mark as __attribute_pure__.
16063         [!__obstack_free]: Define as obstack_free.
16064         [__GNUC__]: Remove check for ancient NeXT gcc.
16066 2014-07-02  Will Newton  <will.newton@linaro.org>
16067             Paul Eggert  <eggert@cs.ucla.edu>
16069         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
16071 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16073         * resolv/gethnamaddr.c: Add comment warning that the file is
16074         not maintained.
16076 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
16078         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
16079         entries.
16081         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
16082         entry for aio_cancel and aio_cancel64.
16083         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
16084         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
16085         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
16086         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
16087         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
16088         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
16089         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
16090         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
16091         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
16092         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
16093         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
16094         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
16095         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
16097 2014-07-01  Roland McGrath  <roland@hack.frob.com>
16099         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
16100         * nptl/pthread_mutex_lock.c: Likewise.
16101         * nptl/pthread_mutex_timedlock.c: Likewise.
16102         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
16104 2014-07-01  Richard henderson  <rth@redhat.com>
16106         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
16107         (__isnan, __isnanl): Remove.
16108         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
16110         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16112 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
16114         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16116 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16118         * resolv/nss_dns/dns-host.c (getanswer_r)
16119         [MULTI_PTRS_ARE_ALIASES]: Remove code.
16121 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
16123         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16124         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
16125         undefine.
16126         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
16127         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
16129 2014-07-01  Roland McGrath <roland@hack.frob.com>
16131         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
16132         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
16134         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
16135         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
16137         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
16138         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
16139         ... here.
16140         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
16141         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
16143         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
16144         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
16145         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
16146         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
16148         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
16149         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
16150         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
16151         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
16152         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
16153         Moved ...
16154         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
16155         ... here.
16156         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
16157         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
16158         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
16159         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
16160         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
16161         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
16162         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
16163         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
16164         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
16165         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
16166         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
16167         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
16168         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
16169         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
16170         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
16171         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
16172         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
16173         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
16174         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
16175         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
16176         ... here.
16177         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
16178         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
16179         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
16180         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
16181         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
16182         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
16183         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
16184         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
16186 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
16188         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
16189         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
16190         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
16191         Add sysdep.
16193 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16197 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16199         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16200         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16202         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16204         * sysdeps/arm/libm-test-ulps: Regenerated.
16206 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16207             Roland McGrath <roland@hack.frob.com>
16209         * test-skeleton.c (signal_handler): Kill the whole process group
16210         before killing the child individually.
16211         (main): Report any failure on `setpgid'.
16213 2014-06-30  Roland McGrath  <roland@hack.frob.com>
16215         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
16216         from _TLS_H to _ARM_NPTL_TLS_H.
16217         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
16218         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
16220 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16222         [BZ #16539]
16223         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
16224         (__expm1l): Return argument unchanged when small but not
16225         subnormal.
16227         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
16228         include macro name.
16229         (_FP_UNPACK_RAW_1_P): Likewise.
16230         (_FP_PACK_RAW_1): Likewise.
16231         (_FP_PACK_RAW_1_P): Likewise.
16232         (_FP_MUL_MEAT_1_wide): Likewise.
16233         (_FP_MUL_MEAT_DW_1_hard): Likewise.
16234         (_FP_MUL_MEAT_1_hard): Likewise.
16235         (_FP_DIV_MEAT_1_imm): Likewise.
16236         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
16237         (_FP_DIV_MEAT_1_udiv): Likewise.
16238         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
16239         (_FP_UNPACK_RAW_2): Likewise.
16240         (_FP_UNPACK_RAW_2_P): Likewise.
16241         (_FP_PACK_RAW_2): Likewise.
16242         (_FP_PACK_RAW_2_P): Likewise.
16243         (_FP_MUL_MEAT_DW_2_wide): Likewise.
16244         (_FP_MUL_MEAT_2_wide): Likewise.
16245         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
16246         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16247         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
16248         (_FP_MUL_MEAT_2_gmp): Likewise.
16249         (_FP_DIV_MEAT_2_udiv): Likewise.
16250         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
16251         (_FP_FRAC_SRL_4): Likewise.
16252         (_FP_FRAC_SRST_4): Likewise.
16253         (_FP_FRAC_SRS_4): Likewise.
16254         (_FP_UNPACK_RAW_4): Likewise.
16255         (_FP_UNPACK_RAW_4_P): Likewise.
16256         (_FP_PACK_RAW_4): Likewise.
16257         (_FP_PACK_RAW_4_P): Likewise.
16258         (_FP_MUL_MEAT_DW_4_wide): Likewise.
16259         (_FP_MUL_MEAT_4_wide): Likewise.
16260         (_FP_MUL_MEAT_4_gmp): Likewise.
16261         (umul_ppppmnnn): Likewise.
16262         (_FP_DIV_MEAT_4_udiv): Likewise.
16263         (__FP_FRAC_ADD_4): Likewise.
16264         (__FP_FRAC_SUB_3): Likewise.
16265         (__FP_FRAC_SUB_4): Likewise.
16266         (__FP_FRAC_DEC_3): Likewise.
16267         (__FP_FRAC_DEC_4): Likewise.
16268         (__FP_FRAC_ADDI_4): Likewise.
16269         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
16270         (_FP_FRAC_SRL_8): Likewise.
16271         (_FP_FRAC_SRS_8): Likewise.
16273         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
16274         include macro name.
16275         (FP_UNPACK_RAW_EP): Likewise.
16276         (FP_PACK_RAW_E): Likewise.
16277         (FP_PACK_RAW_EP): Likewise.
16278         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
16279         (_FP_ISSIGNAN): Likewise.
16280         (_FP_ADD_INTERNAL): Likewise.
16281         (_FP_FMA): Likewise.
16282         (_FP_CMP): Likewise.
16283         (_FP_SQRT): Likewise.
16284         (_FP_TO_INT): Likewise.
16285         (_FP_FROM_INT): Likewise.
16286         (FP_EXTEND): Likewise.
16287         (_FP_DIV_MEAT_N_loop): Likewise.
16289 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16291         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
16292         throughout.
16294 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
16296         [BZ #17097]
16297         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
16298         result with correct sign in case of exponents that produce
16299         overflow except for X very close to 1.
16301 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
16303         mktime: merge #if/#ifdef usage from glibc
16304         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
16305         as that works with both Glibc's and Gnulib's style.
16306         See thread starting at Siddhesh Poyarekar's bug report at:
16307         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
16309 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16311         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
16312         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
16313         * sysdeps/tile/tilegx/memmove.c: Remove file.
16315 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16317         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
16318         abi-name definition.
16319         * scripts/soversions.awk: Do not handle or generate ABI lines.
16320         * shlib-versions: Remove ABI entries.
16321         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
16322         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
16324 2014-06-27  Roland McGrath  <roland@hack.frob.com>
16326         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
16327         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
16328         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
16329         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
16330         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
16331         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
16332         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
16333         Moved ...
16334         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16335         ... here.
16336         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
16337         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
16338         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
16339         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
16340         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
16341         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
16342         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
16343         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
16344         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
16345         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
16346         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
16347         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
16348         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
16349         Moved ...
16350         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
16351         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
16352         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
16353         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
16354         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
16355         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
16356         Moved ...
16357         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
16358         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
16359         Moved ...
16360         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
16361         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
16362         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
16363         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
16364         Moved ...
16365         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
16366         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
16367         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
16368         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
16369         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
16370         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
16371         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
16372         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
16373         Moved ...
16374         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
16375         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
16376         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
16377         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
16378         Moved ...
16379         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
16380         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
16381         Moved ...
16382         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
16383         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
16384         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
16385         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
16386         Moved ...
16387         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16388         ... here.
16389         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
16390         Identical file removed.
16391         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
16392         Moved ...
16393         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
16394         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
16395         Identical file removed.
16396         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
16397         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
16398         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
16399         Moved ...
16400         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
16401         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
16402         Identical file removed.
16403         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
16404         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
16405         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
16406         Identical file removed.
16407         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
16408         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
16409         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
16410         Identical file removed.
16411         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
16412         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
16413         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
16414         Identical file removed.
16415         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
16416         Moved ...
16417         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
16418         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
16419         Identical file removed.
16420         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
16421         Moved ...
16422         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
16423         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
16424         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
16425         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
16426         Identical file removed.
16427         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
16428         Moved ...
16429         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
16430         ... here.
16431         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
16432         Identical file removed.
16433         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
16434         Moved ...
16435         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
16436         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
16437         Identical file removed.
16438         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
16439         Moved ...
16440         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
16441         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
16442         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
16443         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
16444         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
16445         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
16446         Moved ...
16447         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
16448         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
16449         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
16451         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
16452         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
16453         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
16454         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
16455         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
16457 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
16459         [BZ #17092]
16460         * nscd/nscd.c (monitor_child): Return exit status of child
16461         instead of return value from wait syscall.
16463 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16465         * configure.ac (libc_commonpagesize): Remove variable.
16466         (libc_relro_required): Likewise.
16467         (libc_cv_z_relro): Remove configure test.
16468         * configure: Regenerated.
16469         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
16470         variable.
16471         (libc_relro_required): Likewise.
16472         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
16473         (libc_relro_required): Likewise.
16474         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
16475         (libc_relro_required): Likewise.
16476         * sysdeps/arm/preconfigure: Regenerated.
16477         * sysdeps/ia64/preconfigure: Remove file.
16478         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
16479         variable.
16480         (libc_relro_required): Likewise.
16482         [BZ #16561]
16483         [BZ #16562]
16484         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
16485         (__ieee754_yn): Set FE_TONEAREST mode internally and then
16486         recompute overflowing results in original rounding mode.
16487         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
16488         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
16489         recompute overflowing results in original rounding mode.
16490         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
16491         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16492         recompute overflowing results in original rounding mode.
16493         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
16494         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16495         recompute overflowing results in original rounding mode.
16496         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
16497         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16498         recompute overflowing results in original rounding mode.
16499         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
16500         (libc_feholdsetround_ctx): New macro.
16501         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
16502         * sysdeps/i386/fpu/libm-test-ulps: Update.
16503         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
16505 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16507         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
16508         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
16509         corresponding .cpsetup call.
16511 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16513         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
16514         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
16515         * sysdeps/arm/Makefile [$(subdir) = csu]
16516         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
16517         (static-only-routines): Add aeabi_read_tp here.
16518         (shared-only-routines): Add libc-aeabi_read_tp here.
16519         (CFLAGS-libc-start.c): Add -fexceptions here.
16520         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
16521         (sysdep_routines, static-only-routines, shared-only-routines):
16522         Don't add to these here.
16523         (CFLAGS-libc-start.c): Likewise.
16525         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
16526         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16527         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
16528         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16529         * sysdeps/arm/Makefile [$(subdir) = rt]
16530         (librt-sysdep_routines, librt-shared-only-routines):
16531         Append rt-aeabi_unwind_cpp_pr1 here.
16532         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
16533         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
16534         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
16535         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16536         Append nptl-aeabi_unwind_cpp_pr1 here.
16537         (tests): Filter out tst-cleanupx4 here.
16538         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
16539         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
16540         Don't do those here.
16542 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16544         * scripts/list-sources.sh: Do not handle ports specially.
16546 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16548         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
16549         * sysdeps/arm/feupdateenv.c: Likewise.
16551         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
16553 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16555         * manual/texinfo.tex: Update to version 2014-05-05.10 with
16556         trailing whitespace removed.
16557         * scripts/config.guess: Update to version 2014-03-23.
16558         * scripts/config.sub: Update to version 2014-05-01
16559         * scripts/install-sh: Update to version 2013-12-25.23.
16560         * scripts/move-if-change: Update from gnulib.
16562 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16564         * debug/memmove_chk.c: Remove pagecopy.h include.
16566 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
16568         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
16569         identical to gnulib mktime.
16571 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16573         * configure.ac: Do not test for machine being rs6000.  Do not test
16574         for powerpc*-*soft.
16575         * configure: Regenerated.
16577         [BZ #11505]
16578         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
16579         test.
16580         * configure: Regenerated.
16581         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
16582         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
16583         Remove configure test.
16584         * sysdeps/arm/configure: Regenerated.
16585         * sysdeps/nptl/configure.ac: Do not check
16586         libc_cv_asm_cfi_directives.
16587         * sysdeps/nptl/configure: Regenerated.
16588         * sysdeps/x86_64/nptl/configure.ac: Remove file.
16589         * sysdeps/x86_64/nptl/configure: Remove generated file.
16590         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
16591         unconditional.
16592         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
16594 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16596         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
16597         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
16598         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
16599         it is defined.
16601         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
16602         instead of whether it is defined.
16603         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
16604         * sysdeps/hppa/dl-machine.h: Likewise.
16605         * sysdeps/ia64/dl-machine.h: Likewise.
16606         * sysdeps/m68k/dl-machine.h: Likewise.
16607         * sysdeps/microblaze/dl-machine.h: Likewise.
16608         * sysdeps/mips/dl-machine.: Likewise.
16609         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16610         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16611         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16612         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16613         * sysdeps/sh/dl-machine.h: Likewise.
16614         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16615         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16616         * sysdeps/tile/dl-machine.h: Likewise.
16617         * sysdeps/x86_64/dl-machine.h: Likewise.
16619         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
16620         code.
16621         (verify_persistent_db): Likewise.
16623 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
16626         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
16627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
16628         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
16629         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16630         Moved ...
16631         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16632         ... here.
16633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
16634         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
16635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
16636         Identical file removed.
16637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
16638         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
16639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
16640         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
16641         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
16642         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
16643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
16644         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
16645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
16646         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
16647         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16648         Moved ...
16649         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
16650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
16651         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
16652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
16653         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
16654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16655         Moved ...
16656         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
16657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
16658         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
16659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
16660         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
16661         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16662         Identical file removed.
16663         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
16664         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
16665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
16666         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
16667         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16668         Moved ...
16669         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16670         ... here.
16671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
16672         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
16673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
16674         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
16675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
16676         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
16677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
16678         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
16679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
16680         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
16681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16682         Moved ...
16683         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
16684         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
16685         Moved ...
16686         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
16687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
16688         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
16689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16690         Moved ...
16691         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
16692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
16693         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
16695         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
16696         folded into ...
16697         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
16698         * sysdeps/unix/sysv/linux/s390/Versions
16699         (libpthread: GLIBC_2.19): New version set.
16700         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
16701         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
16702         (librt: GLIBC_2.3.3): New version set.
16703         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
16704         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
16705         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
16706         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
16707         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
16708         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
16709         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
16710         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
16711         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
16712         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
16713         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
16714         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
16715         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
16716         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
16717         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
16718         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
16719         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
16720         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
16721         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
16722         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16723         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16724         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16725         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16726         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16727         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16728         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16729         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16730         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16731         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16732         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16733         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16734         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16735         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16736         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16737         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16738         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16739         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16740         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16741         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16742         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16743         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16744         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16745         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16746         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16747         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16749         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16750         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16751         (__libc_vfork): Define the function under this name.
16752         [!NOT_IN_libc] (__vfork): Make this an alias.
16753         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16754         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16755         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16756         (__libc_vfork): Define the function under this name.
16757         [!NOT_IN_libc] (__vfork): Make this an alias.
16758         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16759         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16760         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16761         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16762         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16763         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16765         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16766         code that was previously under [RESET_PID].
16767         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16768         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16769         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16771         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16772         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16773         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16774         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16775         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16776         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16777         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16778         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16779         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16780         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16781         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16782         Moved ...
16783         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16784         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16785         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16786         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16787         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16788         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16789         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16790         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16791         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16792         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16793         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16794         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16795         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16796         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16797         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16798         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16799         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16800         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16801         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16802         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16803         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16804         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16805         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16806         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16807         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16808         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16809         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16810         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16811         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16813 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16815         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16816         that was previously under [RESET_PID].
16817         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16819 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16821         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16822         not undefine and redefine.
16823         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16824         [O_CLOEXEC]: Make code unconditional.
16825         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16826         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16827         <kernel-features.h>.
16828         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16829         conditional variable definition.
16830         (shm_open) [O_CLOEXEC]: Make code unconditional.
16831         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16832         code.
16834         * configure.ac (USE_REGPARMS): Don't define here.
16835         * configure: Regenerated.
16836         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16837         * sysdeps/i386/configure: Regenerated.
16839         * nptl/createthread.c: Don't include kernel-features.h.
16840         * nptl/pthread_cancel.c: Likewise.
16841         * nptl/pthread_condattr_setclock.c: Likewise.
16842         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16843         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16844         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16845         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16846         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16847         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16848         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16849         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16850         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16851         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16852         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16853         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16854         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16855         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16856         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16857         * nscd/gai.c: Likewise.
16858         * nss/nss_db/db-open.c: Likewise.
16859         * sysdeps/generic/ldsodefs.h: Likewise.
16860         * sysdeps/sh/nptl/tls.h: Likewise.
16861         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16862         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16863         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16864         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16865         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16866         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16867         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16868         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16869         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16870         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16871         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16872         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16873         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16874         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16875         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16876         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16877         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16878         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16879         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16880         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16881         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16882         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16883         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16884         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16885         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16886         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16887         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16888         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16889         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16890         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16891         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16892         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16893         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16894         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16895         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16896         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16897         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16898         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16899         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16900         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16901         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16902         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16903         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16904         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16905         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16906         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16907         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16908         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16909         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16910         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16911         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16912         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16913         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16914         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16915         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16916         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16917         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16918         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16941         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16942         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16943         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16944         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16945         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16946         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16947         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16948         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16949         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16950         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16951         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16952         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16953         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16954         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16955         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16956         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16957         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16958         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16959         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16960         * sysdeps/unix/sysv/linux/system.c: Likewise.
16961         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16962         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16963         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16964         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16965         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16966         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16967         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16969         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16970         * configure: Regenerated.
16971         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16973         * configure.ac (base_machine): Do not set specially for particular
16974         machines here.
16975         * configure: Regenerated.
16976         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16977         settings from configure.ac.
16978         * sysdeps/i386/preconfigure: New file.
16979         * sysdeps/s390/preconfigure: Likewise.
16980         * sysdeps/sh/preconfigure: Likewise.
16981         * sysdeps/sparc/preconfigure: Likewise.
16983 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16985         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16986         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16987         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16988         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16989         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16990         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16991         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16992         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16993         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16994         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16995         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16996         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16997         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16998         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16999         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
17000         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
17001         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
17002         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
17003         * sysdeps/sparc/sparc64/Makefile: ... appended here.
17005         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
17006         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
17007         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
17008         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
17009         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
17010         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
17011         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
17012         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
17013         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
17014         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
17015         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
17016         * sysdeps/sparc/sparc32/sem_post.c: ... here.
17017         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
17018         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
17019         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
17020         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
17021         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
17022         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
17023         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
17024         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
17025         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
17026         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
17027         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
17028         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
17029         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
17030         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
17031         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
17032         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
17033         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
17034         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
17035         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
17036         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
17037         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
17038         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
17039         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
17040         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
17041         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
17042         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
17044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
17045         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
17046         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
17047         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
17048         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17049         Moved ...
17050         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17051         ... here.
17052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
17053         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
17054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
17055         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
17056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
17057         Moved ...
17058         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
17059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
17060         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
17061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
17062         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
17063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
17064         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
17065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17066         Moved ...
17067         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
17068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17069         Moved ...
17070         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
17071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
17072         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
17073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17074         Moved ...
17075         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
17076         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
17077         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
17078         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
17079         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
17080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
17081         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
17082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
17083         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
17084         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17085         Moved ...
17086         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17087         ... here.
17088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
17089         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
17090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
17091         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
17092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
17093         Moved ...
17094         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
17095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
17096         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
17097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
17098         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
17099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
17100         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
17101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17102         Moved ...
17103         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
17104         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17105         Moved ...
17106         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
17107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
17108         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
17109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17110         Moved ...
17111         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
17112         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
17113         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
17114         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
17115         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
17117 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
17119         * timezone/checktab.awk: Update from tzcode 2014e.
17120         * timezone/private.h: Likewise.
17121         * timezone/tzfile.h: Likewise.
17122         * timezone/zdump.c: Likewise.
17123         * timezone/zic.c: Likewise.
17125         * sysdeps/unix/sysv/linux/kernel-features.h
17126         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
17127         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
17128         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
17129         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17130         Remove conditional code.
17132 2014-06-25  Will Newton  <will.newton@linaro.org>
17134         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
17135         (_dl_arm_cap_flags): Add HWCAP2 values.
17136         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
17137         (_DL_HWCAP_COUNT): Increase to 37.
17138         (_DL_HWCAP_LAST): New define.
17139         (_DL_HWCAP2_LAST): New define.
17140         (_dl_procinfo): Add support for printing
17141         AT_HWCAP2 entries.
17142         (_dl_string_hwcap): Use _dl_hwcap_string.
17144 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17148 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
17150         * README: Do not mention ports directory.
17152         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
17153         Remove macro.
17154         * sysdeps/unix/sysv/linux/futimes.c: Do not include
17155         <kernel-features.h>.
17156         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
17157         conditional variable definition.
17158         (__futimes): Update comment.
17159         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
17160         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
17162         [BZ #16560]
17163         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
17164         arguments close to 0.
17165         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
17166         Likewise.
17167         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
17168         Likewise.
17169         * math/auto-libm-test-in: Add more tests of exp10.
17170         * math/auto-libm-test-out: Regenerated.
17171         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17173         * sysdeps/unix/sysv/linux/kernel-features.h
17174         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
17175         * sysdeps/unix/sysv/linux/readv.c: Do not include
17176         <kernel-features.h>.
17177         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17178         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17179         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17180         unconditional.
17181         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17182         conditional code.
17183         * sysdeps/unix/sysv/linux/writev.c: Do not include
17184         <kernel-features.h>.
17185         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17186         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17187         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17188         unconditional.
17189         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17190         conditional code.
17192 2014-06-25  Will Newton  <will.newton@linaro.org>
17194         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
17195         comment changes throughout the file.  Remove checks
17196         for HAVE_*_H definitions that are not required.
17197         (__gen_tempname): Call abort if an unknown kind value is
17198         passed.
17200 2014-06-25  Andreas Schwab  <schwab@suse.de>
17202         [BZ #17086]
17203         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
17204         scalbln, scalblnf, scalblnl in libc.
17206 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17208         [BZ #17086]
17209         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
17210         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17211         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17213 2014-06-24  Roland McGrath  <roland@hack.frob.com>
17215         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
17216         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
17217         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
17218         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
17219         Update #include.
17220         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
17221         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
17222         Update #include.
17223         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
17224         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
17225         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
17226         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
17227         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
17228         * sysdeps/x86/bits/pthreadtypes.h: ... here.
17229         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
17230         * sysdeps/x86/bits/semaphore.h: ... here.
17231         * sysdeps/x86/nptl/elide.h: Moved ...
17232         * sysdeps/x86/elide.h: ... here.
17233         * sysdeps/x86_64/nptl/Implies: File removed.
17234         * sysdeps/i386/nptl/Implies: File removed.
17236 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
17238         [BZ #16539]
17239         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
17240         return the argument for normal arguments with exponent below -64.
17241         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17242         Likewise.
17243         * math/auto-libm-test-in: Add another test of expm1.
17244         * math/auto-libm-test-out: Regenerated.
17246         [BZ #16287]
17247         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
17248         calling __erfcl for arguments at least 16.
17249         * math/auto-libm-test-in: Add more tests of erf.
17250         * math/auto-libm-test-out: Regenerated.
17252         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
17253         individual architectures.
17254         * sysdeps/unix/sysv/linux/configure: Regenerated.
17255         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
17256         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
17257         * sysdeps/unix/sysv/linux/powerpc/configure.ac
17258         (ldd_rewrite_script): Define variable.
17259         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
17261         file.
17262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
17263         generated file.
17264         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
17265         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
17266         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
17267         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
17268         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
17269         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
17270         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
17271         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
17273 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17275         [BZ #17084]
17276         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
17277         Rename member __data.d to __data.__elision_data.
17279 2014-06-24  Wilco  <wdijkstr@arm.com>
17281         * NEWS: Add 16918 to fixed bug list.
17283 2014-06-24  Wilco  <wdijkstr@arm.com>
17285         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
17287 2014-06-24  Wilco  <wdijkstr@arm.com>
17289         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
17290         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
17291         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
17292         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
17293         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
17294         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
17295         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
17296         Use _FPU_MASK_RM.
17298 2014-06-24  Wilco  <wdijkstr@arm.com>
17300         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
17302 2014-06-24  Wilco  <wdijkstr@arm.com>
17304         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
17305         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
17306         * sysdeps/arm/fesetround.c (fesetround): Remove space.
17307         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
17309 2014-06-24  Wilco  <wdijkstr@arm.com>
17311         [BZ #16918]
17312         * sysdeps/arm/feupdateenv.c (feupdateenv):
17313         Rewrite to reduce FPSCR accesses and fix return value.
17315 2014-06-24  Wilco  <wdijkstr@arm.com>
17317         * sysdeps/arm/fclrexcpt.c (feclearexcept):
17318         Optimize to avoid unnecessary FPSCR writes.
17319         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
17320         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
17321         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
17322         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
17324 2014-06-24  Wilco  <wdijkstr@arm.com>
17326         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
17327         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
17328         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
17329         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
17330         Call libc_fetestexcept_vfp.
17331         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
17332         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
17333         __SOFTFP__ ifdef so that they can be built for softfp.
17335 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17337         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
17338         argument type signed char.
17340         * Makerules (check-abi): Dump diff of symlist if the test
17341         fails.
17343 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17345         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
17346         using abort.
17348         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17349         Remove unused variable ST.
17351 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17353         [BZ #16354]
17354         [BZ #17061]
17355         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
17356         small arguments before calling __expm1.
17357         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
17358         small arguments before calling __expm1f.
17359         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
17360         small arguments before calling __expm1l.
17361         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17362         Likewise.
17363         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
17364         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
17365         spurious underflow for some cosh tests.
17366         * math/auto-libm-test-out: Regenerated.
17367         * sysdeps/i386/fpu/libm-test-ulps: Update.
17369         [BZ #17050]
17370         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
17371         (__ieee754_y1): Set errno if return value overflows.
17372         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
17373         (__ieee754_y1f): Set errno if return value overflows.
17374         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
17375         (__ieee754_y1l): Set errno if return value overflows.
17376         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
17377         (__ieee754_y1l): Set errno if return value overflows.
17378         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
17379         * math/auto-libm-test-out: Regenerated.
17381         * math/gen-auto-libm-tests.c: Document use of
17382         ignore-zero-inf-sign.
17383         (input_flag_type): Add value flag_ignore_zero_inf_sign.
17384         (input_flags): Add ignore-zero-inf-sign.
17385         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
17386         * math/gen-libm-test.pl (generate_testfile): Handle
17387         ignore-zero-inf-sign.
17388         * math/auto-libm-test-in: Mark some cpow tests with
17389         ignore-zero-inf-sign and some with xfail-rounding.
17390         * math/auto-libm-test-out: Regenerated.
17391         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
17392         * sysdeps/i386/fpu/libm-test-ulps: Update.
17393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17395         [BZ #16315]
17396         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
17397         overflowing or underflowing operations take place with sign of
17398         result.
17399         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17400         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17401         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
17402         (__ieee754_pow): Recompute overflowing and underflowing results in
17403         original rounding mode.
17404         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
17405         (__powl_helper): Allow negative argument X and scale negated value
17406         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
17407         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
17408         overflowing or underflowing operations take place with sign of
17409         result.
17410         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
17411         Include <math.h>.
17412         * math/auto-libm-test-in: Add more tests of pow.
17413         * math/auto-libm-test-out: Regenerated.
17414         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
17415         (pow_tonearest_test_data): Remove.
17416         (pow_test_tonearest): Likewise.
17417         (pow_towardzero_test_data): Likewise.
17418         (pow_test_towardzero): Likewise.
17419         (pow_downward_test_data): Likewise.
17420         (pow_test_downward): Likewise.
17421         (pow_upward_test_data): Likewise.
17422         (pow_test_upward): Likewise.
17423         (main): Don't call removed functions.
17424         * sysdeps/i386/fpu/libm-test-ulps: Update.
17425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17427 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
17430         Moved ...
17431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
17432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17433         Moved ...
17434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
17435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17436         Moved ...
17437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
17438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17439         Moved ...
17440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
17441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17442         File removed.
17443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17444         File removed.
17445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
17446         File removed.
17447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
17448         File removed.
17449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
17450         File removed.
17451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
17452         File removed.
17453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
17454         File removed.
17455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17456         File removed.
17457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
17458         File removed.
17459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17460         File removed.
17461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
17462         File removed.
17463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
17464         File removed.
17465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
17466         Moved ...
17467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
17468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
17469         Moved ...
17470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17471         ... here.
17472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
17473         Moved ...
17474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
17475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
17476         Moved ...
17477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
17478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
17479         Moved ...
17480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
17481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
17482         Moved ...
17483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
17484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
17485         Moved ...
17486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
17487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
17488         Moved ...
17489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
17490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
17491         Moved ...
17492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
17493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
17494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17495         ... here.
17496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
17497         Moved ...
17498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
17499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17500         Moved ...
17501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17502         ... here.
17503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
17504         Moved ...
17505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17506         ... here.
17507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17508         Moved ...
17509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17510         ... here.
17511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17512         Moved ...
17513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
17514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17515         Moved ...
17516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
17517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
17518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
17519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17520         Moved ...
17521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17522         ... here.
17523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17524         Moved ...
17525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17526         ... here.
17527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17528         Moved ...
17529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
17530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17531         Moved ...
17532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
17533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17534         Moved ...
17535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
17536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17537         Moved ...
17538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
17539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17540         Moved ...
17541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17542         ... here.
17543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17544         Moved ...
17545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
17546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17547         Moved ...
17548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
17549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17550         Moved ...
17551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
17552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17553         Moved ...
17554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
17555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
17556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
17557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17558         Moved ...
17559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
17560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17561         Moved ...
17562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
17563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17564         Moved ...
17565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17566         ... here.
17567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17568         Moved ...
17569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17570         ... here.
17571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17572         Moved ...
17573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17574         ... here.
17575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17576         Moved ...
17577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
17578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17579         Moved ...
17580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
17581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17582         Moved ...
17583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
17584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17585         Moved ...
17586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17587         ... here.
17588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17589         Moved ...
17590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17591         ... here.
17592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17593         Moved ...
17594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17595         ... here.
17596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17597         Moved ...
17598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
17599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17600         Moved ...
17601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
17603 2014-06-23  Will Newton  <will.newton@linaro.org>
17604             Wilco  <wdijkstr@arm.com>
17606         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
17607         implementation.  Include get-rounding-mode.h.
17608         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
17609         [!libc_feholdsetround_noex_ctx]: Define
17610         libc_feholdsetround_noex_ctx.
17611         [!libc_feholdsetround_noexf_ctx]: Define
17612         libc_feholdsetround_noexf_ctx.
17613         [!libc_feholdsetround_noexl_ctx]: Define
17614         libc_feholdsetround_noexl_ctx.
17615         (libc_feholdsetround_ctx): New function.
17616         (libc_feresetround_ctx): New function.
17617         (libc_feholdsetround_noex_ctx): New function.
17618         (libc_feresetround_noex_ctx): New function.
17620 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17622         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
17623         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
17624         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
17625         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
17626         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
17627         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
17629         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
17630         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
17631         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
17632         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
17633         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
17634         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
17635         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
17636         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
17637         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
17638         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
17639         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
17640         Moved ...
17641         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17642         ... here.
17643         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
17644         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
17645         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
17646         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
17647         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
17648         Moved ...
17649         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
17650         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
17651         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
17652         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
17653         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
17654         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
17655         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
17656         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
17657         Moved ...
17658         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
17659         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
17660         Moved ...
17661         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
17662         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
17663         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
17664         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
17665         Moved ...
17666         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
17667         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
17668         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
17669         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
17670         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
17671         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
17672         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
17673         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
17674         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
17675         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
17676         Moved ...
17677         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17678         ... here.
17679         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
17680         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
17681         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
17682         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
17683         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
17684         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
17685         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
17686         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
17687         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
17688         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
17689         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
17690         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
17691         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
17692         Moved ...
17693         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
17694         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
17695         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
17696         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
17697         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
17698         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
17699         Moved ...
17700         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
17701         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
17702         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
17703         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
17704         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
17706         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
17707         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
17708         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
17709         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
17710         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
17711         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
17712         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
17713         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
17714         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
17715         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
17716         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
17717         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
17718         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
17719         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17720         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
17721         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
17722         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17723         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17724         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17725         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17726         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17727         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17728         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17729         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17730         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17731         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17732         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17733         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17735 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17737         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17738         (FALLOC_FL_COLLAPSE_RANGE): New macro.
17739         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17740         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17741         (IPV6_PMTUDISC_INTERFACE): Likewise.
17742         (IPV6_PMTUDISC_OMIT): Likewise.
17744 2014-06-23  Andreas Schwab  <schwab@suse.de>
17746         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17747         Remove unused errout label.
17749 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17751         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17752         macro: hardware supports Vector Crypto instructions.
17754 2014-06-23  Will Newton  <will.newton@linaro.org>
17756         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17757         rather than __builtin_expect.
17759         * elf/dl-lookup.c (undefined_msg): Remove variable.
17760         (_dl_lookup_symbol_x): Replace undefined_msg with string
17761         literal.
17763         * elf/dl-lookup.c (do_lookup_unique): New function.
17764         (do_lookup_x): Move STB_GNU_UNIQUE handling code
17765         to a separate function.
17767 2014-06-23  Andreas Schwab  <schwab@suse.de>
17769         [BZ #17079]
17770         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17771         before reading the next line.
17773 2014-06-23  Will Newton  <will.newton@linaro.org>
17775         * test-skeleton.c (signal_handler): Use printf and %m
17776         rather than perror.  Use printf rather than fprintf to
17777         stderr.  Use puts rather than fputs to stderr.
17778         (main): Likewise.
17780 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17782         * nscd/nscd.c (thread_info_t): Remove typedef.
17783         (thread_info): Remove variable.
17785 2014-06-21  Allan McRae  <allan@archlinux.org>
17787         * NEWS: Mention CVE-2014-4043.
17789 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17791         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17792         * nptl/smp.h: ... here.
17794         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17796         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17797         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17798         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17799         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17801         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17802         * nptl/stack-aliasing.h: New file.
17803         * sysdeps/i386/i686/stack-aliasing.h: New file.
17804         * sysdeps/i386/i686/nptl/Makefile: File removed.
17805         * sysdeps/x86_64/stack-aliasing.h: New file.
17806         * sysdeps/x86_64/nptl/Makefile
17807         (CFLAGS-pthread_create.c): Variable removed.
17809         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17810         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17811         old file.
17812         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17813         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17814         old file.
17816 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17818         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17819         (__ASSUME_SIGFRAME_V2): Remove macro.
17820         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17821         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17822         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17823         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17824         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17825         Declare as function.  Remove conditional macro definitions.
17826         (__default_rt_sa_restorer): Likewise.
17827         (__default_sa_restorer_v1): Remove declaration.
17828         (__default_sa_restorer_v2): Likewise.
17829         (__default_rt_sa_restorer_v1): Likewise.
17830         (__default_rt_sa_restorer_v2): Likewise.
17831         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17832         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17833         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17835 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17837         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17838         (libpthread-routines): Add sysdep.
17839         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17840         * sysdeps/unix/sysv/linux/sparc/Versions
17841         (libpthread: GLIBC_2.3.3): New version set.
17842         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17843         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17844         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17845         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17846         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17847         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17848         Moved ...
17849         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17850         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17851         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17852         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17853         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17854         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17855         * sysdeps/sparc/nptl/sem_init.c: ... here.
17856         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17857         * sysdeps/sparc/nptl/sem_post.c: ... here.
17858         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17859         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17860         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17861         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17862         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17863         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17864         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17865         (libpthread-routines): Add cpu_relax.
17866         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17867         File removed.
17868         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17869         (librt: GLIBC_2.3.3): New version set.
17870         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17871         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17872         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17873         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17874         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17875         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17876         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17877         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17878         Moved ...
17879         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17880         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17881         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17882         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17883         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17884         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17885         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17887         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17888         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17889         Moved ...
17890         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17891         Update #include.
17892         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17893         Moved ...
17894         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17895         Update #include.
17896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17897         Moved ...
17898         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17899         Update #include.
17900         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17901         Moved ...
17902         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17903         Update #include.
17904         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17905         Moved ...
17906         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17907         Update #include.
17908         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17909         Moved ...
17910         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17911         Update #include.
17912         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17913         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17914         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17915         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17916         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17917         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17918         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17919         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17920         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17921         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17922         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17923         Moved ...
17924         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17925         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17926         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17927         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17928         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17930 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17932         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17933         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17934         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17935         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17936         * nscd/nscd.c: Likewise.
17937         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17938         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17939         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17940         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17942         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17943         <kernel-features.h>.
17944         (init_mq_netlink): Remove conditional have_sock_cloexec
17945         definitions.  Remove code conditional on have_sock_cloexec < 0.
17946         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17947         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17948         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17949         <kernel-features.h>.
17950         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17951         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17953 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17955         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17956         Add tests for memset_chk and memset.
17958         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17959         with AVX2_Usable.
17961 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17963         [BZ #16046]
17964         * elf/tst-dl-iter-static.c: New file.
17965         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17967         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17968         error.
17970 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17972         * sysdeps/unix/sysv/linux/kernel-features.h
17973         (__ASSUME_F_GETOWN_EX): Remove macro.
17974         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17975         <kernel-features.h>.
17976         (miss_F_GETOWN_EX): Remove variable or macro.
17977         (do_fcntl): Do not check miss_F_GETOWN_EX.
17978         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17980         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17981         Remove macro.
17982         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17983         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17984         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17986         * sysdeps/unix/sysv/linux/kernel-features.h
17987         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17988         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17989         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17990         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17992 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17994         [BZ #17075]
17995         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17996         Fix calculation of the symbol's value.
17997         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17998         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17999         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
18000         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
18001         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
18002         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
18003         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
18004         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
18005         (modules-names): Add `tst-armtlsdescmod',
18006         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
18007         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
18008         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18009         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
18010         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
18011         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18012         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
18013         ($(objpfx)tst-armtlsdescloc): New dependency.
18014         ($(objpfx)tst-armtlsdescextnow): Likewise.
18015         ($(objpfx)tst-armtlsdescextlazy): Likewise.
18016         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
18017         TLS scheme support.
18018         * sysdeps/arm/configure: Regenerate.
18020 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
18022         * include/fcntl.h (__atfct_seterrno): Remove prototype.
18023         (__atfct_seterrno_2): Likewise.
18024         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
18025         <kernel-features.h>.
18026         (__ASSUME_ATFCTS): Do not undefine and redefine.
18027         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
18028         (__have_atfcts): Remove conditional definition.
18029         (__fxstatat([__NR_fstatat64]: Make code unconditional.
18030         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
18031         unreachable if [__ASSUME_ATFCTS].
18032         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
18033         not undefine and redefine.
18034         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
18035         <kernel-features.h>.
18036         (faccessat) [__NR_faccessat]: Make code unconditional.
18037         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
18038         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
18039         <kernel-features.h>.
18040         (fchmodat) [__NR_fchmodat]: Make code unconditional.
18041         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18042         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
18043         <kernel-features.h>.
18044         (fchownat) [__NR_fchownat]: Make code unconditional.
18045         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
18046         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
18047         <kernel-features.h>.
18048         (futimesat) [__NR_futimesat]: Make code unconditional.
18049         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
18050         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18051         <kernel-features.h>.
18052         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18053         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18054         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18055         <kernel-features.h>.
18056         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
18057         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18058         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
18059         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18060         <kernel-features.h>.
18061         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
18062         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18063         * sysdeps/unix/sysv/linux/linkat.c: Do not include
18064         <kernel-features.h>.
18065         (linkat) [__NR_linkat]: Make code unconditional.
18066         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18067         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
18068         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
18069         <kernel-features.h>.
18070         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
18071         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18072         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
18073         <kernel-features.h>.
18074         (mkdirat) [__NR_mkdirat]: Make code unconditional.
18075         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
18076         * sysdeps/unix/sysv/linux/openat.c: Do not include
18077         <kernel-features.h>.
18078         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
18079         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
18080         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
18081         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
18082         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
18083         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
18084         <kernel-features.h>.
18085         (readlinkat) [__NR_readlinkat]: Make code unconditional.
18086         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
18087         result of INLINE_SYSCALL directly, not via int variable.
18088         * sysdeps/unix/sysv/linux/renameat.c: Do not include
18089         <kernel-features.h>.
18090         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
18091         (renameat) [__NR_renameat]: Make code unconditional.
18092         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
18093         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
18094         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
18095         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
18096         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
18097         (__ASSUME_ATFCTS): Do not undefine and redefine.
18098         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
18099         <kernel-features.h>.
18100         (symlinkat) [__NR_symlinkat]: Make code unconditional.
18101         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18102         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
18103         <kernel-features.h>.
18104         (unlinkat) [__NR_unlinkat]: Make code unconditional.
18105         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18106         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
18107         (__ASSUME_ATFCTS): Do not undefine and redefine.
18108         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18109         <kernel-features.h>.
18110         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18111         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18112         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18113         <kernel-features.h>.
18114         (__xmknodat) [__NR_mknodat]: Make code unconditional.
18115         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18117 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
18119         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
18121 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
18123         [BZ #17069]
18124         * posix/regcomp.c (parse_reg_exp): Deallocate partially
18125         constructed tree before returning error.
18126         * posix/bug-regexp36.c: Expand test case.
18128 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18130         [BZ #6803]
18131         * math/libm-test.inc (scalbln_test_date):
18132         Add errno expectations.
18133         * math/w_scalblnf.c: New File.
18134         Add wrapper which checks for setting errno to ERANGE.
18135         Add weak_alias for corresponding scalbln function.
18136         * math/w_scalbln.c: Likewise.
18137         * math/w_scalblnl.c: Likewise.
18138         * math/Makefile (libm-calls): Add w_scalbln.
18139         * sysdeps/ieee754/flt-32/s_scalblnf.c:
18140         Remove weak_alias for corresponding scalbln function.
18141         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18142         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18143         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18144         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18145         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18146         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18147         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
18148         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18149         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
18150         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
18151         Remove long_double_symbol for scalblnl function in libm, libc.
18152         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
18153         Add wrapper which checks for setting errno to ERANGE.
18154         Add long_double_symbol for scalblnl function in libm, libc.
18155         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
18156         Remove long_double_symbol for scalblnl in libm.
18157         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
18158         Add wrapper which checks for setting errno to ERANGE.
18159         Add long_double_symbol for scalblnl function in libm.
18160         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
18161         Do not use wrapper because of own implementation.
18163 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
18165         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
18166         3 bytes for __pad1 for x32.
18167         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
18169 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
18170             H.J. Lu  <hongjiu.lu@intel.com>
18172         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
18173         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
18174         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18175         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18176         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18178 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
18180         [BZ #17069]
18181         * posix/regcomp.c (parse_expression): Deallocate partially
18182         constructed tree before returning error.
18183         * posix/Makefile.c (tests): Add bug-regex36.
18184         (generated): Add bug-regex36.mtrace.
18185         (tests-special): Add $(objpfx)bug-regex36-mem.out
18186         (bug-regex36-ENV): New variable.
18187         ($(objpfx)bug-regex36-mem.out): New rule.
18188         * posix/bug-regex36.c: New file.
18190 2014-06-19  Will Newton  <will.newton@linaro.org>
18192         * malloc/malloc.c (systrim): If extra is zero then return
18193         early.
18195 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18197         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
18199 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
18201         * sysdeps/aarch64/strchr.S: New file.
18203 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18205         [BZ #17022]
18206         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
18207         from arguments -2 or below.
18208         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18209         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18211 2014-06-18  Andreas Schwab  <schwab@suse.de>
18213         [BZ #17062]
18214         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
18215         of a bracket expr not to run off the end of the string.
18216         * posix/Makefile (tests): Add tst-fnmatch3.
18217         * posix/tst-fnmatch3.c: New file.
18219 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18221         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
18222         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18223         [$(cross-compiling) = no]: Likewise.
18224         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18225         [$(cross-compiling) = no]: Likewise.
18227 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18229         [BZ #17031]
18230         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
18231         double, adjusted for any remainder from the high double.
18232         * math/libm-test.inc (nearbyint): Add tests.
18233         (rint): Likewise.
18235 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18237         * nptl/sysdeps/powerpc/Makefile: Moved ...
18238         * sysdeps/powerpc/nptl/Makefile: ... here.
18239         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
18240         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
18241         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
18242         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
18243         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
18244         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
18245         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
18246         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
18247         * nptl/sysdeps/powerpc/tls.h: Moved ...
18248         * sysdeps/powerpc/nptl/tls.h: ... here.
18250 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
18252         [BZ #16681]
18253         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
18254         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18255         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
18256         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
18257         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18258         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
18259         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
18260         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18261         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
18263 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
18265         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18267 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
18269         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
18270         defined operator.
18272         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
18273         $TIMEOUTFACTOR.
18275 2014-06-16  Florian Weimer  <fweimer@redhat.com>
18277         [BZ #17058]
18278         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
18279         non-executed part of the test.
18281 2014-06-16  Andreas Schwab  <schwab@suse.de>
18283         * string/bits/string2.h (strdup, strndup): Update feature guard.
18285 2014-06-14  David S. Miller  <davem@davemloft.net>
18287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18289 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
18291         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
18292         that was previously under [RESET_PID].
18293         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
18295         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
18296         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
18297         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
18298         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18299         (__libc_vfork): New strong alias.
18300         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
18302 2014-06-14 Andi Kleen  <ak@linux.intel.com>
18304         * sysdeps/generic/elide.h: New file.
18306 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18308         * Makefile (installed-headers): Adjust path of pthread.h header.
18310 2014-06-13  Roland McGrath  <roland@hack.frob.com>
18312         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
18313         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
18314         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
18315         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
18317         * nptl/sysdeps/s390/Makefile: Moved ...
18318         * sysdeps/s390/nptl/Makefile: ... here.
18319         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
18320         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
18321         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
18322         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
18323         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
18324         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
18325         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
18326         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
18327         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
18328         * sysdeps/s390/nptl/pthreaddef.h: ... here.
18329         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
18330         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
18331         * nptl/sysdeps/s390/tls.h: Moved ...
18332         * sysdeps/s390/nptl/tls.h: ... here.
18334         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
18335         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
18337 2014-06-13  David S. Miller  <davem@davemloft.net>
18339         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
18340         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
18341         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
18342         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
18343         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
18344         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
18345         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
18346         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
18347         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
18348         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
18349         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
18350         Remove RESET_PID cpp guards.
18351         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
18352         Remove RESET_PID cpp guards.
18353         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
18355 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
18357         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
18358         __sp to uintptr_t.
18360 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18362         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
18363         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
18364         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
18365         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
18366         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
18367         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
18368         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
18369         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
18370         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
18371         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
18372         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
18373         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
18374         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
18375         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
18376         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
18377         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
18378         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
18379         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
18380         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
18381         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
18383         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
18384         (pthread_rwlock_rdlock): Add elision.
18385         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
18386         (pthread_rwlock_wrlock): Add elision.
18387         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
18388         (pthread_rwlock_trywrlock): Add elision.
18389         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
18390         (pthread_rwlock_tryrdlock): Add elision.
18391         * nptl/pthread_rwlock_unlock.c: Include elide.h.
18392         (pthread_rwlock_tryrdlock): Add elision unlock.
18393         * nptl/sysdeps/pthread/pthread.h:
18394         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
18395         (PTHREAD_RWLOCK_INITIALIZER,
18396         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
18397         Handle new elision field.
18398         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
18399         * sysdeps/arm/nptl/bits/pthreadtypes.h
18400         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18401         * sysdeps/sh/nptl/bits/pthreadtypes.h
18402         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18403         * sysdeps/tile/nptl/bits/pthreadtypes.h
18404         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18405         * sysdeps/a/nptl/bits/pthreadtypes.h
18406         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18407         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18408         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18409         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18410         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18411         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
18412         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18413         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18414         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18415         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18416         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18417         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18418         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18419         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18420         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18421         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
18422         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18423         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
18424         (elision_init): Set try_xbegin to zero when no RTM.
18425         * sysdeps/x86/nptl/bits/pthreadtypes.h
18426         (pthread_rwlock_t): Change __pad1 to __rwelision.
18427         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18429 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18431         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
18432         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
18433         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
18434         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
18436 2014-06-13  Meador Inge  <meadori@codesourcery.com>
18438         [BZ #16996]
18439         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
18440         that the cached result has been set before returning it.
18442 2014-06-12  Roland McGrath  <roland@hack.frob.com>
18444         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
18445         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
18446         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
18447         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
18448         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
18449         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
18451         * nptl/sysdeps/sparc/Makefile: Moved ...
18452         * sysdeps/sparc/nptl/Makefile: ... here.
18453         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
18454         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
18455         * nptl/sysdeps/sparc/tls.h: Moved ...
18456         * sysdeps/sparc/nptl/tls.h: ... here.
18457         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
18458         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
18459         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
18460         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
18461         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
18462         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
18463         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
18464         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
18465         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
18466         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
18467         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
18468         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
18469         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
18470         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
18471         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
18472         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
18473         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
18474         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
18475         Update #include.
18476         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
18477         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
18478         Update #include.
18479         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
18480         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
18481         Update #include.
18482         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
18483         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
18484         Update #include.
18486         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18488         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
18489         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
18491         * sysdeps/pthread/posix-timer.h: Include <list.h>.
18492         (struct list_links): Type removed.
18493         (struct thread_node, struct timer_node): Replace struct list_links
18494         with struct list_head.
18495         (list_unlink_ip): Likewise.
18496         * sysdeps/pthread/timer_routines.c
18497         (timer_free_list, thread_free_list, thread_active_list): Likewise.
18498         (list_append, list_insbefore): Likewise.
18499         (list_init): Function removed.
18500         (thread_init, init_module): Use INIT_LIST_HEAD instead.
18501         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
18502         * sysdeps/pthread/Makefile: ... here, new file.
18504         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
18505         * sysdeps/nptl/Implies: ... here.
18506         * sysdeps/unix/sysv/linux/Implies: Add nptl.
18507         * nptl/sysdeps/pthread/list.h: Moved ...
18508         * include/list.h: ... here.
18509         * nptl/sysdeps/pthread/createthread.c: Moved ...
18510         * nptl/createthread.c: ... here.
18511         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
18512         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
18513         * nptl/pt-longjmp.c: ... here.
18514         * nptl/sysdeps/pthread/Makefile: Moved ...
18515         * sysdeps/nptl/Makefile: ... here.
18516         * nptl/sysdeps/pthread/Subdirs: Moved ...
18517         * sysdeps/nptl/Subdirs: ... here.
18518         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
18519         * sysdeps/nptl/aio_misc.h: ... here.
18520         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
18521         * sysdeps/nptl/bits/libc-lock.h: ... here.
18522         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
18523         * sysdeps/nptl/bits/libc-lockP.h: ... here.
18524         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
18525         * sysdeps/nptl/bits/stdio-lock.h: ... here.
18526         * nptl/sysdeps/pthread/configure: Moved ...
18527         * sysdeps/nptl/configure: ... here.
18528         * nptl/sysdeps/pthread/configure.ac: Moved ...
18529         * sysdeps/nptl/configure.ac: ... here.
18530         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
18531         * sysdeps/nptl/gai_misc.h: ... here.
18532         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
18533         * sysdeps/nptl/librt-cancellation.c: ... here.
18534         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
18535         * sysdeps/nptl/malloc-machine.h: ... here.
18536         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
18537         * sysdeps/nptl/pthread-functions.h: ... here.
18538         * nptl/sysdeps/pthread/pthread.h: Moved ...
18539         * sysdeps/nptl/pthread.h: ... here.
18540         * nptl/sysdeps/pthread/setxid.h: Moved ...
18541         * sysdeps/nptl/setxid.h: ... here.
18542         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
18543         * sysdeps/nptl/sigfillset.c: ... here.
18544         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
18545         * sysdeps/nptl/tcb-offsets.h: ... here.
18546         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
18547         * sysdeps/nptl/tst-mqueue8x.c: ... here.
18548         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
18549         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
18550         * nptl/sysdeps/pthread/allocalim.h: Moved ...
18551         * sysdeps/pthread/allocalim.h: ... here.
18552         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
18553         * sysdeps/pthread/bits/sigthread.h: ... here.
18554         * nptl/sysdeps/pthread/flockfile.c: Moved ...
18555         * sysdeps/pthread/flockfile.c: ... here.
18556         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
18557         * sysdeps/pthread/ftrylockfile.c: ... here.
18558         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
18559         * sysdeps/pthread/funlockfile.c: ... here.
18560         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
18561         * sysdeps/pthread/posix-timer.h: ... here.
18562         * nptl/sysdeps/pthread/timer_create.c: Moved ...
18563         * sysdeps/pthread/timer_create.c: ... here.
18564         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
18565         * sysdeps/pthread/timer_delete.c: ... here.
18566         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
18567         * sysdeps/pthread/timer_getoverr.c: ... here.
18568         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
18569         * sysdeps/pthread/timer_gettime.c: ... here.
18570         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
18571         * sysdeps/pthread/timer_routines.c: ... here.
18572         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
18573         * sysdeps/pthread/timer_settime.c: ... here.
18574         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
18575         * sysdeps/pthread/tst-timer.c: ... here.
18576         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
18577         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
18579         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
18580         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
18582         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
18583         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
18584         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
18585         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
18586         Update #include target.
18587         * nptl/sysdeps/i386/i686/Makefile: Moved ...
18588         * sysdeps/i386/i686/nptl/Makefile: ... here.
18589         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
18590         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
18591         Update #include target.
18592         * nptl/sysdeps/i386/i686/tls.h: Moved ...
18593         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
18594         * nptl/sysdeps/i386/Makefile: Moved ...
18595         * sysdeps/i386/nptl/Makefile: ... here.
18596         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
18597         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
18598         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
18599         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
18600         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
18601         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
18602         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
18603         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
18604         * sysdeps/i386/nptl/pthreaddef.h: ... here.
18605         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
18606         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
18607         * nptl/sysdeps/i386/tls.h: Moved ...
18608         * sysdeps/i386/nptl/tls.h: ... here.
18610         * sysdeps/sh/Makefile [$(subdir) = csu]
18611         (gen-as-const-headers): Add tcb-offsets.sym.
18612         * nptl/sysdeps/sh/Makefile: File removed.
18613         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
18614         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
18615         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
18616         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
18617         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
18618         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
18619         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
18620         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
18621         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
18622         * sysdeps/sh/nptl/pthreaddef.h: ... here.
18623         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
18624         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
18625         * nptl/sysdeps/sh/tls.h: Moved ...
18626         * sysdeps/sh/nptl/tls.h: ... here.
18627         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
18628         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
18629         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
18630         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
18631         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
18632         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
18633         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
18634         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
18635         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
18636         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
18637         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
18638         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
18639         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
18640         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
18641         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
18642         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
18643         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
18644         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
18645         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
18646         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
18647         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
18648         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
18649         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
18650         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
18651         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
18652         Moved ...
18653         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
18654         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
18655         Moved ...
18656         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
18657         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
18658         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
18659         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
18660         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
18661         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
18662         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
18663         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
18664         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
18665         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
18666         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
18667         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
18668         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
18669         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
18670         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
18671         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
18672         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
18673         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
18674         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
18676 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18678         * posix/spawn_faction_addopen.c: Include string.h.
18680 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18682         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
18683         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
18684         * nptl/sysdeps/x86_64/Makefile: Moved ...
18685         * sysdeps/x86_64/nptl/Makefile: ... here.
18686         * nptl/sysdeps/x86_64/configure: Moved ...
18687         * sysdeps/x86_64/nptl/configure: ... here.
18688         * nptl/sysdeps/x86_64/configure.ac: Moved ...
18689         * sysdeps/x86_64/nptl/configure.ac: ... here.
18690         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
18691         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
18692         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
18693         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
18694         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
18695         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
18696         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
18697         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
18698         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
18699         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
18700         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
18701         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
18702         * nptl/sysdeps/x86_64/tls.h: Moved ...
18703         * sysdeps/x86_64/nptl/tls.h: ... here.
18704         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
18705         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
18706         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
18707         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
18709         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
18711 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18715 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
18717         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
18718         type.
18719         [POSIX] (off_t): Likewise.
18720         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
18721         [POSIX] (S_ISBLK): Require macro.
18722         [POSIX] (S_ISCHR): Likewise.
18723         [POSIX] (S_ISDIR): Likewise.
18724         [POSIX] (S_ISFIFO): Likewise.
18725         [POSIX] (S_ISREG): Likewise.
18726         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18727         optional-macro.
18728         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18729         type.
18730         [POSIX] (time_t): Likewise.
18731         [POSIX] (timer_t): Likewise.
18733 2014-06-11  Florian Weimer  <fweimer@redhat.com>
18735         [BZ #17048]
18736         * posix/spawn_int.h (struct __spawn_action): Make the path string
18737         non-const to support deallocation.
18738         * posix/spawn_faction_addopen.c
18739         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18740         * posix/spawn_faction_destroy.c
18741         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
18742         path in all spawn_do_open actions.
18743         * posix/tst-spawn.c (do_test): Exercise the copy operation in
18744         posix_spawn_file_actions_addopen.
18746 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
18748         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18749         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18750         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18751         conditional code always true.
18752         (__libc_vfork): New alias.
18754 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18756         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18757         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18759         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18761         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18762         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18764         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18765         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18767         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18768         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18770 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18772         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18773         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18774         multiarch strcmp for PPC64.
18775         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18776         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18777         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18778         multiarch optimizations.
18779         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18780         (__libc_ifunc_impl_list): Likewise.
18782 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18784         * benchtests/scripts/validate_benchout.py: New script.
18785         * benchtests/Makefile (bench-func): Call it.
18786         * benchtests/scripts/benchout.schema.json: New file.
18788 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18790         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18791         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18792         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18793         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18794         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18795         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18796         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18797         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18798         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18799         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18800         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18801         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18802         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18803         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18804         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18805         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18807         Moved ...
18808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18809         ... here.
18810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18811         Moved ...
18812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18814         Moved ...
18815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18816         ... here.
18817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18818         Moved ...
18819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18820         ... here.
18821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18822         Moved ...
18823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18825         Moved ...
18826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18827         ... here.
18828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18829         Moved ...
18830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18831         ... here.
18832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18833         Moved ...
18834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18836         Moved ...
18837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18838         ... here.
18839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18840         Moved ...
18841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18842         ... here.
18843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18844         Moved ...
18845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18846         ... here.
18847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18848         Moved ...
18849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18851         Moved ...
18852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18853         ... here.
18854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18855         Moved ...
18856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18857         ... here.
18858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18859         Moved ...
18860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18861         ... here.
18862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18863         Moved ...
18864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18866         Moved ...
18867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18868         ... here.
18869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18870         Moved ...
18871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18872         ... here.
18873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18874         Moved ...
18875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18877         Moved ...
18878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18879         ... here.
18880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18881         Moved ...
18882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18884         Moved ...
18885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18887         Moved ...
18888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18889         ... here.
18890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18891         Moved ...
18892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18893         ... here.
18894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18895         Moved ...
18896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18897         ... here.
18898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18899         Moved ...
18900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18902         Moved ...
18903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18904         ... here.
18905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18906         Moved ...
18907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18908         ... here.
18909         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18910         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18911         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18912         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18913         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18914         Moved ...
18915         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18916         ... here.
18917         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18918         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18919         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18920         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18921         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18922         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18923         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18924         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18925         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18926         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18927         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18928         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18929         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18930         Moved ...
18931         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18932         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18933         Moved ...
18934         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18935         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18936         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18937         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18938         Moved ...
18939         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18940         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18941         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18942         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18943         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18944         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18945         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18947 2014-06-10  Wilco  <wdijkstr@arm.com>
18949         * math/test-fenv-return.c: New file.
18950         * math/Makefile: Add new test test-fenv-return.
18952 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18954         [BZ #17042]
18955         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18956         when x - 1 is zero.
18957         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18958         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18959         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18960         0.0L for an argument of 1.0L.
18961         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18962         Likewise.
18963         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18964         value when x - 1 is zero.
18965         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18966         * sysdeps/i386/fpu/libm-test-ulps: Update.
18967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18969 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18971         [BZ #15119]
18972         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18974 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18976         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18977         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18979 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18981         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18982         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18984         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18985         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18987         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18988         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18990         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18991         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18993         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18994         if not already defined.
18995         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18996         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18997         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18998         (TLS_INIT_TP): Use it.
18999         (TLS_DEFINE_INIT_TP): New macro.
19000         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
19002 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
19004         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
19005         constant.
19006         [POSIX] (IXANY): Likewise.
19007         [POSIX] (OLCUC): Likewise.
19008         [POSIX || POSIX2008] (CBAUD): Do not allow.
19009         [POSIX || POSIX2008] (DEFECHO): Likewise.
19010         [POSIX || POSIX2008] (ECHOCTL): Likewise.
19011         [POSIX || POSIX2008] (ECHOKE): Likewise.
19012         [POSIX || POSIX2008] (ECHOPRT): Likewise.
19013         [POSIX || POSIX2008] (EXTA): Likewise.
19014         [POSIX || POSIX2008] (EXTB): Likewise.
19015         [POSIX || POSIX2008] (FLUSHO): Likewise.
19016         [POSIX || POSIX2008] (LOBLK): Likewise.
19017         [POSIX || POSIX2008] (PENDIN): Likewise.
19018         [POSIX || POSIX2008] (SWTCH): Likewise.
19019         [POSIX || POSIX2008] (VDISCARD): Likewise.
19020         [POSIX || POSIX2008] (VDSUSP): Likewise.
19021         [POSIX || POSIX2008] (VLNEXT): Likewise.
19022         [POSIX || POSIX2008] (VREPRINT): Likewise.
19023         [POSIX || POSIX2008] (VSTATUS): Likewise.
19024         [POSIX || POSIX2008] (VWERASE): Likewise.
19025         (B*): Change to B[0123456789]*.
19026         * conform/data/time.h-data [POSIX || UNIX98]
19027         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
19028         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19029         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
19030         [POSIX] (tm_*): Do not allow.
19032 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
19034         * Makefile (install): Don't set LANGUAGE.
19035         * Makefile.in (install): Likewise.
19036         * assert/Makefile (test-assert-ENV): Remove variable.
19037         (test-assert-perr-ENV): Likewise.
19038         * elf/Makefile (neededtest4-ENV): Likewise.
19039         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19040         [$(cross-compiling) = no]: Don't set LANGUAGE.
19041         * io/ftwtest-sh (LANG): Remove variable.
19042         * libio/Makefile (tst-widetext-ENV): Likewise.
19043         * manual/install.texi (Running make install): Don't refer to
19044         environment settings for make install.
19045         * INSTALL: Regenerated.
19046         * nptl/tst-tls6.sh: Don't set LANG.
19047         * posix/globtest.sh (LANG): Remove variable.
19048         * string/Makefile (tester-ENV): Likewise.
19049         (inl-tester-ENV): Likewise.
19050         (noinl-tester-ENV): Likewise.
19051         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19052         [$(cross-compiling) = no]: Don't set LANGUAGE.
19053         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
19054         without explicit environment settings.
19056 2014-06-06  Roland McGrath  <roland@hack.frob.com>
19058         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
19059         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
19060         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
19061         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
19063 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
19065         * crypt/crypt-private.h [DOS]: Add some includes taken from the
19066         other files in the crypt directory.
19067         * crypt/crypt.c: Remove duplicate includes.
19068         * crypt/crypt-entry.c: Likewise.
19069         * crypt/crypt_util.c: Likewise.
19071 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
19073         * Makeconfig (run-program-env): New variable.
19074         (run-program-prefix-before-env): Likewise.
19075         (run-program-prefix-after-env): Likewise.
19076         (run-program-prefix): Define in terms of new variables.
19077         (built-program-cmd-before-env): New variable.
19078         (built-program-cmd-after-env): Likewise.
19079         (built-program-cmd): Define in terms of new variables.
19080         (test-program-prefix-before-env): New variable.
19081         (test-program-prefix-after-env): Likewise.
19082         (test-program-prefix): Define in terms of new variables.
19083         (test-program-cmd-before-env): New variable.
19084         (test-program-cmd-after-env): Likewise.
19085         (test-program-cmd): Define in terms of new variables.
19086         * Rules (make-test-out): Use $(run-program-env).
19087         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
19088         (help): Do not mention environment variables.  Mention
19089         --timeoutfactor option.
19090         (timeoutfactor): New variable.
19091         (blacklist_exports): Remove function.
19092         (exports): Remove variable.
19093         (command): Do not include ${exports}.
19094         * manual/install.texi (Configuring and compiling): Do not mention
19095         test wrappers preserving environment variables.  Mention that last
19096         assignment to a variable must take precedence.
19097         * INSTALL: Regenerated.
19098         * benchtests/Makefile (run-bench): Use $(run-program-env).
19099         * catgets/Makefile ($(objpfx)test1.cat): Use
19100         $(built-program-cmd-before-env), $(run-program-env) and
19101         $(built-program-cmd-after-env).
19102         ($(objpfx)test2.cat): Do not specify environment variables
19103         explicitly.
19104         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
19105         $(run-program-env) and $(built-program-cmd-after-env).
19106         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
19107         $(run-program-env) and $(test-program-cmd-after-env).
19108         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
19109         explicitly.
19110         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
19111         run_program_env and test_program_cmd_after_env arguments.
19112         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
19113         * elf/tst-pathopt.sh: Use run_program_env argument.
19114         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
19115         $(test-wrapper-env) and $(run-program-env).
19116         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
19117         run_program_env arguments.
19118         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
19119         * intl/Makefile ($(objpfx)tst-gettext.out): Use
19120         $(test-program-prefix-before-env), $(run-program-env) and
19121         $(test-program-prefix-after-env).
19122         ($(objpfx)tst-gettext2.out): Likewise.
19123         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
19124         run_program_env and test_program_prefix_after_env arguments.
19125         * intl/tst-gettext2.sh: Likewise.
19126         * intl/tst-gettext4.sh: Do not set environment variables
19127         explicitly.
19128         * intl/tst-gettext6.sh: Likewise.
19129         * intl/tst-translit.sh: Likewise.
19130         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
19131         $(test-program-prefix-before-env), $(run-program-env) and
19132         $(test-program-prefix-after-env).
19133         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
19134         run_program_env and test_program_prefix_after_env arguments.
19135         * math/Makefile (run-regen-ulps): Use $(run-program-env).
19136         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
19137         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
19138         explicitly with each use of ${test_wrapper_env}.
19139         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
19140         $(test-program-prefix-before-env), $(run-program-env) and
19141         $(test-program-prefix-after-env).
19142         * posix/tst-getconf.sh: Do not set environment variables
19143         explicitly.
19144         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
19145         run_program_env and test_program_prefix_after_env arguments.
19146         * stdio-common/tst-printf.sh: Do not set environment variables
19147         explicitly.
19148         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
19149         $(test-program-prefix-before-env), $(run-program-env) and
19150         $(test-program-prefix-after-env).
19151         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
19152         run_program_env and test_program_prefix_after_env arguments.
19153         Split $test calls into $test_pre and $test.
19154         * timezone/Makefile (build-testdata): Use
19155         $(built-program-cmd-before-env), $(run-program-env) and
19156         $(built-program-cmd-after-env).
19158 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19160         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
19161         strlen for non SHARED builds.
19163 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19165         * nptl/allocatestack.c (check_list): Inlined function...
19166         (__reclaim_stacks): ... here.
19168 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19170         [BZ #15698]
19171         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19172         memory overrun.
19174 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
19176         * Rules (make-test-out): Include
19177         LOCPATH=$(common-objpfx)localedata in default environment.
19178         * debug/Makefile (tst-chk1-ENV): Remove variable.
19179         (tst-chk2-ENV): Likewise.
19180         (tst-chk3-ENV): Likewise.
19181         (tst-chk4-ENV): Likewise.
19182         (tst-chk5-ENV): Likewise.
19183         (tst-chk6-ENV): Likewise.
19184         (tst-lfschk1-ENV): Likewise.
19185         (tst-lfschk2-ENV): Likewise.
19186         (tst-lfschk3-ENV): Likewise.
19187         (tst-lfschk4-ENV): Likewise.
19188         (tst-lfschk5-ENV): Likewise.
19189         (tst-lfschk6-ENV): Likewise.
19190         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
19191         (tst-iconv7-ENV): Likewise.
19192         * intl/Makefile (LOCPATH-ENV): Likewise.
19193         (tst-codeset-ENV): Likewise.
19194         (tst-gettext3-ENV): Likewise.
19195         (tst-gettext5-ENV): Likewise.
19196         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
19197         (tst-fopenloc-ENV): Likewise.
19198         (tst-fgetws-ENV): Remove variable.
19199         (tst-ungetwc1-ENV): Likewise.
19200         (tst-ungetwc2-ENV): Likewise.
19201         (bug-ungetwc2-ENV): Likewise.
19202         (tst-swscanf-ENV): Likewise.
19203         (bug-ftell-ENV): Likewise.
19204         (tst-fgetwc-ENV): Likewise.
19205         (tst-fseek-ENV): Likewise.
19206         (tst-ftell-partial-wide-ENV): Likewise.
19207         (tst-ftell-active-handler-ENV): Likewise.
19208         (tst-ftell-append-ENV): Likewise.
19209         * posix/Makefile (tst-fnmatch-ENV): Likewise.
19210         (tst-regexloc-ENV): Likewise.
19211         (bug-regex1-ENV): Likewise.
19212         (tst-regex-ENV): Likewise.
19213         (tst-regex2-ENV): Likewise.
19214         (bug-regex5-ENV): Likewise.
19215         (bug-regex6-ENV): Likewise.
19216         (bug-regex17-ENV): Likewise.
19217         (bug-regex18-ENV): Likewise.
19218         (bug-regex19-ENV): Likewise.
19219         (bug-regex20-ENV): Likewise.
19220         (bug-regex22-ENV): Likewise.
19221         (bug-regex23-ENV): Likewise.
19222         (bug-regex25-ENV): Likewise.
19223         (bug-regex26-ENV): Likewise.
19224         (bug-regex30-ENV): Likewise.
19225         (bug-regex32-ENV): Likewise.
19226         (bug-regex33-ENV): Likewise.
19227         (bug-regex34-ENV): Likewise.
19228         (bug-regex35-ENV): Likewise.
19229         (tst-rxspencer-ENV): Likewise.
19230         (tst-rxspencer-no-utf8-ENV): Likewise.
19231         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
19232         (tst-sscanf-ENV): Likewise.
19233         (tst-swprintf-ENV): Likewise.
19234         (tst-swscanf-ENV): Likewise.
19235         (test-vfprintf-ENV): Likewise.
19236         (scanf13-ENV): Likewise.
19237         (bug14-ENV): Likewise.
19238         (tst-grouping-ENV): Likewise.
19239         * stdlib/Makefile (tst-strtod-ENV): Likewise.
19240         (tst-strtod3-ENV): Likewise.
19241         (tst-strtod4-ENV): Likewise.
19242         (tst-strtod5-ENV): Likewise.
19243         (testmb2-ENV): Likewise./
19244         * string/Makefile (tst-strxfrm-ENV): Likewise.
19245         (tst-strxfrm2-ENV): Likewise.
19246         (bug-strcoll1-ENV): Likewise.
19247         (test-strcasecmp-ENV): Likewise.
19248         (test-strncasecmp-ENV): Likewise.
19249         * time/Makefile (tst-strptime-ENV): Likewise.
19250         (tst-ftime_l-ENV): Likewise.
19251         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
19252         (tst-mbrtowc-ENV): Likewise.
19253         (tst-wcrtomb-ENV): Likewise.
19254         (tst-mbrtowc2-ENV): Likewise.
19255         (tst-c16c32-1-ENV): Likewise.
19256         (tst-mbsnrtowcs-ENV): Likewise.
19258 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19260         * manual/resource.texi (How to get information about the memory
19261         subsystem?): Fix typo.
19262         Reported by Peon de la Parra Ivan <peon@keba.com>
19264 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
19266         [BZ #16882]
19267         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
19268         (pthread_spin_lock): Branch out of spin loop to proper location.
19269         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
19270         (pthread_spin_lock): Likewise.
19272         * nptl/tst-spin4.c: New test.
19273         * nptl/Makefile (tests): Add tst-spin4.
19275 2014-06-03  Andreas Schwab  <schwab@suse.de>
19277         [BZ #15946]
19278         * resolv/res_send.c (send_dg): Reload file descriptor after
19279         calling reopen.
19281 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
19283         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19285 2014-06-03  Richard Henderson  <rth@redhat.com>
19287         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
19288         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
19289         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
19290         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
19291         in the SAVE_PID block.
19292         (__libc_vfork): New alias.
19293         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
19295         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
19296         child in registers, not on the stack.  Remove RESET_PID conditionals.
19297         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
19299 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19301         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19303 2014-06-03  Wilco  <wdijkstr@arm.com>
19305         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
19306         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
19307         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19308         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
19309         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
19310         Likewise.
19312 2014-06-03  Wilco  <wdijkstr@arm.com>
19314         * sysdeps/aarch64/fpu/math_private.h
19315         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
19316         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
19317         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
19318         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19319         Fix declarations.
19321 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19323         * crypt/crypt-private.h: Include ufc-crypt.h.
19324         (__b64_from_24bit): Declare extern.
19325         * crypt/crypt_util.c(__b64_from_24bit): New function.
19326         (b64t): New static const variable.
19327         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
19328         (b64t): Remove variable.
19329         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
19330         * crypt/sha256-crypt.c: Include crypt-private.h.
19331         (b64t): Remove variable.
19332         (__sha256_crypt_r): Remove b64_from_24bit and replace
19333         with __b64_from_24bit.
19334         * crypt/sha512-crypt.c: Likewise.
19336 2014-06-02  Roland McGrath  <roland@hack.frob.com>
19338         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
19339         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
19340         Label the code __libc_vfork rather than __vfork.
19341         [!NOT_IN_libc] (vfork): Define as weak alias.
19342         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
19343         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
19344         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
19346 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19348         * malloc/malloc.c (malloc_info): Fix format specifier for
19349         n_mmaps.
19351 2014-06-02  Wilco  <wdijkstr@arm.com>
19353         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
19354         FPCR write.
19356 2014-06-02  Wilco  <wdijkstr@arm.com>
19358         [BZ #17009]
19359         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
19360         Rewrite to reduce FPCR/FPSR accesses.
19362 2014-06-01  David S. Miller  <davem@davemloft.net>
19364         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19366 2014-05-31  David S. Miller  <davem@davemloft.net>
19368         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
19369         to occur in round to nearest mode when |x| >= 2.0
19371 2014-05-30  Richard Henderson  <rth@twiddle.net>
19373         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
19374         (PSEUDO_RET_NOERRNO): Remove.
19375         (ret): Don't redefine.
19376         (ret_NOERRNO): Define in terms of ret.
19377         (ret_ERRVAL): Likewise.
19379         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
19380         use of PSEUDO_RET; perform the error check directly.
19382 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
19384         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
19385         with __int128_t.
19387 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19389         * malloc/malloc (malloc_info): Fix formatting.
19391 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19392             Roland McGrath  <roland@hack.frob.com>
19394         * malloc/malloc (malloc_info): Also print mmapped statistics.
19396 2014-05-30  Roland McGrath  <roland@hack.frob.com>
19398         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
19399         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
19401 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
19403         * malloc/malloc.c (malloc_info): Inline mi_arena.
19405 2014-05-29  Richard Henderson  <rth@twiddle.net>
19407         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
19408         Remove comma before expanding ASM_ARGS_##nr.
19409         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
19410         Make _x0 a strict output; make _x8 a strict input; adjust expansion
19411         of ASM_ARGS_##nr.
19412         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
19413         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
19414         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
19415         (ASM_ARGS_1): Add leading comma.
19417         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
19418         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
19419         to __errno_location.
19420         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
19421         Remove the expected plt for __errno_location.
19423         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19424         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
19425         call to __read_tp.
19427         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19428         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
19429         it and break it down.
19430         (DOCARGS_0, DOCARGS_1): Do nothing.
19431         (DOCARGS_2): Update to store into the new stack frame.
19432         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
19433         (UNDOCARGS_1): Update to restore from the new stack frame.
19434         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
19435         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
19437         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19438         (SINGLE_THREAD_P): New parameter for result regno.
19439         (PSEUDO): Update to match; use cbz instead of beq.
19441         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19442         Use ENTRY to define the _nocancel entry point.  Share the syscall
19443         and syscall error check paths with the cancel path.
19444         (PSEUDO_END): New.
19446         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
19447         whitespace; tabs before and after asm mnemonics.
19449 2014-05-29  Eric Wong  <normalperson@yhbt.net>
19451         [BZ #15132]
19452         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19453         Call fstat64 or stat64 internally, depending on arguments passed.
19454         Replace stat buffer argument with file descriptor argument.
19455         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
19456         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19457         Pass fd to __internal_statvfs instead of calling fstat64.
19458         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
19459         Pass fd to __internal_statvfs64 instead of calling fstat64.
19460         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
19461         Pass -1 to __internal_statvfs instead of calling stat64.
19462         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
19463         Pass -1 to __internal_statvfs64 instead of calling stat64.
19465 2014-05-28  Roland McGrath  <roland@hack.frob.com>
19467         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
19468         that was previously under [RESET_PID].
19469         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
19471         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
19472         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
19474 2014-05-27  Roland McGrath  <roland@hack.frob.com>
19476         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
19478         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
19479         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
19481 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
19483         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
19485 2014-05-27  Andreas Schwab  <schwab@suse.de>
19487         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
19488         TLS_INIT_TP macro.
19489         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
19490         * elf/rtld.c (init_tls, dl_main): Likewise.
19491         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
19492         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
19493         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
19494         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
19495         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
19496         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
19497         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
19498         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
19499         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
19500         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
19501         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
19502         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
19503         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
19504         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
19505         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
19506         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
19507         * sysdeps/generic/tls.h: Update description.
19509 2014-05-27  Will Newton  <will.newton@linaro.org>
19511         [BZ #16990]
19512         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
19513         and restore r2 rather than just restoring.
19515 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19517         [BZ #16724]
19518         * libio/tst-ftell-append.c: New test case.
19519         * libio/Makefile (tests): Add test case.
19520         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
19521         append mode.
19522         * libio/wfileops.c (do_ftell_wide): Likewise.
19524 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19528         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
19529         ...
19530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
19531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19532         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
19533         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
19534         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
19535         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
19536         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
19537         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
19538         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19539         Moved ...
19540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
19541         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19542         Moved ...
19543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
19544         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
19545         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
19546         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
19547         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
19548         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
19549         ...
19550         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
19551         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
19552         Moved ...
19553         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
19554         here.
19555         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
19556         ...
19557         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
19558         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
19559         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
19561         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
19562         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
19563         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
19564         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
19566         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
19567         merge into ...
19568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
19569         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
19570         ...
19571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
19572         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
19573         ...
19574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
19575         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19576         Moved ...
19577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
19578         here.
19579         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19580         Moved ...
19581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
19582         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19583         Moved ...
19584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
19586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
19587         conditional [RESET_PID].
19588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
19589         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
19590         removed.
19591         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
19592         removed.
19594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
19595         <tcb-offsets.h>.
19596         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19597         (__libc_vfork): New strong alias.
19598         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
19599         removed.
19600         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
19601         Removed.
19603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
19604         <tcb-offsets.h>.
19605         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
19606         (__libc_vfork): New strong alias.
19607         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
19608         removed.
19609         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
19610         removed.
19612 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
19614         * malloc/malloc.c (mi_arena): New function.
19615         (malloc_info): Remove nested function mi_arena. Call non-nosted
19616         function mi_arena.
19618 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19620         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
19621         by insrwi.
19622         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
19623         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
19624         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
19625         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
19626         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
19627         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
19628         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
19630 2014-05-26  Andreas Schwab  <schwab@suse.de>
19632         [BZ #16984]
19633         * locale/programs/repertoire.c (repertoire_read): Add slash
19634         between I18NPATH element and file name.
19635         * locale/programs/locfile.c (locfile_read): Likewise.
19637 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19639         * nptl/pthread_mutexattr_settype.c
19640         (__pthread_mutexattr_settype):
19641         Disable lock elision for PTHREAD_MUTEX_NORMAL.
19643 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19645         * nptl/tst-mutex5 (do_test):
19646         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
19648 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19650         * benchtests/README: Document 'init' directive.
19651         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
19652         BENCH_INIT.
19653         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
19654         (parse_file): Recognize 'init' directive.
19656 2014-05-26  Kyle McMartin  <kyle@redhat.com>
19658         [BZ #16796]
19659         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
19660         alignment of struct pthread.
19662 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19664         [BZ #16878]
19665         * nscd/netgroupcache.c (addgetnetgrentX): Look for
19666         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19667         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
19668         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19670 2014-05-25  Richard Henderson  <rth@twiddle.net>
19672         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19673         (SINGLE_THREAD_P_PIC): Remove.
19674         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
19675         (SINGLE_THREAD_P_PIC): Remove.
19677         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
19678         branch to syscall error ...
19679         (PSEUDO): ... here.
19680         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
19681         from __local_syscall_error to .Lsyscall_error.
19682         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
19683         (SYSCALL_ERROR): Update label name.
19685         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19686         Do not use DOARGS/UNDOARGS.
19687         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
19688         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
19689         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
19690         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
19691         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
19693         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
19694         block comment.
19696         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
19697         define if !NOT_IN_libc.
19698         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
19699         define with non-default symbol versions.
19701 2014-05-23  Richard Henderson  <rth@twiddle.net>
19703         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
19704         (vfork, __vfork): Define via compat_symbol.
19706         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
19707         [!HAVE_IFUNC] (vfork_compat): Remove.
19708         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19710 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19712         [BZ #16978]
19713         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
19714         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
19715         variable.
19717 2014-05-23  Richard Henderson  <rth@twiddle.net>
19719         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
19720         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
19721         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19722         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19724         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19725         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19726         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19727         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19728         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19729         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19730         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19731         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19732         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19733         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19734         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19735         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19736         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19737         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19738         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19739         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19740         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19741         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19742         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19743         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19744         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19745         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19746         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19747         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19748         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19749         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19750         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19751         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19752         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19753         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19754         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19755         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19756         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19757         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19758         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19759         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19760         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19761         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19762         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19763         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19764         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19765         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19766         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19767         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19768         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19769         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19770         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19771         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19772         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19773         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19774         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19775         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19776         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19777         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19778         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19779         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19781         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19782         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19783         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19784         before exiting on error.
19785         (__libc_vfork): New strong alias.
19786         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19787         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19789         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19790         that was previously under [RESET_PID].
19791         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19793         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19795 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19797         [BZ #16977]
19798         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19799         value when x - 1 is zero.
19800         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19801         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19802         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19803         0.0L for an argument of 1.0L.
19804         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19805         Likewise.
19806         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19807         value when x - 1 is zero.
19808         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19809         * sysdeps/i386/fpu/libm-test-ulps: Update.
19810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19812 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19814         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19815         alphasort and versionsort.
19817 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19819         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19820         macro.
19821         [copysignf]: Likewise.
19823 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19825         * crypt/md5-crypt.c: Fix formatting.
19827 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19829         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19830         (b64_from_24bit): New function.
19832 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19834         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19835         libc_hidden_builtin_def to ifunc.
19836         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19837         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19839 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19841         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19842         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19844 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19846         * nscd/Depend (linuxthreads): Remove.
19847         (nptl): Add.
19848         * resolv/Depend (linuxthreads): Remove.
19849         * rt/Depend (linuxthreads): Remove.
19851         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19852         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19853         $(common-objpfx)elf/.
19854         (link-libc-before-gnulib): Likewise.
19855         (elfobjdir): Remove variable.
19856         * Makefile (install): Use $(elf-objpfx) instead of
19857         $(common-objpfx)elf/.
19858         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19859         $(elfobjdir)/.
19860         (link-libc-deps): Likewise.
19861         ($(common-objpfx)libc.so): Likewise.
19862         ($(common-objpfx)linkobj/libc.so): Likewise.
19863         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19864         instead of $(common-objpfx)elf/.
19865         (symbolic-link-list): Likewise.
19866         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19867         [$(cross-compiling) = no]: Likewise.
19868         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19869         $(elfobjdir)/.
19870         (static-gnulib-arch): Likewise.
19871         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19872         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19873         $(common-objpfx)elf/.
19875 2014-05-21  Richard Henderson  <rth@redhat.com>
19877         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19878         (SINGLE_THREAD_P): Use the correct width load.  Fold
19879         into the ldr offset.
19881         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19882         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19884 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19886         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19887         (libgcc_s_resume): Use __attribute_used__.
19888         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19889         Likewise.
19891 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19893         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19894         optimization when used with float constants.
19896         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19898 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19900         [BZ #16915]
19901         * locale/nl_langinfo_l.c: Make direct reference to every
19902         _nl_current_CATEGORY symbol.
19903         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19904         (tests-static): Add tst-langinfo-static.
19905         (tests-special): Add tst-langinfo-static.out.
19906         ($(objpfx)tst-langinfo.out): Redirect output.
19907         ($(objpfx)tst-langinfo-static.out): New.
19908         * localedata/tst-langinfo.sh: Send output to stdout.
19909         * localedata/tst-langinfo-static.c: New file.
19911         [BZ #16965]
19912         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19913         when the shift amount is modulo the limb size.
19915 2014-05-20  Richard Henderson  <rth@redhat.com>
19917         [BZ #16967]
19918         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19919         Change type of sa_flags from unsigned int to int.
19921         [BZ #16966]
19922         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19924         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19926 2014-05-20  Will Newton  <will.newton@linaro.org>
19928         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19929         Test the return value of the system call in the nocancel case.
19931 2014-05-20  Will Newton  <will.newton@linaro.org>
19932             Yvan Roux  <yvan.roux@linaro.org>
19934         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19935         #include of asm/ptrace.h.
19936         (PTRACE_GET_THREAD_AREA): Remove #undef.
19937         (PTRACE_GETHBPREGS): Likewise.
19938         (PTRACE_SETHBPREGS): Likewise.
19939         (struct user_regs_struct): New structure.
19940         (struct user_fpsimd_struct): New structure.
19941         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19942         #include of asm/ptrace.h and second #include of sys/user.h.
19943         (PTRACE_GET_THREAD_AREA): Remove #undef.
19944         (PTRACE_GETHBPREGS): Likewise.
19945         (PTRACE_SETHBPREGS): Likewise.
19946         (ELF_NGREG): Use new struct user_regs_struct.
19947         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19949 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19951         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19952         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19954 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19956         [BZ #16958]
19957         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19958         membar to avoid block loads/stores to overlap previous stores.
19960 2014-05-17  Richard Henderson  <rth@redhat.com>
19962         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19963         Create the __##syscall_name##_nocancel entry point.
19964         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19965         Remove; let the sysdep-cancel.h code create it.
19967 2014-05-17  David S. Miller  <davem@davemloft.net>
19969         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19970         Protect with __USE_GNU.
19971         (TIOCSET_TEMPT): Likewise.
19972         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19973         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19974         these are already provided in bits/ioctl-types.h
19976 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19978         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19979         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19981         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19982         Use wait4 regardless of [__NR_waitpid].
19984 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19986         PR libgcc/60166
19987         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19988         (_FP_NANSIGN_Q): Set the quiet bit.
19990 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19992         * benchtests/Makefile
19993         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19994         not $(common-objpfx)math/libm.so.
19995         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19996         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19997         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19998         $(common-objpfx)dlfcn/libdl.so.
19999         ($(objpfx)tst-audit8): Depend on $(libm), not
20000         $(common-objpfx)math/libm.so.
20001         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
20002         not $(common-objpfx)dlfcn/libdl.so.
20003         * math/Makefile
20004         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20005         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
20006         [$(build-shared) = yes].
20007         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
20008         $(common-objpfx)nptl/libpthread.so.
20009         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
20010         $(common-objpfx)math/libm.so$(libm.so-version) or
20011         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
20012         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
20013         $(common-objpfx)dlfcn/libdl.so.
20014         * setjmp/Makefile (link-libm): Remove variable.
20015         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
20016         * stdio-common/Makefile (link-libm): Remove variable.
20017         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
20018         * stdlib/Makefile (link-libm): Remove variable.
20019         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
20020         ($(objpfx)tst-strtod-round): Likewise.
20021         ($(objpfx)tst-tininess): Likewise.
20022         ($(objpfx)tst-strtod-underflow): Likewise.
20023         ($(objpfx)tst-strtod6): Likewise.
20024         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
20025         $(libdl), not $(common-objpfx)nptl/libpthread.so and
20026         $(common-objpfx)dlfcn/libdl.so.
20028 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20030         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
20031         BSD terminal modes definitions.
20033 2014-05-16  Roland McGrath  <roland@hack.frob.com>
20035         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
20036         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
20038         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
20039         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
20040         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
20041         Don't do #include_next.
20042         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
20043         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
20044         Don't do #include_next.
20045         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
20046         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
20047         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
20048         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
20050 2014-05-16  Allan McRae  <allan@archlinux.org>
20052         * po/sv.po: Update Swedish translation from translation project.
20054         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
20055         in sed expression.
20057 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
20059         [BZ #16917]
20060         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
20061         errno if the TIOCGPTN ioctl fails with an error different than
20062         EINVAL.
20063         * login/tst-ptsname.c: New file.
20064         * login/Makefile (tests): Add tst-ptsname.
20066         [BZ #16943]
20067         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
20068         and prlimit64.
20070 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20072         [BZ #16849]
20073         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
20074         herrno to return EAI_AGAIN.
20076 2014-05-14  Roland McGrath  <roland@hack.frob.com>
20078         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
20079         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
20080         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
20081         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
20082         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
20083         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
20084         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
20085         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
20086         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
20087         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
20088         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
20089         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
20090         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
20091         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
20092         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
20093         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
20094         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
20095         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
20096         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
20097         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
20098         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
20099         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
20100         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
20101         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
20102         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
20103         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
20104         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
20105         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
20106         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
20107         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
20108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
20109         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
20110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
20111         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
20112         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20113         Moved ...
20114         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
20115         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
20116         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
20117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
20118         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
20119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
20120         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
20121         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
20122         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
20123         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
20124         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
20125         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
20126         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
20127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
20128         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
20129         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
20130         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
20131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
20132         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
20133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
20134         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
20135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
20136         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
20137         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
20138         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
20139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
20140         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
20141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20142         Moved ...
20143         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
20144         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
20145         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
20146         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
20147         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
20148         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
20149         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
20150         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
20151         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
20152         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
20153         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
20154         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
20155         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
20156         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
20157         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
20158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
20159         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
20160         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
20161         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
20162         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20163         Moved ...
20164         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
20165         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
20166         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
20168         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
20169         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
20170         (libpthread-sysdep_routines): Add elision-related stuff here instead.
20171         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
20172         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
20173         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
20174         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
20175         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
20176         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
20177         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
20178         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
20179         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
20180         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
20181         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
20182         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
20183         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
20184         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
20185         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
20186         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
20187         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
20188         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
20189         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
20190         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
20191         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
20192         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
20193         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
20194         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
20195         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
20196         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
20197         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
20198         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
20200         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
20201         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
20203         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
20204         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
20205         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
20206         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
20207         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
20208         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
20209         Moved ...
20210         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
20211         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20212         Moved ...
20213         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
20214         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20215         Moved ...
20216         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
20217         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
20218         Moved ...
20219         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
20220         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
20221         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
20222         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20223         Moved ...
20224         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
20225         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
20226         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
20227         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
20228         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
20229         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
20230         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
20231         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20232         Moved ...
20233         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
20234         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20235         Moved ...
20236         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20237         ... here.
20238         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
20239         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
20240         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
20241         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
20242         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20243         Moved ...
20244         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20245         ... here.
20246         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
20247         Moved ...
20248         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
20249         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
20250         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
20251         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
20252         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
20253         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
20254         Moved ...
20255         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
20256         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20257         Moved ...
20258         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
20259         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20260         Moved ...
20261         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
20262         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
20263         Moved ...
20264         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
20265         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
20266         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
20267         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
20268         Moved ...
20269         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
20270         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
20271         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
20272         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
20273         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
20274         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
20275         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
20276         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
20277         Moved ...
20278         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
20279         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20280         Moved ...
20281         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20282         ... here.
20283         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
20284         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
20285         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
20286         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
20287         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20288         Moved ...
20289         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20290         ... here.
20291         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
20292         Moved ...
20293         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
20294         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
20295         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
20296         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
20297         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
20298         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
20299         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
20300         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
20301         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
20302         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
20303         Moved ...
20304         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
20305         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
20306         Moved ...
20307         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
20308         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
20309         Moved ...
20310         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
20311         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
20312         Moved ...
20313         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
20314         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
20315         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
20316         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
20317         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
20318         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
20319         Moved ...
20320         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
20321         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
20322         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
20323         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
20324         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
20325         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
20326         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
20327         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
20328         Moved ...
20329         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
20330         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20331         Moved ...
20332         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20333         ... here.
20334         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
20335         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
20336         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
20337         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
20338         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20339         Moved ...
20340         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20341         ... here.
20342         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
20343         Moved ...
20344         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
20345         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
20346         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
20347         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
20348         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
20349         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
20350         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
20351         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
20352         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
20353         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
20354         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
20356         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
20357         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
20359         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
20360         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
20362         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
20363         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
20364         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
20365         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
20366         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
20367         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
20368         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
20369         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
20370         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
20371         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
20372         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
20373         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
20374         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
20375         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
20376         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
20377         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
20378         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
20379         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
20380         Moved ...
20381         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
20382         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
20383         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
20384         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
20385         Moved ...
20386         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
20387         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
20388         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
20389         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
20390         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
20391         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
20392         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
20393         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
20394         Moved ...
20395         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
20396         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
20397         Moved ...
20398         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
20399         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
20400         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
20401         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
20402         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
20403         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
20404         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
20405         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
20406         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
20407         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
20408         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
20409         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
20410         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
20411         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
20412         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
20413         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
20414         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
20416         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
20417         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
20418         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
20419         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
20420         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
20422         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
20423         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
20424         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
20425         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
20426         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
20427         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
20428         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
20429         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
20430         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
20431         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
20433         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
20434         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
20436         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
20437         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
20438         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
20439         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
20440         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
20441         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
20442         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
20443         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
20444         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
20445         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
20446         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
20447         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
20448         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
20449         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
20450         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
20451         Update #include.
20452         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
20453         Likewise.
20454         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20455         Likewise.
20456         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20457         Likewise.
20458         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20459         Likewise.
20460         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
20461         Likewise.
20462         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
20463         Likewise.
20464         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
20465         Likewise.
20466         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
20467         Likewise.
20468         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
20469         Likewise.
20470         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
20471         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
20472         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
20473         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
20474         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
20475         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
20476         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
20477         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
20478         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
20479         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
20480         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
20481         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
20482         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
20483         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
20484         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
20486         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
20487         that was previously under [RESET_PID].
20488         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20489         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
20490         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
20492         * sysdeps/i386/nptl/Implies: New file.
20493         * sysdeps/x86_64/nptl/Implies: New file.
20494         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
20495         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
20496         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
20497         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
20499         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
20500         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20501         (__libc_vfork): New strong alias.
20502         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
20503         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
20505         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
20506         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20507         (__libc_vfork): New strong alias.
20508         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
20509         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
20511         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
20512         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20513         (__libc_vfork): New strong alias.
20514         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
20515         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
20516         * nptl/pt-vfork.c: New file.
20517         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
20518         (libpthread: GLIBC_2.20): New version set (empty).
20520 2014-05-14  Will Newton  <will.newton@linaro.org>
20522         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
20523         rather than #if.
20525 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20527         [BZ #16564]
20528         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
20529         arguments with exponent 65 or above.
20530         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
20531         arguments 0x1p113L or above.
20532         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
20533         to arguments 0x1p107L or above.
20534         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
20535         positive arguments with exponent 65 or above.
20536         * math/auto-libm-test-in: Add more tests of log1p.
20537         * math/auto-libm-test-out: Regenerated.
20539         [BZ #16928]
20540         * math/s_cacos.c (__cacos): Ensure zero real part of result from
20541         non-finite arguments is +0.
20542         * math/s_cacosf.c (__cacosf): Likewise.
20543         * math/s_cacosl.c (__cacosl): Likewise.
20544         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
20545         * sysdeps/i386/fpu/libm-test-ulps: Update.
20546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20548         [BZ #16927]
20549         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
20550         value.
20551         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
20552         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
20553         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
20554         for explicit high bit of mantissa when testing for argument equal
20555         to 1.
20556         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
20557         * sysdeps/i386/fpu/libm-test-ulps: Update.
20558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20560         [BZ #16516]
20561         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
20562         (__erf): Scale by 16 instead of 8 in potentially underflowing
20563         case.  Ensure exception if result actually underflows.
20564         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
20565         (__erff): Scale by 16 instead of 8 in potentially underflowing
20566         case.  Ensure exception if result actually underflows.
20567         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
20568         (efx8): Remove variable.
20569         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20570         case.  Ensure exception if result actually underflows.
20571         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
20572         (efx8): Remove variable.
20573         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20574         case.  Ensure exception if result actually underflows.
20575         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
20576         (efx8): Remove variable.
20577         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20578         case.  Ensure exception if result actually underflows.
20579         * math/auto-libm-test-in: Add more tests of erf.
20580         * math/auto-libm-test-out: Regenerated.
20582 2014-05-14  Andreas Schwab  <schwab@suse.de>
20584         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
20585         Remove code conditionalized on USE___THREAD.
20587         * config.h.in (HAVE_PT_CHOWN): Define as 0.
20588         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
20589         not definedness.
20591 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20593         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
20594         Define unconditionally.
20595         (__ASSUME_O_CLOEXEC): Likewise.
20596         (__ASSUME_SOCK_CLOEXEC): Likewise.
20597         (__ASSUME_IN_NONBLOCK): Likewise.
20598         (__ASSUME_PIPE2): Likewise.
20599         (__ASSUME_EVENTFD2): Likewise.
20600         (__ASSUME_SIGNALFD4): Likewise.
20601         (__ASSUME_DUP3): Likewise.
20602         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20603         (__ASSUME_DUP3): Do not define.
20604         (__ASSUME_EVENTFD2): Likewise.
20605         (__ASSUME_IN_NONBLOCK): Likewise.
20606         (__ASSUME_O_CLOEXEC): Likewise.
20607         (__ASSUME_PIPE2): Likewise.
20608         (__ASSUME_SIGNALFD4): Likewise.
20609         (__ASSUME_SOCK_CLOEXEC): Likewise.
20610         (__ASSUME_UTIMES): Undefine.
20611         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20612         (__ASSUME_UTIMES): Do not define.
20613         (__ASSUME_O_CLOEXEC): Likewise.
20614         (__ASSUME_SOCK_CLOEXEC): Likewise.
20615         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
20616         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
20617         0x020621].
20618         (__ASSUME_PIPE2): Likewise.
20619         (__ASSUME_EVENTFD2): Likewise.
20620         (__ASSUME_SIGNALFD4): Likewise.
20621         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
20622         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
20623         Do not define.
20624         (__ASSUME_EVENTFD2): Likewise.
20625         (__ASSUME_SIGNALFD4): Likewise.
20626         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20627         (__ASSUME_32BITUIDS): Likewise.
20628         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20629         (__ASSUME_IPC64): Likewise.
20630         (__ASSUME_ST_INO_64_BIT): Likewise.
20631         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
20632         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
20633         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20634         (__ASSUME_UTIMES): Do not define.
20635         (__ASSUME_PSELECT): Likewise.
20636         (__ASSUME_PPOLL): Likewise.
20637         (__ASSUME_O_CLOEXEC): Likewise.
20638         (__ASSUME_SOCK_CLOEXEC): Likewise.
20639         (__ASSUME_IN_NONBLOCK): Likewise.
20640         (__ASSUME_PIPE2): Likewise.
20641         (__ASSUME_EVENTFD2): Likewise.
20642         (__ASSUME_SIGNALFD4): Likewise.
20643         (__ASSUME_DUP3): Likewise.
20644         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20645         (__ASSUME_UTIMES): Likewise.
20646         (__ASSUME_O_CLOEXEC): Likewise.
20647         (__ASSUME_SOCK_CLOEXEC): Likewise.
20648         (__ASSUME_IN_NONBLOCK): Likewise.
20649         (__ASSUME_PIPE2): Likewise.
20650         (__ASSUME_EVENTFD2): Likewise.
20651         (__ASSUME_SIGNALFD4): Likewise.
20652         (__ASSUME_DUP3): Likewise.
20653         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20654         (__ASSUME_UTIMES): Likewise.
20655         (__ASSUME_O_CLOEXEC): Likewise.
20656         (__ASSUME_SOCK_CLOEXEC): Likewise.
20657         (__ASSUME_IN_NONBLOCK): Likewise.
20658         (__ASSUME_PIPE2): Likewise.
20659         (__ASSUME_EVENTFD2): Likewise.
20660         (__ASSUME_SIGNALFD4): Likewise.
20661         (__ASSUME_DUP3): Likewise.
20662         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
20663         Likewise.
20664         (__ASSUME_UTIMES): Likewise.
20665         (__ASSUME_EVENTFD2): Likewise.
20666         (__ASSUME_SIGNALFD4): Likewise.
20667         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20668         (__ASSUME_O_CLOEXEC): Likewise.
20669         (__ASSUME_SOCK_CLOEXEC): Likewise.
20670         (__ASSUME_IN_NONBLOCK): Likewise.
20671         (__ASSUME_PIPE2): Likewise.
20672         (__ASSUME_EVENTFD2): Likewise.
20673         (__ASSUME_SIGNALFD4): Likewise.
20674         (__ASSUME_DUP3): Likewise.
20675         (__ASSUME_UTIMES): Undefine.
20677         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
20678         feclearexcept.  Remove symbol versioning code.
20679         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
20680         symbol versioning code.
20681         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
20682         symbol versioning code.
20683         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
20684         feupdateenv.  Remove symbol versioning code.
20685         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
20686         fegetexceptflag.  Remove symbol versioning code.
20687         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
20688         fesetexceptflag.  Remove symbol versioning code.
20689         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
20690         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
20691         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
20692         (__posix_fadvise64_l32): Remove prototype.
20693         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
20694         code.
20696 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20698         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
20699         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
20700         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
20701         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
20703 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
20705         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
20706         current working directory
20708 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20710         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
20711         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
20712         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
20713         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
20714         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20715         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
20716         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
20717         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
20718         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
20719         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
20720         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
20721         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
20722         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20723         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20724         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20725         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20726         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20727         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20728         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20729         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20730         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20731         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20732         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20733         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20734         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20735         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20736         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20737         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20738         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20739         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20740         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20741         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20742         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20743         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20744         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20745         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20746         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20747         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20748         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20749         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20750         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20751         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20753         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20754         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20756         * sysdeps/unix/sysv/linux/arm/Makefile
20757         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20758         Add rt-aeabi_unwind_cpp_pr1.
20759         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20760         Add nptl-aeabi_unwind_cpp_pr1.
20761         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20762         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20763         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20764         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20765         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20766         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20768         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20769         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20770         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20771         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20773         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20774         Deconditionalize the code that was previously under [RESET_PID].
20775         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20777         * sysdeps/generic/exit-thread.h: New file.
20778         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20779         * include/unistd.h (__exit_thread): Remove declaration.
20780         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20781         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20782         * csu/libc-start.c: Include <exit-thread.h>.
20783         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20784         * nptl/pthread_create.c: Include <exit-thread.h>.
20785         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20786         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20787         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20788         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20789         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20790         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20791         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20792         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20793         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20794         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20795         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20796         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20797         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20798         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20799         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20800         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20801         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20803 2014-05-13  Andreas Schwab  <schwab@suse.de>
20805         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20807 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20809         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20810         (__ASSUME_UTIMES): Do not condition on kernel version.
20811         (__ASSUME_PSELECT): Define unconditionally.
20812         (__ASSUME_PPOLL): Likewise.
20813         (__ASSUME_ATFCTS): Likewise.
20814         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20815         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20816         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20817         (__ASSUME_UTIMENSAT): Define unconditionally.
20818         (__ASSUME_PRIVATE_FUTEX): Likewise.
20819         (__ASSUME_FALLOCATE): Likewise.
20820         (__ASSUME_O_CLOEXEC): Likewise.
20821         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20822         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20823         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20824         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20825         (__ASSUME_IN_NONBLOCK): Likewise.
20826         (__ASSUME_PIPE2): Likewise.
20827         (__ASSUME_EVENTFD2): Likewise.
20828         (__ASSUME_SIGNALFD4): Likewise.
20829         (__ASSUME_DUP3): Likewise.
20830         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20831         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20832         (__ASSUME_AT_RANDOM): Likewise.
20833         (__ASSUME_PREADV): Likewise.
20834         (__ASSUME_PWRITEV): Likewise.
20835         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20836         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20837         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20838         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20839         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20840         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20841         (__ASSUME_O_CLOEXEC): Define unconditionally.
20842         (__ASSUME_PSELECT): Do not undefine conditionally.
20843         (__ASSUME_PPOLL): Likewise.
20844         (__ASSUME_ATFCTS): Likewise.
20845         (__ASSUME_SET_ROBUST_LIST): Likewise.
20846         (__ASSUME_UTIMENSAT): Likewise.
20847         (__ASSUME_FDATASYNC): Define unconditionally.
20848         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20849         (__ASSUME_SIGFRAME_V2): Likewise.
20850         )__ASSUME_EVENTFD2): Likewise.
20851         (__ASSUME_SIGNALFD4): Likewise.
20852         (__ASSUME_PSELECT): Do not undefine conditionally.
20853         (__ASSUME_PPOLL): Likewise.
20854         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20855         (__ASSUME_PSELECT): Define unconditionally.
20856         (__ASSUME_PPOLL): Likewise.
20857         (__ASSUME_O_CLOEXEC): Likewise.
20858         (__ASSUME_SOCK_CLOEXEC): Likewise.
20859         (__ASSUME_IN_NONBLOCK): Likewise.
20860         (__ASSUME_PIPE2): Likewise.
20861         (__ASSUME_EVENTFD2): Likewise.
20862         (__ASSUME_SIGNALFD4): Likewise.
20863         (__ASSUME_DUP3): Likewise.
20864         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20865         (__ASSUME_O_CLOEXEC): Likewise.
20866         (__ASSUME_SOCK_CLOEXEC): Likewise.
20867         (__ASSUME_IN_NONBLOCK): Likewise.
20868         (__ASSUME_PIPE2): Likewise.
20869         (__ASSUME_EVENTFD2): Likewise.
20870         (__ASSUME_SIGNALFD4): Likewise.
20871         (__ASSUME_DUP3): Likewise.
20872         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20873         (__ASSUME_EVENTFD2): Likewise.
20874         (__ASSUME_SIGNALFD4): Likewise.
20875         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20877 2014-05-12  Andreas Schwab  <schwab@suse.de>
20879         [BZ #16932]
20880         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20881         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20882         than maximum RPC packet size.
20883         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20884         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20885         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20886         (_nss_nis_getservbyport_r): Likewise.
20888 2014-05-12  Will Newton  <will.newton@linaro.org>
20890         * malloc/Makefile (tests): Add tst-mallopt.
20891         * malloc/tst-mallopt.c: New file.
20893 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20895         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20896         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20898 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20900         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20901         (tst-tlsmod6.so): Likewise.
20903 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20905         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20907 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20909         [BZ #16064]
20910         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20911         and <dl-procinfo.h>.
20912         (__fegetenv): Save SSE state in envp->__eip if supported.
20913         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20914         envp->__eip if supported.
20915         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20916         and <dl-procinfo.h>.
20917         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20918         __data_offset and __data_selector in environment to 0.  Set SSE
20919         state if supported.
20920         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20921         test-fenv-sse.
20922         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20923         -mfpmath=sse.
20924         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20926 2014-05-09  Will Newton  <will.newton@linaro.org>
20928         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20929         and libc_relro_required for ARM.
20930         * sysdeps/arm/preconfigure: Regenerate.
20932 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20933             Stefan Liebler  <stli@linux.vnet.ibm.com>
20935         * config.make.in (enable-lock-elision): New Makefile variable.
20936         * configure.ac: Likewise.
20937         * configure: Regenerate.
20938         * sysdeps/s390/configure.ac:
20939         Add check for gcc transactions support.
20940         * sysdeps/s390/configure: Regenerate.
20941         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20942         Build elision files if enabled.
20943         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20944         Add lock elision support for s390.
20945         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20946         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20947         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20948         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20949         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20950         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20951         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20952         Likewise.
20953         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20954         Likewise.
20955         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20956         Likewise.
20957         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20958         Likewise.
20959         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20960         (__lll_timedlock_elision, __lll_lock_elision)
20961         (__lll_unlock_elision, __lll_trylock_elision)
20962         (lll_timedlock_elision, lll_lock_elision)
20963         (lll_unlock_elision, lll_trylock_elision): Add.
20964         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20965         (pthread_mutex_t): Add lock elision support for s390.
20967 2014-05-14  Wilco  <wdijkstr@arm.com>
20969         * sysdeps/arm/fclrexcpt.c: Cleanup.
20970         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20971         * sysdeps/arm/feenablxcpt.c: Cleanup.
20972         * sysdeps/arm/fegetenv.c: Cleanup.
20973         * sysdeps/arm/fegetexcept.c: Cleanup.
20974         * sysdeps/arm/fegetround.c: Cleanup.
20975         * sysdeps/arm/feholdexcpt.c: Cleanup.
20976         * sysdeps/arm/fesetenv.c: Cleanup.
20977         * sysdeps/arm/fesetround.c: Cleanup.
20978         * sysdeps/arm/feupdateenv.c: Cleanup.
20979         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20980         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20981         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20982         * sysdeps/arm/ftestexcept.c: Cleanup.
20983         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20984         * sysdeps/arm/setfpucw.c: Cleanup.
20986 2014-05-09  Will Newton  <will.newton@linaro.org>
20988         * sysdeps/arm/armv7/strcmp.S: New file.
20989         * NEWS: Mention addition of ARMv7 optimized strcmp.
20991 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20993         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20994         look for %.ac rather than %.in.
20996         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20997         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20998         * sysdeps/mach/hurd/configure: Regenerated.
20999         * sysdeps/unix/sysv/linux/configure: Regenerated.
21001         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
21003 2014-05-07  Steve Ellcey  <sellcey@mips.com>
21005         [BZ# 16922]
21006         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
21007         (LONG_SUB): Ditto.
21008         (PTR_SUB): Ditto.
21010 2014-05-07  Andreas Schwab  <schwab@suse.de>
21012         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
21013         when skipping over non-matching result from nscd.
21015 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
21017         [BZ #16876]
21018         * nptl/sockperf.c (client): Check socket return value.
21020         [BZ #16877]
21021         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
21022         nscd security class.
21024 2014-05-06  Roland McGrath  <roland@hack.frob.com>
21026         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
21027         * sysdeps/arm/unwind.h: ... here.
21029 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
21031         [BZ# 16916]
21032         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
21033         Define.
21035 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21037         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
21038         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
21039         multiarch strncpy for PPC64.
21040         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
21041         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
21042         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
21043         multiarch optimizations.
21044         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21045         (__libc_ifunc_impl_list): Likewise.
21046         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
21047         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
21048         multiarch stpncpy for PPC64.
21049         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
21050         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
21052 2014-05-06  Andreas Schwab  <schwab@suse.de>
21054         [BZ #16912]
21055         * gmon/mcount.c (_MCOUNT_DECL): Use
21056         atomic_compare_and_exchange_bool_acq instead of
21057         catomic_compare_and_exchange_bool_acq.
21059 2014-05-05  Roland McGrath  <roland@hack.frob.com>
21061         * elf/Makefile (others, install-bin): Remove pldd.
21062         (pldd-modules): Variable removed.
21063         ($(objpfx)pldd): Target removed.
21064         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
21065         (others, install-bin): Append pldd here.
21066         ($(objpfx)pldd): New target.
21068         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
21069         to 0, so the first #if test emitted later doesn't see it undefined.
21070         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
21071         * sysdeps/gnu/errlist.c: Regenerated.
21073 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21075         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21076         [libc_hidden_builtin_def]: Define to empty value.
21077         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
21078         [libc_hidden_builtin_def]: Likewise.
21079         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
21080         [libc_hidden_builtin_def]: Likewise.
21081         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
21082         [libc_hidden_builtin_def]: Likewise.
21083         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
21084         __redirect_memcpy and define ifunc as default hidden symbol.
21085         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
21086         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
21088 2014-05-04  Adam Conrad  <adconrad@0c3.net>
21090         * locale/iso-4217.def: Reintroduce XDR currency.
21092 2014-05-04  Allan McRae  <allan@archlinux.org>
21094         * po/eo.po: Update Esperanto translation from translation project.
21096 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
21098         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
21099         and FEATURE_INDEX_MAX to 1.
21100         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
21102 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21104         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
21105         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
21106         * iconvdata/big5.c (ONE_DIRECTION): Define.
21107         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
21108         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
21109         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
21110         * iconvdata/cp932.c (ONE_DIRECTION): Define.
21111         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
21112         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
21113         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
21114         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
21115         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
21116         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
21117         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
21118         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
21119         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
21120         * iconvdata/gbk.c (ONE_DIRECTION): Define.
21121         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
21122         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
21123         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
21124         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
21125         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
21126         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
21127         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
21128         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
21129         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
21130         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
21131         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
21132         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
21133         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
21134         * iconvdata/iso646.c (ONE_DIRECTION): Define.
21135         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
21136         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
21137         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
21138         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
21139         * iconvdata/johab.c (ONE_DIRECTION): Define.
21140         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
21141         * iconvdata/sjis.c (ONE_DIRECTION): Define.
21142         * iconvdata/t.61.c (ONE_DIRECTION): Define.
21143         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
21144         * iconvdata/tscii.c (ONE_DIRECTION): Define.
21145         * iconvdata/uhc.c (ONE_DIRECTION): Define.
21146         * iconvdata/unicode.c (ONE_DIRECTION): Define.
21147         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
21148         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
21149         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
21151 2014-05-01  Roland McGrath  <roland@hack.frob.com>
21153         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
21154         (_IO_JUMPS_OFFSET): Define to 0.
21156         * nptl/sysdeps/pthread/bits/libc-lock.h
21157         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21158         (__libc_lock_define_initialized_recursive): Always define using
21159         initializer.  Modern compilers treat uninitialized (implicit zero) and
21160         explicit zero initializers the same (i.e. put the datum in bss).
21162 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21164         * nscd/nscd-client.h: Include <string.h>.
21166 2014-05-01  David S. Miller  <davem@davemloft.net>
21168         [BZ #16885]
21169         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
21170         multiple zero bytes exist at the end of a string.
21171         Reported by Aurelien Jarno <aurelien@aurel32.net>
21173         * string/test-strcmp.c (check): Add explicit test for situations where
21174         there are multiple zero bytes after the first.
21176 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21178         [BZ #16890]
21179         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
21180         when compiling wprintf.
21181         * stdio-common/tstdiomisc.c (t3): New function.
21182         (main): Call it.
21184 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21186         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
21187         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
21188         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
21189         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
21191 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21193         * stdlib/longlong.h: Updated from GCC.
21195 2014-05-01  Will Newton  <will.newton@linaro.org>
21196             Bernard Ogden  <bernie.ogden@linaro.org>
21198         * NEWS: Update fixed bug list.
21200         [BZ #15119]
21201         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
21203 2014-04-30  David S. Miller  <davem@davemloft.net>
21205         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
21206         (libc_feholdexcept_setround_sparc_ctx): New function.
21207         (libc_fesetenv_sparc_ctx): Likewise.
21208         (libc_feupdateenv_sparc_ctx): Likewise.
21209         (libc_feholdsetround_sparc_ctx): Likewise.
21210         (libc_feholdexcept_setround_ctx): Define.
21211         (libc_feholdexcept_setroundf_ctx): Likewise.
21212         (libc_feholdexcept_setroundl_ctx): Likewise.
21213         (libc_fesetenv_ctx): Likewise.
21214         (libc_fesetenvf_ctx): Likewise.
21215         (libc_fesetenvl_ctx): Likewise.
21216         (libc_feupdateenv_ctx): Likewise.
21217         (libc_feupdateenvf_ctx): Likewise.
21218         (libc_feupdateenvl_ctx): Likewise.
21219         (libc_feresetround_ctx): Likewise.
21220         (libc_feresetroundf_ctx): Likewise.
21221         (libc_feresetroundl_ctx): Likewise.
21222         (libc_feholdsetround_ctx): Likewise.
21223         (libc_feholdsetroundf_ctx): Likewise.
21224         (libc_feholdsetroundl_ctx): Likewise.
21226         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21227         with __USE_GNU instead of XOPEN cpp guards.
21229         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
21230         0.
21232         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21233         with XOPEN cpp guards.
21235 2014-04-30  Julian Brown  <julian@codesourcery.com>
21237         [BZ #16888]
21238         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
21239         handling.
21241 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
21243         [BZ #9894]
21244         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21245         Change to 2.6.32.
21246         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
21247         * sysdeps/unix/sysv/linux/configure: Regenerated.
21248         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
21249         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
21250         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
21251         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
21252         * README: Update reference to required Linux kernel version.
21253         * manual/install.texi (Linux): Update reference to required Linux
21254         kernel headers version.
21255         * INSTALL: Regenerated.
21257         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
21258         header inclusion.
21259         [POSIX] (limits.h): Likewise.
21260         [POSIX] (math.h): Likewise.
21261         [POSIX] (sys/wait.h): Likewise.
21262         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
21263         function.
21264         [POSIX] (stddef.h): Do not allow header inclusion.
21266 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21268         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
21270 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
21272         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21273         Return immediately after lll_futex_wake.
21275 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21277         [BZ #16791]
21278         * nscd/nscd-client.h (datahead_init_common): Initialize entire
21279         structure.
21280         (datahead_init_pos): Call datahead_init_common early.
21281         (datahead_init_neg): Likewise.
21283         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
21284         datahead_init_neg): New functions.
21285         * nscd/aicache.c (addhstaiX): Use them.
21286         * nscd/grpcache.c (cache_addgr): Likewise.
21287         * nscd/hstcache.c (cache_addhst): Likewise.
21288         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21289         * nscd/netgroupcache.c (do_notfound): Likewise.
21290         (addgetnetgrentX): Likewise.
21291         (addinnetgrX): Likewise.
21292         * nscd/pwdcache.c (cache_addpw): Likewise.
21293         * nscd/servicescache.c (cache_addserv): Likewise.
21295 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21296             Atsushi Onoe  <atsushi@onoe.org>
21298         [BZ #14308]
21299         [BZ #12994]
21300         [BZ #13651]
21301         * resolv/res_query.c (__libc_res_nsearch): Return if at least
21302         one response is valid.
21303         * resolv/res_send.c (send_dg): Check for validity of other
21304         response if the current response is a referral.
21306 2014-04-29  Steve Ellcey  <sellcey@mips.com>
21308         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
21310 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
21312         [BZ #16823]
21313         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
21314         Always divide by positive zero when computing -Inf result.
21315         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21316         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21318 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21320         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
21321         FPSCR if value do not change.
21322         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21323         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
21324         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21325         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21326         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
21327         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
21328         function.
21330 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
21332         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
21333         * sysdeps/unix/sysv/linux/hppa: Move directory from
21334         ports/systeps/unix/sysv/linux/hppa.
21335         * README: Update listing for hppa-*-linux-gnu.
21337 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
21339         [BZ #16754]
21340         * manual/stdio.texi (Hook functions): Fix types of stream hook
21341         functions.
21342         [BZ #16854]
21343         * socket/sys/socket.h: Fix typo in comment.
21345 2014-04-28  Wilco  <wdijkstr@arm.com>
21347         * sysdeps/arm/fenv_private.h: New file.
21348         * sysdeps/arm/math_private.h: New file.
21349         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
21351 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
21353         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
21354         with __int128_t.
21355         (La_x86_64_retval): Likewise.
21357 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
21359         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
21360         fpsr if value didn't change.
21361         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
21362         to fpcr if value didn't change.
21363         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
21364         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
21365         fpsr or fpcr if value didn't change.
21366         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21367         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
21368         fpcr if value didn't change.
21369         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
21370         to fpsr if value didn't change.
21372 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21374         * nptl/tst-sem3.c: Use test-skeleton.c
21375         (main): Rename to do_test.  Use return instead of
21376         exit.
21377         * nptl/tst-sem4.c: Use test-skeleton.c
21378         (main): Rename to do_test.
21380 2014-04-22  David S. Miller  <davem@davemloft.net>
21382         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
21383         (struct sigaction): New struct member __glibc_reserved0, change
21384         type of sa_flags to int.
21386 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
21388         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
21389         (COUNT_LEADING_ZEROS_0): Define for AArch64.
21391 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21393         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
21394         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
21396 2014-04-22  Will Newton  <will.newton@linaro.org>
21397             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
21399         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
21400         (__longjmp): Add longjmp and longjmp_target SystemTap
21401         probes.
21402         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
21403         (__sigsetjmp): Add setjmp SystemTap probe.
21405 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
21407         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
21408         match manual order.
21410 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21412         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
21414         * sysdeps/powerpc/fpu/fenv_private.h
21415         (libc_feholdexcept_setroundl_ctx): Define to
21416         libc_feholdexcept_setround_ppc_ctx.
21417         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
21418         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
21419         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
21420         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
21422 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21424         * sysdeps/aarch64/math-tests.h: New file.
21426 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
21428         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
21429         New.
21430         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21431         Check and set bit_AVX2_Usable.
21432         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
21433         macro.
21434         (bit_AVX2): Likewise.
21435         (index_AVX2_Usable): Likewise.
21436         (CPUID_AVX2): Likewise.
21437         (HAS_AVX2): Likewise.
21439 2014-04-17  Will Newton  <will.newton@linaro.org>
21441         * manual/setjmp.texi (System V contexts): Add note that
21442         calling setcontext on a context created by a call to a
21443         signal handler is undefined.  Update text to note that
21444         setcontext from a signal handler is possible but not
21445         recommended.
21447         [BZ #16629]
21448         * stdlib/tst-setcontext.c: Include signal.h.
21449         (main): Check that the signal stack before and
21450         after swapcontext is the same.
21452         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
21453         Re-implement to restore registers in user code and avoid
21454         rt_sigreturn system call.
21456 2014-04-17  Wilco  <wdijkstr@arm.com>
21458         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
21459         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
21460         * math/test-fenv.c: Skip exception trap tests on targets which only
21461         support non-stop mode.
21463 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21464             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21466         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
21467         (libc_feholdsetround_aarch64_ctx)
21468         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
21469         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
21470         (libc_feresetround_ctx, libc_feresetroundf_ctx)
21471         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
21472         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
21473         (libc_feresetround_noexl_ctx): Define.
21475 2014-04-16  Richard Henderson  <rth@redhat.com>
21477         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
21479         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
21480         unwind tables.
21482         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
21483         const from the non-libc, non-ldso copy.
21485         * sysdeps/alpha/libm-test-ulps: Regenerate.
21487 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
21488             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21490         * sysdeps/aarch64/fpu/math_private.h: New file.
21492 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21494         * sysdeps/aarch64/libm-test-ulps: Regenerate.
21496 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
21498         [BZ #16275]
21499         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
21500         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
21501         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
21502         Intel MPX bound registers before _dl_profile_fixup.
21503         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
21504         registers after _dl_profile_fixup.  Save and restore bound
21505         registers bnd0/bnd1 when calling _dl_call_pltexit.
21506         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
21507         (LR_BND_OFFSET): Likewise.
21508         (LRV_BND0_OFFSET): Likewise.
21509         (LRV_BND1_OFFSET): Likewise.
21511 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21513         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
21514         to...
21515         * sysdeps/mach/hurd/i386/tls.h: ... here.
21516         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
21517         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
21518         fields.
21520 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21522         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
21524 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21526         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21528 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21530         [BZ #14770]
21531         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
21532         * sysdeps/s390/configure: Regenerate.
21534         [BZ #16824]
21535         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
21536         Set round-to-nearest internally to reduce error accumulation.
21538 2014-04-16  Alan Modra  <amodra@gmail.com>
21540         [BZ #16740]
21541         [BZ #16619]
21542         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
21543         * math/libm-test.inc (frexp_test_data): Add tests.
21544         * NEWS: Update fixed bug list.
21546 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21548         * benchtests/Makefile: Depend on libraries in build directory.
21549         (bench-math): Separate out math tests.
21550         (bench-pthread): Separate out pthread tests.
21551         (bench): Include math and pthread tests.
21553 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
21555         [BZ #16831]
21556         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
21557         _dl_debug_initialize.
21559         * configure.ac: Remove SELinux header check.
21560         * configure: Regenerate.
21561         * nscd/selinux.c (perms): Array of const char* to permission names.
21562         (nscd_request_avc_has_perm): Call security_deny_unknown to find
21563         default policy. Call string_to_security_class and string_to_av_perm to
21564         translate strings. Enforce default policy and call avs_has_perm with
21565         results of translated strings.
21567 2014-04-13  David S. Miller  <davem@davemloft.net>
21569         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21571 2014-04-12  Allan McRae  <allan@archlinux.org>
21573         [BZ #16838]
21574         * manual/string.texi (Collation Functions): Fix qsort argument
21575         order in example.
21576         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21578 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
21580         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
21581         Make the test a no-op if there are no exceptions defined.
21583 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21585         * elf/Makefile (tests): make tst-dlopen-aout conditional on
21586         enable-hardcoded-path-in-tests
21588 2014-04-11  Will Newton  <will.newton@linaro.org>
21590         * benchtests/Makefile (extra-objs): Add json-lib.o.
21591         (bench-func): Tidy up JSON output.
21592         * benchtests/bench-skeleton.c: Include json-lib.h.
21593         (main): Use JSON library functions to do output of
21594         benchmark results.
21595         * benchtests/bench-timing-type.c (main): Output the
21596         timing type simply, leaving formatting to the user.
21597         * benchtests/json-lib.c: New file.
21598         * benchtests/json-lib.h: Likewise.
21600 2014-04-11  Torvald Riegel  <triegel@redhat.com>
21602         [BZ #15215]
21603         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
21604         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
21605         memory barriers.  Add comments.
21606         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
21607         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
21608         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
21609         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
21610         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
21611         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
21613 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21615         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
21616         * sysdeps/s390/s390-64/configure.ac: ... this ...
21617         * sysdeps/s390/configure.ac: ... to here.
21618         * sysdeps/s390/s390-32/configure: Delete file.
21619         * sysdeps/s390/s390-64/configure: Delete file.
21620         * sysdeps/s390/configure: Regenerate.
21622 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
21624         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
21626 2014-04-11  Will Newton  <will.newton@linaro.org>
21628         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
21629         to zero if it is not defined elsewhere.  (mtrim): Test
21630         the value of MALLOC_DEBUG with #if rather than #ifdef.
21632 2014-04-10 Torvald Riegel  <triegel@redhat.com>
21634         * benchtests/pthread_once-inputs: New file.
21635         * benchtests/pthread_once-source.c: New file.
21636         * benchtests/README: Update documentation.
21638 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21639             H.J. Lu  <hongjiu.lu@intel.com>
21641         [BZ #16275]
21642         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
21643         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
21644         * sysdeps/x86_64/configure: Regenerated.
21645         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
21646         macro.
21647         (REGISTER_SAVE_RAX): Likewise.
21648         (REGISTER_SAVE_RCX): Likewise.
21649         (REGISTER_SAVE_RDX): Likewise.
21650         (REGISTER_SAVE_RSI): Likewise.
21651         (REGISTER_SAVE_RDI): Likewise.
21652         (REGISTER_SAVE_R8): Likewise.
21653         (REGISTER_SAVE_R9): Likewise.
21654         (REGISTER_SAVE_BND0): Likewise.
21655         (REGISTER_SAVE_BND1): Likewise.
21656         (REGISTER_SAVE_BND2): Likewise.
21657         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
21658         bound registers when calling _dl_fixup.
21660 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21662         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
21663         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
21664         of its definition.
21665         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
21666         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
21667         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
21668         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
21669         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
21670         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
21671         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
21673 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
21675         [BZ #15514]
21676         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
21677         pathconf(_PC_NAME_MAX).
21679 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21681         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
21682         Remove macro usage.
21683         (__PTHREAD_SPINS): Move definition to ...
21684         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21685         (__PTHREAD_SPINS): ... here.
21686         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21687         (__PTHREAD_SPIN): Likewise.
21688         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
21689         (__PTHREAD_SPIN): Likewise.
21690         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
21691         (__PTHREAD_SPIN): Likewise.
21692         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
21693         (__PTHREAD_SPIN): Likewise.
21694         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
21695         (__PTHREAD_SPIN): Likewise.
21696         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
21697         (__PTHREAD_SPIN): Likewise.
21698         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
21699         (__PTHREAD_SPIN): Likewise.
21700         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
21701         (__PTHREAD_SPIN): Likewise.
21702         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21703         (__PTHREAD_SPIN): Likewise.
21704         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21705         (__PTHREAD_SPIN): Likewise.
21706         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21707         (__PTHREAD_SPIN): Likewise.
21708         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
21709         (__PTHREAD_SPIN): Likewise.
21711         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
21712         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
21713         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
21714         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
21715         imply folder.
21716         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
21717         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
21718         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
21719         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
21720         correct imply path.
21721         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
21722         strlen symbol for non multi-arch builds.
21723         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21724         missing hidden_def and weak_alias.
21726 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
21728         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21730 2014-04-07  Will Newton  <will.newton@linaro.org>
21732         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21733         and contents.  [!_LIBC] Remove #ifndef and contents.
21734         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
21735         * string/memccpy.c (__memccpy): Use ANSI prototype.
21736         * string/memfrob.c (memfrob): Likewise.
21737         * string/strcoll.c (STRCOLL): Likewise.
21738         * string/strlen.c (strlen): Likewise.
21739         * string/strtok.c (STRTOK): Likewise.
21740         * string/strcat.c: Remove unused #include of memcopy.h.
21741         (strcat): Use ANSI prototype.
21742         * string/strchr.c: Remove unused #include of memcopy.h.
21743         (strchr): Use ANSI prototype.
21744         * string/strcmp.c: Remove unused #include of memcopy.h.
21745         (strcmp): Use ANSI prototype.
21746         * string/strcpy.c: Remove unused #include of memcopy.h.
21747         (strcpy): Use ANSI prototype.
21749 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21751         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21752         * config.make.in (config-extra-cppflags): Set it from
21753         libc_extra_cppflags.
21754         * configure.ac (libc_extra_cflags): Make it accumulate over
21755         configure fragments.
21756         (libc_extra_cppflags): New flag.
21757         * configure. Regenerate.
21758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21759         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21760         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21763         [BZ #16815]
21764         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21765         result for FE_DOWNWARD rounding mode.
21766         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21767         Likewise.
21768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21770 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21772         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21773         in function argument name.
21775 2014-04-03  David Svoboda  <svoboda@cert.org>
21777         [BZ #5666]
21778         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21779         explicitly.
21781 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21783         * elf/dl-unmap-segments.h: New file.
21784         * sysdeps/generic/ldsodefs.h
21785         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21786         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21787         * elf/dl-fptr.c: Likewise.
21788         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21789         * sysdeps/aarch64/tlsdesc.c: Likewise.
21790         * sysdeps/arm/tlsdesc.c: Likewise.
21791         * sysdeps/i386/tlsdesc.c: Likewise.
21792         * sysdeps/tile/dl-runtime.c: Likewise.
21793         * sysdeps/x86_64/tlsdesc.c: Likewise.
21794         * elf/dl-load.h: New file.
21795         * elf/dl-load.c: Include it.
21796         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21797         Macros moved to dl-load.h.
21798         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21799         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21800         Use _dl_unmap_segments in place of __munmap.
21801         Break out segment-mapping loop into ...
21802         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21804 2014-04-03  Will Newton  <will.newton@linaro.org>
21806         * elf/dl-lookup.c (do_lookup_x): Remove comment
21807         referring to nested function and move variable
21808         declarations down to before first use.
21810 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21812         [BZ #16799]
21813         [BZ #16800]
21814         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21815         with 0 numerator.
21816         * math/s_catanf.c (__catanf): Likewise.
21817         * math/s_catanh.c (__catanh): Likewise.
21818         * math/s_catanhf.c (__catanhf): Likewise.
21819         * math/s_catanhl.c (__catanhl): Likewise.
21820         * math/s_catanl.c (__catanl): Likewise.
21821         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21822         by positive zero when computing -Inf result.
21823         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21824         (catanh_test): Likewise.
21825         * sysdeps/i386/fpu/libm-test-ulps: Update.
21826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21828         [BZ #16789]
21829         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21830         instead of using underflowing value in computing result.
21831         * math/s_clog10.c (__clog10): Likewise.
21832         * math/s_clog10f.c (__clog10f): Likewise.
21833         * math/s_clog10l.c (__clog10l): Likewise.
21834         * math/s_clogf.c (__clogf): Likewise.
21835         * math/s_clogl.c (__clogl): Likewise.
21836         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21837         (clog10_test): Likewise.
21838         * sysdeps/i386/fpu/libm-test-ulps: Update.
21839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21841 2014-04-02  Alan Modra  <amodra@gmail.com>
21843         [BZ #16739]
21844         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21845         output when value is near a power of two.  Use int64_t for lx and
21846         remove casts.  Use decimal rather than hex exponent constants.
21847         Don't use long double multiplication when double will suffice.
21848         * math/libm-test.inc (nextafter_test_data): Add tests.
21849         * NEWS: Add 16739 and 16786 to bug list.
21851         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21853         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21855 2014-04-01  Will Newton  <will.newton@linaro.org>
21857         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21858         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21860 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21862         [BZ #13347]
21863         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21864         * nptl/tst-setuid2.c: New file.
21865         * nptl/Makefile (xtests): Add tst-setuid2.
21867 2014-04-01  Alan Modra  <amodra@gmail.com>
21869         [BZ #16786]
21870         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21872 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21874         [BZ #6803]
21875         [BZ #6804]
21876         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21877         set errno as appropriate.
21878         * math/w_scalbf.c (__scalbf): Likewise.
21879         * math/w_scalbl.c (__scalbl): Likewise.
21880         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21881         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21882         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21883         Add more NaN tests.
21885         [BZ #16349]
21886         * math/w_atan2.c: Include <errno.h>.
21887         (__atan2): Set errno for result underflowing to zero.
21888         * math/w_atan2f.c: Include <errno.h>.
21889         (__atan2f): Set errno for result underflowing to zero.
21890         * math/w_atan2l.c: Include <errno.h>.
21891         (__atan2l): Set errno for result underflowing to zero.
21892         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21893         tests.
21894         * math/auto-libm-test-out: Regenerated.
21896 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21898         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21899         Encode instruction correctly in little endian.
21900         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21901         Likewise.
21902         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21903         Likewise.
21904         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21905         Likewise.
21906         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21907         Likewise.
21909 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21911         [BZ #9894]
21912         * sysdeps/unix/sysv/linux/kernel-features.h
21913         [__sparc__ && !__arch64__ && !__sparc_v9__]
21914         (__ASSUME_SET_ROBUST_LIST): Do not define.
21915         [__sparc__ && !__arch64__ && !__sparc_v9__]
21916         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21917         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21918         Likewise.
21919         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21920         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21921         (__ASSUME_REQUEUE_PI): Likewise.
21922         (__ASSUME_SET_ROBUST_LIST): Likewise.
21923         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21924         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21925         Undefine.
21926         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21927         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21928         Likewise.
21929         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21930         Likewise.
21931         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21932         Likewise.
21933         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21934         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21935         Undefine.
21936         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21937         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21938         Likewise.
21940         [BZ #16648]
21941         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21942         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21943         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21945 2014-03-31  Will Newton  <will.newton@linaro.org>
21947         * benchtests/Makefile (bench): Add ffs and ffsll to list
21948         of tests.
21949         * benchtests/ffs-inputs: New file.
21950         * benchtests/ffsll-inputs: Likewise.
21952 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21954         [BZ #16770]
21955         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21956         too large before casting to int.
21957         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21958         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21959         * math/libm-test.inc (scalb_test_data): Add more tests.
21961 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21963         * benchtests/Makefile (DETAILED_OPT): New make option.
21964         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21965         set.
21966         * benchtests/bench-skeleton.c: Include stdbool.h.
21967         (main): Store and print timings per input.
21968         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21969         member to each argument value.
21970         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21971         (_print_arg_data): Initialize per-input timing to 0.
21973         * benchtests/Makefile (timing-type): New binary.
21974         (bench-clean): Also remove bench-timing-type.
21975         (bench): New target for timing-type.
21976         (bench-func): Print output in JSON format.
21977         * benchtests/bench-skeleton.c (main): Print output in JSON
21978         format.
21979         * benchtests/bench-timing-type.c: New file.
21980         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21981         (TIMING_PRINT_STATS): Remove.
21982         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21983         name separately.
21985         * benchtests/bench-modf.c: Remove.
21986         * benchtests/modf-inputs: New inputs file.
21988 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21990         [BZ #16362]
21991         * math/s_clog10.c (M_PI_LOG10E): New macro.
21992         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21993         imaginary parts are 0.
21994         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21995         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21996         imaginary parts are 0.
21997         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21998         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21999         imaginary parts are 0.
22000         * math/libm-test.inc (clog10_test_data): Update expected results
22001         for when real and imaginary parts are 0.
22003 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
22005         * elf/dl-load.c: Finish conversion of __builtin_expect into
22006         __glibc_{un}likely.
22008 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
22010         [BZ #16348]
22011         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
22012         1+x for argument with exponent below -67.
22013         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
22014         Likewise.
22015         * math/auto-libm-test-in: Add more tests of exp.
22016         * math/auto-libm-test-out: Regenerated.
22018 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22020         [BZ #16759]
22021         * inet/getnetgrent_r.c (get_nonempty_val): New function.
22022         (nscd_getnetgrent): Use it.
22024         [BZ #16760]
22025         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
22026         of stpcpy.
22028 2014-03-27  Andi Kleen  <ak@linux.intel.com>
22030         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
22031         (lll_robust_lock, lll_cond_lock, lll_timedlock)
22032         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22033         (lll_robust_unlock): Remove out of line section. Use cfi
22034         intrinsics.
22035         (LLL_STUB_UNWIND_INFO*): Remove.
22036         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
22037         (lll_robust_lock, lll_cond_lock, lll_timedlock)
22038         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22039         (lll_robust_unlock): Remove out of line section. Use cfi
22040         intrinsics.
22041         (LLL_STUB_UNWIND_INFO*): Remove.
22043 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22045         [BZ #16758]
22046         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
22047         blank values.
22049 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
22051         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
22053 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
22055         [BZ #16198]
22056         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
22057         fnstenv.
22058         * math/test-fenv-preserve.c: New file.
22059         * math/Makefile (tests): Add test-fenv-preserve.
22061 2014-03-26  Will Newton <will.newton@linaro.org>
22063         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
22065 2014-03-25  Roland McGrath  <roland@hack.frob.com>
22067         * scripts/versionlist.awk: Partition the version sets and emit all
22068         GLIBC_* (sorted) before all others (sorted).
22070 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
22072         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
22073         GLIBC_2.2.5 version.
22075 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22077         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
22078         calls.
22080         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
22081         previous change.
22083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22085 2014-03-25  Andreas Schwab  <schwab@suse.de>
22087         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
22088         label to be used after in6ailist is initialized.
22090 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22092         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22093         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22095 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
22097         [BZ #16357]
22098         [BZ #16599]
22099         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
22100         min_plus_half.
22101         (fp_formats): Update initializers.
22102         (init_fp_formats): Initialize new field.
22103         (output_for_one_input_case): Allow underflow for results up to
22104         min_plus_half.
22105         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
22106         * math/auto-libm-test-in: Don't mark some underflows from asin and
22107         atanh as spurious.
22108         * math/auto-libm-test-out: Regenerated.
22109         * sysdeps/i386/fpu/libm-test-ulps: Update.
22110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22112 2014-03-25  Andreas Schwab  <schwab@suse.de>
22114         * libio/Makefile (tst-ftell-partial-wide-ENV)
22115         (tst-ftell-active-handler-ENV): Define.
22117 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
22119         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
22121 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22123         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
22125 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
22127         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
22128         * sysdeps/x86_64/fpu/multiarch/e_exp.c
22129         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22131 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22133         [BZ #16634]
22134         * elf/dl-load.c (open_verify): Add mode parameter.
22135         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
22136         (open_path): Change from boolean 'secure' to complete flag 'mode'
22137         (_dl_map_object): Adjust.
22138         * elf/Makefile (tests): Add tst-dlopen-aout.
22139         * elf/tst-dlopen-aout.c: New test.
22141 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
22143         [BZ #16714]
22144         * sysdeps/unix/sysv/linux/s390/bits/stat.h
22145         (struct stat): Rename member pad0 to __glibc_reserved0.
22147         [BZ #16712]
22148         * sysdeps/s390/s390-32/bits/wordsize.h
22149         (__WORDSIZE32_SIZE_ULONG): New define.
22150         * sysdeps/s390/s390-64/bits/wordsize.h
22151         (__WORDSIZE32_SIZE_ULONG): Likewise.
22152         * sysdeps/generic/stdint.h (SIZE_MAX):
22153         Define as UL if __WORDSIZE32_SIZE_ULONG.
22155         [BZ #16713]
22156         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
22157         (__glibc_reserved0): New variable.
22158         (sa_flags): Change type to int.
22160         * posix/Makefile (before-compile): Use += before-compile instead
22161         of a :=.
22163         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22164         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22166 2014-03-20  Andreas Schwab  <schwab@suse.de>
22168         [BZ #16743]
22169         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
22170         non-matching result from nscd.
22172 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22174         * scripts/bench.py: Moved to ...
22175         * benchtests/scripts/bench.py: ... here.
22176         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
22178 2014-03-24  Andreas Schwab  <schwab@suse.de>
22180         [BZ #16002]
22181         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
22182         alloca_account and account alloca use for struct in6ailist.
22184 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
22186         [BZ #16284]
22187         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
22188         rounding mode to recompute results that overflow to infinity or
22189         underflow to zero.
22190         * math/auto-libm-test-in: Don't mark tests as expected to fail for
22191         bug 16284.
22192         * math/auto-libm-test-out: Regenerated.
22193         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
22194         (ccosh_test): Likewise.
22195         (csin_test_data): Use plus_oflow.
22196         (csin_test): Use ALL_RM_TEST.
22197         (csinh_test_data): Use plus_oflow.
22198         (csinh_test): Use ALL_RM_TEST.
22199         * sysdeps/i386/fpu/libm-test-ulps: Update.
22200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22202 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
22204         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
22205         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
22206         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
22208         [BZ #16731]
22209         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
22210         when x - 1 is zero.
22211         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
22212         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
22213         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22214         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
22215         argument is 1.
22216         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
22217         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
22218         zero.
22219         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
22220         * sysdeps/i386/fpu/libm-test-ulps: Update.
22221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22223 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22225         * scripts/bench.pl: Remove file.
22226         * scripts/bench.py: New benchmark script.
22227         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
22228         * benchtests/README: Mention python dependency.
22229         * scripts/pylintrc: New file.
22230         * scripts/pylint: New file.
22232         * bits/mathdef.h: Use #ifdef instead of #if.
22233         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
22234         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22235         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
22236         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22237         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
22238         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22240 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22241             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22243         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
22244         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
22245         and strpbrk-ppc64 objects.
22246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22247         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
22248         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
22249         multiarch strpbrk for POWER7.
22250         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
22251         multiarch strpbrk for PPC64.
22252         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
22253         ifunc selector.
22254         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
22255         strpbrk for POWER7.
22257 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22259         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
22260         (atan_test): Likewise.
22261         (atanh_test_data): Use NO_TEST_INLINE for two tests.
22262         (atanh_test): Use ALL_RM_TEST.
22263         (atan2_test_data): Likewise.
22264         (cabs_test): Likewise.
22265         (cacosh_test): Likewise.
22266         (carg_test): Likewise.
22267         (casin_test): Likewise.
22268         (casinh_test): Likewise.
22269         (cbrt_test): Likewise.
22270         (csqrt_test): Likewise.
22271         (erf_test): Likewise.
22272         (erfc_test): Likewise.
22273         (pow10_test): Likewise.
22274         (exp2_test): Likewise.
22275         (hypot_test): Likewise.
22276         (j0_test): Likewise.
22277         (j1_test): Likewise.
22278         (lgamma_test): Likewise.
22279         (gamma_test): Likewise.
22280         (sincos_test): Likewise.
22281         (tanh_test): Likewise.
22282         (y0_test): Likewise.
22283         (y1_test): Likewise.
22284         * sysdeps/i386/fpu/libm-test-ulps: Update.
22285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22287 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22289         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
22290         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
22291         and strcspn-ppc64 objects.
22292         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22293         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
22294         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
22295         multiarch strcspn for POWER7.
22296         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
22297         multiarch strcspn for PPC64.
22298         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
22299         ifunc selector.
22300         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
22301         strcspn for POWER7.
22303 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22305         * math/gen-libm-test.pl (generate_testfile): Expect only function
22306         name as argument to AUTO_TESTS_* and pass results for all rounding
22307         modes to parse_args.
22308         (parse_auto_input): Separate inputs of automatic tests from
22309         outputs before storing in %auto_tests.
22310         * math/libm-test.inc (acos_test_data): Update call to
22311         AUTO_TESTS_f_f.
22312         (acos_test): Use ALL_RM_TEST.
22313         (acos_tonearest_test_data): Remove.
22314         (acos_test_tonearest): Likewise.
22315         (acos_towardzero_test_data): Likewise.
22316         (acos_test_towardzero): Likewise.
22317         (acos_downward_test_data): Likewise.
22318         (acos_test_downward): Likewise.
22319         (acos_upward_test_data): Likewise.
22320         (acos_test_upward): Likewise.
22321         (acosh_test_data): Update call to AUTO_TESTS_f_f.
22322         (asin_test_data): Likewise.
22323         (asin_test): Use ALL_RM_TEST.
22324         (asin_tonearest_test_data): Remove.
22325         (asin_test_tonearest): Likewise.
22326         (asin_towardzero_test_data): Likewise.
22327         (asin_test_towardzero): Likewise.
22328         (asin_downward_test_data): Likewise.
22329         (asin_test_downward): Likewise.
22330         (asin_upward_test_data): Likewise.
22331         (asin_test_upward): Likewise.
22332         (asinh_test_data): Update call to AUTO_TESTS_f_f.
22333         (atan_test_data): Likewise.
22334         (atanh_test_data): Likewise.
22335         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
22336         (cabs_test_data): Update call to AUTO_TESTS_c_f.
22337         (carg_test_data): Likewise.
22338         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
22339         (ccos_test_data): Update call to AUTO_TESTS_c_c.
22340         (ccosh_test_data): Likewise.
22341         (cexp_test_data): Likewise.
22342         (clog_test_data): Likewise.
22343         (clog10_test_data): Likewise.
22344         (cos_test_data): Update call to AUTO_TESTS_f_f.
22345         (cos_test): Use ALL_RM_TEST.
22346         (cos_tonearest_test_data): Remove.
22347         (cos_test_tonearest): Likewise.
22348         (cos_towardzero_test_data): Likewise.
22349         (cos_test_towardzero): Likewise.
22350         (cos_downward_test_data): Likewise.
22351         (cos_test_downward): Likewise.
22352         (cos_upward_test_data): Likewise.
22353         (cos_test_upward): Likewise.
22354         (cosh_test_data): Update call to AUTO_TESTS_f_f.
22355         (cosh_test): Use ALL_RM_TEST.
22356         (cosh_tonearest_test_data): Remove.
22357         (cosh_test_tonearest): Likewise.
22358         (cosh_towardzero_test_data): Likewise.
22359         (cosh_test_towardzero): Likewise.
22360         (cosh_downward_test_data): Likewise.
22361         (cosh_test_downward): Likewise.
22362         (cosh_upward_test_data): Likewise.
22363         (cosh_test_upward): Likewise.
22364         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
22365         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
22366         (ctan_test_data): Likewise.
22367         (ctan_test): Use ALL_RM_TEST.
22368         (ctan_tonearest_test_data): Remove.
22369         (ctan_test_tonearest): Likewise.
22370         (ctan_towardzero_test_data): Likewise.
22371         (ctan_test_towardzero): Likewise.
22372         (ctan_downward_test_data): Likewise.
22373         (ctan_test_downward): Likewise.
22374         (ctan_upward_test_data): Likewise.
22375         (ctan_test_upward): Likewise.
22376         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
22377         (ctanh_test): Use ALL_RM_TEST.
22378         (ctanh_tonearest_test_data): Remove.
22379         (ctanh_test_tonearest): Likewise.
22380         (ctanh_towardzero_test_data): Likewise.
22381         (ctanh_test_towardzero): Likewise.
22382         (ctanh_downward_test_data): Likewise.
22383         (ctanh_test_downward): Likewise.
22384         (ctanh_upward_test_data): Likewise.
22385         (ctanh_test_upward): Likewise.
22386         (erf_test_data): Update call to AUTO_TESTS_f_f.
22387         (erfc_test_data): Likewise.
22388         (exp_test_data): Likewise.
22389         (exp_test): Use ALL_RM_TEST.
22390         (exp_tonearest_test_data): Remove.
22391         (exp_test_tonearest): Likewise.
22392         (exp_towardzero_test_data): Likewise.
22393         (exp_test_towardzero): Likewise.
22394         (exp_downward_test_data): Likewise.
22395         (exp_test_downward): Likewise.
22396         (exp_upward_test_data): Likewise.
22397         (exp_test_upward): Likewise.
22398         (exp10_test_data): Update call to AUTO_TESTS_f_f.
22399         (exp10_test): Use ALL_RM_TEST.
22400         (exp10_tonearest_test_data): Remove.
22401         (exp10_test_tonearest): Likewise.
22402         (exp10_towardzero_test_data): Likewise.
22403         (exp10_test_towardzero): Likewise.
22404         (exp10_downward_test_data): Likewise.
22405         (exp10_test_downward): Likewise.
22406         (exp10_upward_test_data): Likewise.
22407         (exp10_test_upward): Likewise.
22408         (exp2_test_data): Update call to AUTO_TESTS_f_f.
22409         (expm1_test_data): Likewise.
22410         (expm1_test): Use ALL_RM_TEST.
22411         (expm1_tonearest_test_data): Remove.
22412         (expm1_test_tonearest): Likewise.
22413         (expm1_towardzero_test_data): Likewise.
22414         (expm1_test_towardzero): Likewise.
22415         (expm1_downward_test_data): Likewise.
22416         (expm1_test_downward): Likewise.
22417         (expm1_upward_test_data): Likewise.
22418         (expm1_test_upward): Likewise.
22419         (fma_test_data): Update call to AUTO_TESTS_fff_f.
22420         (fma_test): Use ALL_RM_TEST.
22421         (fma_towardzero_test_data): Remove.
22422         (fma_test_towardzero): Likewise.
22423         (fma_downward_test_data): Likewise.
22424         (fma_test_downward): Likewise.
22425         (fma_upward_test_data): Likewise.
22426         (fma_test_upward): Likewise.
22427         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
22428         (j0_test_data): Update call to AUTO_TESTS_f_f.
22429         (j1_test_data): Likewise.
22430         (jn_test_data): Update call to AUTO_TESTS_if_f.
22431         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
22432         (log_test_data): Update call to AUTO_TESTS_f_f.
22433         (log10_test_data): Likewise.
22434         (log1p_test_data): Likewise.
22435         (log2_test_data): Likewise.
22436         (pow_test_data): Update call to AUTO_TESTS_ff_f.
22437         (pow_tonearest_test_data): Likewise.
22438         (sin_test_data): Update call to AUTO_TESTS_f_f.
22439         (sin_test): Use ALL_RM_TEST.
22440         (sin_tonearest_test_data): Remove.
22441         (sin_test_tonearest): Likewise.
22442         (sin_towardzero_test_data): Likewise.
22443         (sin_test_towardzero): Likewise.
22444         (sin_downward_test_data): Likewise.
22445         (sin_test_downward): Likewise.
22446         (sin_upward_test_data): Likewise.
22447         (sin_test_upward): Likewise.
22448         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
22449         (sinh_test_data): Update call to AUTO_TESTS_f_f.
22450         (sinh_test): Use ALL_RM_TEST.
22451         (sinh_tonearest_test_data): Remove.
22452         (sinh_test_tonearest): Likewise.
22453         (sinh_towardzero_test_data): Likewise.
22454         (sinh_test_towardzero): Likewise.
22455         (sinh_downward_test_data): Likewise.
22456         (sinh_test_downward): Likewise.
22457         (sinh_upward_test_data): Likewise.
22458         (sinh_test_upward): Likewise.
22459         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
22460         (sqrt_test): Use ALL_RM_TEST.
22461         (sqrt_tonearest_test_data): Remove.
22462         (sqrt_test_tonearest): Likewise.
22463         (sqrt_towardzero_test_data): Likewise.
22464         (sqrt_test_towardzero): Likewise.
22465         (sqrt_downward_test_data): Likewise.
22466         (sqrt_test_downward): Likewise.
22467         (sqrt_upward_test_data): Likewise.
22468         (sqrt_test_upward): Likewise.
22469         (tan_test_data): Update call to AUTO_TESTS_f_f.
22470         (tan_test): Use ALL_RM_TEST.
22471         (tan_tonearest_test_data): Remove.
22472         (tan_test_tonearest): Likewise.
22473         (tan_towardzero_test_data): Likewise.
22474         (tan_test_towardzero): Likewise.
22475         (tan_downward_test_data): Likewise.
22476         (tan_test_downward): Likewise.
22477         (tan_upward_test_data): Likewise.
22478         (tan_test_upward): Likewise.
22479         (tanh_test_data): Update call to AUTO_TESTS_f_f.
22480         (tgamma_test_data): Likewise.
22481         (y0_test_data): Likewise.
22482         (y1_test_data): Likewise.
22483         (yn_test_data): Update call to AUTO_TESTS_if_f.
22484         (main): Do not call removed functions.
22486 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22488         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
22489         (ldexp_test_data): Remove.
22490         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
22491         scalbn_test_data.
22492         (scalb_test): Use ALL_RM_TEST.
22494 2014-03-19  Andreas Schwab  <schwab@suse.de>
22496         * nscd/nscd.service: Also invalidate netgroup cache on reload.
22498 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22500         [BZ #16649]
22501         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22502         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
22503         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
22504         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22505         (__ASSUME_PREADV): Undefine.
22506         (__ASSUME_PWRITEV): Likewise.
22508 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22510         * bits/mman-linux.h: Add comment about non-Linux use.
22511         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
22512         bits/mman-linux.h resting place.
22514         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
22515         * bits/mman-linux.h: ... here.
22517 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22519         * conform/conformtest.pl: Add standard definition when calling C
22520         preprocessor on data files.
22521         (checknamespace): Remove unused variable.
22523 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22525         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
22526         minus_oflow, plus_uflow and minus_uflow in expected results.
22527         * math/libm-test.inc (scalbn_test_data): Add more tests of
22528         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
22529         minus_uflow.
22530         (scalbn_test): Use ALL_RM_TEST.
22531         (scalbln_test_data): Add more tests of negative arguments.  Use
22532         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
22533         (scalbln_test): Use ALL_RM_TEST.
22535 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22537         * scripts/abilist.awk: Ignore symbols marked with .hidden.
22539 2014-03-18  Will Newton  <will.newton@linaro.org>
22541         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
22542         inaccurate comment.
22544 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22546         * Makerules [!subdir] (check-abi): Exit with error status if a
22547         test failed.
22549 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22551         * math/libm-test.inc (nearbyint_test_data): Include all tests used
22552         for rint.  Include results for all rounding modes.
22553         (nearbyint_test): Use ALL_RM_TEST.
22554         (rint_test_data): Include all tests used for nearbyint.
22556 2014-03-17  Will Newton  <will.newton@linaro.org>
22558         * nptl/sysdeps/pthread/pthread.h: Revert previous
22559         change.
22561         * sysdeps/generic/ldsodefs.h: Revert previous
22562         change.
22564         * libio/genops.c: Revert previous change.
22565         * libio/libioP.h: Likewise.
22566         * stdio-common/vfprintf.c: Likewise.
22568         * sysdeps/generic/math_private.h: Revert previous
22569         change.
22571         * sysdeps/generic/math_private.h: Check whether
22572         HAVE_RM_CTX is defined with #ifdef rather
22573         than #if.
22575         * argp/argp-fmtstream.h: Check whether
22576         __STRICT_ANSI__ is defined with #ifdef rather
22577         than #if.
22578         * argp/argp.h: Likewise.
22580         * libio/genops.c: Check whether
22581         _IO_JUMPS_OFFSET is defined with #ifdef rather
22582         than #if.
22583         * libio/libioP.h: Likewise.
22584         * stdio-common/vfprintf.c: Likewise.
22586         * sysdeps/generic/ldsodefs.h: Check whether
22587         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
22588         than #if.
22590         * nptl/sysdeps/pthread/pthread.h: Check
22591         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
22592         its value.
22594 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22596         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
22597         setting O_APPEND.
22598         * libio/tst-ftell-active-handler.c (do_append_test): Add a
22599         test case.
22601         [BZ #16680]
22602         * libio/fileops.c (_IO_file_open): Seek to end of file but
22603         don't cache the offset.
22604         (get_file_offset): Remove function.
22605         (do_ftell): Use cached offset when available.
22606         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
22607         don't cache the offset.
22608         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
22609         case.
22610         (do_one_test): Call it.
22611         (do_ftell_test): Fix up expected old offset for a+ mode.
22612         * libio/wfileops.c (do_ftell_wide): Used cached offset when
22613         available.
22615         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
22616         up test status with function return status.
22617         (do_write_test): Likewise.
22618         (do_append_test): Likewise.
22620         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
22621         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
22622         Remove.
22624 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22626         * math/gen-libm-test.pl (parse_args): Handle results specified for
22627         each rounding mode separately.
22628         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
22629         tests and results from lrint_tonearest_test_data,
22630         lrint_towardzero_test_data, lrint_downward_test_data and
22631         lrint_upward_test_data.
22632         (lrint_test): Use ALL_RM_TEST.
22633         (lrint_tonearest_test_data): Remove.
22634         (lrint_test_tonearest): Likewise.
22635         (lrint_towardzero_test_data): Likewise.
22636         (lrint_test_towardzero): Likewise.
22637         (lrint_downward_test_data): Likewise.
22638         (lrint_test_downward): Likewise.
22639         (lrint_upward_test_data): Likewise.
22640         (lrint_test_upward): Likewise.
22641         (llrint_test_data): Merge in per-rounding-mode tests and results
22642         from llrint_tonearest_test_data, llrint_towardzero_test_data,
22643         llrint_downward_test_data and llrint_upward_test_data.
22644         (llrint_test): Use ALL_RM_TEST.
22645         (llrint_tonearest_test_data): Remove.
22646         (llrint_test_tonearest): Likewise.
22647         (llrint_towardzero_test_data): Likewise.
22648         (llrint_test_towardzero): Likewise.
22649         (llrint_downward_test_data): Likewise.
22650         (llrint_test_downward): Likewise.
22651         (llrint_upward_test_data): Likewise.
22652         (llrint_test_upward): Likewise.
22653         (rint_test_data): Merge in per-rounding-mode tests and results
22654         from rint_tonearest_test_data, rint_towardzero_test_data,
22655         rint_downward_test_data and rint_upward_test_data.  Add
22656         per-rounding-mode results for tests not in those arrays.
22657         (rint_test): Use ALL_RM_TEST.
22658         (rint_tonearest_test_data): Remove.
22659         (rint_test_tonearest): Likewise.
22660         (rint_towardzero_test_data): Likewise.
22661         (rint_test_towardzero): Likewise.
22662         (rint_downward_test_data): Likewise.
22663         (rint_test_downward): Likewise.
22664         (rint_upward_test_data): Likewise.
22665         (rint_test_upward): Likewise.
22666         (main): Don't call removed functions.
22668 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22670         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
22671         "Compiled on ..." crapola.  It is anti-useful.
22673 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
22675         * scripts/evaluate-test.sh: Handle fourth argument to determine
22676         whether test run should stop on failure.
22677         * Makeconfig (stop-on-test-failure): New variable.
22678         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
22679         $(stop-on-test-failure).
22680         * Makefile (tests): Give a summary of results from testing and
22681         exit with failure status if they include an ERROR or FAIL.
22682         (xtests): Likewise.
22683         * manual/install.texi (Configuring and compiling): Mention
22684         stop-on-test-failure=y.
22685         * INSTALL: Regenerated.
22687 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22689         * scripts/versionlist.awk: New file.
22690         * Makerules [$(build-shared) = yes]
22691         (postclean-generated): Add Versions.def, not Versions.def.v and
22692         Versions.def.v.i.
22693         ($(common-objpfx)Versions.def.v.i): Target removed.
22694         ($(common-objpfx)Versions.def): New target.
22695         ($(common-objpfx)Versions.all): Depend on that rather that
22696         $(common-objpfx)Versions.def.v.
22697         * Versions.def: File removed.
22699         * Makeconfig (+gccwarn): Add -Wundef.
22700         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
22701         a dl-sysdep.h breaking its contract.
22702         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
22703         * include/stackinfo.h: New file.
22704         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
22705         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
22706         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
22707         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22708         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
22709         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
22710         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22711         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22712         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22713         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22714         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22715         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
22716         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22717         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22718         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22720 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22722         [BZ #16707]
22723         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22724         implementation.
22725         * math/libm-test.inc (round_test_data): Add more tests.
22727         [BZ #16706]
22728         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22729         implementation.
22730         * math/libm-test.inc (nearbyint_test_data): Add more tests.
22732         [BZ #16701]
22733         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22734         implementation.
22735         * math/libm-test.inc (ceil_test_data): Add more tests.
22737         * math/libm-test.inc (trunc_test_data): Add more tests related to
22738         BZ#16414.
22740 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22742         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22743         with #if rather than #ifdef.
22744         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22746 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
22748         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22749         first.  Disable AVX-512 GCC support if assembler doesn't support
22750         it.
22751         * sysdeps/x86_64/configure: Regenerated.
22753 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
22755         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22756         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22757         (__old_pthread_attr_setstack): Likewise.
22758         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22759         [!_STACK_GROWS_DOWN]: Likewise.
22761 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22763         * config.make.in (have-bash2): Delete.
22764         * configure.ac (libc_cv_have_bash2): Delete.
22765         * configure: Regenerate.
22766         * elf/Makefile (common-ldd-rewrite): Rename to ...
22767         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
22768         (sh-ldd-rewrite): Delete.
22769         (bash-ldd-rewrite): Delete.
22770         (have-bash2): Delete checks.
22771         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22772         ldd-rewrite.
22774         * config.make.in (have-ksh): Delete.
22775         (KSH): Delete.
22776         * configure.ac (libc_cv_have_ksh): Delete.
22777         * configure: Regenerate.
22779         * elf/Makefile: Delete $(have-ksh) check.
22780         ($(objpfx)sotruss): Change KSH to BASH.
22781         * elf/sotruss.ksh: Rename to ...
22782         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22783         function style to match POSIX.  Drop ksh vim mode setting.
22785         * manual/time.texi (Specifying the Time Zone with TZ): Change
22786         Tuesday to Thursday.
22788         * debug/tst-longjmp_chk2.c: Update header comment.
22789         (stackoverflow_handler): Add comment.  Call assert on pass value.
22791 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22793         [BZ #16194]
22794         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22795         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22796         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22797         (La_x86_64_vector): Add zmm.
22798         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22799         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22800         ($(objpfx)tst-audit10): New target.
22801         ($(objpfx)tst-audit10.out): Likewise.
22802         (tst-audit10-ENV): New.
22803         (AVX512-CFLAGS): Likewise.
22804         (CFLAGS-tst-audit10.c): Likewise.
22805         (CFLAGS-tst-auditmod10a.c): Likewise.
22806         (CFLAGS-tst-auditmod10b.c): Likewise.
22807         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22808         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22809         * sysdeps/x86_64/configure: Regenerated.
22810         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22811         AVX-512 zmm register support.
22812         (_dl_x86_64_save_sse): Likewise.
22813         (_dl_x86_64_restore_sse): Likewise.
22814         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22815         size vector registers.
22816         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22817         (ZMM_SIZE): Likewise.
22818         * sysdeps/x86_64/tst-audit10.c: New file.
22819         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22820         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22822 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22824         * configure.ac (HAVE_EHDR_START): New check.
22825         * configure: Regenerated.
22826         * config.h.in (HAVE_EHDR_START): New #undef.
22827         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22828         assuming the lowest-addressed segment maps the start of the file.
22830 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22832         * INSTALL: Regenerated.
22834 2014-03-13  Will Newton  <will.newton@linaro.org>
22836         * manual/setjmp.texi (System V contexts): Improve
22837         clarity and grammar of documentation.
22839 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22841         [BZ #16381]
22842         * elf/Makefile (tests): Add tst-pie2.
22843         (tests-pie): Add tst-pie2.
22844         * elf/tst-pie2.c: New file.
22845         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22846         for ET_EXEC.
22847         * elf/rtld.c (map_doit): Load executable as lt_executable.
22848         (dl_main): Likewise.
22850 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22852         [BZ #16642]
22853         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22854         (__ASSUME_PSELECT): Undefine.
22856 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22858         [BZ #16689]
22859         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22860         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22861         static build.
22862         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22863         selector for static builds.
22865 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22867         [BZ #16695]
22868         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22869         key in the buffer.
22871 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22873         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22874         IFUNC selector for static builds.
22876 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22878         * sysdeps/mips/math_private.h [__mips_hard_float]
22879         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22880         libc_feresetround_mips_ctx.
22881         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22882         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22883         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22885         [BZ #16677]
22886         * math/s_nextafter.c (__nextafter): Do not return value from
22887         overflowing computation.
22888         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22889         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22890         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22891         Likewise.
22892         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22893         Likewise.
22894         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22895         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22897 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22899         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22900         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22901         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22902         the new mov targetting sp.
22904 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22906         [BZ #16683]
22907         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22908         Define it for static builds as well.
22909         (NO_BZERO_IMPL): Likewise.
22911 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22913         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22914         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22915         multiarch strspn for PPC64.
22916         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22917         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22918         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22919         (__libc_ifunc_impl_list): Likewise.
22920         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22921         multiarch optimizations
22922         * string/strspn.c (strspn): Using macro to redefine symbol name.
22924 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22925             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22927         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22928         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22929         multiarch strncat for PPC64.
22930         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22931         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22932         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22933         (__libc_ifunc_impl_list): Likewise.
22934         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22935         multiarch optimizations
22937 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22939         [BZ #16639]
22940         * nscd/nscd.service: Make service type forking.
22942 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22944         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22945         sign in non default rounding modes.
22946         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22948 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22950         * math/libm-test.inc (ALL_RM_TEST): New macro.
22951         (ceil_test): Use ALL_RM_TEST.
22952         (cimag_test): Likewise.
22953         (conj_test): Likewise.
22954         (copysign_test): Likewise.
22955         (cproj_test): Likewise.
22956         (creal_test): Likewise.
22957         (fabs_test): Likewise.
22958         (floor_test): Likewise.
22959         (fmax_test): Likewise.
22960         (fmin_test): Likewise.
22961         (fmod_test): Likewise.
22962         (fpclassify_test): Likewise.
22963         (frexp_test): Likewise.
22964         (ilogb_test): Likewise.
22965         (isfinite_test): Likewise.
22966         (finite_test): Likewise.
22967         (isgreater_test): Likewise.
22968         (isgreaterequal_test): Likewise.
22969         (isinf_test): Likewise.
22970         (isless_test): Likewise.
22971         (islessequal_test): Likewise.
22972         (islessgreater_test): Likewise.
22973         (isnan_test): Likewise.
22974         (isnormal_test): Likewise.
22975         (issignaling_test): Likewise.
22976         (isunordered_test): Likewise.
22977         (logb_test): Likewise.
22978         (logb_downward_test_data): Remove.
22979         (logb_test_downward): Likewise.
22980         (lround_test): Use ALL_RM_TEST.
22981         (llround_test): Likewise.
22982         (modf_test): Likewise.
22983         (nexttoward_test): Likewise.
22984         (remainder_test): Likewise.
22985         (drem_test): Likewise.
22986         (remainder_tonearest_test_data): Likewise.
22987         (remainder_test_tonearest): Likewise.
22988         (drem_test_tonearest): Likewise.
22989         (remainder_towardzero_test_data): Likewise.
22990         (remainder_test_towardzero): Likewise.
22991         (drem_test_towardzero): Likewise.
22992         (remainder_downward_test_data): Likewise.
22993         (remainder_test_downward): Likewise.
22994         (drem_test_downward): Likewise.
22995         (remainder_upward_test_data): Likewise.
22996         (remainder_test_upward): Likewise.
22997         (drem_test_upward): Likewise.
22998         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22999         (round_test): Use ALL_RM_TEST.
23000         (signbit_test): Likewise.
23001         (trunc_test): Likewise.
23002         (significand_test): Likewise.
23003         (main): Don't call removed functions.
23005 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
23007         [BZ #16674]
23008         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
23009         || __USE_XOPEN2K8].
23010         (ILL_ILLOPN): Likewise.
23011         (ILL_ILLADR): Likewise.
23012         (ILL_ILLTRP): Likewise.
23013         (ILL_PRVOPC): Likewise.
23014         (ILL_PRVREG): Likewise.
23015         (ILL_COPROC): Likewise.
23016         (ILL_BADSTK): Likewise.
23017         (FPE_INTDIV): Likewise.
23018         (FPE_INTOVF): Likewise.
23019         (FPE_FLTDIV): Likewise.
23020         (FPE_FLTOVF): Likewise.
23021         (FPE_FLTUND): Likewise.
23022         (FPE_FLTRES): Likewise.
23023         (FPE_FLTINV): Likewise.
23024         (FPE_FLTSUB): Likewise.
23025         (SEGV_MAPERR): Likewise.
23026         (SEGV_ACCERR): Likewise.
23027         (BUS_ADRALN): Likewise.
23028         (BUS_ADRERR): Likewise.
23029         (BUS_OBJERR): Likewise.
23030         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23031         (TRAP_TRACE): Likewise.
23032         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23033         __USE_XOPEN2K8].
23034         (CLD_KILLED): Likewise.
23035         (CLD_DUMPED): Likewise.
23036         (CLD_TRAPPED): Likewise.
23037         (CLD_STOPPED): Likewise.
23038         (CLD_CONTINUED): Likewise.
23039         (POLL_IN): Likewise.
23040         (POLL_OUT): Likewise.
23041         (POLL_MSG): Likewise.
23042         (POLL_ERR): Likewise.
23043         (POLL_PRI): Likewise.
23044         (POLL_HUP): Likewise.
23045         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
23046         Likewise.
23047         (ILL_ILLOPN): Likewise.
23048         (ILL_ILLADR): Likewise.
23049         (ILL_ILLTRP): Likewise.
23050         (ILL_PRVOPC): Likewise.
23051         (ILL_PRVREG): Likewise.
23052         (ILL_COPROC): Likewise.
23053         (ILL_BADSTK): Likewise.
23054         (FPE_INTDIV): Likewise.
23055         (FPE_INTOVF): Likewise.
23056         (FPE_FLTDIV): Likewise.
23057         (FPE_FLTOVF): Likewise.
23058         (FPE_FLTUND): Likewise.
23059         (FPE_FLTRES): Likewise.
23060         (FPE_FLTINV): Likewise.
23061         (FPE_FLTSUB): Likewise.
23062         (SEGV_MAPERR): Likewise.
23063         (SEGV_ACCERR): Likewise.
23064         (BUS_ADRALN): Likewise.
23065         (BUS_ADRERR): Likewise.
23066         (BUS_OBJERR): Likewise.
23067         (BUS_MCEERR_AR): Likewise.
23068         (BUS_MCEERR_AO): Likewise.
23069         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23070         (TRAP_TRACE): Likewise.
23071         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23072         __USE_XOPEN2K8].
23073         (CLD_KILLED): Likewise.
23074         (CLD_DUMPED): Likewise.
23075         (CLD_TRAPPED): Likewise.
23076         (CLD_STOPPED): Likewise.
23077         (CLD_CONTINUED): Likewise.
23078         (POLL_IN): Likewise.
23079         (POLL_OUT): Likewise.
23080         (POLL_MSG): Likewise.
23081         (POLL_ERR): Likewise.
23082         (POLL_PRI): Likewise.
23083         (POLL_HUP): Likewise.
23084         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
23085         (ILL_ILLOPN): Likewise.
23086         (ILL_ILLADR): Likewise.
23087         (ILL_ILLTRP): Likewise.
23088         (ILL_PRVOPC): Likewise.
23089         (ILL_PRVREG): Likewise.
23090         (ILL_COPROC): Likewise.
23091         (ILL_BADSTK): Likewise.
23092         (FPE_INTDIV): Likewise.
23093         (FPE_INTOVF): Likewise.
23094         (FPE_FLTDIV): Likewise.
23095         (FPE_FLTOVF): Likewise.
23096         (FPE_FLTUND): Likewise.
23097         (FPE_FLTRES): Likewise.
23098         (FPE_FLTINV): Likewise.
23099         (FPE_FLTSUB): Likewise.
23100         (SEGV_MAPERR): Likewise.
23101         (SEGV_ACCERR): Likewise.
23102         (BUS_ADRALN): Likewise.
23103         (BUS_ADRERR): Likewise.
23104         (BUS_OBJERR): Likewise.
23105         (BUS_MCEERR_AR): Likewise.
23106         (BUS_MCEERR_AO): Likewise.
23107         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23108         (TRAP_TRACE): Likewise.
23109         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23110         __USE_XOPEN2K8].
23111         (CLD_KILLED): Likewise.
23112         (CLD_DUMPED): Likewise.
23113         (CLD_TRAPPED): Likewise.
23114         (CLD_STOPPED): Likewise.
23115         (CLD_CONTINUED): Likewise.
23116         (POLL_IN): Likewise.
23117         (POLL_OUT): Likewise.
23118         (POLL_MSG): Likewise.
23119         (POLL_ERR): Likewise.
23120         (POLL_PRI): Likewise.
23121         (POLL_HUP): Likewise.
23122         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
23123         Likewise.
23124         (ILL_ILLOPN): Likewise.
23125         (ILL_ILLADR): Likewise.
23126         (ILL_ILLTRP): Likewise.
23127         (ILL_PRVOPC): Likewise.
23128         (ILL_PRVREG): Likewise.
23129         (ILL_COPROC): Likewise.
23130         (ILL_BADSTK): Likewise.
23131         (ILL_BADIADDR): Likewise.
23132         (ILL_BREAK): Likewise.
23133         (FPE_INTDIV): Likewise.
23134         (FPE_INTOVF): Likewise.
23135         (FPE_FLTDIV): Likewise.
23136         (FPE_FLTOVF): Likewise.
23137         (FPE_FLTUND): Likewise.
23138         (FPE_FLTRES): Likewise.
23139         (FPE_FLTINV): Likewise.
23140         (FPE_FLTSUB): Likewise.
23141         (FPE_DECOVF): Likewise.
23142         (FPE_DECDIV): Likewise.
23143         (FPE_DECERR): Likewise.
23144         (FPE_INVASC): Likewise.
23145         (FPE_INVDEC): Likewise.
23146         (SEGV_MAPERR): Likewise.
23147         (SEGV_ACCERR): Likewise.
23148         (SEGV_PSTKOVF): Likewise.
23149         (BUS_ADRALN): Likewise.
23150         (BUS_ADRERR): Likewise.
23151         (BUS_OBJERR): Likewise.
23152         (BUS_MCEERR_AR): Likewise.
23153         (BUS_MCEERR_AO): Likewise.
23154         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23155         (TRAP_TRACE): Likewise.
23156         (TRAP_BRANCH): Likewise.
23157         (TRAP_HWBKPT): Likewise.
23158         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23159         __USE_XOPEN2K8].
23160         (CLD_KILLED): Likewise.
23161         (CLD_DUMPED): Likewise.
23162         (CLD_TRAPPED): Likewise.
23163         (CLD_STOPPED): Likewise.
23164         (CLD_CONTINUED): Likewise.
23165         (POLL_IN): Likewise.
23166         (POLL_OUT): Likewise.
23167         (POLL_MSG): Likewise.
23168         (POLL_ERR): Likewise.
23169         (POLL_PRI): Likewise.
23170         (POLL_HUP): Likewise.
23171         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
23172         (ILL_ILLOPN): Likewise.
23173         (ILL_ILLADR): Likewise.
23174         (ILL_ILLTRP): Likewise.
23175         (ILL_PRVOPC): Likewise.
23176         (ILL_PRVREG): Likewise.
23177         (ILL_COPROC): Likewise.
23178         (ILL_BADSTK): Likewise.
23179         (FPE_INTDIV): Likewise.
23180         (FPE_INTOVF): Likewise.
23181         (FPE_FLTDIV): Likewise.
23182         (FPE_FLTOVF): Likewise.
23183         (FPE_FLTUND): Likewise.
23184         (FPE_FLTRES): Likewise.
23185         (FPE_FLTINV): Likewise.
23186         (FPE_FLTSUB): Likewise.
23187         (SEGV_MAPERR): Likewise.
23188         (SEGV_ACCERR): Likewise.
23189         (BUS_ADRALN): Likewise.
23190         (BUS_ADRERR): Likewise.
23191         (BUS_OBJERR): Likewise.
23192         (BUS_MCEERR_AR): Likewise.
23193         (BUS_MCEERR_AO): Likewise.
23194         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23195         (TRAP_TRACE): Likewise.
23196         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23197         __USE_XOPEN2K8].
23198         (CLD_KILLED): Likewise.
23199         (CLD_DUMPED): Likewise.
23200         (CLD_TRAPPED): Likewise.
23201         (CLD_STOPPED): Likewise.
23202         (CLD_CONTINUED): Likewise.
23203         (POLL_IN): Likewise.
23204         (POLL_OUT): Likewise.
23205         (POLL_MSG): Likewise.
23206         (POLL_ERR): Likewise.
23207         (POLL_PRI): Likewise.
23208         (POLL_HUP): Likewise.
23209         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
23210         (ILL_ILLOPN): Likewise.
23211         (ILL_ILLADR): Likewise.
23212         (ILL_ILLTRP): Likewise.
23213         (ILL_PRVOPC): Likewise.
23214         (ILL_PRVREG): Likewise.
23215         (ILL_COPROC): Likewise.
23216         (ILL_BADSTK): Likewise.
23217         (FPE_INTDIV): Likewise.
23218         (FPE_INTOVF): Likewise.
23219         (FPE_FLTDIV): Likewise.
23220         (FPE_FLTOVF): Likewise.
23221         (FPE_FLTUND): Likewise.
23222         (FPE_FLTRES): Likewise.
23223         (FPE_FLTINV): Likewise.
23224         (FPE_FLTSUB): Likewise.
23225         (SEGV_MAPERR): Likewise.
23226         (SEGV_ACCERR): Likewise.
23227         (BUS_ADRALN): Likewise.
23228         (BUS_ADRERR): Likewise.
23229         (BUS_OBJERR): Likewise.
23230         (BUS_MCEERR_AR): Likewise.
23231         (BUS_MCEERR_AO): Likewise.
23232         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23233         (TRAP_TRACE): Likewise.
23234         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23235         __USE_XOPEN2K8].
23236         (CLD_KILLED): Likewise.
23237         (CLD_DUMPED): Likewise.
23238         (CLD_TRAPPED): Likewise.
23239         (CLD_STOPPED): Likewise.
23240         (CLD_CONTINUED): Likewise.
23241         (POLL_IN): Likewise.
23242         (POLL_OUT): Likewise.
23243         (POLL_MSG): Likewise.
23244         (POLL_ERR): Likewise.
23245         (POLL_PRI): Likewise.
23246         (POLL_HUP): Likewise.
23247         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
23248         (ILL_ILLOPN): Likewise.
23249         (ILL_ILLADR): Likewise.
23250         (ILL_ILLTRP): Likewise.
23251         (ILL_PRVOPC): Likewise.
23252         (ILL_PRVREG): Likewise.
23253         (ILL_COPROC): Likewise.
23254         (ILL_BADSTK): Likewise.
23255         (FPE_INTDIV): Likewise.
23256         (FPE_INTOVF): Likewise.
23257         (FPE_FLTDIV): Likewise.
23258         (FPE_FLTOVF): Likewise.
23259         (FPE_FLTUND): Likewise.
23260         (FPE_FLTRES): Likewise.
23261         (FPE_FLTINV): Likewise.
23262         (FPE_FLTSUB): Likewise.
23263         (SEGV_MAPERR): Likewise.
23264         (SEGV_ACCERR): Likewise.
23265         (BUS_ADRALN): Likewise.
23266         (BUS_ADRERR): Likewise.
23267         (BUS_OBJERR): Likewise.
23268         (BUS_MCEERR_AR): Likewise.
23269         (BUS_MCEERR_AO): Likewise.
23270         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23271         (TRAP_TRACE): Likewise.
23272         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23273         __USE_XOPEN2K8].
23274         (CLD_KILLED): Likewise.
23275         (CLD_DUMPED): Likewise.
23276         (CLD_TRAPPED): Likewise.
23277         (CLD_STOPPED): Likewise.
23278         (CLD_CONTINUED): Likewise.
23279         (POLL_IN): Likewise.
23280         (POLL_OUT): Likewise.
23281         (POLL_MSG): Likewise.
23282         (POLL_ERR): Likewise.
23283         (POLL_PRI): Likewise.
23284         (POLL_HUP): Likewise.
23285         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
23286         (ILL_ILLOPN): Likewise.
23287         (ILL_ILLADR): Likewise.
23288         (ILL_ILLTRP): Likewise.
23289         (ILL_PRVOPC): Likewise.
23290         (ILL_PRVREG): Likewise.
23291         (ILL_COPROC): Likewise.
23292         (ILL_BADSTK): Likewise.
23293         (ILL_DBLFLT): Likewise.
23294         (ILL_HARDWALL): Likewise.
23295         (FPE_INTDIV): Likewise.
23296         (FPE_INTOVF): Likewise.
23297         (FPE_FLTDIV): Likewise.
23298         (FPE_FLTOVF): Likewise.
23299         (FPE_FLTUND): Likewise.
23300         (FPE_FLTRES): Likewise.
23301         (FPE_FLTINV): Likewise.
23302         (FPE_FLTSUB): Likewise.
23303         (SEGV_MAPERR): Likewise.
23304         (SEGV_ACCERR): Likewise.
23305         (BUS_ADRALN): Likewise.
23306         (BUS_ADRERR): Likewise.
23307         (BUS_OBJERR): Likewise.
23308         (BUS_MCEERR_AR): Likewise.
23309         (BUS_MCEERR_AO): Likewise.
23310         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23311         (TRAP_TRACE): Likewise.
23312         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23313         __USE_XOPEN2K8].
23314         (CLD_KILLED): Likewise.
23315         (CLD_DUMPED): Likewise.
23316         (CLD_TRAPPED): Likewise.
23317         (CLD_STOPPED): Likewise.
23318         (CLD_CONTINUED): Likewise.
23319         (POLL_IN): Likewise.
23320         (POLL_OUT): Likewise.
23321         (POLL_MSG): Likewise.
23322         (POLL_ERR): Likewise.
23323         (POLL_PRI): Likewise.
23324         (POLL_HUP): Likewise.
23325         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
23326         (ILL_ILLOPN): Likewise.
23327         (ILL_ILLADR): Likewise.
23328         (ILL_ILLTRP): Likewise.
23329         (ILL_PRVOPC): Likewise.
23330         (ILL_PRVREG): Likewise.
23331         (ILL_COPROC): Likewise.
23332         (ILL_BADSTK): Likewise.
23333         (FPE_INTDIV): Likewise.
23334         (FPE_INTOVF): Likewise.
23335         (FPE_FLTDIV): Likewise.
23336         (FPE_FLTOVF): Likewise.
23337         (FPE_FLTUND): Likewise.
23338         (FPE_FLTRES): Likewise.
23339         (FPE_FLTINV): Likewise.
23340         (FPE_FLTSUB): Likewise.
23341         (SEGV_MAPERR): Likewise.
23342         (SEGV_ACCERR): Likewise.
23343         (BUS_ADRALN): Likewise.
23344         (BUS_ADRERR): Likewise.
23345         (BUS_OBJERR): Likewise.
23346         (BUS_MCEERR_AR): Likewise.
23347         (BUS_MCEERR_AO): Likewise.
23348         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23349         (TRAP_TRACE): Likewise.
23350         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23351         __USE_XOPEN2K8].
23352         (CLD_KILLED): Likewise.
23353         (CLD_DUMPED): Likewise.
23354         (CLD_TRAPPED): Likewise.
23355         (CLD_STOPPED): Likewise.
23356         (CLD_CONTINUED): Likewise.
23357         (POLL_IN): Likewise.
23358         (POLL_OUT): Likewise.
23359         (POLL_MSG): Likewise.
23360         (POLL_ERR): Likewise.
23361         (POLL_PRI): Likewise.
23362         (POLL_HUP): Likewise.
23363         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
23364         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23366         [BZ #16670]
23367         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
23368         before #include of <time.h>.
23369         [!__USE_XOPEN2K] (__need_timespec): Likewise.
23370         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
23371         (test-xfail-UNIX98/sched.h/conform): Likewise.
23373 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23375         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
23376         error absence of trapping exception support.
23377         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23379 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
23381         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
23382         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
23383         * timezone/Makefile (testdata): Move definition above include of
23384         Rules.
23385         (test-zones): New variable.
23386         (tests-special): Add zone files.
23387         (build-testdata): Use $(evaluate-test).
23389         * elf/Makefile (tests-special): Rename tests to end with .out.
23390         ($(objpfx)noload-mem): Likewise.
23391         ($(objpfx)tst-leaks1-mem): Likewise.
23392         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
23393         * iconv/Makefile (xtests-special): Change test-iconvconfig to
23394         $(objpfx)test-iconvconfig.out.
23395         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
23396         set -e inside subshell and redirect output to file.
23397         * iconvdata/Makefile (generated): Rename tests to end with .out.
23398         Correct type.
23399         (tests-special): Rename tests to end with .out.
23400         ($(objpfx)mtrace-tst-loading): Likewise.
23401         * intl/Makefile (generated): Likewise.
23402         (tests-special): Likewise.
23403         ($(objpfx)mtrace-tst-gettext): Likewise.
23404         * misc/Makefile (generated): Likewise.
23405         (tests-special): Likewise.
23406         ($(objpfx)tst-error1-mem): Likewise.
23407         * nptl/Makefile (tests-special): Likewise.
23408         ($(objpfx)tst-stack3-mem): Likewise.
23409         (generated): Likewise.
23410         * posix/Makefile (generated): Likewise.
23411         (tests-special): Likewise.
23412         (xtests-special): Likewise.
23413         ($(objpfx)tst-fnmatch-mem): Likewise.
23414         ($(objpfx)bug-regex2-mem): Likewise.
23415         ($(objpfx)bug-regex14-mem): Likewise.
23416         ($(objpfx)bug-regex21-mem): Likewise.
23417         ($(objpfx)bug-regex31-mem): Likewise.
23418         ($(objpfx)tst-vfork3-mem): Likewise.
23419         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23420         ($(objpfx)tst-pcre-mem): Likewise.
23421         ($(objpfx)tst-boost-mem): Likewise.
23422         ($(objpfx)bug-ga2-mem): Likewise.
23423         ($(objpfx)bug-glob2-mem): Likewise.
23424         * resolv/Makefile (generate): Likewise.
23425         (tests-special): Likewise.
23426         (xtests-special): Likewise.
23427         (generated): Likewise.
23428         ($(objpfx)mtrace-tst-leaks): Likewise.
23429         ($(objpfx)mtrace-tst-leaks2): Likewise.
23431         * scripts/merge-test-results.sh: New file.
23432         * Makefile (tests-special-notdir): New variable.
23433         (tests): Run merge-test-results.sh.
23434         (xtests): Likewise.
23435         * Rules (tests-special-notdir): New variable.
23436         (xtests-special-notdir): Likewise.
23437         (tests): Run merge-test-results.sh
23438         (xtests): Likewise.
23440         * Makeconfig (test-xfail-name): New variable.
23441         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
23442         compute variable name for expected failures.
23443         * conform/Makefile (conformtest-headers-data): New variable.
23444         (conformtest-standards): Likewise.
23445         (conformtest-headers-ISO): Likewise.
23446         (conformtest-headers-ISO99): Likewise.
23447         (conformtest-headers-ISO11): Likewise.
23448         (conformtest-headers-POSIX): Likewise.
23449         (conformtest-headers-XPG3): Likewise.
23450         (conformtest-headers-XPG4): Likewise.
23451         (conformtest-headers-UNIX98): Likewise.
23452         (conformtest-headers-XOPEN2K): Likewise.
23453         (conformtest-headers-POSIX2008): Likewise.
23454         (conformtest-headers-XOPEN2K8): Likewise.
23455         (conformtest-header-list-base): Likewise.
23456         (conformtest-header-list-tests): Likewise.
23457         (conformtest-header-base): Likewise.
23458         (conformtest-header-tests): Likewise.
23459         (tests-special): Add $(conformtest-header-list-tests).  If
23460         [$(fast-check) && !$(cross-compiling)], add
23461         $(conformtest-header-tests) instead of
23462         $(objpfx)run-conformtest.out.
23463         (generated): Add $(conformtest-header-list-base).  If
23464         [$(fast-check) && !$(cross-compiling)], add
23465         $(conformtest-header-base).  Remove previous setting.
23466         ($(conformtest-header-list-tests)): New target.
23467         (test-xfail-run-conformtest): Remove variable.
23468         ($(objpfx)run-conformtest.out): Remove target.
23469         (test-xfail-ISO11/complex.h/conform): New variable.
23470         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23471         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23472         (test-xfail-XPG3/varargs.h/conform): Likewise.
23473         (test-xfail-XPG4/varargs.h/conform): Likewise.
23474         (test-xfail-UNIX98/varargs.h/conform): Likewise.
23475         (test-xfail-XPG4/ndbm.h/conform): Likewise.
23476         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
23477         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
23478         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
23479         (test-xfail-XPG3/fcntl.h/conform): Likewise.
23480         (test-xfail-XPG3/ftw.h/conform): Likewise.
23481         (test-xfail-XPG3/grp.h/conform): Likewise.
23482         (test-xfail-XPG3/langinfo.h/conform): Likewise.
23483         (test-xfail-XPG3/limits.h/conform): Likewise.
23484         (test-xfail-XPG3/pwd.h/conform): Likewise.
23485         (test-xfail-XPG3/search.h/conform): Likewise.
23486         (test-xfail-XPG3/signal.h/conform): Likewise.
23487         (test-xfail-XPG3/stdio.h/conform): Likewise.
23488         (test-xfail-XPG3/stdlib.h/conform): Likewise.
23489         (test-xfail-XPG3/string.h/conform): Likewise.
23490         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
23491         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
23492         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
23493         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
23494         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
23495         (test-xfail-XPG3/sys/types.h/conform): Likewise.
23496         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
23497         (test-xfail-XPG3/termios.h/conform): Likewise.
23498         (test-xfail-XPG3/time.h/conform): Likewise.
23499         (test-xfail-XPG3/unistd.h/conform): Likewise.
23500         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
23501         (test-xfail-XPG4/fcntl.h/conform): Likewise.
23502         (test-xfail-XPG4/langinfo.h/conform): Likewise.
23503         (test-xfail-XPG4/netdb.h/conform): Likewise.
23504         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
23505         (test-xfail-XPG4/signal.h/conform): Likewise.
23506         (test-xfail-XPG4/stdio.h/conform): Likewise.
23507         (test-xfail-XPG4/stdlib.h/conform): Likewise.
23508         (test-xfail-XPG4/stropts.h/conform): Likewise.
23509         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
23510         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
23511         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
23512         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
23513         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
23514         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
23515         (test-xfail-XPG4/sys/time.h/conform): Likewise.
23516         (test-xfail-XPG4/sys/types.h/conform): Likewise.
23517         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
23518         (test-xfail-XPG4/termios.h/conform): Likewise.
23519         (test-xfail-XPG4/ucontext.h/conform): Likewise.
23520         (test-xfail-XPG4/unistd.h/conform): Likewise.
23521         (test-xfail-XPG4/utmpx.h/conform): Likewise.
23522         (test-xfail-POSIX/sched.h/conform): Likewise.
23523         (test-xfail-POSIX/signal.h/conform): Likewise.
23524         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23525         (test-xfail-POSIX/tar.h/conform): Likewise.
23526         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
23527         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
23528         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
23529         (test-xfail-UNIX98/netdb.h/conform): Likewise.
23530         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
23531         (test-xfail-UNIX98/sched.h/conform): Likewise.
23532         (test-xfail-UNIX98/signal.h/conform): Likewise.
23533         (test-xfail-UNIX98/stdio.h/conform): Likewise.
23534         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
23535         (test-xfail-UNIX98/stropts.h/conform): Likewise.
23536         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
23537         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
23538         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
23539         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
23540         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
23541         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
23542         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
23543         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
23544         (test-xfail-UNIX98/unistd.h/conform): Likewise.
23545         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
23546         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
23547         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
23548         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
23549         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
23550         (test-xfail-XOPEN2K/math.h/conform): Likewise.
23551         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
23552         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
23553         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
23554         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
23555         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
23556         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
23557         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
23558         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
23559         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
23560         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
23561         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
23562         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
23563         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
23564         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
23565         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
23566         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23567         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
23568         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
23569         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
23570         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
23571         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
23572         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
23573         (test-xfail-POSIX2008/signal.h/conform): Likewise.
23574         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
23575         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
23576         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
23577         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
23578         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
23579         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
23580         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23581         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
23582         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
23583         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
23584         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
23585         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
23586         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
23587         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
23588         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
23589         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
23590         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
23591         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
23592         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
23593         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
23594         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23595         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23596         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
23597         (conformtest-cc-flags): Likewise.
23598         ($(conformtest-header-tests): New target.
23599         * conform/check-header-lists.sh: New file.
23600         * conform/run-conformtest.sh: Remove.
23602         * conform/conformtest.pl: Allow ' and \ in values given for
23603         constants.
23604         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
23605         inclusion.
23606         [POSIX] (sys/types.h): Likewise.
23607         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
23608         inclusion.
23609         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
23610         inclusion.
23611         * conform/data/signal.h-data (SIGIO): Remove expectation.
23612         [XPG3] (SIGBUS): Do not expect.
23613         [POSIX || XPG3] (SIGPOLL): Likewise.
23614         [POSIX || XPG3] (SIGPROF): Likewise.
23615         [POSIX || XPG3] (SIGSYS): Likewise.
23616         [XPG3] (SIGTRAP): Likewise.
23617         [POSIX || XPG3] (SIGURG): Likewise.
23618         [POSIX || XPG3] (SIGVTALRM): Likewise.
23619         [POSIX || XPG3] (SIGXCPU): Likewise.
23620         [POSIX || XPG3] (SIGXFSZ): Likewise.
23621         [POSIX] (SA_SIGINFO): Expect.
23622         [XPG3] (siginfo_t): Do not expect type or contents.
23623         [POSIX] (si_pid): Do not expect element.
23624         [POSIX] (si_uid): Likewise.
23625         [POSIX] (si_addr): Likewise.
23626         [POSIX] (si_status): Likewise.
23627         [POSIX] (si_band): Likewise.
23628         [XPG4] (si_value): Likewise.
23629         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
23630         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
23631         [POSIX || XPG3] (ILL_ILLADR): Likewise.
23632         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
23633         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
23634         [POSIX || XPG3] (ILL_PRVREG): Likewise.
23635         [POSIX || XPG3] (ILL_COPROC): Likewise.
23636         [POSIX || XPG3] (ILL_BADSTK): Likewise.
23637         [POSIX || XPG3] (FPE_INTDIV): Likewise.
23638         [POSIX || XPG3] (FPE_INTOVF): Likewise.
23639         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
23640         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
23641         [POSIX || XPG3] (FPE_FLTUND): Likewise.
23642         [POSIX || XPG3] (FPE_FLTRES): Likewise.
23643         [POSIX || XPG3] (FPE_FLTINV): Likewise.
23644         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
23645         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
23646         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
23647         [POSIX || XPG3] (BUS_ADRALN): Likewise.
23648         [POSIX || XPG3] (BUS_ADRERR): Likewise.
23649         [POSIX || XPG3] (BUS_OBJERR): Likewise.
23650         [POSIX || XPG3] (CLD_EXITED): Likewise.
23651         [POSIX || XPG3] (CLD_KILLED): Likewise.
23652         [POSIX || XPG3] (CLD_DUMPED): Likewise.
23653         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
23654         [POSIX || XPG3] (CLD_STOPPED): Likewise.
23655         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
23656         [POSIX || XPG3] (POLL_IN): Likewise.
23657         [POSIX || XPG3] (POLL_OUT): Likewise.
23658         [POSIX || XPG3] (POLL_MSG): Likewise.
23659         [POSIX || XPG3] (POLL_ERR): Likewise.
23660         [POSIX || XPG3] (POLL_PRI): Likewise.
23661         [POSIX || XPG3] (POLL_HUP): Likewise.
23662         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
23663         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
23664         (SIG*): Do not allow.
23665         [XPG3] (si_*): Likewise.
23666         [XPG3] (SI_*): Likewise.
23667         [XPG3 || XPG4] (sigev_*): Likewise.
23668         [XPG3 || XPG4] (SIGEV_*): Likewise.
23669         [XPG3 || XPG4] (sival_*): Likewise.
23670         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
23671         [POSIX || XPG3] (BUS_*): Likewise.
23672         [POSIX || XPG3] (CLD_*): Likewise.
23673         [POSIX || XPG3] (FPE_*): Likewise.
23674         [POSIX || XPG3] (ILL_*): Likewise.
23675         [POSIX || XPG3] (POLL_*): Likewise.
23676         [POSIX || XPG3] (SEGV_*): Likewise.
23677         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
23678         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
23679         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
23680         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
23681         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
23682         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
23683         Specify type and value.
23684         (TVERSLEN): Likewise.
23685         (REGTYPE): Likewise.
23686         (AREGTYPE): Likewise.
23687         (LNKTYPE): Likewise.
23688         (SYMTYPE): Likewise.
23689         (CHRTYPE): Likewise.
23690         (BLKTYPE): Likewise.
23691         (DIRTYPE): Likewise.
23692         (FIFOTYPE): Likewise.
23693         (CONTTYPE): Likewise.
23694         (TSUID): Likewise.
23695         (TSGID): Likewise.
23696         (TSVTX): Likewise.
23697         (TUREAD): Likewise.
23698         (TUWRITE): Likewise.
23699         (TUEXEC): Likewise.
23700         (TGREAD): Likewise.
23701         (TGWRITE): Likewise.
23702         (TGEXEC): Likewise.
23703         (TOREAD): Likewise.
23704         (TOWRITE): Likewise.
23705         (TOEXEC): Likewise.
23706         [POSIX] (TSVTX): Expect constant.
23708 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
23710         * Makefile (tests): Change dependencies to ....
23711         (tests-special): ... additions to this variable.
23712         (tests): Depend on $(tests-special).
23713         * Makerules (check-abi-list): New variable.
23714         (check-abi): Depend on $(check-abi-list).
23715         [$(subdir) = elf] (tests-special): Add
23716         $(objpfx)check-abi-libc.out.
23717         [$(build-shared) = yes && subdir] (tests-special): Add
23718         $(check-abi-list).
23719         [$(build-shared) = yes && subdir] (tests): Do not depend on
23720         check-abi.
23721         * Rules (tests): Depend on $(tests-special).
23722         (xtests): Depend on $(xtests-special).
23723         * catgets/Makefile (tests): Change dependencies to ....
23724         (tests-special): ... additions to this variable.
23725         * conform/Makefile (tests): Change dependencies to ....
23726         (tests-special): ... additions to this variable.
23727         * elf/Makefile (tests): Change dependencies to ....
23728         (tests-special): ... additions to this variable.
23729         * grp/Makefile (tests): Change dependencies to ....
23730         (tests-special): ... additions to this variable.
23731         * iconv/Makefile (xtests): Change dependencies to ....
23732         (xtests-special): ... additions to this variable.
23733         * iconvdata/Makefile (tests): Change dependencies to ....
23734         (tests-special): ... additions to this variable.
23735         * intl/Makefile (tests): Change dependencies to ....
23736         (tests-special): ... additions to this variable.  Also add
23737         $(objpfx)tst-gettext.out.
23738         * io/Makefile (tests): Change dependencies to ....
23739         (tests-special): ... additions to this variable.
23740         * libio/Makefile (tests): Change dependencies to ....
23741         (tests-special): ... additions to this variable.
23742         * malloc/Makefile (tests): Change dependencies to ....
23743         (tests-special): ... additions to this variable.
23744         * misc/Makefile (tests): Change dependencies to ....
23745         (tests-special): ... additions to this variable.
23746         * nptl/Makefile (tests): Change dependencies to ....
23747         (tests-special): ... additions to this variable.
23748         * nptl_db/Makefile (tests): Change dependencies to ....
23749         (tests-special): ... additions to this variable.
23750         * posix/Makefile (tests): Change dependencies to ....
23751         (tests-special): ... additions to this variable.
23752         (xtests): Change dependencies to ....
23753         (xtests-special): ... additions to this variable.
23754         * resolv/Makefile (tests): Change dependencies to ....
23755         (tests-special): ... additions to this variable.
23756         (xtests): Change dependencies to ....
23757         (xtests-special): ... additions to this variable.
23758         * stdio-common/Makefile (tests): Change dependencies to ....
23759         (tests-special): ... additions to this variable.
23760         (do-tst-unbputc): Remove target.
23761         (do-tst-printf): Likewise.
23762         * stdlib/Makefile (tests): Change dependencies to ....
23763         (tests-special): ... additions to this variable.
23764         * string/Makefile (tests): Change dependencies to ....
23765         (tests-special): ... additions to this variable.
23766         * sysdeps/x86/Makefile (tests): Change dependencies to ....
23767         (tests-special): ... additions to this variable.
23769         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23770         whole file.
23771         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23772         whole file.
23773         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23774         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23776         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23777         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23778         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23779         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23780         * conform/data/libgen.h-data [XPG3]: Likewise.
23781         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23782         * conform/data/ndbm.h-data [XPG3]: Likewise.
23783         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23784         * conform/data/netdb.h-data [XPG3]: Likewise.
23785         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23786         * conform/data/poll.h-data [XPG3]: Likewise.
23787         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23788         * conform/data/strings.h-data [XPG3]: Likewise.
23789         * conform/data/stropts.h-data [XPG3]: Likewise.
23790         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23791         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23792         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23793         Likewise.
23794         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23795         * conform/data/sys/time.h-data [XPG3]: Likewise.
23796         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23797         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23798         * conform/data/sys/un.h-data [XPG3]: Likewise.
23799         * conform/data/syslog.h-data [XPG3]: Likewise.
23800         * conform/data/ucontext.h-data [XPG3]: Likewise.
23801         * conform/data/utmpx.h-data [XPG3]: Likewise.
23802         * conform/data/varargs.h-data [UNIX98]: Enable file.
23804         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23806         * math/libm-test.inc (struct test_f_f_data): Move expected results
23807         into structure for each rounding mode.
23808         (struct test_ff_f_data): Likewise.
23809         (struct test_ff_f_data_nexttoward): Likewise.
23810         (struct test_fi_f_data): Likewise.
23811         (struct test_fl_f_data): Likewise.
23812         (struct test_if_f_data): Likewise.
23813         (struct test_fff_f_data): Likewise.
23814         (struct test_c_f_data): Likewise.
23815         (struct test_f_f1_data): Likewise.
23816         (struct test_fF_f1_data): Likewise.
23817         (struct test_ffI_f1_data): Likewise.
23818         (struct test_c_c_data): Likewise.
23819         (struct test_cc_c_data): Likewise.
23820         (struct test_f_i_data): Likewise.
23821         (struct test_ff_i_data): Likewise.
23822         (struct test_f_l_data): Likewise.
23823         (struct test_f_L_data): Likewise.
23824         (struct test_fFF_11_data): Likewise.
23825         (RM_): New macro.
23826         (RM_FE_DOWNWARD): Likewise.
23827         (RM_FE_TONEAREST): Likewise.
23828         (RM_FE_TOWARDZERO): Likewise.
23829         (RM_FE_UPWARD): Likewise.
23830         (RUN_TEST_LOOP_f_f): Update references to expected results.
23831         (RUN_TEST_LOOP_2_f): Likewise.
23832         (RUN_TEST_LOOP_fff_f): Likewise.
23833         (RUN_TEST_LOOP_c_f): Likewise.
23834         (RUN_TEST_LOOP_f_f1): Likewise.
23835         (RUN_TEST_LOOP_fF_f1): Likewise.
23836         (RUN_TEST_LOOP_fI_f1): Likewise.
23837         (RUN_TEST_LOOP_ffI_f1): Likewise.
23838         (RUN_TEST_LOOP_c_c): Likewise.
23839         (RUN_TEST_LOOP_cc_c): Likewise.
23840         (RUN_TEST_LOOP_f_i): Likewise.
23841         (RUN_TEST_LOOP_f_i_tg): Likewise.
23842         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23843         (RUN_TEST_LOOP_f_b): Likewise.
23844         (RUN_TEST_LOOP_f_b_tg): Likewise.
23845         (RUN_TEST_LOOP_f_l): Likewise.
23846         (RUN_TEST_LOOP_f_L): Likewise.
23847         (RUN_TEST_LOOP_fFF_11): Likewise.
23848         * math/gen-libm-test.pl (parse_args): Output four copies of
23849         expected results for each test.
23851         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23852         (__ASSUME_UTIMES): Remove.
23853         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23854         (__ASSUME_UTIMES): Likewise.
23856         * math/gen-auto-libm-tests.c: Update comment on output format.
23857         (output_for_one_input_case): Generate before-rounding and
23858         after-rounding information as conditions on output flags not
23859         floating-point format.
23860         * math/auto-libm-test-out: Regenerated.
23861         * math/gen-libm-test.pl (cond_value): New function.
23862         (or_cond_value): Use cond_value.
23863         (generate_testfile): Handle conditional exceptions.
23865 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23867         * math/libm-test.inc (max_valid_error): New variable.
23868         (init_max_error): Take new argument specifying whether function
23869         results are exactly determined.  Set max_valid_error and bound
23870         other variables for errors based on this argument.
23871         (set_max_error): Do not record results above max_valid_error.
23872         (check_float_internal): Only accept errors of up to 0.5ulps if
23873         also at most max_valid_error.
23874         (START): Take new argument EXACT and pass it to init_max_error.
23875         (acos_test): Update call to START.
23876         (acos_test_tonearest): Likewise.
23877         (acos_test_towardzero): Likewise.
23878         (acos_test_downward): Likewise.
23879         (acos_test_upward): Likewise.
23880         (acosh_test): Likewise.
23881         (asin_test): Likewise.
23882         (asin_test_tonearest): Likewise.
23883         (asin_test_towardzero): Likewise.
23884         (asin_test_downward): Likewise.
23885         (asin_test_upward): Likewise.
23886         (asinh_test): Likewise.
23887         (atan_test): Likewise.
23888         (atanh_test): Likewise.
23889         (atan2_test): Likewise.
23890         (cabs_test): Likewise.
23891         (cacos_test): Likewise.
23892         (cacosh_test): Likewise.
23893         (carg_test): Likewise.
23894         (casin_test): Likewise.
23895         (casinh_test): Likewise.
23896         (catan_test): Likewise.
23897         (catanh_test): Likewise.
23898         (cbrt_test): Likewise.
23899         (ccos_test): Likewise.
23900         (ccosh_test): Likewise.
23901         (ceil_test): Likewise.
23902         (cexp_test): Likewise.
23903         (cimag_test): Likewise.
23904         (clog_test): Likewise.
23905         (clog10_test): Likewise.
23906         (conj_test): Likewise.
23907         (copysign_test): Likewise.
23908         (cos_test): Likewise.
23909         (cos_test_tonearest): Likewise.
23910         (cos_test_towardzero): Likewise.
23911         (cos_test_downward): Likewise.
23912         (cos_test_upward): Likewise.
23913         (cosh_test): Likewise.
23914         (cosh_test_tonearest): Likewise.
23915         (cosh_test_towardzero): Likewise.
23916         (cosh_test_downward): Likewise.
23917         (cosh_test_upward): Likewise.
23918         (cpow_test): Likewise.
23919         (cproj_test): Likewise.
23920         (creal_test): Likewise.
23921         (csin_test): Likewise.
23922         (csinh_test): Likewise.
23923         (csqrt_test): Likewise.
23924         (ctan_test): Likewise.
23925         (ctan_test_tonearest): Likewise.
23926         (ctan_test_towardzero): Likewise.
23927         (ctan_test_downward): Likewise.
23928         (ctan_test_upward): Likewise.
23929         (ctanh_test): Likewise.
23930         (ctanh_test_tonearest): Likewise.
23931         (ctanh_test_towardzero): Likewise.
23932         (ctanh_test_downward): Likewise.
23933         (ctanh_test_upward): Likewise.
23934         (erf_test): Likewise.
23935         (erfc_test): Likewise.
23936         (exp_test): Likewise.
23937         (exp_test_tonearest): Likewise.
23938         (exp_test_towardzero): Likewise.
23939         (exp_test_downward): Likewise.
23940         (exp_test_upward): Likewise.
23941         (exp10_test): Likewise.
23942         (exp10_test_tonearest): Likewise.
23943         (exp10_test_towardzero): Likewise.
23944         (exp10_test_downward): Likewise.
23945         (exp10_test_upward): Likewise.
23946         (pow10_test): Likewise.
23947         (exp2_test): Likewise.
23948         (expm1_test): Likewise.
23949         (expm1_test_tonearest): Likewise.
23950         (expm1_test_towardzero): Likewise.
23951         (expm1_test_downward): Likewise.
23952         (expm1_test_upward): Likewise.
23953         (fabs_test): Likewise.
23954         (fdim_test): Likewise.
23955         (floor_test): Likewise.
23956         (fma_test): Likewise.
23957         (fma_test_towardzero): Likewise.
23958         (fma_test_downward): Likewise.
23959         (fma_test_upward): Likewise.
23960         (fmax_test): Likewise.
23961         (fmin_test): Likewise.
23962         (fmod_test): Likewise.
23963         (fpclassify_test): Likewise.
23964         (frexp_test): Likewise.
23965         (hypot_test): Likewise.
23966         (ilogb_test): Likewise.
23967         (isfinite_test): Likewise.
23968         (finite_test): Likewise.
23969         (isgreater_test): Likewise.
23970         (isgreaterequal_test): Likewise.
23971         (isinf_test): Likewise.
23972         (isless_test): Likewise.
23973         (islessequal_test): Likewise.
23974         (islessgreater_test): Likewise.
23975         (isnan_test): Likewise.
23976         (isnormal_test): Likewise.
23977         (issignaling_test): Likewise.
23978         (isunordered_test): Likewise.
23979         (j0_test): Likewise.
23980         (j1_test): Likewise.
23981         (jn_test): Likewise.
23982         (ldexp_test): Likewise.
23983         (lgamma_test): Likewise.
23984         (gamma_test): Likewise.
23985         (lrint_test): Likewise.
23986         (lrint_test_tonearest): Likewise.
23987         (lrint_test_towardzero): Likewise.
23988         (lrint_test_downward): Likewise.
23989         (lrint_test_upward): Likewise.
23990         (llrint_test): Likewise.
23991         (llrint_test_tonearest): Likewise.
23992         (llrint_test_towardzero): Likewise.
23993         (llrint_test_downward): Likewise.
23994         (llrint_test_upward): Likewise.
23995         (log_test): Likewise.
23996         (log10_test): Likewise.
23997         (log1p_test): Likewise.
23998         (log2_test): Likewise.
23999         (logb_test): Likewise.
24000         (logb_test_downward): Likewise.
24001         (lround_test): Likewise.
24002         (llround_test): Likewise.
24003         (modf_test): Likewise.
24004         (nearbyint_test): Likewise.
24005         (nextafter_test): Likewise.
24006         (nexttoward_test): Likewise.
24007         (pow_test): Likewise.
24008         (pow_test_tonearest): Likewise.
24009         (pow_test_towardzero): Likewise.
24010         (pow_test_downward): Likewise.
24011         (pow_test_upward): Likewise.
24012         (remainder_test): Likewise.
24013         (drem_test): Likewise.
24014         (remainder_test_tonearest): Likewise.
24015         (drem_test_tonearest): Likewise.
24016         (remainder_test_towardzero): Likewise.
24017         (drem_test_towardzero): Likewise.
24018         (remainder_test_downward): Likewise.
24019         (drem_test_downward): Likewise.
24020         (remainder_test_upward): Likewise.
24021         (drem_test_upward): Likewise.
24022         (remquo_test): Likewise.
24023         (rint_test): Likewise.
24024         (rint_test_tonearest): Likewise.
24025         (rint_test_towardzero): Likewise.
24026         (rint_test_downward): Likewise.
24027         (rint_test_upward): Likewise.
24028         (round_test): Likewise.
24029         (scalb_test): Likewise.
24030         (scalbn_test): Likewise.
24031         (scalbln_test): Likewise.
24032         (signbit_test): Likewise.
24033         (sin_test): Likewise.
24034         (sin_test_tonearest): Likewise.
24035         (sin_test_towardzero): Likewise.
24036         (sin_test_downward): Likewise.
24037         (sin_test_upward): Likewise.
24038         (sincos_test): Likewise.
24039         (sinh_test): Likewise.
24040         (sinh_test_tonearest): Likewise.
24041         (sinh_test_towardzero): Likewise.
24042         (sinh_test_downward): Likewise.
24043         (sinh_test_upward): Likewise.
24044         (sqrt_test): Likewise.
24045         (sqrt_test_tonearest): Likewise.
24046         (sqrt_test_towardzero): Likewise.
24047         (sqrt_test_downward): Likewise.
24048         (sqrt_test_upward): Likewise.
24049         (tan_test): Likewise.
24050         (tan_test_tonearest): Likewise.
24051         (tan_test_towardzero): Likewise.
24052         (tan_test_downward): Likewise.
24053         (tan_test_upward): Likewise.
24054         (tanh_test): Likewise.
24055         (tgamma_test): Likewise.
24056         (trunc_test): Likewise.
24057         (y0_test): Likewise.
24058         (y1_test): Likewise.
24059         (yn_test): Likewise.
24060         (significand_test): Likewise.
24062         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
24063         individual tests in comment.
24064         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
24065         (prev_max_error): New variable.
24066         (prev_real_max_error): Likewise.
24067         (prev_imag_max_error): Likewise.
24068         (compare_ulp_data): Don't refer to test names in comment.
24069         (find_test_ulps): Remove function.
24070         (find_function_ulps): Likewise.
24071         (find_complex_function_ulps): Likewise.
24072         (init_max_error): Take function name as argument.  Look up ulps
24073         for that function.
24074         (print_ulps): Remove function.
24075         (print_max_error): Use prev_max_error instead of calling
24076         find_function_ulps.
24077         (print_complex_max_error): Use prev_real_max_error and
24078         prev_imag_max_error instead of calling find_complex_function_ulps.
24079         (check_float_internal): Take max_ulp parameter instead of calling
24080         find_test_ulps.  Don't call print_ulps.
24081         (check_float): Update call to check_float_internal.
24082         (check_complex): Update calls to check_float_internal.
24083         (START): Pass argument to init_max_error.
24084         * math/gen-libm-test.pl (%results): Don't include "kind"
24085         information.
24086         (parse_ulps): Don't handle ulps of individual tests.
24087         (print_ulps_file): Likewise.
24088         (output_ulps): Likewise.
24089         * math/README.libm-test: Update.
24090         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
24091         individual tests.
24092         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
24093         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
24094         * sysdeps/arm/libm-test-ulps: Likewise.
24095         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24096         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
24097         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
24098         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
24099         * sysdeps/microblaze/libm-test-ulps: Likewise.
24100         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24101         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24102         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24103         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24104         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24105         * sysdeps/sh/libm-test-ulps: Likewise.
24106         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24107         * sysdeps/tile/libm-test-ulps: Likewise.
24108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24110 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
24112         * math/libm-test.inc (print_complex_max_error): Check separately
24113         whether real and imaginary errors are within allowed range and
24114         pass 0 to print_complex_function_ulps instead of value within
24115         allowed range.
24117 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24119         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
24120         formatting.
24121         (get_handles_fopen): Likewise.
24122         (do_write_test): Likewise.
24124         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
24126         * libio/fileops.c (do_ftell): Use cached offset when
24127         available.
24128         * libio/iofwide.c (do_ftell_wide): Likewise.
24129         * libio/iofdopen.c (_IO_new_fdopen): Don't use
24130         _IO_file_attach.
24131         * libio/wfileops.c (_IO_fwide): Don't cache offset.
24133         [BZ #16532]
24134         * libio/libioP.h (get_file_offset): New function.
24135         * libio/fileops.c (get_file_offset): Likewise.
24136         (do_ftell): Likewise.
24137         (_IO_new_file_seekoff): Split out ftell logic.
24138         * libio/wfileops.c (do_ftell_wide): Likewise.
24139         (_IO_wfile_seekoff): Split out ftell logic.
24140         * libio/tst-ftell-active-handler.c: New test case.
24141         * libio/Makefile (tests): Add it.
24143 2014-03-03  Roland McGrath  <roland@hack.frob.com>
24145         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
24146         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
24148 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24150         [BZ #16639]
24151         * nscd/connections.c (nscd_init): Call do_exit.
24152         (start_threads): Call do_exit and notify_parent.
24153         (begin_drop_privileges): Call do_exit.
24154         (finish_drop_privileges): Likewise.
24155         * nscd/selinux.c (preserve_capabilities): Likewise.
24156         (install_real_capabilities): Likewise.
24157         (nscd_selinux_enabled): Likewise.
24158         (avc_create_thread): Likewise.
24159         (avc_alloc_lock): Likewise.
24160         (nscd_avc_init): Likewise.
24161         * nscd/nscd.c (parent_fd): New static variable.
24162         (main): Create a pipe between parent and child processes.
24163         Skip closing parent_fd.
24164         (monitor_child): New function.
24165         (do_exit): Likewise.
24166         (notify_parent): Likewise.
24167         * nscd/nscd.h (notify_parent): Likewise.
24168         (do_exit): Likewise.
24170 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
24172         * malloc/malloc.c (__libc_calloc): Revert last change.
24174 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24178 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24180         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
24181         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
24182         implementation.
24183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24184         (__libc_ifunc_impl_list): Likewise.
24185         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
24186         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
24187         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
24188         * string/strrchr.c: Define STRRCHR.
24190 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
24192         * benchtest/bench-strtok.c (simple_strtok): Delete.
24193         (strtok_string): Use as benchmark.
24194         * string/strtok (STRTOK): New macro.
24196 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
24198         * manual/threads.texi: Add header and standard comments to all
24199         functions.
24201         * elf/dl-lookup.c (check_match): New function.
24202         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
24203         (do_lookup_x): Remove nested function check_match. Use non-nested
24204         function check_match.
24206 2014-02-28  Roland McGrath  <roland@hack.frob.com>
24208         * csu/Makefile (generated, before-compile): Use += rather than =.
24209         * catgets/Makefile (generated, generated-dirs): Likewise.
24210         * debug/Makefile (generated): Likewise.
24211         * dlfcn/Makefile (generated): Likewise.
24212         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
24213         * iconvdata/Makefile (before-compile, generated): Likewise.
24214         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
24215         * libio/Makefile (generated): Likewise.
24216         * malloc/Makefile (generated): Likewise.
24217         * manual/Makefile (generated, generated-dirs): Likewise.
24218         * misc/Makefile (generated): Likewise.
24219         * posix/Makefile (generated): Likewise.
24220         * resolv/Makefile (generated): Likewise.
24221         * sunrpc/Makefile (generated, generated-dirs): Likewise.
24222         * timezone/Makefile (generated, generated-dirs): Likewise.
24224         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
24226 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24228         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24229         power8 implementation.
24230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
24231         file: POWER8 llround ifunc implementation.
24232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24233         (__lllround): Add POWER8 implementation.
24234         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
24235         POWER8 llround implementation.
24237         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
24238         power8 implementation.
24239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
24240         file: POWER8 llrint ifunc implementation.
24241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
24242         Add POWER8 implementation.
24243         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
24244         POWER8 llrint implementation.
24246         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
24247         power8 implementation.
24248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
24249         file: POWER8 finite ifunc implementation.
24250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
24251         Add POWER8 implementation.
24252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
24253         Likewise.
24254         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
24255         POWER8 finite implementation.
24256         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
24258         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
24259         power8 implementation.
24260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
24261         file: POWER8 isinf ifunc implementation.
24262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
24263         POWER8 implementation.
24264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
24265         Likewise.
24266         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
24267         isinf implementation.
24268         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
24270         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24271         (INIT_ARCH): Add hwcap2 initialization.
24272         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24273         power8 implementation.
24274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
24275         file: POWER8 isnan ifunc implementation.
24276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
24277         POWER8 implementation.
24278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
24279         Likewise.
24280         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
24281         isnan implementation.
24282         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
24284 2014-02-27  Joey Ye  <joey.ye@arm.com>
24286         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24287         (_FP_NANFRAC_Q): Set to zero.
24289 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24291         [BZ #16623]
24292         * math/auto-libm-test-in: New test inputs.
24293         * math/auto-libm-test-out: Regenerate.
24294         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
24295         and DA.
24296         (__cos): Likewise.
24297         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24299 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
24301         * scripts/evaluate-test.sh: Take new argument indicating whether
24302         failure is expected.
24303         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
24304         indicating whether failure is expected.
24305         * conform/Makefile (test-xfail-run-conformtest): New variable.
24306         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
24307         level.
24308         * posix/Makefile (test-xfail-annexc): New variable.
24309         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
24311 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
24313         * argp/Makefile: Include Makeconfig immediately after defining
24314         subdir.
24315         * assert/Makefile: Likewise.
24316         * benchtests/Makefile: Likewise.
24317         * catgets/Makefile: Likewise.
24318         * conform/Makefile: Likewise.
24319         * crypt/Makefile: Likewise.
24320         * csu/Makefile: Likewise.
24321         (all): Remove target.
24322         * ctype/Makefile: Include Makeconfig immediately after defining
24323         subdir.
24324         * debug/Makefile: Likewise.
24325         * dirent/Makefile: Likewise.
24326         * dlfcn/Makefile: Likewise.
24327         * gmon/Makefile: Likewise.
24328         * gnulib/Makefile: Likewise.
24329         * grp/Makefile: Likewise.
24330         * gshadow/Makefile: Likewise.
24331         * hesiod/Makefile: Likewise.
24332         * hurd/Makefile: Likewise.
24333         (all): Remove target.
24334         * iconvdata/Makefile: Include Makeconfig immediately after
24335         defining subdir.
24336         * inet/Makefile: Likewise.
24337         * intl/Makefile: Likewise.
24338         * io/Makefile: Likewise.
24339         * libio/Makefile: Likewise.
24340         (all): Remove target.
24341         * locale/Makefile: Include Makeconfig immediately after defining
24342         subdir.
24343         * login/Makefile: Likewise.
24344         * mach/Makefile: Likewise.
24345         (all): Remove target.
24346         * malloc/Makefile: Include Makeconfig immediately after defining
24347         subdir.
24348         (all): Remove target.
24349         * manual/Makefile: Include Makeconfig immediately after defining
24350         subdir.
24351         * math/Makefile: Likewise.
24352         * misc/Makefile: Likewise.
24353         * nis/Makefile: Likewise.
24354         * nss/Makefile: Likewise.
24355         * po/Makefile: Likewise.
24356         (all): Remove target.
24357         * posix/Makefile: Include Makeconfig immediately after defining
24358         subdir.
24359         * pwd/Makefile: Likewise.
24360         * resolv/Makefile: Likewise.
24361         * resource/Makefile: Likewise.
24362         * rt/Makefile: Likewise.
24363         * setjmp/Makefile: Likewise.
24364         * shadow/Makefile: Likewise.
24365         * signal/Makefile: Likewise.
24366         * socket/Makefile: Likewise.
24367         * soft-fp/Makefile: Likewise.
24368         * stdio-common/Makefile: Likewise.
24369         * stdlib/Makefile: Likewise.
24370         * streams/Makefile: Likewise.
24371         * string/Makefile: Likewise.
24372         * sunrpc/Makefile: Likewise.
24373         (all): Remove target.
24374         * sysvipc/Makefile: Include Makeconfig immediately after defining
24375         subdir.
24376         * termios/Makefile: Likewise.
24377         * time/Makefile: Likewise.
24378         * timezone/Makefile: Likewise.
24379         (all): Remove target.
24380         * wcsmbs/Makefile: Include Makeconfig immediately after defining
24381         subdir.
24382         * wctype/Makefile: Likewise.
24384 2014-02-26  Steve Ellcey  <sellcey@mips.com>
24386         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
24387         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
24388         (libc_feholdexcept_setround_mips): Ditto.
24389         (libc_feholdsetround): New.
24390         (libc_feholdsetroundf): New.
24391         (libc_feholdsetroundl): New.
24392         (libc_feupdateenv_test_mips): New.
24393         (libc_feupdateenv_test): New.
24394         (libc_feupdateenv_testf): New.
24395         (libc_feupdateenv_testl): New.
24396         (libc_feresetround): New.
24397         (libc_feresetroundf): New.
24398         (libc_feresetroundl): New.
24399         (libc_fetestexcept_mips): New.
24400         (libc_fetestexcept): New.
24401         (libc_fetestexceptf): New.
24402         (libc_fetestexceptl): New.
24403         (HAVE_RM_CTX): New.
24404         (libc_feholdexcept_setround_mips_ctx): New.
24405         (libc_feholdexcept_setround_ctx): New.
24406         (libc_feholdexcept_setroundf_ctx): New.
24407         (libc_feholdexcept_setroundl_ctx): New.
24408         (libc_fesetenv_mips_ctx): New.
24409         (libc_fesetenv_ctx): New.
24410         (libc_fesetenv_ctxf): New.
24411         (libc_fesetenv_ctxl): New.
24412         (libc_feupdateenv_mips_ctx): New.
24413         (libc_feupdateenv_ctx): New.
24414         (libc_feupdateenvf_ctx): New.
24415         (libc_feupdateenvl_ctx): New.
24416         (libc_feholdsetround_mips_ctx): New.
24417         (libc_feholdsetround_ctx): New.
24418         (libc_feholdsetroundf_ctx): New.
24419         (libc_feholdsetroundl_ctx): New.
24420         (libc_feresetround_mips_ctx): New.
24421         (libc_feresetround_ctx): New.
24422         (libc_feresetroundf_ctx): New.
24423         (libc_feresetroundl_ctx): New.
24425 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
24427         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
24429         * manual/ipc.texi: New file.
24430         * manual/Makefile (chapters): Add ipc.
24431         * manual/job.texi: Add "Inter-Process Communication" to next.
24432         * manual/process.texi: Add "Inter-Process Communication" to prev.
24434 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24436         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24438 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
24440         * malloc/malloc.c (__libc_calloc): Simplify implementation.
24442         * manual/arith.texi: Fix spaces after sentences.
24443         * manual/charset.texi: Likewise.
24444         * manual/errno.texi: Likewise.
24445         * manual/install.texi: Likewise.
24446         * manual/llio.texi: Likewise.
24447         * manual/locale.texi: Likewise.
24448         * manual/maint.texi: Likewise.
24449         * manual/math.texi: Likewise.
24450         * manual/memory.texi: Likewise.
24451         * manual/message.texi: Likewise.
24452         * manual/probes.texi: Likewise.
24453         * manual/resource.texi: Likewise.
24454         * manual/signal.texi: Likewise.
24455         * manual/socket.texi: Likewise.
24456         * manual/stdio.texi: Likewise.
24457         * manual/string.texi: Likewise.
24458         * manual/time.texi: Likewise.
24459         * manual/users.texi: Likewise.
24461 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
24463         [BZ #16632]
24464         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
24465         _DEFAULT_SOURCE is defined.
24467 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
24468             Carlos O'Donell  <carlos@redhat.com>
24470         [BZ #16613]
24471         * elf/dl-tls.c (_dl_count_modids): New function.
24472         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
24473         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
24474         audit library and increment generation counter.
24475         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
24476         * elf/tst-audit9.c: New file.
24477         * elf/tst-auditmod9a.c: New file.
24478         * elf/tst-auditmod9b.c: New file.
24479         * elf/Makefile: Add rules to build and run tst-audit9.
24481 2014-02-25  Florian Weimer  <fweimer@redhat.com>
24483         [BZ #15347]
24484         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
24486 2014-02-25  Will Newton  <will.newton@linaro.org>
24488         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
24489         (__longjmp): Restore sp and lr before restoring callee
24490         saved registers.  Add longjmp and longjmp_target
24491         SystemTap probe point.
24492         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
24493         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
24494         Define to zero to match jmpbuf layout.
24495         * sysdeps/arm/setjmp.S: Include stap-probe.h.
24496         (__sigsetjmp): Save sp and lr before saving callee
24497         saved registers.  Add setjmp SystemTap probe point.
24499 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24501         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24503 2014-02-24  Andreas Schwab  <schwab@suse.de>
24505         [BZ #15804]
24506         * elf/pldd.c (wait_for_ptrace_stop): New function.
24507         (main): Call it after attaching.
24509 2014-02-22  Roland McGrath  <roland@hack.frob.com>
24511         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
24512         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
24513         Versions files is now verboten.
24514         * hurd/Versions (libc: GLIBC_2.0):
24515         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
24516         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
24517         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
24518         * mach/Versions: Likewise.
24520         * csu/Versions: Remove unused %include.
24521         * resolv/Versions: Likewise.
24523 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
24525         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
24526         ($(objpfx)check-local-headers.out): Likewise.
24527         ($(objpfx)begin-end-check.out): Likewise.
24528         * Makerules (check-abi-%.out): Likewise.
24529         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
24530         ($(objpfx)test2.cat): Likewise.
24531         ($(objpfx)de/libc.cat): Likewise.
24532         ($(objpfx)test-gencat.out): Likewise.
24533         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
24534         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
24535         ($(objpfx)noload-mem): Likewise.
24536         ($(objpfx)tst-pathopt.out): Likewise.
24537         ($(objpfx)tst-rtld-load-self.out): Likewise.
24538         ($(objpfx)tst-array1-cmp.out): Likewise.
24539         ($(objpfx)tst-array1-static-cmp.out): Likewise.
24540         ($(objpfx)tst-array2-cmp.out): Likewise.
24541         ($(objpfx)tst-array3-cmp.out): Likewise.
24542         ($(objpfx)tst-array4-cmp.out): Likewise.
24543         ($(objpfx)tst-array5-cmp.out): Likewise.
24544         ($(objpfx)tst-array5-static-cmp.out): Likewise.
24545         ($(objpfx)check-textrel.out): Likewise.
24546         ($(objpfx)check-execstack.out): Likewise.
24547         ($(objpfx)check-localplt.out): Likewise.
24548         ($(objpfx)order2-cmp.out): Likewise.
24549         ($(objpfx)tst-leaks1-mem): Likewise.
24550         ($(objpfx)tst-leaks1-static-mem): Likewise.
24551         ($(objpfx)tst-initorder-cmp.out): Likewise.
24552         ($(objpfx)tst-initorder2-cmp.out): Likewise.
24553         ($(objpfx)tst-unused-dep.out): Likewise.
24554         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
24555         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
24556         * iconv/Makefile (test-iconvconfig): Likewise.
24557         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
24558         ($(objpfx)iconv-test.out): Likewise.
24559         ($(objpfx)tst-tables.out): Likewise.
24560         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
24561         ($(objpfx)tst-gettext.out): Likewise.
24562         ($(objpfx)tst-translit.out): Likewise.
24563         ($(objpfx)tst-gettext2.out): Likewise.
24564         ($(objpfx)tst-gettext4.out): Likewise.
24565         ($(objpfx)tst-gettext6.out): Likewise.
24566         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
24567         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
24568         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
24569         ($(objpfx)tst-fopenloc-mem.out): Likewise.
24570         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
24571         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
24572         * posix/Makefile ($(objpfx)globtest.out): Likewise.
24573         ($(objpfx)wordexp-tst.out): Likewise.
24574         ($(objpfx)annexc.out): Likewise.
24575         ($(objpfx)tst-fnmatch-mem): Likewise.
24576         ($(objpfx)bug-regex2-mem): Likewise.
24577         ($(objpfx)bug-regex14-mem): Likewise.
24578         ($(objpfx)bug-regex21-mem): Likewise.
24579         ($(objpfx)bug-regex31-mem): Likewise.
24580         ($(objpfx)tst-vfork3-mem): Likewise.
24581         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24582         ($(objpfx)tst-pcre-mem): Likewise.
24583         ($(objpfx)tst-boost-mem): Likewise.
24584         ($(objpfx)tst-getconf.out): Likewise.
24585         ($(objpfx)bug-ga2-mem): Likewise.
24586         ($(objpfx)bug-glob2-mem): Likewise.
24587         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
24588         ($(objpfx)mtrace-tst-leaks2): Likewise.
24589         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
24590         ($(objpfx)tst-printf.out): Likewise.
24591         ($(objpfx)tst-setvbuf1.out): Likewise.
24592         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
24593         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
24594         ($(objpfx)tst-fmtmsg.out): Likewise.
24595         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
24596         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
24598         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
24599         * bits/sigaction.h [__USE_MISC]: Likewise.
24600         * bits/waitstatus.h: Update #endif comments.
24601         * ctype/ctype.h: Likewise.
24602         * dirent/dirent.h: Likewise.
24603         [__USE_MISC]: Remove redundant conditionals.
24604         * grp/grp.h: Update #endif comments.
24605         [__USE_GNU]: Remove redundant conditionals.
24606         [__USE_MISC]: Likewise.
24607         * inet/netinet/in.h [__USE_GNU]: Likewise.
24608         * io/sys/stat.h [__USE_MISC]: Likewise.
24609         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
24610         * libio/bits/stdio.h: Update #endif comments.
24611         [__USE_MISC]: Remove redundant conditionals.
24612         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
24613         * libio/stdio.h: Update #endif comments.
24614         [__USE_MISC]: Remove redundant conditionals.
24615         * math/bits/math-finite.h [__USE_MISC]: Likewise.
24616         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
24617         * math/math.h: Update #else and #endif comments.
24618         [__USE_MISC]: Remove redundant conditionals.
24619         * misc/sys/uio.h: Update #endif comments.
24620         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
24621         * posix/glob.h [__USE_MISC]: Likewise.
24622         * posix/sys/types.h: Update #endif comments.
24623         [__USE_MISC]: Remove redundant conditionals.
24624         * posix/sys/wait.h: Update #endif comments.
24625         [__USE_MISC]: Remove redundant conditionals.
24626         * posix/unistd.h: Update #endif comments.
24627         [__USE_MISC]: Remove redundant conditionals.
24628         * pwd/pwd.h [__USE_GNU]: Likewise.
24629         [__USE_MISC]: Likewise.
24630         * resolv/netdb.h [__USE_GNU]: Likewise.
24631         * signal/signal.h: Update #endif comments.
24632         [__USE_MISC]: Remove redundant conditionals.
24633         * stdlib/stdlib.h: Update #else and #endif comments.
24634         [__USE_MISC]: Remove redundant conditionals.
24635         [__USE_GNU]: Likewise.
24636         * string/bits/string2.h [__USE_MISC]: Likewise.
24637         * string/string.h: Update #endif comments.
24638         [__USE_MISC]: Remove redundant conditionals.
24639         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
24640         Likewise.
24641         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
24642         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
24643         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
24644         Likewise.
24645         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
24646         Likewise.
24647         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
24648         comments.
24649         [__USE_MISC]: Remove redundant conditionals.
24650         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
24651         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
24652         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
24653         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
24654         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
24655         Likewise.
24656         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
24657         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
24658         Likewise.
24659         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
24660         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
24661         Likewise.
24662         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
24663         Likewise.
24664         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
24665         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
24666         Likewise.
24667         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
24668         Likewise.
24669         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
24670         * sysdeps/x86/bits/string.h: Update #endif comments.
24671         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
24672         conditionals.
24673         * time/sys/time.h: Update #endif comments.
24674         * time/time.h: Likewise.
24675         [__USE_MISC]: Remove redundant conditionals.
24677 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
24679         [BZ #16600]
24680         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
24682 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
24684         * Versions.def (librt): Add GLIBC_2.17.
24686 2014-02-21  Adam Conrad  <adconrad@0c3.net>
24688         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
24689         synonym for _SYS_AUXV_H to allow direct inclusion.
24690         * sysdeps/sparc/bits/hwcap.h: Likewise.
24691         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
24692         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
24693         * sysdeps/sparc/sysdep.h: Likewise.
24695 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24697         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
24699 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24701         * benchtests/bench-strrchr.c: Print length instead of position.
24703 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
24705         [BZ #16611]
24706         * sysdeps/unix/sysv/linux/kernel-features.h
24707         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
24708         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24709         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
24710         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
24711         Likewise.
24712         [__i386__ || __powerpc__ || __sh__ || __sparc__]
24713         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24714         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
24715         (__ASSUME_SENDMMSG): Define instead of using previous
24716         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
24717         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24718         (__ASSUME_SENDMMSG_SYSCALL): Define.
24719         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24720         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
24721         Likewise.
24722         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24723         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24724         Likewise.
24725         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24726         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24727         Likewise.
24728         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24729         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24730         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24731         [__ASSUME_SENDMMSG]: Change conditionals to
24732         [__ASSUME_SENDMMSG_SOCKETCALL].
24733         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24734         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24735         Define.
24736         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24737         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24738         Likewise.
24739         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24740         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24741         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24742         [!__ASSUME_SENDMMSG]: Change conditional to
24743         [!__ASSUME_SENDMMSG_SOCKETCALL].
24744         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24745         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24746         Define.
24748         [BZ #16610]
24749         * sysdeps/unix/sysv/linux/kernel-features.h
24750         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24751         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24752         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24753         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24754         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24755         [__i386__ || __sparc__]
24756         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24757         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24758         (__ASSUME_RECVMMSG): Define instead of using previous
24759         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24760         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24761         (__ASSUME_RECVMMSG_SYSCALL): Define.
24762         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24763         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24764         Likewise.
24765         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24766         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24767         Likewise.
24768         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24769         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24770         Likewise.
24771         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24772         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24773         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24774         [__ASSUME_RECVMMSG]: Change condition to
24775         [__ASSUME_RECVMMSG_SOCKETCALL].
24776         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24777         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24778         Define.
24779         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24780         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24781         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24782         Likewise.
24783         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24784         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24785         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24786         [!__ASSUME_RECVMMSG]: Change condition to
24787         [!__ASSUME_RECVMMSG_SOCKETCALL].
24788         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24789         (__ASSUME_RECVMMSG_SYSCALL): Define.
24791         [BZ #16609]
24792         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24793         __powerpc__ || __s390__ || __sh__ || __sparc__]
24794         (__ASSUME_SOCKETCALL): Define.
24795         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24796         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24797         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24798         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24799         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24800         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24801         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24802         (__ASSUME_ACCEPT4): Define instead of using previous
24803         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24804         __powerpc__ || __sparc__ || __s390__)] condition.
24805         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24806         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24807         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24808         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24809         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24810         [!__ASSUME_ACCEPT4]: Change condition to
24811         [!__ASSUME_ACCEPT4_SOCKETCALL].
24812         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24813         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24814         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24815         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24816         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24817         __ASSUME_ACCEPT4_SYSCALL.
24818         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24819         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24820         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24821         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24822         __ASSUME_ACCEPT4_SYSCALL.
24823         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24824         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24825         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24826         [__ASSUME_ACCEPT4]: Change condition to
24827         [__ASSUME_ACCEPT4_SOCKETCALL].
24828         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24829         (__ASSUME_SOCKETCALL): Define.
24830         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24831         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24832         (__ASSUME_SOCKETCALL): Define.
24833         (__ASSUME_ACCEPT4): Remove.
24834         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24835         Define.
24836         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24837         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24838         Likewise.
24839         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24840         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24842         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24843         macro.
24844         (HWCAP_ARM_LPAE): Likewise.
24845         (HWCAP_ARM_EVTSTRM): Likewise.
24846         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24847         Add vpfd32, lpae and evtstrm.
24848         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24849         Increase to 22.
24851 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24853         * math/auto-libm-test-in: Add tests of clog10.
24854         * math/auto-libm-test-out: Regenerated.
24855         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24856         * sysdeps/i386/fpu/libm-test-ulps: Update.
24857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24859 2014-02-18  Andreas Schwab  <schwab@suse.de>
24861         [BZ #16574]
24862         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24863         Store non-zero if the second buffer was newly allocated.
24864         (send_dg): Likewise.
24865         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24866         to send_vc and send_dg.
24867         (res_nsend): Pass NULL for ansp2_malloced.
24868         * resolv/res_query.c (__libc_res_nquery): Add parameter
24869         answerp2_malloced and pass it down to __libc_res_nsend.
24870         (res_nquery): Pass additional NULL to __libc_res_nquery.
24871         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24872         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24873         second answer buffer if answerp2_malloced was set.
24874         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24875         (__libc_res_nquerydomain): Add parameter
24876         answerp2_malloced and pass it down to __libc_res_nquery.
24877         (res_nquerydomain): Pass additional NULL to
24878         __libc_res_nquerydomain.
24879         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24880         additional NULL to __libc_res_nsend and __libc_res_nquery.
24881         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24882         additional NULL to __libc_res_nsearch.
24883         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24884         parameter of __libc_res_nsearch to check for separately allocated
24885         second buffer.
24886         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24887         __libc_res_nquery.
24888         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24889         additional NULL to __libc_res_nquery.
24890         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24891         __libc_res_nsearch.
24892         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24893         * include/resolv.h: Update prototypes of __libc_res_nquery,
24894         __libc_res_nsearch, __libc_res_nsend.
24896 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24898         * math/auto-libm-test-in: Add tests of fma.
24899         * math/auto-libm-test-out: Regenerated.
24900         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24901         (fma_towardzero_test_data): Likewise.
24902         (fma_downward_test_data): Likewise.
24903         (fma_upward_test_data): Likewise.
24904         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24905         mpc_mode.
24906         (rounding_modes): Add values for new field.
24907         (func_calc_method): Add value mpfr_fff_f.
24908         (func_calc_desc): Add mpfr_fff_f union field.
24909         (test_function): Add field exact_args.
24910         (FUNC): Add macro argument EXACT_ARGS.
24911         (FUNC_mpfr_f_f): Update call to FUNC.
24912         (FUNC_mpfr_f_f): Likewise.
24913         (FUNC_mpfr_ff_f): Likewise.
24914         (FUNC_mpfr_if_f): Likewise.
24915         (FUNC_mpc_c_f): Likewise.
24916         (FUNC_mpc_c_c): Likewise.
24917         (test_functions): Add fma.  Update calls to FUNC.
24918         (handle_input_arg): Add argument exact_args.
24919         (add_test): Update call to handle_input_arg.
24920         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24921         (output_for_one_input_case): Update call to calc_generic_results.
24922         Recalculate exact zero results in each rounding mode.
24924         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24925         non-negative before setting low bit.
24926         * math/auto-libm-test-in: Mark one asin test possibly having
24927         spurious underflow.
24928         * math/auto-libm-test-out: Regenerated.
24929         * sysdeps/i386/fpu/libm-test-ulps: Update.
24930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24932 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24934         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24935         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24936         ports/sysdeps/unix/sysv/linux/microblaze.
24937         * README: Add missing listing for microblaze*-*-linux-gnu.
24939 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24941         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24942         duplicate code
24944 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24946         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24947         * sysdeps/unix/sysv/linux/ia64: Move directory from
24948         ports/sysdeps/unix/sysv/linux/ia64.
24949         * README: Update listing for ia64-*-linux-gnu.
24951 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24952             Joseph Myers  <joseph@codesourcery.com>
24954         * Makeconfig (test-name): New variable.
24955         (evaluate-test): Likewise.
24956         * Makerules (do-test-clean): Remove .test-result files.
24957         (common-mostlyclean): Likewise.
24958         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24959         * scripts/evaluate-test.sh: New file.
24961 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24963         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24964         separate $(objpfx)tst-fopenloc-cmp.out and
24965         $(objpfx)tst-fopenloc-mem.out targets.
24966         (tests): Update dependencies.
24967         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24968         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24969         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24970         (tst-rxspencer-no-utf8-ARGS): New variable.
24971         (tst-rxspencer-no-utf8-ENV): Likewise.
24972         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24973         instead of $(objpfx)tst-rxspencer-mem.
24974         ($(objpfx)tst-rxspencer-mem): Change target to
24975         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24976         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24977         * posix/tst-rxspencer-no-utf8.c: New file.
24979         * elf/Makefile ($(objpfx)order.out): Remove rule.
24980         [$(run-built-tests) = yes] (tests): Depend on
24981         $(objpfx)order-cmp.out.
24982         ($(objpfx)order-cmp.out): New rule.
24983         [$(run-built-tests) = yes] (tests): Depend on
24984         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24985         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24986         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24987         $(objpfx)tst-array5-static-cmp.out.
24988         ($(objpfx)tst-array1.out): Remove rule.
24989         ($(objpfx)tst-array1-cmp.out): New rule.
24990         ($(objpfx)tst-array1-static.out): Remove rule.
24991         ($(objpfx)tst-array1-static-cmp.out): New rule.
24992         ($(objpfx)tst-array2.out): Remove rule.
24993         ($(objpfx)tst-array2-cmp.out): New rule.
24994         ($(objpfx)tst-array3.out): Remove rule.
24995         ($(objpfx)tst-array3-cmp.out): New rule.
24996         ($(objpfx)tst-array4.out): Remove rule.
24997         ($(objpfx)tst-array4-cmp.out): New rule.
24998         ($(objpfx)tst-array5.out): Remove rule.
24999         ($(objpfx)tst-array5-cmp.out): New rule.
25000         ($(objpfx)tst-array5-static.out): Remove rule.
25001         ($(objpfx)tst-array5-static-cmp.out): New rule.
25002         [$(run-built-tests) = yes] (tests): Depend on
25003         $(objpfx)order2-cmp.out.
25004         ($(objpfx)order2.out): Remove rule.
25005         ($(objpfx)order2-cmp.out): New rule.
25006         ($(objpfx)tst-initorder.out): Remove rule.
25007         [$(run-built-tests) = yes] (tests): Depend on
25008         $(objpfx)tst-initorder-cmp.out.
25009         ($(objpfx)tst-initorder-cmp.out): New rule.
25010         ($(objpfx)tst-initorder2.out): Remove rule.
25011         [$(run-built-tests) = yes] (tests): Depend on
25012         $(objpfx)tst-initorder2-cmp.out.
25013         ($(objpfx)tst-initorder2-cmp.out): New rule.
25014         [$(run-built-tests) = yes] (tests): Depend on
25015         $(objpfx)tst-unused-dep-cmp.out.
25016         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
25017         ($(objpfx)tst-unused-dep-cmp.out): New rule.
25018         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
25019         on $(objpfx)tst-setvbuf1-cmp.out.
25020         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
25021         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
25022         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
25023         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
25024         ($(objpfx)tst-svc.out): Remove rule.
25025         ($(objpfx)tst-svc-cmp.out): New rule.
25027 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
25029         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
25030         * ctype/ctype.h [__USE_MISC]: Likewise.
25031         * dirent/dirent.h [__USE_MISC]: Likewise.
25032         * grp/grp.h [__USE_MISC]: Likewise.
25033         * io/fcntl.h [__USE_MISC]: Likewise.
25034         * io/sys/stat.h [__USE_MISC]: Likewise.
25035         * libio/stdio.h [__USE_MISC]: Likewise.
25036         * posix/unistd.h [__USE_MISC]: Likewise.
25037         * pwd/pwd.h [__USE_MISC]: Likewise.
25038         * stdlib.h [__USE_MISC]: Likewise.
25039         * string/bits/string2.h [__USE_MISC]: Likewise.
25040         * string/string.h [__USE_MISC]: Likewise.
25041         * time/time.h [__USE_MISC]: Likewise.
25043 2014-02-13  Andreas Schwab  <schwab@suse.de>
25045         [BZ #16574]
25046         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
25047         second answer buffer if it was separately allocated.
25049 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
25051         * sysdeps/mips/math-tests.h: Include <features.h>.
25052         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25053         (ROUNDING_TESTS_long_double): Do not define.
25054         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25055         (EXCEPTION_TESTS_long_double): Likewise.
25056         * sysdeps/mips/mips64/libm-test-ulps: Update.
25058         * include/features.h (__USE_BSD): Remove macro definitions.
25059         (__USE_SVID): Likewise.
25060         (_BSD_SOURCE): Likewise.
25061         (_SVID_SOURCE): Likewise.
25062         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
25063         from definition of _DEFAULT_SOURCE.
25064         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
25065         [_DEFAULT_SOURCE].
25066         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
25067         * bits/mman.h [__USE_BSD]: Likewise.
25068         * bits/termios.h [__USE_BSD]: Likewise.
25069         * bits/waitstatus.h [__USE_BSD]: Likewise.
25070         * ctype/ctype.h [__USE_SVID]: Likewise.
25071         * dirent/dirent.h [__USE_BSD]: Likewise.
25072         * grp/grp.h [__USE_SVID]: Likewise.
25073         [__USE_BSD]: Likewise.
25074         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
25075         * io/fcntl.h [__USE_BSD]: Likewise.
25076         * io/ftw.h [__USE_BSD]: Likewise.
25077         * io/sys/stat.h [__USE_BSD]: Likewise.
25078         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
25079         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
25080         * libio/stdio.h [__USE_SVID]: Likewise.
25081         [__USE_BSD]: Likewise.
25082         * math/math.h [__USE_SVID]: Likewise.
25083         [__USE_BSD]: Likewise.
25084         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
25085         * misc/bits/syslog.h [__USE_BSD]: Likewise.
25086         * misc/search.h [__USE_SVID]: Likewise.
25087         * misc/sys/mman.h [__USE_BSD]: Likewise.
25088         * misc/sys/syslog.h [__USE_BSD]: Likewise.
25089         * misc/sys/uio.h [__USE_BSD]: Likewise.
25090         * posix/bits/unistd.h [__USE_BSD]: Likewise.
25091         * posix/glob.h [__USE_BSD]: Likewise.
25092         * posix/regex.h [__USE_BSD]: Likewise.
25093         * posix/sys/types.h [__USE_BSD]: Likewise.
25094         [__USE_SVID]: Likewise.
25095         * posix/sys/utsname.h [__USE_SVID]: Likewise.
25096         * posix/sys/wait.h [__USE_BSD]: Likewise.
25097         [__USE_SVID]: Likewise.
25098         * posix/unistd.h [__USE_BSD]: Likewise.
25099         [__USE_SVID]: Likewise.
25100         * pwd/pwd.h [__USE_SVID]: Likewise.
25101         * resolv/netdb.h [__USE_BSD]: Likewise.
25102         * setjmp/setjmp.h [__USE_BSD]: Likewise.
25103         * signal/signal.h [__USE_BSD]: Likewise.
25104         [__USE_SVID]: Likewise.
25105         * socket/sys/socket.h [__USE_BSD]: Likewise.
25106         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
25107         * stdlib/stdlib.h [__USE_BSD]: Likewise.
25108         [__USE_SVID]: Likewise.
25109         * string/bits/string2.h [__USE_BSD]: Likewise.
25110         [__USE_SVID]: Likewise.
25111         * string/bits/string3.h [__USE_BSD]: Likewise.
25112         * string/endian.h [__USE_BSD]: Likewise.
25113         * string/string.h [__USE_SVID]: Likewise.
25114         [__USE_BSD]: Likewise.
25115         * string/strings.h [__USE_BSD]: Likewise.
25116         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
25117         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
25118         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
25119         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
25120         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
25121         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
25122         Likewise.
25123         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
25124         Likewise.
25125         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
25126         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
25127         Likewise.
25128         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
25129         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
25130         Likewise.
25131         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
25132         Likewise.
25133         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
25134         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
25135         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
25136         Likewise.
25137         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
25138         Likewise.
25139         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
25140         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
25141         * termios/termios.h [__USE_BSD]: Likewise.
25142         * time/sys/time.h [__USE_BSD]: Likewise.
25143         * time/time.h [__USE_BSD]: Likewise.
25144         [__USE_SVID]: Likewise.
25146         * Makefile (subdir_targets): Remove subdir_lint.out.
25148         * stdio-common/Makefile (do-tst-unbputc): Remove target.
25149         (do-tst-printf): Likewise.
25150         (tests): Depend directly on $(objpfx)tst-unbputc.out and
25151         $(objpfx)tst-printf.out.
25153         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
25155         * Makerules (check-abi-%): Change target to
25156         $(objpfx)check-abi-%.out.
25157         (check-abi target): Update dependencies.
25158         (check-abi-pattern variable): Redirect output of diff to $@.
25159         (check-abi variable): Likewise.
25160         * elf/Makefile (check-abi): Update dependencies.
25162         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
25163         unused.
25164         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
25165         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
25166         subnormal range.
25167         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
25168         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
25169         value has largest subnormal exponent.
25170         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
25171         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
25172         * sysdeps/aarch64/soft-fp/sfp-machine.h
25173         (_FP_TININESS_AFTER_ROUNDING): New macro.
25174         * sysdeps/alpha/soft-fp/sfp-machine.h
25175         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25176         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25177         Likewise.
25178         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
25179         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25180         * sysdeps/mips/soft-fp/sfp-machine.h
25181         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25182         * sysdeps/powerpc/soft-fp/sfp-machine.h
25183         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25184         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25185         Likewise.
25186         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25187         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25188         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25189         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25190         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25191         Likewise.
25193 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
25195         [BZ #16545]
25196         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
25197         model 1.
25199 2014-02-12  Richard Henderson  <rth@redhat.com>
25201         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
25202         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
25203         * sysdeps/unix/sysv/linux/alpha: Move directory from
25204         ports/sysdeps/unix/sysv/linux/alpha.
25205         * README: Update listing for alpha-*-linux-gnu.
25207 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
25209         * include/features.h: Update comment documenting feature test
25210         macros.
25211         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
25212         _DEFAULT_SOURCE.
25213         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
25214         (_SVID_SOURCE): Likewise.
25215         (_DEFAULT_SOURCE): Update description of default features.
25216         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
25217         with _GNU_SOURCE.
25218         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
25219         (S_ISVTX): Likewise.
25220         * manual/math.texi (Mathematical Constants): Likewise.
25221         * manual/signal.texi (Interrupted Primitives): Likewise.
25222         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
25223         * math/test-matherr.c (_SVID_SOURCE): Do not define.
25224         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
25225         Don't refer to _SVID_SOURCE in warning text.
25227         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25229         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
25230         already defined.
25231         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
25232         * sysdeps/mips/dl-lookup.c: Remove.
25233         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
25235 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25237         [BZ #16447]
25238         * math/auto-libm-test-in: Add testcase for expl.
25239         * math/auto-libm-test-out: Regenerate.
25240         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
25241         calculation of unsafe.
25242         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
25244 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25246         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
25247         * sysdeps/unix/sysv/linux/aarch64: Move directory from
25248         ports/sysdeps/unix/sysv/linux/aarch64.
25249         * README: Update listing for aarch64*-*-linux-gnu.
25251 2014-02-11  Will Newton  <will.newton@linaro.org>
25253         * manual/probes.texi (Mathematical Function Probes): Use
25254         "triggered" instead of "hit".
25256         * manual/probes.texi (Internal Probes): Add documentation
25257         of setjmp, longjmp and longjmp_target probes.
25259         * include/stap-probe.h: Add comment about probe argument
25260         format.
25262         * malloc/mtrace.c (attribute_hidden): Remove unused macro
25263         definition.  (tr_where, tr_freehook, tr_mallochook,
25264         tr_reallochook, tr_memalignhook): Use ANSI protoype.
25266 2014-02-11  David S. Miller  <davem@davemloft.net>
25268         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
25269         processing int_tests.
25271 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
25273         * sysdeps/mips: Move directory from ports/sysdeps/mips.
25274         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
25275         * sysdeps/unix/sysv/linux/mips: Move directory from
25276         ports/sysdeps/unix/sysv/linux/mips.
25277         * README: Update listing for mips-*-linux-gnu and
25278         mips64-*-linux-gnu.
25280 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
25282         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
25283         * sysdeps/unix/sysv/linux/m68k: Move directory from
25284         ports/sysdeps/unix/sysv/linux/m68k.
25285         * README: Update listing for m68k-*-linux-gnu.
25287 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
25289         * sysdeps/tile: Move directory from ports/sysdeps/tile.
25290         * sysdeps/unix/sysv/linux/generic: Move directory from
25291         ports/sysdeps/unix/sysv/linux/generic.
25292         * sysdeps/unix/sysv/linux/tile: Move directory from
25293         ports/sysdeps/unix/sysv/linux/tile.
25294         * README: Update listing for tile*-*-linux-gnu.
25296 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
25298         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
25299         __builtin_expect.
25300         * benchtests/bench-memmem.c (simple_memmem): Likewise.
25301         * catgets/open_catalog.c (__open_catalog): Likewise.
25302         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
25303         * debug/confstr_chk.c: Likewise.
25304         * debug/fread_chk.c (__fread_chk): Likewise.
25305         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
25306         * debug/getgroups_chk.c: Likewise.
25307         * debug/mbsnrtowcs_chk.c: Likewise.
25308         * debug/mbsrtowcs_chk.c: Likewise.
25309         * debug/mbstowcs_chk.c: Likewise.
25310         * debug/memcpy_chk.c: Likewise.
25311         * debug/memmove_chk.c: Likewise.
25312         * debug/mempcpy_chk.c: Likewise.
25313         * debug/memset_chk.c: Likewise.
25314         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25315         * debug/strcat_chk.c (__strcat_chk): Likewise.
25316         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
25317         * debug/strncat_chk.c (__strncat_chk): Likewise.
25318         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
25319         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
25320         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
25321         * debug/wcpncpy_chk.c: Likewise.
25322         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25323         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
25324         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
25325         * debug/wcsncpy_chk.c: Likewise.
25326         * debug/wcsnrtombs_chk.c: Likewise.
25327         * debug/wcsrtombs_chk.c: Likewise.
25328         * debug/wcstombs_chk.c: Likewise.
25329         * debug/wmemcpy_chk.c: Likewise.
25330         * debug/wmemmove_chk.c: Likewise.
25331         * debug/wmempcpy_chk.c: Likewise.
25332         * debug/wmemset_chk.c: Likewise.
25333         * dirent/scandirat.c (SCANDIRAT): Likewise.
25334         * dlfcn/dladdr1.c (dladdr1): Likewise.
25335         * dlfcn/dladdr.c (dladdr): Likewise.
25336         * dlfcn/dlclose.c (dlclose_doit): Likewise.
25337         * dlfcn/dlerror.c (__dlerror): Likewise.
25338         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
25339         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
25340         * dlfcn/dlopen.c (dlopen_doit): Likewise.
25341         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
25342         * dlfcn/dlsym.c (dlsym_doit): Likewise.
25343         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
25344         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
25345         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
25346         Likewise.
25347         * elf/dl-conflict.c: Likewise.
25348         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25349         * elf/dl-dst.h: Likewise.
25350         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
25351         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
25352         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25353         * elf/dl-init.c (call_init, _dl_init): Likewise.
25354         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
25355         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
25356         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
25357         Likewise.
25358         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
25359         Likewise.
25360         * elf/dl-minimal.c (__libc_memalign): Likewise.
25361         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
25362         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25363         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
25364         * elf/dl-sym.c (do_sym): Likewise.
25365         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
25366         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
25367         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
25368         * elf/dl-writev.h (_dl_writev): Likewise.
25369         * elf/ldconfig.c (search_dir): Likewise.
25370         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
25371         (dl_main): Likewise.
25372         * elf/setup-vdso.h (setup_vdso): Likewise.
25373         * grp/compat-initgroups.c (compat_call): Likewise.
25374         * grp/fgetgrent.c (fgetgrent): Likewise.
25375         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
25376         * grp/putgrent.c (putgrent): Likewise.
25377         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25378         Likewise.
25379         * hurd/hurdinit.c: Likewise.
25380         * iconvdata/8bit-gap.c (struct): Likewise.
25381         * iconvdata/ansi_x3.110.c : Likewise.
25382         * iconvdata/big5.c : Likewise.
25383         * iconvdata/big5hkscs.c : Likewise.
25384         * iconvdata/cp1255.c: Likewise.
25385         * iconvdata/cp1258.c : Likewise.
25386         * iconvdata/cp932.c : Likewise.
25387         * iconvdata/euc-cn.c: Likewise.
25388         * iconvdata/euc-jisx0213.c : Likewise.
25389         * iconvdata/euc-jp.c: Likewise.
25390         * iconvdata/euc-jp-ms.c : Likewise.
25391         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
25392         * iconvdata/gb18030.c : Likewise.
25393         * iconvdata/gbbig5.c (const): Likewise.
25394         * iconvdata/gbgbk.c: Likewise.
25395         * iconvdata/gbk.c : Likewise.
25396         * iconvdata/ibm1364.c : Likewise.
25397         * iconvdata/ibm930.c : Likewise.
25398         * iconvdata/ibm932.c: Likewise.
25399         * iconvdata/ibm933.c : Likewise.
25400         * iconvdata/ibm935.c : Likewise.
25401         * iconvdata/ibm937.c : Likewise.
25402         * iconvdata/ibm939.c : Likewise.
25403         * iconvdata/ibm943.c: Likewise.
25404         * iconvdata/iso_11548-1.c: Likewise.
25405         * iconvdata/iso-2022-cn.c : Likewise.
25406         * iconvdata/iso-2022-cn-ext.c : Likewise.
25407         * iconvdata/iso-2022-jp-3.c: Likewise.
25408         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
25409         * iconvdata/iso-2022-kr.c : Likewise.
25410         * iconvdata/iso646.c (gconv_end): Likewise.
25411         * iconvdata/iso_6937-2.c : Likewise.
25412         * iconvdata/iso_6937.c : Likewise.
25413         * iconvdata/iso8859-1.c: Likewise.
25414         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
25415         * iconvdata/shift_jisx0213.c : Likewise.
25416         * iconvdata/sjis.c : Likewise.
25417         * iconvdata/t.61.c : Likewise.
25418         * iconvdata/tcvn5712-1.c : Likewise.
25419         * iconvdata/tscii.c: Likewise.
25420         * iconvdata/uhc.c : Likewise.
25421         * iconvdata/unicode.c (gconv_end): Likewise.
25422         * iconvdata/utf-16.c (gconv_end): Likewise.
25423         * iconvdata/utf-32.c (gconv_end): Likewise.
25424         * iconvdata/utf-7.c (base64): Likewise.
25425         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
25426         * iconv/gconv_close.c (__gconv_close): Likewise.
25427         * iconv/gconv_open.c (__gconv_open): Likewise.
25428         * iconv/gconv_simple.c (internal_ucs4_loop_single)
25429         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
25430         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
25431         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
25432         (ucs4le_internal_loop_single): Likewise.
25433         * iconv/iconv.c (iconv): Likewise.
25434         * iconv/iconv_close.c: Likewise.
25435         * iconv/loop.c (SINGLE): Likewise.
25436         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
25437         * include/atomic.h: Likewise.
25438         * inet/inet6_option.c (option_alloc): Likewise.
25439         * intl/bindtextdom.c (set_binding_values): Likewise.
25440         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
25441         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
25442         * intl/localealias.c (read_alias_file): Likewise.
25443         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25444         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
25445         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
25446         * libio/fmemopen.c (fmemopen): Likewise.
25447         * libio/iofgets.c (_IO_fgets): Likewise.
25448         * libio/iofgets_u.c (fgets_unlocked): Likewise.
25449         * libio/iofgetws.c (fgetws): Likewise.
25450         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25451         * libio/iogetdelim.c (_IO_getdelim): Likewise.
25452         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
25453         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
25454         * locale/findlocale.c (_nl_find_locale): Likewise.
25455         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
25456         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
25457         Likewise.
25458         * locale/setlocale.c (setlocale): Likewise.
25459         * login/programs/pt_chown.c (main): Likewise.
25460         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
25461         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
25462         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
25463         (mmap, mmap64, mremap, munmap): Likewise.
25464         * math/e_exp2l.c: Likewise.
25465         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
25466         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
25467         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
25468         * math/s_catan.c (__catan): Likewise.
25469         * math/s_catanf.c (__catanf): Likewise.
25470         * math/s_catanh.c (__catanh): Likewise.
25471         * math/s_catanhf.c (__catanhf): Likewise.
25472         * math/s_catanhl.c (__catanhl): Likewise.
25473         * math/s_catanl.c (__catanl): Likewise.
25474         * math/s_ccosh.c (__ccosh): Likewise.
25475         * math/s_ccoshf.c (__ccoshf): Likewise.
25476         * math/s_ccoshl.c (__ccoshl): Likewise.
25477         * math/s_cexp.c (__cexp): Likewise.
25478         * math/s_cexpf.c (__cexpf): Likewise.
25479         * math/s_cexpl.c (__cexpl): Likewise.
25480         * math/s_clog10.c (__clog10): Likewise.
25481         * math/s_clog10f.c (__clog10f): Likewise.
25482         * math/s_clog10l.c (__clog10l): Likewise.
25483         * math/s_clog.c (__clog): Likewise.
25484         * math/s_clogf.c (__clogf): Likewise.
25485         * math/s_clogl.c (__clogl): Likewise.
25486         * math/s_csin.c (__csin): Likewise.
25487         * math/s_csinf.c (__csinf): Likewise.
25488         * math/s_csinh.c (__csinh): Likewise.
25489         * math/s_csinhf.c (__csinhf): Likewise.
25490         * math/s_csinhl.c (__csinhl): Likewise.
25491         * math/s_csinl.c (__csinl): Likewise.
25492         * math/s_csqrt.c (__csqrt): Likewise.
25493         * math/s_csqrtf.c (__csqrtf): Likewise.
25494         * math/s_csqrtl.c (__csqrtl): Likewise.
25495         * math/s_ctan.c (__ctan): Likewise.
25496         * math/s_ctanf.c (__ctanf): Likewise.
25497         * math/s_ctanh.c (__ctanh): Likewise.
25498         * math/s_ctanhf.c (__ctanhf): Likewise.
25499         * math/s_ctanhl.c (__ctanhl): Likewise.
25500         * math/s_ctanl.c (__ctanl): Likewise.
25501         * math/w_pow.c: Likewise.
25502         * math/w_powf.c: Likewise.
25503         * math/w_powl.c: Likewise.
25504         * math/w_scalb.c (sysv_scalb): Likewise.
25505         * math/w_scalbf.c (sysv_scalbf): Likewise.
25506         * math/w_scalbl.c (sysv_scalbl): Likewise.
25507         * misc/error.c (error_tail): Likewise.
25508         * misc/pselect.c (__pselect): Likewise.
25509         * nis/nis_callback.c (__nis_create_callback): Likewise.
25510         * nis/nis_call.c (__nisfind_server): Likewise.
25511         * nis/nis_creategroup.c (nis_creategroup): Likewise.
25512         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
25513         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
25514         * nis/nis_getservlist.c (nis_getservlist): Likewise.
25515         * nis/nis_lookup.c (nis_lookup): Likewise.
25516         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
25517         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
25518         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
25519         * nis/nis_xdr.c (xdr_endpoint): Likewise.
25520         * nis/nss_compat/compat-grp.c (getgrent_next_file)
25521         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
25522         * nis/nss_compat/compat-initgroups.c (add_group)
25523         (internal_getgrent_r): Likewise.
25524         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
25525         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
25526         * nis/nss_compat/compat-spwd.c (getspent_next_file)
25527         (internal_getspnam_r): Likewise.
25528         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
25529         (_nss_nis_getaliasbyname_r): Likewise.
25530         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
25531         (_nss_nis_getntohost_r): Likewise.
25532         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
25533         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
25534         (_nss_nis_getgrgid_r): Likewise.
25535         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
25536         (internal_nis_gethostent_r, internal_gethostbyname2_r)
25537         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
25538         (_nss_nis_gethostbyname4_r): Likewise.
25539         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
25540         (initgroups_netid): Likewise.
25541         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
25542         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
25543         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
25544         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
25545         (_nss_nis_getprotobynumber_r): Likewise.
25546         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
25547         (_nss_nis_getsecretkey): Likewise.
25548         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
25549         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
25550         (_nss_nis_getpwuid_r): Likewise.
25551         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
25552         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
25553         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
25554         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
25555         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
25556         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
25557         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
25558         Likewise.
25559         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
25560         (_nss_nisplus_getntohost_r): Likewise.
25561         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
25562         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
25563         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
25564         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
25565         Likewise.
25566         * nis/nss_nisplus/nisplus-initgroups.c
25567         (_nss_nisplus_initgroups_dyn): Likewise.
25568         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
25569         (_nss_nisplus_getnetbyaddr_r): Likewise.
25570         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
25571         (_nss_nisplus_getprotobynumber_r): Likewise.
25572         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
25573         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
25574         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
25575         Likewise.
25576         * nis/nss_nisplus/nisplus-service.c
25577         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
25578         (_nss_nisplus_getservbyport_r): Likewise.
25579         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
25580         (_nss_nisplus_getspnam_r): Likewise.
25581         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
25582         Likewise.
25583         * nscd/aicache.c (addhstaiX): Likewise.
25584         * nscd/cache.c (cache_search, prune_cache): Likewise.
25585         * nscd/connections.c (register_traced_file, send_ro_fd)
25586         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
25587         (main_loop_epoll): Likewise.
25588         * nscd/grpcache.c (addgrbyX): Likewise.
25589         * nscd/hstcache.c (addhstbyX): Likewise.
25590         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25591         * nscd/mem.c (gc, mempool_alloc): Likewise.
25592         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
25593         (addinnetgrX): Likewise.
25594         * nscd/nscd-client.h (__nscd_acquire_maplock)
25595         (__nscd_drop_map_ref): Likewise.
25596         * nscd/nscd_getai.c (__nscd_getai): Likewise.
25597         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25598         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
25599         Likewise.
25600         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
25601         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25602         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
25603         (__nscd_get_map_ref): Likewise.
25604         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
25605         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
25606         Likewise.
25607         * nscd/pwdcache.c (addpwbyX): Likewise.
25608         * nscd/selinux.c (preserve_capabilities): Likewise.
25609         * nscd/servicescache.c (addservbyX): Likewise.
25610         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
25611         * posix/fnmatch.c (fnmatch): Likewise.
25612         * posix/getopt.c (_getopt_internal_r): Likewise.
25613         * posix/glob.c (glob, glob_in_dir): Likewise.
25614         * posix/wordexp.c (exec_comm_child): Likewise.
25615         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
25616         (getanswer_r, gaih_getanswer_slice): Likewise.
25617         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
25618         * resolv/res_init.c: Likewise.
25619         * resolv/res_mkquery.c (res_nmkquery): Likewise.
25620         * resolv/res_query.c (__libc_res_nquery): Likewise.
25621         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
25622         Likewise.
25623         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
25624         * stdio-common/perror.c (perror): Likewise.
25625         * stdio-common/printf_fp.c (___printf_fp): Likewise.
25626         * stdio-common/tmpnam.c (tmpnam): Likewise.
25627         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25628         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25629         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25630         Likewise.
25631         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25632         * stdlib/putenv.c (putenv): Likewise.
25633         * stdlib/setenv.c (__add_to_environ): Likewise.
25634         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25635         * stdlib/strtol_l.c (INTERNAL): Likewise.
25636         * string/memmem.c (memmem): Likewise.
25637         * string/strerror.c (strerror): Likewise.
25638         * string/strnlen.c (__strnlen): Likewise.
25639         * string/test-memmem.c (simple_memmem): Likewise.
25640         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
25641         * sunrpc/pm_getport.c (__get_socket): Likewise.
25642         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
25643         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
25644         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
25645         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
25646         Likewise.
25647         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25648         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25649         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
25650         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
25651         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
25652         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
25653         Likewise.
25654         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
25655         Likewise.
25656         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25657         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25658         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25659         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25660         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25661         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
25662         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25663         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
25664         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
25665         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
25666         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25667         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
25668         Likewise.
25669         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
25670         Likewise.
25671         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
25672         Likewise.
25673         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
25674         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25675         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
25676         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
25677         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25678         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
25679         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25680         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
25681         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
25682         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
25683         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
25684         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25685         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25686         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
25687         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25688         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25689         Likewise.
25690         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
25691         Likewise.
25692         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
25693         Likewise.
25694         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
25695         Likewise.
25696         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25697         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25698         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
25699         Likewise.
25700         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
25701         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
25702         * sysdeps/posix/opendir.c (__opendirat): Likewise.
25703         * sysdeps/posix/sleep.c: Likewise.
25704         * sysdeps/posix/tempname.c: Likewise.
25705         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
25706         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25707         Likewise.
25708         * sysdeps/powerpc/powerpc32/dl-machine.h
25709         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
25710         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25711         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25712         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
25713         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
25714         Likewise.
25715         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
25716         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
25717         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25718         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
25719         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25720         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
25721         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
25722         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25723         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25724         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
25725         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25726         (elf_machine_lazy_rel): Likewise.
25727         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25728         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25729         (elf_machine_lazy_rel): Likewise.
25730         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25731         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25732         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25733         * sysdeps/unix/grantpt.c (grantpt): Likewise.
25734         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25735         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25736         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25737         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25738         Likewise.
25739         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25740         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25741         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25742         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25743         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25744         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25745         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25746         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25747         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25748         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25749         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25750         Likewise.
25751         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25752         (__posix_fallocate64_l64): Likewise.
25753         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25754         (posix_fallocate): Likewise.
25755         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25756         Likewise.
25757         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25758         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25759         (getifaddrs_internal): Likewise.
25760         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25761         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25762         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25763         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25764         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25765         (__posix_fallocate64_l64): Likewise.
25766         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25767         Likewise.
25768         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25769         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25770         (__get_clockfreq): Likewise.
25771         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25772         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25773         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25774         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25775         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25776         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25777         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25778         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25779         Likewise.
25780         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25781         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25782         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25783         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25784         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25785         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25786         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25787         Likewise.
25788         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25789         (posix_fallocate): Likewise.
25790         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25791         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25792         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25793         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25794         (elf_machine_rela, elf_machine_rela_relative)
25795         (elf_machine_lazy_rel): Likewise.
25796         * time/asctime.c (asctime_internal): Likewise.
25797         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25798         * time/tzset.c (__tzset_parse_tz): Likewise.
25799         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25800         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25801         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25802         * wcsmbs/wcsmbsload.h: Likewise.
25804         [BZ #15894]
25805         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25807         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25808         (arena_get2): Remove THREAD_STATS conditionals.
25809         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25810         (__malloc_stats, int): Likewise.
25812 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25814         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25815         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25817         * manual/setjmp.texi: Fix typos/grammar errors.
25819         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25820         Only return early when n is <= 0.  Delete unused return statement.
25822         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25823         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25824         * debug/tst-longjmp_chk3.c: New file.
25826         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25827         (test_main): Replace code with set_fortify_handler call.
25828         * debug/test-strcpy_chk.c: Likewise.
25829         * debug/tst-chk1.c: Likewise.
25830         * debug/tst-longjmp_chk.c: Likewise.
25831         * test-skeleton.c: Include fcntl.h & paths.h
25832         (set_fortify_handler): Define.
25834         * debug/tst-longjmp_chk.c: Add header comment and include
25835         ../test-skeleton.c.
25836         (do_test): Mark static.
25837         (TEST_FUNCTION): Define.
25839         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25840         (IP_PMTUDISC_INTERFACE): Likewise.
25841         (IP_MULTICAST_IF): Likewise.
25842         (IP_MULTICAST_TTL): Likewise.
25843         (IP_MULTICAST_LOOP): Likewise.
25844         (IP_ADD_MEMBERSHIP): Likewise.
25845         (IP_DROP_MEMBERSHIP): Likewise.
25846         (IP_UNBLOCK_SOURCE): Likewise.
25847         (IP_BLOCK_SOURCE): Likewise.
25848         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25849         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25850         (IP_MSFILTER): Likewise.
25851         (MCAST_JOIN_GROUP): Likewise.
25852         (MCAST_BLOCK_SOURCE): Likewise.
25853         (MCAST_UNBLOCK_SOURCE): Likewise.
25854         (MCAST_LEAVE_GROUP): Likewise.
25855         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25856         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25857         (MCAST_MSFILTER): Likewise.
25858         (IP_MULTICAST_ALL): Likewise.
25859         (IP_UNICAST_IF): Likewise.
25861         * timezone/Makefile: Delete $(have-ksh) check.
25862         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25863         * timezone/tzselect.ksh: Add +x mode bits.
25865         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25866         (ANON_INODE_FS_MAGIC): Likewise.
25867         (BDEVFS_MAGIC): Likewise.
25868         (BINFMTFS_MAGIC): Likewise.
25869         (BTRFS_TEST_MAGIC): Likewise.
25870         (CRAMFS_MAGIC_WEND): Likewise.
25871         (DEBUGFS_MAGIC): Likewise.
25872         (ECRYPTFS_SUPER_MAGIC): Likewise.
25873         (EXT3_SUPER_MAGIC): Likewise.
25874         (EXT4_SUPER_MAGIC): Likewise.
25875         (FUTEXFS_SUPER_MAGIC): Likewise.
25876         (HOSTFS_SUPER_MAGIC): Likewise.
25877         (HUGETLBFS_MAGIC): Likewise.
25878         (MINIX3_SUPER_MAGIC): Likewise.
25879         (MTD_INODE_FS_MAGIC): Likewise.
25880         (NILFS_SUPER_MAGIC): Likewise.
25881         (OPENPROM_SUPER_MAGIC): Likewise.
25882         (PIPEFS_MAGIC): Likewise.
25883         (PSTOREFS_MAGIC): Likewise.
25884         (QNX6_SUPER_MAGIC): Likewise.
25885         (RAMFS_MAGIC): Likewise.
25886         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25887         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25888         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25889         (SECURITYFS_MAGIC): Likewise.
25890         (SELINUX_MAGIC): Likewise.
25891         (SMACK_MAGIC): Likewise.
25892         (SOCKFS_MAGIC): Likewise.
25893         (SQUASHFS_MAGIC): Likewise.
25894         (STACK_END_MAGIC): Likewise.
25895         (TMPFS_MAGIC): Likewise.
25896         (USBDEVICE_SUPER_MAGIC): Likewise.
25897         (V9FS_MAGIC): Likewise.
25898         (XENFS_SUPER_MAGIC): Likewise.
25899         (CRAMFS_MAGIC): Fix typo in comment.
25900         (EXT2_SUPER_MAGIC): Update comment.
25901         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25903 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25905         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25906         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25907         * sysdeps/unix/sysv/linux/arm: Move directory from
25908         ports/sysdeps/unix/sysv/linux/arm.
25909         * README: Update listing for arm-*-linux-gnueabi.
25911         * README: Remove mention of am33.
25913 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25915         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25916         than the comma operator, to avoid "rhs of comma has no effect"
25917         compiler warnings.
25918         (__sigfillset, __sigandset, __sigorset): Likewise.
25919         * include/signal.h (__sigemptyset): Likewise.
25920         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25922 2014-02-07  Allan McRae  <allan@archlinux.org>
25924         * version.h (RELEASE): Set to "development".
25925         (VERSION): Set to "2.19.90"
25926         * NEWS: Add 2.20 section.
25928 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25930         [BZ #16529]
25931         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25933 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25935         * manual/contrib.texi: Update entry for Carlos O'Donell,
25936         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25938 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25940         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25942         * sysdeps/unix/sysv/linux/kernel-features.h
25943         [__LINUX_KERNEL_VERSION >= 0x020621]
25944         (__ASSUME_PROC_PID_TASK_COMM): Define.
25946 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25948         [BZ #16398]
25949         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25950         conversion when destination buffer does not have enough space.
25951         * libio/tst-ftell-partial-wide.c: New test case.
25952         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25954         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25955         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25956         Leonard and Allan McRae.
25958 2014-02-04  David S. Miller  <davem@davemloft.net>
25960         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25961         32-bit.
25963 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25966         New file
25967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25968         New file
25969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25970         New file.
25971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25972         New file.
25973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25974         New file.
25975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25976         New file.
25977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25978         New file.
25979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25980         New file.
25981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25982         New file.
25983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25984         New file.
25985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25986         New file.
25987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25988         New file.
25989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25990         New file.
25992 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25994         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25995         * shlib-versions: Likewise.
25997 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25998             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26000         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
26001         (abilist-pattern): New variable, set to %-le.abilist.
26003         * Makerules (abilist-pattern): New variable.
26004         (vpath): Use $(abilist-pattern) in place of %.abilist.
26005         (check-abi-% pattern rule): Likewise.
26006         (check-abi, update-abi): Likewise.
26008 2014-02-04  Eric Wong  <normalperson@yhbt.net>
26010         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26012 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
26014         * manual/startup.texi: Add next, previous, and top entries for
26015         the `Program Arguments' and `Environment Variables' nodes.
26017 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
26019         * manual/macros.texi: Add comments before MTASC-safety macros.
26021         * manual/users.texi: Document MTASC-safety properties.
26023         * manual/threads.texi (pthread_key_create, pthread_key_delete)
26024         (pthread_getspecific, pthread_setspecific): Format with
26025         @deftypefun, and add @safety note.
26026         * manual/signal.texi: Move comments that analyze the above
26027         functions to their home place.
26029 2014-02-03  Allan McRae  <allan@archlinux.org>
26031         * po/sl.po: Update Slovenian translation from translation project.
26033 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
26035         * manual/time.texi (timegm): Add missing blank after @c.
26036         Reported by Joseph Myers <joseph@codesourcery.com>.
26038 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
26040         * manual/check-safety.sh: New.
26041         * manual/Makefile ($(objpfx)stamp-summary): Run it.
26043         * manual/terminal.texi: Document MTASC-safety properties.
26045         * manual/filesys.texi: Document MTASC-safety properties.
26047         * manual/errno.texi: Document MTASC-safety properties.
26049         * manual/intro.texi: Document safety identifiers and
26050         conditionals.
26052         * manual/string.texi (wcstok): Fix prototype.
26053         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
26055         * manual/time.texi: Document MTASC-safety properties.
26057         * manual/string.texi: Document MTASC-safety properties.
26059         * manual/threads.texi: Document MTASC-safety properties.
26061         * manual/stdio.texi: Document MTASC-safety properties.
26063         * manual/syslog.texi: Document MTASC-safety properties.
26065         * manual/sysinfo.texi: Document MTASC-safety properties.
26067         * manual/startup.texi: Document MTASC-safety properties.
26069         * manual/socket.texi: Document MTASC-safety properties.
26071         * manual/signal.texi: Document MTASC-safety properties.
26073 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
26075         * manual/setjmp.texi: Document MTASC-safety properties.
26077         * manual/search.texi: Document MTASC-safety properties.
26079         * manual/resource.texi: Document MTASC-safety properties.
26081         * manual/process.texi: Document MTASC-safety properties.
26083         * manual/platform.texi: Document MTASC-safety properties.
26085         * manual/pipe.texi: Document MTASC-safety properties.
26087         * manual/pattern.texi: Document MTASC-safety properties.
26089         * manual/message.texi: Document MTASC-safety properties.
26091         [BZ #12751]
26092         * manual/memory.texi: Document MTASC-safety properties.
26094         * manual/math.texi: Document MTASC-safety properties.
26096         * manual/locale.texi: Document MTASC-safety properties.
26098         * manual/llio.texi: Document MTASC-safety properties.
26100         * manual/libdl.texi: New.
26102         * manual/lang.texi: Document MTASC-safety properties.
26104         * manual/job.texi: Document MTASC-safety properties.
26106         * manual/getopt.texi: Document MTASC-safety properties.
26108         * manual/ctype.texi: Document MTASC-safety properties.
26110 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
26112         [BZ #16046]
26113         * csu/libc-tls.c (static_map): Remove variable.
26114         (__libc_setup_tls): Use main executable's link map for TLS data.
26115         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
26116         casing for LM_ID_BASE and GL(dl_nns).
26117         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
26118         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
26119         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
26120         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
26121         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
26122         member.
26123         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
26124         l_phnum members.
26126 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
26128         * manual/debug.texi: Document MTASC-safety properties.
26130 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
26132         [BZ #16510]
26133         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
26134         of __x86_64__ when disabling x87 inline functions.
26136 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
26138         * manual/charset.texi: Document MTASC-safety properties.
26140         * manual/crypt.texi: Document MTASC-safety properties.
26142         * manual/conf.texi: Document MTASC-safety properties.
26144         * manual/arith.texi: Document MTASC-safety properties.
26146         * manual/argp.texi: Document MTASC-safety properties.
26148         * manual/macros.texi: Introduce macros to document multi
26149         thread, asynchronous signal and asynchronous cancellation
26150         safety properties.
26151         * manual/intro.texi: Introduce the properties themselves.
26153 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26155         * sysdeps/sh/sh4/Makefile: New file.
26157 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
26159         * math/gen-libm-test.pl ($srcdir): New variable.
26160         ($auto_input): Use it.
26162 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26164         [BZ #16506]
26165         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
26166         access beyond array bounds when parsing netgroups file.
26168         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
26169         the old buffer before realloc.
26171 2014-01-27  Allan McRae  <allan@archlinux.org>
26173         * po/fr.po: Update French translation from translation project.
26175 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26177         * sysdeps/sh/libm-test-ulps: Regenerate.
26179 2014-01-24  David S. Miller  <davem@davemloft.net>
26181         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
26183 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26185         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
26186         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
26188 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26190         [BZ #16474]
26191         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
26192         string pointers after reallocation.
26194 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26196         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
26197         __SH4A__ instead of __SH_FPU_ANY__.
26199 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26201         * sysdeps/sh/fpu_control.h: New file.
26202         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
26203         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
26204         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
26205         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
26206         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
26207         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
26208         * sysdeps/sh/sys/ucontext.h: Remove.
26209         * sysdeps/sh/sys: Remove directory.
26211 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26213         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
26214         s390/sys/ucontext.h.
26215         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
26216         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
26218 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
26220         [BZ #15605]
26221         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
26223 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26225         [BZ#16431]
26226         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26227         Adjust the vDSO correctly for internal calls.
26228         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
26230 2014-01-20  Allan McRae  <allan@archlinux.org>
26232         * po/ca.po: Update Catalan translation from translation project.
26234 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
26236         * sysdeps/s390/sotruss-lib.c: New file.
26238 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26240         [BZ#16430]
26241         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
26242         (__GI___gettimeofday): Alias for a different internal symbol to avoid
26243         local calls issues by not having a PLT stub required for IFUNC calls.
26244         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
26246 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
26248         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
26249         * math/test-fpucw-static.c: Likewise.
26251 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26253         [BZ #16453]
26254         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
26256 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26258         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
26259         implementation for powerpc.
26261 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
26263         [BZ #14782]
26264         * sysdeps/posix/system.c (__libc_system): Do not enable
26265         asynchronous cancellation.
26267 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26269         [BZ #16427]
26270         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
26271         handling only for numbers special also in the IEEE case.
26273 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26275         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26277 2014-01-11  Allan McRae  <allan@archlinux.org>
26279         * po/bg.po: Update Bulgarian translation from translation project.
26281         * po/de.po: Update German translation from translation project.
26283 2014-01-10  Roland McGrath  <roland@hack.frob.com>
26285         * sysdeps/generic/gcc-compat.h: New file.
26287 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26289         * benchtests/asin-inputs: Correct slow inputs.
26290         * benchtests/acos-inputs: Likewise.
26292 2014-01-10  Allan McRae  <allan@archlinux.org>
26294         * po:sv.po: Update Swedish translation from translation project.
26296         * po/vi.po: Update Vietnamese translation from translation project.
26298         * po/eo.po: Update Esperanto translation from translation project.
26300         * po/cs.po: Update Czech translation from translation project.
26302         * po/nl.po: Update Dutch translation from translation project.
26304         * po/pl.po: Update Polish translation from translation project.
26306         * po/ru.po: Update Russian translation from translation project.
26308         * po/uk.po: Update Ukrainian translation from translation project.
26310 2014-01-08  Brooks Moses  <bmoses@google.com>
26312         * elf/dl-load.c: Fix comment typo.
26314 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
26316         * po/header.pot: Rename to...
26317         * po/pot.header: ... this.
26318         * po/Makefile: Use pot.header.
26320 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
26321             Maxim Kuvyrkov  <maxim@kugelworks.com>
26323         [BZ #16394]
26324         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
26325         SRC and DEST against LEN.
26327 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26329         [BZ #16414]
26330         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
26331         implementation.
26332         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
26334 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26338 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
26340         [BZ #16408]
26341         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
26342         for large positive arguments.
26344 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
26346         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26348         * math/auto-libm-test-in: Mark various tests with
26349         xfail-rounding:ldbl-128ibm.
26350         * math/auto-libm-test-out: Regenerated.
26352         [BZ #16407]
26353         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26354         Increase overflow threshold.
26356 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
26358         [BZ #14286]
26359         * stdio-common/vfprintf.c: Check for integer overflow.
26361 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26363         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
26364         the first argument and return value of __tls_get_addr_internal.
26366 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26368         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
26369         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
26371 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26373         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
26374         * sysdeps/s390/rtld-global-offsets.sym: New file.
26375         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
26376         GLIBC_2.19 symbol.
26377         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
26378         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
26379         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26380         ... this.
26381         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
26382         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26383         ... this.
26384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26385         Regenerate.
26386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26387         Regenerate.
26388         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
26389         halfs of GPRs for high_gprs contexts.
26390         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
26391         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
26392         field.
26393         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
26394         uc_flags field.
26395         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
26396         64 bit versions:
26397         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
26398         for high GPRs (uc_high_gprs) and for future extensions
26399         (__reserved).
26400         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
26401         for future extensions (__reserved).
26402         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
26403         64 bit versions:
26404         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
26405         SC_HIGHGPRS offset definition.
26406         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
26407         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
26409         * Versions.def: Add GLIBC_2.19 for libpthread.
26410         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
26411         siglongjmp for libpthread with GLIBC_2.19 symver.
26412         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
26413         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
26414         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
26415         * sysdeps/s390/__longjmp.c: New file.
26416         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
26417         * sysdeps/s390/longjmp.c: New file.
26418         * sysdeps/s390/setjmp.S: New file.
26419         * sysdeps/s390/sigjmp.S: New file.
26420         * sysdeps/s390/v1-longjmp.c: New file.
26421         * sysdeps/s390/v1-setjmp.h: New file.
26422         * sysdeps/s390/v1-sigjmp.c: New file.
26423         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
26424         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
26425         GLIBC_2.19 version.
26426         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
26427         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
26428         versioned symbols for ____longjmp_chk.
26429         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26430         Likewise.
26431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26432         Regenerate.
26433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26434         Regenerate.
26435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26436         Regenerate.
26437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26438         Regenerate.
26439         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
26440         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
26441         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
26442         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
26443         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
26444         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
26445         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
26446         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
26447         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
26448         * sysdeps/s390/rtld-__longjmp.c: New file.
26449         * sysdeps/s390/rtld-setjmp.S: New file.
26451 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
26453         [BZ #16400]
26454         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26455         Return -__logl (x) for small positive arguments without evaluating
26456         a polynomial.
26458 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
26460         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
26461         Rename to ...
26462         (__ptrace_peeksiginfo_args): ... this.
26463         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26464         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26465         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26467 2014-01-06  Allan McRae  <allan@archlinux.org>
26469         * inet/netinet/in.h: Fix typo in comment.
26471 2014-01-05  Andreas Jaeger  <aj@suse.de>
26473         * sysdeps/i386/fpu/libm-test-ulps: Update.
26475 2014-01-05  Allan McRae  <allan@archlinux.org>
26477         * po/libc.pot: Regenerated.
26479         * malloc/memusagestat.c: Fix gettext call formatting.
26481 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
26483         * nscd/nscd.c: Improve usage() output.
26485 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
26487         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
26488         * sysdeps/unix/sysv/linux/configure: Regenerated.
26489         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
26490         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
26492 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26494         [BZ #16390]
26495         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26496         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
26498 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26500         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
26501         extra tokens at end of #undef directive.
26502         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26503         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26504         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26506 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26508         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26510         * math/auto-libm-test-in: Mark various tests with
26511         xfail-rounding:ldbl-128ibm.
26512         * math/auto-libm-test-out: Regenerated.
26514 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
26516         [BZ #16386]
26517         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
26518         numbers with subnormal high part when calculating exponent.
26520         [BZ #16385]
26521         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
26522         fabs.
26524         [BZ #16384]
26525         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
26526         M_LN2l.
26527         (__ieee754_acoshl): Use __log1pl not __log1p.
26529 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
26531         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
26532         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
26533         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
26534         (grow_heap, heap_trim, _int_new_arena, get_free_list)
26535         (reused_arena, arena_get2): Convert to GNU style.
26536         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
26537         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
26538         (memalign_check, __malloc_set_state): Likewise.
26539         * malloc/mallocbug.c (main): Likewise.
26540         * malloc/malloc.c (__malloc_assert, malloc_init_state)
26541         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
26542         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
26543         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
26544         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
26545         (__posix_memalign, malloc_info): Likewise.
26546         * malloc/malloc.h: Likewise.
26547         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
26548         (mallochook, memalignhook, reallochook, mabort): Likewise.
26549         * malloc/mcheck.h: Likewise.
26550         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
26551         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
26552         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
26553         * malloc/morecore.c (__default_morecore): Likewise.
26554         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
26555         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
26556         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
26557         (print_and_abort): Likewise.
26558         * malloc/obstack.h: Likewise.
26559         * malloc/set-freeres.c (__libc_freeres): Likewise.
26560         * malloc/tst-mallocstate.c (main): Likewise.
26561         * malloc/tst-mtrace.c (main): Likewise.
26562         * malloc/tst-realloc.c (do_test): Likewise.
26564 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26566         [BZ #16366]
26567         * nscd/netgroupcache.c (do_notfound): New function.
26568         (addgetnetgrentX): Use it.
26570         [BZ # 16365]
26571         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
26572         NSS_STATUS_NOTFOUND.
26574 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
26576         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26579 2014-01-01  Allan McRae  <allan@archlinux.org>
26581         * scripts/update-copyrights: Update configure input file suffix.
26583         * NEWS: Update copyright year.
26584         * catgets/gencat.c: Likewise.
26585         * csu/version.c: Likewise.
26586         * debug/catchsegv.sh: Likewise.
26587         * debug/pcprofiledump.c: Likewise.
26588         * debug/xtrace.sh: Likewise.
26589         * elf/ldconfig.c: Likewise.
26590         * elf/ldd.bash.in: Likewise.
26591         * elf/pldd.c: Likewise.
26592         * elf/sotruss.ksh: Likewise.
26593         * elf/sprof.c: Likewise.
26594         * iconv/iconv_prog.c: Likewise.
26595         * iconv/iconvconfig.c: Likewise.
26596         * locale/programs/locale.c: Likewise.
26597         * locale/programs/localedef.c: Likewise.
26598         * login/programs/pt_chown.c: Likewise.
26599         * malloc/memusage.sh: Likewise.
26600         * malloc/memusagestat.c: Likewise.
26601         * malloc/mtrace.pl: Likewise.
26602         * manual/libc.texinfo: Likewise.
26603         * nscd/nscd.c: Likewise.
26604         * nss/getent.c: Likewise.
26605         * nss/makedb.c: Likewise.
26606         * posix/getconf.c: Likewise.
26607         * scripts/test-installation.pl: Likewise.
26609         * All files with FSF copyright notices: Update copyright dates
26610         using scripts/update-copyrights.
26611         * intl/plural.c: Regenerated.
26612         * locale/programs/charmap-kw.h: Likewise.
26613         * locale/programs/locfile-kw.h: Likewise.
26615 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
26617         * sysdeps/unix/sysv/linux/configure: Regenerated.
26618         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
26619         the linux/fanotify.h header.
26620         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
26621         HAVE_LINUX_FANOTIFY_H is defined.
26623 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26625         * benchtests/cos-inputs: New inputs.
26626         * benchtests/sin-inputs: Likewise.
26628         * benchtests/atan-inputs: New inputs. Fix name of multiple
26629         precision fallback inputs.
26631         * benchtests/atanh-inputs: New inputs.
26632         * benchtests/tanh-inputs: Likewise.
26634         * benchtests/acosh-inputs: New inputs.
26635         * benchtests/asinh-inputs: Likewise.
26637         * benchtests/cosh-inputs: New inputs.
26638         * benchtests/sinh-inputs: Likewise.
26640         * benchtests/acos-inputs: Add more inputs.
26641         * benchtests/asin-inputs: Likewise.
26643 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
26645         [BZ #16375]
26646         * manual/arith.texi: Fix spelling.
26647         * manual/charset.texi: Likewise.
26648         * manual/errno.texi: Likewise.
26649         * manual/filesys.texi: Likewise.
26650         * manual/lang.texi: Likewise.
26651         * manual/llio.texi: Likewise.
26652         * manual/locale.texi: Likewise.
26653         * manual/message.texi: Likewise.
26654         * manual/resource.texi: Likewise.
26655         * manual/search.texi: Likewise.
26656         * manual/setjmp.texi: Likewise.
26657         * manual/stdio.texi: Likewise.
26658         * manual/string.texi: Likewise.
26659         * manual/sysinfo.texi: Likewise.
26660         * manual/time.texi: Likewise.
26662 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
26664         * po/sl.po: New file.
26666 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
26668         * .gitignore: Add core/.gdbinit/.gdb_history.
26670 2013-12-27  Allan McRae  <allan@archlinux.org>
26672         [BZ #16369]
26673         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
26674         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
26676 2013-12-24  Brooks Moses  <bmoses@google.com>
26678         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
26679         all compilers that claim C++98 compliance, not just GCC.
26680         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26681         Likewise.
26683 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26685         * NEWS: Restore accidentally deleted bug-fix entries.
26687 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26688             Ondřej Bílka  <neleai@seznam.cz>
26690         [BZ #15073]
26691         * malloc/malloc.c (_int_free): Perform sanity check only if we
26692         have_lock.
26694 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
26696         [BZ #12986]
26697         * manual/stdio.texi (String Input Conversions): Clarify that character
26698         classes are not supported.
26700 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26704 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
26706         [BZ #16337]
26707         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26708         Calculate results for small negative arguments directly rather
26709         than using reflection formula with special underflow handling.
26711         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26712         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
26713         sysdeps/unix/bsd/bsd4.4/syscalls.list.
26714         (fchflags): Likewise.
26715         (revoke): Likewise.
26716         (setlogin): Likewise.
26717         (sigaltstack): Likewise.
26718         (wait4): Likewise.
26719         (sigblock): Remove.
26720         (sigsetmask): Likewise.
26721         (wait3): Likewise.
26722         (waitpid): Likewise.
26723         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26724         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26725         file.
26726         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26727         * sysdeps/unix/bsd/Makefile: ... here.
26728         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26729         * sysdeps/unix/bsd/Versions: ... here.
26730         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26731         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26732         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26733         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26734         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26735         * sysdeps/unix/bsd/sigblock.c: ... here.
26736         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26737         * sysdeps/unix/bsd/sigsetmask.c: ... here.
26738         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26739         * sysdeps/unix/bsd/sigvec.c: ... here.
26740         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26741         * sysdeps/unix/bsd/tcdrain.c: ... here.
26742         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26743         * sysdeps/unix/bsd/tcgetattr.c: ... here.
26744         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26745         * sysdeps/unix/bsd/tcsetattr.c: ... here.
26746         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26747         * sysdeps/unix/bsd/wait.c: ... here.
26748         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26749         * sysdeps/unix/bsd/wait3.c: ... here.
26750         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26751         * sysdeps/unix/bsd/waitpid.c: ... here.
26753 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
26755         [BZ #16356]
26756         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26757         round-to-nearest for [!USE_AS_EXPM1L].
26758         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26759         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
26760         more tests of exp and exp10.  Expect some exp10 tests to miss
26761         exceptions or fail in directed rounding modes.
26762         * math/auto-libm-test-out: Regenerated.
26763         * math/libm-test.inc (exp10_tonearest_test_data): New array.
26764         (exp10_test_tonearest): New function.
26765         (exp10_towardzero_test_data): New array.
26766         (exp10_test_towardzero): New function.
26767         (exp10_downward_test_data): New array.
26768         (exp10_test_downward): New function.
26769         (exp10_upward_test_data): New array.
26770         (exp10_test_upward): New function.
26771         (main): Call the new functions.
26772         * sysdeps/i386/fpu/libm-test-ulps: Update.
26773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26775 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26777         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26778         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26779         * math/auto-libm-test-out: Regenerated.
26780         * math/libm-test.inc (acosh_test_data): Add more tests.
26781         (atanh_test_data): Likewise.
26782         (ceil_test_data): Likewise.
26783         (copysign_test_data): Likewise.
26784         * sysdeps/i386/fpu/libm-test-ulps: Update.
26785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26787         * timezone/checktab.awk: Update from tzcode 2013i.
26788         * timezone/private.h: Likewise.
26789         * timezone/scheck.c: Likewise.
26790         * timezone/tzfile.h: Likewise.
26791         * timezone/tzselect.ksh: Likewise.
26792         * timezone/zdump.c: Likewise.
26793         * timezone/zic.c: Likewise.
26795         * math/auto-libm-test-in: Add tests of cpow.
26796         * math/auto-libm-test-out: Regenerated.
26797         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26798         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26799         mpc_cc_c.
26800         (func_calc_desc): Add mpc_cc_c union field.
26801         (test_functions): Add cpow.
26802         (special_fill_2pi): New function.
26803         (special_real_inputs): Add 2pi.
26804         (calc_generic_results): Handle mpc_cc_c.
26805         * sysdeps/i386/fpu/libm-test-ulps: Update.
26806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26808         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26809         csqrt, ctan and ctanh.
26810         * math/auto-libm-test-out: Regenerated.
26811         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26812         (TEST_COND_x86): Likewise.
26813         (ccos_test_data): Use AUTO_TESTS_c_c.
26814         (ccosh_test_data): Likewise.
26815         (cexp_test_data): Likewise.
26816         (clog_test_data): Likewise.
26817         (csqrt_test_data): Likewise.
26818         (ctan_test_data): Likewise.
26819         (ctan_tonearest_test_data): Likewise.
26820         (ctan_towardzero_test_data): Likewise.
26821         (ctan_downward_test_data): Likewise.
26822         (ctan_upward_test_data): Likewise.
26823         (ctanh_test_data): Likewise.
26824         (ctanh_tonearest_test_data): Likewise.
26825         (ctanh_towardzero_test_data): Likewise.
26826         (ctanh_downward_test_data): Likewise.
26827         (ctanh_upward_test_data): Likewise.
26828         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26829         mpc_c_c.
26830         (func_calc_desc): Add mpc_c_c union field.
26831         (FUNC_mpc_c_c): New macro.
26832         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26833         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26834         ctanh.
26835         (special_fill_min_subnorm_p120): New function.
26836         (special_real_inputs): Add min_subnorm_p120.
26837         (calc_generic_results): Handle mpc_c_c.
26838         * sysdeps/i386/fpu/libm-test-ulps: Update.
26839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26841 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26843         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26844         (do_sin_slow): New functions.
26845         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26846         (cslow2, csloww1, csloww2): Use the new functions.
26848         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26849         Use M to change sign of result instead of X.  Assume X is
26850         positive.
26851         (csloww1): Likewise.
26852         (__sin): Adjust.
26853         (__cos): Adjust.
26855         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26856         arguments A and DA.
26857         (__sin): Adjust.
26858         (__cos): Likewise.
26860         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26861         (__cos): Likewise.
26862         (sloww1): Don't adjust sign of DX.
26863         (csloww1): Likewise.
26864         (sloww2): Use X directly and don't adjust sign of DX.
26865         (csloww2): Likewise.
26867 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26869         * math/auto-libm-test-in: Add tests of cabs and carg.
26870         * math/auto-libm-test-out: Regenerated.
26871         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26872         (carg_test_data): Likewise.
26873         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26874         mpc_c_f.
26875         (func_calc_desc): Add mpc_c_f union field.
26876         (test_functions): Add cabs and carg.
26877         (calc_generic_results): Handle mpc_c_f.
26879         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26880         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26881         as a macro and a compat symbol.
26882         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26883         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26884         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26885         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26886         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26887         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26888         not use .hidden.
26889         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26890         Likewise.
26891         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26892         Likewise.
26893         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26894         Likewise.
26895         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26896         Likewise.
26897         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26898         Likewise.
26899         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26900         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26901         from GLIBC_2.3.2.
26903 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26907 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26909         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26910         trailing whitespace removed.
26911         * scripts/config.guess: Update to version 2013-11-29.
26912         * scripts/config.sub: Update to version 2013-10-01.
26914         * math/auto-libm-test-in: Add tests of sincos.
26915         * math/auto-libm-test-out: Regenerated.
26916         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26917         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26918         mpfr_f_11.
26919         (func_calc_desc): Add mpfr_f_11 union field.
26920         (test_functions): Add sincos.
26921         (calc_generic_results): Handle mpfr_f_11.
26922         * sysdeps/i386/fpu/libm-test-ulps: Update.
26923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26925 2013-12-19  Andreas Schwab  <schwab@suse.de>
26927         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26928         CALL_MCOUNT.
26929         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26930         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26931         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26933 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26935         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26936         * sysdeps/i386/fpu/libm-test-ulps: Update.
26937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26939         [BZ #16293]
26940         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26941         round-to-nearest mode when using frndint.
26942         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26943         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26944         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26945         Likewise.
26946         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26947         sinh test to fail.
26948         * math/auto-libm-test-out: Regenerated.
26949         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26950         (TEST_COND_x86): Likewise.
26951         (expm1_tonearest_test_data): New array.
26952         (expm1_test_tonearest): New function.
26953         (expm1_towardzero_test_data): New array.
26954         (expm1_test_towardzero): New function.
26955         (expm1_downward_test_data): New array.
26956         (expm1_test_downward): New function.
26957         (expm1_upward_test_data): New array.
26958         (expm1_test_upward): New function.
26959         (main): Run the new test functions.
26960         * sysdeps/i386/fpu/libm-test-ulps: Update.
26961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26963         * include/features.h: Update comment documenting feature test
26964         macros.  Mention _DEFAULT_SOURCE in comment.
26965         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26966         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26967         _BSD_SOURCE and _SVID_SOURCE.
26968         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26969         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26970         !_SVID_SOURCE]: Likewise.
26971         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26972         (__USE_POSIX_IMPLICITLY): Define.
26973         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26974         (_POSIX_SOURCE): Undefine and redefine.
26975         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26976         (_POSIX_C_SOURCE): Likewise.
26977         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26978         (Feature Test Macros): Update documentation of default features.
26980 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26982         * benchtests/Makefile: Add bench-strtok.
26983         * benchtests/bench-strtok.c: New file: strtok benchtest.
26985 2013-12-19  Allan McRae  <allan@archlinux.org>
26987         * manual/install.texi: Suppress menu for plain text output.
26988         * INSTALL: Regenerated.
26990 2013-12-18  Brooks Moses  <bmoses@google.com>
26992         [BZ #15846]
26993         * misc/getauxval.c: Include errno.h.
26994         (__getauxval): Set errno to ENOENT if the requested type is not
26995         found.
26996         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26997         don't declare with __attribute_const__.
26998         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26999         * manual/startup.texi: Document that getauxval sets errno.
27001 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
27003         * math/auto-libm-test-in: Add tests of jn and yn.
27004         * math/auto-libm-test-out: Regenerated.
27005         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
27006         (yn_test_data): Likewise.
27007         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27008         mpfr_if_f.
27009         (func_calc_desc): Add mpfr_if_f union field.
27010         (FUNC_mpfr_if_f): New macro.
27011         (test_functions): Add jn and yn.
27012         (calc_generic_results): Assert type of second input for
27013         mpfr_ff_f.  Handle mpfr_if_f.
27014         (output_for_one_input_case): Disable all checking for arguments
27015         fitting floating-point types in case of an integer argument.
27016         * sysdeps/i386/fpu/libm-test-ulps: Update.
27017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27020         Don't expect fegetround reference in libm.so.
27022 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27024         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
27025         $(config-cflags-nofma).
27027 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
27029         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
27030         * math/auto-libm-test-out: Regenerated.
27032         [BZ #16338]
27033         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
27034         to determine exponent and adjust argument to have exponent of -1.
27035         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27036         log2.
27037         * math/auto-libm-test-out: Regenerated.
27038         * sysdeps/i386/fpu/libm-test-ulps: Update.
27039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27041 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
27043         * manual/probes.texi: Remove cases when per-thread arenas are
27044         disabled.
27046 2013-12-18  Andreas Schwab  <schwab@suse.de>
27048         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
27049         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
27050         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
27051         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
27052         * sysdeps/i386/i686/multiarch/Makefile: Update.
27053         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
27055 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
27057         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
27058         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
27060 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
27062         [BZ #15968]
27063         Support TZ transition times < 00:00:00.
27064         This is needed for version-3 tz-format files; it supports time
27065         stamps past 2037 for America/Godthab (the only entry in the tz
27066         database for which this change is relevant).
27067         * manual/time.texi (TZ Variable): Document transition times
27068         from -167:59:59 through -00:00:01.
27069         * time/tzset.c (tz_rule): Time of day is now signed.
27070         (__tzset_parse_tz): Parse negative time of day.
27072         Document TZ transition times >= 25:00:00.
27073         * manual/time.texi (TZ Variable): Document transition times from
27074         25:00:00 through 167:59:59.  These are already supported, and this
27075         support will help with version-3 tz-format files.
27077         * manual/time.texi (TZ Variable): Modernize North America example
27078         to reflect current (i.e., 2007-and-later) daylight saving rules.
27080         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
27082 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
27084         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
27085         * sysdeps/unix/bsd/bits/stat.h: Likewise.
27086         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
27087         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27088         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
27089         * sysdeps/unix/bsd/bsdstat.h: Likewise.
27090         * sysdeps/unix/bsd/clock.c: Likewise.
27091         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
27092         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
27093         * sysdeps/unix/bsd/init-posix.c: Likewise.
27094         * sysdeps/unix/bsd/poll.c: Likewise.
27095         * sysdeps/unix/bsd/ptsname.c: Likewise.
27096         * sysdeps/unix/bsd/seekdir.c: Likewise.
27097         * sysdeps/unix/bsd/setegid.c: Likewise.
27098         * sysdeps/unix/bsd/seteuid.c: Likewise.
27099         * sysdeps/unix/bsd/setgid.c: Likewise.
27100         * sysdeps/unix/bsd/setrgid.c: Likewise.
27101         * sysdeps/unix/bsd/setruid.c: Likewise.
27102         * sysdeps/unix/bsd/setsid.c: Likewise.
27103         * sysdeps/unix/bsd/setuid.c: Likewise.
27104         * sysdeps/unix/bsd/sigaction.c: Likewise.
27105         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
27106         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
27107         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
27108         * sysdeps/unix/bsd/telldir.c: Likewise.
27109         * sysdeps/unix/bsd/times.c: Likewise.
27110         * sysdeps/unix/bsd/usleep.c: Likewise.
27112         * misc/Makefile (install-lib): Remove libbsd-compat.a.
27113         ($(objpfx)libbsd-compat.a): Remove rule.
27115         * include/features.h (__FAVOR_BSD): Do not define.
27116         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
27117         features conflicting with POSIX.
27118         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
27119         (_BSD_SOURCE): Remove description of not being a subset of other
27120         feature test macros.
27121         * manual/job.texi (getpgrp): Do not document BSD version.
27122         (getpgid): Do not document by reference to BSD getpgrp.
27123         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
27124         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
27125         * signal/signal.h [__FAVOR_BSD]: Likewise.
27126         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
27127         instead of making contents conditional on [__FAVOR_BSD].
27128         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
27130 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27134 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
27136         [BZ #16314]
27137         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
27138         values below 2**-450, not 2**-500.
27139         * math/auto-libm-test-in: Don't allow spurious underflow from
27140         hypot.
27141         * math/auto-libm-test-out: Regenerated.
27143         [BZ #16316]
27144         [BZ #16330]
27145         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
27146         values of ha and hb and sort them after adjusting subnormal
27147         arguments.
27148         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27149         Likewise.
27150         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
27151         values of ea and eb and sort them after adjusting subnormal
27152         arguments.
27153         * math/auto-libm-test-in: Do not expect some hypot tests of
27154         subnormals to fail.  Add more hypot tests.
27155         * math/auto-libm-test-out: Regenerated.
27157 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27159         [BZ #13304]
27160         * sysdeps/sh/s_fma.c: New file.
27161         * sysdeps/sh/s_fmaf.c: New file.
27162         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
27163         version.
27164         * sysdeps/sh/Implies: Add sh/soft-fp.
27166 2013-12-16  Roland McGrath  <roland@hack.frob.com>
27168         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
27169         level of indirection to members `objname', `errstring', `malloced'.
27170         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
27171         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
27172         it as the __longjmp argument (just pass 1 instead).
27173         (_dl_catch_error): Initialize C with argument pointers and address of
27174         volatile local ERRCODE rather than copying values out of C at return.
27176 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
27178         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
27179         * math/auto-libm-test-out: Regenerated.
27180         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
27181         (hypot_test_data): Likewise.
27182         (pow_test_data): Likewise.
27183         (pow_tonearest_test_data): Likewise.
27184         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27185         mpfr_ff_f.
27186         (func_calc_desc): Add mpfr_ff_f union field.
27187         (FUNC_mpfr_ff_f): New macro.
27188         (test_functions): Add atan2, hypot and pow.
27189         (special_fill_min): New function.
27190         (special_fill_minus_min): Likewise.
27191         (special_fill_min_subnorm): Likewise.
27192         (special_fill_minus_min_subnorm): Likewise.
27193         (special_real_inputs): Add min, -min, min_subnorm and
27194         -min_subnorm.
27195         (calc_generic_results): Handle mpfr_ff_f.
27196         * sysdeps/i386/fpu/libm-test-ulps: Update.
27197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27199 2013-12-16  Will Newton  <will.newton@linaro.org>
27201         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
27202         (Aligned Memory Blocks): Add documentation for aligned_alloc
27203         and suggest it as an alternative to posix_memalign.
27204         (Hooks for Malloc): Document __memalign_hook is also called
27205         for aligned_alloc.  (Summary of Malloc): Add summary for
27206         aligned alloc.  Document __memalign_hook is also called
27207         for aligned_alloc.
27209 2013-12-16  Will Newton  <will.newton@linaro.org>
27211         * manual/memory.texi (Malloc Examples): Clarify default
27212         alignment documentation.  Suggest posix_memalign rather
27213         than memalign or valloc.
27214         (Aligned Memory Blocks): Remove suggestion to use memalign
27215         or valloc.  Remove obsolete comment about BSD.
27216         Document memalign errno values and mark the function obsolete.
27217         Document posix_memalign returned error codes.  Mark valloc
27218         as obsolete.  (Hooks for Malloc): __memalign_hook is also
27219         called for posix_memalign and valloc.
27220         (Summary of Malloc): Add posix_memalign to function summary.
27221         __memalign_hook is also called for posix_memalign and valloc.
27223 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27225         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
27226         TAYLOR_SIN.
27227         (__sin): Adjust.
27228         (__cos): Likewise.
27229         (sloww): Use mynumber union.  Expand ternary operator into
27230         if-else statements.
27231         (cslow): use mynumber union.
27233 2013-12-16  Allan McRae  <allan@archlinux.org>
27235         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
27236         * configure: Regenerated.
27238         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
27240         [BZ #14120]
27241         * configure.ac: Added --enable-maintainer-mode. Check for
27242         autoconf when enabled.
27243         * configure: Regenerated.
27245         * nscd/nscd.service: New file.
27246         * nscd/nscd.tmpfiles: New file.
27248 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
27250         [BZ #12100]
27251         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
27252         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
27253         * sysdeps/x86_64/multiarch/strstr.c: ... here.
27254         (strstr): Add __strstr_sse2_unaligned ifunc.
27255         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
27256         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
27257         (strcasestr): Remove __strcasestr_sse42 ifunc.
27258         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
27259         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27260         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27262 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27264         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
27265         * sysdeps/sh/bits/fenv.h: ... here.
27266         * sysdeps/sh/sh4/fpu/bits: Remove directory.
27268 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27270         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
27272         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
27273         hypotf multiarch implementations.
27274         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
27275         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
27276         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
27277         multiarch hypot for PPC64.
27278         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
27279         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
27280         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
27281         multiarch hypotf for PPC64.
27283         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
27284         modff multiarch implementations.
27285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
27286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
27287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
27288         multiarch modf for PPC64.
27289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
27290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
27291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
27292         multiarch modff for PPC64.
27294         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
27295         and logl multiarch implementations.
27296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
27297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
27298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
27299         multiarch logb for PPC64.
27300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
27301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
27302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
27303         multiarch logb for PPC64.
27304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
27305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
27306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
27307         multiarch logb for PPC64.
27309         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
27310         isinff multiarch implementation.
27311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
27312         file.
27313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
27314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
27315         multiarch isinf for PPC64.
27316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
27317         file.
27318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
27319         multiarch isinff for PPC64.
27321         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
27322         finitef multiarch implementation.
27323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
27324         file.
27325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
27326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
27327         multiarch finite for PPC64.
27328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
27329         file.
27330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
27331         multiarch finitef for PPC64.
27333         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
27334         lrint multiarch implementation.
27335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
27336         file.
27337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
27338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
27339         multiarch llrint for PPC64.
27340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
27341         multiarch lrint for PPC64.
27343         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
27344         copysignf multiarch implementation.
27345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
27346         file.
27347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
27348         file.
27349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
27350         multiarch copysign for PPC64.
27351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
27352         multiarch copysignf for PPC64.
27354         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
27355         multiarch implementation.
27356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
27357         file.
27358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
27359         file.
27360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
27361         file.
27362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
27363         file.
27364         multiarch llround for PPC64.
27365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
27366         multiarch trunc for PPC64.
27367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
27368         multiarch truncf for PPC64.
27370         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
27371         multiarch implementation.
27372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
27373         file.
27374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
27375         file.
27376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
27377         file.
27378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
27379         file.
27380         multiarch llround for PPC64.
27381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
27382         multiarch round for PPC64.
27383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
27384         multiarch roundf for PPC64.
27386         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
27387         multiarch implementation.
27388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
27389         file.
27390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
27391         file.
27392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
27393         file.
27394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
27395         file.
27396         multiarch llround for PPC64.
27397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
27398         multiarch floor for PPC64.
27399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
27400         multiarch floorf for PPC64.
27402         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
27403         multiarch implementation.
27404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
27405         file.
27406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
27407         file.
27408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
27409         file.
27410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
27411         file.
27412         multiarch llround for PPC64.
27413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
27414         multiarch ceil for PPC64.
27415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
27416         multiarch ceilf for PPC64.
27418         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
27419         multiarch implementation.
27420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
27421         file.
27422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
27423         file.
27424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
27425         file.
27426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
27427         multiarch llround for PPC64.
27428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
27429         multiarch lround for PPC64.
27431         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
27432         multiarch implementation.
27433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
27434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
27435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
27436         file.
27437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
27438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
27439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
27440         multiarch isnan for PPC64.
27441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
27442         multiarch isnanf for PPC64.
27444         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
27445         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
27446         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
27447         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
27448         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
27449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
27451         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
27452         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27453         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27454         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27456         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
27457         multiarch implementations.
27458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27459         (__libc_ifunc_impl_list): Likewise.
27460         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27461         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
27462         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
27463         multiarch stpcpy for PPC64.
27465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
27466         multiarch implementations.
27467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27468         (__libc_ifunc_impl_list): Likewise.
27469         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
27470         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
27471         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
27472         multiarch strcpy for PPC64.
27474         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
27475         redefine function name.
27476         (_wordcopy_fwd_dest_aligned): Likewise.
27477         (_wordcopy_bwd_aligned): Likewise.
27478         (_wordcopy_bwd_dest_aligned): Likewise.
27479         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
27480         multiarch implementations.
27481         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27482         (__libc_ifunc_impl_list): Likewise.
27483         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
27484         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
27485         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
27486         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
27487         multiarch wcscpy for PPC64.
27489         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
27490         multiarch implementations.
27491         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27492         (__libc_ifunc_impl_list): Likewise.
27493         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
27494         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
27495         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
27496         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
27497         multiarch wcscpy for PPC64.
27499         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
27500         multiarch implementations.
27501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27502         (__libc_ifunc_impl_list): Likewise.
27503         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
27504         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
27505         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
27506         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
27507         multiarch wcsrchr for PPC64.
27509         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
27510         multiarch implementations.
27511         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27512         (__libc_ifunc_impl_list): Likewise.
27513         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
27514         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
27515         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
27516         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
27517         multiarch wcschr for PPC64.
27519         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
27520         multiarch implementations.
27521         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27522         (__libc_ifunc_impl_list): Likewise.
27523         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
27524         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
27525         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
27526         multiarch strchrnul for PPC64.
27528         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
27529         implementations.
27530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27531         (__libc_ifunc_impl_list): Likewise.
27532         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
27533         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
27534         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
27535         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
27536         strchr for PPC64.
27538         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
27539         implementations.
27540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27541         (__libc_ifunc_impl_list): Likewise.
27542         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
27543         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
27544         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
27545         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
27546         strncmp for PPC64.
27548         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
27549         multiarch implementations.
27550         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27551         (__libc_ifunc_impl_list): Likewise.
27552         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
27553         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
27554         strncasecmp for PPC64.
27555         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
27556         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
27557         multiarch strncasecmp_l for PPC64.
27559         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
27560         multiarch implementations.
27561         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27562         (__libc_ifunc_impl_list): Likewise.
27563         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
27564         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
27565         multiarch strcasecmp for PPC64.
27566         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
27567         file.
27568         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
27569         multiarch strcasecmp_l for PPC64.
27571         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
27572         implementations.
27573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27574         (__libc_ifunc_impl_list): Likewise.
27575         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
27576         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
27577         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
27578         strnlen for PPC64.
27580         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
27581         implementations.
27582         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27583         (__libc_ifunc_impl_list): Likewise.
27584         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
27585         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
27586         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
27587         strlen for PPC64.
27589         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
27590         implementations.
27591         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27592         (__libc_ifunc_impl_list): Likewise.
27593         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
27594         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
27595         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
27596         rawmemrchr for PPC64.
27598         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
27599         implementation.
27600         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27601         (__libc_ifunc_impl_list): Likewise.
27602         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
27603         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
27604         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
27605         memrchr for PPC64.
27607         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
27608         implementation.
27609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27610         (__libc_ifunc_impl_list): Likewise.
27611         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
27612         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
27613         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
27614         memchr for PPC64.
27616         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
27617         implementation.
27618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27619         (__libc_ifunc_impl_list): Likewise.
27620         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
27621         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
27622         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
27623         mempcpy for PPC64.
27625         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
27626         avoid cretion of __bzero symbol.
27627         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
27628         Likewise.
27629         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
27630         Likewise.
27631         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
27632         Likewise.
27633         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
27634         multiarch implementations.
27635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27636         (__libc_ifunc_impl_list): Likewise.
27637         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
27638         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
27639         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
27640         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
27641         bzero for PPC32.
27642         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
27643         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
27644         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
27645         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
27646         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
27647         memset for PPC64.
27648         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
27650         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
27651         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
27652         implementations.
27653         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27654         (__libc_ifunc_impl_list): Likewise.
27655         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
27656         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
27657         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
27658         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
27659         memcmp for PPC64.
27661         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
27662         multiarch for POWER/PPC64.
27663         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27664         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
27665         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
27666         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
27667         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
27668         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
27669         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
27670         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
27671         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
27672         memcpy for PPC64.
27674         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
27675         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
27676         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
27677         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
27678         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
27679         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
27680         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
27681         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
27682         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
27683         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
27684         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
27685         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
27686         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
27687         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
27688         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
27689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
27690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
27691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
27692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
27693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
27694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
27695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
27697 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27699         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
27701 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27703         * benchtests/Makefile (bench): Add exp2 and log2.
27704         (LDLIBS-bench-exp2): Add -lm.
27705         (LDLIBS-bench-log2): Likewise.
27706         * benchtests/exp2-inputs: New inputs file.
27707         * benchtests/log2-inputs: New inputs file.
27708         * benchtests/log-inputs: Add new inputs.
27709         * benchtests/tan-inputs: Likewise.
27711 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27713         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
27714         definition...
27715         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
27716         (csloww2): ... from here.
27718         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
27719         instead of structures.
27720         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
27721         (POLYNOMIAL): Likewise.
27722         (TAYLOR_SLOW): Likewise.
27723         (__sin): Likewise.
27724         (__cos): Likewise.
27725         (slow1): Likewise.
27726         (slow2): Likewise.
27727         (sloww): Likewise.
27728         (sloww1); Likewise.
27729         (sloww2): Likewise.
27730         (bsloww1): Likewise.
27731         (bsloww2): Likewise.
27732         (cslow2): Likewise.
27733         (csloww): Likewise.
27734         (csloww1): Likewise.
27735         (csloww2): Likewise.
27737 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
27739         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27740         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27741         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27742         * malloc/hooks.c (realloc_check): Likewise.
27744         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27745         * malloc/arena.c: Remove PER_THREAD conditional.
27746         [!PER_THREAD]: Remove code.
27747         (ptmalloc_unlock_all2): Likewise.
27748         (ptmalloc_init): Likewise.
27749         (_int_new_arena): Likewise.
27750         (arena_get2): Likewise.
27751         * malloc/hooks.c (__malloc_get_state): Likewise.
27752         (__malloc_set_state): Likewise.
27753         * malloc/malloc.c: Likewise.
27754         (struct malloc_state): Likewise.
27755         (struct malloc_par): Likewise.
27756         (__libc_realloc): Likewise.
27757         (__libc_mallopt): Likewise.
27759 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27761         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27763 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
27765         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27766         macro to a function.  Check for zero perturb_byte.
27767         (_int_malloc, _int_free): Remove zero perturb_byte checks.
27769         * malloc/malloc.c: (force_reg): Remove.
27770         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27771         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27772         force_reg by atomic_forced_read.
27773         * malloc/arena.c (ptmalloc_init): Likewise.
27774         * malloc/hooks.c (top_check): Likewise.
27776 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27780 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27782         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27784 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27786         * math/auto-libm-test-in: Add tests of lgamma.
27787         * math/auto-libm-test-out: Regenerated.
27788         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27789         (M_LOG_2_SQRT_PIl): Likewise.
27790         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27791         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27792         mpfr_f_f1.
27793         (func_calc_desc): Add mpfr_f_f1 union field.
27794         (ARGS1): New macro.
27795         (ARGS2): Likewise.
27796         (ARGS3): Likewise.
27797         (ARGS4): Likewise.
27798         (RET1): Likewise.
27799         (RET2): Likewise.
27800         (CALC): Likewise.
27801         (FUNC): Likewise.
27802         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27803         (test_functions): Add lgamma.
27804         (calc_generic_results): Handle mpfr_f_f1.
27805         * sysdeps/i386/fpu/libm-test-ulps: Update.
27806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27808 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27810         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27811         __mpn_add_n for PowerPC64/POWER7.
27812         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27813         __mpn_sub_n for PowerPC64/POWER7.
27815         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27816         __mpn_addmul_1 for PowerPC64.
27817         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27818         __mpn_submul_1 for PowerPC64.
27819         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27820         for PowerPC64.
27821         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27822         for PowerPC64.
27824 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27826         [BZ #15089]
27827         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27829 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27831         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27833         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27834         add multiarch folders.
27835         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27836         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27837         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27838         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27839         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27840         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27841         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27842         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27843         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27844         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27845         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27854         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27856         New file.
27857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27858         New file.
27859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27860         multiarch __ieee754_hypot for PowerPC32.
27861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27862         New file.
27863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27864         New file.
27865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27866         multiarch __ieee754_hypotf for PowerPC32.
27868         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27869         long_double_symbol only if __logbl is defined.
27870         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27871         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27872         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27873         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27874         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27875         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27876         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27877         path for implementation.
27878         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27879         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27881         logb, and logbl multiarch implementations for PowerPC32.
27882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27883         file.
27884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27885         file.
27886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27887         multiarch logb for PowerPC32.
27888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27889         file.
27890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27891         file.
27892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27893         multiarch logbf for PowerPC32.
27894         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27896         file.
27897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27898         multiarch logbl implementation for PowerPC32.
27900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27901         and modff multiarch implementations.
27902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27903         New file.
27904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27905         New file.
27906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27907         multiarch modf for PowerPC32.
27908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27909         New file.
27910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27911         New file.
27912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27913         multiarch modff for PowerPC32.
27915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27916         and lrintf multiarch implementations.
27917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27918         New file.
27919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27920         New file.
27921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27922         multiarch lrint for PowerPC32.
27923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27924         file: multiarch lrintf for PowerPC32.
27926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27927         and lroundf multiarch implementations.
27928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27929         New file.
27930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27931         New file.
27932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27933         New file.
27934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27935         multiarch lround for PowerPC32.
27936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27937         file: multiarch lroundf for PowerPC32.
27939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27940         copysign and copysignf multiarch implementations.
27941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27942         New file.
27943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27944         New file.
27945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27946         file: multiarch copysign for PowerPC32.
27947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27948         file: multiarch copysignf for PowerPC32.
27950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27951         and truncf multiarch implementations.
27952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27953         New file.
27954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27955         file.
27956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27957         multiarch trunc for PowerPC32.
27958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27959         New file.
27960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27961         New file.
27962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27963         multiarch truncf for PowerPC32.
27965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27966         and roundf multiarch implementations.
27967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27968         New file.
27969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27970         file.
27971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27972         multiarch round for PowerPC32.
27973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27974         New file.
27975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27976         New file.
27977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27978         multiarch roundf for PowerPC32.
27980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27981         and floorf multiarch implementations.
27982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27983         New file.
27984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27985         file.
27986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27987         multiarch floor for PowerPC32.
27988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27989         New file.
27990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27991         New file.
27992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27993         multiarch floorf for PowerPC32.
27995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27996         and ceilf multiarch implementations.
27997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27998         New file.
27999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
28000         file.
28001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
28002         multiarch ceil for PowerPC32.
28003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
28004         New file.
28005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
28006         file.
28007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
28008         multiarch ceilf for PowerPC32.
28010         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
28011         is defined.
28012         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
28013         FINITEF is defined.
28014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
28015         and finitef multiarch implementations.
28016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
28017         New file.
28018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
28019         file.
28020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
28021         multiarch finite for PowerPC32.
28022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
28023         New file.
28024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
28025         file: multiarch finitef for PowerPC32.
28027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
28028         and isinff multiarch implementations.
28029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
28030         file.
28031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
28032         file.
28033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
28034         multiarch isinf for PowerPC32.
28035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
28036         New file.
28037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
28038         multiarch isinff for PowerPC32.
28040         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
28041         alias when __isnan is defined.
28042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
28043         and isnanf multiarch implementations.
28044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
28045         file.
28046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
28047         file.
28048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
28049         file.
28050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
28051         file.
28052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
28053         multiarch isnan for PowerPC32.
28054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
28055         New file.
28056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
28057         New file.
28058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
28059         multiarch isnanf for PowerPC32.
28061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
28062         and sqrtf multiarch implementations.
28063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
28064         file.
28065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
28066         file.
28067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
28068         multiarch sqrt for PowerPC32.
28069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
28070         file.
28071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
28072         file.
28073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
28074         multiarch sqrtf for PowerPC32.
28076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
28077         and llroundf multiarch implementations.
28078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
28079         New file.
28080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
28081         New file.
28082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
28083         New file.
28084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
28085         file: multiarch llround for PowerPC32.
28086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
28087         file: multiarch llroundf for PowerPC32.
28089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
28090         multiarch PowerPC32 fpu implementations.
28091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
28092         New file.
28093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
28094         New file.
28095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
28096         multiarch llrint for PowerPC32.
28097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
28098         New file.
28099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
28100         New file.
28101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
28102         file.
28104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
28106         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
28107         file.
28108         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
28109         file.
28110         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
28111         file.
28112         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
28113         multiarch wordcopy for PPC32.
28114         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28115         wordcopy objects.
28116         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28117         (__libc_ifunc_impl_list): Likewise.
28118         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
28119         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
28120         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
28121         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
28122         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
28123         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
28125         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
28126         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
28127         file.
28128         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
28129         file.
28130         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
28131         file.
28132         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
28133         multiarch wcscpy for PPC32.
28134         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28135         multiarch objects.
28136         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28137         (__libc_ifunc_impl_list): Likewise.
28138         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28139         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28140         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
28141         sysdeps/powerpc/power6/wcscpy.c.
28143         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
28144         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
28145         file.
28146         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
28147         file.
28148         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
28149         file.
28150         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
28151         multiarch wcsrchr for PPC32.
28152         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28153         multiarch objects.
28154         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28155         (__libc_ifunc_impl_list): Likewise.
28156         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28157         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28158         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
28159         sysdeps/powerpc/power6/wcsrchr.c.
28161         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
28162         file.
28163         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
28164         file.
28165         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
28166         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
28167         multiarch wcschr for PPc32.
28168         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28169         multiarch objects.
28170         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28171         (__libc_ifunc_impl_list): Likewise.
28172         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
28173         * sysdeps/powerpc/power6/wcschr.c: ... to here.
28174         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
28175         sysdeps/powerpc/power6/wcschr.c.
28177         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
28178         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
28179         file.
28180         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
28181         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
28182         file: multiarch strchr for PPC32.
28183         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
28184         multiarch objects.
28185         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28186         (__libc_ifunc_impl_list): Likewise.
28188         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
28189         name.
28190         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
28191         file.
28192         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
28193         file.
28194         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
28195         multiarch strchrnul for PPC32.
28196         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
28197         multiarch objects.
28198         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28199         (__libc_ifunc_impl_list): Likewise.
28201         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
28202         file.
28203         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
28204         multiarch strncasecmp for PPC32.
28205         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
28206         file.
28207         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
28208         multiarch strncasecmp_l for PPC32.
28209         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
28210         strncasecmp multiarch objects.
28211         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28212         (__libc_ifunc_impl_list): Likewise.
28214         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
28215         file.
28216         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
28217         multiarch strncasecmp for PPC32.
28218         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28219         New file.
28220         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
28221         multiarch strcasecmp_l for PPC32.
28222         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
28223         multiarch objects.
28224         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28225         (__libc_ifunc_impl_list): Likewise.
28227         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
28228         file.
28229         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
28230         file.
28231         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
28232         multiarch strncmp for PPC32.
28233         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
28234         multiarch objects.
28235         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28236         (__libc_ifunc_impl_list): Likewise.
28238         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
28239         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
28240         file.
28241         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
28242         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
28243         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
28244         multiarch objects.
28245         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28246         (__libc_ifunc_impl_list): Likewise.
28248         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
28249         file.
28250         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
28251         file.
28252         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
28253         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
28254         multiarch objects.
28255         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28256         (__libc_ifunc_impl_list): Likewise.
28258         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
28259         file.
28260         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
28261         file.
28262         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
28263         multiarch rawmemchr for PPC32.
28264         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
28265         multiarch objects.
28266         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28267         (__libc_ifunc_impl_list): Likewise.
28269         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
28270         file.
28271         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
28272         file.
28273         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
28274         file: memrchr multiarch for PPC32.
28275         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
28276         multiarch objects.
28277         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28278         (__libc_ifunc_impl_list): Likewise.
28280         * string/memchr.c (__memchr): Using macro to redefine symbol name.
28281         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
28282         file.
28283         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
28284         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
28285         multiarch memchr for PPC32.
28286         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
28287         multiarch objects.
28288         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28289         (__libc_ifunc_impl_list): Likewise.
28291         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
28292         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
28293         file.
28294         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
28295         file.
28296         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
28297         file: multiarch mempcpy for PPC32.
28298         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
28299         multiarch objects.
28300         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28301         (__libc_ifunc_impl_list): Likewise.
28303         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
28304         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
28305         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
28306         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
28307         multiarch bzero for PPC32.
28308         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
28309         file.
28310         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
28311         file.
28312         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
28313         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
28314         file: multiarch memset for PPC32.
28315         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
28316         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
28317         memset multiarch objects.
28318         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28319         (__libc_ifunc_impl_list): Likewise.
28321         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
28322         file.
28323         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
28324         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
28325         memcmp for PPC32.
28326         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
28327         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
28328         multiarch objects.
28329         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28330         (__libc_ifunc_impl_list): Likewise.
28332         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
28333         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
28334         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
28335         file.
28336         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
28337         file.
28338         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
28339         file.
28340         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
28341         multiarch memcpy for PPC32.
28342         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
28343         multiarch objects.
28344         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28345         (__libc_ifunc_impl_list): Likewise.
28347         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
28348         support multiarch for POWER/PPC32.
28349         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
28350         Likewise.
28351         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
28353         Implies file to make multiarch folder appers before the fpu and
28354         default folder for power4 configuration.
28356 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28358         * scripts/bench.pl: Append volatile keyword to type.
28360 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28362         * sysdeps/sh/sotruss-lib.c: New file.
28363         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
28365 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28369 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
28371         [BZ #6810]
28372         * math/w_tgamma.c: Include <errno.h>.
28373         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
28374         * math/w_tgammaf.c: Include <errno.h>.
28375         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
28376         * math/w_tgammal.c: Include <errno.h>.
28377         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
28378         * math/auto-libm-test-in: Do not allow missing errno on tgamma
28379         underflow.  Add more tgamma tests.
28380         * math/auto-libm-test-out: Regenerated.
28381         * sysdeps/i386/fpu/libm-test-ulps: Update.
28382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28384         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
28385         sin, sinh, tan, tanh, tgamma, y0 and y1.
28386         * math/auto-libm-test-out: Regenerated.
28387         * math/libm-test.inc (TEST_COND_x86_64): New macro.
28388         (TEST_COND_x86): Likewise.
28389         (M_E2l): Remove macro.
28390         (M_E3l): Likewise.
28391         (M_2_SQRT_PIl): Likewise.
28392         (M_SQRT_PIl): Likewise.
28393         (M_1_DIV_El): Likewise.
28394         (log_test_data): Use AUTO_TESTS_f_f.
28395         (log10_test_data): Likewise.
28396         (log1p_test_data): Likewise.
28397         (log2_test_data): Likewise.
28398         (sin_test_data): Likewise.
28399         (sin_tonearest_test_data): Likewise.
28400         (sin_towardzero_test_data): Likewise.
28401         (sin_downward_test_data): Likewise.
28402         (sin_upward_test_data): Likewise.
28403         (sinh_test_data): Likewise.
28404         (sinh_tonearest_test_data): Likewise.
28405         (sinh_towardzero_test_data): Likewise.
28406         (sinh_downward_test_data): Likewise.
28407         (sinh_upward_test_data): Likewise.
28408         (tan_test_data): Likewise.
28409         (tan_tonearest_test_data): Likewise.
28410         (tan_towardzero_test_data): Likewise.
28411         (tan_downward_test_data): Likewise.
28412         (tan_upward_test_data): Likewise.
28413         (tanh_test_data): Likewise.
28414         (tgamma_test_data): Likewise.
28415         (y0_test_data): Likewise.
28416         (y1_test_data): Likewise.
28417         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
28418         (special_real_inputs): Add pi/4.
28419         * sysdeps/i386/fpu/libm-test-ulps: Update.
28420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28422 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28424         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
28425         "longjmp_target" static probes.
28426         (__longjmp): Rename to __longjmp_symbol.
28427         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28428         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
28429         on which longjmp to generate.
28430         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28431         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
28432         probe.
28433         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28434         (__sigjmp_save): Rename to __sigjmp_save_symbol.
28435         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28436         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
28437         and __sigjmp_save_symbol based on which sigsetjmp to generated.
28438         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
28439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
28440         __longjmp_symbol based on which __longjmp to generate.
28441         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
28442         probe.
28443         (setjmp): Rename to setjmp_symbol.
28444         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28445         (_setjmp): Rename to _setjmp_symbol.
28446         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28447         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
28448         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
28449         which setjmp to generate.
28450         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
28451         "longjmp_target" static probes.
28453 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28455         * benchtests/README: Add note about output arguments.
28456         * benchtests/bench-sincos.c: Remove file.
28457         * benchtests/sincos-inputs: New file.
28458         * scripts/bench.pl: Identify output arguments and define
28459         static variables for them.
28461         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
28463         [BZ #15941]
28464         * Makefile (INSTALL): Add install-plain.texi as the primary
28465         dependency.
28466         * manual/install-plain.texi: New file.
28467         * manual/install.texi: Include node directive only for
28468         non-plaintext output.
28470 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
28472         * stdlib/longlong.h: Update from GCC.
28474         [BZ #6807]
28475         [BZ #15901]
28476         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
28477         * math/w_j0f.c (y0f): Likewise.
28478         * math/w_j0l.c (__y0l): Likewise.
28479         * math/w_j1.c (y1): Likewise.
28480         * math/w_j1f.c (y1f): Likewise.
28481         * math/w_j1l.c (__y1l): Likewise
28482         * math/w_jn.c (yn): Likewise.
28483         * math/w_jnf.c (ynf): Likewise.
28484         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
28485         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
28486         value for Bessel function domain errors outside _SVID_ mode.
28487         Adjust sign of return value for yn (negative integer, 0).
28488         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
28489         by zero in return for negative x and set sign appropriately for
28490         negative n.
28491         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
28492         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28493         * math/libm-test.inc (y0_test_data): Add more tests and adjust
28494         expectations in error cases.
28495         (y1_test_data): Likewise.
28496         (yn_test_data): Likewise.
28497         * sysdeps/i386/fpu/libm-test-ulps: Update.
28498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28500 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28502         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
28503         "64" to "64-v1".  Add "64-v2".
28504         (abi-64-options): Rename to ...
28505         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
28506         (abi-64-condition): Rename to ...
28507         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
28508         (abi-64-ld-soname): Rename to ...
28509         (abi-64-v1-ld-soname): ... this.
28510         (abi-64-v2-options): Define.
28511         (abi-64-v2-condition): Likewise.
28512         (abi-64-v2-ld-soname): Likewise.
28513         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
28514         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
28515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
28516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
28517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
28519 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28520             Alan Modra  <amodra@gmail.com>
28522         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
28523         New versions for use with the ELFv2 ABI.
28524         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
28525         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
28526         declaration.
28527         (struct La_ppc64v2_retval): Likewise.
28528         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
28529         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
28530         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
28531         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
28532         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
28533         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28534         Do not save or restore CR.
28535         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
28536         (_dl_profile_resolve): Do no save or restore CR.  Support extended
28537         return values for ELFv2 ABI.  Fix location of FPR return registers.
28538         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
28539         updated values for _CALL_ELF == 2.
28540         (La_regs, La_retval, int_retval): Likewise.
28542 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28544         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
28545         (FRAME_MIN_SIZE_PARM): Likewise.
28546         (FRAME_BACKCHAIN): Likewise.
28547         (FRAME_CR_SAVE): Likewise.
28548         (FRAME_LR_SAVE): Likewise.
28549         (FRAME_TOC_SAVE): Likewise.
28550         (FRAME_PARM_SAVE): Likewise.
28551         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
28552         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
28553         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28554         (call_mcount_parm_offset): New macro.
28555         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
28556         (PROF): Use symbolic stack frame offsets.
28557         (TAIL_CALL_SYSCALL_ERROR): Likewise.
28558         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
28559         Redefine in terms of FRAME_MIN_SIZE.
28560         (_dl_runtime_resolve): Use symbolic stack frame offsets.
28561         (_dl_profile_resolve): Likewise.  Update comment.
28562         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
28563         symbols stack frame offsets.
28564         (__sigsetjmp): Likewise.
28565         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
28566         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
28567         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
28568         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
28570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
28571         (FRAME_BACKCHAIN): Remove.
28572         (FRAME_CR_SAVE): Likewise.
28573         (FRAME_LR_SAVE): Likewise.
28574         (FRAME_COMPILER_DW): Likewise.
28575         (FRAME_LINKER_DW): Likewise.
28576         (FRAME_TOC_SAVE): Likewise.
28577         (FRAME_PARM_SAVE): Likewise.
28578         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
28579         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
28580         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
28582         (CHECK_SP): Use symbolic stack frame offsets.
28583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
28584         zone" instead of caller's parameter save area for temp storage.
28585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28586         Likewise.  Also, use symbolic stack frame offsets.
28587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
28588         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
28589         our own stack frame instead of the caller's.
28590         (__socket): Use symbolic stack frame offsets.
28592 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28593             Alan Modra  <amodra@gmail.com>
28595         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
28596         Define.
28597         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
28598         (PPC64_LOCAL_ENTRY_OFFSET): Define.
28599         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
28600         New function.
28601         (elf_machine_fixup_plt): Call it.
28602         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
28603         reloc arguments.
28604         (elf_machine_rela): Update call to elf_machine_plt_conflict.
28605         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28606         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
28607         r2 before calling target.
28609 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28610             Alan Modra  <amodra@gmail.com>
28612         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
28613         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
28614         versions of macros to support ELFv2 ABI.
28615         (LOCALENTRY): New macro.
28616         (ENTRY, EALIGN): Use it.
28617         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
28618         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
28619         fall through into ENTRY entry point.
28620         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
28621         Only define if _CALL_ELF != 2.
28623         (elf_machine_matches_host): Verify ABI version matches.
28624         (RTLD_START): Use LOCALENTRY.
28625         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
28626         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
28627         (PLT_ENTRY_WORDS): New macro.
28628         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
28629         (elf_machine_runtime_setup): Support ELFv2 ABI.
28630         (elf_machine_fixup_plt): Likewise.
28631         (elf_machine_plt_conflict): Likewise.
28632         (resolve_ifunc): Likewise.
28633         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
28634         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28635         Likewise.
28636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
28637         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
28638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28639         (makecontext): Support ELFv2 ABI.
28640         * elf/elf.h (EF_PPC64_ABI): Define.
28642 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28644         * sysdeps/powerpc/powerpc64/sysdep.h
28645         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
28646         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
28647         (ENTRY) [ASSEMBLER]: ... but instead here ...
28648         (EALIGN) [ASSEMBLER]: ... and here.
28649         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
28650         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
28651         (ENTRY_2) [!ASSEMBLER]: Use it.
28652         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
28653         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
28654         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28655         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
28656         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
28657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
28658         Use PPC64_LOAD_FUNCPTR.
28660         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
28662 2013-12-04  Alan Modra  <amodra@gmail.com>
28664         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
28665         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
28666         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
28667         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
28669         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
28670         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
28671         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
28672         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
28673         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
28674         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
28676 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28679         (__makecontext): Fix incorrect CFI when backtracing out of
28680         context created via makecontext.
28681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
28682         (__setcontext): Fix incorrect CFI during switch to new context.
28683         (__novec_setcontext): Likewise.
28685 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28687         [BZ #4772]
28688         * time/strptime_l.c (__strptime_internal): Allow modifiers
28689         in strptime.
28690         * time/tst-strptime.c (day_tests): Add testcase.
28692 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28694         * scripts/bench.pl: Skip over blank lines.
28696 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
28698         [BZ #926]
28699         * manual/time.texi (Calendar Time): Clarify what timezone functions
28700         use.
28702 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28706 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28708         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
28709         implementation.
28710         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28711         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28712         * debug/memset_chk.c (__memset_chk): Likewise.
28713         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
28714         * debug/strncpy_chk.c: Likewise.
28716 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28718         [BZ #15268]
28719         [BZ #15425]
28720         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
28721         (__ieee754_exp): For possibly underflowing results, check size of
28722         result and force underflow exception if required.
28723         * math/auto-libm-test-in: Add more tests of exp.
28724         * math/auto-libm-test-out: Regenerated.
28725         * sysdeps/i386/fpu/libm-test-ulps: Update.
28726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28728         [BZ #16283]
28729         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28730         * math/w_exp2f.c (__exp2f): Likewise.
28731         * math/w_exp2l.c (__exp2l): Likewise.
28732         * math/auto-libm-test-in: Do not allow missing errno on exp2
28733         underflow.
28734         * math/auto-libm-test-out: Regenerated.
28736 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
28738         [BZ #16274]
28739         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28740         handle filename validation.
28741         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28742         (do_open): Delete.
28744 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28746         [BZ #6786]
28747         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28748         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28749         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28750         <float.h>.
28751         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28752         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28753         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28754         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28755         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28756         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28757         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28758         * math/auto-libm-test-in: Don't allow missing errno from erfc.
28759         Add more erfc tests.
28760         * math/auto-libm-test-out: Regenerated.
28761         * sysdeps/i386/fpu/libm-test-ulps: Update.
28762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28764         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28765         exp2, expm1, j0 and j1.
28766         * math/auto-libm-test-out: Regenerated.
28767         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28768         (erfc_test_data): Likewise.
28769         (exp_test_data): Likewise.
28770         (exp_tonearest_test_data): Likewise.
28771         (exp_towardzero_test_data): Likewise.
28772         (exp_downward_test_data): Likewise.
28773         (exp_upward_test_data): Likewise.
28774         (exp10_test_data): Likewise.
28775         (exp2_test_data): Likewise.
28776         (expm1_test_data): Likewise.
28777         (j0_test_data): Likewise.
28778         (j1_test_data): Likewise.
28779         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28780         (input_flag_type): Add flag_xfail_rounding.
28781         (input_flags): Add xfail-rounding.
28782         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28783         (output_for_one_input_case): Handle flag_xfail_rounding.
28784         * sysdeps/i386/fpu/libm-test-ulps: Update.
28785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28787 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28789         [BZ #16289]
28790         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28791         division by 0.
28793 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28795         [BZ #16195]
28796         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28797         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28798         (STAP_PROBE0): New macro.
28799         (STAP_PROBE1): Likewise.
28800         (STAP_PROBE2): Likewise.
28801         (STAP_PROBE3): Likewise.
28802         (STAP_PROBE4): Likewise.
28804 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28806         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28808 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28810         * benchtests/Makefile (bench): Add sqrt.
28811         (LDLIBS-bench-sqrt): New.
28812         * benchtests/sqrt-input: New.
28814 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28816         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28817         (GAIH_EAI): Likewise.
28818         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28819         (gaih_inet): Likewise.
28820         (getaddrinfo): Don't use GAIH_EAI.
28822         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28823         (struct gaih): Remove definition.
28825 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28827         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28828         Use HERRNOP directly.
28830 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28832         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28834 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28836         * math/gen-auto-libm-tests.c (test_functions): Add more
28837         single-argument functions.
28838         (special_fill_pi_2): New function.
28839         (special_fill_minus_pi_2): Likewise.
28840         (special_fill_pi_6): Likewise.
28841         (special_fill_minus_pi_6): Likewise.
28842         (special_fill_pi_3): Likewise.
28843         (special_fill_2pi_3): Likewise.
28844         (special_fill_e): Likewise.
28845         (special_fill_1_e): Likewise.
28846         (special_fill_e_minus_1): Likewise.
28847         (special_real_inputs): Add more special inputs.
28848         (output_for_one_input_case): Do not require ERANGE on underflow to
28849         zero if round-to-nearest result does not underflow to zero, unless
28850         exact results required.
28851         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28852         atan, atanh, cbrt, cos and cosh.
28853         * math/auto-libm-test-out: Regenerated.
28854         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28855         (acos_tonearest_test_data): Likewise.
28856         (acos_towardzero_test_data): Likewise.
28857         (acos_downward_test_data): Likewise.
28858         (acos_upward_test_data): Likewise.
28859         (acosh_test_data): Likewise.
28860         (asin_test_data): Likewise.
28861         (asin_tonearest_test_data): Likewise.
28862         (asin_towardzero_test_data): Likewise.
28863         (asin_upward_test_data): Likewise.
28864         (asinh_test_data): Likewise.
28865         (atan_test_data): Likewise.
28866         (atanh_test_data): Likewise.
28867         (cbrt_test_data): Likewise.
28868         (cos_test_data): Likewise.
28869         (cos_tonearest_test_data): Likewise.
28870         (cos_towardzero_test_data): Likewise.
28871         (cos_downward_test_data): Likewise.
28872         (cos_upward_test_data): Likewise.
28873         (cosh_test_data): Likewise.
28874         (cosh_tonearest_test_data): Likewise.
28875         (cosh_towardzero_test_data): Likewise.
28876         (cosh_downward_test_data): Likewise.
28877         (cosh_upward_test_data): Likewise.
28878         * sysdeps/i386/fpu/libm-test-ulps: Update.
28879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28881 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28883         [BZ #6787]
28884         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28885         * math/w_exp10f.c (__exp10f): Likewise.
28886         * math/w_exp10l.c (__exp10l): Likewise.
28887         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28888         errno settings in existing tests.
28890         [BZ #14032]
28891         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28892         precision control set to double precision.
28893         * sysdeps/i386/fpu/w_sqrt.c: New file.
28894         * math/auto-libm-test-in: Add more tests.
28895         * math/auto-libm-test-out: Update.
28897         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28898         (sqrt_test_tonearest): New function.
28899         (sqrt_towardzero_test_data): New variable.
28900         (sqrt_test_towardzero): New function.
28901         (sqrt_downward_test_data): New variable.
28902         (sqrt_test_downward): New function.
28903         (sqrt_upward_test_data): New variable.
28904         (sqrt_test_upward): New function.
28905         (main): Call the new functions.
28907         * math/gen-auto-libm-tests.c: New file.
28908         * math/auto-libm-test-in: Likewise.
28909         * math/auto-libm-test-out: New generated file.
28910         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28911         variables.
28912         (%beautify): Add generated representations of zero.
28913         (top level): Set $auto_input and call parse_auto_input.
28914         (beautify): Remove trailing "f" from hex float constants.
28915         (parse_args): Handle XFAIL_TEST.
28916         (convert_condition): New function.
28917         (or_value): Likewise.
28918         (or_cond_value): Likewise.
28919         (generate_testfile): Handle AUTO_TESTS_* lines.
28920         (parse_auto_input): New function.
28921         * math/libm-test.inc (XFAIL_TEST): New macro.
28922         (ERRNO_UNCHANGED): Update value.
28923         (ERRNO_EDOM): Likewise.
28924         (ERRNO_ERANGE): Likewise.
28925         (IGNORE_RESULT): Likewise.
28926         (TEST_COND_flt_32): New macro.
28927         (TEST_COND_dbl_64): Likewise.
28928         (TEST_COND_ldbl_96_intel): Likewise.
28929         (TEST_COND_ldbl_96_m68k): Likewise.
28930         (TEST_COND_ldbl_128): Likewise.
28931         (TEST_COND_ldbl_128ibm): Likewise.
28932         (TEST_COND_long32): Likewise.
28933         (TEST_COND_long64): Likewise.
28934         (TEST_COND_before_rounding): Likewise.
28935         (TEST_COND_after_rounding): Likewise.
28936         (enable_test): Handle XFAIL_TEST flag.
28937         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28938         with finite results.
28939         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28940         auto-libm-test-out.
28942 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28943             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28945         [BZ #16214]
28946         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28947         __tls_get_addr_internal instead of __tls_get_offset in order to
28948         avoid GOT pointer dependency.  Make rtld export
28949         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28950         __tls_get_addr since we are a __tls_get_offset platform.
28951         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28952         GOT pointer being set up before.
28953         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28955 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28957         * manual/math.texi (Errors in Math Functions): Document accuracy
28958         goals.
28960         [BZ #15004]
28961         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28962         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28963         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28964         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28965         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28966         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28967         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28968         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28969         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28970         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28971         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28972         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28973         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28974         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28975         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28976         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28978         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28979         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28980         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28981         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28982         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28983         Likewise.
28984         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28985         Likewise.
28986         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28987         Likewise.
28988         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28989         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28990         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28991         atomic-feupdateenv and flt-rounds.
28992         * sysdeps/powerpc/nofpu/Versions (libc): Add
28993         __atomic_feholdexcept, __atomic_feclearexcept,
28994         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28995         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28996         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28997         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28998         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28999         here.
29000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29001         Update.
29003         * manual/arith.texi (FP Exceptions): Document that exceptions may
29004         not be raised when matherr is used.
29005         (Math Error Reporting): Document overflow in directed rounding
29006         modes.  Document that errno may not be set when finite values are
29007         returned on overflow.  Document intent to set errno on underflow
29008         only for underflow to zero.
29010         [BZ #16271]
29011         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
29012         round-to-nearest then adjust result for other rounding modes.
29013         * include/fenv.h (fegetround): Use libm_hidden_proto.
29014         * math/fegetround.c (fegetround): Use libm_hidden_def.
29015         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
29016         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
29017         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29018         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
29019         Likewise.
29020         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
29021         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29022         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
29023         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
29025 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29027         [BZ #16077]
29028         * nss/Versions (libnss_files): Add
29029         _nss_files_gethostbyname3_r.
29030         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
29031         New function.
29032         (HOST_DB_LOOKUP): Remove macro.
29033         (_nss_files_gethostbyname_r): Implement function without the
29034         HOST_DB_LOOKUP macro.
29035         (_nss_files_gethostbyname2_r): Likewise.
29037 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
29039         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
29041 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
29043         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
29044         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
29045         warning.
29047 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29049         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
29050         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
29051         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29052         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29053         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
29054         __fe_nomask_env_priv and attribute_hidden.
29055         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
29056         (libc_feupdateenv_test_ppc): Likewise.
29057         (libc_feresetround_ppc): Likewise.
29058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29059         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
29060         compat_symbol macro.
29061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29062         (__fe_nomask_env): Likewise.
29063         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
29065 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29067         * string/Makefile: Remove ifunc tests.
29068         * string/test-string.h: Define TEST_IFUNC.
29069         * string/test-bcopy-ifunc.c: Remove.
29070         * string/test-bzero-ifunc.c: Likewise.
29071         * string/test-memccpy-ifunc.c: Likewise.
29072         * string/test-memchr-ifunc.c: Likewise.
29073         * string/test-memcmp-ifunc.c: Likewise.
29074         * string/test-memcpy-ifunc.c: Likewise.
29075         * string/test-memmem-ifunc.c: Likewise.
29076         * string/test-memmove-ifunc.c: Likewise.
29077         * string/test-mempcpy-ifunc.c: Likewise.
29078         * string/test-memrchr-ifunc.c: Likewise.
29079         * string/test-memset-ifunc.c: Likewise.
29080         * string/test-rawmemchr-ifunc.c: Likewise.
29081         * string/test-stpcpy-ifunc.c: Likewise.
29082         * string/test-stpncpy-ifunc.c: Likewise.
29083         * string/test-strcasecmp-ifunc.c: Likewise.
29084         * string/test-strcasestr-ifunc.c: Likewise.
29085         * string/test-strcat-ifunc.c: Likewise.
29086         * string/test-strchr-ifunc.c: Likewise.
29087         * string/test-strchrnul-ifunc.c: Likewise.
29088         * string/test-strcmp-ifunc.c: Likewise.
29089         * string/test-strcpy-ifunc.c: Likewise.
29090         * string/test-strcspn-ifunc.c: Likewise.
29091         * string/test-strlen-ifunc.c: Likewise.
29092         * string/test-strncasecmp-ifunc.c: Likewise.
29093         * string/test-strncat-ifunc.c: Likewise.
29094         * string/test-strncmp-ifunc.c: Likewise.
29095         * string/test-strncpy-ifunc.c: Likewise.
29096         * string/test-strnlen-ifunc.c: Likewise.
29097         * string/test-strpbrk-ifunc.c: Likewise.
29098         * string/test-strrchr-ifunc.c: Likewise.
29099         * string/test-strspn-ifunc.c: Likewise.
29100         * string/test-strstr-ifunc.c: Likewise.
29102 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29104         * benchtests/Makefile: Remove ifunc tests.
29105         * benchtests/bench-string.h: Define TEST_IFUNC.
29106         * benchtests/bench-bcopy-ifunc.c: Remove.
29107         * benchtests/bench-bzero-ifunc.c: Likewise.
29108         * benchtests/bench-memccpy-ifunc.c: Likewise.
29109         * benchtests/bench-memchr-ifunc.c: Likewise.
29110         * benchtests/bench-memcmp-ifunc.c: Likewise.
29111         * benchtests/bench-memcpy-ifunc.c: Likewise.
29112         * benchtests/bench-memmem-ifunc.c: Likewise.
29113         * benchtests/bench-memmove-ifunc.c: Likewise.
29114         * benchtests/bench-mempcpy-ifunc.c: Likewise.
29115         * benchtests/bench-memrchr-ifunc.c: Likewise.
29116         * benchtests/bench-memset-ifunc.c: Likewise.
29117         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
29118         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
29119         * benchtests/bench-stpcpy-ifunc.c: Likewise.
29120         * benchtests/bench-stpncpy-ifunc.c: Likewise.
29121         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
29122         * benchtests/bench-strcasestr-ifunc.c: Likewise.
29123         * benchtests/bench-strcat-ifunc.c: Likewise.
29124         * benchtests/bench-strchr-ifunc.c: Likewise.
29125         * benchtests/bench-strchrnul-ifunc.c: Likewise.
29126         * benchtests/bench-strcmp-ifunc.c: Likewise.
29127         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
29128         * benchtests/bench-strcpy-ifunc.c: Likewise.
29129         * benchtests/bench-strcspn-ifunc.c: Likewise.
29130         * benchtests/bench-strlen-ifunc.c: Likewise.
29131         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
29132         * benchtests/bench-strncat-ifunc.c: Likewise.
29133         * benchtests/bench-strncmp-ifunc.c: Likewise.
29134         * benchtests/bench-strncpy-ifunc.c: Likewise.
29135         * benchtests/bench-strnlen-ifunc.c: Likewise.
29136         * benchtests/bench-strpbrk-ifunc.c: Likewise.
29137         * benchtests/bench-strrchr-ifunc.c: Likewise.
29138         * benchtests/bench-strsep-ifunc.c: Likewise.
29139         * benchtests/bench-strspn-ifunc.c: Likewise.
29140         * benchtests/bench-strstr-ifunc.c: Likewise.
29142 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29144         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
29146 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29148         * resolv/netdb.h: Use __glibc_reserved instead __unused.
29149         * rt/aio.h: Likewise.
29150         * sysdeps/gnu/bits/utmp.h: Likewise.
29151         * sysdeps/gnu/bits/utmpx.h: Likewise.
29152         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29153         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
29154         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
29155         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
29156         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
29157         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
29158         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
29159         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
29160         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
29161         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
29162         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
29163         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
29164         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
29165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
29166         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29167         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
29168         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
29169         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
29170         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
29171         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
29172         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
29173         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
29174         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
29175         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29176         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
29177         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29178         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
29179         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
29180         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
29181         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
29182         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
29183         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
29184         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
29185         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29186         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
29187         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
29188         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
29189         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
29190         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
29191         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
29192         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
29193         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29195 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
29197         [BZ #16245]
29198         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
29199         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
29201 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
29203         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
29204         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29205         Likewise.
29207 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29209         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
29210         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
29211         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
29212         (__fesetround): Remove define.
29213         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
29214         rounding and exceptions handling.
29215         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
29216         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
29217         (__fe_nomask_env): Likewise.
29218         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
29219         __fegetround instead of fegetround.
29220         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29221         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
29223 2013-11-21  Roland McGrath  <roland@hack.frob.com>
29225         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
29226         it's there.
29228         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
29230 2013-11-21  Meador Inge  <meadori@codesourcery.com>
29232         [BZ #11157]
29233         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
29234         (encrypt_r): Likewise.
29235         * malloc/obstack.h (obstack_free): Likewise.
29236         * posix/unistd.h (encrypt): Likewise.
29238 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
29240         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
29241         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
29242         DL_CALL_DT_FINI() that call the functions directly.
29243         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
29244         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
29245         * elf/dl-fini.c: Likewise.
29247 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
29249         * malloc/hooks.c (memalign_check): Add alignment rounding.
29250         * malloc/malloc.c (_mid_memalign): New function.
29251         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
29252         Implement by calling _mid_memalign.
29253         * manual/probes.texi (Memory Allocation Probes): Remove
29254         memory_valloc_retry and memory_pvalloc_retry.
29256 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29258         * locale/programs/locarchive.c (open_archive): Add const
29259         qualifier to ARCHIVEFNAME and copy default fname to
29260         DEFAULT_FNAME.
29262         [BZ #15601]
29263         * libio/tst-widetext.input: Rename Oriya to Odia.
29264         * locale/iso-639.def: Likewise.
29266         * manual/probes.texi (Mathematical Function Probes): Add
29267         documentation for sin, cos, asin and acos probes.
29268         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
29269         (__sin32): Add slowasin probe.
29270         (__cos32): Add slowacos probe.
29271         (__mpsin): Add slowsin probe.
29272         (__mpcos): Add slowcos probe.
29274 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
29276         [BZ #15483]
29277         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
29278         thread-local __sim_exceptions_thread and global
29279         __sim_exceptions_global.
29280         (__sim_disabled_exceptions): Change to thread-local
29281         __sim_disabled_exceptions_thread and global
29282         __sim_disabled_exceptions_global.
29283         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29284         and global __sim_round_mode_global.
29285         (__simulate_exceptions): Use thread-local floating-point state and
29286         set global state from it as needed.
29287         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
29288         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
29289         __sim_round_mode_thread.
29290         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
29291         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
29292         and global __sim_exceptions_global.
29293         (__sim_disabled_exceptions): Change to thread-local
29294         __sim_disabled_exceptions_thread and global
29295         __sim_disabled_exceptions_global.
29296         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29297         and global __sim_round_mode_global.
29298         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
29299         (SIM_SET_GLOBAL): Likewise.
29300         * sysdeps/powerpc/soft-fp/sfp-machine.h
29301         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
29302         __sim_round_mode_thread.
29303         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
29304         __sim_disabled_exceptions_thread.
29305         (__sim_exceptions): Change to __sim_exceptions_thread.
29306         (__sim_disabled_exceptions): Change to
29307         __sim_disabled_exceptions_thread.
29308         (__sim_round_mode): Change to __sim_round_mode_thread.
29309         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
29310         thread-local floating-point state and set global state from it as
29311         needed.
29312         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
29313         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
29314         (__sim_disabled_exceptions): Remove extern declaration.
29315         (feenableexcept): Use thread-local floating-point state and set
29316         global state from it as needed.
29317         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
29318         extern declaration.
29319         (__sim_disabled_exceptions): Likewise.
29320         (__sim_round_mode): Likewise.
29321         (__fegetenv): Use thread-local floating-point state.
29322         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
29323         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29324         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
29325         floating-point state and set global state from it as needed.
29326         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
29327         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29328         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
29329         Likewise.
29330         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29331         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
29332         Likewise.
29333         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
29334         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
29335         Use __sim_round_mode_thread.
29336         * math/test-fenv-tls.c: New file.
29337         * math/Makefile (tests): Add test-fenv-tls.
29338         ($(objpfx)test-fenv-tls): Depend on
29339         $(common-objpfx)nptl/libpthread.so.
29341 2013-11-19  Andreas Schwab  <schwab@suse.de>
29343         * locale/programs/locale.c (show_info): Decode wordarray elements.
29344         * locale/categories.def (LC_MONETARY): Add element for
29345         _NL_MONETARY_CRNCYSTR.
29346         * locale/C-monetary.c (conversion_rate): New variable.
29347         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
29348         element.
29350 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
29352         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
29353         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
29355 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
29357         * elf/Makefile (tst-auxv): New test.
29358         * elf/tst-auxv.c: New
29359         * elf/rtld.c (dl_main): Adjust AT_EXECFN
29361 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
29363         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
29364         (hidden_proto): Caller changed.
29365         (hidden_tls_proto): New macro.
29366         (libc_hidden_tls_proto): Likewise.
29367         (rtld_hidden_tls_proto): Likewise.
29368         (libm_hidden_tls_proto): Likewise.
29369         (libresolv_hidden_tls_proto): Likewise.
29370         (librt_hidden_tls_proto): Likewise.
29371         (libdl_hidden_tls_proto): Likewise.
29372         (libnss_files_hidden_tls_proto): Likewise.
29373         (libnsl_hidden_tls_proto): Likewise.
29374         (libnss_nisplus_hidden_tls_proto): Likewise.
29375         (libutil_hidden_tls_proto): Likewise.
29377 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
29379         [BZ #10253]
29380         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
29381         (decompose_rpath): Defer expansion to fillin_rpath.
29382         (_dl_init_paths): Pass linkmap to fillin_rpath.
29384 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29386         * benchtests/Makefile: Add strsep.
29387         * benchtests/bench-strsep.c: New file: strsep benchtest.
29388         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
29390 2013-11-18  Andreas Schwab  <schwab@suse.de>
29392         * locale/programs/locale.c (show_info) [case byte]: Check for
29393         '\377' instead of '\177'.
29394         * locale/C-monetary.c (not_available): Always use "\377".
29395         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
29396         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
29397         detect unavailable sign_posn locale elements.
29398         * locale/localeconv.c (__localeconv): For grouping and
29399         mon_grouping handle "\177" and "\377" like no grouping.
29400         (INT_ELEM): New macro.  Use it to set all numeric members.
29401         * locale/programs/ld-monetary.c (monetary_read)
29402         <tok_mon_grouping>: Normalize single -1 to the empty string.
29403         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
29404         Likewise.
29406 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29408         [BZ #16055]
29409         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
29410         when we match (nil).
29411         * stdio-common/tst-sscanf.c (struct test): Add testcase.
29413 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
29415         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
29416         (NO_TEST_INLINE): Update value.
29417         (ERRNO_UNCHANGED): Likewise.
29418         (ERRNO_EDOM): Likewise.
29419         (ERRNO_ERANGE): Likewise.
29420         (IGNORE_RESULT): Likewise.
29421         (check_float_internal): Check signs of NaN results if
29422         TEST_NAN_SIGN used.
29423         (check_complex): Pass TEST_NAN_SIGN flag through to second
29424         check_float_internal call.
29425         (copysign_test_data): Add tests with quiet NaNs as second
29426         argument.  Use TEST_NAN_SIGN.
29427         (fabs_test_data): Add test of negative quiet NaN argument.  Use
29428         TEST_NAN_SIGN.
29429         (signbit_test_data): Add tests of quiet NaN argument.
29430         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
29432         * math/gen-libm-test.pl (show_exceptions): Take extra argument
29433         $ignore_result.
29434         (parse_args): Handle function results specified as IGNORE.
29435         * math/libm-test.inc (IGNORE_RESULT): New macro.
29436         (check_float_internal): Do not check numerical result if flag
29437         IGNORE_RESULT set.
29438         (check_complex): Pass through IGNORE_RESULT to second
29439         check_float_internal call.
29440         (check_int): Do not check numerical result if flag IGNORE_RESULT
29441         set.
29442         (check_long): Likewise.
29443         (check_bool): Likewise.
29444         (check_longlong): Likewise.
29445         (lrint_test_data): Add tests of infinite and NaN arguments.
29446         (lrint_tonearest_test_data): Likewise.
29447         (lrint_towardzero_test_data): Likewise.
29448         (lrint_downward_test_data): Likewise.
29449         (lrint_upward_test_data): Likewise.
29450         (llrint_test_data): Likewise.
29451         (llrint_tonearest_test_data): Likewise.
29452         (llrint_towardzero_test_data): Likewise.
29453         (llrint_downward_test_data): Likewise.
29454         (llrint_upward_test_data): Likewise.
29455         (lround_test_data): Likewise.
29456         (llround_test_data): Likewise.
29458         * math/libm-test.inc (NO_TEST_INLINE): New macro.
29459         (ERRNO_UNCHANGED): Update value.
29460         (ERRNO_EDOM): Likewise.
29461         (ERRNO_ERANGE): Likewise.
29462         (NO_TEST_INLINE_FLOAT): New macro.
29463         (NO_TEST_INLINE_DOUBLE): Likewise.
29464         (enable_test): New function.
29465         (RUN_TEST_f_f): Check enable_test before running test.
29466         (RUN_TEST_2_f): Likewise.
29467         (RUN_TEST_fff_f): Likewise.
29468         (RUN_TEST_c_f): Likewise.
29469         (RUN_TEST_f_f1): Likewise.
29470         (RUN_TEST_fF_f1): Likewise.
29471         (RUN_TEST_fI_f1): Likewise.
29472         (RUN_TEST_ffI_f1): Likewise.
29473         (RUN_TEST_c_c): Likewise.
29474         (RUN_TEST_cc_c): Likewise.
29475         (RUN_TEST_f_i): Likewise.
29476         (RUN_TEST_f_i_tg): Likewise.
29477         (RUN_TEST_ff_i_tg): Likewise.
29478         (RUN_TEST_f_b): Likewise.
29479         (RUN_TEST_f_b_tg): Likewise.
29480         (RUN_TEST_f_l): Likewise.
29481         (RUN_TEST_f_L): Likewise.
29482         (RUN_TEST_fFF_11): Likewise.
29483         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
29484         conditionals.
29485         (cosh_test_data): Likewise.
29486         (exp_test_data): Likewise.
29487         (expm1_test_data): Likewise.
29488         (hypot_test_data): Likewise.
29489         (pow_test_data): Likewise.
29490         (sinh_test_data): Likewise.
29491         (tanh_test_data): Likewise.
29492         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
29493         flags argument.
29495         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
29496         tests with quiet NaN input and output.
29497         (acosh_test_data): Likewise.
29498         (asin_test_data): Likewise.
29499         (asinh_test_data): Likewise.
29500         (atan_test_data): Likewise.
29501         (atanh_test_data): Likewise.
29502         (atan2_test_data): Likewise.
29503         (cbrt_test_data): Likewise.
29504         (cos_test_data): Likewise.
29505         (cosh_test_data): Likewise.
29506         (erf_test_data): Likewise.
29507         (erfc_test_data): Likewise.
29508         (exp_test_data): Likewise.
29509         (exp10_test_data): Likewise.
29510         (exp2_test_data): Likewise.
29511         (expm1_test_data): Likewise.
29512         (hypot_test_data): Likewise.
29513         (j0_test_data): Likewise.
29514         (j1_test_data): Likewise.
29515         (jn_test_data): Likewise.
29516         (lgamma_test_data): Likewise.
29517         (log_test_data): Likewise.
29518         (log10_test_data): Likewise.
29519         (log1p_test_data): Likewise.
29520         (log2_test_data): Likewise.
29521         (pow_test_data): Likewise.
29522         (scalb_test_data): Likewise.
29523         (sin_test_data): Likewise.
29524         (sincos_test_data): Likewise.
29525         (sinh_test_data): Likewise.
29526         (tan_test_data): Likewise.
29527         (tanh_test_data): Likewise.
29528         (tgamma_test_data): Likewise.
29529         (y0_test_data): Likewise.
29530         (y1_test_data): Likewise.
29531         (yn_test_data): Likewise.
29533         [BZ #16167]
29534         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
29535         argument being NaN and avoid computations with second argument in
29536         that case.
29537         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29538         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29539         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29541 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
29543         * locale/iso-639.def: Add Chitwani Tharu (the).
29545 2013-11-14  Andreas Schwab  <schwab@suse.de>
29547         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
29548         word instead of empty string.
29550 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29553         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
29554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29555         (__fe_nomask_env): Likewise.
29557 2013-11-13  Steve Ellcey  <sellcey@mips.com>
29559         * benchtests/bench-timing.h: Include time.h.
29561 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
29563         [BZ #15997]
29564         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
29565         to 3.4.0 for x32.
29566         * sysdeps/unix/sysv/linux/configure: Regenerated.
29568 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
29570         [BZ #16151]
29571         * stdlib/strtod_l.c (round_and_return): Do not consider
29572         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
29573         exponent one less than half the least subnormal exponent.
29574         * stdlib/test-strtod-round-data: Add more tests.
29575         * stdlib/tst-strtod-round.c (tests): Regenerated.
29577 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29579         [BZ #14143]
29580         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
29581         (__fe_mask_env): Likewise.
29582         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
29583         libm_hidden_proto and add function prototype.
29584         (__fe_mask_env): Add function prototype.
29585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29586         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
29587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29588         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
29589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29590         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
29592 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29594         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
29595         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
29597 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29599         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
29600         of htab_find_slot().
29602 2013-11-11  David S. Miller  <davem@davemloft.net>
29604         [BZ #16150]
29605         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
29606         symbol in the non-vis3 case in static builds.
29607         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
29608         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
29609         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
29610         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
29612 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
29614         [BZ #387]
29615         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
29616         it is empty.
29618 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29620         * benchtests/Makefile: Add bench-strtod.
29621         * benchtests/bench-strtod.c: New file: strtod benchtest
29623 2013-11-11  Andreas Schwab  <schwab@suse.de>
29625         [BZ #16153]
29626         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
29627         terminating NUL in key length.
29629 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29631         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29632         Add artificial ODP entry for vDSO symbol for PPC64.
29633         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
29634         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29636 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29638         [BZ #15374]
29639         * nss/getent.c (services_keys): Recognize services starting with digit.
29641 2013-11-06  David S. Miller  <davem@davemloft.net>
29643         [BZ #15985]
29644         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
29645         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
29647 2013-11-06  Will Newton  <will.newton@linaro.org>
29649         * manual/memory.texi (Malloc Examples): Remove register
29650         keyword from examples.
29652 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
29654         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
29656 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
29658         [BZ #6981]
29659         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
29660         depending on [__GCC_IEC_559 > 0].
29661         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
29662         depending on [__GCC_IEC_559_COMPLEX > 0].
29664 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
29666         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
29667         to iso-639.def.
29669 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
29671         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
29673 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
29675         [BZ #16112]
29676         * malloc/malloc (malloc_info): Do not handle first bin as
29677         special case.
29679 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
29681         * locale/iso-639.def: Add Central Nahuatl (nhn).
29683 2013-11-01  Bruno Haible  <bruno@clisp.org>
29685         [BZ #7003]
29686         * manual/math.texi (BSD Random): Specify range upper bound as
29687         in POSIX.
29689 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
29691         * locale/iso-639.def: Add Meadow Mari (mhr).
29693 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
29695         [BZ #14752], [BZ #15763]
29696         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
29697         Validate name.
29698         * rt/tst_shm.c: Add test for escaping directory.
29700 2013-10-31  Andreas Schwab  <schwab@suse.de>
29702         [BZ #15917]
29703         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
29704         followed by 'x' as part of digit sequence.
29705         * stdio-common/tst-sscanf.c (double_tests2): New tests.
29707 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
29709         [BZ #16037]
29710         * configure.ac: allow GNU Make 4.0 and greater.
29711         * configure: Regenerated.
29713 2013-10-30  Will Newton  <will.newton@linaro.org>
29715         [BZ #16038]
29716         * malloc/hooks.c (memalign_check): Limit alignment to the
29717         maximum representable power of two.
29718         * malloc/malloc.c (__libc_memalign): Likewise.
29719         * malloc/tst-memalign.c (do_test): Add test for very
29720         large alignment values.
29721         * malloc/tst-posix_memalign.c (do_test): Likewise.
29723 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29725         [BZ #11087]
29726         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29727         (munmap_chunk): Likewise.
29728         (mremap_chunk): Likewise.
29730 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29732         [BZ #15799]
29733         * stdlib/div.c (div): Remove obsolete code.
29734         * stdlib/ldiv.c (ldiv): Likewise.
29735         * stdlib/lldiv.c (lldiv): Likewise.
29737 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29739         [BZ #16071]
29740         * nss/nss_files/files-XXX.c (get_contents_ret): New
29741         enumerator.
29742         (get_contents): New function.
29743         (internal_getent): Use it.  Expand size of LINEBUFLEN.
29745 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
29747         * configure.in: Moved to ...
29748         * configure.ac: ... here. Change reference to configure.in
29749         to configure.ac.
29750         * sysdeps/arm/preconfigure.ac: ... here.
29751         configure.in to configure.ac.
29752         * sysdeps/gnu/configure.in: Moved to ...
29753         * sysdeps/gnu/configure.ac: ... here.
29754         * sysdeps/i386/configure.in: Moved to ...
29755         * sysdeps/i386/configure.ac: ... here.
29756         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29757         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29758         * sysdeps/mach/configure.in: Moved to ...
29759         * sysdeps/mach/configure.ac: ... here.
29760         * sysdeps/mach/hurd/configure.in: Moved to ...
29761         * sysdeps/mach/hurd/configure.ac: ... here.
29762         * sysdeps/powerpc/configure.in: Moved to ...
29763         * sysdeps/powerpc/configure.ac: ... here.
29764         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29765         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29766         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29767         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29768         * sysdeps/s390/s390-32/configure.in: Moved to ...
29769         * sysdeps/s390/s390-32/configure.ac: ... here.
29770         * sysdeps/s390/s390-64/configure.in: Moved to ...
29771         * sysdeps/s390/s390-64/configure.ac: ... here.
29772         * sysdeps/sh/configure.in: Moved to ...
29773         * sysdeps/sh/configure.ac: ... here.
29774         * sysdeps/sparc/configure.in: Moved to ...
29775         * sysdeps/sparc/configure.ac: ... here.
29776         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29777         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29778         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29779         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29780         * sysdeps/x86_64/configure.in: Moved to ...
29781         * sysdeps/x86_64/configure.ac: ... here.
29782         * sysdeps/x86_64/preconfigure.in: Moved to ...
29783         * sysdeps/x86_64/preconfigure.ac: ... here.
29784         * aclocal.m4: Change reference to configure.in to configure.ac.
29785         * config.h.in: Likewise.
29786         * manual/install.texi: Likewise.
29787         * manual/maint.texi: Likewise.
29788         * Makefile: Likewise.
29789         * malloc/Makefile: Likewise.
29790         * nscd/Makefile: Likewise.
29791         * Makeconfig: Change reference to configure.in and
29792         preconfigure.in to configure.ac and preconfigure.ac
29793         respectively.
29794         * INSTALL: Regenerated.
29795         * configure: Likewise.
29796         * sysdeps/gnu/configure: Likewise.
29797         * sysdeps/i386/configure: Likewise.
29798         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29799         * sysdeps/mach/configure: Likewise.
29800         * sysdeps/mach/hurd/configure: Likewise.
29801         * sysdeps/powerpc/configure: Likewise.
29802         * sysdeps/powerpc/powerpc32/configure: Likewise.
29803         * sysdeps/powerpc/powerpc64/configure: Likewise.
29804         * sysdeps/s390/s390-32/configure: Likewise.
29805         * sysdeps/s390/s390-64/configure: Likewise.
29806         * sysdeps/sh/configure: Likewise.
29807         * sysdeps/sparc/configure: Likewise.
29808         * sysdeps/unix/sysv/linux/configure: Likewise.
29809         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29810         * sysdeps/x86_64/configure: Likewise.
29811         * sysdeps/x86_64/preconfigure: Likewise.
29813 2013-10-29  Andreas Schwab  <schwab@suse.de>
29815         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29817 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29819         * benchtests/pow-inputs: Add new inputs.
29821         * benchtests/exp-inputs: Add new inputs.
29823         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29824         conditional check for return value.
29825         (__cos32): Likewise.
29827 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29829         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29830         to provide a boost for large inputs with word alignment.
29831         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29832         implementation based on optimized PPC64 strcpy.
29833         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29834         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29835         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29836         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29838 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29840         [BZ #2801]
29841         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29843 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29845         [BZ #14876]
29846         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29847         * time/tst-strptime.c (day_tests): Add testcase.
29849 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29851         [BZ #14029]
29852         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29854 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29856         [BZ #16074]
29857         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29858         MAP_FAILED on error.
29860 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29862         [BZ #16072]
29863         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29864         heap for large requests.
29866 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29868         [BZ #9954]
29869         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29870         result if the result has no associated interface.
29871         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29872         interface for all 127.X.Y.Z addresses.
29874 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29876         * locale/iso-639.def: Add Ligurian (lij)
29878 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29880         [BZ #15825]
29881         * sunrpc/rpc_main.c: Document rpcgen -5.
29883 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29885         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29887 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29889         [BZ #10278]
29890         * posix/glob.c: Match only directories when trailing slash is present.
29891         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29892         (main): Add testcase.
29894 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29896         [BZ #15670]
29897         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29899 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29901         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29902         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29903         AUTH_DES and cindex for FIPS 140-2.
29904         (DES Encryption): Add cindex FIPS 46-3.
29906         * locale/locarchive.h (struct locarhandle): Add fname.
29907         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29908         if an optional argument was specified to --list-archive,
29909         otherwise NULL.
29910         * locale/programs/locarchive.c (show_archive_content): Take new
29911         argument fname and pass it via ah.fname to open_archive.
29912         * locale/programs/localedef.h: Update decl.
29913         (open_archive): If AH->fname is non-null, open that file
29914         rather than the default file name, and don't ignore ENOENT.
29915         (create_archive): Set AH.fname to NULL.
29916         (delete_locales_from_archive): Likewise.
29917         (add_locales_to_archive): Likewise.
29918         * locale/programs/locfile.c (write_all_categories): Likewise.
29920 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29921             Aldy Hernandez  <aldyh@redhat.com>
29923         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29924         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29925         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29926         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29927         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29928         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29929         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29930         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29931         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29932         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29933         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29934         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29935         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29936         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29937         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29938         Likewise.
29939         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29940         Likewise.
29941         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29942         Likewise.
29943         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29944         Likewise.
29945         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29946         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29947         Likewise.
29948         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29949         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29950         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29951         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29952         Likewise.
29953         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29954         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29955         * sysdeps/powerpc/preconfigure: Likewise.
29956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29957         Likewise.
29958         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29959         Replace contents of file by #include of <fenv_libc.h>.
29960         * sysdeps/powerpc/soft-fp/sfp-machine.h
29961         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29962         and <sys/prctl.h>.
29963         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29964         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29965         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29966         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29967         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29968         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29969         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29970         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29971         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29972         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29973         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29974         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29976         Allow copysignl PLT reference to be missing.
29978 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29979             Joseph Myers  <joseph@codesourcery.com
29981         [BZ #15948]
29982         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29983         single character.
29984         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29986 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29988         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29989         * elf/tst-tls1.c: Likewise.
29990         * elf/tst-tls10.h: Likewise.
29991         * elf/tst-tls14.c: Likewise.
29992         * elf/tst-tls2.c: Likewise.
29993         * elf/tst-tls3.c: Likewise.
29994         * elf/tst-tls4.c: Likewise.
29995         * elf/tst-tls5.c: Likewise.
29996         * elf/tst-tls6.c: Likewise.
29997         * elf/tst-tls7.c: Likewise.
29998         * elf/tst-tls8.c: Likewise.
29999         * elf/tst-tls9.c: Likewise.
30000         * elf/tst-tlsmod1.c: Likewise.
30001         * elf/tst-tlsmod13.c: Likewise.
30002         * elf/tst-tlsmod13a.c: Likewise.
30003         * elf/tst-tlsmod14a.c: Likewise.
30004         * elf/tst-tlsmod16a.c: Likewise.
30005         * elf/tst-tlsmod16b.c: Likewise.
30006         * elf/tst-tlsmod2.c: Likewise.
30007         * elf/tst-tlsmod3.c: Likewise.
30008         * elf/tst-tlsmod4.c: Likewise.
30009         * elf/tst-tlsmod5.c: Likewise.
30010         * elf/tst-tlsmod6.c: Likewise.
30012 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
30014         [BZ #12486]
30015         * malloc/malloc.c: remove checks for statistics.
30017 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
30019         [BZ #15277]
30020         * inet/inet_net.c (inet_network): Detect additional invalid strings.
30021         * inet/tst-network.c: Add testcase.
30023 2013-10-17  Andreas Schwab  <schwab@suse.de>
30025         [BZ #15218]
30026         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
30027         to determine canonical name.
30029 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
30031         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
30032         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
30033         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30034         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30035         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30036         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30037         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30038         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30039         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30040         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30041         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30042         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30043         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30044         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30045         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30046         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30047         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30048         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30049         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30050         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30051         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30052         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30053         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30054         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
30055         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
30056         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30057         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30058         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
30059         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30060         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
30061         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30062         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30063         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30064         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30065         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30066         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30067         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30068         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30069         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30070         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30071         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30072         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30073         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30074         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30075         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30076         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30077         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30078         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30079         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30080         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30081         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30082         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30083         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30084         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30085         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30086         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30087         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30088         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30090 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
30092         [BZ #16041]
30093         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
30094         make result into a quiet NaN.
30096 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
30098         * soft-fp/adddf3.c: Fix horizontal whitespace.
30099         * soft-fp/addsf3.c: Likewise.
30100         * soft-fp/addtf3.c: Likewise.
30101         * soft-fp/divdf3.c: Likewise.
30102         * soft-fp/divsf3.c: Likewise.
30103         * soft-fp/divtf3.c: Likewise.
30104         * soft-fp/double.h: Likewise.
30105         * soft-fp/eqdf2.c: Likewise.
30106         * soft-fp/eqsf2.c: Likewise.
30107         * soft-fp/eqtf2.c: Likewise.
30108         * soft-fp/extenddftf2.c: Likewise.
30109         * soft-fp/extended.h: Likewise.
30110         * soft-fp/extendsfdf2.c: Likewise.
30111         * soft-fp/extendsftf2.c: Likewise.
30112         * soft-fp/extendxftf2.c: Likewise.
30113         * soft-fp/fixdfdi.c: Likewise.
30114         * soft-fp/fixdfsi.c: Likewise.
30115         * soft-fp/fixdfti.c: Likewise.
30116         * soft-fp/fixsfdi.c: Likewise.
30117         * soft-fp/fixsfsi.c: Likewise.
30118         * soft-fp/fixsfti.c: Likewise.
30119         * soft-fp/fixtfdi.c: Likewise.
30120         * soft-fp/fixtfsi.c: Likewise.
30121         * soft-fp/fixtfti.c: Likewise.
30122         * soft-fp/fixunsdfdi.c: Likewise.
30123         * soft-fp/fixunsdfsi.c: Likewise.
30124         * soft-fp/fixunsdfti.c: Likewise.
30125         * soft-fp/fixunssfdi.c: Likewise.
30126         * soft-fp/fixunssfsi.c: Likewise.
30127         * soft-fp/fixunssfti.c: Likewise.
30128         * soft-fp/fixunstfdi.c: Likewise.
30129         * soft-fp/fixunstfsi.c: Likewise.
30130         * soft-fp/fixunstfti.c: Likewise.
30131         * soft-fp/floatdidf.c: Likewise.
30132         * soft-fp/floatdisf.c: Likewise.
30133         * soft-fp/floatditf.c: Likewise.
30134         * soft-fp/floatsidf.c: Likewise.
30135         * soft-fp/floatsisf.c: Likewise.
30136         * soft-fp/floatsitf.c: Likewise.
30137         * soft-fp/floattidf.c: Likewise.
30138         * soft-fp/floattisf.c: Likewise.
30139         * soft-fp/floattitf.c: Likewise.
30140         * soft-fp/floatundidf.c: Likewise.
30141         * soft-fp/floatundisf.c: Likewise.
30142         * soft-fp/floatunditf.c: Likewise.
30143         * soft-fp/floatunsidf.c: Likewise.
30144         * soft-fp/floatunsisf.c: Likewise.
30145         * soft-fp/floatunsitf.c: Likewise.
30146         * soft-fp/floatuntidf.c: Likewise.
30147         * soft-fp/floatuntisf.c: Likewise.
30148         * soft-fp/floatuntitf.c: Likewise.
30149         * soft-fp/fmadf4.c: Likewise.
30150         * soft-fp/fmasf4.c: Likewise.
30151         * soft-fp/fmatf4.c: Likewise.
30152         * soft-fp/gedf2.c: Likewise.
30153         * soft-fp/gesf2.c: Likewise.
30154         * soft-fp/getf2.c: Likewise.
30155         * soft-fp/ledf2.c: Likewise.
30156         * soft-fp/lesf2.c: Likewise.
30157         * soft-fp/letf2.c: Likewise.
30158         * soft-fp/muldf3.c: Likewise.
30159         * soft-fp/mulsf3.c: Likewise.
30160         * soft-fp/multf3.c: Likewise.
30161         * soft-fp/negdf2.c: Likewise.
30162         * soft-fp/negsf2.c: Likewise.
30163         * soft-fp/negtf2.c: Likewise.
30164         * soft-fp/op-1.h: Likewise.
30165         * soft-fp/op-2.h: Likewise.
30166         * soft-fp/op-4.h: Likewise.
30167         * soft-fp/op-8.h: Likewise.
30168         * soft-fp/op-common.h: Likewise.
30169         * soft-fp/quad.h: Likewise.
30170         * soft-fp/single.h: Likewise.
30171         * soft-fp/soft-fp.h: Likewise.
30172         * soft-fp/sqrtdf2.c: Likewise.
30173         * soft-fp/sqrtsf2.c: Likewise.
30174         * soft-fp/sqrttf2.c: Likewise.
30175         * soft-fp/subdf3.c: Likewise.
30176         * soft-fp/subsf3.c: Likewise.
30177         * soft-fp/subtf3.c: Likewise.
30178         * soft-fp/truncdfsf2.c: Likewise.
30179         * soft-fp/trunctfdf2.c: Likewise.
30180         * soft-fp/trunctfsf2.c: Likewise.
30181         * soft-fp/trunctfxf2.c: Likewise.
30182         * soft-fp/unorddf2.c: Likewise.
30183         * soft-fp/unordsf2.c: Likewise.
30184         * soft-fp/unordtf2.c: Likewise.
30186 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
30188         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
30189         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
30191 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
30193         * elf/dl-libc.c: Clear initfini list after freeing.
30195 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
30197         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
30198         * soft-fp/addsf3.c: Likewise.
30199         * soft-fp/addtf3.c: Likewise.
30200         * soft-fp/divdf3.c: Likewise.
30201         * soft-fp/divsf3.c: Likewise.
30202         * soft-fp/divtf3.c: Likewise.
30203         * soft-fp/double.h: Likewise.
30204         * soft-fp/eqdf2.c: Likewise.
30205         * soft-fp/eqsf2.c: Likewise.
30206         * soft-fp/eqtf2.c: Likewise.
30207         * soft-fp/extenddftf2.c: Likewise.
30208         * soft-fp/extended.h: Likewise.
30209         * soft-fp/extendsfdf2.c: Likewise.
30210         * soft-fp/extendsftf2.c: Likewise.
30211         * soft-fp/extendxftf2.c: Likewise.
30212         * soft-fp/fixdfdi.c: Likewise.
30213         * soft-fp/fixdfsi.c: Likewise.
30214         * soft-fp/fixdfti.c: Likewise.
30215         * soft-fp/fixsfdi.c: Likewise.
30216         * soft-fp/fixsfsi.c: Likewise.
30217         * soft-fp/fixsfti.c: Likewise.
30218         * soft-fp/fixtfdi.c: Likewise.
30219         * soft-fp/fixtfsi.c: Likewise.
30220         * soft-fp/fixtfti.c: Likewise.
30221         * soft-fp/fixunsdfdi.c: Likewise.
30222         * soft-fp/fixunsdfsi.c: Likewise.
30223         * soft-fp/fixunsdfti.c: Likewise.
30224         * soft-fp/fixunssfdi.c: Likewise.
30225         * soft-fp/fixunssfsi.c: Likewise.
30226         * soft-fp/fixunssfti.c: Likewise.
30227         * soft-fp/fixunstfdi.c: Likewise.
30228         * soft-fp/fixunstfsi.c: Likewise.
30229         * soft-fp/fixunstfti.c: Likewise.
30230         * soft-fp/floatdidf.c: Likewise.
30231         * soft-fp/floatdisf.c: Likewise.
30232         * soft-fp/floatditf.c: Likewise.
30233         * soft-fp/floatsidf.c: Likewise.
30234         * soft-fp/floatsisf.c: Likewise.
30235         * soft-fp/floatsitf.c: Likewise.
30236         * soft-fp/floattidf.c: Likewise.
30237         * soft-fp/floattisf.c: Likewise.
30238         * soft-fp/floattitf.c: Likewise.
30239         * soft-fp/floatundidf.c: Likewise.
30240         * soft-fp/floatundisf.c: Likewise.
30241         * soft-fp/floatunsidf.c: Likewise.
30242         * soft-fp/floatunsisf.c: Likewise.
30243         * soft-fp/floatuntidf.c: Likewise.
30244         * soft-fp/floatuntisf.c: Likewise.
30245         * soft-fp/floatuntitf.c: Likewise.
30246         * soft-fp/fmadf4.c: Likewise.
30247         * soft-fp/fmasf4.c: Likewise.
30248         * soft-fp/fmatf4.c: Likewise.
30249         * soft-fp/gedf2.c: Likewise.
30250         * soft-fp/gesf2.c: Likewise.
30251         * soft-fp/getf2.c: Likewise.
30252         * soft-fp/ledf2.c: Likewise.
30253         * soft-fp/lesf2.c: Likewise.
30254         * soft-fp/letf2.c: Likewise.
30255         * soft-fp/muldf3.c: Likewise.
30256         * soft-fp/mulsf3.c: Likewise.
30257         * soft-fp/multf3.c: Likewise.
30258         * soft-fp/negdf2.c: Likewise.
30259         * soft-fp/negsf2.c: Likewise.
30260         * soft-fp/negtf2.c: Likewise.
30261         * soft-fp/op-1.h: Likewise.
30262         * soft-fp/op-2.h: Likewise.
30263         * soft-fp/op-4.h: Likewise.
30264         * soft-fp/op-8.h: Likewise.
30265         * soft-fp/op-common.h: Likewise.
30266         * soft-fp/quad.h: Likewise.
30267         * soft-fp/single.h: Likewise.
30268         * soft-fp/soft-fp.h: Likewise.
30269         * soft-fp/sqrtdf2.c: Likewise.
30270         * soft-fp/sqrtsf2.c: Likewise.
30271         * soft-fp/sqrttf2.c: Likewise.
30272         * soft-fp/subdf3.c: Likewise.
30273         * soft-fp/subsf3.c: Likewise.
30274         * soft-fp/subtf3.c: Likewise.
30275         * soft-fp/truncdfsf2.c: Likewise.
30276         * soft-fp/trunctfdf2.c: Likewise.
30277         * soft-fp/trunctfsf2.c: Likewise.
30278         * soft-fp/trunctfxf2.c: Likewise.
30279         * soft-fp/unorddf2.c: Likewise.
30280         * soft-fp/unordsf2.c: Likewise.
30281         * soft-fp/unordtf2.c: Likewise.
30283 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
30285         [BZ #15672]
30286         * misc/error.c (error_tail): Fix possible buffer overflow.
30288 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
30290         [BZ #13028]
30291         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
30292         address.
30294 2013-10-14  P. J. McDermott  <pj@pehjota.net>
30296         [BZ #832]
30297         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
30298         testing pipefail option.
30300 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30302         * soft-fp/double.h: Indent preprocessor directives inside #if.
30303         * soft-fp/extended.h: Likewise.
30304         * soft-fp/op-2.h: Likewise.
30305         * soft-fp/op-4.h: Likewise.
30306         * soft-fp/op-common.h: Likewise.
30307         * soft-fp/quad.h: Likewise.
30308         * soft-fp/single.h: Likewise.
30309         * soft-fp/soft-fp.h: Likewise.
30311 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
30313         * iconv/iconv_prog.c: Fix typos.
30314         * stdio-common/psiginfo-data.h: Likewise.
30316 2013-10-12   Reuben Thomas <rrt@sc3d.org>
30318         [BZ #15764]
30319         * locale/setlocale.c: Fix typo.
30321 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30323         [BZ #16036]
30324         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
30325         signaling NaN arguments.
30326         * soft-fp/unordsf2.c (__unordsf2): Likewise.
30327         * soft-fp/unordtf2.c (__unordtf2): Likewise.
30329         [BZ #14910]
30330         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
30331         unordered operands.
30332         * soft-fp/gesf2.c (__gesf2): Likewise.
30333         * soft-fp/getf2.c (__getf2): Likewise.
30334         * soft-fp/ledf2.c (__ledf2): Likewise.
30335         * soft-fp/lesf2.c (__lesf2): Likewise.
30336         * soft-fp/letf2.c (__letf2): Likewise.
30338         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
30339         * soft-fp/eqsf2.c (__eqsf2): Likewise.
30340         * soft-fp/eqtf2.c (__eqtf2): Likewise.
30341         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
30342         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
30343         * soft-fp/fixdfti.c (__fixdfti): Likewise.
30344         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
30345         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
30346         * soft-fp/fixsfti.c (__fixsfti): Likewise.
30347         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
30348         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
30349         * soft-fp/fixtfti.c (__fixtfti): Likewise.
30350         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
30351         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
30352         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
30353         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
30354         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
30355         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
30356         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
30357         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
30358         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
30359         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
30360         * soft-fp/floatdisf.c (__floatdisf): Likewise.
30361         * soft-fp/floatsisf.c (__floatsisf): Likewise.
30362         * soft-fp/floattidf.c (__floattidf): Likewise.
30363         * soft-fp/floattisf.c (__floattisf): Likewise.
30364         * soft-fp/floattitf.c (__floattitf): Likewise.
30365         * soft-fp/floatundidf.c (__floatundidf): Likewise.
30366         * soft-fp/floatundisf.c (__floatundisf): Likewise.
30367         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
30368         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
30369         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
30370         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
30371         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
30372         * soft-fp/gesf2.c (__gesf2): Likewise.
30373         * soft-fp/getf2.c (__getf2): Likewise.
30374         * soft-fp/ledf2.c (__ledf2): Likewise.
30375         * soft-fp/lesf2.c (__lesf2): Likewise.
30376         * soft-fp/letf2.c (__letf2): Likewise.
30378         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
30379         Undefine and redefine.
30380         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
30381         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
30382         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
30383         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
30384         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30385         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
30386         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30387         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
30388         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30389         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
30390         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30391         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
30392         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30393         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
30394         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30396         [BZ #16032]
30397         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
30398         without decrementing exponent if mantissa >= that for the
30399         denominator, not >.
30400         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
30401         denominator, not >.  Decrement exponent in < case instead of
30402         incrementing in >= case.
30403         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
30404         without decrementing exponent if mantissa >= that for the
30405         denominator, not >.
30407         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
30408         computing saturated result for unsigned overflow.
30410 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30411             Jeff Law  <law@redhat.com>
30413         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
30414         (atan2Mp): Add systemtap probe marker.
30415         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
30416         (__ieee754_log): Add systemtap probe marker.
30417         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
30418         (atanMp): Add systemtap probe marker.
30419         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
30420         (tanMp): Add systemtap probe marker.
30421         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
30422         (__slowexp): Add systemtap probe marker.
30423         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
30424         (__slowpow): Add systemtap probe marker.
30425         * manual/probes.texi: Document probes.
30427 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
30429         [BZ #15362]
30430         * libio/fileops.c (_IO_new_file_write): Return count of bytes
30431         written.
30432         (_IO_new_file_xsputn): Don't return EOF if nothing has been
30433         written.
30434         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
30435         written to buffer but not flushed.
30436         * libio/iofwrite_u.c:  Likewise.
30437         * libio/iopadn.c:  Return bytes returned even if EOF was
30438         encountered.
30439         * libio/iowpadn.c:  Likewise.
30440         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
30441         if _IO_padn does not write the whole buffer.
30442         [!COMPILE_WPRINTF] (PAD): Likewise.
30444 2013-10-10  David S. Miller  <davem@davemloft.net>
30446         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
30447         directory block.
30449 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30451         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
30452         instead of FSF address.
30453         * soft-fp/fixdfti.c: Likewise.
30454         * soft-fp/fixsfti.c: Likewise.
30455         * soft-fp/fixtfti.c: Likewise.
30456         * soft-fp/fixunsdfti.c: Likewise.
30457         * soft-fp/fixunssfti.c: Likewise.
30458         * soft-fp/fixunstfti.c: Likewise.
30459         * soft-fp/floattidf.c: Likewise.
30460         * soft-fp/floattisf.c: Likewise.
30461         * soft-fp/floattitf.c: Likewise.
30462         * soft-fp/floatuntidf.c: Likewise.
30463         * soft-fp/floatuntisf.c: Likewise.
30464         * soft-fp/floatuntitf.c: Likewise.
30465         * soft-fp/trunctfxf2.c: Likewise.
30467         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
30468         * soft-fp/fixdfti.c: Likewise.
30469         * soft-fp/fixsfti.c: Likewise.
30470         * soft-fp/fixtfti.c: Likewise.
30471         * soft-fp/fixunsdfti.c: Likewise.
30472         * soft-fp/fixunssfti.c: Likewise.
30473         * soft-fp/fixunstfti.c: Likewise.
30474         * soft-fp/floattidf.c: Likewise.
30475         * soft-fp/floattisf.c: Likewise.
30476         * soft-fp/floattitf.c: Likewise.
30477         * soft-fp/floatuntidf.c: Likewise.
30478         * soft-fp/floatuntisf.c: Likewise.
30479         * soft-fp/floatuntitf.c: Likewise.
30480         * soft-fp/trunctfxf2.c: Likewise.
30482 2013-10-10  David S. Miller  <davem@davemloft.net>
30484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30486 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
30488         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30489         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
30490         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
30491         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
30492         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
30493         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
30494         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
30496         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
30497         for NaNs before doing comparisons on argument.
30498         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30499         Likewise.
30501 2013-10-10  Will Newton  <will.newton@linaro.org>
30503         * malloc/hooks.c (memalign_check): Ensure the value of bytes
30504         passed to _int_memalign does not overflow.
30506 2013-10-10  Torvald Riegel  <triegel@redhat.com>
30508         * scripts/bench.pl: Add include-sources directive.
30509         * benchtests/README: Update documentation.
30511 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30513         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
30514         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
30515         instead of FP_INIT_ROUNDMODE.
30516         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
30517         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
30519         [BZ #16034]
30520         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
30521         copy class of input value.
30522         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
30523         not handle exceptions.
30524         * soft-fp/negsf2.c (__negsf2): Likewise.
30525         * soft-fp/negtf2.c (__negtf2): Likewise.
30526         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
30528 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
30530         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
30531         semicolon.  From Linux kernel.
30533 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
30535         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
30537 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
30539         [BZ #156]
30540         * manual/socket.texi: Added statement about buffer
30541         for gethostbyname2_r.
30543 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
30545         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
30546         Use .p2align directive instead, throughout.
30547         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30548         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30549         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
30550         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30551         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30552         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30553         * sysdeps/x86_64/strchr.S: Likewise.
30554         * sysdeps/x86_64/strrchr.S: Likewise.
30556 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30558         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
30560         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
30562         * sysdeps/generic/math_private.h (__mpsin1): Remove
30563         declaration.
30564         (__mpcos1): Likewise.
30565         (__mpsin): New argument __range_reduce.
30566         (__mpcos): Likewise.
30567         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30568         (slow): Use __mpsin and __mpcos.
30569         (slow1): Likewise.
30570         (slow2): Likewise.
30571         (sloww): Likewise.
30572         (sloww1): Likewise.
30573         (sloww2): Likewise.
30574         (bsloww): Likewise.
30575         (bsloww1): Likewise.
30576         (bsloww2): Likewise.
30577         (cslow2): Likewise.
30578         (csloww): Likewise.
30579         (csloww1): Likewise.
30580         (csloww2): Likewise.
30581         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
30582         range_reduce.  Merge in __mpsin1.
30583         (__mpcos): Likewise.
30584         (__mpsin1): Remove.
30585         (__mpcos1): Likewise.
30587 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
30589         * locale/loadlocale.c (_nl_intern_locale_data): Use
30590         LOCFILE_ALIGNED_P.
30591         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
30592         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
30593         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
30594         obstack data is appropriately aligned.
30595         (obstack_int32_grow_fast): Likewise.
30596         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
30597         * locale/programs/locfile.c (add_locale_uint32): Likewise.
30598         (add_locale_uint32_array): Likewise.
30600 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30602         * benchtests/Makefile: Remove ARGLIST and RET variables.
30603         ($(objpfx)bench-%.c): Pass only function name to the script.
30604         * benchtests/README: Update documentation.
30605         * benchtests/acos-inputs: Add new directives.
30606         * benchtests/acosh-inputs: Likewise.
30607         * benchtests/asin-inputs: Likewise.
30608         * benchtests/asinh-inputs: Likewise.
30609         * benchtests/atan-inputs: Likewise.
30610         * benchtests/atanh-inputs: Likewise.
30611         * benchtests/cos-inputs: Likewise.
30612         * benchtests/cosh-inputs: Likewise.
30613         * benchtests/exp-inputs: Likewise.
30614         * benchtests/log-inputs: Likewise.
30615         * benchtests/pow-inputs: Likewise.
30616         * benchtests/rint-inputs: Likewise.
30617         * benchtests/sin-inputs: Likewise.
30618         * benchtests/sinh-inputs: Likewise.
30619         * benchtests/tan-inputs: Likewise.
30620         * benchtests/tanh-inputs: Likewise.
30621         * scripts/bench.pl: Add support for new directives.
30623 2013-10-07  Alan Modra  <amodra@gmail.com>
30625         * README: Fix careless merge.
30627 2013-10-05  Alan Modra  <amodra@gmail.com>
30629         * NEWS: Mention powerpc64le support and bugs fixed.
30630         * README: Both big-endian and little-endian powerpc64 supported.
30632 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30634         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
30635         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
30636         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
30637         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
30639 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
30641         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
30642         match prototype.
30644 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
30646         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
30647         Move -mhard-float appending from
30648         ports/sysdeps/powerpc/powerpc32/Makefile.
30649         [$(with-fp) = yes] (ASFLAGS): Likewise.
30650         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
30651         * sysdeps/powerpc/nofpu: Move directory from
30652         ports/sysdeps/powerpc/nofpu.
30653         * sysdeps/powerpc/soft-fp: Move directory from
30654         ports/sysdeps/powerpc/soft-fp.
30655         * sysdeps/powerpc/powerpc32/405: Move directory from
30656         ports/sysdeps/powerpc/powerpc32/405.
30657         * sysdeps/powerpc/powerpc32/440: Move directory from
30658         ports/sysdeps/powerpc/powerpc32/440.
30659         * sysdeps/powerpc/powerpc32/464: Move directory from
30660         ports/sysdeps/powerpc/powerpc32/464.
30661         * sysdeps/powerpc/powerpc32/476: Move directory from
30662         ports/sysdeps/powerpc/powerpc32/476.
30663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
30664         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
30665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
30666         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
30667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
30668         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
30669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
30670         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
30671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
30672         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
30673         * README: Update for powerpc-*-linux-gnu software floating point
30674         support in libc.
30676         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
30677         case to powerpc/powerpc32*.
30678         * sysdeps/unix/sysv/linux/configure: Regenerated.
30680         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
30681         (_FPU_MASK_OM): Define as 0x04.
30682         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
30683         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
30684         0x00c10080.
30685         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
30686         0x0000003c.
30687         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
30689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
30690         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30691         getcontext_e500.
30692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
30693         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30694         setcontext_e500.
30695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
30696         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
30697         and setcontext_e500.
30699 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
30701         * locale/iso-3166.def: Update iso-1366.def and related occurrences
30703 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30705         * manual/threads.texi (Default Thread Attributes): Fix typo.
30707 2013-10-04  Will Newton  <will.newton@linaro.org>
30709         * malloc/Makefile: Add tst-memalign.
30710         * malloc/tst-memalign.c: New file.
30712         * malloc/tst-posix_memalign.c: Add comments.
30713         (do_test): Add comments and call free on all potentially
30714         allocated pointers. Add space after cast.
30716         * malloc/tst-pvalloc.c: Add comments.
30717         (do_test): Add comments and call free on all potentially
30718         allocated pointers. Remove duplicate check for NULL pointer.
30719         Add space after cast.
30721         * malloc/tst-valloc.c: Add comments.
30722         (do_test): Add comments and call free on all potentially
30723         allocated pointers. Remove duplicate check for NULL pointer.
30724         Add space after cast.
30726 2013-10-04  Alan Modra  <amodra@gmail.com>
30728         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30729         Use stdint types in rather than __attribute__((mode())).
30730         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30732 2013-10-04  Alan Modra  <amodra@gmail.com>
30734         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30735         Correct handling of unaligned relocs for little-endian.
30736         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30738 2013-10-04  Alan Modra  <amodra@gmail.com>
30740         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30741         * configure: Regenerate.
30742         * nptl/shlib-versions: Powerpc*le starts at 2.18.
30743         * shlib-versions: Likewise.
30745 2013-10-04  Alan Modra  <amodra@gmail.com>
30747         * string/tester.c (test_memrchr): Increment reported test cycle.
30749 2013-10-04  Alan Modra  <amodra@gmail.com>
30751         * string/test-memcpy.c (do_one_test): When reporting errors, print
30752         string address and don't overrun end of string.
30754 2013-10-04  Alan Modra  <amodra@gmail.com>
30756         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30757         insrdi.  Make better use of reg selection to speed exit slightly.
30758         Schedule entry path a little better.  Remove useless "are we done"
30759         checks on entry to main loop.  Handle wrapping around zero address.
30760         Correct main loop count.  Handle single left-over word from main
30761         loop inline rather than by using loop_small.  Remove extra word
30762         case in loop_small caused by wrong loop count.  Add little-endian
30763         support.
30764         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30765         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
30766         cache hint.
30767         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30768         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30769         support.  Avoid rlwimi.
30770         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30772 2013-10-04  Alan Modra  <amodra@gmail.com>
30774         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30775         insrdi.  Formatting.
30776         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30777         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30778         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30779         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30780         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30781         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30783 2013-10-04  Alan Modra  <amodra@gmail.com>
30785         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30786         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30787         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30788         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30789         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30790         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30791         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30792         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30793         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30794         use of regs.  Use power7 mtocrf.  Tidy function tails.
30796 2013-10-04  Alan Modra  <amodra@gmail.com>
30798         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30799         Formatting.  Consistently use rXXX register defines or rN defines.
30800         Use early exit labels that avoid restoring unused non-volatile regs.
30801         Make cr field use more consistent with rWORDn compares.  Rename
30802         regs used as shift registers for unaligned loop, using rN defines
30803         for short lifetime/multiple use regs.
30804         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30805         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30806         addi 1,1,64 to pop stack frame.  Simplify return value code.
30807         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30809 2013-10-04  Alan Modra  <amodra@gmail.com>
30811         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30812         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30813         rather than rlwimi.
30814         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30815         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30816         little-endian support.  Correct typos.
30817         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30818         rather than rlwimi.
30819         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30820         in loop and entry code to keep "and." results.
30821         (strchr): Add little-endian support.  Comment.  Move cntlzd
30822         earlier in tail.
30823         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30825 2013-10-04  Alan Modra  <amodra@gmail.com>
30827         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30828         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30829         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30830         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30832 2013-10-04  Alan Modra  <amodra@gmail.com>
30834         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30835         (rTMP): Define as r11.
30836         (strcmp): Add little-endian support.  Optimise tail.
30837         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30838         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30839         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30840         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30841         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30842         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30843         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30845 2013-10-04  Alan Modra  <amodra@gmail.com>
30847         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30848         little-endian support.  Remove unnecessary "are we done" tests.
30849         Handle "s" wrapping around zero and extremely large "size".
30850         Correct main loop count.  Handle single left-over word from main
30851         loop inline rather than by using small_loop.  Correct comments.
30852         Delete "zero" tail, use "end_max" instead.
30853         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30855 2013-10-04  Alan Modra  <amodra@gmail.com>
30857         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30858         support.  Don't branch over align.
30859         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30860         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30861         support.  Rearrange tmp reg use to suit.  Comment.
30862         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30864 2013-10-04  Alan Modra  <amodra@gmail.com>
30866         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30868 2013-10-04  Alan Modra  <amodra@gmail.com>
30870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30871         conditional form of branch and link when obtaining pc.
30872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30874 2013-10-04  Alan Modra  <amodra@gmail.com>
30876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30877         HIWORD/LOWORD.
30878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30881 2013-10-04  Alan Modra  <amodra@gmail.com>
30883         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30884         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30885         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30886         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30887         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30888         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30889         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30890         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30891         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30892         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30894 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30895             Alistair Popple <alistair@ozlabs.au.ibm.com>
30896             Alan Modra <amodra@gmail.com>
30898         [BZ #15723]
30899         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30900         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30901         _dl_hwcap access for little-endian.
30902         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30903         destroy vmx regs when saving unaligned.
30904         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30905         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30906         destroy vmx regs when saving unaligned.
30908 2013-10-04  Alan Modra  <amodra@gmail.com>
30910         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30911         Don't use a union to pack hi/low value.
30913 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30915         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30916         for little-endian.
30917         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30918         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30919         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30920         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30921         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30923 2013-10-04  Alan Modra  <amodra@gmail.com>
30925         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30926         constants to usual value for .cst8 section, and remove redundant
30927         high address load.
30928         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30929         constant for 0x1p52.  Load little-endian words of double from
30930         correct stack offsets.
30932 2013-10-04  Alan Modra  <amodra@gmail.com>
30934         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30935         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30936         words of double from correct stack offsets.
30937         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30938         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30939         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30940         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30941         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30942         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30943         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30944         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30945         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30946         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30947         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30948         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30949         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30950         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30951         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30952         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30953         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30955 2013-10-04  Alan Modra  <amodra@gmail.com>
30957         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30958         64-bit int/double union.
30959         (_FPU_SETCW): Likewise.
30960         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30961         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30963 2013-10-04  Alan Modra  <amodra@gmail.com>
30965         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30966         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30968 2013-10-04  Alan Modra  <amodra@gmail.com>
30970         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30971         use vector int constants.
30972         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30974 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30976         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30977         array with long long.
30978         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30979         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30980         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30981         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30982         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30983         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30984         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30985         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30986         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30987         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30988         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30989         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30990         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30992 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30994         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30995         (__signbit): Likewise.  Correct for little-endian.
30996         (__signbitl): Call __signbit.
30997         (lrint): Correct for little-endian.
30998         (lrintf): Call lrint.
31000 2013-10-04  Alan Modra  <amodra@gmail.com>
31002         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
31003         union 32-bit int array member with 64-bit int array.
31004         (t515, tm256): Double rather than long double.
31005         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
31007 2013-10-04  Alan Modra  <amodra@gmail.com>
31009         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
31010         Delete.
31011         (IEEE854_LONG_DOUBLE_BIAS): Delete.
31012         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
31013         version of math_ldbl.h.
31015 2013-10-04  Alan Modra  <amodra@gmail.com>
31017         [BZ #15734], [BZ #15735]
31018         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
31019         all uses of ieee875 long double macros and unions.  Simplify test
31020         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
31021         ldbl_extract_mantissa value for ix,iy exponents.  Properly
31022         normalize after ldbl_extract_mantissa, and don't add hidden bit
31023         already handled.  Don't treat low word of ieee854 mantissa like
31024         low word of IBM long double and mask off bit when testing for
31025         zero.
31026         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
31027         all uses of ieee875 long double macros and unions.  Simplify tests
31028         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
31029         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
31030         two1022, instead use their values.  Recognise that tests for large
31031         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
31032         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
31033         Rewrite all uses of ieee875 long double macros and unions.  Simplify
31034         test for 0.0L and nan.  Correct negation.
31035         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
31036         ieee875 long double macros and unions.  Correct output for large
31037         magnitude x.  Correct absolute value calculation.
31038         (__erfcl): Likewise.
31039         * math/libm-test.inc: Add tests for errors discovered in IBM long
31040         double versions of fmodl, remainderl, erfl and erfcl.
31042 2013-10-04  Alan Modra  <amodra@gmail.com>
31044         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
31045         all uses of ieee854 long double macros and unions.  Simplify tests
31046         for long doubles that are fully specified by the high double.
31047         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31048         Likewise.
31049         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
31050         Remove dead code too.
31051         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31052         (__ieee754_ynl): Likewise.
31053         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31054         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
31055         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31056         Remove dead code too.
31057         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
31058         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
31059         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
31060         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
31061         Simplify.
31062         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
31063         Simplify.
31064         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
31065         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31066         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
31067         Comment on variable precision.
31068         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
31069         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31070         Likewise.
31071         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31072         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31073         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31074         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
31075         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
31077 2013-10-04  Alan Modra  <amodra@gmail.com>
31079         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
31080         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
31081         all uses of ieee854 long double macros and unions.
31082         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
31083         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31084         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
31085         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
31086         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31087         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31088         Likewise.
31089         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
31090         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31091         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
31092         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31093         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
31094         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
31095         Simplify sign and nan test too.
31096         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
31097         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31098         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
31099         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31100         Likewise.
31101         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31102         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
31103         Likewise.
31104         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31105         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31106         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
31107         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
31108         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
31109         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
31111 2013-10-04  Alan Modra  <amodra@gmail.com>
31113         * stdio-common/printf_size.c (__printf_size): Don't use
31114         union ieee854_long_double in fpnum union.
31115         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
31116         signbit macro to retrieve sign from long double.
31117         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
31118         retrieve sign from long double.
31119         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
31120         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
31121         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
31122         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31123         * math/test-misc.c (main): Don't use union ieee854_long_double.
31125 2013-10-04  Alan Modra  <amodra@gmail.com>
31127         [BZ #15680]
31128         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
31129         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
31130         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
31131         calculation.  Remove unnecessary test for denormal exponent.
31132         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
31133         Correct handling of denormals.  Avoid undefined shift behaviour.
31134         Correct normalisation of low mantissa when low double is denormal.
31135         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
31136         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
31137         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
31138         Correct normalisation of low mantissa.  Test for overflow of high
31139         mantissa and normalise.
31140         (ldbl_nearbyint): Use more readable constant for two52.
31141         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
31142         (__mpn_construct_long_double): Fix test for overflow of high
31143         mantissa and correct normalisation.  Avoid undefined shift.
31145 2013-10-04  Alan Modra  <amodra@gmail.com>
31147         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31148         (union ibm_extended_long_double): Define as an array of ieee754_double.
31149         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
31150         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
31151         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
31152         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31153         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31154         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
31155         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31156         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31157         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31158         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
31159         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31161 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
31163         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
31164         page size instead of calling getpagesize.
31166         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
31167         (LOCFILE_ALIGN_MASK): Likewise.
31168         (LOCFILE_ALIGN_UP): Likewise.
31169         (LOCFILE_ALIGNED_P): Likewise.
31170         * locale/programs/ld-collate.c (collate_output): Use the new
31171         macros instead of __alignof__ (int32_t).
31172         * locale/weight.h (findidx): Likewise.
31174 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
31176         [BZ #431]
31177         * manual/string.texi: Fix strncat and wcsncat.
31179 2013-10-03  Brooks Moses  <bmoses@google.com>
31181         [BZ #15915]
31182         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
31183         * Makerules: ...here, and adjust associated comments.
31185 2013-10-02  Will Newton  <will.newton@linaro.org>
31187         * malloc/Makefile: Add tst-pvalloc.
31188         * malloc/tst-pvalloc.c: New file.
31190 2013-10-02  Will Newton  <will.newton@linaro.org>
31192         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
31193         improve test coverage.
31195 2013-10-02  Will Newton  <will.newton@linaro.org>
31197         * malloc/Makefile: Add tst-posix_memalign.
31198         * malloc/tst-posix_memalign.c: New file.
31200 2013-10-01  Eric Blake  <eblake@redhat.com>
31202         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
31203         Use __THROWNL rather than __THROW on static functions.
31205 2013-09-30  Petr Machata  <pmachata@redhat.com>
31207         * elf/elf.h (R_AARCH64_ABS16): New macro.
31208         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
31209         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
31210         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
31211         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
31212         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
31213         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
31214         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
31215         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
31216         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
31217         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
31218         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
31219         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
31220         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
31221         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
31222         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
31223         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
31224         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
31225         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
31226         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
31227         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
31228         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
31229         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
31230         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
31231         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
31232         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
31233         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
31234         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
31235         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
31236         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
31237         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
31238         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
31239         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
31240         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
31241         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
31242         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
31243         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
31244         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
31245         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
31246         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
31247         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
31248         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
31249         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
31250         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
31251         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
31252         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
31253         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
31254         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
31255         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
31256         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
31257         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
31258         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
31259         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
31260         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
31261         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
31262         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
31263         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
31264         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
31265         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
31266         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
31267         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
31268         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
31269         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
31270         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
31271         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
31272         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
31273         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
31274         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
31275         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
31276         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
31277         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
31278         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
31279         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
31280         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
31281         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
31282         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
31283         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
31284         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
31285         (R_AARCH64_TLSDESC_LDR): Likewise.
31286         (R_AARCH64_TLSDESC_ADD): Likewise.
31287         (R_AARCH64_TLSDESC_CALL): Likewise.
31289 2013-09-30  Andreas Schwab  <schwab@suse.de>
31291         [BZ #15048]
31292         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
31293         the nss database lookup.
31294         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31295         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31297 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
31299         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
31301 2013-09-28  P. J. McDermott  <pj@pehjota.net>
31303         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
31304         ${Bash-specific parameter/pattern/string} parameter expansion.
31305         * sysdeps/unix/make-syscalls.sh: Likewise.
31307 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31309         * sysdeps/sh/stackguard-macros.h: New file.
31311 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
31313         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31314         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
31315         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
31316         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
31317         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31318         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
31320 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31322         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
31323         Fix thread ID register.
31325 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
31327         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
31328         [POSIX || UNIX98]: Require rather than permitting all symbols from
31329         <time.h>.
31330         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
31331         element of struct sched_param.
31332         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
31333         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
31334         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
31335         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
31336         constant.
31338 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
31340         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
31341         argument calculation.
31343 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31345         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
31346         Expect macro.
31347         [POSIX] (pthread_attr_t): Do not require type.
31348         [POSIX] (pthread_cond_t): Likewise.
31349         [POSIX] (pthread_condattr_t): Likewise.
31350         [POSIX] (pthread_key_t): Likewise.
31351         [POSIX] (pthread_mutex_t): Likewise.
31352         [POSIX] (pthread_mutexattr_t): Likewise.
31353         [POSIX] (pthread_once_t): Likewise.
31354         [POSIX] (pthread_t): Likewise.
31355         [POSIX-based standards] (pthread_atfork): Expect function.
31357 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31358             Richard Sandiford  <richard@codesourcery.com>
31360         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
31361         (swap_endianness_p): New extern variable.
31362         (set_big_endian): New inline function.
31363         (maybe_swap_uint32): Likewise.
31364         (maybe_swap_uint32_array): Likewise.
31365         (maybe_swap_uint32_obstack): Likewise.
31366         * locale/programs/locfile.c: Include <stdbool.h>.
31367         (swap_endianness_p): New variable.
31368         (add_locale_uint32): Call maybe_swap_uint32.
31369         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
31370         (write_locale_data): Call maybe_swap_uint32_array.
31371         * locale/programs/ld-collate.c (obstack_int32_grow): Call
31372         maybe_swap_uint32.
31373         (obstack_int32_grow_fast): Likewise.
31374         (output_weightwc): Call maybe_swap_uint32_obstack.
31375         (collate_output): Likewise.
31376         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
31377         (OPT_LITTLE_ENDIAN): Likewise.
31378         (options): Add --little-endian and --big-endian options.
31379         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
31380         * locale/programs/locarchive.c: Include "locfile.h".
31381         (GET): New macro.
31382         (SET): Likewise.
31383         (INC): Likewise.
31384         (create_archive): Use the new macros to access fields of
31385         structures directly mapped from or written to locale archives.
31386         (oldlocrecentcmp): Likewise.
31387         (enlarge_archive): Likewise.
31388         (insert_name): Likewise.
31389         (add_alias): Likewise.
31390         (add_locale): Likewise.
31391         (delete_locales_from_archive): Likewise.
31392         (show_archive_content): Likewise.
31393         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
31394         locale data.
31396 2013-09-24  Roland McGrath  <roland@hack.frob.com>
31398         * manual/freemanuals.texi: Updated from (newly) canonical copy at
31399         http://www.gnu.org/doc/freemanuals.texi.
31400         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
31402 2013-09-24  Will Newton  <will.newton@linaro.org>
31404         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
31405         macro.
31407 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
31409         * locale/hashval.h (compute_hashval): Interpret bytes of key as
31410         unsigned char.
31412 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
31414         * manual/threads.texi (POSIX Threads): Fix a typo.
31416 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31418         [BZ #14547]
31419         * string/tst-strcoll-overflow.c: New test case.
31420         * string/Makefile (xtests): Add tst-strcoll-overflow.
31421         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
31422         cache if string sizes may cause integer overflow.
31424         [BZ #14547]
31425         * string/strcoll_l.c (coll_seq): New members rule, idx,
31426         save_idx and back_us.
31427         (get_next_seq_nocache): New function.
31428         (do_compare_nocache): New function.
31429         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
31430         when malloc fails.
31432 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
31434         [BZ #15754]
31435         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
31436         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
31437         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
31439         [BZ #15754]
31440         * elf/Makefile (tests): Add tst-ptrguard1.
31441         (tests-static): Add tst-ptrguard1-static.
31442         (tst-ptrguard1-ARGS): Define.
31443         (tst-ptrguard1-static-ARGS): Define.
31444         * elf/tst-ptrguard1.c: New file.
31445         * elf/tst-ptrguard1-static.c: New file.
31446         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
31447         * sysdeps/i386/stackguard-macros.h: Likewise.
31448         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31449         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31450         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31451         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31452         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31453         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31455 2013-09-23  Hector Marco  <hecmargi@upv.es>
31456             Ismael Ripoll  <iripoll@disca.upv.es>
31457             Carlos O'Donell  <carlos@redhat.com>
31459         [BZ #15754]
31460         * sysdeps/generic/stackguard-macros.h: Define
31461         __pointer_chk_guard_local and POINTER_CHK_GUARD.
31462         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
31463         Define __pointer_chk_guard_local.
31464         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
31465         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
31467 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
31469         [BZ #15859]
31470         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
31472 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
31474         * include/string.h (__ffs): Declare as hidden.
31475         * string/ffs.c (__ffs): Define as hidden.
31476         * sysdeps/i386/ffs.c (__ffs): Likewise.
31477         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
31478         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
31479         * sysdeps/s390/ffs.c (__ffs): Likewise.
31480         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
31482 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
31484         * NEWS: Mention malloc probes.
31486         * malloc/arena.c (new_heap): New memory_heap_new probe.
31487         (grow_heap): New memory_heap_more probe.
31488         (shrink_heap): New memory_heap_less probe.
31489         (heap_trim): New memory_heap_free probe.
31490         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
31491         (systrim): New memory_sbrk_less probe.
31492         * manual/probes.texi: Document them.
31494         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
31495         * manual/probes.texi: Document it.
31497         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
31498         (__libc_realloc): Add memory_realloc_retry probe.
31499         (__libc_memalign): Add memory_memalign_retry probe.
31500         (__libc_valloc): Add memory_valloc_retry probe.
31501         (__libc_pvalloc): Add memory_pvalloc_retry probe.
31502         (__libc_calloc): Add memory_calloc_retry probe.
31503         * manual/probes.texi: Document them.
31505         * malloc/arena.c (get_free_list): Add probe
31506         memory_arena_reuse_free_list.
31507         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
31508         and memory_arena_reuse.
31509         (arena_get2) [!PER_THREAD]: Likewise.
31510         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
31511         memory_arena_reuse_realloc.
31512         * manual/probes.texi: Document them.
31514         * malloc/malloc.c (__libc_free): Add
31515         memory_mallopt_free_dyn_thresholds probe.
31516         (__libc_mallopt): Add multiple memory_mallopt probes.
31517         * manual/probes.texi: Document them.
31519         * malloc/malloc.c: Include stap-probe.h.
31520         (__libc_mallopt): Add memory_mallopt probe.
31521         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
31522         * manual/probes.texi: New.
31523         * manual/Makefile (chapters): Add probes.
31524         * manual/threads.texi: Set next node.
31526 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
31528         [BZ #15963, #13985]
31529         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
31530         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
31531         Add `Chinese' to `nan' entry name.
31533 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31535         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
31536         (POLYNOMIAL): Likewise.
31537         (TAYLOR_SINCOS): Likewise.
31538         (TAYLOR_SLOW): Likewise.
31539         (__sin): Use TAYLOR_SINCOS.
31540         (__cos): Likewise.
31541         (slow): Use TAYLOR_SLOW.
31542         (sloww): Likewise.
31543         (bsloww): Likewise.
31544         (csloww): Likewise.
31546 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31548         * stdlib/strtod_l.c: Fix buffer overrun.
31550 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31552         * benchtests/Makefile (bench): Add sincos.
31553         * benchtests/bench-sincos.c: New file.
31555         * math/libm-test.inc (cos_test_data): New test inputs.
31556         (sin_test_data): Likewise.
31558         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
31559         macro.
31560         (__sin): Use it.
31561         (__cos): Likewise.
31562         (slow1): Likewise.
31563         (slow2): Likewise.
31564         (sloww1): Likewise.
31565         (sloww2): Likewise.
31566         (bsloww1): Likewise.
31567         (bsloww2): Likewise.
31568         (cslow2): Likewise.
31569         (csloww1): Likewise.
31570         (csloww2): Likewise.
31572         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
31573         function.
31574         (__sin): Use it.
31575         (__cos): Likewise.
31577         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
31578         gotos.
31579         (__cos): Likewise.
31581 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
31583         * config.h.in (HAVE_MIPS_NAN2008): New macro.
31584         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
31585         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
31586         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
31587         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
31588         * elf/cache.c (print_entry): Handle the new cache flags.
31590 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31591             Aldy Hernandez  <aldyh@redhat.com>
31593         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
31594         Change condition to [_SOFT_FLOAT].
31595         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
31596         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
31597         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
31598         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
31599         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
31600         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
31601         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
31602         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
31603         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
31604         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
31605         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
31606         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
31607         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
31608         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
31609         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
31610         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
31611         declaration.
31613 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31615         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
31616         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31617         (__longjmp): Use LOAD_GP to load saved GPRs.
31618         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
31619         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31620         (__sigsetjmp): Use SAVE_GP to save GPRs.
31622         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
31623         Do not append -msoft-float.
31624         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
31626 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31628         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
31630 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
31632         [BZ #15966]
31633         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
31634         (_FPU_GETCW): Use initial "__" on variable and field names but not
31635         on macro parameter name.
31636         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
31637         parentheses around reference to macro parameter.
31639 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
31641         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
31642         prototype.
31643         (ctype_startup): Use uint32_t in cast and sizeof for
31644         ctype->charnames.
31646 2013-09-11  Jia Liu  <proljc@gmail.com>
31648         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
31649         __daddr_t_defined.
31650         [__FreeBSD__]: Likewise.
31652 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
31654         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31655         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
31656         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
31657         (strchr): Remove __strchr_sse42 ifunc selection.
31658         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
31659         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
31661 2013-09-11  Will Newton  <will.newton@linaro.org>
31663         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
31664         parameter to RES. Remove hardcoded 1000 value.
31665         * benchtests/bench-skeleton.c (main): Pass RES parameter
31666         to TIMING_INIT and multiply result by 1000.
31668 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31672 2013-09-11  Andreas Schwab  <schwab@suse.de>
31674         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31675         if not defined.
31676         (O_TMPFILE) [__USE_GNU]: Define.
31677         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
31678         Define.
31680 2013-09-11  Will Newton  <will.newton@linaro.org>
31682         [BZ #15857]
31683         * malloc/malloc.c (__libc_memalign): Check the value of bytes
31684         does not overflow.
31686 2013-09-11  Will Newton  <will.newton@linaro.org>
31688         [BZ #15856]
31689         * malloc/malloc.c (__libc_valloc): Check the value of bytes
31690         does not overflow.
31692 2013-09-11  Will Newton  <will.newton@linaro.org>
31694         [BZ #15855]
31695         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
31696         does not overflow.
31698 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
31700         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
31701         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31702         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31703         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31704         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31706 2013-09-10  Allan McRae  <allan@archlinux.org>
31708         [BZ #15748]
31709         * manual/arith.texi (Parsing of Floats): Clarify
31710         cross-reference.
31712         [BZ #15849]
31713         * manual/install.texi (Running make install): Mention
31714         --enable-pt-chown.
31715         * INSTALL: Regenerated.
31717 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
31719         * csu/init-first.c (_init): Remove the !SHARED condition around
31720         FPU control word initialization.
31721         * elf/dl-support.c (_dl_fpu_control): New variable.
31722         (_dl_aux_init) <AT_FPUCW>: Initialize it.
31723         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31724         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31725         * math/test-fpucw-static.c: New file.
31726         * math/test-fpucw-ieee.c: New file.
31727         * math/test-fpucw-ieee-static.c: New file.
31728         * math/Makefile (tests): Add `test-fpucw-ieee' and
31729         `$(tests-static)'.
31730         (tests-static): New variable.
31731         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31732         dependency to...
31733         [($(build-shared),yes)]
31734         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31735         ... this.
31736         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31737         New dependency.
31739 2013-09-09  Allan McRae  <allan@archlinux.org>
31741         [BZ #15939]
31742         * manual/string.texi (Collation Functions): Fix typo in
31743         strcoll example.
31744         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31746         [BZ #15893]
31747         * stdlib/isomac.c (get_null_defines): Fix memory leak.
31749         [BZ #15892]
31750         * libio/memstream.c (open_memstream): Fix memory leak.
31751         * libio/wmemstream.c (open_wmemstream): Likewise.
31753         [BZ #15895]
31754         * nscd/netgroupcache.c: Fix nesting of ifdefs.
31756 2013-09-09  Will Newton  <will.newton@linaro.org>
31758         * malloc/Makefile: Add tst-realloc to tests.
31759         * malloc/tst-realloc.c: New file.
31761 2013-09-09  Allan McRae  <allan@archlinux.org>
31763         [BZ #15844]
31764         * COPYING: Update from GNU website to fix FSF address.
31765         * COPYING.LIB: Likewise.
31767 2013-09-06  David S. Miller  <davem@davemloft.net>
31769         * po/zh_TW.po: Update Chinese (traditional) translation from
31770         translation project.
31772 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31773             Joseph Myers  <joseph@codesourcery.com>
31775         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31776         "localeinfo.h".
31777         (obstack_chunk_alloc): New macro.
31778         (obstack_chunk_free): Likewise.
31779         (record_offset): New function.
31780         (init_locale_data): Likewise.
31781         (align_locale_data): Likewise.
31782         (add_locale_empty): Likewise.
31783         (add_locale_raw_data): Likewise.
31784         (add_locale_raw_obstack): Likewise.
31785         (add_locale_string): Likewise.
31786         (add_locale_wstring): Likewise.
31787         (add_locale_uint32): Likewise.
31788         (add_locale_uint32_array): Likewise.
31789         (add_locale_char): Likewise.
31790         (start_locale_structure): Likewise.
31791         (end_locale_structure): Likewise.
31792         (start_locale_prelude): Likewise.
31793         (end_locale_prelude): Likewise.
31794         (write_locale_data): Take locale_file structure rather than an
31795         iovec.
31796         * locale/programs/locfile.h: Include "obstack.h".
31797         (struct locale_file): Change to store locale file contents instead
31798         of header.
31799         (init_locale_data): New prototype.
31800         (align_locale_data): Likewise.
31801         (add_locale_empty): Likewise.
31802         (add_locale_raw_data): Likewise.
31803         (add_locale_raw_obstack): Likewise.
31804         (add_locale_string): Likewise.
31805         (add_locale_wstring): Likewise.
31806         (add_locale_uint32): Likewise.
31807         (add_locale_uint32_array): Likewise.
31808         (add_locale_char): Likewise.
31809         (start_locale_structure): Likewise.
31810         (end_locale_structure): Likewise.
31811         (start_locale_prelude): Likewise.
31812         (end_locale_prelude): Likewise.
31813         (write_locale_data): Update prototype.
31814         * locale/programs/3level.h (struct TABLE): Remove result field.
31815         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31816         Use new locale_file interface.
31817         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31818         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31819         * locale/programs/ld-address.c (address_output): Use new
31820         locale_file interface.
31821         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31822         NO_ADD_LOCALE.
31823         (collate_finish): Don't call collseq_table_finalize.
31824         (collate_output): Use new locale_file interface.
31825         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31826         in file.
31827         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31828         (TABLE): Move defines earlier in file.
31829         (ELEMENT): Likewise.
31830         (DEFAULT): Likewise.
31831         (wctrans_table_add): Move macro and inline function earlier in
31832         file.
31833         (struct wctype_table): Move type earlier in file.
31834         (add_locale_wctype_table): New static prototype.
31835         (struct locale_ctype_t): Use logical types instead of struct iovec
31836         pointers for members.
31837         (ctype_output): Use new locale_file interface.
31838         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31839         new locale_file interface.
31840         (allocate_arrays): Update for use of new locale_file interface.
31841         * locale/programs/ld-identification.c (identification_output): Use
31842         new locale_file interface.
31843         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31844         * locale/programs/ld-messages.c (messages_output): Likewise.
31845         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31846         * locale/programs/ld-name.c (name_output): Likewise.
31847         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31848         * locale/programs/ld-paper.c (paper_output): Likewise.
31849         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31850         * locale/programs/ld-time.c (time_output): Likewise.
31852 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31854         * benchtests/Makefile: Add memrchr benchmark.
31855         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31856         benchmark as memrchr.
31857         * benchtests/bench-memrchr-ifunc.c: New file.
31858         * benchtests/bench-memrchr.c: New file.
31860 2013-09-06   Will Newton  <will.newton@linaro.org>
31862         * benchtests/Makefile (string-bench): Add memcpy.
31864 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31865             Cong Wang  <amwang@redhat.com>
31867         [BZ #15850]
31868         * sysdeps/unix/sysv/linux/bits/in.h
31869         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31870         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31871         before __USE_KERNEL_IPV6_DEFS uses.
31872         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31873         IPPROTO_BEETPH.
31874         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31875         sockaddr_in6, or ipv6_mreq.
31877 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31879         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31880         memory access for final bytes in some large inputs.
31881         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31883 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31885         * string/test-memrchr.c: New file.
31886         * string/test-memrchr-ifunc.c: New file.
31887         * string/Makefile: Add new memrchr testcase.
31889 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31891         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31892         fanotify_init returns EPERM.
31894 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31896         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31897         errors.
31898         (top level): Treat second token from macro or constant entries for
31899         allowed headers as allowed.
31900         * include/complex.h: Condition internal declarations on
31901         [!_ISOMAC].
31902         * include/fenv.h: Condition include of <stdbool.h> and internal
31903         declarations on [!_ISOMAC].
31905 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31907         [BZ #15923]
31908         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31910 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31912         * configure.in (--enable-versioning): Remove configure option.
31913         (libc_cv_asm_symver_directive): Remove configure test.
31914         (libc_cv_ld_version_script_option): Likewise.
31915         (VERSIONING): Remove variable and AC_SUBST.
31916         (DO_VERSIONING): Remove AC_DEFINE.
31917         * configure: Regenerated.
31918         * config.h.in (DO_VERSIONING): Remove macro.
31919         * Makerules [$(versioning) = yes]: Change conditionals to
31920         [$(build-shared) = yes].
31921         * config.make.in (versioning): Remove variable.
31922         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31923         [$(build-shared) = yes].
31924         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31925         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31926         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31927         [$(build-shared) = yes].
31928         * extra-lib.mk [$(versioning) = yes]: Likewise.
31929         * hurd/Makefile [$(versioning) = yes]: Likewise.
31930         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31931         [SHARED].
31932         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31933         [SHARED].
31934         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31935         [SHARED && !NO_HIDDEN].
31936         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31937         [SHARED].
31938         [SHARED && DO_VERSIONING]: Likewise..
31939         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31940         [$(build-shared) = yes].
31941         * manual/install.texi (--disable-versioning): Remove
31942         documentation.
31943         * INSTALL: Regenerated.
31944         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31945         to [SHARED].
31946         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31947         [$(build-shared) = yes].
31948         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31949         * sysdeps/i386/i686/multiarch/strstr-c.c
31950         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31951         [SHARED && !NO_HIDDEN].
31952         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31953         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31954         * sysdeps/powerpc/powerpc32/dl-machine.c
31955         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31956         * sysdeps/powerpc/powerpc32/sysdep.h
31957         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31958         to [SHARED && PIC && !NO_HIDDEN].
31959         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31960         conditional to [SHARED].
31962 2013-09-04   Will Newton  <will.newton@linaro.org>
31964         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31965         * benchtests/bench-string.h: Include bench-timing.h instead
31966         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31967         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31968         call to HP_TIMING_DIFF_INIT.
31969         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31970         instead of hp-timing.h macros.
31971         * benchtests/bench-memchr.c: Likewise.
31972         * benchtests/bench-memcmp.c: Likewise.
31973         * benchtests/bench-memcpy.c: Likewise.
31974         * benchtests/bench-memmem.c: Likewise.
31975         * benchtests/bench-memmove.c: Likewise.
31976         * benchtests/bench-memset.c: Likewise.
31977         * benchtests/bench-rawmemchr.c: Likewise.
31978         * benchtests/bench-strcasecmp.c: Likewise.
31979         * benchtests/bench-strcasestr.c: Likewise.
31980         * benchtests/bench-strcat.c: Likewise.
31981         * benchtests/bench-strchr.c: Likewise.
31982         * benchtests/bench-strcmp.c: Likewise.
31983         * benchtests/bench-strcpy.c: Likewise.
31984         * benchtests/bench-strcpy_chk.c: Likewise.
31985         * benchtests/bench-strlen.c: Likewise.
31986         * benchtests/bench-strncasecmp.c: Likewise.
31987         * benchtests/bench-strncat.c: Likewise.
31988         * benchtests/bench-strncmp.c: Likewise.
31989         * benchtests/bench-strncpy.c: Likewise.
31990         * benchtests/bench-strnlen.c: Likewise.
31991         * benchtests/bench-strpbrk.c: Likewise.
31992         * benchtests/bench-strrchr.c: Likewise.
31993         * benchtests/bench-strspn.c: Likewise.
31994         * benchtests/bench-strstr.c: Likewise.
31996 2013-09-04  Will Newton  <will.newton@linaro.org>
31998         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
32000 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
32002         [BZ #15427]
32003         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32004         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
32005         * math/libm-test.inc (lgamma_test_data): Add more tests.
32006         * sysdeps/i386/fpu/libm-test-ulps: Update.
32007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32009 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
32011         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
32012         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32013         Add ifunc.
32014         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32015         Add strcmp-sse2-unaligned
32016         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
32018 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
32020         * Versions.def (libc): Add GLIBC_2.19.
32022 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
32024         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
32025         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
32027 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
32029         [BZ #14155]
32030         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
32031         intermediate calculations in recurrence.
32032         (__ieee754_ynf): Likewise.
32033         * math/libm-test.inc (jn_test_data): Do not allow spurious
32034         underflow exception.  Add more tests.
32035         (yn_test_data): Add more tests.
32036         * sysdeps/i386/fpu/libm-test-ulps: Update.
32037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32039 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
32041         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
32043 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
32045         * csu/init-first.c: Fix then/than typos.
32046         * locale/programs/ld-collate.c: Likewise.
32047         * locale/programs/linereader.h: Likewise.
32048         * manual/charset.texi: Likewise.
32049         * manual/filesys.texi: Likewise.
32050         * manual/stdio.texi: Likewise.
32051         * manual/string.texi: Likewise.
32052         * stdlib/fmtmsg.c: Likewise.
32053         * sysdeps/i386/stpncpy.S: Likewise.
32054         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32055         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32056         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32057         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32059 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
32061         * elf/dl-open.c: Fix typos.
32062         * iconvdata/gbbig5.c: Likewise.
32063         * iconvdata/iso-2022-jp.c: Likewise.
32064         * iconv/gconv_int.h: Likewise.
32065         * iconv/loop.c: Likewise.
32066         * nis/rpcsvc/nis.h: Likewise.
32067         * resolv/ns_name.c: Likewise.
32068         * stdio-common/vfscanf.c: Likewise.
32069         * streams/stropts.h: Likewise.
32070         * sunrpc/rpc_thread.c: Likewise.
32071         * sysdeps/i386/strpbrk.S: Likewise.
32072         * sysdeps/ieee754/k_standard.c: Likewise.
32073         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32074         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32075         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
32076         * sysdeps/mach/hurd/profil.c: Likewise.
32077         * sysdeps/s390/dl-procinfo.h: Likewise.
32078         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
32079         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32080         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
32081         * sysdeps/x86_64/dl-trampoline.S: Likewise.
32082         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32084 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
32086         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
32087         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
32089 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
32091         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
32092         aix specific files.
32093         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
32094         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
32095         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
32096         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
32097         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
32098         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
32099         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
32100         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
32102 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
32103             Roland McGrath  <roland@hack.frob.com>
32105         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
32106         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
32108 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32110         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
32111         __executable_start symbol instead of _start.
32113 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
32115         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
32116         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
32117         Move macros to...
32118         * sysdeps/gnu/ldsodefs.h: ... this new file.
32120         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
32121         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
32122         instead of ELFOSABI_LINUX.
32124         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
32125         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
32126         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
32127         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
32128         Likewise.
32129         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
32130         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
32131         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
32132         Likewise.
32133         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32134         (ibm_extended_long_double): Add ieee_nan member.
32135         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
32136         (do_test): New function.
32138         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
32139         TEST_TRUNC.
32140         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
32141         functions, renamed from truncdfsf_test, trunctfsf_test,
32142         trunctfdf_test.
32143         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
32144         functions.
32145         (do_test): Run all these.
32147 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
32149         * argp/argp-help.c: Fix typos.
32150         * argp/argp-parse.c: Likewise.
32151         * debug/backtracesyms.c: Likewise.
32152         * elf/elf.h: Likewise.
32153         * malloc/malloc.c: Likewise.
32154         * nis/nis_print.c: Likewise.
32155         * resolv/res_comp.c: Likewise.
32156         * stdlib/stdlib.h: Likewise.
32157         * sunrpc/clnt_tcp.c: Likewise.
32158         * sunrpc/clnt_udp.c: Likewise.
32159         * sunrpc/clnt_unix.c: Likewise.
32160         * sysdeps/unix/bsd/ptsname.c: Likewise.
32161         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32162         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
32163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
32164         Likewise.
32165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
32166         Likewise.
32167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32168         Likewise.
32169         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32171 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32173         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
32174         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32176 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
32178         [BZ #15897]
32179         * dlfcn/Makefile (tests): Add bug-dl-leaf.
32180         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
32181         ($(objpfx)bug-dl-leaf): New rule.
32182         ($(objpfx)bug-dl-leaf.so): Likewise.
32183         ($(objpfx)bug-dl-leaf.out): Likewise.
32184         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
32185         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
32186         * dlfcn/bug-dl-leaf.c: New test.
32187         * dlfcn/bug-dl-leaf-lib.c: Likewise.
32188         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
32189         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
32190         (dlclose): Likewise.
32191         (dlmopen): Likewise.
32193 2013-08-27  Roland McGrath  <roland@hack.frob.com>
32195         * include/netdb.h [!_ISOMAC]:
32196         Don't include <tls.h>.
32197         (h_errno, __libc_h_errno): Move declaration and macros out of
32198         [_LIBC_REENTRANT].
32200         * include/resolv.h [_RESOLV_H_]:
32201         Don't include <tls.h>.
32202         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
32203         * resolv/res_libc.c: Don't include <tls.h>.
32204         (_res): Use __attribute__ ((nocommon)) in place of
32205         __attribute__ ((section (".bss"))).
32207         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
32208         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
32210         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
32212         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
32213         only under [SIOCGIFCONF && SIOCGIFNETMASK].
32215         * resolv/res_mkquery.c: Include <sys/time.h>.
32217         * inet/ifreq.c: Moved to ...
32218         * sysdeps/unix/ifreq.c: ... here.
32219         * inet/ifreq.c: New file, true stub version.
32221         * socket/sa_len.c: New file.
32222         * socket/Makefile (aux): Add it.
32223         * sysdeps/unix/sysv/linux/Makefile
32224         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
32225         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
32226         and #include <socket/sa_len.c>.
32227         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
32228         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
32230         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
32231         * bits/socket.h: ... here.
32233         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
32234         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
32235         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
32237 2013-08-27  Andreas Schwab  <schwab@suse.de>
32239         [BZ #15736]
32240         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
32241         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
32242         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
32243         * string/test-strcasecmp.c (test_main): Run tests in several
32244         locales.
32245         * string/test-strncasecmp.c (test_main): Likewise.
32247         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
32248         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
32249         to __strcasecmp_nonascii and __strncasecmp_nonascii.
32250         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
32251         (__strncasecmp_ssse3) [PIC]: Likewise.
32253 2013-08-26  Roland McGrath  <roland@hack.frob.com>
32255         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
32257         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
32258         instead of explicitly declaring xdecrypt.
32259         * nis/nss_nis/nis-publickey.c: Likewise.
32261 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32263         [BZ #15890]
32264         * nscd/aicache.c: Include res_hconf.h.
32265         (addhstaiX): Initialize res_hconf.
32267 2013-08-26  Andreas Schwab  <schwab@suse.de>
32269         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
32270         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
32272 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32274         * nscd/aicache.c (addhstaiX): Fix indentation.
32276 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
32278         * configure.ac: Quote $build_pt_chown test.
32279         * configure: Regenerated.
32281 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
32283         [BZ #15532]
32284         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
32285         * math/s_cexpf.c (__cexpf): Likewise.
32286         * math/s_cexpl.c (__cexpl): Likewise.
32287         * math/libm-test.inc (cexp_test_data): Correct expected return
32288         value for NaN + i0.  Add another test.
32290 2013-08-22  David S. Miller  <davem@davemloft.net>
32292         * po/ca.po: Update Catalan translation from translation project.
32293         * po/uk.po: Add Ukrainian translations from translation project.
32295 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
32297         [BZ #15797]
32298         * math/s_fdim.c (__fdim): Check for infinite arguments if result
32299         is infinite, not alongside NaN test.
32300         * math/s_fdimf.c (__fdimf): Likewise.
32301         * math/s_fdiml.c (__fdiml): Likewise.
32302         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
32303         errno is unchanged.
32305 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
32307         * argp/argp-help.c: Fix typos.
32308         * crypt/speeds.c: Likewise.
32309         * csu/check_fds.c: Likewise.
32310         * elf/dl-load.c: Likewise.
32311         * elf/dl-open.c: Likewise.
32312         * elf/reldep3.c: Likewise.
32313         * elf/reldep.c: Likewise.
32314         * elf/sprof.c: Likewise.
32315         * iconv/iconv_charmap.c: Likewise.
32316         * iconv/skeleton.c: Likewise.
32317         * iconv/strtab.c: Likewise.
32318         * io/lockf64.c: Likewise.
32319         * libio/libioP.h: Likewise.
32320         * resolv/gai_notify.c: Likewise.
32321         * resolv/ns_name.c: Likewise.
32322         * resolv/ns_samedomain.c: Likewise.
32323         * resolv/res_send.c: Likewise.
32324         * stdlib/random.c: Likewise.
32325         * sunrpc/rpc/xdr.h: Likewise.
32326         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
32327         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32328         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32329         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32330         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32331         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32332         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32333         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32334         * sysdeps/mach/hurd/check_fds.c: Likewise.
32335         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32336         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32337         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32338         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32339         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32340         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32341         * sysdeps/pthread/aio_notify.c: Likewise.
32342         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
32343         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
32344         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
32345         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32346         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
32348 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32350         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
32351         version if bit_Slow_SSE4_2 is set.
32352         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32353         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32355 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32357         [BZ #15867]
32358         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
32359         trampoline stack frame information.
32360         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
32361         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
32362         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
32363         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
32364         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
32365         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32366         (_libc_vdso_platform_setup): Initialize the signal trampolines.
32367         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
32368         sa_flags value.
32369         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
32370         interrupting a syscall and set with option SA_SIGINFO.
32372 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32374         [BZ #15531]
32375         * math/s_cproj.c (__cproj): Only return an infinity if one part of
32376         argument is infinite.
32377         * math/s_cprojf.c (__cprojf): Likewise.
32378         * math/s_cprojl.c (__cprojl): Likewise.
32379         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
32380         * math/libm-test.inc (cproj_test_data): Add more tests.
32382         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
32384         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
32385         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
32386         size.  Use __ffs to determine corresponding shift.
32388 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32389             Roland McGrath  <roland@hack.frob.com>
32391         * Makefile (INSTALL): Remove trailing blank lines from output of
32392         makeinfo.
32394 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32396         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
32397         Align 32 bit compat elf_greg to 8 bytes.
32399 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
32401         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
32403 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32405         * string/strcoll_l.c (coll_seq): New structure.
32406         (get_next_seq_cached): New function.
32407         (get_next_seq): New function.
32408         (do_compare): New function.
32409         (STRCOLL): Use GNU style definition.  Simplify implementation
32410         by using get_next_seq, get_next_seq_cached and do_compare.
32412 2013-08-16  Florian Weimer  <fweimer@redhat.com>
32414         [BZ #14699]
32415         CVE-2013-4237
32416         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
32417         member.
32418         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
32419         member.
32420         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
32421         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
32422         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
32423         conditional.
32424         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
32425         GETDENTS_64BIT_ALIGNED.
32426         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32427         * manual/filesys.texi (Reading/Closing Directory): Document
32428         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
32429         strongly.
32430         * manual/conf.texi (Limits for Files): Add portability note to
32431         NAME_MAX, PATH_MAX.
32432         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
32434 2013-08-13  Andreas Schwab  <schwab@suse.de>
32436         [BZ #15749]
32437         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
32438         of fabs.
32439         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
32440         LDBL_MAX_EXP >= 16384]: Add tests for it.
32442 2013-08-12  David S. Miller  <davem@davemloft.net>
32444         * version.h (RELEASE): Set to "development".
32445         (VERSION): Set to "2.18.90".
32446         * NEWS: Add 2.19 section.
32448 2013-08-03  David S. Miller  <davem@davemloft.net>
32450         * po/ko.po: Update Korean translation from translation project.
32452 2013-08-01  David S. Miller  <davem@davemloft.net>
32454         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
32455         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
32456         Bilka.
32458 2013-07-30  David S. Miller  <davem@davemloft.net>
32460         * po/fr.po: Update French translation from translation project.
32462 2013-07-28  David S. Miller  <davem@davemloft.net>
32464         * po/cs.po: Update Czech translation from translation project.
32466         * po/sv.po: Update Swedish translation from translation project.
32468 2013-07-27  David S. Miller  <davem@davemloft.net>
32470         * po/eo.po: Update Esperanto translation from translation project.
32472         * po/vi.po: Update Vietnamese translation from translation project.
32474         * po/de.po: Update German translation from translation project.
32476 2013-07-26  David S. Miller  <davem@davemloft.net>
32478         * po/bg.po: Update Bulgarian translation from translation project.
32480         * po/nl.po: Update Dutch translation from translation project.
32481         * po/pl.po: Update Polish translation from translation project.
32482         * po/ru.po: Update Russian translation from translation project.
32484 2013-07-24  David S. Miller  <davem@davemloft.net>
32486         * po/libc.pot: Update.
32488 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32490         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
32491         variable page size.
32492         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
32493         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
32494         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
32496 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32498         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
32500 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32501             Andreas Schwab  <schwab@suse.de>
32502             Roland McGrath  <roland@hack.frob.com>
32503             Joseph Myers  <joseph@codesourcery.com>
32504             Carlos O'Donell  <carlos@redhat.com>
32506         [BZ #15755]
32507         * config.h.in: Define HAVE_PT_CHOWN.
32508         * config.make.in (build-pt-chown): New variable.
32509         * configure.in (--enable-pt_chown): New configure option.
32510         * configure: Regenerate.
32511         * login/Makefile: Include Makeconfig.  Build pt_chown only if
32512         build-pt-chown is enabled.
32513         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
32514         pt_chown to fix pty ownership.
32515         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
32516         CLOSE_ALL_FDS.
32517         * manual/install.texi (Configuring and compiling): Mention
32518         --enable-pt_chown. Add @findex for grantpt.
32519         * INSTALL: Regenerate.
32521 2013-07-20  David S. Miller  <davem@davemloft.net>
32523         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
32524         difference between 32-bit and 64-bit.
32526 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
32528         [BZ #15711]
32529         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
32530         Avoid system header dependency with -ffreestanding.
32531         ($(objpfx)bits/syscall%d): Likewise.
32533 2013-07-13  David S. Miller  <davem@davemloft.net>
32535         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
32536         underflows from atanl/atan2l due to bug 15319.
32537         (casinh_test_data): Likewise.
32539 2013-07-07  David S. Miller  <davem@davemloft.net>
32541         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32543 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
32545         * sysdeps/i386/fpu/libm-test-ulps: Update.
32546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32548 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32550         * configure.in (--enable-lock-elision): Fix message text.
32551         * INSTALL: Regenerate.
32552         * configure: Regenerate.
32554 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32558 2013-07-03  Andreas Jaeger  <aj@suse.de>
32560         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
32561         define.
32562         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
32563         (ptrace_peeksiginfo_args): Add.
32564         (__ptrace_peeksiginfo_flags): Add.
32565         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32566         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32567         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32569 2013-07-03  Allan McRae  <allan@archlinux.org>
32571         * sysdeps/i386/fpu/libm-test-ulps: Update.
32573 2013-07-02  David S. Miller  <davem@davemloft.net>
32575         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32577 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
32579         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32581 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32583         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32586 2013-07-02  Andi Kleen <ak@linux.intel.com>
32588         * config.h.in (ENABLE_LOCK_ELISION): Add.
32589         * configure.in (--enable-lock-elision): Add option.
32590         * manual/install.texi: Document --enable lock elision.
32591         * configure: Regenerate
32592         * INSTALL: Regenerate.
32594 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
32596         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
32597         SSE4.2 strcasecmp for libc.a.
32598         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32600 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32602         [BZ #13304]
32603         * soft-fp/op-common.h (_FP_FMA): New macro.
32604         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
32605         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
32606         (_FP_MUL_MEAT_1_imm): ... here.
32607         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
32608         (_FP_MUL_MEAT_1_wide): ... here.
32609         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
32610         (_FP_MUL_MEAT_1_hard): ... here.
32611         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
32612         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
32613         (_FP_MUL_MEAT_2_wide): ... here.
32614         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
32615         (_FP_MUL_MEAT_2_wide_3mul): ... here.
32616         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
32617         (_FP_MUL_MEAT_2_gmp): ... here.
32618         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
32619         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
32620         (_FP_MUL_MEAT_4_wide): ... here.
32621         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
32622         (_FP_MUL_MEAT_4_gmp): ... here.
32623         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
32624         (_FP_WFRACBITS_DW_S): Likewise.
32625         (_FP_WFRACXBITS_DW_S): Likewise.
32626         (_FP_HIGHBIT_DW_S): Likewise.
32627         (FP_FMA_S): Likewise.
32628         (_FP_FRAC_HIGH_DW_S): Likewise.
32629         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
32630         (_FP_WFRACBITS_DW_D): Likewise.
32631         (_FP_WFRACXBITS_DW_D): Likewise.
32632         (_FP_HIGHBIT_DW_D): Likewise.
32633         (FP_FMA_D): Likewise.
32634         (_FP_FRAC_HIGH_DW_D): Likewise.
32635         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
32636         (_FP_WFRACBITS_DW_E): Likewise.
32637         (_FP_WFRACXBITS_DW_E): Likewise.
32638         (_FP_HIGHBIT_DW_E): Likewise.
32639         (FP_FMA_E): Likewise.
32640         (_FP_FRAC_HIGH_DW_E): Likewise.
32641         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
32642         (_FP_WFRACBITS_DW_Q): Likewise.
32643         (_FP_WFRACXBITS_DW_Q): Likewise.
32644         (_FP_HIGHBIT_DW_Q): Likewise.
32645         (FP_FMA_Q): Likewise.
32646         (_FP_FRAC_HIGH_DW_Q): Likewise.
32647         * soft-fp/fmasf4.c: New file.
32648         * soft-fp/fmadf4.c: Likewise.
32649         * soft-fp/fmatf4.c: Likewise.
32651 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32653         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32654         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
32655         Silvermont.
32656         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
32657         macro.
32658         (index_Slow_SSE4_2): Likewise.
32659         (index_Prefer_PMINUB_for_stringop): Likewise.
32660         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
32661         bit_Slow_SSE4_2 is set.
32662         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32663         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32665 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32667         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
32668         rtld_global._dl_hwcap2.
32669         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
32670         POWER8.
32671         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
32672         POWER8 feature descriptions defined in _dl_hwcap2.
32673         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
32674         string handling for POWER8 feature bits.
32675         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
32676         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
32677         _dl_powerpc_cap_flags.
32678         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
32679         * sysdeps/powerpc/rtld-global-offsets.sym
32680         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
32681         _dl_hwcap2 in the rtld_global_ro structure.
32683 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32685         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
32686         hardware capabilities in support of AT_HWCAP2.
32687         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
32688         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
32689         GLRO(dl_hwcap2).
32690         (_dl_show_auxv): Add support for calling _dl_procinfo to display
32691         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
32692         explicitly the unknown a_type display mechanism is used.
32693         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
32694         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
32695         struct member.
32696         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
32697         to macro prototype for AT_HWCAP2 support.
32698         * sysdeps/i386/dl-procinfo.h: Likewise.
32699         * sysdeps/s390/dl-procinfo.h: Likewise.
32700         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
32701         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
32702         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
32703         return -1 for unknown a_type display fallback.
32704         * sysdeps/sparc/dl-procinfo.h: Likewise.
32705         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
32706         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
32708 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
32710         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
32711         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
32713 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
32715         [BZ #12492]
32716         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
32717         mprotect making __stack_prot writable.
32719 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
32720             Joseph Myers  <joseph@codesourcery.com>
32722         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32723         as being properly aligned.
32725 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
32727         * dlfcn/modstatic5.c: New file.
32728         * dlfcn/tststatic5.c: New file.
32729         * dlfcn/Makefile (tests): Add tststatic5.
32730         (tests-static): Likewise.
32731         (modules-names): Add modstatic5.
32732         (tststatic5-ENV): New variable.
32733         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32735         [BZ #15022]
32736         * elf/dl-support.c (_dl_main_map): New variable.
32737         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32738         (_dl_nns, _dl_load_adds): Set to 1.
32739         (_dl_initial_searchlist): Refer to _dl_main_map.
32740         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32741         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32742         call to _dl_get_origin.
32743         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32744         around call_map.
32745         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32746         * dlfcn/modstatic3.c: New file.
32747         * dlfcn/tststatic3.c: New file.
32748         * dlfcn/tststatic4.c: New file.
32749         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32750         (tests-static): Likewise.
32751         (modules-names): Add modstatic3.
32752         (tststatic3-ENV, tststatic4-ENV): New variables.
32753         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32754         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32756 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
32758         * configure.in (CC): Require GCC version 4.4 or later.
32759         * configure: Regenerated.
32760         * manual/install.texi (Tools for Compilation): Update GCC version
32761         requirement.
32762         * INSTALL: Regenerated.
32764 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32766         [BZ #15674]
32767         * string/test-memcmp.c (check2): New.
32768         (main): Call check2.
32770         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32772 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32774         [BZ #15022]
32775         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32776         over to...
32777         (dl_open_worker) [!SHARED]: ... here.
32779 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32781         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32783 2013-06-25  Richard Henderson  <rth@redhat.com>
32785         * locale/programs/locarchive.c: Include <libc-internal.h>
32787 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32789         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32790         trailing whitespace removed.
32792 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32794         [BZ #10283]
32795         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32796         * locale/programs/locarchive.c: Include libc-mmap.h.
32797         (prepare_address_space): Take two new outputs (the mmap base and len).
32798         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32799         values.
32800         (create_archive): Declare new mmap base and len values for
32801         prepare_address_space, and store the result in ah.
32802         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32803         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32804         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32805         Declare new mmap base and len values for
32806         prepare_address_space, and store the result in new_ah.
32807         (open_archive): Declare new mmap base and len values for
32808         prepare_address_space, and store the result in ah.
32809         (close_archive): If ah->mmap_base is not NULL, use that and
32810         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32811         * sysdeps/generic/libc-mmap.h: New file.
32813 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32815         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32816         (ALIGN_UP): Likewise.
32817         (PTR_ALIGN_DOWN): Likewise.
32818         (PTR_ALIGN_UP): Likewise.
32820 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32822         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32823         entry mapped to PPC_PLATFORM_POWER8.
32824         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32825         POWER8.
32826         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32827         (_dl_string_platform): Add case for exporting platform position for
32828         POWER8.
32829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32830         search path to sysdeps/powerpc/powerpc32/power8 directory.
32831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32832         search path to sysdeps/powerpc/powerpc64/power8 directory.
32833         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32834         power7 directories.
32835         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32836         power7 directories.
32838 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32840         * INSTALL: Regenerate.
32842         * nscd/connections.c (nscd_init): Fix comment.
32844 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32846         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32848         [BZ #15667]
32849         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32850         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32852 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32854         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32855         DL_DST_REQ_STATIC.
32856         (DL_DST_REQ_STATIC): Remove macro.
32858 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32860         [BZ #7006]
32861         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32862         with a shift of 0 bits.
32864 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32866         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32867         $(tststatic-ENV).
32869 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32871         [BZ #15655]
32872         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32874 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32876         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32877         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32878         accepts -fno-tree-loop-distribute-patterns.
32879         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32880         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32881         recursive call.
32882         * string/memset.c (memset): Likewise.
32883         * string/test-memmove.c (simple_memmove): Disable loop transformation
32884         to library calls.
32885         * string/test-memset.c (simple_memset): Likewise.
32886         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32887         * benchtests/bench-memset.c (simple_memset): Likewise.
32888         * configure: Regenerated.
32890 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32892         * math/test-misc.c (main): Ignore fesetround failure when failures
32893         of subsequent rounding tests would be ignored.
32895         [BZ #15654]
32896         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32897         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32898         * math/fegetenv.c (__fegetenv): Return 0.
32899         * math/fegetexcept.c (fegetexcept): Return 0.
32900         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32901         FE_TONEAREST.
32902         * math/feholdexcpt.c (feholdexcept): Return 0.
32903         * math/fesetenv.c (__fesetenv): Return 0.
32904         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32905         argument FE_TONEAREST.
32906         * math/feupdateenv.c (__feupdateenv): Return 0.
32907         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32909 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32911         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32912         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32913         ($(objpfx)rtld-%.os rules): Use them.
32915 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32917         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32918         fields.
32920 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32922         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32923         length of target pattern, then descending length of dependency pattern.
32924         * configure.in (AWK): Require gawk 3.1.2 or newer.
32925         * manual/install.texi (Tools for Compilation): Say that we do.
32926         * configure: Regenerated.
32928         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32929         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32930         * scripts/sysd-rules.awk: ... this new script.
32931         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32932         than a glob-style pattern.
32934 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32936         * math/test-misc.c (main): Do not treat incorrectly rounded
32937         conversions as failure unless ROUNDING_TESTS passes.
32939 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32941         [BZ #15631]
32942         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32943         restore exception state around main square root computation, then
32944         check for inexactness explicitly.
32946         * math/libm-test.inc (fma_test_data): Add another test.
32948 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32950         * manual/threads.texi (Non-POSIX Extensions): New document
32951         node.  Document pthread_getattr_default_np and
32952         pthread_setattr_default_np.
32954         * Versions.def (libpthread): Add GLIBC_2.18.
32955         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32957         Likewise.
32958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32959         Likewise.
32960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32961         Likewise.
32962         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32963         Likewise.
32964         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32965         Likewise.
32966         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32967         Likewise.
32968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32969         Likewise.
32970         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32971         Likewise.
32972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32973         Likewise.
32975 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32977         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32978         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32980 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32981             H.J. Lu  <hjl.tools@gmail.com>
32983         [BZ #15627]
32984         * sysdeps/x86_64/rtld-memset.c: Remove file.
32985         * sysdeps/x86_64/rtld-memset.S: New file.
32987 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32989         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32990         (test_in_one_mode): Take arguments for whether the rounding mode
32991         is supported for each floating-point type.
32992         (do_test): Pass new arguments to test_in_one_mode using
32993         ROUNDING_TESTS.
32995 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32997         * posix/tst-waitid.c (do_test): Distinguish different instances of
32998         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32999         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
33000         before entering the kernel for waitpid.
33002 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33004         * NEWS: Fix note on clock function precision.  Text by Roland
33005         McGrath.
33007 2013-06-13  Roland McGrath  <roland@hack.frob.com>
33009         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
33010         it into place only when and if the sanity check passes.
33012 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
33014         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
33015         output for whether conversion result is exact.  Take argument
33016         indicating whether type is IBM long double.
33017         (round_for_all): Change need_exact field to ibm_ld.
33018         * stdlib/tst-strtod-round.c (struct exactness): New type.
33019         (struct test): Change bool ld_ok field to struct exactness exact.
33020         (TEST): Update all definitions for change to field.
33021         (tests): Regenerate array contents.
33022         (test_in_one_mode): Take pointer to new field instead of old ld_ok
33023         field value.  Check for IBM long double here.
33024         (do_test): Update calls to test_in_one_mode.
33026 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33028         [BZ #12515]
33029         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
33030         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
33032 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33034         [BZ #15605]
33035         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
33036         generated by the compiler on loop optimizations.
33037         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
33038         general definitions.
33040 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
33042         * math/bug-nextafter.c: Include <math-tests.h>.
33043         (main): Only test for exceptions if EXCEPTION_TESTS is true for
33044         the relevant type.
33045         * math/bug-nexttoward.c: Include <math-tests.h>.
33046         (main): Only test for exceptions if EXCEPTION_TESTS is true for
33047         the relevant type.
33048         * math/test-misc.c: Include <math-tests.h>.
33049         (main): Only test for exceptions if EXCEPTION_TESTS is true for
33050         the relevant type.
33052 2013-06-12  Andreas Jaeger  <aj@suse.de>
33054         * po/ia.po: Update Interlingua translation from translation
33055         project.
33057 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33059         * include/fenv.h: Include stdbool.h.
33060         (struct rm_ctx): New structure.
33061         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
33062         Define macro.
33063         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
33064         (SET_RESTORE_ROUNDF): Likewise.
33065         (SET_RESTORE_ROUNDL): Likewise.
33066         (SET_RESTORE_ROUND_NOEX): Likewise.
33067         (SET_RESTORE_ROUND_NOEXF): Likewise.
33068         (SET_RESTORE_ROUND_NOEXL): Likewise.
33069         (SET_RESTORE_ROUND_53BIT): Likewise.
33070         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
33071         (libc_feresetround_noexf_ctx): Likewise.
33072         (libc_feresetround_noexl_ctx): Likewise.
33073         (libc_feholdsetround_53bit_ctx): Likewise.
33074         (libc_feresetround_53bit_ctx): Likewise.
33075         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
33076         (libc_feholdexcept_setround_sse_ctx): New function.
33077         (libc_fesetenv_sse_ctx): Likewise.
33078         (libc_feupdateenv_sse_ctx): Likewise.
33079         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
33080         (libc_feholdexcept_setround_387_ctx): Likewise.
33081         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
33082         (libc_feholdsetround_387_prec_ctx): Likewise.
33083         (libc_feholdsetround_387_ctx): Likewise.
33084         (libc_feholdsetround_387_53bit_ctx): Likewise.
33085         (libc_feholdsetround_sse_ctx): Likewise.
33086         (libc_feresetround_sse_ctx): Likewise.
33087         (libc_feresetround_387_ctx): Likewise.
33088         (libc_feupdateenv_387_ctx): Likewise.
33089         (libc_feholdexcept_setroundf_ctx): Define macro.
33090         (libc_fesetenvf_ctx): Likewise.
33091         (libc_feupdateenvf_ctx): Likewise.
33092         (libc_feholdsetroundf_ctx): Likewise.
33093         (libc_feresetroundf_ctx): Likewise.
33094         (libc_feholdexcept_setround_ctx): Likewise.
33095         (libc_fesetenv_ctx): Likewise.
33096         (libc_feupdateenv_ctx): Likewise.
33097         (libc_feholdsetround_ctx): Likewise.
33098         (libc_feresetround_ctx): Likewise.
33099         (libc_feholdexcept_setroundl_ctx): Likewise.
33100         (libc_feupdateenvl_ctx): Likewise.
33101         (libc_feholdsetroundl_ctx): Likewise.
33102         (libc_feresetroundl_ctx): Likewise.
33103         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
33104         (libc_feresetround_53bit_ctx): Likewise.
33106 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33108         * locale/iso-639.def: Convert to UTF-8.
33110 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
33112         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
33113         (EXCEPTION_TESTS_double): Likewise.
33114         (EXCEPTION_TESTS_long_double): Likewise.
33115         (EXCEPTION_TESTS): Likewise.
33116         * math/libm-test.inc (test_exceptions): Only test exceptions if
33117         EXCEPTION_TESTS (FLOAT).
33119 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33121         * benchtests/Makefile (string-bench): Add strcpy_chk and
33122         stpcpy_chk.
33123         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
33124         * benchtests/bench-stpcpy_chk.c: New file.
33125         * benchtests/bench-strcpy_chk-ifunc.c: New file.
33126         * benchtests/bench-strcpy_chk.c: New file.
33127         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
33128         code.
33129         (do_test): Likewise.
33131 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33133         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
33134         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
33135         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
33136         with tabs where appropriate.
33137         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
33138         dl-procinfo.h.
33139         [PPC_PLATFORM_PPC440]: Likewise.
33140         [PPC_PLATFORM_PPC464]: Likewise.
33141         [PPC_PLATFORM_PPC476]: Likewise.
33142         (_dl_string_platform): Add support for detecting ppc405, ppc440,
33143         ppc464, and ppc476 platform strings merging from ports/
33144         dl-procinfo.h.
33146 2013-06-11  Andreas Schwab  <schwab@suse.de>
33148         [BZ #14991]
33149         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
33150         (from_ucs4_idx): Regenerate.
33151         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
33152         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
33153         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
33154         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
33155         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
33156         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
33157         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
33158         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
33159         from FROM_LOOP and TO_LOOP specific macros.
33160         (BODY): Handle combining characters.
33161         * iconvdata/BIG5HKSCS.irreversible: Update.
33162         * iconvdata/BIG5HKSCS.precomposed: New file.
33163         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
33164         characters.
33165         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
33167 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33169         * include/sys/time.h: Fix indentation and add copyright header.
33171         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
33172         (do_test): Likewise.
33173         * string/test-memchr.c (do_one_test): Likewise.
33174         (do_test): Likewise.
33175         * string/test-memcmp.c (do_one_test): Likewise.
33176         (do_test): Likewise.
33177         * string/test-memcpy.c (do_one_test): Likewise.
33178         (do_test): Likewise.
33179         * string/test-memmem.c (do_one_test): Likewise.
33180         (do_test): Likewise.
33181         (do_random_tests): Likewise.
33182         * string/test-memmove.c (do_one_test): Likewise.
33183         (do_test): Likewise.
33184         * string/test-memset.c (do_one_test): Likewise.
33185         (do_test): Likewise.
33186         * string/test-rawmemchr.c (do_one_test): Likewise.
33187         (do_test): Likewise.
33188         * string/test-strcasecmp.c (do_one_test): Likewise.
33189         (do_test): Likewise.
33190         * string/test-strcasestr.c (do_one_test): Likewise.
33191         (do_test): Likewise.
33192         * string/test-strcat.c (do_one_test): Likewise.
33193         (do_test): Likewise.
33194         * string/test-strchr.c (do_one_test): Likewise.
33195         (do_test): Likewise.
33196         * string/test-strcmp.c (do_one_test): Likewise.
33197         (do_test): Likewise.
33198         * string/test-strcpy.c (do_one_test): Likewise.
33199         (do_test): Likewise.
33200         * string/test-string.h: Likewise.
33201         (test_init): Likewise.
33202         * string/test-strlen.c (do_one_test): Likewise.
33203         (do_test): Likewise.
33204         * string/test-strncasecmp.c (do_one_test): Likewise.
33205         (do_test): Likewise.
33206         * string/test-strncat.c (do_one_test): Likewise.
33207         (do_test): Likewise.
33208         * string/test-strncmp.c (do_one_test): Likewise.
33209         (do_test_limit): Likewise.
33210         (do_test): Likewise.
33211         * string/test-strncpy.c (do_one_test): Likewise.
33212         (do_test): Likewise.
33213         * string/test-strnlen.c (do_one_test): Likewise.
33214         (do_test): Likewise.
33215         * string/test-strpbrk.c (do_one_test): Likewise.
33216         (do_test): Likewise.
33217         * string/test-strrchr.c (do_one_test): Likewise.
33218         (do_test): Likewise.
33219         * string/test-strspn.c (do_one_test): Likewise.
33220         (do_test): Likewise.
33221         * string/test-strstr.c (do_one_test): Likewise.
33222         (do_test): Likewise.
33224         * benchtests/Makefile (string-bench): Add string benchmarks.
33225         * benchtests/bench-bcopy-ifunc.c: New file.
33226         * benchtests/bench-bcopy.c: New file.
33227         * benchtests/bench-bzero-ifunc.c: New file.
33228         * benchtests/bench-bzero.c: New file.
33229         * benchtests/bench-memccpy-ifunc.c: New file.
33230         * benchtests/bench-memccpy.c: New file.
33231         * benchtests/bench-memchr-ifunc.c: New file.
33232         * benchtests/bench-memchr.c: New file.
33233         * benchtests/bench-memcmp-ifunc.c: New file.
33234         * benchtests/bench-memcmp.c: New file.
33235         * benchtests/bench-memmem-ifunc.c: New file.
33236         * benchtests/bench-memmem.c: New file.
33237         * benchtests/bench-memmove-ifunc.c: New file.
33238         * benchtests/bench-memmove.c: New file.
33239         * benchtests/bench-mempcpy-ifunc.c: New file.
33240         * benchtests/bench-mempcpy.c: New file.
33241         * benchtests/bench-memset-ifunc.c: New file.
33242         * benchtests/bench-memset.c: New file.
33243         * benchtests/bench-rawmemchr-ifunc.c: New file.
33244         * benchtests/bench-rawmemchr.c: New file.
33245         * benchtests/bench-stpcpy-ifunc.c: New file.
33246         * benchtests/bench-stpcpy.c: New file.
33247         * benchtests/bench-stpncpy-ifunc.c: New file.
33248         * benchtests/bench-stpncpy.c: New file.
33249         * benchtests/bench-strcasecmp-ifunc.c: New file.
33250         * benchtests/bench-strcasecmp.c: New file.
33251         * benchtests/bench-strcasestr-ifunc.c: New file.
33252         * benchtests/bench-strcasestr.c: New file.
33253         * benchtests/bench-strcat-ifunc.c: New file.
33254         * benchtests/bench-strcat.c: New file.
33255         * benchtests/bench-strchr-ifunc.c: New file.
33256         * benchtests/bench-strchr.c: New file.
33257         * benchtests/bench-strchrnul-ifunc.c: New file.
33258         * benchtests/bench-strchrnul.c: New file.
33259         * benchtests/bench-strcmp-ifunc.c: New file.
33260         * benchtests/bench-strcmp.c: New file.
33261         * benchtests/bench-strcpy-ifunc.c: New file.
33262         * benchtests/bench-strcpy.c: New file.
33263         * benchtests/bench-strcspn-ifunc.c: New file.
33264         * benchtests/bench-strcspn.c: New file.
33265         * benchtests/bench-strlen-ifunc.c: New file.
33266         * benchtests/bench-strlen.c: New file.
33267         * benchtests/bench-strncasecmp-ifunc.c: New file.
33268         * benchtests/bench-strncasecmp.c: New file.
33269         * benchtests/bench-strncat-ifunc.c: New file.
33270         * benchtests/bench-strncat.c: New file.
33271         * benchtests/bench-strncmp-ifunc.c: New file.
33272         * benchtests/bench-strncmp.c: New file.
33273         * benchtests/bench-strncpy-ifunc.c: New file.
33274         * benchtests/bench-strncpy.c: New file.
33275         * benchtests/bench-strnlen-ifunc.c: New file.
33276         * benchtests/bench-strnlen.c: New file.
33277         * benchtests/bench-strpbrk-ifunc.c: New file.
33278         * benchtests/bench-strpbrk.c: New file.
33279         * benchtests/bench-strrchr-ifunc.c: New file.
33280         * benchtests/bench-strrchr.c: New file.
33281         * benchtests/bench-strspn-ifunc.c: New file.
33282         * benchtests/bench-strspn.c: New file.
33283         * benchtests/bench-strstr-ifunc.c: New file.
33284         * benchtests/bench-strstr.c: New file.
33286         * benchtests/Makefile: Disable parallel execution of targets.
33287         (string-bench): Add memcpy.
33288         (benchset): New variable to store a list of benchmark sets.
33289         (bench-func): Renamed from bench.
33290         (bench-set): New target.
33291         (bench): Depend on bench-func and bench-set.
33292         * benchtests/README: Add section on benchmark sets.
33293         * benchtests/bench-memcpy-ifunc.c: New file.
33294         * benchtests/bench-memcpy.c: New file.
33295         * benchtests/bench-string.h: New file.
33297 2013-06-11  Andreas Schwab  <schwab@suse.de>
33299         [BZ #15577]
33300         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
33301         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
33302         values in the triple.
33303         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
33304         terminator in the group key.
33306 2013-06-11  Andreas Jaeger  <aj@suse.de>
33308         * po/zh_TW.po: Update Chinese (traditional) translation from
33309         translation project.
33311 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33313         * include/time.h (__clock_gettime): Add libc_hidden_proto.
33314         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
33315         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
33316         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33317         (clock_getcpuclockid): Likewise.
33318         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
33319         Add weak_alias and libc_hidden_def.
33320         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
33321         * rt/clock_gettime.c (clock_gettime): Rename to
33322         __clock_gettime.  Add weak_alias and libc_hidden_def.
33323         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
33324         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
33325         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
33326         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
33327         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
33328         Likewise.
33329         * rt/clock_settime.c (clock_settime): Rename to
33330         __clock_settime.  Add weak_alias and libc_hidden_def.
33331         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
33333 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
33335         * mach/err_boot.sub: Remove trailing whitespace.
33336         * mach/err_ipc.sub: Likewise.
33337         * mach/err_mach.sub: Likewise.
33339         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
33340         (ROUNDING_TESTS_double): Likewise.
33341         (ROUNDING_TESTS_long_double): Likewise.
33342         (ROUNDING_TESTS): Likewise.
33343         * math/libm-test.inc: Include <math-tests.h>.
33344         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
33345         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33346         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33347         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33349 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33351         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
33352         of assigning.
33354 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
33356         * sysdeps/gnu/errlist.awk: Do not generate space at end of
33357         otherwise empty TRANS lines.
33358         * sysdeps/gnu/errlist.c: Regenerated.
33360         * catgets/gencat.c (error_print): Use (void) in function
33361         definition.
33362         * crypt/crypt_util.c (__init_des): Likewise.
33363         * crypt/speeds.c (Stop): Likewise.
33364         (main): Likewise.
33365         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
33366         * inet/ruserpass.c (token): Likewise.
33367         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
33368         * intl/localealias.c (extend_alias_table): Likewise.
33369         * intl/plural-exp.c (init_germanic_plural): Likewise.
33370         * libio/fcloseall.c (__fcloseall): Likewise.
33371         * libio/genops.c (_IO_flush_all): Likewise.
33372         (_IO_flush_all_linebuffered): Likewise.
33373         (_IO_cleanup): Likewise.
33374         (_IO_iter_begin): Likewise.
33375         (_IO_iter_end): Likewise.
33376         (_IO_list_lock): Likewise.
33377         (_IO_list_unlock): Likewise.
33378         (_IO_list_resetlock): Likewise.
33379         * libio/getchar.c (getchar): Likewise.
33380         * libio/getchar_u.c (getchar_unlocked): Likewise.
33381         * libio/getwchar.c (getwchar): Likewise.
33382         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
33383         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
33384         * login/getpt.c (__getpt): Likewise.
33385         * login/tst-utmp.c (main): Likewise.
33386         * malloc/hooks.c (__malloc_check_init): Likewise.
33387         * malloc/malloc.c (__malloc_stats): Likewise.
33388         * malloc/mtrace.c (tr_break): Likewise.
33389         (mtrace): Likewise.
33390         (muntrace): Likewise.
33391         * misc/fstab.c (endfsent): Likewise.
33392         * misc/getclktck.c (__getclktck): Likewise.
33393         * misc/getdtsz.c (__getdtablesize): Likewise.
33394         * misc/gethostid.c (gethostid): Likewise.
33395         * misc/getpagesize.c (__getpagesize): Likewise.
33396         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
33397         (__get_nprocs): Likewise.
33398         (__get_phys_pages): Likewise.
33399         (__get_avphys_pages): Likewise.
33400         * misc/getttyent.c (getttyent): Likewise.
33401         (setttyent): Likewise.
33402         (endttyent): Likewise.
33403         * misc/getusershell.c (getusershell): Likewise.
33404         (endusershell): Likewise.
33405         (setusershell): Likewise.
33406         (initshells): Likewise.
33407         * misc/hsearch.c (__hdestroy): Likewise.
33408         * misc/sync.c (sync): Likewise.
33409         * misc/syslog.c (closelog_internal): Likewise.
33410         (closelog): Likewise.
33411         * misc/ttyslot.c (ttyslot): Likewise.
33412         * misc/vhangup.c (vhangup): Likewise.
33413         * posix/fork.c (__fork): Likewise.
33414         * posix/getegid.c (__getegid): Likewise.
33415         * posix/geteuid.c (__geteuid): Likewise.
33416         * posix/getgid.c (__getgid): Likewise.
33417         * posix/getpid.c (__getpid): Likewise.
33418         * posix/getppid.c (__getppid): Likewise.
33419         * posix/getuid.c (__getuid): Likewise.
33420         * posix/pause.c (pause): Likewise.
33421         * posix/setpgrp.c (setpgrp): Likewise.
33422         * posix/setsid.c (__setsid): Likewise.
33423         * posix/test-vfork.c (noop): Likewise.
33424         * resolv/gethnamaddr.c (_endhtent): Likewise.
33425         (_gethtent): Likewise.
33426         (ht_endhostent): Likewise.
33427         (gethostent): Likewise.
33428         (dns_service): Likewise.
33429         * stdlib/drand48.c (drand48): Likewise.
33430         * stdlib/lrand48.c (lrand48): Likewise.
33431         * stdlib/mrand48.c (mrand48): Likewise.
33432         * stdlib/rand.c (rand): Likewise.
33433         * stdlib/random.c (__random): Likewise.
33434         * stdlib/setenv.c (clearenv): Likewise.
33435         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
33436         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
33437         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
33438         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
33439         (__get_nprocs): Likewise.
33440         (__get_phys_pages): Likewise.
33441         (__get_avphys_pages): Likewise.
33442         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
33443         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
33444         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
33445         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
33446         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
33447         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
33448         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
33449         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
33450         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
33451         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
33452         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
33453         * sysdeps/mach/hurd/sync.c (sync): Likewise.
33454         * sysdeps/posix/clock.c (clock): Likewise.
33455         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
33456         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
33457         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
33458         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33459         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
33460         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33461         (__get_nprocs_conf): Likewise.
33462         (__get_phys_pages): Likewise.
33463         (__get_avphys_pages): Likewise.
33464         * time/clock.c (clock): Likewise.
33465         * time/tzset.c (__tzname_max): Likewise.
33467 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
33469         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
33470         (__bswap_32): Do not use "register".
33471         * crypt/crypt.c (_ufc_doit_r): Likewise.
33472         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33473         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33474         * gmon/gmon.c (__monstartup): Likewise.
33475         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
33476         * hurd/hurdmalloc.c (more_memory): Likewise.
33477         (malloc): Likewise.
33478         (free): Likewise.
33479         (realloc): Likewise.
33480         (malloc_fork_prepare): Likewise.
33481         (malloc_fork_parent): Likewise.
33482         (malloc_fork_child): Likewise.
33483         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
33484         (_svcauth_des): Likewise.
33485         * inet/inet_lnaof.c (inet_lnaof): Likewise.
33486         * inet/inet_net.c (inet_network): Likewise.
33487         * inet/inet_netof.c (inet_netof): Likewise.
33488         * inet/rcmd.c (__validuser2_sa): Likewise.
33489         * io/fts.c (fts_open): Likewise.
33490         (fts_load): Likewise.
33491         (fts_close): Likewise.
33492         (fts_read): Likewise.
33493         (fts_children): Likewise.
33494         (fts_build): Likewise.
33495         (fts_stat): Likewise.
33496         (fts_sort): Likewise.
33497         (fts_alloc): Likewise.
33498         (fts_lfree): Likewise.
33499         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
33500         (_IO_file_xsgetn): Likewise.
33501         (_IO_file_xsgetn_mmap): Likewise.
33502         * libio/iofopncook.c (_IO_cookie_read): Likewise.
33503         (_IO_cookie_write): Likewise.
33504         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
33505         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
33506         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
33507         * malloc/obstack.c (_obstack_begin): Likewise.
33508         (_obstack_begin_1): Likewise.
33509         (_obstack_newchunk): Likewise.
33510         (_obstack_allocated_p): Likewise.
33511         (obstack_free): Likewise.
33512         (_obstack_memory_used): Likewise.
33513         * misc/getttyent.c (getttynam): Likewise.
33514         (getttyent): Likewise.
33515         (skip): Likewise.
33516         (value): Likewise.
33517         * misc/getusershell.c (initshells): Likewise.
33518         * misc/syslog.c (__vsyslog_chk): Likewise.
33519         * misc/ttyslot.c (ttyslot): Likewise.
33520         * nis/nis_hash.c (__nis_hash): Likewise.
33521         * posix/fnmatch_loop.c (FCT): Likewise.
33522         * posix/getconf.c (print_all): Likewise.
33523         (main): Likewise.
33524         * posix/getopt.c (exchange): Likewise.
33525         * posix/glob.c (globfree): Likewise.
33526         (prefix_array): Likewise.
33527         (__glob_pattern_type): Likewise.
33528         * resolv/arpa/nameser.h (NS_GET16): Likewise.
33529         (NS_GET32): Likewise.
33530         (NS_PUT16): Likewise.
33531         (NS_PUT32): Likewise.
33532         * resolv/gethnamaddr.c (getanswer): Likewise.
33533         (gethostbyname2): Likewise.
33534         (gethostbyaddr): Likewise.
33535         (_gethtent): Likewise.
33536         (_gethtbyname2): Likewise.
33537         (_gethtbyaddr): Likewise.
33538         * resolv/ns_print.c (dst_s_get_int16): Likewise.
33539         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33540         * resolv/res_init.c (__res_vinit): Likewise.
33541         (net_mask): Likewise.
33542         * resolv/res_mkquery.c (outchar): Likewise.
33543         (PRINT): Likewise.
33544         * stdio-common/printf_fp.c (outchar): Likewise.
33545         (PRINT): Likewise.
33546         * stdio-common/printf_fphex.c (outchar): Likewise.
33547         (PRINT): Likewise.
33548         * stdio-common/printf_size.c (outchar): Likewise.
33549         (PRINT): Likewise.
33550         * stdio-common/test_rdwr.c (main): Likewise.
33551         * stdio-common/tfformat.c (matches): Likewise.
33552         * stdio-common/vfprintf.c (outchar): Likewise.
33553         (printf_unknown): Likewise.
33554         (buffered_vfprintf): Likewise.
33555         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33556         * stdio-common/xbug.c (AppendToBuffer): Likewise.
33557         (ReadFile): Likewise.
33558         * stdlib/qsort.c (SWAP): Likewise.
33559         (_quicksort): Likewise.
33560         * stdlib/setenv.c (__add_to_environ): Likewise.
33561         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33562         * stdlib/strtol_l.c (__strtol_l): Likewise.
33563         * stdlib/tst-strtod.c (main): Likewise.
33564         * stdlib/tst-strtol.c (main): Likewise.
33565         * stdlib/tst-strtoll.c (main): Likewise.
33566         * string/bits/string2.h (__strcmp_cc): Likewise.
33567         (__strcmp_cg): Likewise.
33568         (__strcspn_c1): Likewise.
33569         (__strcspn_c2): Likewise.
33570         (__strcspn_c3): Likewise.
33571         (__strspn_c1): Likewise.
33572         (__strspn_c2): Likewise.
33573         (__strspn_c3): Likewise.
33574         (__strsep_1c): Likewise.
33575         (__strsep_2c): Likewise.
33576         (__strsep_3c): Likewise.
33577         * string/memccpy.c (__memccpy): Likewise.
33578         * string/stpcpy.c (__stpcpy): Likewise.
33579         * string/strcmp.c (strcmp): Likewise.
33580         * string/strrchr.c (strrchr): Likewise.
33581         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
33582         Likewise.
33583         * sysdeps/mach/hurd/getcwd.c
33584         (_hurd_canonicalize_directory_name_internal): Likewise.
33585         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
33586         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
33587         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
33588         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
33589         Likewise, in both definitions.
33590         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
33591         definitions.
33592         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
33593         64] (__bswap_64): Likewise.
33594         * time/test_time.c (main): Likewise.
33595         * time/tzfile.c (__tzfile_read): Likewise.
33596         (__tzfile_compute): Likewise.
33597         * time/tzset.c (__tzset_parse_tz): Likewise.
33598         (tzset_internal): Likewise.
33599         (compute_change): Likewise.
33600         * wcsmbs/wcscat.c (__wcscat): Likewise.
33601         * wcsmbs/wcschr.c (wcschr): Likewise.
33602         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
33603         * wcsmbs/wcscspn.c (wcscspn): Likewise.
33604         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
33605         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
33606         * wcsmbs/wcsspn.c (wcsspn): Likewise.
33607         * wcsmbs/wcsstr.c (wcsstr): Likewise.
33608         * wcsmbs/wmemchr.c (wmemchr): Likewise.
33609         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33610         * wcsmbs/wmemset.c (wmemset): Likewise.
33612 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
33614         * scripts/config.guess: Update to version 2013-05-16.
33615         * scripts/config.sub: Update to version 2013-04-24.
33616         * scripts/install-sh: Update to version 2011-11-20.07.
33617         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
33618         * scripts/move-if-change: Update to version 2012-01-06 07:23.
33620 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
33622         * debug/fgetws_u_chk.c: Fix leading whitespaces.
33623         * elf/sln.c: Likewise.
33624         * hurd/hurd/ioctl.h: Likewise.
33625         * hurd/hurdmalloc.c: Likewise.
33626         * hurd/xattr.c: Likewise.
33627         * include/shlib-compat.h: Likewise.
33628         * inet/ruserpass.c: Likewise.
33629         * libio/iofgets_u.c: Likewise.
33630         * libio/iofgetws_u.c: Likewise.
33631         * locale/programs/ld-identification.c: Likewise.
33632         * locale/programs/ld-time.c: Likewise.
33633         * mach/msg-destroy.c: Likewise.
33634         * nss/nss_files/files-netgrp.c: Likewise.
33635         * resolv/res_data.c: Likewise.
33636         * soft-fp/op-1.h: Likewise.
33637         * soft-fp/op-2.h: Likewise.
33638         * soft-fp/op-4.h: Likewise.
33639         * soft-fp/op-common.h: Likewise.
33640         * stdio-common/printf_fphex.c: Likewise.
33641         * stdlib/strtod_l.c: Likewise.
33642         * sunrpc/rpc/clnt.h: Likewise.
33643         * sysdeps/generic/framestate.c: Likewise.
33644         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33645         * sysdeps/i386/bsd-setjmp.S: Likewise.
33646         * sysdeps/i386/__longjmp.S: Likewise.
33647         * sysdeps/i386/setjmp.S: Likewise.
33648         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33649         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33650         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33651         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33652         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33653         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33654         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33655         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33656         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33657         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33658         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33659         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33660         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33661         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33662         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33663         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33664         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33665         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
33666         * sysdeps/ieee754/support.c: Likewise.
33667         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33668         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
33669         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
33670         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
33671         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
33672         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
33673         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
33674         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
33675         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
33676         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
33677         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
33678         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
33679         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
33680         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
33681         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
33682         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
33683         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33686 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
33688         * posix/transbug.c: Remove executable mode.
33690 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
33692         * crypt/speeds.c: Remove trailing whitespace.
33693         * dlfcn/default.c: Likewise.
33694         * elf/ifuncdep2.c: Likewise.
33695         * elf/ifuncmain1.c: Likewise.
33696         * elf/ifuncmain1vis.c: Likewise.
33697         * elf/testobj.h: Likewise.
33698         * elf/tst-stackguard1.c: Likewise.
33699         * gmon/sys/gmon.h: Likewise.
33700         * hurd/hurdmsg.c: Likewise.
33701         * hurd/new-fd.c: Likewise.
33702         * hurd/ports-get.c: Likewise.
33703         * iconvdata/ibm1008_420.c: Likewise.
33704         * inet/tst-getni1.c: Likewise.
33705         * inet/tst-getni2.c: Likewise.
33706         * libio/ioungetc.c: Likewise.
33707         * libio/wfiledoalloc.c: Likewise.
33708         * manual/libm-err-tab.pl: Likewise.
33709         * math/w_dremf.c: Likewise.
33710         * misc/ftruncate.c: Likewise.
33711         * posix/bug-glob2.c: Likewise.
33712         * posix/tst-pcre.c: Likewise.
33713         * posix/wait4.c: Likewise.
33714         * resolv/README: Likewise.
33715         * resolv/res_debug.h: Likewise.
33716         * resolv/tst-inet_ntop.c: Likewise.
33717         * setjmp/bug269-setjmp.c: Likewise.
33718         * soft-fp/extended.h: Likewise.
33719         * soft-fp/op-1.h: Likewise.
33720         * soft-fp/op-2.h: Likewise.
33721         * soft-fp/op-4.h: Likewise.
33722         * soft-fp/op-8.h: Likewise.
33723         * soft-fp/testit.c: Likewise.
33724         * stdio-common/bug16.c: Likewise.
33725         * stdlib/random.c: Likewise.
33726         * sunrpc/rpcsvc/rquota.x: Likewise.
33727         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33728         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33729         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33730         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33731         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33732         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33733         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33734         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33735         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33736         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33737         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33738         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33739         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33740         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33741         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33742         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33743         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33744         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33745         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33746         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33747         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33748         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33749         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33750         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33751         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33752         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33753         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33754         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33755         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33756         * sysdeps/ieee754/s_lib_version.c: Likewise.
33757         * sysdeps/mach/hurd/check_fds.c: Likewise.
33758         * sysdeps/mach/hurd/getsockname.c: Likewise.
33759         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33760         * sysdeps/mach/hurd/recvfrom.c: Likewise.
33761         * sysdeps/powerpc/bits/link.h: Likewise.
33762         * sysdeps/powerpc/dl-procinfo.c: Likewise.
33763         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33764         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33765         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33766         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33767         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33768         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33769         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33770         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33771         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33772         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33773         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33774         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33775         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33776         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33777         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33778         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33779         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33780         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33781         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33782         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33783         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33784         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33785         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33786         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33787         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33788         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33789         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33790         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33791         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33792         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33793         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33794         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33795         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33796         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33797         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33798         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33799         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33800         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33801         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33802         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33803         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33804         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33805         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33806         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33807         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33808         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33809         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33810         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33811         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33812         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33813         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33814         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33815         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33816         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33817         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33818         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33819         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33820         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33821         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33822         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33823         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33824         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33825         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33826         * sysdeps/powerpc/sysdep.h: Likewise.
33827         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33828         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33829         * sysdeps/sh/dl-trampoline.S: Likewise.
33830         * sysdeps/sh/memset.S: Likewise.
33831         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33832         * sysdeps/sh/strlen.S: Likewise.
33833         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33834         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33835         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33836         * sysdeps/sparc/sparc32/rem.S: Likewise.
33837         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33838         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33839         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33840         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33841         * sysdeps/sparc/sparc32/urem.S: Likewise.
33842         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33843         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33844         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33845         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33846         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33847         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33848         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33849         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33850         * sysdeps/unix/bsd/times.c: Likewise.
33851         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33852         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33856         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33857         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33858         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33859         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33860         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33861         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33862         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33863         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33864         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33865         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33866         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33867         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33868         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33869         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33870         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33871         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33872         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33873         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33874         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33875         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33876         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33877         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33878         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33879         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33880         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33881         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33882         * sysdeps/x86_64/strcspn.S: Likewise.
33884 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33886         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33887         generated file.  Regenerate properly from gen-translit.pl.
33888         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33889         locale/C-translit.h.
33891 2013-06-05  Andreas Schwab  <schwab@suse.de>
33893         [BZ #15100]
33894         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33895         week as 6 instead of -1.
33896         * time/tst-strptime.c (day_tests): Add test case.
33898 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33900         * sysdeps/generic/math_private.h
33901         (libc_feholdexcept_setround_53bit): Replace with
33902         libc_feholdsetround_53bit.
33903         (libc_feupdateenv_53bit): Replace with
33904         libc_feresetround_53bit.
33905         (SET_RESTORE_ROUND_53BIT): Adjust.
33907 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33909         * string/test-strchrnul.c: Add copyright header.
33911         * posix/tst-getaddrinfo4.c: Increase test timeout.
33913 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33915         [BZ #15536]
33916         * math/libm-test.inc (MAX_EXP): Remove
33917         (MIN_EXP): Define.
33918         (ulp): Use MIN_EXP - MANT_DIG.
33919         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33921 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33923         * po/be.po: Revert last change.
33924         * po/zh_CN.po: Likewise.
33925         * po/header.pot: Likewise.
33927 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33929         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33930         link-libc-deps to empty as target-specific variable.
33931         * Makerules (link-libc-args): New variable.
33932         (libc-for-link): Likewise.
33933         (link-libc-deps): Likewise.
33934         (lib%.so): Depend on $(link-libc-deps).  Link with
33935         $(link-libc-args).
33936         (build-module): Link with $(link-libc-args).
33937         (build-module-asneeded): Likewise.
33938         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33939         list of objects.
33940         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33941         target-specific variable.
33942         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33943         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33944         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33945         libc.
33946         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33947         libc and ld.so.
33948         ($(objpfx)libpcprofile.so): Likewise.
33949         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33950         libc_nonshared.a.
33951         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33952         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33953         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33954         $(link-libc-deps).
33955         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33956         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33957         * login/Makefile ($(objpfx)libutil.so): Likewise.
33958         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33959         * math/Makefile ($(objpfx)libm.so): Likewise.
33960         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33961         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33962         variable instead of depending directly on libc.
33963         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33964         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33965         $(link-libc-deps).
33966         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33967         libc.
33968         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33969         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33970         ($(objpfx)libanl.so): Likewise.
33971         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33972         ld.so.
33973         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33974         $(link-libc-deps).
33975         * sysdeps/i386/fpu/Makefile: Remove file.
33976         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33977         ($(objpfx)libm.so): Remove dependency on ld.so.
33979 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33981         [BZ # 15553]
33982         * nis/yp_xdr.c (XDRMAXNAME): Define.
33983         (XDRMAXRECORD): Define.
33984         (xdr_domainname): Use XDRMAXNAME.
33985         (xdr_mapname): Likewise.
33986         (xdr_peername): Likewise.
33987         (xdr_keydat): Use XDRMAXRECORD.
33988         (xdr_valdat): Likewise.
33990 2013-05-30  Jeff Law  <law@redhat.com>
33992         [BZ #14256]
33993         * manual/errno.texi (ESTALE): Update to account for more than
33994         just NFS file systems.
33995         * sysdeps/gnu/errlist.c: Regenerated.
33997 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33999         [BZ #15465]
34000         * elf/Makefile (tests): Add tst-null-argv.
34001         (modules-names):  Add tst-null-argv-lib.
34002         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
34003         (tst-null-argv-ENV): Set environment for tst-null-argv.
34004         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
34005         (RTLD_PROGNAME): New macro.
34006         * elf/tst-null-argv.c: New test case.
34007         * elf/tst-null-argv-lib.c: Library for test case.
34008         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
34009         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
34010         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
34011         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
34012         * elf/dl-init.c (call_init): Likewise.
34013         (_dl_init): Likewise.
34014         * elf/dl-load.c (print_search_path): Likewise.
34015         (_dl_map_object): Likewise.
34016         * elf/dl-lookup.c (do_lookup_x): Likewise.
34017         (add_dependency): Likewise.
34018         (_dl_lookup_symbol_x): Likewise.
34019         (_dl_debug_bindings): Likewise.
34020         * elf/dl-open.c (_dl_show_scope): Likewise.
34021         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34022         * elf/dl-version.c (match_symbol): Likewise.
34023         (_dl_check_map_versions): Likewise.
34024         * elf/rtld.c (dl_main): Likewise.
34025         (print_unresolved): Use RTLD_PROGNAME.
34026         (print_missing_version): Likewise.
34027         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
34028         (elf_machine_rela): Likewise.
34029         * sysdeps/powerpc/powerpc32/dl-machine.c
34030         (__process_machine_rela): Likewise.
34031         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34032         Likewise.
34033         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34034         Likewise.
34035         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
34036         Likewise.
34037         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34038         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
34039         Likewise.
34040         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
34041         Likewise.
34042         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34044 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
34046         * po/be.po: Add descriptive title.
34047         * po/zh_CN.po: Likewise.
34048         * po/header.pot: Likewise.
34050 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
34052         * locale/programs/locarchive.c (create_archive): Inlucde fname in
34053         error message.
34054         (enlarge_archive): Likewise.
34056 2013-05-28  Ben North  <ben@redfrontdoor.org>
34058         * manual/arith.texi (frexp): It is the magnitude of the return
34059         value which lies in [0.5, 1), not the return value itself.
34061 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34065 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
34067         * stdio-common/bug26.c (main): Correct fscanf template.
34069         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
34070         declare _dl_skip_args.
34072         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
34073         Don't declare.
34075         * manual/platform.texi: Add missing @end deftypefun.
34077 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
34079         [BZ #15529]
34080         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
34081         bit of mantissa of 2^16382.
34082         * math/libm-test.inc (hypot_test_data): Add more tests.
34084         * math/libm-test.inc: Add drem and pow10 to list of tested
34085         functions.
34086         (pow10_test): New function.
34087         (drem_test): Likewise.
34088         (drem_test_tonearest): Likewise.
34089         (drem_test_towardzero): Likewise.
34090         (drem_test_downward): Likewise.
34091         (drem_test_upward): Likewise.
34092         (main): Call the new functions.
34094         * math/libm-test.inc (finite_test_data): Remove.
34095         (finite_test): Run tests from isfinite_test_data.
34096         (gamma_test_data): Remove.
34097         (gamma_test): Run tests from lgamma_test_data.
34098         * sysdeps/i386/fpu/libm-test-ulps: Update.
34099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34101 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34103         * manual/platform.texi: Add PowerPC PPR function set documentation.
34104         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
34105         implementation.
34107 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
34109         * math/libm-test.inc (MAX_EXP): Define.
34110         (ULPDIFF): Define.
34111         (ulp): New function.
34112         (check_float_internal): Use ULPDIFF.
34113         (cpow_test): Disable failing test.
34114         (check_ulp): Test ulp() implemetnation.
34115         (main): Call check_ulp before starting tests.
34117 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
34119         * math/gen-libm-test.pl (generate_testfile): Do not handle
34120         START_DATA and END_DATA.
34121         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
34122         END_DATA.
34123         (acos_tonearest_test_data): Likewise.
34124         (acos_towardzero_test_data): Likewise.
34125         (acos_downward_test_data): Likewise.
34126         (acos_upward_test_data): Likewise.
34127         (acosh_test_data): Likewise.
34128         (asin_test_data): Likewise.
34129         (asin_tonearest_test_data): Likewise.
34130         (asin_towardzero_test_data): Likewise.
34131         (asin_downward_test_data): Likewise.
34132         (asin_upward_test_data): Likewise.
34133         (asinh_test_data): Likewise.
34134         (atan_test_data): Likewise.
34135         (atanh_test_data): Likewise.
34136         (atan2_test_data): Likewise.
34137         (cabs_test_data): Likewise.
34138         (cacos_test_data): Likewise.
34139         (cacosh_test_data): Likewise.
34140         (carg_test_data): Likewise.
34141         (casin_test_data): Likewise.
34142         (casinh_test_data): Likewise.
34143         (catan_test_data): Likewise.
34144         (catanh_test_data): Likewise.
34145         (cbrt_test_data): Likewise.
34146         (ccos_test_data): Likewise.
34147         (ccosh_test_data): Likewise.
34148         (ceil_test_data): Likewise.
34149         (cexp_test_data): Likewise.
34150         (cimag_test_data): Likewise.
34151         (clog_test_data): Likewise.
34152         (clog10_test_data): Likewise.
34153         (conj_test_data): Likewise.
34154         (copysign_test_data): Likewise.
34155         (cos_test_data): Likewise.
34156         (cos_tonearest_test_data): Likewise.
34157         (cos_towardzero_test_data): Likewise.
34158         (cos_downward_test_data): Likewise.
34159         (cos_upward_test_data): Likewise.
34160         (cosh_test_data): Likewise.
34161         (cosh_tonearest_test_data): Likewise.
34162         (cosh_towardzero_test_data): Likewise.
34163         (cosh_downward_test_data): Likewise.
34164         (cosh_upward_test_data): Likewise.
34165         (cpow_test_data): Likewise.
34166         (cproj_test_data): Likewise.
34167         (creal_test_data): Likewise.
34168         (csin_test_data): Likewise.
34169         (csinh_test_data): Likewise.
34170         (csqrt_test_data): Likewise.
34171         (ctan_test_data): Likewise.
34172         (ctan_tonearest_test_data): Likewise.
34173         (ctan_towardzero_test_data): Likewise.
34174         (ctan_downward_test_data): Likewise.
34175         (ctan_upward_test_data): Likewise.
34176         (ctanh_test_data): Likewise.
34177         (ctanh_tonearest_test_data): Likewise.
34178         (ctanh_towardzero_test_data): Likewise.
34179         (ctanh_downward_test_data): Likewise.
34180         (ctanh_upward_test_data): Likewise.
34181         (erf_test_data): Likewise.
34182         (erfc_test_data): Likewise.
34183         (exp_test_data): Likewise.
34184         (exp_tonearest_test_data): Likewise.
34185         (exp_towardzero_test_data): Likewise.
34186         (exp_downward_test_data): Likewise.
34187         (exp_upward_test_data): Likewise.
34188         (exp10_test_data): Likewise.
34189         (exp2_test_data): Likewise.
34190         (expm1_test_data): Likewise.
34191         (fabs_test_data): Likewise.
34192         (fdim_test_data): Likewise.
34193         (finite_test_data): Likewise.
34194         (floor_test_data): Likewise.
34195         (fma_test_data): Likewise.
34196         (fma_towardzero_test_data): Likewise.
34197         (fma_downward_test_data): Likewise.
34198         (fma_upward_test_data): Likewise.
34199         (fmax_test_data): Likewise.
34200         (fmin_test_data): Likewise.
34201         (fmod_test_data): Likewise.
34202         (fpclassify_test_data): Likewise.
34203         (frexp_test_data): Likewise.
34204         (gamma_test_data): Likewise.
34205         (hypot_test_data): Likewise.
34206         (ilogb_test_data): Likewise.
34207         (isfinite_test_data): Likewise.
34208         (isgreater_test_data): Likewise.
34209         (isgreaterequal_test_data): Likewise.
34210         (isinf_test_data): Likewise.
34211         (isless_test_data): Likewise.
34212         (islessequal_test_data): Likewise.
34213         (islessgreater_test_data): Likewise.
34214         (isnan_test_data): Likewise.
34215         (isnormal_test_data): Likewise.
34216         (issignaling_test_data): Likewise.
34217         (isunordered_test_data): Likewise.
34218         (j0_test_data): Likewise.
34219         (j1_test_data): Likewise.
34220         (jn_test_data): Likewise.
34221         (ldexp_test_data): Likewise.
34222         (lgamma_test_data): Likewise.
34223         (lrint_test_data): Likewise.
34224         (lrint_tonearest_test_data): Likewise.
34225         (lrint_towardzero_test_data): Likewise.
34226         (lrint_downward_test_data): Likewise.
34227         (lrint_upward_test_data): Likewise.
34228         (llrint_test_data): Likewise.
34229         (llrint_tonearest_test_data): Likewise.
34230         (llrint_towardzero_test_data): Likewise.
34231         (llrint_downward_test_data): Likewise.
34232         (llrint_upward_test_data): Likewise.
34233         (log_test_data): Likewise.
34234         (log10_test_data): Likewise.
34235         (log1p_test_data): Likewise.
34236         (log2_test_data): Likewise.
34237         (logb_test_data): Likewise.
34238         (logb_downward_test_data): Likewise.
34239         (lround_test_data): Likewise.
34240         (llround_test_data): Likewise.
34241         (modf_test_data): Likewise.
34242         (nearbyint_test_data): Likewise.
34243         (nextafter_test_data): Likewise.
34244         (nexttoward_test_data): Likewise.
34245         (pow_test_data): Likewise.
34246         (pow_tonearest_test_data): Likewise.
34247         (pow_towardzero_test_data): Likewise.
34248         (pow_downward_test_data): Likewise.
34249         (pow_upward_test_data): Likewise.
34250         (remainder_test_data): Likewise.
34251         (remainder_tonearest_test_data): Likewise.
34252         (remainder_towardzero_test_data): Likewise.
34253         (remainder_downward_test_data): Likewise.
34254         (remainder_upward_test_data): Likewise.
34255         (remquo_test_data): Likewise.
34256         (rint_test_data): Likewise.
34257         (rint_tonearest_test_data): Likewise.
34258         (rint_towardzero_test_data): Likewise.
34259         (rint_downward_test_data): Likewise.
34260         (rint_upward_test_data): Likewise.
34261         (round_test_data): Likewise.
34262         (scalb_test_data): Likewise.
34263         (scalbn_test_data): Likewise.
34264         (scalbln_test_data): Likewise.
34265         (signbit_test_data): Likewise.
34266         (sin_test_data): Likewise.
34267         (sin_tonearest_test_data): Likewise.
34268         (sin_towardzero_test_data): Likewise.
34269         (sin_downward_test_data): Likewise.
34270         (sin_upward_test_data): Likewise.
34271         (sincos_test_data): Likewise.
34272         (sinh_test_data): Likewise.
34273         (sinh_tonearest_test_data): Likewise.
34274         (sinh_towardzero_test_data): Likewise.
34275         (sinh_downward_test_data): Likewise.
34276         (sinh_upward_test_data): Likewise.
34277         (sqrt_test_data): Likewise.
34278         (tan_test_data): Likewise.
34279         (tan_tonearest_test_data): Likewise.
34280         (tan_towardzero_test_data): Likewise.
34281         (tan_downward_test_data): Likewise.
34282         (tan_upward_test_data): Likewise.
34283         (tanh_test_data): Likewise.
34284         (tgamma_test_data): Likewise.
34285         (trunc_test_data): Likewise.
34286         (y0_test_data): Likewise.
34287         (y1_test_data): Likewise.
34288         (yn_test_data): Likewise.
34289         (significand_test_data): Likewise.
34291         * math/gen-libm-test.pl (@functions): Remove variable.
34292         (generate_testfile): Don't handle START and END lines.
34293         * math/libm-test.inc (START): New macro.
34294         (END): Likewise.
34295         (END_COMPLEX): Likewise.
34296         (acos_test): Use END macro without arguments.
34297         (acos_test_tonearest): Likewise.
34298         (acos_test_towardzero): Likewise.
34299         (acos_test_downward): Likewise.
34300         (acos_test_upward): Likewise.
34301         (acosh_test): Likewise.
34302         (asin_test): Likewise.
34303         (asin_test_tonearest): Likewise.
34304         (asin_test_towardzero): Likewise.
34305         (asin_test_downward): Likewise.
34306         (asin_test_upward): Likewise.
34307         (asinh_test): Likewise.
34308         (atan_test): Likewise.
34309         (atanh_test): Likewise.
34310         (atan2_test): Likewise.
34311         (cabs_test): Likewise.
34312         (cacos_test): Use END_COMPLEX macro without arguments.
34313         (cacosh_test): Likewise.
34314         (carg_test): Use END macro without arguments.
34315         (casin_test): Use END_COMPLEX macro without arguments.
34316         (casinh_test): Likewise.
34317         (catan_test): Likewise.
34318         (catanh_test): Likewise.
34319         (cbrt_test): Use END macro without arguments.
34320         (ccos_test): Use END_COMPLEX macro without arguments.
34321         (ccosh_test): Likewise.
34322         (ceil_test): Use END macro without arguments.
34323         (cexp_test): Use END_COMPLEX macro without arguments.
34324         (cimag_test): Use END macro without arguments.
34325         (clog_test): Use END_COMPLEX macro without arguments.
34326         (clog10_test): Likewise.
34327         (conj_test): Likewise.
34328         (copysign_test): Use END macro without arguments.
34329         (cos_test): Likewise.
34330         (cos_test_tonearest): Likewise.
34331         (cos_test_towardzero): Likewise.
34332         (cos_test_downward): Likewise.
34333         (cos_test_upward): Likewise.
34334         (cosh_test): Likewise.
34335         (cosh_test_tonearest): Likewise.
34336         (cosh_test_towardzero): Likewise.
34337         (cosh_test_downward): Likewise.
34338         (cosh_test_upward): Likewise.
34339         (cpow_test): Use END_COMPLEX macro without arguments.
34340         (cproj_test): Likewise.
34341         (creal_test): Use END macro without arguments.
34342         (csin_test): Use END_COMPLEX macro without arguments.
34343         (csinh_test): Likewise.
34344         (csqrt_test): Likewise.
34345         (ctan_test): Likewise.
34346         (ctan_test_tonearest): Likewise.
34347         (ctan_test_towardzero): Likewise.
34348         (ctan_test_downward): Likewise.
34349         (ctan_test_upward): Likewise.
34350         (ctanh_test): Likewise.
34351         (ctanh_test_tonearest): Likewise.
34352         (ctanh_test_towardzero): Likewise.
34353         (ctanh_test_downward): Likewise.
34354         (ctanh_test_upward): Likewise.
34355         (erf_test): Use END macro without arguments.
34356         (erfc_test): Likewise.
34357         (exp_test): Likewise.
34358         (exp_test_tonearest): Likewise.
34359         (exp_test_towardzero): Likewise.
34360         (exp_test_downward): Likewise.
34361         (exp_test_upward): Likewise.
34362         (exp10_test): Likewise.
34363         (exp2_test): Likewise.
34364         (expm1_test): Likewise.
34365         (fabs_test): Likewise.
34366         (fdim_test): Likewise.
34367         (finite_test): Likewise.
34368         (floor_test): Likewise.
34369         (fma_test): Likewise.
34370         (fma_test_towardzero): Likewise.
34371         (fma_test_downward): Likewise.
34372         (fma_test_upward): Likewise.
34373         (fmax_test): Likewise.
34374         (fmin_test): Likewise.
34375         (fmod_test): Likewise.
34376         (fpclassify_test): Likewise.
34377         (frexp_test): Likewise.
34378         (gamma_test): Likewise.
34379         (hypot_test): Likewise.
34380         (ilogb_test): Likewise.
34381         (isfinite_test): Likewise.
34382         (isgreater_test): Likewise.
34383         (isgreaterequal_test): Likewise.
34384         (isinf_test): Likewise.
34385         (isless_test): Likewise.
34386         (islessequal_test): Likewise.
34387         (islessgreater_test): Likewise.
34388         (isnan_test): Likewise.
34389         (isnormal_test): Likewise.
34390         (issignaling_test): Likewise.
34391         (isunordered_test): Likewise.
34392         (j0_test): Likewise.
34393         (j1_test): Likewise.
34394         (jn_test): Likewise.
34395         (ldexp_test): Likewise.
34396         (lgamma_test): Likewise.
34397         (lrint_test): Likewise.
34398         (lrint_test_tonearest): Likewise.
34399         (lrint_test_towardzero): Likewise.
34400         (lrint_test_downward): Likewise.
34401         (lrint_test_upward): Likewise.
34402         (llrint_test): Likewise.
34403         (llrint_test_tonearest): Likewise.
34404         (llrint_test_towardzero): Likewise.
34405         (llrint_test_downward): Likewise.
34406         (llrint_test_upward): Likewise.
34407         (log_test): Likewise.
34408         (log10_test): Likewise.
34409         (log1p_test): Likewise.
34410         (log2_test): Likewise.
34411         (logb_test): Likewise.
34412         (logb_test_downward): Likewise.
34413         (lround_test): Likewise.
34414         (llround_test): Likewise.
34415         (modf_test): Likewise.
34416         (nearbyint_test): Likewise.
34417         (nextafter_test): Likewise.
34418         (nexttoward_test): Likewise.
34419         (pow_test): Likewise.
34420         (pow_test_tonearest): Likewise.
34421         (pow_test_towardzero): Likewise.
34422         (pow_test_downward): Likewise.
34423         (pow_test_upward): Likewise.
34424         (remainder_test): Likewise.
34425         (remainder_test_tonearest): Likewise.
34426         (remainder_test_towardzero): Likewise.
34427         (remainder_test_downward): Likewise.
34428         (remainder_test_upward): Likewise.
34429         (remquo_test): Likewise.
34430         (rint_test): Likewise.
34431         (rint_test_tonearest): Likewise.
34432         (rint_test_towardzero): Likewise.
34433         (rint_test_downward): Likewise.
34434         (rint_test_upward): Likewise.
34435         (round_test): Likewise.
34436         (scalb_test): Likewise.
34437         (scalbn_test): Likewise.
34438         (scalbln_test): Likewise.
34439         (signbit_test): Likewise.
34440         (sin_test): Likewise.
34441         (sin_test_tonearest): Likewise.
34442         (sin_test_towardzero): Likewise.
34443         (sin_test_downward): Likewise.
34444         (sin_test_upward): Likewise.
34445         (sincos_test): Likewise.
34446         (sinh_test): Likewise.
34447         (sinh_test_tonearest): Likewise.
34448         (sinh_test_towardzero): Likewise.
34449         (sinh_test_downward): Likewise.
34450         (sinh_test_upward): Likewise.
34451         (sqrt_test): Likewise.
34452         (tan_test): Likewise.
34453         (tan_test_tonearest): Likewise.
34454         (tan_test_towardzero): Likewise.
34455         (tan_test_downward): Likewise.
34456         (tan_test_upward): Likewise.
34457         (tanh_test): Likewise.
34458         (tgamma_test): Likewise.
34459         (trunc_test): Likewise.
34460         (y0_test): Likewise.
34461         (y1_test): Likewise.
34462         (yn_test): Likewise.
34463         (significand_test): Likewise.
34465 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
34467         [BZ #15381]
34468         * libio/genops.c (_IO_no_init): Initialize wide struct info.
34470 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34472         [BZ #14894]
34473         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
34474         __ppc_mdoio and __ppc_mdoom.
34475         * manual/platform.texi: Document new functions __ppc_yield,
34476         __ppc_mdoio and __ppc_mdoom.
34478 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
34480         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
34481         (main): Mention "tls" pseudo-hwcap is legacy.
34482         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
34484 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34486         * math/gen-libm-test.pl (parse_args): Output only string of
34487         arguments as text for test name, not full call or descriptions of
34488         tests for extra outputs.
34489         (generate_testfile): Do not pass function name to parse_args.
34490         Generate this_func variable from START.
34491         * math/libm-test.inc (struct test_f_f_data): Rename test_name
34492         field to arg_str.
34493         (struct test_ff_f_data): Likewise.
34494         (test_ff_f_data_nexttoward): Likewise.
34495         (struct test_fi_f_data): Likewise.
34496         (struct test_fl_f_data): Likewise.
34497         (struct test_if_f_data): Likewise.
34498         (struct test_fff_f_data): Likewise.
34499         (struct test_c_f_data): Likewise.
34500         (struct test_f_f1_data): Likewise.  Remove field extra_name.
34501         (struct test_fF_f1_data): Likewise.
34502         (struct test_ffI_f1_data): Likewise.
34503         (struct test_c_c_data): Rename test_name field to arg_str.
34504         (struct test_cc_c_data): Likewise.
34505         (struct test_f_i_data): Likewise.
34506         (struct test_ff_i_data): Likewise.
34507         (struct test_f_l_data): Likewise.
34508         (struct test_f_L_data): Likewise.
34509         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
34510         and extra2_name.
34511         (COMMON_TEST_SETUP): New macro.
34512         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
34513         (COMMON_TEST_CLEANUP): Likewise.
34514         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
34515         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
34516         macros.
34517         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
34518         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
34519         macros.
34520         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
34521         (RUN_TEST_fff_f): Take argument string.  Call new setup and
34522         cleanup macros.
34523         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
34524         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
34525         macros.
34526         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
34527         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
34528         macros.
34529         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34530         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
34531         cleanup macros.
34532         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34533         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
34534         cleanup macros.
34535         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34536         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
34537         cleanup macros.
34538         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34539         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
34540         macros.
34541         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
34542         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
34543         macros.
34544         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
34545         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
34546         macros.
34547         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
34548         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
34549         cleanup macros.
34550         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
34551         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
34552         cleanup macros.
34553         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
34554         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
34555         macros.
34556         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
34557         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
34558         cleanup macros.
34559         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
34560         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
34561         macros.
34562         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
34563         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
34564         macros.
34565         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
34566         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
34567         cleanup macros.
34568         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
34570 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
34572         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
34573         to _sifields.sigfault.
34574         (si_addr_lsb): Define new macro.
34575         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34576         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34577         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
34579 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
34581         [BZ #15441]
34582         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
34583         returns -1.
34584         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
34585         null return -1.
34586         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
34587         loading the domain.
34589 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34591         * math/gen-libm-test.pl (parse_args): Do not include expected
34592         result in test name.
34593         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
34594         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34595         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34596         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34597         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34600 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34602         * benchtests/Makefile: Sort function entries.
34604         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
34605         tanh, asinh, acosh, atanh.
34606         * benchtests/acos-inputs: New file.
34607         * benchtests/acosh-inputs: New file.
34608         * benchtests/asin-inputs: New file.
34609         * benchtests/asinh-inputs: New file.
34610         * benchtests/atanh-inputs: New file.
34611         * benchtests/cosh-inputs: New file.
34612         * benchtests/log-inputs: New file.
34613         * benchtests/sinh-inputs: New file.
34614         * benchtests/tanh-inputs: New file.
34616 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
34618         [BZ #15339]
34619         * posix/tst-getaddrinfo4.c: New test.
34620         * posix/Makefile (tests): Add it.
34622 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34624         [BZ #15339]
34625         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
34626         when no services were used.
34627         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
34628         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
34630 2013-05-21  Andreas Schwab  <schwab@suse.de>
34632         [BZ #15014]
34633         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
34634         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
34635         successful.
34636         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
34637         redundant variable declarations and reallocation of buffer when
34638         parsing as IPv6 address.  Always set NSS status when called from
34639         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
34640         buffer too small.  Correct computation of needed size.
34641         * nss/Makefile (tests): Add test-digits-dots.
34642         * nss/test-digits-dots.c: New test.
34644 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34646         * benchtests/Makefile: Remove instructions for adding
34647         benchmark tests.
34648         * benchtests/README: New file to explain how to execute and
34649         enhance the benchmark tests.
34651 2013-05-21  Andreas Schwab  <schwab@suse.de>
34653         [BZ #15493]
34654         * setjmp/Makefile (tests): Add tst-sigsetjmp.
34655         * setjmp/tst-sigsetjmp.c: New test.
34657 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34659         * sysdeps/x86_64/memset.S (memset): New implementation.
34660         (__bzero): Likewise.
34661         (__memset_tail): New function.
34663 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34665         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
34666         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
34667         __memcpy_sse2_unaligned ifunc selection.
34668         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34669         Add memcpy-sse2-unaligned.S.
34670         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34671         Add: __memcpy_sse2_unaligned.
34673 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
34675         [BZ #15490]
34676         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34677         math_force_eval before restoring floating-point envrionment.
34678         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
34679         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34680         Likewise.
34681         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
34682         <math_private.h>.
34683         (__nearbyintl): Use math_force_eval before restoring
34684         floating-point environment.
34685         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
34687         * math/gen-libm-test.pl (special_functions): Remove.
34688         (parse_args): Don't handle TEST_extra.  Handle functions with no
34689         return value.
34690         * math/libm-test.inc (struct test_sincos_data): Replace with
34691         struct test_fFF_11_data.
34692         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
34693         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
34694         (sincos_test_data): Change element type to struct
34695         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
34696         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
34697         RUN_TEST_LOOP_sincos.
34698         * math/README.libm-test: Don't mention special handling of
34699         individual functions.
34700         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
34701         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34702         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34703         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34704         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34707         * math/gen-libm-test.pl (get_variable): Remove function.
34708         (parse_args): Don't show pointer parameters to call in test
34709         names.  Use "extra output N" in test names for extra outputs
34710         rather than naming variables.
34712 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
34714         [BZ #15488]
34715         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
34716         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
34717         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
34718         double tests.
34719         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
34720         disable.
34721         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
34722         check_long_double.
34724         * math/gen-libm-test.pl (@tests): Remove variable.
34725         ($count): Likewise.
34726         (new_test): Remove function.
34727         (show_exceptions): New function.
34728         (special_functions): Use show_exceptions instead of new_test.
34729         (parse_args): Likewise.
34730         (generate_testfile): Pass only function name in generated call to
34731         print_max_error or print_complex_max_error.
34732         (get_ulps): Do not handle complex tests specially.
34733         (output_test): Rename to ...
34734         (get_all_ulps_for_test): ... this.  Return a string rather than
34735         printing to a file.  Require ulps to be present.
34736         (output_ulps): Generate arrays rather than #defines.
34737         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34738         (struct ulp_data): New type.
34739         (BUILD_COMPLEX_ULP): Remove macro.
34740         (compare_ulp_data): New function.
34741         (find_ulps): Likewise.
34742         (find_test_ulps): Likewise.
34743         (find_function_ulps): Likewise.
34744         (find_complex_function_ulps): Likewise.
34745         (print_max_error): Determine allowed ulps using
34746         find_function_ulps.
34747         (print_complex_max_error): Determine allowed ulps using
34748         find_complex_function_ulps.
34749         (check_float_internal): Determine max ulps using find_test_ulps.
34750         (check_float): Do not take max_ulp parameter.  Update call to
34751         check_float_internal.
34752         (check_complex): Likewise.
34753         (check_int): Do not take max_ulp parameter.
34754         (check_long): Likewise.
34755         (check_bool): Likewise.
34756         (check_longlong): Likewise.
34757         (struct test_f_f_data): Remove max_ulp field.
34758         (struct test_ff_f_data): Likewise.
34759         (struct test_ff_f_data_nexttoward): Likewise.
34760         (struct test_fi_f_data): Likewise.
34761         (struct test_fl_f_data): Likewise.
34762         (struct test_if_f_data): Likewise.
34763         (struct test_fff_f_data): Likewise.
34764         (struct test_c_f_data): Likewise.
34765         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34766         (struct test_fF_f1_data): Likewise.
34767         (struct test_ffI_f1_data): Likewise.
34768         (struct test_c_c_data): Remove max_ulp field.
34769         (struct test_cc_c_data): Likewise.
34770         (struct test_f_i_data): Likewise.
34771         (struct test_ff_i_data): Likewise.
34772         (struct test_f_l_data): Likewise.
34773         (struct test_f_L_data): Likewise.
34774         (struct test_sincos_data): Likewise.
34775         (RUN_TEST_f_f): Do not handle ulps.
34776         (RUN_TEST_LOOP_f_f): Likewise.
34777         (RUN_TEST_2_f): Likewise.
34778         (RUN_TEST_LOOP_2_f): Likewise.
34779         (RUN_TEST_fff_f): Likewise.
34780         (RUN_TEST_LOOP_fff_f): Likewise.
34781         (RUN_TEST_c_f): Likewise.
34782         (RUN_TEST_LOOP_c_f): Likewise.
34783         (RUN_TEST_f_f1): Likewise.
34784         (RUN_TEST_LOOP_f_f1): Likewise.
34785         (RUN_TEST_fF_f1): Likewise.
34786         (RUN_TEST_LOOP_fF_f1): Likewise.
34787         (RUN_TEST_fI_f1): Likewise.
34788         (RUN_TEST_LOOP_fI_f1): Likewise.
34789         (RUN_TEST_ffI_f1): Likewise.
34790         (RUN_TEST_LOOP_ffI_f1): Likewise.
34791         (RUN_TEST_c_c): Likewise.
34792         (RUN_TEST_LOOP_c_c): Likewise.
34793         (RUN_TEST_cc_c): Likewise.
34794         (RUN_TEST_LOOP_cc_c): Likewise.
34795         (RUN_TEST_f_i): Likewise.
34796         (RUN_TEST_LOOP_f_i): Likewise.
34797         (RUN_TEST_f_i_tg): Likewise.
34798         (RUN_TEST_LOOP_f_i_tg): Likewise.
34799         (RUN_TEST_ff_i_tg): Likewise.
34800         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34801         (RUN_TEST_f_b): Likewise.
34802         (RUN_TEST_LOOP_f_b): Likewise.
34803         (RUN_TEST_f_b_tg): Likewise.
34804         (RUN_TEST_LOOP_f_b_tg): Likewise.
34805         (RUN_TEST_f_l): Likewise.
34806         (RUN_TEST_LOOP_f_l): Likewise.
34807         (RUN_TEST_f_L): Likewise.
34808         (RUN_TEST_LOOP_f_L): Likewise.
34809         (RUN_TEST_sincos): Likewise.
34810         (RUN_TEST_LOOP_sincos): Likewise.
34812 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34814         [BZ #15480]
34815         [BZ #15485]
34816         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34817         main case of finite arguments, set rounding mode to FE_TONEAREST
34818         and discard exceptions.
34819         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34820         exceptions.
34821         (remainder_tonearest_test_data): New variable.
34822         (remainder_test_tonearest): New function.
34823         (remainder_towardzero_test_data): New variable.
34824         (remainder_test_towardzero): New function.
34825         (remainder_downward_test_data): New variable.
34826         (remainder_test_downward): New function.
34827         (remainder_upward_test_data): New variable.
34828         (remainder_test_upward): New function.
34829         (main): Call the new test functions.
34831         * math/libm-test.inc (struct test_f_f1_data): Remove field
34832         extra_init.
34833         (struct test_fF_f1_data): Likewise.
34834         (struct test_ffI_f1_data): Likewise.
34835         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34836         based on value of EXTRA_EXPECTED.
34837         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34838         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34839         EXTRA_VAR based on value of EXTRA_EXPECTED.
34840         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34841         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34842         EXTRA_VAR based on value of EXTRA_EXPECTED.
34843         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34844         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34845         EXTRA_VAR based on value of EXTRA_EXPECTED.
34846         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34847         * math/gen-libm-test.pl (parse_args): Don't output initializers
34848         for extra output values.
34850         * math/libm-test.inc (check_int): Expect result to be exactly
34851         equal to expected value and do not handle ulps.
34852         (check_long): Likewise.
34853         (check_longlong): Likewise.
34855         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34856         exceptions.
34857         (cimag_test_data): Likewise.
34858         (conj_test_data): Likewise.
34859         (copysign_test_data): Likewise.
34860         (cproj_test_data): Likewise.
34861         (creal_test_data): Likewise.
34862         (fabs_test_data): Likewise.
34863         (fdim_test_data): Likewise.
34864         (finite_test_data): Likewise.
34865         (floor_test_data): Likewise.
34866         (fmax_test_data): Likewise.
34867         (fmin_test_data): Likewise.
34868         (fmod_test_data): Likewise.
34869         (fpclassify_test_data): Likewise.
34870         (frexp_test_data): Likewise.
34871         (ilogb_test_data): Likewise.
34872         (isfinite_test_data): Likewise.
34873         (isgreater_test_data): Likewise.
34874         (isgreaterequal_test_data): Likewise.
34875         (isinf_test_data): Likewise.
34876         (isless_test_data): Likewise.
34877         (islessequal_test_data): Likewise.
34878         (islessgreater_test_data): Likewise.
34879         (isnan_test_data): Likewise.
34880         (isnormal_test_data): Likewise.
34881         (issignaling_test_data): Likewise.
34882         (isunordered_test_data): Likewise.
34883         (ldexp_test_data): Likewise.
34884         (lrint_test_data): Likewise.
34885         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34886         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34887         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34888         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34889         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34890         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34891         test input.
34892         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34893         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34894         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34895         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34896         that test input.
34897         (lrint_downward_test_data): Test for "inexact" exceptions.
34898         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34899         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34900         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34901         test input.
34902         (lrint_upward_test_data): Test for "inexact" exceptions.
34903         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34904         test input.
34905         (llrint_test_data): Test for "inexact" exceptions.
34906         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34907         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34908         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34909         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34910         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34911         (llrint_downward_test_data): Test for "inexact" exceptions.
34912         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34913         (llrint_upward_test_data): Test for "inexact" exceptions.
34914         (logb_test_data): Likewise.
34915         (logb_downward_test_data): Likewise.
34916         (nextafter_test_data): Likewise.
34917         (nexttoward_test_data): Likewise.
34918         (remainder_test_data): Likewise.
34919         (remquo_test_data): Likewise.
34920         (scalbn_test_data): Likewise.
34921         (scalbln_test_data): Likewise.
34922         (signbit_test_data): Likewise.
34923         (sqrt_test_data): Likewise.
34924         (significand_test_data): Likewise.
34926 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34928         [BZ #15424]
34929         * benchtests/bench-modf.c (struct args): Mark arg0 as
34930         volatile.
34931         * scripts/bench.pl: Mark members of struct args as volatile.
34933 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34935         [BZ # 15497]
34936         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34937         negative infinity on POWER6 or lower.
34938         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34940 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34942         [BZ #15442]
34943         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34944         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34945         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34946         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34947         (_FP_SETQNAN): New macro.
34948         (_FP_SETQNAN_SEMIRAW): Likewise.
34949         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34950         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34951         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34952         (FP_EXTEND): Use _FP_FRAC_SNANP.
34953         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34954         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34955         into account.
34956         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34957         New macro.
34958         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34959         Likewise.
34961 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34963         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34964         with DIVIDE_BY_ZERO_EXCEPTION.
34965         (gamma_test_data): Likewise.
34966         (lgamma_test_data): Likewise.
34967         (log_test_data): Likewise.
34968         (log10_test_data): Likewise.
34969         (log2_test_data): Likewise.
34970         (tgamma_test_data): Likewise.
34972         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34973         (acos_test_tonearest): Likewise.
34974         (acos_test_towardzero): Likewise.
34975         (acos_test_downward): Likewise.
34976         (acos_test_upward): Likewise.
34977         (acosh_test): Likewise.
34978         (asin_test): Likewise.
34979         (asin_test_tonearest): Likewise.
34980         (asin_test_towardzero): Likewise.
34981         (asin_test_downward): Likewise.
34982         (asin_test_upward): Likewise.
34983         (asinh_test): Likewise.
34984         (atan_test): Likewise.
34985         (atanh_test): Likewise.
34986         (atan2_test): Likewise.
34987         (cabs_test): Likewise.
34988         (cacos_test): Likewise.
34989         (cacosh_test): Likewise.
34990         (casin_test): Likewise.
34991         (casinh_test): Likewise.
34992         (catan_test): Likewise.
34993         (catanh_test): Likewise.
34994         (cbrt_test): Likewise.
34995         (ccos_test): Likewise.
34996         (ccosh_test): Likewise.
34997         (cexp_test): Likewise.
34998         (clog_test): Likewise.
34999         (clog10_test): Likewise.
35000         (cos_test): Likewise.
35001         (cos_test_tonearest): Likewise.
35002         (cos_test_towardzero): Likewise.
35003         (cos_test_downward): Likewise.
35004         (cos_test_upward): Likewise.
35005         (cosh_test): Likewise.
35006         (cosh_test_tonearest): Likewise.
35007         (cosh_test_towardzero): Likewise.
35008         (cosh_test_downward): Likewise.
35009         (cosh_test_upward): Likewise.
35010         (cpow_test): Likewise.
35011         (csin_test): Likewise.
35012         (csinh_test): Likewise.
35013         (csqrt_test): Likewise.
35014         (ctan_test): Likewise.
35015         (ctan_test_tonearest): Likewise.
35016         (ctan_test_towardzero): Likewise.
35017         (ctan_test_downward): Likewise.
35018         (ctan_test_upward): Likewise.
35019         (ctanh_test): Likewise.
35020         (ctanh_test_tonearest): Likewise.
35021         (ctanh_test_towardzero): Likewise.
35022         (ctanh_test_downward): Likewise.
35023         (ctanh_test_upward): Likewise.
35024         (erf_test): Likewise.
35025         (erfc_test): Likewise.
35026         (exp_test): Likewise.
35027         (exp_test_tonearest): Likewise.
35028         (exp_test_towardzero): Likewise.
35029         (exp_test_downward): Likewise.
35030         (exp_test_upward): Likewise.
35031         (exp10_test): Likewise.
35032         (exp2_test): Likewise.
35033         (expm1_test): Likewise.
35034         (fmod_test): Likewise.
35035         (gamma_test): Likewise.
35036         (hypot_test): Likewise.
35037         (j0_test): Likewise.
35038         (j1_test): Likewise.
35039         (jn_test): Likewise.
35040         (lgamma_test): Likewise.
35041         (log_test): Likewise.
35042         (log10_test): Likewise.
35043         (log1p_test): Likewise.
35044         (log2_test): Likewise.
35045         (logb_test_downward): Likewise.
35046         (pow_test): Likewise.
35047         (pow_test_tonearest): Likewise.
35048         (pow_test_towardzero): Likewise.
35049         (pow_test_downward): Likewise.
35050         (pow_test_upward): Likewise.
35051         (remainder_test): Likewise.
35052         (remquo_test): Likewise.
35053         (sin_test): Likewise.
35054         (sin_test_tonearest): Likewise.
35055         (sin_test_towardzero): Likewise.
35056         (sin_test_downward): Likewise.
35057         (sin_test_upward): Likewise.
35058         (sincos_test): Likewise.
35059         (sinh_test): Likewise.
35060         (sinh_test_tonearest): Likewise.
35061         (sinh_test_towardzero): Likewise.
35062         (sinh_test_downward): Likewise.
35063         (sinh_test_upward): Likewise.
35064         (sqrt_test): Likewise.
35065         (tan_test): Likewise.
35066         (tan_test_tonearest): Likewise.
35067         (tan_test_towardzero): Likewise.
35068         (tan_test_downward): Likewise.
35069         (tan_test_upward): Likewise.
35070         (tanh_test): Likewise.
35071         (tgamma_test): Likewise.
35072         (y0_test): Likewise.
35073         (y1_test): Likewise.
35074         (yn_test): Likewise.
35076         * math/gen-libm-test.pl (adjust_arg): Remove function.
35077         (special_function): Remove argument $in_func.  Only handle
35078         generating output for tables of tests, not inside functions.
35079         (parse_args): Likewise.
35080         (generate_testfile): Remove variable $in_func.  Update call to
35081         parse_args.
35082         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
35083         (MINUS_ZERO_INIT): Rename macro to minus_zero.
35084         (PLUS_INFTY_INIT): Rename macro to plus_infty.
35085         (MINUS_INFTY_INIT): Rename macro to minus_infty.
35086         (QNAN_VALUE_INIT): Rename macro to qnan_value.
35087         (MAX_VALUE_INIT): Rename macro to max_value.
35088         (MIN_VALUE_INIT): Rename macro to min_value.
35089         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
35090         (plus_zero): Remove variable.
35091         (minus_zero): Likewise.
35092         (plus_infty): Likewise.
35093         (minus_infty): Likewise.
35094         (qnan_value): Likewise.
35095         (max_value): Likewise.
35096         (min_value): Likewise.
35097         (min_subnorm_value): Likewise.
35099 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35101         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
35102         uint64_t or uint32_t usage.
35103         * crypt/sha256-block.c: Likewise.
35104         * crypt/sha256-crypt.c: Likewise.
35105         * crypt/sha256.c: Likewise.
35106         * crypt/sha512-block.c: Likewise.
35107         * crypt/sha512-crypt.c: Likewise.
35108         * crypt/sha512.c: Likewise.
35109         * debug/backtrace-tst.c: Likewise.
35110         * debug/pcprofiledump.c: Likewise.
35111         * elf/cache.c: Likewise.
35112         * elf/dl-cache.c: Likewise.
35113         * elf/dl-misc.c: Likewise.
35114         * elf/dl-profile.c: Likewise.
35115         * elf/dl-support.c: Likewise.
35116         * elf/ldconfig.c: Likewise.
35117         * elf/sprof.c: Likewise.
35118         * iconv/dummy-repertoire.c: Likewise.
35119         * iconv/iconv_charmap.c: Likewise.
35120         * iconv/skeleton.c: Likewise.
35121         * iconvdata/8bit-generic.c: Likewise.
35122         * iconvdata/cp737.h: Likewise.
35123         * iconvdata/cp775.h: Likewise.
35124         * iconvdata/ibm1008.h: Likewise.
35125         * iconvdata/ibm1025.h: Likewise.
35126         * iconvdata/ibm1046.h: Likewise.
35127         * iconvdata/ibm1097.h: Likewise.
35128         * iconvdata/ibm1112.h: Likewise.
35129         * iconvdata/ibm1122.h: Likewise.
35130         * iconvdata/ibm1123.h: Likewise.
35131         * iconvdata/ibm1124.h: Likewise.
35132         * iconvdata/ibm1129.h: Likewise.
35133         * iconvdata/ibm1130.h: Likewise.
35134         * iconvdata/ibm1132.h: Likewise.
35135         * iconvdata/ibm1133.h: Likewise.
35136         * iconvdata/ibm1137.h: Likewise.
35137         * iconvdata/ibm1140.h: Likewise.
35138         * iconvdata/ibm1141.h: Likewise.
35139         * iconvdata/ibm1142.h: Likewise.
35140         * iconvdata/ibm1143.h: Likewise.
35141         * iconvdata/ibm1144.h: Likewise.
35142         * iconvdata/ibm1145.h: Likewise.
35143         * iconvdata/ibm1146.h: Likewise.
35144         * iconvdata/ibm1147.h: Likewise.
35145         * iconvdata/ibm1148.h: Likewise.
35146         * iconvdata/ibm1149.h: Likewise.
35147         * iconvdata/ibm1153.h: Likewise.
35148         * iconvdata/ibm1154.h: Likewise.
35149         * iconvdata/ibm1155.h: Likewise.
35150         * iconvdata/ibm1156.h: Likewise.
35151         * iconvdata/ibm1157.h: Likewise.
35152         * iconvdata/ibm1158.h: Likewise.
35153         * iconvdata/ibm1160.h: Likewise.
35154         * iconvdata/ibm1161.h: Likewise.
35155         * iconvdata/ibm1162.h: Likewise.
35156         * iconvdata/ibm1163.h: Likewise.
35157         * iconvdata/ibm1164.h: Likewise.
35158         * iconvdata/ibm1166.h: Likewise.
35159         * iconvdata/ibm1167.h: Likewise.
35160         * iconvdata/ibm12712.h: Likewise.
35161         * iconvdata/ibm1390.h: Likewise.
35162         * iconvdata/ibm1399.h: Likewise.
35163         * iconvdata/ibm16804.h: Likewise.
35164         * iconvdata/ibm4517.h: Likewise.
35165         * iconvdata/ibm4899.h: Likewise.
35166         * iconvdata/ibm4909.h: Likewise.
35167         * iconvdata/ibm4971.h: Likewise.
35168         * iconvdata/ibm5347.h: Likewise.
35169         * iconvdata/ibm803.h: Likewise.
35170         * iconvdata/ibm856.h: Likewise.
35171         * iconvdata/ibm901.h: Likewise.
35172         * iconvdata/ibm902.h: Likewise.
35173         * iconvdata/ibm9030.h: Likewise.
35174         * iconvdata/ibm9066.h: Likewise.
35175         * iconvdata/ibm921.h: Likewise.
35176         * iconvdata/ibm922.h: Likewise.
35177         * iconvdata/ibm9448.h: Likewise.
35178         * iconvdata/isiri-3342.h: Likewise.
35179         * iconvdata/jis0201.h: Likewise.
35180         * include/link.h: Likewise.
35181         * include/netdb.h: Likewise.
35182         * inet/check_native.c: Likewise.
35183         * inet/check_pf.c: Likewise.
35184         * inet/getipv4sourcefilter.c: Likewise.
35185         * inet/getnameinfo.c: Likewise.
35186         * inet/getsourcefilter.c: Likewise.
35187         * inet/htonl.c: Likewise.
35188         * inet/setipv4sourcefilter.c: Likewise.
35189         * inet/setsourcefilter.c: Likewise.
35190         * inet/test-inet6_opt.c: Likewise.
35191         * inet/tst-network.c: Likewise.
35192         * locale/C-collate.c: Likewise.
35193         * locale/C-ctype.c: Likewise.
35194         * locale/C-time.c: Likewise.
35195         * locale/C-translit.h: Likewise.
35196         * locale/loadarchive.c: Likewise.
35197         * locale/programs/3level.h: Likewise.
35198         * locale/programs/charmap.c: Likewise.
35199         * locale/programs/charmap.h: Likewise.
35200         * locale/programs/ld-address.c: Likewise.
35201         * locale/programs/ld-collate.c: Likewise.
35202         * locale/programs/ld-ctype.c: Likewise.
35203         * locale/programs/ld-identification.c: Likewise.
35204         * locale/programs/ld-measurement.c: Likewise.
35205         * locale/programs/ld-messages.c: Likewise.
35206         * locale/programs/ld-monetary.c: Likewise.
35207         * locale/programs/ld-name.c: Likewise.
35208         * locale/programs/ld-numeric.c: Likewise.
35209         * locale/programs/ld-paper.c: Likewise.
35210         * locale/programs/ld-telephone.c: Likewise.
35211         * locale/programs/ld-time.c: Likewise.
35212         * locale/programs/linereader.c: Likewise.
35213         * locale/programs/locale.c: Likewise.
35214         * locale/programs/locarchive.c: Likewise.
35215         * locale/programs/locfile.h: Likewise.
35216         * locale/programs/repertoire.c: Likewise.
35217         * locale/programs/simple-hash.c: Likewise.
35218         * locale/programs/simple-hash.h: Likewise.
35219         * malloc/memusage.c: Likewise.
35220         * malloc/memusagestat.c: Likewise.
35221         * nis/nis_defaults.c: Likewise.
35222         * nis/nis_hash.c: Likewise.
35223         * nis/nis_print.c: Likewise.
35224         * nis/nis_xdr.c: Likewise.
35225         * nscd/connections.c: Likewise.
35226         * nscd/hstcache.c: Likewise.
35227         * nscd/nscd_gethst_r.c: Likewise.
35228         * nscd/nscd_getserv_r.c: Likewise.
35229         * nscd/nscd_helper.c: Likewise.
35230         * nscd/servicescache.c: Likewise.
35231         * nss/makedb.c: Likewise.
35232         * nss/nss_db/db-XXX.c: Likewise.
35233         * nss/nss_db/db-initgroups.c: Likewise.
35234         * nss/nss_db/db-netgrp.c: Likewise.
35235         * nss/nss_files/files-network.c: Likewise.
35236         * nss/nss_files/files-parse.c: Likewise.
35237         * posix/bug-regex5.c: Likewise.
35238         * posix/fnmatch_loop.c: Likewise.
35239         * posix/regcomp.c: Likewise.
35240         * posix/regexec.c: Likewise.
35241         * posix/tst-rfc3484-2.c: Likewise.
35242         * posix/tst-rfc3484-3.c: Likewise.
35243         * posix/tst-rfc3484.c: Likewise.
35244         * resolv/nss_dns/dns-canon.c: Likewise.
35245         * resolv/nss_dns/dns-network.c: Likewise.
35246         * resolv/res_init.c: Likewise.
35247         * resolv/res_mkquery.c: Likewise.
35248         * resolv/tst-aton.c: Likewise.
35249         * stdlib/cxa_atexit.c: Likewise.
35250         * stdlib/cxa_finalize.c: Likewise.
35251         * stdlib/gen-fpioconst.c: Likewise.
35252         * stdlib/strtol_l.c: Likewise.
35253         * string/tst-endian.c: Likewise.
35254         * sunrpc/auth_des.c: Likewise.
35255         * sunrpc/clnt_udp.c: Likewise.
35256         * sunrpc/rtime.c: Likewise.
35257         * sunrpc/svcauth_des.c: Likewise.
35258         * sunrpc/xdr.c: Likewise.
35259         * sunrpc/xdr_intXX_t.c: Likewise.
35260         * sunrpc/xdr_rec.c: Likewise.
35261         * sysdeps/generic/ldconfig.h: Likewise.
35262         * sysdeps/generic/ldsodefs.h: Likewise.
35263         * sysdeps/generic/memusage.h: Likewise.
35264         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35265         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
35266         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
35267         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35268         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35269         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35270         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35271         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35272         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35273         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35274         * sysdeps/posix/getaddrinfo.c: Likewise.
35275         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35276         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35277         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35278         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35279         * sysdeps/powerpc/test-gettimebase.c: Likewise.
35280         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35281         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
35282         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
35283         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35284         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
35285         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35286         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35287         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
35288         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
35289         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
35290         * sysdeps/x86_64/dl-tls.h: Likewise.
35291         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
35292         * time/alt_digit.c: Likewise.
35293         * time/era.c: Likewise.
35294         * wcsmbs/tst-c16c32-1.c: Likewise.
35296 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35298         * math/libm-test.inc (struct test_sincos_data): New type.
35299         (RUN_TEST_LOOP_sincos): New macro.
35300         (sincos_test_data): New variable.
35301         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
35303 2013-05-16  Richard Henderson  <rth@redhat.com>
35305         * math/atest-exp2.c (LIMB64): New macro.
35306         (CONSTSZ): New macro.
35307         (mp_exp1, mp_exp_m1, mp_log2): New variables.
35308         (hexdig): Move ...
35309         (print_mpn_fp): ... to function scope.
35310         (read_mpn_hex): Remove.
35311         (get_log2): Remove.
35312         (exp2_mpn): Use mp_log2.
35313         (main): Use mp_exp1.
35315 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35317         * math/libm-test.inc: Remove comment about not testing "inexact"
35318         exceptions.
35319         (INEXACT_EXCEPTION): New macro.
35320         (NO_INEXACT_EXCEPTION): Likewise.
35321         (INVALID_EXCEPTION_OK): Update value.
35322         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35323         (OVERFLOW_EXCEPTION_OK): Likewise.
35324         (UNDERFLOW_EXCEPTION_OK): Likewise.
35325         (IGNORE_ZERO_INF_SIGN): Likewise.
35326         (ERRNO_UNCHANGED): Likewise.
35327         (ERRNO_EDOM): Likewise.
35328         (ERRNO_ERANGE): Likewise.
35329         (test_exceptions): Handle testing "inexact" exceptions.
35330         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
35331         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
35332         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
35333         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
35334         INEXACT_EXCEPTION.
35335         (rint_towardzero_test_data): Likewise.
35336         (rint_downward_test_data): Likewise.
35337         (rint_upward_test_data): Likewise.
35339         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
35340         with OVERFLOW_EXCEPTION.
35341         (exp10_test_data): Likewise.
35342         (exp2_test_data): Likewise.
35343         (expm1_test_data): Likewise.
35344         (lgamma_test_data): Likewise.
35345         (pow_test_data): Likewise.
35346         (tgamma_test_data): Likewise.
35347         (yn_test_data): Remove duplicate test of overflow.
35349         * math/libm-test.inc (struct test_cc_c_data): New type.
35350         (RUN_TEST_LOOP_cc_c): New macro.
35351         (cpow_test_data): New variable.
35352         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
35354         * math/libm-test.inc (struct test_f_L_data): New type.
35355         (RUN_TEST_LOOP_f_L): New macro.
35356         (llrint_test_data): New variable.
35357         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
35358         (llrint_tonearest_test_data): New variable.
35359         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
35360         (llrint_towardzero_test_data): New variable.
35361         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
35362         (llrint_downward_test_data): New variable.
35363         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
35364         (llrint_upward_test_data): New variable.
35365         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
35366         (llround_test_data): New variable.
35367         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
35369 2013-05-13  Peter Collingbourne  <pcc@google.com>
35371         * math/atest-exp2.c (get_log2): Remove const attribute.
35373 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35375         * math/libm-test.inc (struct test_f_l_data): New type.
35376         (RUN_TEST_LOOP_f_l): New macro.
35377         (lrint_test_data): New variable.
35378         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
35379         (lrint_tonearest_test_data): New variable.
35380         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
35381         (lrint_towardzero_test_data): New variable.
35382         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
35383         (lrint_downward_test_data): New variable.
35384         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
35385         (lrint_upward_test_data): New variable.
35386         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
35387         (lround_test_data): New variable.
35388         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
35390 2013-05-15  Peter Collingbourne  <pcc@google.com>
35392         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
35393         (EXTRACT_WORDS64) Use where appropriate.
35394         (INSERT_WORDS64) Likewise.
35396         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
35397         constraints with x constraints.
35398         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
35400         * malloc/obstack.c (_obstack_compat): Add initializer.
35402 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
35404         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
35405         si_trapno and add si_addr_lsb to _sifields.sigfault.
35406         (si_trapno): Remove macro.
35407         (si_addr_lsb): Define new macro.
35408         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35410 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35412         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
35413         instead of TEST_f_l.
35414         (llrint_test_tonearest): Likewise.
35415         (llrint_test_towardzero): Likewise.
35416         (llrint_test_downward): Likewise.
35417         (llrint_test_upward): Likewise.
35418         (llround_test): Likewise.
35420         * math/libm-test.inc (struct test_f_i_data): Add comment.
35421         (RUN_TEST_LOOP_f_b): New macro.
35422         (RUN_TEST_LOOP_f_b_tg): Likewise.
35423         (finite_test_data): New variable.
35424         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
35425         (isfinite_test_data): New variable.
35426         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35427         (isinf_test_data): New variable.
35428         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35429         (isnan_test_data): New variable.
35430         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35431         (isnormal_test_data): New variable.
35432         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35433         (issignaling_test_data): New variable.
35434         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35435         (signbit_test_data): New variable.
35436         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35438         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
35439         with INVALID_EXCEPTION.
35440         (acosh_test_data): Likewise.
35441         (asin_test_data): Likewise.
35442         (atanh_test_data): Likewise.
35443         (fmod_test_data): Likewise.
35444         (log_test_data): Likewise.
35445         (log10_test_data): Likewise.
35446         (log2_test_data): Likewise.
35447         (pow_test_data): Likewise.
35448         (sqrt_test_data): Likewise.
35449         (y0_test_data): Likewise.
35450         (y1_test_data): Likewise.
35451         (yn_test_data): Likewise.
35453         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
35454         function contents.
35456         * math/libm-test.inc (struct test_ff_i_data): New type.
35457         (RUN_TEST_LOOP_ff_i_tg): New macro.
35458         (isgreater_test_data): New variable.
35459         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35460         (isgreaterequal_test_data): New variable.
35461         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35462         (isless_test_data): New variable.
35463         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35464         (islessequal_test_data): New variable.
35465         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35466         (islessgreater_test_data): New variable.
35467         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35468         (isunordered_test_data): New variable.
35469         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35471 2013-05-14  David S. Miller  <davem@davemloft.net>
35473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35475 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
35477         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
35479         * math/libm-test.inc (struct test_fF_f1_data): Change type of
35480         extra_test to int.
35481         (struct test_f_i_data): Change type of max_ulp to int.
35483         * math/libm-test.inc (test_ffI_f1_data): New type.
35484         (RUN_TEST_LOOP_ffI_f1): New macro.
35485         (remquo_test_data): New variable.
35486         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
35488         * setjmp/tst-setjmp-fp.c: New file.
35489         * setjmp/Makefile (tests): Add tst-setjmp-fp.
35490         (link-libm): New variable.
35491         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
35493         * math/libm-test.inc (struct test_f_i_data): New type.
35494         (RUN_TEST_LOOP_f_i): New macro.
35495         (RUN_TEST_LOOP_f_i_tg): Likewise.
35496         (fpclassify_test_data): New variable.
35497         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
35498         (ilogb_test_data): New variable.
35499         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
35501         * math/libm-test.inc (scalbln_test): Correct function name in END
35502         call.
35504         * math/libm-test.inc (struct test_f_f1_data): Add comment.
35505         (RUN_TEST_LOOP_fI_f1): New macro.
35506         (frexp_test_data): New variable.
35507         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
35509         * math/libm-test.inc (struct test_fF_f1_data): New type.
35510         (RUN_TEST_LOOP_fF_f1): New macro.
35511         (modf_test_data): New variable.
35512         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
35514         * math/libm-test.inc (struct test_f_f1_data): New type.
35515         (RUN_TEST_LOOP_f_f1): New macro.
35516         (gamma_test_data): New variable.
35517         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35518         (lgamma_test_data): New variable.
35519         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35521 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
35523         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
35524         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
35525         (main): Comment "tls" pseudo-hwcap.
35527 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
35529         * math/libm-test.inc (struct test_fl_f_data): New type.
35530         (RUN_TEST_LOOP_fl_f): New variable.
35531         (scalbln_test_data): New variable.
35532         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
35534         * math/libm-test.inc (struct test_fi_f_data): New type.
35535         (RUN_TEST_LOOP_fi_f): New macro.
35536         (ldexp_test_data): New variable.
35537         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
35538         (scalbn_test_data): New variable.
35539         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
35541         * math/libm-test.inc (struct test_c_f_data): New type.
35542         (RUN_TEST_LOOP_c_f): New macro.
35543         (cabs_test_data): New variable.
35544         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
35545         (carg_test_data): New variable.
35546         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
35547         (cimag_test_data): New variable.
35548         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
35549         (creal_test_data): New variable.
35550         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
35552         * math/libm-test.inc (struct test_if_f_data): New type.
35553         (RUN_TEST_LOOP_if_f): New macro.
35554         (jn_test_data): New variable.
35555         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
35556         (yn_test_data): New variable.
35557         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
35559         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
35561 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35563         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
35564         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
35566 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35568         * benchtests/Makefile (CPPFLAGS-nonlib): Add
35569         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
35570         (bench-deps): Add bench-timing.h.
35571         * benchtests-bench-skeleton.c: Include bench-timing.h.
35572         (main): Use TIMING_* macros instead of clock_gettime.
35573         * benchtests/bench-timing.h: New file.
35575         [BZ #14582]
35576         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
35577         Renamed from _LIB_VERSION.
35578         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
35580 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
35582         * math/libm-test.inc (struct test_fff_f_data): New type.
35583         (RUN_TEST_LOOP_fff_f): New macro.
35584         (fma_test_data): New variable.
35585         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
35586         (fma_towardzero_test_data): New variable.
35587         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
35588         (fma_downward_test_data): New variable.
35589         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
35590         (fma_upward_test_data): New variable.
35591         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
35593         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
35594         (struct test_c_c_data): New type.
35595         (RUN_TEST_LOOP_c_c): New macro.
35596         (cacos_test_data): New variable.
35597         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
35598         (cacosh_test_data): New variable.
35599         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
35600         (casin_test_data): New variable.
35601         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
35602         (casinh_test_data): New variable.
35603         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
35604         (catan_test_data): New variable.
35605         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
35606         (catanh_test_data): New variable.
35607         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
35608         (ccos_test_data): New variable.
35609         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
35610         (ccosh_test_data): New variable.
35611         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
35612         (cexp_test_data): New variable.
35613         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
35614         (clog_test_data): New variable.
35615         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
35616         (clog10_test_data): New variable.
35617         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
35618         (conj_test_data): New variable.
35619         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
35620         (cproj_test_data): New variable.
35621         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
35622         (csin_test_data): New variable.
35623         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
35624         (csinh_test_data): New variable.
35625         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
35626         (csqrt_test_data): New variable.
35627         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
35628         (ctan_test_data): New variable.
35629         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
35630         (ctan_tonearest_test_data): New variable.
35631         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35632         (ctan_towardzero_test_data): New variable.
35633         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35634         (ctan_downward_test_data): New variable.
35635         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35636         (ctan_upward_test_data): New variable.
35637         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35638         (ctanh_test_data): New variable.
35639         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
35640         (ctanh_tonearest_test_data): New variable.
35641         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35642         (ctanh_towardzero_test_data): New variable.
35643         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35644         (ctanh_downward_test_data): New variable.
35645         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35646         (ctanh_upward_test_data): New variable.
35647         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35648         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
35649         of BUILD_COMPLEX.
35651         * math/libm-test.inc (struct test_ff_f_data): New type.
35652         (struct test_ff_f_data_nexttoward): Likewise.
35653         (RUN_TEST_LOOP_2_f): New macro.
35654         (RUN_TEST_LOOP_ff_f): Likewise.
35655         (atan2_test_data): New variable.
35656         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
35657         (copysign_test_data): New variable.
35658         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
35659         (fdim_test_data): New variable.
35660         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
35661         (fmax_test_data): New variable.
35662         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
35663         (fmin_test_data): New variable.
35664         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
35665         (fmod_test_data): New variable.
35666         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
35667         (hypot_test_data): New variable.
35668         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
35669         (nextafter_test_data): New variable.
35670         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
35671         (nexttoward_test_data): New variable.
35672         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
35673         (pow_test_data): New variable.
35674         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
35675         (pow_tonearest_test_data): New variable.
35676         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
35677         (pow_towardzero_test_data): New variable.
35678         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
35679         (pow_downward_test_data): New variable.
35680         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
35681         (pow_upward_test_data): New variable.
35682         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
35683         (remainder_test_data): New variable.
35684         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
35685         (scalb_test_data): New variable.
35686         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
35687         * sysdeps/i386/fpu/libm-test-ulps: Update.
35689 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
35691         * math/libm-test.inc (fma_test): Use max_value instead of local
35692         variable fltmax.
35693         (nextafter_test): Likewise.
35695         * math/libm-test.inc (acos_towardzero_test_data): New variable.
35696         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35697         (acos_downward_test_data): New variable.
35698         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35699         (acos_upward_test_data): New variable.
35700         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35701         (acosh_test_data): New variable.
35702         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
35703         (asin_test_data): New variable.
35704         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
35705         (asin_tonearest_test_data): New variable.
35706         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35707         (asin_towardzero_test_data): New variable.
35708         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35709         (asin_downward_test_data): New variable.
35710         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35711         (asin_upward_test_data): New variable.
35712         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35713         (asinh_test_data): New variable.
35714         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
35715         (atan_test_data): New variable.
35716         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
35717         (atanh_test_data): New variable.
35718         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
35719         (cbrt_test_data): New variable.
35720         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
35721         (ceil_test_data): New variable.
35722         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35723         (cos_test_data): New variable.
35724         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35725         (cos_tonearest_test_data): New variable.
35726         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35727         (cos_towardzero_test_data): New variable.
35728         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35729         (cos_downward_test_data): New variable.
35730         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35731         (cos_upward_test_data): New variable.
35732         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35733         (cosh_test_data): New variable.
35734         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35735         (cosh_tonearest_test_data): New variable.
35736         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35737         (cosh_towardzero_test_data): New variable.
35738         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35739         (cosh_downward_test_data): New variable.
35740         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35741         (cosh_upward_test_data): New variable.
35742         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35743         (erf_test_data): New variable.
35744         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35745         (erfc_test_data): New variable.
35746         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35747         (exp_test_data): New variable.
35748         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35749         (exp_tonearest_test_data): New variable.
35750         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35751         (exp_towardzero_test_data): New variable.
35752         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35753         (exp_downward_test_data): New variable.
35754         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35755         (exp_upward_test_data): New variable.
35756         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35757         (exp10_test_data): New variable.
35758         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35759         (exp2_test_data): New variable.
35760         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35761         (expm1_test_data): New variable.
35762         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35763         (fabs_test_data): New variable.
35764         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35765         (floor_test_data): New variable.
35766         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35767         (j0_test_data): New variable.
35768         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35769         (j1_test_data): New variable.
35770         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35771         (log_test_data): New variable.
35772         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35773         (log10_test_data): New variable.
35774         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35775         (log1p_test_data): New variable.
35776         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35777         (log2_test_data): New variable.
35778         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35779         (logb_test_data): New variable.
35780         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35781         (logb_downward_test_data): New variable.
35782         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35783         (nearbyint_test_data): New variable.
35784         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35785         (rint_test_data): New variable.
35786         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35787         (rint_tonearest_test_data): New variable.
35788         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35789         (rint_towardzero_test_data): New variable.
35790         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35791         (rint_downward_test_data): New variable.
35792         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35793         (rint_upward_test_data): New variable.
35794         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35795         (round_test_data): New variable.
35796         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35797         (sin_test_data): New variable.
35798         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35799         (sin_tonearest_test_data): New variable.
35800         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35801         (sin_towardzero_test_data): New variable.
35802         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35803         (sin_downward_test_data): New variable.
35804         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35805         (sin_upward_test_data): New variable.
35806         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35807         (sinh_test_data): New variable.
35808         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35809         (sinh_tonearest_test_data): New variable.
35810         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35811         (sinh_towardzero_test_data): New variable.
35812         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35813         (sinh_downward_test_data): New variable.
35814         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35815         (sinh_upward_test_data): New variable.
35816         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35817         (sqrt_test_data): New variable.
35818         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35819         (tan_test_data): New variable.
35820         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35821         (tan_tonearest_test_data): New variable.
35822         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35823         (tan_towardzero_test_data): New variable.
35824         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35825         (tan_downward_test_data): New variable.
35826         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35827         (tan_upward_test_data): New variable.
35828         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35829         (tanh_test_data): New variable.
35830         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35831         (tgamma_test_data): New variable.
35832         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35833         (trunc_test_data): New variable.
35834         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35835         (y0_test_data): New variable.
35836         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35837         (y1_test_data): New variable.
35838         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35839         (significand_test_data): New variable.
35840         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35842 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35844         [BZ #12387]
35845         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35847 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35849         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35851 2013-05-10  Andreas Jaeger  <aj@suse.de>
35853         [BZ #15448]
35854         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35855         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35857 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35859         * math/gen-libm-test.pl (adjust_arg): New function.
35860         (special_functions): Handle generating output in both functions
35861         and arrays.
35862         (parse_args): Likewise.
35863         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35864         $in_func argument to parse_args.
35865         * math/libm-test.inc (struct test_f_f_data): New type.
35866         (IF_ROUND_INIT_): New macro.
35867         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35868         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35869         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35870         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35871         (ROUND_RESTORE_): Likewise.
35872         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35873         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35874         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35875         (ROUND_RESTORE_FE_UPWARD): Likewise.
35876         (RUN_TEST_LOOP_f_f): New macro.
35877         (acos_test_data): New variable.
35878         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35879         (acos_tonearest_test_data): New variable.
35880         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35882 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35884         * benchtests/bench-skeleton.c (startup): Fix coding style.
35886 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35888         [BZ #6809]
35889         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35890         negative infinity argument.
35891         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35892         negative infinity argument.
35893         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35894         negative infinity argument.
35895         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35896         domain errors.
35898 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35900         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35901         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35902         * iconv/iconv_prog.c (main): Likewise.
35903         * locale/programs/charmap-dir.c (charmap_readdir)
35904         (fopen_uncompressed): Likewise.
35905         * locale/programs/locfile.c (siblings_uncached)
35906         (write_locale_data): Use lstat64 instead of lstat.
35907         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35908         stat.
35910 2013-05-10  Andreas Jaeger  <aj@suse.de>
35912         [BZ #15395]
35913         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35914         localization.
35915         Include <locale.h>.
35917 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35919         * elf/dl-close.c (_dl_close_worker): Add comments.
35921 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35923         [BZ #15359]
35924         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35925         high part of pi/2.
35926         (__ieee754_rem_pio2l): Update comments.
35928         [BZ #15429]
35929         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35930         high part of pi/2.
35931         (__ieee754_rem_pio2l): Update comments.
35933         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35934         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35936         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35937         M_PI_4l.
35939         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35940         (M_PI_34_LOG10El): Likewise.
35941         (M_PI2_LOG10El): Likewise.
35942         (M_PI4_LOG10El): Likewise.
35943         (M_PI_LOG10El): Likewise.
35945 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35947         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35949 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35951         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35952         (MINUS_ZERO_INIT): Likewise.
35953         (PLUS_INFTY_INIT): Likewise.
35954         (MINUS_INFTY_INIT): Likewise.
35955         (QNAN_VALUE_INIT): Likewise.
35956         (MAX_VALUE_INIT): Likewise.
35957         (MIN_VALUE_INIT): Likewise.
35958         (MIN_SUBNORM_VALUE_INIT): Likewise.
35959         (plus_zero): Initialize with PLUS_ZERO_INIT.
35960         (minus_zero): Initialize with MINUS_ZERO_INIT.
35961         (plus_infty): Initialize with PLUS_INFTY_INIT.
35962         (minus_infty): Initialize with MINUS_INFTY_INIT.
35963         (qnan_value): Initialize with QNAN_VALUE_INIT.
35964         (max_value): Initialize with MAX_VALUE_INIT.
35965         (min_value): Initialize with MIN_VALUE_INIT.
35966         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35968         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35969         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35970         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35971         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35973         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35974         (RUN_TEST_2_f): Likewise.
35975         (RUN_TEST_ff_f): Likewise.
35976         (RUN_TEST_fi_f): Likewise.
35977         (RUN_TEST_fl_f): Likewise.
35978         (RUN_TEST_fff_f): Likewise.
35979         (RUN_TEST_c_f): Likewise.
35980         (RUN_TEST_f_f1): Likewise.
35981         (RUN_TEST_fF_f1): Likewise.
35982         (RUN_TEST_fI_f1): Likewise.
35983         (RUN_TEST_ffI_f1): Likewise.
35984         (RUN_TEST_c_c): Likewise.
35985         (RUN_TEST_cc_c): Likewise.
35986         (RUN_TEST_f_i): Likewise.
35987         (RUN_TEST_f_i_tg): Likewise.
35988         (RUN_TEST_ff_i_tg): Likewise.
35989         (RUN_TEST_f_b): Likewise.
35990         (RUN_TEST_f_b_tg): Likewise.
35991         (RUN_TEST_f_l): Likewise.
35992         (RUN_TEST_f_L): Likewise.
35993         (RUN_TEST_sincos): Likewise.
35994         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35995         whether to show exceptions.  Do not include ");\n" in return
35996         value.
35997         (special_functions): Output call to RUN_TEST_sincos instead of
35998         check_float calls.  Update calls to new_test.
35999         (parse_args): Output call to single RUN_TEST_* macro instead of
36000         check_* calls and other assignments.  Update calls to new_test.
36002         [BZ #2546]
36003         [BZ #2560]
36004         [BZ #5159]
36005         [BZ #15426]
36006         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
36007         input to result for tgamma overflow.
36008         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
36009         (gamma_coeff): New variable.
36010         (NCOEFF): New macro.
36011         (gamma_positive): New function.
36012         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
36013         underflow here.  Use gamma_positive instead of exp (lgamma) for
36014         other arguments.
36015         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
36016         (gamma_coeff): New variable.
36017         (NCOEFF): New macro.
36018         (gammaf_positive): New function.
36019         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
36020         underflow here.  Use gamma_positive instead of exp (lgamma) for
36021         other arguments.
36022         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
36023         (gamma_coeff): New variable.
36024         (NCOEFF): New macro.
36025         (gammal_positive): New function.
36026         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
36027         underflow here.  Use gamma_positive instead of exp (lgamma) for
36028         other arguments.
36029         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
36030         (gamma_coeff): New variable.
36031         (NCOEFF): New macro.
36032         (gammal_positive): New function.
36033         (__ieee754_gammal_r): Handle positive infinity, overflow and
36034         underflow here.  Handle NaN the same as positive infinity.  Remove
36035         check x < 0xffffffff for negative integers.  Use gamma_positive
36036         instead of exp (lgamma) for other arguments.
36037         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
36038         (gamma_coeff): New variable.
36039         (NCOEFF): New macro.
36040         (gammal_positive): New function.
36041         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
36042         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
36043         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
36044         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
36045         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
36046         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
36047         * sysdeps/generic/math_private.h (__gamma_productf): New
36048         prototype.
36049         (__gamma_product): Likewise.
36050         (__gamma_productl): Likewise.
36051         * math/Makefile (libm-calls): Add gamma_product.
36052         * math/libm-test.inc (tgamma_test): Add more tests.
36053         * sysdeps/i386/fpu/libm-test-ulps: Update.
36054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36056 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
36058         * benchtests/bench-skeleton.c (main): Preheat CPU.
36060 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
36062         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
36064 2013-05-07  Roland McGrath  <roland@hack.frob.com>
36066         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
36067         and _dl_skip_args_internal.
36069 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
36071         * manual/message.texi (Message Translation): Talk about users.
36072         Message to key mapping impacts design.
36074 2013-05-06  Roland McGrath  <roland@hack.frob.com>
36076         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
36078         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
36080         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
36081         * sysdeps/wordsize-64/glob64.c: ... here.
36083         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
36084         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
36085         New macros.
36087         * debug/getlogin_r_chk.c: Moved to ...
36088         * login/getlogin_r_chk.c: ... here.
36089         * debug/Makefile (routines): Move getlogin_r_chk to ...
36090         * login/Makefile (routines): ... here.
36091         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
36092         * login/Versions (libc: GLIBC_2.4): ... here.
36094         * io/poll.c (__poll): Renamed from poll.
36095         Add libc_hidden_def.
36096         (poll): Define as weak alias.
36098         * debug/ptsname_r_chk.c: Moved to ...
36099         * login/ptsname_r_chk.c: ... here.
36100         * debug/Makefile (routines): Move ptsname_r_chk to ...
36101         * login/Makefile (routines): ... here.
36102         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
36103         * login/Versions (libc: GLIBC_2.4): ... here.
36105         * posix/getlogin.c: Moved to ...
36106         * login/getlogin.c: ... here.
36107         * posix/getlogin_r.c: Moved to ...
36108         * login/getlogin_r.c: ... here.
36109         * posix/getlogin_r.c: Moved to ...
36110         * login/getlogin_r.c: ... here.
36111         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
36112         * login/Makefile (routines): ... here.
36113         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
36114         * login/Versions (libc: GLIBC_2.0): ... here.
36116         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
36117         (setrlimit): Define as weak alias.
36119         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
36120         Call __ names for open, ftruncate, and close.
36121         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
36122         (truncate): Define as weak alias.
36124 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
36126         * math/gen-libm-test.pl (parse_args): Initialize x before each
36127         test of frexp, modf and remquo.
36129         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
36130         test signgam value.
36132 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36134         [BZ #15418]
36135         [BZ #15419]
36136         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
36137         internal tests.
36138         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36140 2013-05-06  Roland McGrath  <roland@hack.frob.com>
36142         * elf/dl-writev.h: New file.
36143         * elf/dl-misc.c: Include it.
36144         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
36145         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
36147 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
36149         * math/libm-test.inc (noXFails): Remove variable.
36150         (noXPasses): Likewise.
36151         (BUILD_COMPLEX_INT): Remove macro.
36152         (print_screen): Remove xfail argument.
36153         (print_screen_max_error): Likewise.
36154         (update_stats): Likewise.
36155         (print_max_error): Likewise.  Update calls to other affected
36156         functions.
36157         (print_complex_max_error): Likewise.
36158         (test_single_exception): Update calls to print_screen.
36159         (test_single_errno): Likewise.
36160         (check_float_internal): Remove xfail argument.  Update calls to
36161         other affected functions.
36162         (check_float): Likewise.
36163         (check_complex): Likewise.
36164         (check_int): Likewise.
36165         (check_long): Likewise.
36166         (check_bool): Likewise.
36167         (check_longlong): Likewise.
36168         (main): Don't print noXFails and noXPasses.
36169         * math/gen-libm-test.pl (top level): Don't mention expected
36170         failure handling in comment.
36171         (new_test): Don't handle expected failures.
36172         (parse_args): Don't mention expected failure handling in comment.
36173         (generate_testfile): Don't handle expected failures.
36174         (parse_ulps): Likewise.
36175         (print_ulps_file): Likewise.
36176         (get_failure): Remove function.
36177         (output_test): Don't handle expected failures.
36178         * make/README.libm-test: Don't mention expected failure handling.
36180         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
36181         (minus_zero): Likewise.
36182         (plus_infty): Likewise.
36183         (minus_infty): Likewise.
36184         (qnan_value): Likewise.
36185         (max_value): Likewise.
36186         (min_value): Likewise.
36187         (min_subnorm_value): Likewise.
36188         (initialize): Do not initialize those variables dynamically.
36190 2013-05-03  Roland McGrath  <roland@hack.frob.com>
36192         * io/open.c (__open_2): Moved to ...
36193         * io/open_2.c: ... this new file.
36194         * io/open64.c (__open64_2): Moved to ...
36195         * io/open64_2.c: ... this new file.
36196         * io/openat.c (__openat_2): Moved to ...
36197         * io/openat_2.c: ... this new file.
36198         * io/openat64.c (__openat64_2): Moved to ...
36199         * io/openat64_2.c: ... this new file.
36200         * io/Makefile (routines): Add them.
36201         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
36202         * sysdeps/unix/sysv/linux/open_2.c: File removed.
36203         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
36204         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
36205         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
36206         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
36207         (__openat64): Add hidden_ver.
36208         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
36209         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
36211         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
36212         Separately conditionalize setting of GLRO(dl_sysinfo) so
36213         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
36214         as well, but the actual setting is only under [NEED_DL_SYSINFO].
36216 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36218         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
36219         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
36220         definition.
36221         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
36222         * sysdeps/unix/sysv/linux/powerpc/init-first.c
36223         (_libc_vdso_platform_setup): Add __vdso_time initialization.
36224         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
36225         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
36227 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
36229         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
36230         test signgam value.
36232         * math/libm-test.inc (hypot_test): Do not use
36233         IGNORE_ZERO_INF_SIGN.
36235 2013-05-03  Andreas Jaeger  <aj@suse.de>
36237         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
36238         Linux 3.9.
36239         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
36240         (PF_MAX): Adjust for VSOCK change.
36242 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36246 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
36248         [BZ #15264]
36249         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
36250         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
36251         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
36253 2013-05-02  David S. Miller  <davem@davemloft.net>
36255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36257 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
36259         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
36261 2013-05-01  Roland McGrath  <roland@hack.frob.com>
36263         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
36265 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
36267         [BZ #14952]
36268         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
36269         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36270         Use __attribute__ ((__gnu_inline__)).
36271         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36272         Don't use __attribute__ ((__gnu_inline__)).
36274 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
36276         [BZ #15423]
36277         * math/s_catan.c (__catan): Handle small real or imaginary part of
36278         input specially to avoid spurious underflow.
36279         * math/s_catanf.c (__catanf): Likewise.
36280         * math/s_catanh.c (__catanh): Likewise.
36281         * math/s_catanhf.c (__catanhf): Likewise.
36282         * math/s_catanhl.c (__catanhl): Likewise.
36283         * math/s_catanl.c (__catanl): Likewise.
36284         * math/libm-test.inc (catan_test): Add more tests.
36285         (catanh_test): Likewise.
36286         * sysdeps/i386/fpu/libm-test-ulps: Update.
36287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36289 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36293 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
36295         [BZ #15416]
36296         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
36297         accurately for denominator in atan2.
36298         * math/s_catanf.c (__catanf): Likewise.
36299         * math/s_catanh.c (__catanh): Likewise.
36300         * math/s_catanhf.c (__catanhf): Likewise.
36301         * math/s_catanhl.c (__catanhl): Likewise.
36302         * math/s_catanl.c (__catanl): Likewise.
36303         * math/libm-test.inc (catan_test): Add more tests.
36304         (catanh_test): Likewise.
36305         * sysdeps/i386/fpu/libm-test-ulps: Update.
36306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36308 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36310         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
36312         * benchtests/Makefile (bench): Remove slow benchmarks.
36313         * benchtests/atan-inputs: Add slow benchmark inputs.
36314         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
36315         (BENCH_FUNC): Accept variant offset.
36316         (VARIANT): Define.
36317         * benchtests/bench-skeleton.c (main): Run benchmark for each
36318         variant.
36319         * benchtests/cos-inputs: Add slow benchmark inputs.
36320         * benchtests/exp-inputs: Likewise.
36321         * benchtests/pow-inputs: Likewise.
36322         * benchtests/sin-inputs: Likewise.
36323         * benchtests/slowatan-inputs: Remove.
36324         * benchtests/slowatan.c: Remove.
36325         * benchtests/slowcos-inputs: Remove.
36326         * benchtests/slowcos.c: Remove.
36327         * benchtests/slowexp-inputs: Remove.
36328         * benchtests/slowexp.c: Remove.
36329         * benchtests/slowpow-inputs: Remove.
36330         * benchtests/slowpow.c: Remove.
36331         * benchtests/slowsin-inputs: Remove.
36332         * benchtests/slowsin.c: Remove.
36333         * benchtests/slowtan-inputs: Remove.
36334         * benchtests/slowtan.c: Remove.
36335         * benchtests/tan-inputs: Add slow benchmark inputs.
36336         * scripts/bench.pl: Parse comments and directives.
36338         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
36339         in CPPFLAGS.
36340         ($(objpfx)bench-%.c): Remove *-ITER.
36341         * benchtests/bench-modf.c: Remove definition of ITER.
36342         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
36343         (main): Loop for DURATION seconds instead of fixed number of
36344         iterations.
36345         * scripts/bench.pl: Don't expect iterations in parameters.
36347 2013-04-29  Roland McGrath  <roland@hack.frob.com>
36349         * io/fchdir.c (__fchdir): Renamed from fchdir.
36350         (fchdir): Define as weak alias.
36352 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36354         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
36355         (ERRNO_EDOM): Likewise.
36356         (ERRNO_ERANGE): Likewise.
36357         (noErrnoTests): New variable.
36358         (init_max_error): Set errno to 0.
36359         (test_single_errno): New function.
36360         (test_errno): Likewise.
36361         (check_float_internal): Call test_errno.  Set errno to 0.
36362         (check_complex): Refer to errno tests in comment.
36363         (check_int): Call test_errno.  Set errno to 0.
36364         (check_long): Likewise.
36365         (check_bool): Likewise.
36366         (check_longlong): Likewise.
36367         (cos_test): Use ERRNO_* flags for errno tests instead of
36368         check_int.
36369         (expm1_test): Likewise.
36370         (fmod_test): Likewise.
36371         (ilogb_test): Likewise.
36372         (lgamma_test): Likewise.
36373         (pow_test): Likewise.
36374         (remainder_test): Likewise.
36375         (sin_test): Likewise.
36376         (tan_test): Likewise.
36377         (yn_test): Likewise.
36378         (initialize): Set errno to 0.
36379         (main): Print number of errno tests.
36380         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
36382 2013-04-29  Andreas Jaeger  <aj@suse.de>
36384         [BZ #15084]
36385         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
36386         and RES_USEVC.
36388         [BZ #15085]
36389         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
36390         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
36391         unimplemented.
36393         [BZ #15380]
36394         * stdlib/random.c (__initstate): Return NULL if
36395         __initstate fails.
36397         [BZ #15086]
36398         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
36399         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
36400         RES_SNGLKUPREOP.
36402 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36406 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36408         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
36409         of individual tests.
36410         (casin_test): Likewise.
36411         (casinh_test): Likewise.
36413 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
36415         [BZ #15409]
36416         * math/s_catan.c (__catan): Handle arguments with large real or
36417         imaginary part separately without squaring.
36418         * math/s_catanf.c (__catanf): Likewise.
36419         * math/s_catanh.c (__catanh): Likewise.
36420         * math/s_catanhf.c (__catanhf): Likewise.
36421         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36422         and redefine.
36423         (__catanhl): Handle arguments with large real or imaginary part
36424         separately without squaring.
36425         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36426         and redefine.
36427         (__catanl): Handle arguments with large real or imaginary part
36428         separately without squaring.
36429         * math/libm-test.inc (catan_test): Add more tests.
36430         (catanh_test): Likewise.
36431         * sysdeps/i386/fpu/libm-test-ulps: Update.
36432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36434 2013-04-27  Andreas Jaeger  <aj@suse.de>
36436         [BZ #15007]
36437         * stdlib/stdlib.h: Update guards for qecvt.
36438         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
36439         <stdlib.h>.
36441 2013-04-27  Allan McRae  <allan@archlinux.org>
36443         * sysdeps/i386/fpu/libm-test-ulps: Update.
36445 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
36447         [BZ #15406]
36448         * math/s_catan.c: Include <float.h>.
36449         (__catan): Ensure underflow exception occurs for underflowed
36450         result.
36451         * math/s_catanf.c: Include <float.h>.
36452         (__catanf): Ensure underflow exception occurs for underflowed
36453         result.
36454         * math/s_catanh.c: Include <float.h>.
36455         (__catanh): Ensure underflow exception occurs for underflowed
36456         result.
36457         * math/s_catanhf.c: Include <float.h>.
36458         (__catanhf): Ensure underflow exception occurs for underflowed
36459         result.
36460         * math/s_catanhl.c: Include <float.h>.
36461         (__catanhl): Ensure underflow exception occurs for underflowed
36462         result.
36463         * math/s_catanl.c: Include <float.h>.
36464         (__catanl): Ensure underflow exception occurs for underflowed
36465         result.
36466         * math/libm-test.inc (catan_test): Add more tests.
36467         (catanh_test): Likewise.
36469         [BZ #15405]
36470         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
36471         underflowed result.
36472         * math/s_ccoshf.c (__ccoshf): Likewise.
36473         * math/s_ccoshl.c (__ccoshl): Likewise.
36474         * math/s_csin.c (__csin): Likewise.
36475         * math/s_csinf.c (__csinf): Likewise.
36476         * math/s_csinh.c (__csinh): Likewise.
36477         * math/s_csinhf.c (__csinhf): Likewise.
36478         * math/s_csinhl.c (__csinhl): Likewise.
36479         * math/s_csinl.c (__csinl): Likewise.
36480         * math/libm-test.inc (ccos_test): Add more tests.
36481         (ccosh_test): Likewise.
36482         (csin_test): Likewise.
36483         (csinh_test): Likewise.
36485 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36487         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
36488         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
36489         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
36490         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
36491         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
36492         powerpc/power5+/fpu folders.
36493         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
36496 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36498         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36500 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
36502         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
36503         additions to variable.
36504         [$(config-machine) = x86_64] (modules-names): Likewise.
36505         ($(objpfx)tst-audit3): Remove dependency.
36506         ($(objpfx)tst-audit3.out): Likewise.
36507         ($(objpfx)tst-audit4): Likewise.
36508         ($(objpfx)tst-audit4.out): Likewise.
36509         ($(objpfx)tst-audit5): Likewise.
36510         ($(objpfx)tst-audit5.out): Likewise.
36511         ($(objpfx)tst-audit6): Likewise.
36512         ($(objpfx)tst-audit6.out): Likewise.
36513         ($(objpfx)tst-audit7): Likewise.
36514         ($(objpfx)tst-audit7.out): Likewise.
36515         (tst-audit3-ENV): Remove variable.
36516         (tst-audit4-ENV): Likewise.
36517         (tst-audit5-ENV): Likewise.
36518         (tst-audit6-ENV): Likewise.
36519         (tst-audit7-ENV): Likewise.
36520         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
36521         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
36522         addition to variable.
36523         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
36524         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
36525         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
36526         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
36527         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
36528         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
36529         tst-audit3, tst-audit4 and tst-audit5.
36530         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
36531         tst-audit6 and tst-audit7.
36532         [$(subdir) = elf] (modules-names): Add audit modules for those
36533         tests.
36534         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
36535         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
36536         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
36537         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
36538         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
36539         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
36540         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
36541         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
36542         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
36543         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
36544         [$(subdir) = elf] (tst-audit3-ENV): New variable.
36545         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
36546         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
36547         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
36548         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
36549         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
36550         Likewise.
36551         [$(subdir) = elf && $(config-cflags-avx) = yes]
36552         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
36553         [$(subdir) = elf && $(config-cflags-avx) = yes]
36554         (CFLAGS-tst-auditmod4a.c): Likewise.
36555         [$(subdir) = elf && $(config-cflags-avx) = yes]
36556         (CFLAGS-tst-auditmod4b.c): Likewise.
36557         [$(subdir) = elf && $(config-cflags-avx) = yes]
36558         (CFLAGS-tst-auditmod6b.c): Likewise.
36559         [$(subdir) = elf && $(config-cflags-avx) = yes]
36560         (CFLAGS-tst-auditmod6c.c): Likewise.
36561         [$(subdir) = elf && $(config-cflags-avx) = yes]
36562         (CFLAGS-tst-auditmod7b.c): Likewise.
36563         * elf/tst-audit3.c: Move to ...
36564         * sysdeps/x86_64/tst-audit3.c: ... here.
36565         * elf/tst-audit4.c: Move to ...
36566         * sysdeps/x86_64/tst-audit4.c: ... here.
36567         * elf/tst-audit5.c: Move to ...
36568         * sysdeps/x86_64/tst-audit5.c: ... here.
36569         * elf/tst-audit6.c: Move to ...
36570         * sysdeps/x86_64/tst-audit6.c: ... here.
36571         * elf/tst-audit7.c: Move to ...
36572         * sysdeps/x86_64/tst-audit7.c: ... here.
36573         * elf/tst-auditmod3a.c: Move to ...
36574         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
36575         * elf/tst-auditmod3b.c: Move to ...
36576         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
36577         * elf/tst-auditmod4a.c: Move to ...
36578         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
36579         * elf/tst-auditmod4b.c: Move to ...
36580         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
36581         * elf/tst-auditmod5a.c: Move to ...
36582         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
36583         * elf/tst-auditmod5b.c: Move to ...
36584         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
36585         * elf/tst-auditmod6a.c: Move to ...
36586         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
36587         * elf/tst-auditmod6b.c: Move to ...
36588         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
36589         * elf/tst-auditmod6c.c: Move to ...
36590         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
36591         * elf/tst-auditmod7a.c: Move to ...
36592         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
36593         * elf/tst-auditmod7b.c: Move to ...
36594         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
36596 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
36598         [BZ #15366]
36599         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
36600         define unconditionally.
36601         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
36602         define unconditionally.
36603         (INT8_C, INT16_C, etc.): Likewise.
36605 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
36607         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
36608         __ehdr_start with hidden visibility.
36610         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
36612 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
36614         * math/libm-test.inc (cos_test): Use accurate hex constants.
36615         (sincost_test): Likewise.
36617 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
36619         * math/libm-test.inc (catan_test): Add more tests.
36620         (catanh_test): Likewise.
36622         * math/s_catanf.c (__catanf): Use suffixed floating-point
36623         constants.
36624         * math/s_catanhf.c (__catanhf): Likewise.
36625         * math/s_catanhl.c (__catanhl): Likewise.
36626         * math/s_catanl.c (__catanl): Likewise.
36628         [BZ #15394]
36629         * math/s_catan.c (__catan): Calculate imaginary part of result
36630         with log1p not log unless computing log of number close to 0.
36631         * math/s_catanf.c (__catanf): Likewise.
36632         * math/s_catanl.c (__catanl): Likewise.
36633         * math/s_catanh.c (__catanh): Calculate real part of result with
36634         log1p not log unless computing log of number close to 0.
36635         * math/s_catanhf.c (__catanhf): Likewise.
36636         * math/s_catanhl.c (__catanhl): Likewise.
36637         * math/libm-test.inc (catan_test): Add more tests.
36638         (catanh_test): Likewise.
36639         * sysdeps/i386/fpu/libm-test-ulps: Update.
36640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36642 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36644         * benchtests/Makefile: Mention files in which fast and slow
36645         paths of math functions are implemented.
36647 2013-04-23  Roland McGrath  <roland@hack.frob.com>
36649         * sysdeps/posix/timespec_get.c: New file.
36651 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36653         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
36654         POWER.
36655         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
36656         for POWER.
36657         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
36658         powerpc/power5/fpu folders.
36659         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
36660         * benchtests/Makefile: Add modf testcase.
36661         * benchtests/bench-modf.c: New file: Benchmark test for mo
36663 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36665         [BZ #14888]
36666         * time/Makefile (tests): Add tst-strptime-whitespace.
36667         * time/strptime_l.c (get_number): Use ISSPACE.
36668         (__strptime_internal): Likewise.
36669         * time/tst-strptime-whitespace.c: New test case.
36671 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
36673         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
36674         member.
36675         (_nss_files_init): Set it here.
36677 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
36679         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
36680         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
36681         unsigned.
36683 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
36685         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
36687 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36689         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
36690         size just once.
36692 2013-04-21  David S. Miller  <davem@davemloft.net>
36694         * po/ru.po: Update Russion translation from translation project.
36696 2013-04-17  Adam Conrad  <adconrad@0c3.net>
36698         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
36699         and setfsgid.
36701 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
36703         * configure.in: Remove i386 configure warning. Remove i386 case.
36704         * configure: Regenerate.
36705         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
36706         Add example to error message.
36707         * sysdeps/i386/configure: Regenerate.
36709 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36711         * benchtests/Makefile (bench): Add cos, tan, slowcos and
36712         slowtan.
36713         * benchtests/cos-inputs: New file.
36714         * benchtests/slowcos-inputs: New file.
36715         * benchtests/slowcos.c: New file.
36716         * benchtests/slowtan-inputs: New file.
36717         * benchtests/slowtan.c: New file.
36718         * benchtests/tan-inputs: New file.
36720 2013-04-16  Roland McGrath  <roland@hack.frob.com>
36722         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36723         considered kosher.
36725 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36727         * benchtests/Makefile: Include cppflags-iterator.mk to add
36728         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36730         * Makefile.in (bench-clean): New target.
36731         * benchtests/Makefile (bench-clean): Likewise.
36733 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
36735         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36737 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
36739         * stdio-common/tstdiomisc.c: Fix coding-style violation.
36741 2013-04-15  Andreas Schwab  <schwab@suse.de>
36743         * nscd/grpcache.c (cache_addgr): Properly check for short write.
36744         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36745         * nscd/pwdcache.c (cache_addpw): Likewise.
36746         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
36747         more than recsize.
36749 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36751         * benchtests/Makefile (bench): Write all output to
36752         bench-out.tmp together.
36754 2013-04-15  Andreas Schwab  <schwab@suse.de>
36756         * nscd/nscd.c (main): Don't fork again after closing files.
36758 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36760         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36762         * benchtests/Rules (bench-deps): Collect dependencies into a
36763         single variable.  Add Makefile to dependencies.
36764         ($(objpfx)bench-%.c): Depend on bench-deps.
36766 2013-04-12  Roland McGrath  <roland@hack.frob.com>
36767             Xavier Roche  <roche+kml2@exalead.com>
36769         [BZ #15361]
36770         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36771         just that it's a file descriptor.
36772         * manual/llio.texi (Synchronizing AIO Operations): Update description
36773         for EBADF error from aio_fsync.
36775 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36777         * Rules (bench): Move target definition...
36778         * benchtests/Makefile: ... here.
36780 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36782         * math/libm-test.inc (cos_test): Fix PI/2 test.
36783         (sincos_test): Likewise.
36784         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36785         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36787 2013-04-11  Andreas Schwab  <schwab@suse.de>
36789         [BZ #13988]
36790         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36791         accept exponent character only when digits were seen.
36792         * stdio-common/Makefile (tests): Add bug26.
36793         * stdio-common/bug26.c: New file.
36795         [BZ #14293]
36796         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36797         non-freeable.
36799 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36801         * Makeconfig (rtld-prefix): Define built linker prefix.
36802         * Rules (run-bench): Use it.
36803         * math/Makefile (run-regen-ulps): Likewise.
36805         * Rules (bench): Remove eval.
36807 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36808             Roland McGrath  <roland@hack.frob.com>
36809             Ondrej Bilka  <neleai@seznam.cz>
36811         [BZ #15346]
36812         * time/getdate.c: Include ctype.h and alloca.h.
36813         (__getdate_r): Trim leading and trailing spaces of input.
36814         * time/tst-getdate.c (tests): Add tests with leading and
36815         trailing spaces.
36817 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36819         [BZ #14280]
36820         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36821         when computing value.
36823 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36825         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36826         Use testrun.sh to run libm tests.
36828         [BZ #15309]
36829         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36831 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36833         [BZ #15264]
36834         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36836 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36838         * Makefile.in (regen-ulps): New target.
36839         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36840         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36841         [ifneq (no,$(PERL)] (regen-ulps): New target.
36842         [ifeq (no,$(PERL)] (regen-ulps): New target.
36843         * math/libm-test.inc (ulps_file_name): Define.
36844         (output_dir): New variable.
36845         (options): Add "output-dir" option.
36846         (parse_opt): Handle 'o' case.
36847         (main): If output_dir is non-NULL use it as a prefix
36848         otherwise use "".
36849         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36851 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36853         [BZ #10060, #10062]
36854         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36855         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36856         fail configure if __sync_val_compare_and_swap is not inlined.
36857         * sysdeps/i386/configure: Regenerate.
36858         * configure.in: Build for i686 when configured for i386.
36859         * configure: Regenerate.
36860         * README: Remove i386 reference.
36862 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36864         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36865         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36867 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36869         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36870         (lmsnanval): New variables.
36871         (F): Add conversion tests.
36872         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36873         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36875         * stdio-common/tstdiomisc.c (F): Properly collect individual
36876         tests' results.
36878         [BZ #14686, #15336]
36879         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36880         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36881         Instead, use input NaN values or generate a qNaN by arithmetic
36882         operation.  Also fix bugs to comply with the standard.
36883         * math/libm-test.inc (remainder_test): Add more tests.
36885         [BZ #15335, #15342]
36886         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36887         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36888         input NaN values or generate a qNaN by arithmetic operation.
36890         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36891         unreachable code.
36893         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36894         definitions.
36896 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36898         [BZ #14478]
36899         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36900         underflowed result.
36901         * math/s_cexpf.c (__cexpf): Likewise.
36902         * math/s_cexpl.c (__cexpl): Likewise.
36903         * math/libm-test.inc (cexp_test): Add more tests.
36905 2013-04-03  Andreas Schwab  <schwab@suse.de>
36907         [BZ #15330]
36908         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36909         order arrays from heap if bigger than alloca cutoff.
36911 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36913         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36914         (SNAN_TESTS_double): Refer to GCC PR56831.
36915         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36916         GCC PR56828.
36918 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36920         * Rules (bench): Move bench.out after the run is complete.
36922         * Rules (bench): Echo currently running benchmark.
36924         * benchtests/Makefile (bench): Add atan and slowatan.
36925         * benchtests/atan-inputs: New file.
36926         * benchtests/slowatan-inputs: New file.
36927         * benchtests/slowatan.c: New file.
36929         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36930         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36931         its value.
36933         [BZ #15305]
36934         * sysdeps/unix/sysv/linux/kernel-features.h
36935         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36936         __ASSUME_XFS_RESTRICTED_CHOWN.
36937         * sysdeps/unix/sysv/linux/pathconf.c
36938         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36939         Save and restore errno.
36941 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36943         [BZ #15327]
36944         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36945         arguments using __kernel_casinh.
36946         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36947         arguments using __kernel_casinhf.
36948         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36949         arguments using __kernel_casinhl.
36950         * math/libm-test.inc (cacosh_test): Add more tests.
36951         * sysdeps/i386/fpu/libm-test-ulps: Update.
36952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36954 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36956         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36957         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36959         * bench/Makefile (bench): Add sin and slowsin.
36960         * benchtests/sin-inputs: New file.
36961         * benchtests/slowsin-inputs: New file.
36962         * benchtests/slowsin.c: New file.
36964         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36965         (bench): Add slowexp and slowpow.
36966         (exp-ITER): Increase iterations.
36967         (pow-ITER): Likewise.
36968         * benchtests/exp-inputs: Change input.
36969         * benchtests/pow-inputs: Likewise.
36970         * benchtests/slowexp-inputs: New file.
36971         * benchtests/slowexp.c: New file.
36972         * benchtests/slowpow-inputs: New file.
36973         * benchtests/slowpow.c: New file.
36975 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36977         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36978         instructions.
36979         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36980         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36981         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36982         * benchtests/Makefile: Add rint benchtest.
36983         * benchtests/rint-inputs: Input for rint benchtest.
36985 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36987         * Versions.def (libm): Add GLIBC_2.18.
36988         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36989         hidden libm prototypes.
36990         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36991         * math/Makefile (libm-calls): Add s_issignaling.
36992         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36993         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36994         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36995         declaration.
36996         * math/math.h [__USE_GNU] (issignaling): New macro.
36997         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36998         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36999         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
37000         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
37001         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
37002         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
37003         * manual/arith.texi (issignaling): New section.
37004         * manual/libm-err-tab.pl (@all_functions): Update comment.
37005         * math/gen-libm-test.pl (parse_args): Apply special handling for
37006         issignaling.
37007         * math/libm-test.inc (print_float, issignaling_test): New
37008         functions.
37009         (check_float_internal): Add issignaling checks.
37010         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
37011         default definition.
37012         * sysdeps/powerpc/math-tests.h: New file.
37013         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
37014         tests.
37015         * math/test-snan.c (TEST_FUNC): Likewise.
37017 2013-03-30  David S. Miller  <davem@davemloft.net>
37019         * po/de.po: Update from translation team.
37021 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
37023         [BZ #10357]
37024         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37025         imaginary part less than 1.0 and real part less than 0.5
37026         specially.
37027         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37028         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37029         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
37030         (cacos_test): Add more tests.
37031         (casin_test): Likewise.
37032         (casinh_test): Likewise.
37033         * sysdeps/i386/fpu/libm-test-ulps: Update.
37034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37036 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37038         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
37039         ONE with its value.
37041         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
37042         (__pow_mp): Replace ONE and MONE with their values.
37043         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37044         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
37045         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37046         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
37047         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37048         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37050         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
37052         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
37053         (__pow_mp): Replace ZERO and MZERO with their values.
37054         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37055         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37056         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37057         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37058         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37059         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
37060         (__sqr): Likewise.
37062         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
37064         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
37066 2013-03-28  Roland McGrath  <roland@hack.frob.com>
37068         * include/stdlib.h [!SHARED] (__call_tls_dtors):
37069         Declare with __attribute__ ((weak)).
37070         * stdlib/exit.c (__libc_atexit) [!SHARED]:
37071         Call __call_tls_dtors only if it's not NULL.
37073 2013-03-28  Roland McGrath  <roland@hack.frob.com>
37075         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
37076         didn't do it already, then set _dl_phdr and _dl_phnum based on the
37077         magic __ehdr_start linker symbol if it's defined.
37078         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
37079         them up here if it was already done.
37081         * elf/dl-support.c (_dl_phdr): Make pointer to const.
37082         (_dl_aux_init): Use const in cast when setting it.
37083         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
37084         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
37085         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
37087         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
37088         Declare them here.
37089         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
37090         * csu/libc-tls.c: Nor here.
37091         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
37093         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
37094         (__libc_message): Never call vsyslog.
37096 2013-03-28  Alan Modra  <amodra@gmail.com>
37098         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
37099         Define as empty.
37100         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
37101         Likewise.
37103 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37105         [BZ #15214]
37106         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
37107         underflow.
37108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37110 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37112         [BZ #15304]
37113         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37114         Don't add gid passed as argument.
37116         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
37118 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
37120         [BZ #15307]
37121         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37122         imaginary part between 1.0 and 1.5 and real part less than 0.5
37123         specially.
37124         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37125         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37126         * math/libm-test.inc (cacos_test): Add more tests.
37127         (casin_test): Likewise.
37128         (casinh_test): Likewise.
37129         * sysdeps/i386/fpu/libm-test-ulps: Update.
37130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37132 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37134         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
37135         constants.
37136         (norm): Likewise.
37137         (denorm): Likewise.
37138         (__dbl_mp): Likewise.
37139         (add_magnitudes): Likewise.
37140         (sub_magnitudes): Likewise.
37141         (__add): Likewise.
37142         (__sub): Likewise.
37143         (__mul): Likewise.
37144         (__sqr): Likewise.
37145         (__inv): Likewise.
37146         (__dvd): Likewise.
37148         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
37149         commented code.
37150         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
37151         (__dubcos): Likewise.
37152         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
37153         (__ieee754_acos): Likewise.
37154         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37155         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
37156         (__exp1): Likewise.
37157         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37158         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37159         (log1): Likewise.
37160         (my_log2): Likewise.
37161         (checkint): Likewise.
37162         * sysdeps/ieee754/dbl-64/e_remainder.c
37163         (__ieee754_remainder): Likewise.
37164         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37165         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
37166         (bsloww): Likewise.
37167         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37169         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37170         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
37171         MANTISSA_STORE_T to store computations on mantissa.  Use
37172         macros for rounding and division.
37173         (denorm): Likewise.
37174         (__dbl_mp): Likewise.
37175         (add_magnitudes): Likewise.
37176         (sub_magnitudes): Likewise.
37177         (__mul): Likewise.
37178         (__sqr): Likewise.
37179         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37180         powers of two in terms of TWOPOW macro.
37181         (mp_no): Make type of mantissa as MANTISSA_T.
37182         [!RADIXI]: Define RADIXI.
37183         [!TWO52]: Define TWO52.
37184         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37186 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37188         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
37189         llroundl symbol when building for PPC32.
37191 2013-03-24  Mark H Weaver  <mhw@netris.org>
37193         * manual/arith.texi (Normalization Functions): Fix prototypes for
37194         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
37196 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37198         [BZ #13889]
37199         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
37200         high value to check if expl overflow.
37201         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
37202         to check for underflow and overflow.
37203         * math/libm-test.inc: Add exp test.
37205 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
37207         [BZ #11120]
37208         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
37209         with NOT_IN_libc.
37211 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37213         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
37214         symbol.
37216 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37218         * math/gen-libm-test.pl (parse_args, special_functions): Properly
37219         wrap blocks consisting of several statements.
37221         * sysdeps/generic/math-tests.h: New file.
37222         * sysdeps/i386/fpu/math-tests.h: Likewise.
37223         * math/test-snan.c: Include it.
37224         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
37226 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37228         [BZ #15285]
37229         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
37230         (__ieee754_j0l): Do not improve calculations using cos of twice
37231         input for inputs above LDBL_MAX / 2.0L.
37232         (__ieee754_y0l): Likewise.
37233         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
37234         (__ieee754_j1l): Do not improve calculations using cos of twice
37235         input for inputs above LDBL_MAX / 2.0L.
37236         (__ieee754_y1l): Likewise.
37237         * math/libm-test.inc (j0_test): Add another test.
37238         (j1_test): Likewise.
37239         (y0_test): Likewise.
37240         (y1_test): Likewise.
37241         * sysdeps/i386/fpu/libm-test-ulps: Update.
37243 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37245         * Rules ($(objpfx)bench-%.c): Include code from a C source
37246         file.
37248 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37250         [BZ #15287]
37251         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37252         imaginary part 1.0 and real part less than 0.5 specially.
37253         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37254         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37255         * math/libm-test.inc (cacos_test): Add more tests.
37256         (casin_test): Likewise.
37257         (casinh_test): Likewise.
37258         * sysdeps/i386/fpu/libm-test-ulps: Update.
37259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37261 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37263         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
37264         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
37266 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
37268         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
37269         * config.make.in (config-cflags-sse4): Remove variable.
37270         (config-cflags-avx): Likewise.
37271         (config-cflags-sse2avx): Likewise.
37272         (config-cflags-novzeroupper): Likewise.
37273         (config-asflags-i686): Likewise.
37274         (have-mfma4): Likewise.
37275         (have-as-vis3): Likewise.
37276         (MIG): Likewise.
37277         * configure.in (MIG): Do not AC_SUBST.
37278         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
37279         (libc_cv_cc_sse4): Do not AC_SUBST.
37280         (libc_cv_cc_avx): Likewise.
37281         (libc_cv_cc_sse2avx): Likewise.
37282         (libc_cv_cc_novzeroupper): Likewise.
37283         (libc_cv_cc_fma4): Likewise.
37284         (libc_cv_as_i686): Likewise.
37285         (libc_cv_sparc_as_vis3): Likewise.
37286         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
37287         LIBC_CONFIG_VAR.
37288         (config-asflags-i686): Likewise.
37289         (config-cflags-avx): Likewise.
37290         (config-cflags-sse2avx): Likewise.
37291         (have-mfma4): Likewise.
37292         (config-cflags-novzeroupper): Likewise.
37293         * sysdeps/mach/configure.in (MIG): Likewise.
37294         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
37295         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
37296         LIBC_CONFIG_VAR.
37297         (config-cflags-avx): Likewise.
37298         (config-cflags-sse2avx): Likewise.
37299         (have-mfma4): Likewise.
37300         (config-cflags-novzeroupper): Likewise.
37301         * configure: Regenerated.
37302         * sysdeps/i386/configure: Likewise.
37303         * sysdeps/mach/configure: Likewise.
37304         * sysdeps/sparc/configure: Likewise.
37305         * sysdeps/x86_64/configure: Likewise.
37307 2013-03-20  Roland McGrath  <roland@hack.frob.com>
37309         [BZ #14812]
37310         * locale/programs/localedef.c (options): Put N_ translation marker
37311         on argument names, not just descriptions.
37313 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37315         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
37317 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
37319         [BZ #14176]
37320         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
37322 2013-03-19  Roland McGrath  <roland@hack.frob.com>
37324         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
37325         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
37326         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
37327         [!BEFORE_ABORT] (before_abort): New function.
37328         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
37329         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
37330         (writev_for_fatal): New function.
37331         (WRITEV_FOR_FATAL): New macro; call that.
37332         (backtrace_and_maps): New function.
37333         (BEFORE_ABORT): New macro; call that.
37334         (struct str_list): Type removed.
37335         (__libc_message, __libc_fatal): Functions removed.
37336         Include <sysdeps/posix/libc_fatal.c> instead.
37338 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
37340         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
37341         constants.
37342         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
37343         double constants.
37345 2013-03-19  Andreas Schwab  <schwab@suse.de>
37347         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
37348         * sysdeps/gnu/configure: Regenerate.
37350         * configure.in: Substitute libc_cv_rtlddir.
37351         * configure: Regenerate.
37352         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
37353         * Makeconfig (rtlddir, inst_rtlddir): New variables.
37354         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
37355         * elf/Makefile (install-others, CFLAGS-interp.c)
37356         (ldso_install, common-ldd-rewrite): Likewise.
37357         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
37358         $(inst_slibdir)/$(rtld-installed-name).
37359         * scripts/rellns-sh: Add -p option.
37360         * Makerules (make-shlib-link): Use rellns-sh to get relative name
37361         for source.
37363 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37365         * manual/nptl.texi: Renamed to ...
37366         * manual/threads.texi: ... this.
37367         * manual/Makefile (chapters): Update.
37369 2013-03-18  Roland McGrath  <roland@hack.frob.com>
37371         [BZ #14812]
37372         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
37373         on argument names, not just descriptions.
37374         * malloc/memusagestat.c (options): Likewise.
37375         * nss/getent.c (options): Likewise.
37377 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
37379         [BZ #14812]
37380         * iconv/iconv_prog.c (options): Put N_ translation marker
37381         on argument names, not just descriptions.
37382         * iconv/iconvconfig.c (options): Likewise.
37384 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
37386         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
37387         implementation which is faster on all x86_64 architectures.
37388         Tested on AMD, Intel Nehalem, SNB, IVB.
37389         * sysdeps/x86_64/strnlen.S: Likewise.
37391         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37392         Remove all multiarch strlen and strnlen versions.
37393         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37394         Remove strlen and strnlen related parts.
37396         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
37397         Inline strlen part.
37398         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37400         * sysdeps/x86_64/multiarch/strlen.S: Remove.
37401         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
37402         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
37403         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
37404         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37405         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
37407 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
37409         * manual/memory.texi (Malloc Tunable Parameters):
37410         Sort parameters alphabetically. Add comments for missing entries.
37412 2013-03-17  David S. Miller  <davem@davemloft.net>
37414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37416 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
37418         [BZ #15283]
37419         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
37420         for arguments at most half maximum finite value.
37421         * math/libm-test.inc (j0_test): Add more tests.
37422         (j1_test): Likewise.
37423         (y0_test): Likewise.
37424         (y1_test): Likewise.
37425         * sysdeps/i386/fpu/libm-test-ulps: Update.
37426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37428         [BZ #14155]
37429         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
37430         1 / x and functions P and Q for arguments above 0x1p256L.
37431         (__ieee754_y0l): Likewise.
37432         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
37433         (__ieee754_y1l): Likewise.
37434         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
37435         (j1_test): Likewise.
37436         (y0_test): Likewise.
37437         (y1_test): Likewise.
37439 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
37441         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
37442         variable.
37444 2013-03-15  Roland McGrath  <roland@hack.frob.com>
37446         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
37447         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
37448         zero since it's initialized to EXEC_PAGESIZE.
37450         * sysdeps/unix/sysv/linux/ldsodefs.h
37451         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
37452         * sysdeps/generic/ldsodefs.h: ... here.
37454 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
37456         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
37458         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
37459         math/test-snan.c.
37460         * math/test-snan.c: Renamed from
37461         sysdeps/powerpc/fpu/test-powerpc-snan.c.
37462         * math/Makefile (tests): Add test-snan.
37463         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
37464         test-powerpc-snan.
37466         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
37467         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
37468         functions.
37469         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
37470         __builtin_nan family of functions.
37471         * math/libm-test.inc (initialize): Initialize qnan_value with
37472         __builtin_nan family of functions.
37473         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
37474         Remove variables.
37475         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
37476         Remove functions.
37477         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
37478         storage class.  Initialize qNaN_var and sNaN_var with
37479         __builtin_nan and __builtin_nans families of functions,
37480         respectively.
37482         * math/libm-test.inc (acosh_test): Also test with qNaN input.
37483         (sqrt_test): Remove duplicate test with qNaN input.
37484         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
37485         (round_test, signbit_test, significand_test): Note missing +/-Inf
37486         as well as qNaN tests.
37488         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
37489         qNaN_var.  Fix a few strings, too.
37490         * math/libm-test.inc (nan_value): Rename to qnan_value.
37491         * math/gen-libm-test.pl (%beautify): Adjust to that.
37492         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
37493         * math/test-misc.c (main): Likewise.
37494         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
37495         to __qnan_bytes, and __qnan_union, respectively.
37496         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
37497         Likewise.
37498         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
37499         and lqnanval, respectively.
37500         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
37501         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
37502         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
37503         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
37505         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
37506         * math/test-misc.c (main) [__x86_64__]: Enable test for long
37507         doubles.
37509         * math/test-misc.c (main): Fix copy'n'pastos.
37510         * misc/tst-efgcvt.c (special): Likewise.
37512         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
37513         Remove declarations.
37515 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37517         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
37518         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
37519         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
37520         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
37522 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37524         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
37525         macro to return vdso values correctly in IFUNC implementations.
37526         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37527         Optimization by using IFUNC.
37529 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37530             Richard Henderson  <rth@redhat.com>
37531             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37533         * Makefile.in (bench): New target.
37534         * NEWS: Mention the benchmark framework.
37535         * Rules (bench): Likewise.
37536         (binaries-bench): Generate binaries for functions to
37537         benchmark.
37538         * benchtests/Makefile: New makefile for benchmark tests.
37539         * benchtests/bench-skeleton.c: New skeleton file for benchmark
37540         programs.
37541         * benchtests/exp-inputs: New input file for EXP function.
37542         * benchtests/pow-inputs: New input file for POW function.
37543         * scripts/bench.pl: New script to generate source files for
37544         benchmark programs.
37546 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37548         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37549         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
37550         computations on mantissa.  Use macros for rounding and
37551         division.
37552         (denorm): Likewise.
37553         (__dbl_mp): Likewise.
37554         (add_magnitudes): Likewise.
37555         (sub_magnitudes): Likewise.
37556         (__mul): Likewise.
37557         (__sqr): Likewise.
37558         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37559         powers of two in terms of TWOPOW macro.
37560         (mp_no): Make type of mantissa as MANTISSA_T.
37561         [!RADIXI]: Define RADIXI.
37562         [!TWO52]: Define TWO52.
37563         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37565         * manual/nptl.texi (cindex): Modify threads to pthreads.
37567 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
37569         * sysdeps/x86_64/preconfigure: Regenerated.
37571 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
37573         [BZ #14155]
37574         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
37575         0x1p28 and above.
37576         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
37577         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
37578         0x1p28 and above.
37579         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
37580         * math/libm-test.inc (j0_test): Do not allow one spurious
37581         underflow exception.
37582         (y1_test): Likewise.
37584 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37586         * manual/Makefile (chapters): Add nptl.
37587         * manual/debug.texi (Debugging Support): Add link to Threads
37588         chapter.
37589         * manual/nptl.texi: New file.
37591         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
37593 2013-03-14  Petr Baudis  <pasky@ucw.cz>
37595         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
37596         for non-NULL pointer before the memory validity test. Pointed
37597         out by Holger Brunck <holger.brunck@keymile.com>.
37599 2013-03-13  Andreas Schwab  <schwab@suse.de>
37601         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
37602         instead of .os.
37604 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
37606         * timezone/zic.c: Update from tzcode 2013b.
37608 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
37610         * manual/install.texi (Configuring and compiling):
37611         Mention i686 and i586.
37612         * INSTALL: Regenerate.
37614 2013-03-12  Roland McGrath  <roland@hack.frob.com>
37616         * sysdeps/init_array/elf-init.c: New file.
37617         * csu/elf-init.c
37618         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
37619         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
37621         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
37622         __gmon_start__ as global, but as static with a .preinit_array pointer.
37623         * sysdeps/init_array/gmon-start.c: New file.  Use that.
37624         * sysdeps/init_array/crti.S: New file, empty except for comments.
37625         * sysdeps/init_array/crtn.S: Likewise.
37627 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
37629         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
37630         definining bcopy.
37631         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37632         Remove Prefer_SSE_for_memop.
37633         * sysdeps/x86_64/multiarch/init-arch.h: Remove
37634         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
37635         HAS_PREFER_SSE_FOR_MEMOP.
37636         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
37637         memset-x86-64.
37638         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37639         Remove bzero, memset ifunc support.
37640         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
37641         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
37642         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37643         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37645 2013-03-11  Andreas Schwab  <schwab@suse.de>
37647         [BZ #15234]
37648         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
37649         by SHLIB_COMPAT.
37650         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
37651         (GLIBC_2.16): Remove pthread_atfork.
37653 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37655         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
37656         (ptestcases.h): Likewise.
37658 2013-03-08  Roland McGrath  <roland@hack.frob.com>
37660         * Makeconfig ($(common-objpfx)config.status): Depend on
37661         sysdeps/*/preconfigure{,.in} too.
37663 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
37665         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
37666         (__free_hook): Use void * instead of __malloc_ptr_t.
37667         (__malloc_hook): Likewise.
37668         (__realloc_hook): Likewise.
37669         (__memalign_hook): Likewise.
37670         (__after_morecore_hook): Likewise.
37671         * malloc/arena.c (save_malloc_hook): Likewise.
37672         (save_free_hook): Likewise.
37673         * malloc/hooks.c (malloc_hook_ini): Likewise.
37674         (realloc_hook_ini): Likewise.
37675         (memalign_hook_ini): Likewise.
37676         * malloc/malloc.c (malloc_hook_ini): Likewise.
37677         (realloc_hook_ini): Likewise.
37678         (memalign_hook_ini): Likewise.
37679         (__free_hook): Likewise.
37680         (__malloc_hook): Likewise.
37681         (__realloc_hook): Likewise.
37682         (__memalign_hook): Likewise.
37683         (__libc_malloc): Likewise.
37684         (__libc_free): Likewise.
37685         (__libc_realloc): Likewise.
37686         (__libc_memalign): Likewise.
37687         (__libc_valloc): Likewise.
37688         (__libc_pvalloc): Likewise.
37689         (__libc_calloc): Likewise.
37690         (__posix_memalign): Likewise.
37691         * malloc/morecore.c (__sbrk): Likewise.
37692         (__default_morecore): Likewise.
37694         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
37696         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
37697         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
37698         __malloc_ptrdiff_t.
37700         * malloc/malloc.h (__malloc_size_t): Remove macro.
37701         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
37702         __malloc_size_t.
37703         (old_memalign_hook): Likewise.
37704         (old_realloc_hook): Likewise.
37705         (struct hdr): Likewise.
37706         (flood): Likewise.
37707         (mallochook): Likewise.
37708         (memalignhook): Likewise.
37709         (reallochook): Likewise.
37710         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
37711         (tr_old_realloc_hook): Likewise.
37712         (tr_old_memalign_hook): Likewise.
37713         (tr_mallochook): Likewise.
37714         (tr_reallochook): Likewise.
37715         (tr_memalignhook): Likewise.
37717 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37719         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
37720         default_ldbl_pack and using as default implementation.
37721         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
37722         implementation.
37723         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37724         redundant definition.
37725         (ldbl_insert_mantissa): Likewise.
37726         (ldbl_canonicalize): Likewise.
37727         (ldbl_nearbyint): Likewise.
37728         (ldbl_pack): Rename to ldbl_pack_ppc.
37729         (ldbl_unpack): Rename to ldbl_unpack_ppc.
37730         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37731         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37733 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37735         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37736         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37737         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37738         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37739         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37740         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37741         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37742         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37744 2013-03-07  Andreas Jaeger  <aj@suse.de>
37746         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37747         bits/mman-linux.h.
37749 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37751         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37752         Include mpa.h and declare __MPEXP.
37753         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37754         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37755         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37756         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37757         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37758         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37759         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37761         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37762         (__slowpow): Use long double EXPL and LOGL functions to
37763         compute POW.
37764         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37765         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37766         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37767         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37768         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37769         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37771         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37772         intermediate variable to calculate exponent.
37773         (__sqr): Likewise.
37774         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37775         Likewise.
37776         (__sqr): Likewise.
37778         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37779         [!NO__SQR]: Define __sqr.
37780         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37781         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37782         sysdeps/ieee754/dbl-64/mpa.c.
37783         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37785         [BZ #12723]
37786         * posix/Makefile (tests): Add tst-pathconf.
37787         * posix/tst-pathconf.c: New test case.
37788         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37789         _PC_PIPE_BUF.
37790         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37792 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37794         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37796 2013-03-06  Andreas Jaeger  <aj@suse.de>
37798         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37799         definition via __MAP_ANONYMOUS.
37801         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37802         it's not part of Linux headers.
37804         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37805         (MAP_HUGE_MASK): Define.
37807         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37808         Define.
37809         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37810         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37811         Define.
37812         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37813         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37814         Define.
37815         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37816         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37817         Define.
37818         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37820         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37821         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37822         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37823         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37824         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37825         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37827         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37828         Handle f2fs.
37830         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37831         Handle f2fs and efivarfs.
37833         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37834         f2fs.
37836         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37837         (EFIVARFS_MAGIC): Add.
37838         (F2FS_LINK_MAX): Add.
37840 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37842         * stdio-common/vfprintf.c: Replace __builtin_expect with
37843         __glibc_unlikely.
37845 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37847         [BZ #13550]
37848         * sysdeps/generic/bp-sym.h: Remove file.
37849         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37850         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37851         <bp-sym.h> and <bp-asm.h>.
37852         (__longjmp): Don't use BP_SYM.
37853         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37854         and <bp-asm.h>.
37855         (memcpy): Don't use BP_SYM.
37856         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37857         <bp-sym.h> and <bp-asm.h>.
37858         (memcpy): Don't use BP_SYM.
37859         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37860         <bp-asm.h>.
37861         (memcpy): Don't use BP_SYM.
37862         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37863         <bp-asm.h>.
37864         (memset): Don't use BP_SYM.
37865         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37866         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37867         (__bzero): Don't use BP_SYM.
37868         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37869         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37870         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37871         <bp-sym.h> and <bp-asm.h>.
37872         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37873         pointers.
37874         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37875         <bp-sym.h> and <bp-asm.h>.
37876         (memcpy): Don't use BP_SYM.
37877         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37878         <bp-sym.h> and <bp-asm.h>.
37879         (memset): Don't use BP_SYM.
37880         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37881         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37882         (__bzero): Don't use BP_SYM.
37883         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37884         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37885         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37886         <bp-sym.h> and <bp-asm.h>.
37887         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37888         pointers.
37889         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37890         <bp-sym.h> and <bp-asm.h>.
37891         (memcpy): Don't use BP_SYM.
37892         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37893         <bp-sym.h> and <bp-asm.h>.
37894         (memset): Don't use BP_SYM.
37895         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37896         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37897         (__bzero): Don't use BP_SYM.
37898         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37899         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37900         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37901         <bp-sym.h> and <bp-asm.h>.
37902         (__memchr): Don't use BP_SYM.
37903         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37904         <bp-sym.h> and <bp-asm.h>.
37905         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37906         pointers.
37907         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37908         <bp-sym.h> and <bp-asm.h>.
37909         (memcpy): Don't use BP_SYM.
37910         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37911         <bp-sym.h> and <bp-asm.h>.
37912         (__mempcpy): Don't use BP_SYM.
37913         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37914         <bp-sym.h> and <bp-asm.h>.
37915         (__memrchr): Don't use BP_SYM.
37916         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37917         <bp-sym.h> and <bp-asm.h>.
37918         (memset): Don't use BP_SYM.
37919         (__bzero): Likewise.
37920         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37921         <bp-sym.h> and <bp-asm.h>.
37922         (__rawmemchr): Don't use BP_SYM.
37923         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37924         <bp-sym.h> and <bp-asm.h>.
37925         (__STRCMP): Don't use BP_SYM.
37926         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37927         <bp-sym.h> and <bp-asm.h>.
37928         (strchr): Don't use BP_SYM.
37929         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37930         <bp-sym.h> and <bp-asm.h>.
37931         (__strchrnul): Don't use BP_SYM.
37932         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37933         <bp-sym.h> and <bp-asm.h>.
37934         (strlen): Don't use BP_SYM.
37935         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37936         <bp-sym.h> and <bp-asm.h>.
37937         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37938         pointers.
37939         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37940         <bp-sym.h> and <bp-asm.h>.
37941         (__strnlen): Don't use BP_SYM.
37942         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37943         <bp-sym.h> and <bp-asm.h>.
37944         (__GI__setjmp): Don't use BP_SYM.
37945         (_setjmp): Likewise.
37946         (__sigsetjmp): Likewise.
37947         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37948         (L(start_addresses)): Don't use BP_SYM.
37949         (_start): Likewise.
37950         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37951         <bp-asm.h>.
37952         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37953         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37954         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37955         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37956         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37957         <bp-asm.h>.
37958         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37959         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37960         about bounded pointers.
37961         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37962         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37963         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37964         <bp-asm.h>.
37965         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37966         about bounded pointers.  Remove GKM FIXME comments.
37967         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37968         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37969         <bp-asm.h>.
37970         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37971         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37972         Remove GKM FIXME comments.
37973         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37974         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37975         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37976         <bp-asm.h>.
37977         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37978         about bounded pointers.  Remove GKM FIXME comment.
37979         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37980         and <bp-asm.h>.
37981         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37982         pointers.
37983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37984         <bp-sym.h> and <bp-asm.h>.
37985         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37987         <bp-sym.h> and <bp-asm.h>.
37988         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37989         comment.
37991 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37993         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37994         call free(NULL).
37996 2013-03-05  David S. Miller  <davem@davemloft.net>
37998         * po/es.po: Update from translation team.
38000 2013-03-05  Andreas Jaeger  <aj@suse.de>
38002         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
38003         <bits/mman-linux.h>.
38004         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38005         is fine.
38006         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
38007         <bits/mman-linux.h> to end of file.
38008         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38009         is fine.
38010         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
38011         <bits/mman-linux.h> to end of file.
38012         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38013         is fine.
38014         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
38015         <bits/mman-linux.h> to end of file.
38017         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
38018         (MCL_CURRENT, MCL_FUTURE): Define here.
38020 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38022         [BZ #15232]
38023         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
38024         attribute_hidden.
38025         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38027 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38029         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
38030         fourth parameter needed for rt_sigprocmask syscall.
38031         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38032         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38033         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
38034         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38035         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38036         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
38038 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
38040         [BZ #13550]
38041         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
38042         comment about bounded pointers.
38043         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
38044         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
38046 2013-03-04  Andreas Jaeger  <aj@suse.de>
38048         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
38049         common definitions.
38051         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
38052         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
38053         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
38054         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38055         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38056         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38058 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38060         [BZ #15055]
38061         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38062         __ieee754_sqrl instead of __sqrl.
38064 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
38066         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
38067         * sysdeps/powerpc/fpu_control.h: ... here.
38068         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
38069         * sysdeps/powerpc/bits/fenvinline.h: ... here.
38070         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
38071         * sysdeps/powerpc/bits/mathinline.h: ... here.
38073 2013-03-01  Roland McGrath  <roland@hack.frob.com>
38075         * elf/dl-hwcaps.c (_dl_important_hwcaps):
38076         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
38077         to just [NEED_DL_SYSINFO_DSO].
38078         * elf/dl-support.c: Likewise.
38079         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38080         * elf/rtld.c (dl_main): Likewise.
38081         * elf/setup-vdso.h (setup_vdso): Likewise.
38082         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
38083         * sysdeps/unix/sysv/linux/dl-sysdep.c
38084         (_dl_discover_osversion): Likewise.
38086 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
38088         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
38089         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38091 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
38093         * NEWS: Mention libm performance improvements and non-x86 PI
38094         futex support.
38096         * csu/libc-start.c (__pthread_initialize_minimal): Change
38097         function arguments.
38098         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38100 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
38102         [BZ #13550]
38103         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
38104         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
38105         <bp-sym.h> and <bp-asm.h>.
38106         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38107         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
38108         and <bp-asm.h>.
38109         (memcpy): Don't use BP_SYM.
38110         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
38111         <bp-asm.h>.
38112         (__mpn_add_n): Don't use BP_SYM.
38113         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
38114         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
38115         and <bp-asm.h>.
38116         (__mpn_addmul_1): Don't use BP_SYM.
38117         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38118         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
38119         <bp-sym.h>.
38120         (_setjmp): Don't use BP_SYM.
38121         (__novmx_setjmp): Likewise.
38122         (__GI__setjmp): Likewise.
38123         (__vmx_setjmp): Likewise.
38124         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
38125         <bp-sym.h>.
38126         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
38127         (__bzero): Don't use BP_SYM.
38128         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38129         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38130         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
38131         <bp-sym.h> and <bp-asm.h>.
38132         (memcpy): Don't use BP_SYM.
38133         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
38134         <bp-sym.h> and <bp-asm.h>.
38135         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38136         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
38137         <bp-sym.h> and <bp-asm.h>.
38138         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38139         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
38140         <bp-asm.h>.
38141         (__mpn_lshift): Don't use BP_SYM.
38142         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38143         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
38144         <bp-asm.h>.
38145         (memset): Don't use BP_SYM.
38146         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38147         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38148         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
38149         <bp-asm.h>.
38150         (__mpn_mul_1): Don't use BP_SYM.
38151         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38152         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
38153         <bp-sym.h> and <bp-asm.h>.
38154         (memcmp): Don't use BP_SYM.
38155         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
38156         <bp-sym.h> and <bp-asm.h>.
38157         (memcpy): Don't use BP_SYM.
38158         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
38159         <bp-sym.h> and <bp-asm.h>.
38160         (memset): Don't use BP_SYM.
38161         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
38162         <bp-sym.h> and <bp-asm.h>.
38163         (strncmp): Don't use BP_SYM.
38164         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
38165         <bp-sym.h> and <bp-asm.h>.
38166         (memcpy): Don't use BP_SYM.
38167         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
38168         <bp-sym.h> and <bp-asm.h>.
38169         (memset): Don't use BP_SYM.
38170         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
38171         <bp-sym.h> and <bp-asm.h>.
38172         (__memchr): Don't use BP_SYM.
38173         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
38174         <bp-sym.h> and <bp-asm.h>.
38175         (memcmp): Don't use BP_SYM.
38176         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
38177         <bp-sym.h> and <bp-asm.h>.
38178         (memcpy): Don't use BP_SYM.
38179         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
38180         <bp-sym.h> and <bp-asm.h>.
38181         (__mempcpy): Don't use BP_SYM.
38182         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
38183         <bp-sym.h> and <bp-asm.h>.
38184         (__memrchr): Don't use BP_SYM.
38185         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
38186         <bp-sym.h> and <bp-asm.h>.
38187         (memset): Don't use BP_SYM.
38188         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
38189         <bp-sym.h> and <bp-asm.h>.
38190         (__rawmemchr): Don't use BP_SYM.
38191         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
38192         <bp-sym.h> and <bp-asm.h>.
38193         (__STRCMP): Don't use BP_SYM.
38194         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
38195         <bp-sym.h> and <bp-asm.h>.
38196         (strchr): Don't use BP_SYM.
38197         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
38198         <bp-sym.h> and <bp-asm.h>.
38199         (__strchrnul): Don't use BP_SYM.
38200         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
38201         <bp-sym.h> and <bp-asm.h>.
38202         (strlen): Don't use BP_SYM.
38203         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
38204         <bp-sym.h> and <bp-asm.h>.
38205         (strncmp): Don't use BP_SYM.
38206         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
38207         <bp-sym.h> and <bp-asm.h>.
38208         (__strnlen): Don't use BP_SYM.
38209         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
38210         <bp-asm.h>.
38211         (__mpn_rshift): Don't use BP_SYM.
38212         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38213         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
38214         <bp-sym.h> and <bp-asm.h>.
38215         (__sigsetjmp): Don't use BP_SYM.
38216         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
38217         (L(start_addresses)): Don't use BP_SYM.
38218         (_start): Likewise.
38219         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
38220         <bp-asm.h>.
38221         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
38222         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38223         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38224         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
38225         <bp-asm.h>.
38226         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
38227         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38228         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38229         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
38230         <bp-asm.h>.
38231         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38232         comments.
38233         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38234         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
38235         <bp-asm.h>.
38236         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
38237         FIXME comments.
38238         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38239         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38240         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
38241         <bp-asm.h>.
38242         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38243         comment.
38244         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
38245         and <bp-asm.h>.
38246         (strncmp): Don't use BP_SYM,
38247         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
38248         <bp-asm.h>.
38249         (__mpn_sub_n): Don't use BP_SYM.
38250         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38251         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
38252         and <bp-asm.h>.
38253         (__mpn_submul_1): Don't use BP_SYM.
38254         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
38256         <bp-sym.h> and <bp-asm.h>.
38257         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
38259         <bp-sym.h> and <bp-asm.h>.
38260         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
38261         comment.
38263 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38265         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
38266         Use ZK to minimize writes to Z.
38267         (sub_magnitudes): Simplify code a bit.
38268         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
38269         Use ZK to minimize writes to Z.
38270         (sub_magnitudes): Simplify code a bit.
38272 2013-02-27  Roland McGrath  <roland@hack.frob.com>
38274         * csu/gmon-start.c: Add special exception to license text.
38276 2013-02-27  Richard Henderson  <rth@redhat.com>
38278         * scripts/config.guess: Update from config.git.
38279         * scripts/config.sub: Likewise.
38281 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38283         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
38285         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
38287         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
38289         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
38291         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
38293 2013-02-26  Roland McGrath  <roland@hack.frob.com>
38295         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
38296         [$(build-shared = yes].
38298 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38300         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
38301         (__mul): Reduce iterations for calculating mantissa.
38303         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
38304         MPTWO.
38305         (__mpranred): Likewise.
38307         [BZ #15160]
38308         * malloc/memusagestat.c (main): Draw graphs for heap and stack
38309         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
38311 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
38313         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
38314         Define __attribute__.
38316 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38318         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
38319         unused.
38320         * posix/regex_internal.h (__attribute): Remove.
38321         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
38322         (re_string_context_at): Likewise.
38323         (bitset_not): Use __attribute__ and mark function as possibly
38324         unused.
38325         (bitset_merge): Likewise.
38326         (bitset_mask): Likewise.
38327         (re_string_char_size_at): Likewise.
38328         (re_string_wchar_at): Likewise.
38329         (re_string_elem_size_at): Likewise.
38331 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38333         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
38334         code.
38335         (cc32): Likewise.
38337         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
38338         (__acr): Likewise.
38339         (__cpy): Likewise.
38340         (norm): Likewise.
38341         (denorm): Likewise.
38342         (__dbl_mp): Likewise.
38343         (add_magnitudes): Likewise.
38344         (sub_magnitudes): Likewise.
38345         (__mul): Likewise.
38346         (__inv): Likewise.
38348         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
38349         style.
38351         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
38352         style.
38354         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
38355         code.
38357         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
38358         up changes with default code.
38359         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
38360         Likewise.
38362 2013-02-24  Allan McRae  <allan@archlinux.org>
38364         * manual/socket.texi (The Internet Namespace): Order menu items
38365         to match that in the file.
38367         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
38368         node listing of the info page menu.
38370 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
38372         [BZ #13550]
38373         * sysdeps/i386/bp-asm.h: Remove file.
38374         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38375         (PARMS): Do not use macros from bp-asm.h.
38376         (S1): Likewise.
38377         (S2): Likewise.
38378         (SIZE): Likewise.
38379         (__mpn_add_n): Do not use BP_SYM
38380         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
38381         "bp-asm.h".
38382         (PARMS): Do not use macros from bp-asm.h.
38383         (S1): Likewise.
38384         (SIZE): Likewise.
38385         (__mpn_addmul_1): Do not use BP_SYM
38386         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
38387         "bp-asm.h".
38388         (PARMS): Do not use macros from bp-asm.h.
38389         (SIGMSK): Likewise.
38390         (_setjmp): Likewise.  Do not use BP_SYM.
38391         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
38392         "bp-asm.h".
38393         (PARMS): Do not use macros from bp-asm.h.
38394         (SIGMSK): Likewise.
38395         (setjmp): Likewise.  Do not use BP_SYM.
38396         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
38397         "bp-asm.h".
38398         (PARMS): Do not use macros from bp-asm.h.
38399         (__frexp): Do not use BP_SYM.
38400         (frexp): Likewise.
38401         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
38402         "bp-asm.h".
38403         (PARMS): Do not use macros from bp-asm.h.
38404         (__frexpf): Do not use BP_SYM.
38405         (frexpf): Likewise.
38406         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
38407         "bp-asm.h".
38408         (PARMS): Do not use macros from bp-asm.h.
38409         (__frexpl): Do not use BP_SYM.
38410         (frexpl): Likewise.
38411         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
38412         "bp-asm.h".
38413         (PARMS): Do not use macros from bp-asm.h.
38414         (__remquo): Do not use BP_SYM.
38415         (remquo): Likewise.
38416         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
38417         "bp-asm.h".
38418         (PARMS): Do not use macros from bp-asm.h.
38419         (__remquof): Do not use BP_SYM.
38420         (remquof): Likewise.
38421         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
38422         "bp-asm.h".
38423         (PARMS): Do not use macros from bp-asm.h.
38424         (__remquol): Do not use BP_SYM.
38425         (remquol): Likewise.
38426         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
38427         "bp-asm.h".
38428         (PARMS): Do not use macros from bp-asm.h.
38429         (DEST): Likewise.
38430         (SRC): Likewise.
38431         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
38432         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
38433         "bp-asm.h".
38434         (PARMS): Do not use macros from bp-asm.h.
38435         (strlen): Do not use BP_SYM.
38436         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
38437         "bp-asm.h".
38438         (PARMS): Do not use macros from bp-asm.h.
38439         (S1): Likewise.
38440         (S2): Likewise.
38441         (SIZE): Likewise.
38442         (__mpn_add_n): Do not use BP_SYM.
38443         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
38444         "bp-asm.h".
38445         (PARMS): Do not use macros from bp-asm.h.
38446         (S1): Likewise.
38447         (SIZE): Likewise.
38448         (__mpn_addmul_1): Do not use BP_SYM.
38449         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
38450         weak_alias.
38451         (bzero): Likewise.
38452         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
38453         "bp-asm.h".
38454         (PARMS): Do not use macros from bp-asm.h.
38455         (S): Likewise.
38456         (SIZE): Likewise.
38457         (__mpn_lshift): Do not use BP_SYM.
38458         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
38459         "bp-asm.h".
38460         (PARMS): Do not use macros from bp-asm.h.
38461         (DEST): Likewise.
38462         (SRC): Likewise.
38463         (LEN): Likewise.
38464         (memcpy): Likewise.  Do not use BP_SYM.
38465         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
38466         libc_hidden_def and weak_alias.
38467         (mempcpy): Do not use BP_SYM in weak_alias.
38468         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
38469         "bp-asm.h".
38470         (PARMS): Do not use macros from bp-asm.h.
38471         (DEST): Likewise.
38472         (LEN): Likewise.
38473         [!BZERO_P] (CHR): Likewise.
38474         (memset): Likewise.  Do not use BP_SYM.
38475         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
38476         "bp-asm.h".
38477         (PARMS): Do not use macros from bp-asm.h.
38478         (S1): Likewise.
38479         (SIZE): Likewise.
38480         (__mpn_mul_1): Do not use BP_SYM.
38481         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
38482         "bp-asm.h".
38483         (PARMS): Do not use macros from bp-asm.h.
38484         (S): Likewise.
38485         (SIZE): Likewise.
38486         (__mpn_rshift): Do not use BP_SYM.
38487         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
38488         "bp-asm.h".
38489         (PARMS): Do not use macros from bp-asm.h.
38490         (STR): Likewise.
38491         (CHR): Likewise.
38492         (strchr): Likewise.  Do not use BP_SYM.
38493         (index): Do not use BP_SYM in weak_alias.
38494         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
38495         "bp-asm.h".
38496         (PARMS): Do not use macros from bp-asm.h.
38497         (DEST): Likewise.
38498         (SRC): Likewise.
38499         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
38500         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
38501         "bp-asm.h".
38502         (PARMS): Do not use macros from bp-asm.h.
38503         (strlen): Do not use BP_SYM.
38504         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
38505         "bp-asm.h".
38506         (PARMS): Do not use macros from bp-asm.h.
38507         (S1): Likewise.
38508         (S2): Likewise.
38509         (SIZE): Likewise.
38510         (__mpn_sub_n): Do not use BP_SYM.
38511         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
38512         "bp-asm.h".
38513         (PARMS): Do not use macros from bp-asm.h.
38514         (S1): Likewise.
38515         (SIZE): Likewise.
38516         (__mpn_submul_1): Do not use BP_SYM.
38517         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
38518         "bp-asm.h".
38519         (PARMS): Do not use macros from bp-asm.h.
38520         (S1): Likewise.
38521         (S2): Likewise.
38522         (SIZE): Likewise.
38523         (__mpn_add_n): Do not use BP_SYM.
38524         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
38525         weak_alias.
38526         (bzero): Likewise.
38527         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
38528         "bp-asm.h".
38529         (PARMS): Do not use macros from bp-asm.h.
38530         (BLK2): Likewise.
38531         (LEN): Likewise.
38532         (memcmp): Do not use BP_SYM.
38533         (bcmp): Do not use BP_SYM in weak_alias.
38534         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
38535         "bp-asm.h".
38536         (PARMS): Do not use macros from bp-asm.h.
38537         (DEST): Likewise.
38538         (SRC): Likewise.
38539         (LEN): Likewise.
38540         (memcpy): Likewise.  Do not use BP_SYM.
38541         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
38542         "bp-asm.h".
38543         (PARMS): Do not use macros from bp-asm.h.
38544         (DEST): Likewise.
38545         (SRC): Likewise.
38546         (LEN): Likewise.
38547         (memmove): Likewise.  Do not use BP_SYM.
38548         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
38549         "bp-asm.h".
38550         (PARMS): Do not use macros from bp-asm.h.
38551         (DEST): Likewise.
38552         (SRC): Likewise.
38553         (LEN): Likewise.
38554         (__mempcpy): Likewise.  Do not use BP_SYM.
38555         (mempcpy): Do not use BP_SYM in weak_alias.
38556         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
38557         "bp-asm.h".
38558         (PARMS): Do not use macros from bp-asm.h.
38559         (DEST): Likewise.
38560         (LEN): Likewise.
38561         [!BZERO_P] (CHR): Likewise.
38562         (memset): Likewise.  Do not use BP_SYM.
38563         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
38564         "bp-asm.h".
38565         (PARMS): Do not use macros from bp-asm.h.
38566         (STR2): Likewise.
38567         (strcmp): Do not use BP_SYM.
38568         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
38569         "bp-asm.h".
38570         (PARMS): Do not use macros from bp-asm.h.
38571         (STR): Likewise.
38572         (DELIM): Likewise.
38573         [USE_AS_STRTOK_R] (SAVE): Likewise.
38574         (FUNCTION): Likewise.  Do not use BP_SYM.
38575         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
38576         aliases.
38577         (strtok_r): Likewise.
38578         (__GI___strtok_r): Likewise.
38579         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38580         (PARMS): Do not use macros from bp-asm.h.
38581         (S): Likewise.
38582         (SIZE): Likewise.
38583         (__mpn_lshift): Do not use BP_SYM.
38584         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38585         (PARMS): Do not use macros from bp-asm.h.
38586         (STR): Likewise.
38587         (CHR): Likewise.
38588         (__memchr): Do not use BP_SYM.
38589         (memchr): Do not use BP_SYM in weak_alias.
38590         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38591         (PARMS): Do not use macros from bp-asm.h.
38592         (BLK2): Likewise.
38593         (LEN): Likewise.
38594         (memcmp): Do not use BP_SYM.
38595         (bcmp): Do not use BP_SYM in weak_alias.
38596         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
38597         (PARMS): Do not use macros from bp-asm.h.
38598         (S1): Likewise.
38599         (SIZE): Likewise.
38600         (__mpn_mul_1): Do not use BP_SYM.
38601         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
38602         "bp-asm.h".
38603         (PARMS): Do not use macros from bp-asm.h.
38604         (STR): Likewise.
38605         (CHR): Likewise.
38606         (__rawmemchr): Do not use BP_SYM.
38607         (rawmemchr): Do not use BP_SYM in weak_alias.
38608         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38609         (PARMS): Do not use macros from bp-asm.h.
38610         (S): Likewise.
38611         (SIZE): Likewise.
38612         (__mpn_rshift): Do not use BP_SYM.
38613         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38614         (PARMS): Do not use macros from bp-asm.h.
38615         (SIGMSK): Likewise.
38616         (__sigsetjmp): Likewise.  Do not use BP_SYM.
38617         * sysdeps/i386/start.S: Do not include "bp-sym.h".
38618         (_start): Do not use BP_SYM.
38619         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
38620         (PARMS): Do not use macros from bp-asm.h.
38621         (DEST): Likewise.
38622         (SRC): Likewise.
38623         (__stpcpy): Likewise.  Do not use BP_SYM.
38624         (stpcpy): Do not use BP_SYM in weak_alias.
38625         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
38626         "bp-asm.h".
38627         (PARMS): Do not use macros from bp-asm.h.
38628         (DEST): Likewise.
38629         (SRC): Likewise.
38630         (LEN): Likewise.
38631         (__stpncpy): Likewise.  Do not use BP_SYM.
38632         (stpncpy): Do not use BP_SYM in weak_alias.
38633         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38634         (PARMS): Do not use macros from bp-asm.h.
38635         (STR): Likewise.
38636         (CHR): Likewise.
38637         (strchr): Likewise.  Do not use BP_SYM.
38638         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
38639         "bp-asm.h".
38640         (PARMS): Do not use macros from bp-asm.h.
38641         (STR): Likewise.
38642         (CHR): Likewise.
38643         (__strchrnul): Likewise.  Do not use BP_SYM.
38644         (strchrnul): Do not use BP_SYM in weak_alias.
38645         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
38646         "bp-asm.h".
38647         (PARMS): Do not use macros from bp-asm.h.
38648         (STOP): Likewise.
38649         (strcspn): Do not use BP_SYM.
38650         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
38651         "bp-asm.h".
38652         (PARMS): Do not use macros from bp-asm.h.
38653         (STR): Likewise.
38654         (STOP): Likewise.
38655         (strpbrk): Likewise.  Do not use BP_SYM.
38656         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
38657         "bp-asm.h".
38658         (PARMS): Do not use macros from bp-asm.h.
38659         (STR): Likewise.
38660         (CHR): Likewise.
38661         (strrchr): Likewise.  Do not use BP_SYM.
38662         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
38663         (PARMS): Do not use macros from bp-asm.h.
38664         (SKIP): Likewise.
38665         (strspn): Do not use BP_SYM.
38666         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
38667         (PARMS): Do not use macros from bp-asm.h.
38668         (STR): Likewise.
38669         (DELIM): Likewise.
38670         (SAVE): Likewise.
38671         (FUNCTION): Likewise.  Do not use BP_SYM.
38672         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
38673         aliases.
38674         (strtok_r): Likewise.
38675         (__GI___strtok_r): Likewise.
38676         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38677         (PARMS): Do not use macros from bp-asm.h.
38678         (S1): Likewise.
38679         (S2): Likewise.
38680         (SIZE): Likewise.
38681         (__mpn_sub_n): Do not use BP_SYM.
38682         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
38683         "bp-asm.h".
38684         (PARMS): Do not use macros from bp-asm.h.
38685         (S1): Likewise.
38686         (SIZE): Likewise.
38687         (__mpn_submul_1): Do not use BP_SYM.
38688         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
38689         <bp-sym.h>.
38690         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
38691         and <bp-asm.h>.
38692         (PARMS): Do not use macros from bp-asm.h.
38693         (FLAGS): Likewise.
38694         (PTID): Likewise.
38695         (TLS): Likewise.
38696         (CTID): Likewise.
38697         (__clone): Do not use BP_SYM.
38698         (clone): Do not use BP_SYM in weak_alias.
38699         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
38700         and <bp-asm.h>.
38701         (PARMS): Do not use macros from bp-asm.h.
38702         (LEN): Likewise.
38703         (__mmap64): Do not use BP_SYM.
38704         (mmap64): Do not use BP_SYM in weak_alias.
38705         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38706         <bp-sym.h> and <bp-asm.h>.
38707         (PARMS): Do not use macros from bp-asm.h.
38708         (__posix_fadvise64_l64): Do not use BP_SYM.
38709         * sysdeps/unix/sysv/linux/i386/semtimedop.S
38710         (PARMS): Do not use macros from bp-asm.h.
38711         (NSOPS): Likewise.
38712         (semtimedop): Do not use BP_SYM.
38713         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
38714         and <bp-asm.h>.
38716 2013-02-21  Allan McRae  <allan@archlinux.org>
38718         * manual/message.texi (Charset conversion in gettext):
38719         Move @end statement to beginning of line.
38721 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38723         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38724         static.
38725         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38726         Likewise.
38728         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38729         (denorm): Likewise.
38730         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38731         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38733 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38735         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38736         tail-call to the resolved function if pltexit isn't needed.
38738 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38740         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38741         or Y being zero as being unlikely.
38742         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38743         Likewise.
38745 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
38747         * manual/nss.texi (System Databases and Name Service Switch):
38748         Remove frobnicate @pxref.
38750 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38752         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38753         __attribute__ ((unused)) to __attribute__ ((__unused__)).
38755 2013-02-20  Petr Machata  <pmachata@redhat.com>
38757         * elf/elf.h (R_ARM_TARGET1): New macro.
38758         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38759         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38760         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38761         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38762         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38763         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38764         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38765         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38766         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38767         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38768         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38769         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38770         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38771         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38772         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38773         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38774         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38775         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38776         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38777         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38778         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38779         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38780         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38781         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38782         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38783         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38784         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38785         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38786         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38787         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38788         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38789         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38790         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38791         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38792         (R_ARM_THM_GOT_BREL12): Likewise.
38793         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38794         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38795         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38796         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38797         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38798         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38799         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38800         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38801         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38803 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38805         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38806         __attribute_used__ to __attribute__ ((unused)).
38808 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38810         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38811         powerpc mpa.c.
38812         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38813         comment formatting.
38814         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38816 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38818         [BZ #13550]
38819         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38820         Remove macro.
38821         (ENTER): Remove both macro definitions.
38822         (LEAVE): Likewise.
38823         (CHECK_BOUNDS_LOW): Likewise.
38824         (CHECK_BOUNDS_HIGH): Likewise.
38825         (CHECK_BOUNDS_BOTH): Likewise.
38826         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38827         (RETURN_BOUNDED_POINTER): Likewise.
38828         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38829         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38830         (POP_ERRNO_LOCATION_RETURN): Likewise.
38831         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38832         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38833         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38834         macros.
38835         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38836         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38837         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38838         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38839         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38840         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38841         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38842         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38843         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38844         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38845         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38846         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38847         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38848         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38849         removed macros.
38850         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38851         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38852         macros.
38853         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38854         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38855         * sysdeps/i386/i586/memset.S (memset): Likewise.
38856         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38857         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38858         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38859         macros.
38860         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38861         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38862         Change uses of L(2) to L(out).
38863         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38864         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38865         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38866         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38867         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38868         removed macros.
38869         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38870         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38871         macros.
38872         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38873         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38874         (RETURN): Do not use macro LEAVE.
38875         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38876         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38877         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38878         * sysdeps/i386/i686/memset.S (memset): Likewise.
38879         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38880         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38881         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38882         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38883         Likewise.
38884         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38885         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38886         L(1_2) and L(1_3) into L(1).
38887         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38888         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38889         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38890         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38891         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38892         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38893         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38894         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38895         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38896         macros.
38897         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38898         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38899         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38900         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38901         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38902         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38903         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38904         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38905         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38906         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38907         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38908         * sysdeps/i386/strspn.S (strspn): Likewise.
38909         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38910         conditional code.
38911         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38912         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38913         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38914         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38915         L(1_3) into L(1_1).
38916         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38917         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38918         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38919         macros.
38920         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38922 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38924         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38925         macro.
38927 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38929         * math/atest-exp.c (exp_mpn): Remove ROUND.
38930         * math/atest-exp2.c (exp_mpn): Likewise.
38931         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38933         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38934         * stdlib/tst-tls-atexit-lib.c: Likewise.
38935         * stdlib/tst-tls-atexit.c: Likewise.
38937 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38939         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38940         and __attribute_alloc_size__.
38942 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38944         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38945         __attribute_alloc_size__.
38946         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38947         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38949 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38951         * include/programs/xmalloc.h: New file.
38952         * catgets/gencat.c: Include it.
38953         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38954         * elf/pldd.c: Likewise.
38955         * iconv/iconv_charmap.c: Likewise.
38956         * iconv/iconvconfig.c: Likewise.
38957         * iconv/strtab.c: Likewise.
38958         * locale/programs/locale.c: Likewise.
38959         * locale/programs/localedef.h: Likewise.
38960         * locale/programs/simple-hash.c: Likewise.
38961         * nscd/nscd.h: Likewise.
38962         * nss/makedb.c: Likewise.
38963         * sysdeps/generic/ldconfig.h: Likewise.
38965 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38967         * Versions.def: Add GLIBC_2.18.
38968         * include/link.h (struct link_map): New member l_tls_dtor_count.
38969         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38970         (__call_tls_dtors): Likewise.
38971         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38972         __cxa_thread_atexit_impl.
38973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38974         Likewise.
38975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38976         Likewise.
38977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38978         Likewise.
38979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38980         Likewise.
38981         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38983         Likewise.
38984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38985         Likewise.
38986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38987         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38988         Likewise.
38989         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38990         (tests): Add test case tst-tls-atexit.
38991         (modules-names): Add shared library for tst-tls-atexit.
38992         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38993         (GLIBC_PRIVATE): Add __call_tls_dtors.
38994         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38995         for libstdc++.
38996         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38997         * stdlib/tst-tls-atexit.c: New test case.
38998         * stdlib/tst-tls-atexit-lib.c: New test case.
39000         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
39002         * elf/Versions (ld): Add _dl_find_dso_for_object.
39003         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
39004         * elf/dl-open.c (_dl_find_dso_for_object): New function.
39005         (dl_open_worker): Use _dl_find_dso_for_object.
39006         * elf/dl-sym.c (do_sym): Likewise.
39007         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
39009 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39011         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
39012         Syntactic changes only.
39013         (_dl_runtime_profile): Do a tail-call to the resolved function.
39015 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
39017         [BZ #13550]
39018         * sysdeps/x86_64/bp-asm.h: Remove file.
39019         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
39020         <bp-sym.h> and <bp-asm.h>.
39021         (__clone): Do not use BP_SYM.
39022         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
39023         <bp-sym.h> and <bp-asm.h>.
39024         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39025         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
39026         "bp-asm.h".
39027         (_setjmp): Do not use BP_SYM.
39028         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
39029         "bp-asm.h".
39030         (setjmp): Do not use BP_SYM.
39031         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
39032         libc_hidden_def.
39033         (mempcpy): Do not use BP_SYM in weak_alias.
39034         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
39035         "bp-asm.h".
39036         (strchr): Do not use BP_SYM.
39037         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
39038         "bp-asm.h".
39039         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
39040         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
39041         (_start): Do not use BP_SYM.
39042         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
39043         "bp-asm.h".
39044         (strcat): Do not use BP_SYM.
39045         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
39046         "bp-asm.h".
39047         (STRCMP): Do not use BP_SYM.
39048         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
39049         "bp-asm.h".
39050         (STRCPY): Do not use BP_SYM.
39051         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
39052         "bp-asm.h".
39053         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
39054         "bp-asm.h".
39055         (FUNCTION): Do not use BP_SYM.
39056         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
39057         weak_alias.
39058         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
39060 2013-02-17  Andreas Jaeger  <aj@suse.de>
39062         * time/Versions: Sort entries.
39063         * string/Versions: Likewise.
39064         * resolv/Versions: Likewise.
39065         * posix/Versions: Likewise.
39066         * iconv/Versions: Likewise.
39067         * elf/Versions: Likewise.
39068         * wcsmbs/Versions: Likewise.
39070 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39072         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
39073         loop termination condition.
39075         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
39076         variable to calculate EZ.
39077         (__sqr): Likewise.
39079         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
39080         the lower precision input.
39082 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
39084         [BZ #13550]
39085         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
39086         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
39087         (run-via-rtld-prefix): Do not handle %-bp tests.
39088         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
39089         (all-object-suffixes): Remove .ob.
39090         (bppfx): Remove variable.
39091         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
39092         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
39093         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
39094         [$(build-bounded) = yes] (libtype.ob): Likewise.
39095         * Makerules (elide-routines.ob): Remove variable.
39096         (do-tests-clean): Do not handle *-bp.out.
39097         (common-mostlyclean): Do not handle *-bp and *-bp.out.
39098         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
39099         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
39100         (tests): Do not include $(tests-bp.out).
39101         (xtests): Do not include $(xtests-bp.out).
39102         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
39103         [$(build-bounded) = yes] ($(addprefix
39104         $(objpfx),$(binaries-bounded))): Remove rule.
39105         ($(objpfx)%-bp.out): Remove rule.
39106         * config.make.in (build-bounded): Remove variable.
39107         * crypt/Makefile [$(build-bounded) = yes]
39108         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
39109         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
39110         append to variable.
39111         [$(build-bounded) = yes] (install-lib): Likewise.
39112         [$(build-bounded) = yes] (generated): Likewise.
39113         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
39114         Remove rule.
39115         * intl/Makefile [$(build-bounded) = yes]
39116         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
39117         * math/Makefile [$(build-bounded) = yes]
39118         ($(tests:%=$(objpfx)%-bp): Likewise.
39119         * misc/Makefile [$(build-bounded) = yes]
39120         ($(objpfx)tst-tsearch-bp): Likewise.
39121         * nptl/Makeconfig (bounded-thread-library): Remove variable.
39122         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
39123         Remove dependency.
39124         * string/Makefile (o-objects.ob): Remove variable.
39125         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
39126         (CFLAGS-.ob): Remove variable.
39127         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
39128         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
39129         both definitions of variable.
39130         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
39131         (ASFLAGS-.ob): Remove variable.
39133 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
39135         [BZ #13550]
39136         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
39137         Remove __BOUNDED_POINTERS__ from condition.
39138         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
39139         * string/bits/string2.h [!__NO_STRING_INLINES &&
39140         !__BOUNDED_POINTERS__]: Likewise.
39141         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
39142         Likewise.
39143         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
39144         Remove conditional code.
39145         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
39146         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
39147         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
39148         condition.
39150         [BZ #13550]
39151         * csu/libc-start.c: Do not include <bp-sym.h>.
39152         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
39153         * elf/dl-open.c: Do not include <bp-sym.h>.
39154         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
39155         * math/fegetenv.c: Do not include <bp-sym.h>.
39156         (fegetenv): Do not use BP_SYM in versioned symbols.
39157         * nptl/sysdeps/pthread/bits/libc-lockP.h
39158         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
39159         <bp-sym.h>.
39160         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39161         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
39162         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39163         (__pthread_mutex_destroy): Likewise.
39164         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39165         (__pthread_mutex_lock): Likewise.
39166         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39167         (__pthread_mutex_trylock): Likewise.
39168         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39169         (__pthread_mutex_unlock): Likewise.
39170         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39171         (__pthread_mutexattr_init): Likewise.
39172         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39173         (__pthread_mutexattr_destroy): Likewise.
39174         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39175         (__pthread_mutexattr_settype): Likewise.
39176         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39177         (__pthread_rwlock_init): Likewise.
39178         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39179         (__pthread_rwlock_destroy): Likewise.
39180         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39181         (__pthread_rwlock_rdlock): Likewise.
39182         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39183         (__pthread_rwlock_tryrdlock): Likewise.
39184         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39185         (__pthread_rwlock_wrlock): Likewise.
39186         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39187         (__pthread_rwlock_trywrlock): Likewise.
39188         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39189         (__pthread_rwlock_unlock): Likewise.
39190         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39191         (__pthread_key_create): Likewise.
39192         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39193         (__pthread_setspecific): Likewise.
39194         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39195         (__pthread_getspecific): Likewise.
39196         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
39197         Likewise.
39198         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39199         (_pthread_cleanup_push_defer): Likewise.
39200         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39201         (_pthread_cleanup_pop_restore): Likewise.
39202         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39203         (pthread_setcancelstate): Likewise.
39204         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
39205         <bp-sym.h>.
39206         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
39207         (memchr): Do not use BP_SYM in weak_alias.
39208         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
39209         (fegetenv): Do not use BP_SYM in versioned symbols.
39210         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
39211         (fesetenv): Do not use BP_SYM in versioned symbols.
39212         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39213         (feupdateenv): Do not use BP_SYM in versioned symbols.
39214         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39215         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39216         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
39217         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
39218         (open64): Do not use BP_SYM in weak_alias.
39219         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
39220         (fegetenv): Do not use BP_SYM in versioned symbols.
39221         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
39222         (fesetenv): Do not use BP_SYM in versioned symbols.
39223         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39224         (feupdateenv): Do not use BP_SYM in versioned symbols.
39225         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
39226         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
39227         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
39228         (feraiseexcept): Do not use BP_SYM in versioned symbols.
39229         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39230         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39231         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
39232         <bp-sym.h>.
39233         (__libc_start_main): Do not use BP_SYM.
39235 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39237         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
39238         redundant return line.
39239         (norm): Likewise.
39240         (denorm): Likewise.
39241         (dbl_mp): Likewise.
39242         (sub_magnitudes): Likewise.
39243         (__add): Likewise.
39244         (__sub): Likewise.
39245         (__mul): Likewise.
39246         (__inv): Likewise.
39247         (__dvd): Likewise.
39248         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
39249         (norm): Likewise.
39250         (denorm): Likewise.
39251         (dbl_mp): Likewise.
39252         (sub_magnitudes): Likewise.
39253         (__add): Likewise.
39254         (__sub): Likewise.
39255         (__mul): Likewise.
39256         (__inv): Likewise.
39257         (__dvd): Likewise.
39259         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
39260         instead of __mul.
39261         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39262         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
39263         (cc32): Likewise.
39265         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
39266         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
39267         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
39268         of __mul for squares.
39269         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
39270         function
39271         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
39272         Likewise.
39273         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
39274         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39276 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
39278         [BZ #13550]
39279         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
39280         code.
39281         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
39282         prototype or function definition.  Rename ubp_* variables and
39283         parameters.  Remove argv definitions conditional on
39284         [__BOUNDED_POINTERS__].
39285         * debug/backtrace.c (__backtrace): Do not use __unbounded.
39286         * elf/dl-runtime.c (_dl_fixup): Likewise.
39287         * include/set-hooks.h (RUN_HOOK): Likewise.
39288         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
39289         definition.
39290         * string/strcpy.c (strcpy): Do not use __unbounded.
39291         * sysdeps/generic/frame.h (struct layout): Likewise.
39292         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
39293         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
39294         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
39295         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
39296         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
39297         (__backtrace): Likewise.
39298         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
39299         use __ptrvalue.
39300         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
39301         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39302         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
39303         Likewise.
39304         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
39305         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
39306         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39307         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39308         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
39309         Do not use __unbounded.
39310         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
39311         Rename __unboundedrlimits parameter to rlimits in prototype.
39312         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
39313         Do not use __unbounded.
39314         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
39315         not use __ptrvalue.
39316         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39317         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
39318         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39319         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
39320         __ptrvalue or __unbounded.
39321         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
39322         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
39323         use __unbounded.
39324         (__new_msgctl): Do not use __ptrvalue.
39325         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
39326         __unbounded.
39327         (__libc_msgrcv): Do not use __ptrvalue.
39328         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
39329         startup_info): Do not use __unbounded.
39330         (__libc_start_main): Likewise.  Rename ubp_* variables and
39331         parameters.  Remove argv definitions conditional on
39332         [__BOUNDED_POINTERS__].
39333         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
39334         __ptrvalue.
39335         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
39336         use __unbounded.
39337         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
39338         or __ptrvalue.
39339         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
39340         use __unbounded.
39341         (__new_shmctl): Do not use __ptrvalue.
39342         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
39343         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
39344         Likewise.
39345         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
39346         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
39347         (__libc_sigaction): Likewise.
39348         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
39349         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
39350         Likewise.
39351         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39353 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
39355         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
39357         * string/mempcpy.c: Implement by calling memcpy.
39359 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39361         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
39363         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
39364         evaluation.
39366         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
39367         values in the mantissa.
39369         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
39370         minimize writes to Z.
39371         (sub_magnitudes): Simplify code a bit.
39373 2013-02-12  Roland McGrath  <roland@hack.frob.com>
39375         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
39376         from the message.  The linker prefixes all warnings with that already.
39378 2013-02-12  Andreas Schwab  <schwab@suse.de>
39380         [BZ #15078]
39381         * posix/regexec.c (extend_buffers): Add parameter min_len.
39382         (check_matching): Pass minimum needed length.
39383         (clean_state_log_if_needed): Likewise.
39384         (get_subexp): Likewise.
39385         * posix/Makefile (tests): Add bug-regex34.
39386         (bug-regex34-ENV): Define.
39387         * posix/bug-regex34.c: New file.
39389         [BZ #11561]
39390         * posix/regcomp.c (parse_bracket_exp): When looking up collating
39391         elements compare against the byte sequence of it, not its name.
39392         * posix/Makefile (tests): Add bug-regex35.
39393         (bug-regex35-ENV): Define.
39394         * posix/bug-regex35.c: New file.
39396 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39398         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
39399         comment.
39400         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
39401         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
39402         (CHECK_EOL): Add undef.
39404 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
39406         * bits/stdlib-bsearch.h: New file.
39407         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
39408         * stdlib/stdlib.h: Likewise.
39410 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39412         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
39413         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
39414         declaration.
39415         * manual/search.texi (Array Search Function): Add missing const in
39416         lfind prototype.
39417         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
39418         declaration to use rlim_t.
39419         (Basic Scheduling Functions): Remove erroneous const from
39420         sched_getparam prototype.  Remove erroneous * from
39421         sched_get_priority_max and sched_get_priority_min prototypes.
39422         (Resource Usage): Fix summary @comment on vtimes to refer to
39423         sys/vtimes.h rather than vtimes.h.
39424         Add missing *s in vtimes prototype.
39425         (Limits on Resources): Fix ulimit prototype to return long int.
39426         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
39427         prototypes to use long int rather than double.
39428         (BSD Random): Fix initstate and setstate to use char *, not void *.
39429         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
39430         prototype to make second argument 'struct aiocb64 *const[]'.
39431         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
39432         (Status of AIO Operations): Remove erroneous const in aio_return and
39433         aio_return64 prototypes.
39434         (Synchronizing I/O): Fix sync prototype to return void.
39435         * manual/startup.texi (Suboptions): Remove an erroneous const in
39436         getsubopt prototype.
39437         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
39438         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
39439         use size_t rather than int.
39440         (Scanning All Users): Likewise for getpwent_r.
39441         (Setting Groups): Add missing const to setgroups prototype.
39442         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
39443         * manual/socket.texi (Host Names): Fix gethostbyaddr and
39444         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
39445         'const void *' rather than 'const char *'.
39446         (Host Address Functions): Likewise for inet_ntop.
39447         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
39448         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
39449         ssize_t for return value.
39450         (Sending Data): Likewise for send, sendto, sendmsg.
39451         (Socket Option Functions): Add a missing const in setsockopt prototype.
39452         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
39453         use wchar_t for the argument.
39454         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
39455         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
39456         take no arguments.
39457         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
39458         double/float/long double for second argument.
39459         Fix return types of significand, significandf, significandl.
39460         * manual/filesys.texi (Setting Permissions): Use mode_t for second
39461         argument in fchmod prototype.
39462         (File Owner): Use uid_t and gid_t in fchown prototype.
39463         (File Times): Add const to utimes, futimes, and lutimes prototypes.
39464         (Making Special Files): Use mode_t and dev_t in mknod prototype.
39465         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
39466         use 'const struct dirent **' as argument types to CMP function pointer
39467         argument.
39468         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
39469         (File Times): Fix summary magic @comment for struct utimbuf and utime
39470         to refer to utime.h, not time.h.
39471         * manual/string.texi (Argz Functions): Add missing const in
39472         argz_extract and argz_next prototypes.
39473         (Finding Tokens in a String): Likewise for basename.
39474         (String/Array Comparison): Fix typo in wcscasecmp prototype.
39475         (Copying and Concatenation): Fix typo in wmemmove prototype.
39476         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
39477         (Signal Stack): Remove erroneous const in sigstack prototype.
39478         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
39479         prototype.
39480         (Simple Calendar Time): Likewise for stime.
39481         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
39482         prototype.
39483         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
39484         say sys/sysctl.h instead.
39485         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
39486         and vsyslog prototypes.
39488 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39490         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
39491         Remove.
39493 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39495         * misc/sys/mman.h: Fix typo in mremap comment.
39497 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39499         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
39500         the '\0' terminator.
39502 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39504         [BZ #13550]
39505         * debug/segfault.c: Don't include <bp-checks.h>.
39506         * sysdeps/generic/bp-checks.h: Remove file.
39507         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
39508         (__GETDENTS): Don't use CHECK_N.
39509         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
39510         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39511         (__getgroups): Don't use CHECK_N.
39512         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
39513         (setgroups): Don't use CHECK_N.
39514         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
39515         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
39516         (__libc_msgrcv): Don't use CHECK_N.
39517         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
39518         (__libc_msgsnd): Don't use CHECK_N.
39519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
39520         <bp-checks.h>.
39521         (__libc_pread): Don't use CHECK_N.
39522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
39523         include <bp-checks.h>.
39524         (__libc_pread64): Don't use CHECK_N.
39525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
39526         include <bp-checks.h>.
39527         (__libc_pwrite): Don't use CHECK_N.
39528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
39529         include <bp-checks.h>.
39530         (__libc_pwrite64): Don't use CHECK_N.
39531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
39532         <bp-checks.h>.
39533         (__libc_pread): Don't use CHECK_N.
39534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
39535         include <bp-checks.h>.
39536         (__libc_pread64): Don't use CHECK_N.
39537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
39538         include <bp-checks.h>.
39539         (__libc_pwrite): Don't use CHECK_N.
39540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
39541         include <bp-checks.h>.
39542         (__libc_pwrite64): Don't use CHECK_N.
39543         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
39544         (do_pread): Don't use CHECK_N.
39545         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
39546         (do_pread64): Don't use CHECK_N.
39547         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
39548         (do_pwrite): Don't use CHECK_N.
39549         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
39550         (do_pwrite64): Don't use CHECK_N.
39551         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
39552         (__libc_readv): Don't use CHECK_N.
39553         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
39554         (semop): Don't use CHECK_N.
39555         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
39556         <bp-checks.h>.
39557         (semtimedop): Don't use CHECK_N.
39558         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
39559         (__libc_pread): Don't use CHECK_N.
39560         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
39561         <bp-checks.h>.
39562         (__libc_pread64): Don't use CHECK_N.
39563         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
39564         <bp-checks.h>.
39565         (__libc_pwrite): Don't use CHECK_N.
39566         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
39567         <bp-checks.h>.
39568         (__libc_pwrite64): Don't use CHECK_N.
39569         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
39570         <bp-checks.h>.
39571         (__libc_msgrcv): Don't use CHECK_N.
39572         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
39573         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
39574         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
39575         (__libc_writev): Don't use CHECK_N.
39577 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39579         * string/strcpy.c: Removed unused variable.
39581         * Makeconfig (+sysdep-includes): Define with := rather than =.
39582         Use an existing include/ subdir of each sysdeps dir before it.
39584 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39586         * nscd/connection.c (register_traced_file): Comment function.
39587         [HAVE_INOTIFY] (union __inev): Define.
39588         [HAVE_INOTIFY] (inotify_check_files): New function.
39589         [HAVE_INOTIFY] (clear_db_cache): Likewise.
39590         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
39591         clear_db_cache.
39592         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
39594 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39596         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
39597         loaded if not already and that a failure is permanent.
39599 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39601         [BZ #15006]
39602         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
39603         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
39605 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39607         [BZ #13550]
39608         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
39609         (CHECK_1_NULL_OK): Likewise.
39610         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
39611         (__fxstat): Do not use CHECK_1.
39612         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
39613         <bp-checks.h>.
39614         (___fxstat64): Do not use CHECK_1.
39615         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39616         <bp-checks.h>.
39617         (__fxstatat): Do not use CHECK_1.
39618         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39619         <bp-checks.h>.
39620         (__fxstatat64): Do not use CHECK_1.
39621         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
39622         <bp-checks.h>.
39623         (__fxstat): Do not use CHECK_1.
39624         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39625         <bp-checks.h>.
39626         (__fxstatat): Do not use CHECK_1.
39627         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39628         <bp-checks.h>.
39629         (__getresgid): Do not use CHECK_1.
39630         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39631         <bp-checks.h>.
39632         (__getresuid): Do not use CHECK_1.
39633         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
39634         <bp-checks.h>.
39635         (__lxstat): Do not use CHECK_1.
39636         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39637         <bp-checks.h>.
39638         (__old_msgctl): Do not use CHECK_1.
39639         (__new_msgctl): Likewise.
39640         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
39641         <bp-checks.h>.
39642         (__new_setrlimit): Do not use CHECK_1.
39643         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39644         <bp-checks.h>.
39645         (__old_shmctl): Do not use CHECK_1.
39646         (__new_shmctl): Likewise.
39647         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
39648         <bp-checks.h>.
39649         (__xstat): Do not use CHECK_1.
39650         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
39651         (__lxstat): Do not use CHECK_1.
39652         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
39653         <bp-checks.h>.
39654         (___lxstat64): Do not use CHECK_1.
39655         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
39656         (__old_msgctl): Do not use CHECK_1.
39657         (__new_msgctl): Likewise.
39658         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
39659         <bp-checks.h>.
39660         (__gettimeofday): Do not use CHECK_1.
39661         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
39662         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
39663         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
39664         <bp-checks.h>.
39665         (__gettimeofday): Do not use CHECK_1.
39666         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
39667         (__old_shmctl): Do not use CHECK_1_NULL_OK.
39668         (__new_shmctl): Do not use CHECK_1.
39669         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
39670         <bp-checks.h>.
39671         (do_sigtimedwait): Do not use CHECK_1.
39672         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
39673         <bp-checks.h>.
39674         (do_sigwaitinfo): Do not use CHECK_1.
39675         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
39676         <bp-checks.h>.
39677         (msgctl): Do not use CHECK_1.
39678         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
39679         <bp-checks.h>.
39680         (shmctl): Do not use CHECK_1.
39681         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
39682         (ustat): Do not use CHECK_1.
39683         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
39684         <bp-checks.h>.
39685         (__fxstat): Do not use CHECK_1.
39686         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39687         <bp-checks.h>.
39688         (__fxstatat): Do not use CHECK_1.
39689         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
39690         <bp-checks.h>.
39691         (__lxstat): Do not use CHECK_1.
39692         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
39693         <bp-checks.h>.
39694         (__xstat): Do not use CHECK_1.
39695         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
39696         (__xstat): Do not use CHECK_1.
39697         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
39698         (___xstat64): Do not use CHECK_1.
39700         [BZ #13550]
39701         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
39702         definitions.
39703         (CHECK_BOUNDS_HIGH): Likewise.
39704         * string/strcpy.c: Do not include <bp-checks.h>.
39705         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
39707 2013-02-07  Roland McGrath  <roland@hack.frob.com>
39709         * nscd/nscd-client.h (__nscd_drop_map_ref):
39710         Add __attribute__ ((unused)).
39711         * nis/nss-nisplus.h (niserr2nss): Likewise.
39713         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
39714         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
39716         * csu/libc-tls.c (init_static_tls, init_slotinfo):
39717         Remove inline keyword.
39718         * include/rounding-mode.h (round_away): Likewise.
39719         * libio/wfileops.c (adjust_wide_data): Likewise.
39720         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
39721         (__m128i_strloadu_tolower): Likewise.
39722         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39723         (__m128i_strloadu_tolower): Likewise.
39724         * time/mktime.c (ydhms_diff): Likewise.
39725         * locale/elem-hash.h (elem_hash): Likewise.
39726         * locale/setlocale.c (setdata): Likewise.
39727         * posix/regex_internal.h (re_string_char_size_at): Likewise.
39728         (re_string_wchar_at): Likewise.
39729         (bitset_not, bitset_merge, bitset_mask): Likewise.
39730         [!(__GNUC__ > 3)] (inline): Remove macro.
39731         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39732         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39733         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39734         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39735         * string/memcmp.c (memcmp_bytes): Likewise.
39736         * locale/programs/locarchive.c (compute_hashval): Likewise.
39737         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39738         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39739         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39740         * nss/getent.c (print_rpc, print_protocols): Likewise.
39741         (print_passwd, print_group, print_aliases): Likewise.
39742         * nis/nss-nisplus.h (niserr2nss): Likewise.
39743         * nscd/connections.c (restart_p): Likewise.
39744         Change return type to bool.
39746 2013-02-05  Roland McGrath  <roland@hack.frob.com>
39748         * Makeconfig (all-Depend-files): Add existing
39749         $(sorted-subdirs:=/Depend) files.
39750         (all-subdirs): Remove nss.
39751         * sysdeps/unix/inet/Subdirs: Add it here instead.
39752         * hesiod/Depend: New file.
39754         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39755         instead of calling alloca.
39757         * io/lseek.c (__lseek): Rename to __libc_lseek.
39758         Define __lseek as an alias.
39760         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39762 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
39764         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39765         else clause and remove check for non-standard endianness.
39767 2013-02-04  David S. Miller  <davem@davemloft.net>
39769         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39771 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39773         [BZ #13550]
39774         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39775         (__ubp_memchr): Remove prototype.
39776         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39777         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39778         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39779         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39780         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39781         Remove alias.
39782         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39783         (__ubp_memchr): Likewise.
39784         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39785         (__ubp_memchr): Likewise.
39786         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39787         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39788         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39789         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39790         CHECK_STRING.
39791         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39792         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39793         (__getcwd): Do not use CHECK_STRING.
39794         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39795         <bp-checks.h>.
39796         (__real_chown): Do not use CHECK_STRING.
39797         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39798         <bp-checks.h>.
39799         (fchownat): Do not use CHECK_STRING.
39800         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39801         CHECK_STRING.
39802         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39803         <bp-checks.h>.
39804         (__lchown): Do not use CHECK_STRING.
39805         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39806         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39807         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39808         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39810         include <bp-checks.h>.
39811         (truncate64): Do not use CHECK_STRING.
39812         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39813         <bp-checks.h>.
39814         (__real_chown): Do not use CHECK_STRING.
39815         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39816         <bp-checks.h>.
39817         (__lchown): Do not use CHECK_STRING.
39818         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39819         <bp-checks.h>.
39820         (__chown): Do not use CHECK_STRING.
39821         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39822         <bp-checks.h>.
39823         (truncate64): Do not use CHECK_STRING.
39824         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39825         Likewise.
39826         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39827         (__xmknod): Do not use CHECK_STRING.
39828         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39829         <bp-checks.h>.
39830         (__xmknodat): Do not use CHECK_STRING.
39831         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39832         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39834 2013-02-04  Andreas Schwab  <schwab@suse.de>
39836         [BZ #14142]
39837         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39838         * include/netdb.h: Likewise for h_errno.
39839         * elf/tst-stackguard1.c: Include <tls.h>.
39841 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39843         * elf/link.h (struct link_map): Extend the l_addr comment.
39844         * include/link.h (struct link_map): Likewise.
39846 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39848         [BZ #13550]
39849         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39850         (BOUNDED_1): Remove macro.
39851         * debug/backtrace.c: Don't include <bp-checks.h>.
39852         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39853         (__backtrace): Likewise.
39854         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39855         <bp-checks.h>.
39856         (__backtrace): Don't use BOUNDED_1.
39857         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39858         <bp-checks.h>.
39859         (__backtrace): Don't use BOUNDED_1.
39860         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39861         (__backtrace): Don't use BOUNDED_1.
39862         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39863         (shmat): Don't use BOUNDED_N.
39865 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39867         [BZ #13550]
39868         * sysdeps/generic/bp-start.h: Remove file.
39869         * csu/libc-start.c: Don't include <bp-start.h>.
39870         (LIBC_START_MAIN): Set up __environ directly instead of using
39871         INIT_ARGV_and_ENVIRON.
39872         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39873         <bp-start.h>.
39875         [BZ #13550]
39876         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39877         definitions.
39878         (CHECK_FCNTL): Likewise.
39879         (CHECK_N_PAGES): Likewise.
39881         [BZ #13550]
39882         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39883         definitions.
39884         (CHECK_SIGSET_NULL_OK): Likewise.
39885         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39886         <bp-checks.h>.
39887         (sigpending): Don't use CHECK_SIGSET.
39888         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39889         <bp-checks.h>.
39890         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39891         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39892         <bp-checks.h>.
39893         (do_sigsuspend): Don't use CHECK_SIGSET.
39894         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39895         use CHECK_SIGSET.
39896         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39897         (do_sigwait): Don't use CHECK_SIGSET.
39898         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39899         use CHECK_SIGSET.
39900         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39901         include <bp-checks.h>.
39902         (sigpending): Don't use CHECK_SIGSET.
39903         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39904         include <bp-checks.h>.
39905         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39906         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39907         <bp-checks.h>.
39908         (sigpending): Don't use CHECK_SIGSET.
39909         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39910         <bp-checks.h>.
39911         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39913         [BZ #13550]
39914         * sysdeps/generic/bp-semctl.h: Remove file.
39915         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39916         <bp-checks.h> and <bp-semctl.h>.
39917         (__old_semctl): Don't use CHECK_SEMCTL.
39918         (__new_semctl): Likewise.
39919         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39920         and <bp-semctl.h>.
39921         (__old_semctl): Don't use CHECK_SEMCTL.
39922         (__new_semctl): Likewise.
39923         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39924         <bp-checks.h> and <bp-semctl.h>.
39925         (__old_semctl): Don't use CHECK_SEMCTL.
39926         (__new_semctl): Likewise.
39927         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39928         <bp-checks.h> and <bp-semctl.h>.
39929         (semctl): Don't use CHECK_SEMCTL.
39931         [BZ #13550]
39932         * Makerules (elide-bp-thunks): Remove variable.
39933         (elide-routines.oS): Don't use $(elide-bp-thunks).
39934         (elide-routines.os): Likewise.
39935         (elide-routines.o): Likewise.
39936         (elide-routines.op): Likewise.
39937         (elide-routines.og): Likewise.
39938         (objects): Don't use $(bp-thunks).
39939         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39940         include.
39941         (common-generated): Do not add s-proto-bp.d.
39942         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39943         (int): Likewise.
39944         (typ): Likewise.
39945         Do not generate makefile rules for bounded-pointer thunks.
39946         * sysdeps/generic/bp-thunks.h: Remove file.
39947         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39948         * sysdeps/unix/s-proto-bp.S: Likewise.
39950         [BZ #15062]
39951         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39952         parts of result separately when argument is not close to line from
39953         -i to i and one part of argument is small.
39954         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39955         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39956         * math/libm-test.inc (cacos_test): Add more tests.
39957         (casin_test): Likewise.
39958         (casinh_test): Likewise.
39959         * sysdeps/i386/fpu/libm-test-ulps: Update.
39960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39962 2013-01-31  David S. Miller  <davem@davemloft.net>
39964         * po/de.po: Update from translation team.
39966 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39968         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39970 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39972         * configure.in (_AC_PROG_CC_C89): New definition.
39973         * configure: Regenerate.
39975         * configure.in (AC_PROG_CPP): New definition.
39976         * configure: Regenerate.
39978 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39980         * debug/tst-backtrace.h: New file.
39981         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39982         (ret): Remove variable.
39983         (x): Likewise.
39984         (FAIL): Remove macro.
39985         (NO_INLINE): Likewise.
39986         (fn1): Use match function instead of strstr.
39987         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39988         (ret): Remove variable.
39989         (x): Likewise.
39990         (FAIL): Remove macro.
39991         (NO_INLINE): Likewise.
39992         (fn): Use match function instead of strstr.
39993         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39994         (ret): Remove variable.
39995         (x): Likewise.
39996         (FAIL): Remove macro.
39997         (NO_INLINE): Likewise.
39998         (handle_signal): Use match function instead of strstr.
39999         * debug/tst-backtrace5.c: Include tst-backtrace.h.
40000         (ret): Remove variable.
40001         (x): Likewise.
40002         (FAIL): Remove macro.
40003         (NO_INLINE): Likewise.
40004         (handle_signal): Use match function instead of strstr.
40006 2013-01-23  Roland McGrath  <roland@hack.frob.com>
40008         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
40010 2013-01-23  David S. Miller  <davem@davemloft.net>
40012         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
40013         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
40014         argument of CAS if possible.
40015         * sysdeps/sparc/sparc64/bits/atomic.h
40016         (__arch_compare_and_exchange_val_32_acq): Likewise.
40017         (__arch_compare_and_exchange_val_64_acq): Likewise.
40019 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
40021         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
40022         * sysdeps/posix/ulimit.c: ... this.
40023         Include <limits.h>.
40024         * sysdeps/unix/bsd/ulimit.c: Remove file.
40026 2013-01-23  Adam Conrad  <adconrad@0c3.net>
40028         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
40029         (LDFLAGS-tst-array5): Likewise.
40031 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
40033         [BZ #15036]
40034         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
40035         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
40036         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
40037         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
40039 2013-01-21  David S. Miller  <davem@davemloft.net>
40041         * sysdeps/sparc/backtrace.c: New file.
40042         * sysdeps/sparc/sparc32/backtrace.h: New file.
40043         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
40044         * sysdeps/sparc/sparc64/backtrace.h: New file.
40045         * sysdeps/sparc/sparc64/backtrace.c: Delete.
40046         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
40047         -funwind-tables.
40049 2013-01-21  Andreas Schwab  <schwab@suse.de>
40051         [BZ #15020]
40052         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
40053         closed its stdout.
40055 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
40057         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
40058         "mpa2.h".
40059         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40061 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
40062             Mark Mitchell  <mark@codesourcery.com>
40063             Tom de Vries  <tom@codesourcery.com>
40064             Paul Pluzhnikov  <ppluzhnikov@google.com>
40066         * debug/tst-backtrace2.c: New file.
40067         * debug/tst-backtrace3.c: Likewise.
40068         * debug/tst-backtrace4.c: Likewise.
40069         * debug/tst-backtrace5.c: Likewise.
40070         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
40071         (CFLAGS-tst-backtrace3.c): Likewise.
40072         (CFLAGS-tst-backtrace4.c): Likewise.
40073         (CFLAGS-tst-backtrace5.c): Likewise.
40074         (LDFLAGS-tst-backtrace2): Likewise.
40075         (LDFLAGS-tst-backtrace3): Likewise.
40076         (LDFLAGS-tst-backtrace4): Likewise.
40077         (LDFLAGS-tst-backtrace5): Likewise.
40078         (tests): Add new tests tst-backtrace2, tst-backtrace3,
40079         tst-backtrace4 and tst-backtrace5.
40081 2013-01-18  Anton Blanchard  <anton@samba.org>
40082             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40084         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
40085         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
40086         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
40087         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
40088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40089         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
40090         "+r" and remove output regs list as redundant.  Add explicit inline
40091         asm to specify register of return val to work around compiler codegen
40092         bug.  Remove (int) cast on return value.  Add return type parameter to
40093         use in macro so that this macro does not truncate return value for
40094         64-bit values.
40095         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
40096         pass to INTERNAL_VSYSCALL_NCS.
40097         (INLINE_VSYSCALL): Add 'long int' as return type to
40098         INTERNAL_VSYSCALL_NCS macro invocation.
40099         (INTERNAL_VSYSCALL): Add 'long int' as return type to
40100         INTERNAL_VSYSCALL_NCS macro invocation.
40101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40103 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40105         [BZ #14496]
40106         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
40107         Fix application of SIMD FP exception mask.
40109         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
40110         mp_no from a power of two.
40111         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
40112         __mpexp_twomm1.  Use __pow_mp.
40114         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
40115         multiplication.
40117 2013-01-17  David S. Miller  <davem@davemloft.net>
40119         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40121 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
40123         [BZ #15023]
40124         * include/complex.h: Condition contents on [!_COMPLEX_H].
40125         (__kernel_casinhf): New prototype.
40126         (__kernel_casinh): Likewise.
40127         (__kernel_casinhl): Likewise.
40128         * math/Makefile (libm_calls): Add k_casinh.
40129         * math/k_casinh.c: New file.
40130         * math/k_casinhf.c: Likewise.
40131         * math/k_casinhl.c: Likewise.
40132         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
40133         finite nonzero arguments.
40134         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
40135         finite nonzero arguments.
40136         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
40137         finite nonzero arguments.
40138         * math/s_casinh.c: Do not include <float.h>.
40139         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
40140         * math/s_casinhf.c: Do not include <float.h>.
40141         (__casinhf): Move code for finite nonzero arguments to
40142         k_casinhf.c.
40143         * math/s_casinhl.c: Do not include <float.h>.
40144         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
40145         redefine.
40146         (__casinhl): Move code for finite nonzero arguments to
40147         k_casinhl.c.
40148         * math/libm-test.inc (cacos_test): Add more tests.
40149         * sysdeps/i386/fpu/libm-test-ulps: Update.
40150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40152 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
40154         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
40155         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
40156         [!HAVE_MREMAP]: Remove [defined linux] case.
40157         * malloc/arena.c: Do not include <malloc-sysdep.h>.
40159 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40161         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
40163 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
40165         * elf/elf.h (R_386_SIZE32): New relocation.
40166         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
40167         R_386_SIZE32.
40168         (elf_machine_rela): Likewise.
40169         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40170         R_X86_64_SIZE64 and R_X86_64_SIZE32.
40172 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
40174         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
40175         (FP_FAST_FMA): Do not define.
40176         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
40177         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
40178         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
40179         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
40180         !_SOFT_FLOAT]: Likewise.
40181         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
40182         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
40183         value.
40184         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
40185         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
40186         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
40187         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
40188         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
40189         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
40190         file.
40192 2013-01-16  Andreas Schwab  <schwab@suse.de>
40194         [BZ #14327]
40195         * include/stdlib.h (__mktemp): Add declaration.
40196         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
40197         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
40199 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40201         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
40202         definitions.
40203         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40204         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
40205         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
40206         definitions here.
40207         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
40208         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
40209         definitions.
40210         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
40211         and ONE.
40212         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
40213         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
40214         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
40215         definitions.
40216         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
40217         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
40218         definitions.
40219         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40221         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
40223 2013-01-15  David S. Miller  <davem@davemloft.net>
40225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40226         trunc{,f} to libm-sysdep_routes.
40227         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
40229         file.
40230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
40231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
40232         file.
40233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
40234         file.
40235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
40236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
40237         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
40238         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
40239         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
40240         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
40241         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
40242         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
40244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40245         nearbyint{,f} to libm-sysdep_routes.
40246         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
40248         New file.
40249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
40250         file.
40251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
40252         New file.
40253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
40254         file.
40255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
40256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
40257         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
40258         file.
40259         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
40260         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
40261         file.
40262         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
40263         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
40264         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
40266         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40267         libc_feholdexcept and libc_fesetenv.
40269 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
40271         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
40273 2013-01-14  David S. Miller  <davem@davemloft.net>
40275         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
40276         (SPARC_ASM_VIS2_IFUNC): Likewise.
40277         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
40278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
40279         use of 'siam' instruction.
40280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
40281         Likewise.
40282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
40283         Likewise.
40284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
40285         Likewise.
40286         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
40287         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
40288         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
40289         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
40290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
40291         file.
40292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
40293         file.
40294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
40295         file.
40296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
40297         file.
40298         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
40299         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
40300         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
40301         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
40302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
40303         new VIS2 routines.
40304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40307         Likewise.
40308         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40309         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40310         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40311         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
40313         routines to libm-sysdep_routines.
40314         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40317         fdim/fdimf to libm-sysdep_routines.
40318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
40319         file.
40320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
40321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
40322         file.
40323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
40324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
40325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
40326         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
40327         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
40328         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
40329         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
40331 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40333         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
40334         to optimize copies.
40336         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
40337         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40338         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40340         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
40341         local variable MPTWO.
40342         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40343         Likewise.
40345 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40347         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
40348         GLOB_NOESCAPE.
40350 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40352         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
40354 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40356         * manual/pattern.texi (glob_t): Document gl_flags.
40357         (glob64_t): Likewise.
40359 2013-01-11  David S. Miller  <davem@davemloft.net>
40361         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
40362         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
40363         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
40364         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
40365         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
40366         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
40367         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
40368         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
40369         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
40370         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
40371         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
40372         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
40373         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
40375         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40376         sparc V9 rather than using V8 code.
40377         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40378         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40380         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40381         Move to...
40382         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
40383         Here.
40385 2013-01-11  Roland McGrath  <roland@hack.frob.com>
40387         [BZ #14941]
40388         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
40389         not in the main loop.
40390         * configure: Regenerated.
40392 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
40394         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
40395         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
40396         to just #else.
40397         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
40398         [!__GLIBC_HAVE_LONG_LONG] case.
40399         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
40400         condition to just #else.
40401         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
40402         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
40403         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
40404         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
40405         unconditional.
40406         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
40407         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40408         #elif condition to just #else.
40409         * sysdeps/unix/sysv/linux/sys/sysmacros.h
40410         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
40411         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40412         #elif condition to just #else.
40414 2013-01-11  Steve Ellcey  <sellcey@mips.com>
40416         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
40417         (EF_MIPS_ARCH_64): Fix value.
40418         (EF_MIPS_ARCH_32R2): New.
40419         (EF_MIPS_ARCH_64R2): New.
40421 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
40423         * Makeconfig (+link-pie-before-libc): New.
40424         (+link-pie-after-libc): Likewise.
40425         (+link-pie-tests): Likewise.
40426         (+link-pie): Rewritten.
40427         (link-before-libc): Remove $(config-LDFLAGS).
40428         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
40429         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
40430         (config-LDFLAGS): Renamed to ...
40431         (rtld-LDFLAGS): This.
40432         (rtld-tests-LDFLAGS): New macro.
40433         (link-libc-rpath-link): Likewise.
40434         (link-libc-tests-rpath-link): Likewise.
40435         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
40436         (link-libc): Prepand $(link-libc-rpath-link).
40437         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
40438         (test-program-prefix): New macro.
40439         (test-via-rtld-prefix): Likewise.
40440         (test-program-cmd): Likewise.
40441         (host-test-program-cmd): Likewise.
40442         * Makefile ($(common-objpfx)testrun.sh): Replace
40443         $(run-program-prefix) with $(test-program-prefix).
40444         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
40445         $(rtld-LDFLAGS).
40446         ($(common-objpfx)shlib.lds): Likewise.
40447         (build-module-helper): Likewise.
40448         ($(common-objpfx)format.lds): Likewise.
40449         * Rules (binaries-pie-tests): New.
40450         (binaries-pie-notests): Likewise.
40451         (binaries-pie): Rewritten.
40452         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
40453         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
40454         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
40455         (make-test-out): Replace $(host-built-program-cmd) with
40456         $(host-test-program-cmd).
40457         * config.make.in (build-hardcoded-path-in-tests): New variable.
40458         * configure.in (--enable-hardcoded-path-in-tests): New configure
40459         option.
40460         (hardcoded_path_in_tests): New AC_SUBST.
40461         * configure: Regenerated.
40462         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
40463         $(built-program-cmd) with $(test-program-cmd).
40464         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
40465         (test_program_cmd): This.
40466         * elf/Makefile ($(objpfx)order.out): Run test with
40467         $(test-program-prefix).
40468         ($(objpfx)order2.out): Likewise.
40469         ($(objpfx)tst-initorder.out): Likewise.
40470         ($(objpfx)tst-initorder2.out): Likewise.
40471         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
40472         $(test-program-cmd).
40473         ($(objpfx)tst-array1-static.out): Likewise.
40474         ($(objpfx)tst-array2.out): Likewise.
40475         ($(objpfx)tst-array3.out): Likewise.
40476         ($(objpfx)tst-array4.out): Likewise.
40477         ($(objpfx)tst-array5.out): Likewise.
40478         ($(objpfx)tst-array5-static.out): Likewise.
40479         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
40480         $(test-program-cmd).
40481         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
40482         $(run-program-prefix) with $(test-program-prefix).
40483         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
40484         (test_program_prefix): This.
40485         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
40486         $(run-program-prefix) with $(test-program-prefix).
40487         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
40488         (test_program_prefix): This.
40489         * iconvdata/tst-tables.sh: Likewise.
40490         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
40491         $(run-program-prefix) with $(test-program-prefix).
40492         ($(objpfx)tst-translit.out): Likewise.
40493         ($(objpfx)tst-gettext2.out): Likewise.
40494         ($(objpfx)tst-gettext4.out): Likewise.
40495         ($(objpfx)tst-gettext6.out): Likewise.
40496         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
40497         (test_program_prefix): This.
40498         * intl/tst-gettext2.sh: Likewise.
40499         * intl/tst-gettext4.sh  Likewise.
40500         * intl/tst-gettext6.sh: Likewise.
40501         * intl/tst-translit.sh: Likewise.
40502         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
40503         with $(test-program-cmd).
40504         * libio/Makefile ($(objpfx)test-freopen.out): Replace
40505         $(run-program-prefix) with $(test-program-prefix).
40506         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
40507         (test_program_prefix): This.
40508         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
40509         $(run-program-prefix) with $(test-program-prefix).
40510         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
40511         (test_program_prefix): This.
40512         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
40513         * posix/Makefile ($(objpfx)globtest.out): Replace
40514         $(run-via-rtld-prefix) and $(test-wrapper) with
40515         $(test-program-prefix) and $(test-via-rtld-prefix).
40516         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
40517         $(test-program-prefix).
40518         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
40519         $(host-test-program-cmd).
40520         (tst-spawn-ARGS): Likewise.
40521         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
40522         $(test-program-prefix).
40523         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
40524         (test_via_rtld_prefix): This.
40525         (test_wrapper): Renamed to ...
40526         (test_program_prefix): This.
40527         (run_program_prefix): Replaced by test_program_prefix.
40528         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
40529         (test_program_prefix): This.
40530         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
40531         with $(host-test-program-cmd).
40532         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
40533         $(run-program-prefix) with $(test-program-prefix).
40534         ($(objpfx)tst-printf.out): Likewise.
40535         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
40536         $(test-program-cmd).
40537         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
40538         (test_program_prefix): This.
40539         * stdio-common/tst-unbputc.sh: Likewise.
40540         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
40541         $(run-program-prefix) with $(test-program-prefix).
40542         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
40543         (test_program_prefix): This.
40544         * string/Makefile ($(objpfx)tst-svc.out):  Replace
40545         $(built-program-cmd) with $(test-program-cmd).
40547 2013-01-11  Andreas Jaeger  <aj@suse.de>
40549         [BZ #15003]
40550         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
40551         value. Sync with Linux 3.7.
40553 2013-01-10  David S. Miller  <davem@davemloft.net>
40555         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
40556         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40557         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40559 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40561         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
40562         never set.
40563         * configure: Regenerated.
40565 2013-01-10  David S. Miller  <davem@davemloft.net>
40567         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40568         sparc V9 rather than using V8 code.
40569         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40570         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40572 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40574         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
40575         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
40576         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
40577         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
40578         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
40579         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
40580         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
40581         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
40582         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
40583         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
40584         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
40585         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
40586         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
40587         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
40588         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
40589         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
40590         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
40591         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
40592         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
40593         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
40594         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
40595         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
40596         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
40597         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
40598         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
40599         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
40600         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
40602 2013-01-10  David S. Miller  <davem@davemloft.net>
40604         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40606 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40608         * posix/Makefile (tests-static): New variable.
40609         (tests): Add $(tests-static).
40610         (tst-exec-static-ARGS): New variable.
40611         (tst-spawn-static-ARGS): Likewise.
40612         * posix/tst-exec-static.c: New file.
40613         * posix/tst-spawn-static.c: Likewise.
40614         * posix/tst-exec.c: Support run directly.
40615         * posix/tst-spawn.c: Likewise.
40617 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
40619         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
40620         long.
40621         * math/bits/mathcalls.h (llrint): Likewise.
40622         (llround): Likewise.
40623         * stdlib/stdlib.h (struct drand48_data): Likewise.
40624         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
40625         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
40626         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
40627         Likewise.
40628         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
40629         Likewise.
40630         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
40631         (elf_greg_t): Likewise.
40632         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
40633         (__jmp_buf): Likewise.
40634         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
40635         definitions.
40636         (llrint): Likewise, for all definitions.
40637         (llrintl): Likewise.
40639         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
40640         Remove [__GNUC__] condition.
40641         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
40642         condition to just [__USE_ISOC99].
40643         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
40645 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40647         [BZ #14200]
40648         * sysdeps/unix/sysv/linux/x86/bits/environments.h
40649         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
40650         defined.
40651         (_POSIX_V6_ILP32_OFF32): Likewise.
40652         (_XBS5_ILP32_OFF32): Likewise.
40653         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
40654         (__ILP32_OFFBIG_LDFLAGS): Likewise.
40656 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40658         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
40660         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
40661         doubles __mpexp_twomm1.  Adjust usage.
40662         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
40663         Remove.
40665 2013-01-10  Andreas Schwab  <schwab@suse.de>
40667         [BZ #14964]
40668         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
40669         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
40671 2013-01-09  David S. Miller  <davem@davemloft.net>
40673         [BZ #15003]
40674         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
40675         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
40676         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
40677         (TCP_FASTOPEN): Define.
40678         (tcp_repair_opt): New structure.
40679         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
40680         enum values.
40681         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
40682         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
40683         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
40684         (tcp_cookie_transactions): New structure.
40686 2013-01-09  Anton Blanchard  <anton@samba.org>
40688         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
40689         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
40690         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
40691         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
40693 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
40695         * include/features.h (__USE_ANSI): Remove.
40697 2013-01-09  Roland McGrath  <roland@hack.frob.com>
40699         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
40701         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
40703 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40705         * sysdeps/s390/fpu/libm-test-ulps: Update.
40707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40709         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40710         (__acr): Likewise.
40711         (__cpy): Likewise.
40712         (norm): Likewise.
40713         (denorm): Likewise.
40714         (__mp_dbl): Likewise.
40715         (__dbl_mp): Likewise.
40716         (add_magnitudes): Likewise.
40717         (sub_magnitudes): Likewise.
40718         (__add): Likewise.
40719         (__sub): Likewise.
40720         (__mul): Likewise.
40721         (__inv): Likewise.
40722         (__dvd): Likewise.
40723         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40724         (__acr): Likewise.
40725         (__cpy): Likewise.
40726         (norm): Likewise.
40727         (denorm): Likewise.
40728         (__mp_dbl): Likewise.
40729         (__dbl_mp): Likewise.
40730         (add_magnitudes): Likewise.
40731         (sub_magnitudes): Likewise.
40732         (__add): Likewise.
40733         (__sub): Likewise.
40734         (__mul): Likewise.
40735         (__inv): Likewise.
40736         (__dvd): Likewise.
40737         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40738         (__acr): Likewise.
40739         (__cpy): Likewise.
40740         (norm): Likewise.
40741         (denorm): Likewise.
40742         (__mp_dbl): Likewise.
40743         (__dbl_mp): Likewise.
40744         (add_magnitudes): Likewise.
40745         (sub_magnitudes): Likewise.
40746         (__add): Likewise.
40747         (__sub): Likewise.
40748         (__mul): Likewise.
40749         (__inv): Likewise.
40750         (__dvd): Likewise.
40752 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
40754         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40755         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40756         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40757         2 && __USE_EXTERN_INLINES]: Likewise.
40759 2013-01-08  Andreas Jaeger  <aj@suse.de>
40761         [BZ# 14985]
40762         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40763         Remove.
40764         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40765         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40767 2013-01-07  Anton Blanchard  <anton@samba.org>
40769         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40770         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40771         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40772         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40773         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40774         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40775         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40776         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40777         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40778         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40779         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40780         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40781         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40782         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40783         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40784         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40785         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40786         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40787         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40788         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40789         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40790         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40791         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40792         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40793         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40794         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40795         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40796         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40797         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40798         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40799         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40800         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40801         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40802         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40803         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40804         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40805         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40806         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40807         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40808         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40809         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40810         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40811         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40813 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40815         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40816         (__MALLOC_PMT): Likewise.
40817         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40818         [__GNUC__], only on [_LIBC].
40819         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40820         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40821         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40822         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40823         forward declaration.
40824         (realloc_hook_ini): Likewise.
40825         (memalign_hook_ini): Likewise.
40826         (__libc_memalign): Do not use __MALLOC_PMT in variable
40827         declaration.
40828         (__libc_valloc): Likewise.
40829         (__libc_pvalloc): Likewise.
40830         (__libc_calloc): Likewise.
40831         (__posix_memalign): Likewise.
40833         [BZ #14996]
40834         * math/s_casinh.c: Include <float.h>.
40835         (__casinh): Do not do computation with squaring and square root
40836         for large arguments.
40837         * math/s_casinhf.c: Include <float.h>.
40838         (__casinhf): Do not do computation with squaring and square root
40839         for large arguments.
40840         * math/s_casinhl.c: Include <float.h>.
40841         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40842         (__casinhl): Do not do computation with squaring and square root
40843         for large arguments.
40844         * math/libm-test.inc (casin_test): Add more tests.
40845         (casinh_test): Likewise.
40846         * sysdeps/i386/fpu/libm-test-ulps: Update.
40847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40849 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40851         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40852         (__x86_64_raw_data_cache_size): Likewise.
40853         (__x86_64_data_cache_size_half): Likewise.
40854         (__x86_64_raw_data_cache_size_half): Likewise.
40855         (__x86_64_shared_cache_size): Likewise.
40856         (__x86_64_raw_shared_cache_size): Likewise.
40857         (__x86_64_shared_cache_size_half): Likewise.
40858         (__x86_64_raw_shared_cache_size_half): Likewise.
40859         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40860         to ...
40861         (__x86_data_cache_size): This.
40862         (__x86_64_raw_data_cache_size): Renamed to ...
40863         (__x86_raw_data_cache_size): This.
40864         (__x86_64_data_cache_size_half): Renamed to ...
40865         (__x86_data_cache_size_half): This.
40866         (__x86_64_raw_data_cache_size_half): Renamed to ...
40867         (__x86_raw_data_cache_size_half): This.
40868         (__x86_64_shared_cache_size): Renamed to ...
40869         (__x86_shared_cache_size): This.
40870         (__x86_64_raw_shared_cache_size): Renamed to ...
40871         (__x86_raw_shared_cache_size): This.
40872         (__x86_64_shared_cache_size_half): Renamed to ...
40873         (__x86_shared_cache_size_half): This.
40874         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40875         (__x86_raw_shared_cache_size_half): This.
40876         * sysdeps/x86_64/memcpy.S: Updated.
40877         * sysdeps/x86_64/memset.S: Likewise.
40878         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40879         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40880         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40882 2013-01-04  David S. Miller  <davem@davemloft.net>
40884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40886 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40888         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40889         1 to avoid redefinition warning.
40890         (__USE_GNU): Don't define.
40891         (init_signaling_nan): Protoize.
40893         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40895 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40897         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40898         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40899         (__cpymn): Likewise.
40900         (norm): Remove commented code.
40901         (denorm): Likewise.
40902         (__mp_dbl): Likewise.
40903         (__inv): Likewise.
40904         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40905         (__cpymn): Likewise.
40906         (norm): Remove commented code.
40907         (denorm): Likewise.
40908         (__mp_dbl): Likewise.
40909         (__inv): Likewise.
40911         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40912         mp_no value for 1.0 and 2.0.
40913         (norm): Use RADIXI instead of radixi.d.
40914         (denorm): Likewise.
40915         (__mul): Use 0.0 instead of zero.d.
40916         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40917         mp_no value for 1.0 and 2.0.
40918         (norm): Use RADIXI instead of radixi.d.
40919         (denorm): Likewise.
40920         (__mul): Use 0.0 instead of zero.d.
40922 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40924         [BZ #14994]
40925         * math/s_casinh.c (__casinh): Reduce finite argument to first
40926         quadrant then set signs of results at the end.
40927         * math/s_casinhf.c (__casinhf): Likewise.
40928         * math/s_casinhl.c (__casinhl): Likewise.
40929         * math/libm-test.inc (casin_test): Add more tests.
40930         (casinh_test): Likewise.
40931         * sysdeps/i386/fpu/libm-test-ulps: Update.
40932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40934 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40936         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40938         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40940         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40941         declarations.
40942         (denorm): Likewise.
40943         (__mp_dbl): Likewise.
40944         (__inv): Likewise.
40946         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40947         and adjust the header comment.
40949         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40950         variable name from declaration.
40952 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40954         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40955         Initialize COMMON_CPUID_INDEX_7 element.
40956         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40957         (CPUID_RTM): Likewise.
40958         (HAS_RTM): Likewise.
40959         (COMMON_CPUID_INDEX_7): New enum.
40961 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40963         [BZ #14981]
40964         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40965         size is zero, record memory as freed.
40967 2013-01-03  Andreas Jaeger  <aj@suse.de>
40969         * po/ia.po: Add new Interlingua translation.
40971 2012-01-03  Allan McRae  <allan@archlinux.org>
40973         * locale/programs/localedef.c: Fix description of '--posix' flag.
40975 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40977         * NEWS: Update dates in second copyright notice.
40978         * README: Update copyright dates in example.
40979         * manual/libc.texinfo: Update copyright dates.
40980         * scripts/test-installation.pl: Update copyright date in --version
40981         output.
40983         * hurd/ctty-input.c: Fix copyright notice formatting.
40984         * hurd/ctty-output.c: Likewise.
40985         * hurd/dtable.c: Likewise.
40986         * hurd/hurd-raise.c: Likewise.
40987         * hurd/hurdprio.c: Likewise.
40988         * hurd/msgportdemux.c: Likewise.
40989         * misc/sys/file.h: Likewise.
40990         * misc/sys/ioctl.h: Likewise.
40991         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40992         * sysdeps/mach/hurd/chdir.c: Likewise.
40993         * sysdeps/mach/hurd/fchdir.c: Likewise.
40994         * sysdeps/mach/hurd/rename.c: Likewise.
40995         * sysdeps/mach/hurd/rmdir.c: Likewise.
40996         * sysdeps/mach/hurd/seekdir.c: Likewise.
40997         * sysdeps/mach/hurd/setsid.c: Likewise.
40998         * sysdeps/posix/wait3.c: Likewise.
41000         * All files with FSF copyright notices: Update copyright dates
41001         using scripts/update-copyrights.
41002         * intl/plural.c: Regenerated.
41003         * locale/programs/charmap-kw.h: Likewise.
41004         * locale/programs/locfile-kw.h: Likewise.
41006 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41008         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
41009         four values.
41011         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
41012         calculation loop and add branch prediction.
41014         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
41015         check access beyond bounds of m1np.
41017         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41018         MPTWO.
41019         (__inv): Remove local variable MPTWO to use the global
41020         constant.
41021         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
41022         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41023         variable MPTWO.
41024         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
41025         MP3HALFS static const.
41027 2013-01-01  David S. Miller  <davem@davemloft.net>
41029         * po/ca.po: Update from translation team.
41031 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
41033         * scripts/update-copyrights: New file.
41034         * Makeconfig: Reformat copyright notice.
41035         * ctype/ctype.h: Likewise.
41036         * debug/swprintf_chk.c: Likewise.
41037         * elf/dl-cache.c: Likewise.
41038         * elf/dl-debug.c: Likewise.
41039         * elf/dl-object.c: Likewise.
41040         * grp/initgroups.c: Likewise.
41041         * hurd/Makefile: Likewise.
41042         * hurd/hurd/signal.h: Likewise.
41043         * hurd/hurdfault.c: Likewise.
41044         * hurd/hurdioctl.c: Likewise.
41045         * hurd/hurdlookup.c: Likewise.
41046         * hurd/intr-msg.c: Likewise.
41047         * iconv/gconv_open.c: Likewise.
41048         * libio/swprintf.c: Likewise.
41049         * locale/lc-ctype.c: Likewise.
41050         * locale/nl_langinfo.c: Likewise.
41051         * mach/Machrules: Likewise.
41052         * mach/Makefile: Likewise.
41053         * malloc/obstack.h: Likewise.
41054         * manual/Makefile: Likewise.
41055         * manual/tsort.awk: Likewise.
41056         * misc/bits/stab.def: Likewise.
41057         * nis/nis_print_group_entry.c: Likewise.
41058         * nis/nis_table.c: Likewise.
41059         * nis/nss_compat/compat-pwd.c: Likewise.
41060         * nis/nss_compat/compat-spwd.c: Likewise.
41061         * po/Makefile: Likewise.
41062         * posix/fnmatch.c: Likewise.
41063         * posix/regex.h: Likewise.
41064         * resolv/Makefile: Likewise.
41065         * resolv/nss_dns/dns-network.c: Likewise.
41066         * resolv/res_hconf.c: Likewise.
41067         * scripts/gen-sorted.awk: Likewise.
41068         * soft-fp/soft-fp.h: Likewise.
41069         * stdio-common/printf.h: Likewise.
41070         * stdlib/monetary.h: Likewise.
41071         * stdlib/random.c: Likewise.
41072         * stdlib/random_r.c: Likewise.
41073         * sysdeps/generic/Makefile: Likewise.
41074         * sysdeps/gnu/Makefile: Likewise.
41075         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41076         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41077         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41078         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41079         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41080         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41081         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41082         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41083         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41084         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41085         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41086         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41087         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41088         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41089         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
41090         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41091         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41092         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41093         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41094         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41095         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41096         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41097         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41098         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41099         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
41100         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41101         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41102         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
41103         * sysdeps/mach/hurd/errnos.awk: Likewise.
41104         * sysdeps/mach/hurd/fork.c: Likewise.
41105         * sysdeps/mach/hurd/getcwd.c: Likewise.
41106         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
41107         * sysdeps/mach/hurd/mmap.c: Likewise.
41108         * sysdeps/mach/hurd/utimes.c: Likewise.
41109         * sysdeps/mach/hurd/xmknod.c: Likewise.
41110         * sysdeps/posix/profil.c: Likewise.
41111         * sysdeps/posix/readdir_r.c: Likewise.
41112         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41113         * sysdeps/powerpc/bits/setjmp.h: Likewise.
41114         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
41115         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41116         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41117         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41118         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41119         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41120         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41121         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41122         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41123         * sysdeps/pthread/lio_listio.c: Likewise.
41124         * sysdeps/sparc/dl-procinfo.h: Likewise.
41125         * sysdeps/unix/i386/sysdep.S: Likewise.
41126         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
41127         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
41128         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
41129         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
41130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41131         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
41132         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
41133         * sysdeps/unix/sysv/linux/speed.c: Likewise.
41134         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41135         * sysdeps/wordsize-32/divdi3.c: Likewise.
41136         * time/sys/time.h: Likewise.
41137         * wcsmbs/Makefile: Likewise.
41139 2013-01-01  David S. Miller  <davem@davemloft.net>
41141         * po/fr.po: Update from translation team.
41143         * catgets/gencat.c: Update copyright year.
41144         * csu/version.c: Likewise.
41145         * debug/catchsegv.sh: Likewise.
41146         * debug/pcprofiledump.c: Likewise.
41147         * debug/xtrace.sh: Likewise.
41148         * elf/ldconfig.c: Likewise.
41149         * elf/ldd.bash.in: Likewise.
41150         * elf/pldd.c: Likewise.
41151         * elf/sotruss.ksh: Likewise.
41152         * elf/sprof.c: Likewise.
41153         * iconv/iconv_prog.c: Likewise.
41154         * iconv/iconvconfig.c: Likewise.
41155         * locale/programs/locale.c: Likewise.
41156         * locale/programs/localedef.c: Likewise.
41157         * login/programs/pt_chown.c: Likewise.
41158         * malloc/memusage.sh: Likewise.
41159         * malloc/memusagestat.c: Likewise.
41160         * malloc/mtrace.pl: Likewise.
41161         * nscd/nscd.c: Likewise.
41162         * nss/getent.c: Likewise.
41163         * nss/makedb.c: Likewise.
41164         * posix/getconf.c: Likewise.
41166 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41168         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
41169         numbers.
41171 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
41173         * math/bits/mathcalls.h (modf): Use __nonnull.
41175 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41177         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
41178         (split): Use macro CN instead of the bare value.
41179         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
41180         could be used.
41181         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
41182         instead of the bare value.
41183         (power1): Likewise.
41185 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41187         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
41188         __ATAN_TWOM.
41189         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41191         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
41192         their values.
41193         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41194         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41195         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
41196         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41198 2012-12-28  Andreas Jaeger  <aj@suse.de>
41200         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
41201         values are from Linux 3.7.
41203         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
41204         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
41206 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41208         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
41209         TRUE case.
41211         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
41212         (norm): Likewise.
41213         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
41214         variables with preprocessor constants.
41215         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41216         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41217         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41219 2012-12-27  Bruno Haible  <bruno@clisp.org>
41221         [BZ #14317]
41222         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
41223         only if needed.
41225 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41227         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
41228         and use variable directly.
41229         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
41231         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41232         MPONE.
41233         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
41234         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41235         variable MPONE.
41236         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41237         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41238         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
41239         include directive.  Remove local variable MPONE.
41240         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
41241         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
41242         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41244 2012-12-25  David S. Miller  <davem@davemloft.net>
41246         * version.h (RELEASE): Set to "development".
41247         (VERSION): Set to "2.17.90".
41248         * NEWS: Add 2.18 section.
41250 2012-12-21  David S. Miller  <davem@davemloft.net>
41252         * po/hr.po: Update from translation team.
41254 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41256         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
41258 2012-12-19  Steve Ellcey  <sellcey@mips.com>
41260         * NEWS:  Mention new memcpy for MIPS.
41262 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41264         * manual/contrib.texi (Contributors): Spelling correction.
41266 2012-12-15  David S. Miller  <davem@davemloft.net>
41268         * po/ru.po: Update from translation team.
41270 2012-12-13  David S. Miller  <davem@davemloft.net>
41272         * NEWS: Mention IFUNC testsuite enhancements.
41274         * po/pl.po: Update from translation team.
41275         * po/bg.po: Likewise.
41277         * manual/contrib.texi (Contributors): Update entries for Hongjiu
41278         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
41280 2012-12-11  David S. Miller  <davem@davemloft.net>
41282         * po/sv.po: Update from translation team.
41284         * po/vi.po: Update from translation team.
41286         * po/cs.po: Update from translation team.
41288         * po/de.po: Update from translation team.
41289         * po/eo.po: Likewise.
41290         * po/nl.po: Likewise.
41292 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41294         [BZ #14246]
41295         * manual/argp.texi (Argp Helper Functions): Move node to follow
41296         Argp Parsing State.
41298         [BZ #14872]
41299         * manual/conf.texi (Limits on File System Capacity): Mention if
41300         terminating null is included in the max size.
41302 2012-12-10  Andreas Jaeger  <aj@suse.de>
41304         * po/cs.po: Update from translation team.
41306 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41308         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
41309         void pointer and cast to uintptr_t.
41310         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
41311         path.
41312         * sysdeps/s390/s390-64/memcpy.S: Likewise.
41313         * sysdeps/s390/s390-64/memset.S: Likewise.
41315 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
41317         [BZ #14833]
41318         * menual/message.texi (Message Translation): Fix typos.
41319         (Helper programs for gettext): Likewise.
41321 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
41323         [BZ #14898]
41324         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
41325         Change to -1.
41327 2012-12-07  David S. Miller  <davem@davemloft.net>
41329         * po/libc.pot: Update.
41331 2012-12-07  Richard Henderson  <rth@redhat.com>
41333         [BZ #10114]
41334         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
41335         normal/normal case to before the switch.
41336         (_FP_DIV): Likewise.
41338 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
41339             Mike Frysinger  <vapier@gentoo.org>
41341         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
41342         check for __NR_fadvise64_64.
41344 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
41346         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
41347         0, not just to plain "0" as a statement.
41348         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
41349         with cw.
41351 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
41353         * NEWS: Use sourceware.org in Bugzilla URL.
41355 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41358         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41360         * stdio-common/tst-put-error.c (do_test): Add newline to the
41361         padded test to ensure flush.
41363 2012-12-05  Jeff Law  <law@redhat.com>
41365         * sunrpc/etc.rpc (fedfs_admin): Add entry.
41367 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
41369         * README: Don't refer to ports add-on as distributed separately.
41370         Mention AArch64 in list of systems supported in the ports add-on.
41372         * LICENSES: Add more non-FSF copyright and license notices.
41374         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
41375         ((unused)).
41377         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
41379         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
41380         10000 as width of padded output.
41382 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41384         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
41386         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
41387         variable LX with __attribute__ ((unused)).
41388         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41389         Likewise.
41390         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41391         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41392         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
41393         with __attribute__ ((unused)).
41395 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
41397         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
41399 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41401         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
41402         (CFLAGS-nldbl-acos.c): New variable.
41403         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
41404         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
41405         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
41406         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
41407         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
41408         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
41409         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
41410         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
41411         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
41412         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
41413         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
41414         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
41415         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
41416         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
41417         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
41418         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
41419         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
41420         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
41421         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
41422         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
41423         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
41424         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
41425         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
41426         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
41427         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
41428         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
41429         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
41430         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
41431         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
41432         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
41433         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
41434         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
41435         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
41436         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
41437         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
41438         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
41439         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
41440         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
41441         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
41442         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
41443         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
41444         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
41445         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
41446         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
41447         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
41448         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
41449         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
41450         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
41451         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
41452         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
41453         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
41454         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
41455         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
41456         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
41457         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
41458         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
41459         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
41460         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
41461         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
41462         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
41463         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
41464         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
41465         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
41466         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
41467         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
41468         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
41469         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
41470         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
41471         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
41472         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
41473         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
41474         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
41475         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
41476         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
41477         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
41478         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
41479         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
41480         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
41481         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
41482         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
41483         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
41484         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
41485         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
41486         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
41487         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
41488         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
41489         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
41490         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
41491         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
41492         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
41493         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
41494         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
41495         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
41496         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
41497         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
41498         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
41499         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
41501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41502         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41504         [BZ #14914]
41505         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
41506         whole low double instead of just low 47 bits when splitting values
41507         into two parts.
41509 2012-12-03  Allan McRae  <allan@archlinux.org>
41511         * manual/stdio.texi (Predefined Printf Handlers): Remove
41512         @hsep and @vsep usage.
41514 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
41516         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
41517         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
41519 2012-12-03  Jeff Law  <law@redhat.com>
41521         * time/sys/time.h (settimeofday): Do not mark TV argument
41522         as __nonnull.
41524 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
41526         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
41527         when currently writing and seek to current position when not.
41528         * libio/Makefile (tests): Remove bug-fclose1.
41529         * libio/bug-fclose1.c: Delete.
41531 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
41533         * manual/arith.texi (feenableexcept): Fix typo.
41534         (fedisableexcept): Likewise.
41536 2012-11-30  Roland McGrath  <roland@hack.frob.com>
41538         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
41539         second, differently-typed declaration, rather than a cast.
41541 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41543         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
41544         * include/rpc/svc.h: ... here.
41546 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
41548         [BZ #13013]
41549         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
41550         depending n and resplen2 to catch cases where answer
41551         equals answerp2.
41553 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
41555         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
41556         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
41558 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
41560         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
41562 2012-11-29  Roland McGrath  <roland@hack.frob.com>
41564         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
41566 2012-11-28  Jeff Law  <law@redhat.com>
41568         [BZ #13761]
41569         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
41570         dataset_temporary.  Track alloca usage into alloca_used.
41571         If dataset is large allocate and release it via malloc/free.
41573 2012-06-04  Florian Weimer  <fweimer@redhat.com>
41575         [BZ #14197]
41576         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
41578 2012-11-28  David S. Miller  <davem@davemloft.net>
41580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41582 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41584         [BZ #14803]
41585         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
41586         of pi/2 rounded to nearest to 64 bits.
41587         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
41588         nearest to 64 bits.
41589         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
41590         bits.
41592 2012-11-28  Jeff Law <law@redhat.com>
41593             Martin Osvald <mosvald@redhat.com>
41595         [BZ #14889]
41596         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
41597         * sunrpc/svc.c: Include time.h.
41598         (__svc_accept_failed): New function.
41599         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
41600         any reason other than EINTR, call __svc_accept_failed.
41601         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
41602         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
41604 2012-11-28  Andreas Schwab  <schwab@suse.de>
41606         * scripts/abilist.awk: Also handle indirect functions in .opd
41607         section.
41609 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41611         [BZ #13881]
41612         * sysdeps/x86/fpu/powl_helper.c: New file.
41613         * sysdeps/x86/fpu/Makefile: Likewise.
41614         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
41615         (p3): New object.
41616         (__ieee754_powl): Use __powl_helper for finite arguments except
41617         integer exponents below 8.
41618         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
41619         (p3): New object.
41620         (__ieee754_powl): Use __powl_helper for finite arguments except
41621         integer exponents below 8.
41622         * math/libm-test.inc (pow_test): Add more tests and enable some
41623         previously disabled tests.
41624         * sysdeps/i386/fpu/libm-test-ulps: Update.
41625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41627 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41628             Carlos O'Donell  <carlos_odonell@mentor.com>
41630         * nss/makedb.c (is_prime): Assert that input is odd and greater
41631         than 4.  Note that fact in a comment too.
41632         (next_prime): Add 4 to input.
41634 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41636         [BZ #11741]
41637         * libio/Makefile (tests): Add test case tst-fwrite-error.
41638         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
41639         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
41640         * libio/tst-fwrite-error.c: New test case.
41642 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
41644         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
41645         before casting to void *.
41646         * include/libc-internal.h (__pointer_type): New macro.
41647         (__integer_if_pointer_type_sub): Likewise.
41648         (__integer_if_pointer_type): Likewise.
41649         (cast_to_integer): Likewise.
41650         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
41651         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
41652         before casting to atomic64_t.
41653         (atomic_exchange_acq): Likewise.
41654         (__arch_exchange_and_add_body): Likewise.
41655         (__arch_add_body): Likewise.
41656         (atomic_add_negative): Likewise.
41657         (atomic_add_zero): Likewise.
41659 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
41661         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
41662         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
41663         (add_fdes): Likewise.
41664         (linear_search_fdes): Likewise.
41665         (binary_search_unencoded_fdes): Likewise.
41667 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
41669         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
41671 2012-11-24  Adam Conrad  <adconrad@0c3.net>
41673         * configure.in: Autodetect C++ header directories.
41674         * configure: Regenerated.
41676 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
41678         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
41680 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
41682         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41684 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
41686         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
41687         LDBL_MANT_DIG == 106]: Disable some tests.
41688         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41689         Likewise.
41690         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41691         Likewise.
41693         [BZ #14871]
41694         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
41695         input for small inputs.  Return +/- pi/2 for large inputs.
41696         * math/libm-test.inc (atan_test): Add more tests.
41698         * sysdeps/generic/unwind-dw2-fde-glibc.c
41699         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
41700         __attribute__ ((unused)).
41702         [BZ #14645]
41703         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
41704         x * y if x and y are nonzero and z is zero.
41706         [BZ #14811]
41707         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
41708         nonzero exponents with absolute value below 0x1p-117 to +/-
41709         0x1p-117.
41711         [BZ #14869]
41712         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
41713         up arguments below 2**-450, not just those below 2**-500.
41714         * math/libm-test.inc (hypot_test): Add another test.
41716         [BZ #14868]
41717         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
41718         Return a+b for ratio over 2**120, not 2**60.
41719         * math/libm-test.inc (hypot_test): Add another test.
41721         * math/libm-test.inc (clog_test): Use
41722         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
41723         (clog10_test): Likewise.
41725         [BZ #6778]
41726         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41728 2012-11-22  Andreas Schwab  <schwab@suse.de>
41730         * sysdeps/i386/fpu/libm-test-ulps: Update.
41732 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
41734         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41735         printf output with newline.
41737 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
41739         [BZ #14865]
41740         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41741         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41742         -z nodlopen, -z initfirst and -z execstack support.
41743         * configure: Regenerated.
41745         * elf/elf.h (DF_1_NODIRECT): New macro.
41746         (DF_1_IGNMULDEF): Likewise.
41747         (DF_1_NOKSYMS): Likewise.
41748         (DF_1_NOHDR): Likewise.
41749         (DF_1_EDITED): Likewise.
41750         (DF_1_NORELOC): Likewise.
41751         (DF_1_SYMINTPOSE): Likewise.
41752         (DF_1_GLOBAUDIT): Likewise.
41753         (DF_1_SINGLETON): Likewise.
41754         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41755         DT_1_SUPPORTED_MASK bits.
41756         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41758 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
41760         * sysdeps/unix/make-syscalls.sh: Document prefixes.
41762 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
41764         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41765         macro.
41767         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41768         (sendmmsg): Move declarations...
41769         * socket/sys/socket.h: ... here.
41770         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41771         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41772         include it from...
41773         * socket/recvmmsg.c: ... this new file.
41774         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41775         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41776         definition of __sendmmsg hidden.
41777         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41778         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41779         Move ENOSYS stub into and include it from...
41780         * socket/sendmmsg.c: ... this new file.
41781         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41782         (sysdep_routines): Move recvmmsg and sendmmsg...
41783         * socket/Makefile (routines): ... here.
41784         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41785         (GLIBC_PRIVATE): Add __sendmmsg.
41786         * include/sys/socket.h (__sendmmsg): Add declarations.
41787         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41788         sendmmsg.
41790 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41792         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41793         variable I1 with __attribute__ ((unused)).
41794         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41796 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41798         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41799         DUMMY variables with __attribute__ ((unused)).
41801         * bits/byteswap.h: Include <bits/types.h>.
41802         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41804 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41806         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41807         string_t.  Do not manually set errno.
41808         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41809         length with __strnlen.  Make sure to both set errno and return it on
41810         failure.
41812 2012-11-19  David S. Miller  <davem@davemloft.net>
41814         With help from Joseph Myers.
41815         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41816         very large arguments properly.
41817         * math/libm-test.inc (atan_test): New tests.
41818         (atan2_test): New tests.
41819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41820         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41822 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41824         [BZ #14856]
41825         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41826         Define to 3.
41828         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41829         [POSIX] (EADDRNOTAVAIL): Likewise.
41830         [POSIX] (EAFNOSUPPORT): Likewise.
41831         [POSIX] (EALREADY): Likewise.
41832         [POSIX] (ECONNABORTED): Likewise.
41833         [POSIX] (ECONNREFUSED): Likewise.
41834         [POSIX] (ECONNRESET): Likewise.
41835         [POSIX] (EDESTADDRREQ): Likewise.
41836         [POSIX] (EDQUOT): Likewise.
41837         [POSIX] (EHOSTUNREACH): Likewise.
41838         [POSIX] (EIDRM): Likewise.
41839         [POSIX] (EISCONN): Likewise.
41840         [POSIX] (ELOOP): Likewise.
41841         [POSIX] (EMULTIHOP): Likewise.
41842         [POSIX] (ENETDOWN): Likewise.
41843         [POSIX] (ENETUNREACH): Likewise.
41844         [POSIX] (ENOBUFS): Likewise.
41845         [POSIX] (ENODATA): Likewise.
41846         [POSIX] (ENOLINK): Likewise.
41847         [POSIX] (ENOMSG): Likewise.
41848         [POSIX] (ENOPROTOOPT): Likewise.
41849         [POSIX] (ENOSR): Likewise.
41850         [POSIX] (ENOSTR): Likewise.
41851         [POSIX] (ENOTCONN): Likewise.
41852         [POSIX] (ENOTSOCK): Likewise.
41853         [POSIX] (EOPNOTSUPP): Likewise.
41854         [POSIX] (EOVERFLOW): Likewise.
41855         [POSIX] (EPROTO): Likewise.
41856         [POSIX] (EPROTONOSUPPORT): Likewise.
41857         [POSIX] (EPROTOTYPE): Likewise.
41858         [POSIX] (ESTALE): Likewise.
41859         [POSIX] (ETIME): Likewise.
41860         [POSIX] (ETXTBSY): Likewise.
41861         [POSIX] (EWOULDBLOCK): Likewise.
41862         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41863         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41864         [POSIX] (SEEK_CUR): Likewise.
41865         [POSIX] (SEEK_END): Likewise.
41866         [POSIX || UNIX98] (mode_t): Do not require.
41867         [POSIX] (off_t): Likewise.
41868         [POSIX] (pid_t): Likewise.
41869         [POSIX] (sys/stat.h): Do not allow header.
41870         [POSIX] (unistd.h): Likewise.
41871         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41872         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41873         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41874         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41875         require.
41876         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41877         sigevent): Specify elements.
41878         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41879         entry.
41880         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41881         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41883         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41884         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41885         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41886         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41887         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41888         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41889         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41890         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41891         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41892         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41893         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41894         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41895         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41896         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41897         Likewise.
41898         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41899         Likewise.
41900         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41901         Likewise.
41902         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41903         Likewise.
41904         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41905         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41906         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41907         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41908         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41909         Specify lower bound on value.
41910         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41911         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41912         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41913         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41914         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41915         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41916         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41917         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41918         value.
41919         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41920         as optional.
41921         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41922         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41923         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41924         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41925         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41926         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41927         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41928         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41929         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41930         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41931         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41932         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41933         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41934         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41935         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41936         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41937         entry.
41938         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41939         optional.
41940         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41941         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41942         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41943         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41944         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41945         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41946         Likewise.
41947         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41948         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41949         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41950         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41951         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41952         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41953         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41954         as optional.
41955         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41956         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41957         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41958         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41959         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41960         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41961         specify as optional.
41962         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41963         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41964         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41965         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41966         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41967         [XPG3] (NL_LANGMAX): Likewise.
41968         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41969         [POSIX || XPG3] (NL_NMAX): Likewise.
41970         [POSIX || XPG3] (NL_SETMAX): Likewise.
41971         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41972         [XPG3] (NZERO): Likewise.
41973         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41974         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41975         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41976         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41977         (REG_ERANGE): Expect.
41978         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41979         optional-constant.
41980         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41981         Use (void) in prototype.
41982         [POSIX] (*_t): Allow.
41983         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41984         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41985         (WRDE_BADVAL): Expect.
41987         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41988         expect.
41989         [XPG3 || XPG4] (O_RSYNC): Likewise.
41990         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41991         Likewise.
41992         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41993         [XPG3 || XPG4] (sigqueue): Likewise.
41994         [XPG3 || XPG4] (sigtimedwait): Likewise.
41995         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41996         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41997         [XPG3 || XPG4] (vsnprintf): Likewise.
41998         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41999         Likewise.
42000         [XPG3 || XPG4] (blksize_t): Likewise.
42001         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
42002         Likewise.
42003         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
42004         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42005         [XPG3 || XPG4] (struct itimerspec): Likewise.
42006         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
42007         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
42008         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
42009         [XPG3 || XPG4] (clockid_t): Likewise.
42010         [XPG3 || XPG4] (timer_t): Likewise.
42011         [XPG3 || XPG4] (clock_getres): Likewise.
42012         [XPG3 || XPG4] (clock_gettime): Likewise.
42013         [XPG3 || XPG4] (clock_settime): Likewise.
42014         [XPG3 || XPG4] (nanosleep): Likewise.
42015         [XPG3 || XPG4] (timer_create): Likewise.
42016         [XPG3 || XPG4] (timer_delete): Likewise.
42017         [XPG3 || XPG4] (timer_gettime): Likewise.
42018         [XPG3 || XPG4] (timer_getoverrun): Likewise.
42019         [XPG3 || XPG4] (timer_settime): Likewise.
42020         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
42021         [XPG3 || XPG4] (getlogin_r): Likewise.
42022         [XPG3 || XPG4] (pread): Likewise.
42023         [XPG3 || XPG4] (pthread_atfork): Likewise.
42024         [XPG3 || XPG4] (pwrite): Likewise.
42026         [BZ #14835]
42027         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
42028         <bits/siginfo.h>.
42030 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
42032         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
42033         finalizing MALLSTREAM.
42035         * sysdeps/mach/hurd/syncfs.c: New file.
42037 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42039         [BZ #14719]
42040         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
42041         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
42042         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
42043         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
42044         (_nss_dns_gethostbyname4_r): Likewise.
42045         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
42046         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
42048 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
42050         [BZ #13763]
42051         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
42053 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
42055         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
42056         * elf/cache.c (print_entry): Print ",AArch64" for
42057         FLAG_AARCH64_LIB64
42059         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
42060         * elf/cache.c (print_entry): Print ",hard-float" for
42061         FLAG_ARM_LIBHF.
42063 2012-11-18  David S. Miller  <davem@davemloft.net>
42065         With help from Joseph Myers.
42066         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
42067         cutoff to 2**-13.
42068         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
42069         cutoff to 2**-25.
42070         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
42071         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
42072         small.
42073         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
42074         * math/libm-test.inc (y0_test): New tests.
42075         (y1_test): New tests.
42076         * sysdeps/i386/fpu/libm-test-ulps: Update.
42077         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42080 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
42082         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
42083         64-bit targets.
42084         * configure: Regenerated.
42086 2012-11-17  David S. Miller  <davem@davemloft.net>
42088         [BZ #14811]
42089         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
42090         nonzero exponents with absolute value below 0x1p-128 to +/-
42091         0x1p-128.
42093 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
42095         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
42097         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
42099         * posix/getconf-speclist.c: New file.
42100         * posix/posix-envs.def: Likewise.
42101         * posix/confstr.c (START_ENV_GROUP): New macro.
42102         (END_ENV_GROUP): Likewise.
42103         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42104         (KNOWN_PRESENT_ENV_STRING): Likewise.
42105         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42106         (UNKNOWN_ENVIRONMENT): Likewise.
42107         (confstr): Include posix-envs.def instead of handling
42108         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
42109         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
42110         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
42111         (END_ENV_GROUP): Likewise.
42112         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42113         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42114         (UNKNOWN_ENVIRONMENT): Likewise.
42115         (__sysconf): Include posix-envs.def instead of handling associated
42116         cases directly here.
42117         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
42118         preprocessing getconf-speclist.c rather than running getconf or
42119         generating empty file.
42121 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
42123         * scripts/check-local-headers.sh: Ignore 'mach' headers.
42125 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
42127         [BZ #14672]
42128         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
42130 2012-11-16  David S. Miller  <davem@davemloft.net>
42132         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
42133         smaller than LDBL_EPSILON/2.0L, just return xm1.
42135 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
42137         * elf/tst-array1.c (init): Set constructor priority to 1000.
42138         (fini): Set destructor priority to 1000.
42139         * elf/tst-array2dep.c: Likewise.
42141 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42143         [BZ #11741]
42144         * libio/fileops.c (_IO_new_file_write): Correctly return error.
42145         (_IO_new_file_xsputn): Also return EOF if none of the input
42146         data was written when overflow failed.
42147         * libio/iopadn.c (_IO_padn): Likewise.
42148         * libio/iowpadn.c (_IO_wpadn): Likewise.
42149         * stdio-common/tst-put-error.c: Add copyright notice.
42150         (do_test): Add case for printing padded string.
42151         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
42152         _IO_padn returned error.
42153         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
42154         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
42155         return EOF.
42157 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42159         * libio/libioP.h: Add comment note that the references to C++
42160         bits are now obsolete.
42162 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42164         * math/libm-test.inc (check_complex): Use asprintf.
42166 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
42168         * debug/pcprofiledump.c (print_version): Update copyright year.
42169         * malloc/memusagestat.c (print_version): Likewise.
42171 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
42173         [BZ #14831]
42174         * elf/Makefile (tests): Add tst-audit8.
42175         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
42176         ($(objpfx)tst-audit8.out): New target.
42177         (tst-audit8-ENV): New variable.
42178         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
42179         audit if l_reloc_result is NULL.
42180         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
42181         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
42182         * elf/tst-audit8.c: New file.
42184 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42186         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
42187         * misc/Makefile (CFLAGS-select.c): Define.
42188         * posix/Makefile (CFLAGS-pause.c): Define.
42190 2012-11-13  David S. Miller  <davem@davemloft.net>
42192         * crypt/Makefile: Move test targets after toplevel Rules
42193         inclusion.  Grab any necessary sysdep routines when linking.
42194         * crypt/md5.c (md5_process_block): Remove define, we will always
42195         name it __md5_process_block.
42196         (md5_finish_ctx): Update md5_process_block call.
42197         (md5_stream): Likewise.
42198         (md5_process_bytes): Likewise.
42199         (md5_process_block): Rename to __md5_process_block and move to ...
42200         * crypt/md5-block.c: ... here.
42201         * crypt/sha256.c (sha256_process_block): Move to ...
42202         * crypt/sha256-block.c: ... here.
42203         * crypt/sha512.c (sha512_process_block): Move to ...
42204         * crypt/sha512-block.c: ... here.
42205         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
42206         path.
42207         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
42208         * sysdeps/sparc/sparc64/multiarch/Makefile
42209         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
42210         crypt subdir.
42211         (localedef-aux): Add md5 crypto assembler when in locale subdir.
42212         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
42213         multiarch changes.
42214         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
42215         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
42216         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
42217         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
42218         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
42219         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
42220         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
42221         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
42222         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
42223         file.
42224         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
42225         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
42226         file.
42227         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
42229 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
42231         * timezone/tzselect.ksh: Update from tzcode git revision
42232         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
42233         * timezone/zdump.c: Likewise.
42234         * timezone/zic.c: Likewise.
42235         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
42236         in TZVERSION setting, not $(PKGVERSION).
42237         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
42238         REPORT_BUGS_TO settings.
42240         [BZ #14838]
42241         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
42242         macro.
42244 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42246         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
42247         detection to immediately after _FP_ROUND().
42248         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
42249         bits are 0.
42251 2012-11-11  David S. Miller  <davem@davemloft.net>
42253         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
42254         inttypes.h
42255         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
42256         __close rather than their public counterparts.
42258 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
42260         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
42261         file.
42262         [UNIX98] (sem_timedwait): Do not expect.
42263         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
42264         [XPG4 || UNIX98] (sockatmark): Do not expect.
42265         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
42266         (clock_getcpuclockid): Do not expect.
42267         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
42268         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
42269         Do not expect.
42270         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
42271         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
42272         [UNIX98] (vwscanf): Likewise.
42273         [UNIX98] (vswscanf): Likewise.
42275 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
42277         * timezone/version.h: Remove file.
42278         * timezone/README: Do not refer to version.h.
42279         * timezone/Makefile ($(objpfx)zic.o): New dependency on
42280         $(objpfx)version.h.
42281         ($(objpfx)zdump.o): Likewise.
42282         ($(objpfx)version.h): New target.
42284         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
42285         2012i.
42286         * timezone/README: Don't mention modification to tzselect.ksh.
42287         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
42288         work on unmodified tzselect.ksh.  Substitute version numbers in
42289         tzselect.ksh.
42291         * Makefile (format-me): Remove.
42292         (INSTALL): Adjust indentation.  Use commands directly instead of
42293         using $(format-me).
42295         * aclocal.m4 (ACX_PKGVERSION): New macro.
42296         (ACX_BUGURL): Likewise.
42297         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
42298         (PKGVERSION): New AC_DEFINE_UNQUOTED.
42299         (REPORT_BUGS_TO): Likewise.
42300         * configure: Regenerated.
42301         * config.h.in (PKGVERSION): New macro.
42302         (REPORT_BUGS_TO): Likewise.
42303         * config.make.in (PKGVERSION): New variable.
42304         (PKGVERSION_TEXI): Likewise.
42305         (REPORT_BUGS_TO): Likewise.
42306         (REPORT_BUGS_TEXI): Likewise.
42307         * Makefile (format-me): Use -I$(common-objpfx)manual.
42308         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
42309         ($(common-objpfx)manual/%): New target.
42310         (manual/%): Remove target.
42311         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
42312         (print_version): Use PKGVERSION.
42313         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
42314         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
42315         and REPORT_BUGS_TO.
42316         ($(objpfx)xtrace): Likewise.
42317         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
42318         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
42319         (print_version): Use PKGVERSION.
42320         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
42321         (do_version): Use PKGVERSION.
42322         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
42323         REPORT_BUGS_TO.
42324         (common-ldd-rewrite): Likewise.
42325         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
42326         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
42327         (print_version): Use PKGVERSION.
42328         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
42329         * elf/pldd.c (argp_program_bug_address): Remove variable.
42330         (more_help): New function.
42331         (argp): Use more_help.
42332         (print_version): Use PKGVERSION.
42333         * elf/sln.c (main): Use PKGVERSION.
42334         (usage): Use REPORT_BUGS_TO.
42335         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
42336         (top level): Use PKGVERSION.
42337         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
42338         (print_version): Use PKGVERSION.
42339         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
42340         (print_version): Use PKGVERSION.
42341         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
42342         (print_version): Use PKGVERSION.
42343         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
42344         (print_version): Use PKGVERSION.
42345         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
42346         (print_version): Use PKGVERSION.
42347         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
42348         (print_version): Use PKGVERSION.
42349         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
42350         and BUGURL.
42351         ($(objpfx)memusage): Likewise.
42352         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
42353         (do_version): Use PKGVERSION.
42354         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
42355         (print_version): Use PKGVERSION.
42356         * malloc/mtrace.pl ($PACKAGE): Remove variable.
42357         ($PKGVERSION): New variable.
42358         ($REPORT_BUGS_TO): Likewise.
42359         (usage): Use $REPORT_BUGS_TO.
42360         (top level): Use $PKGVERSION.
42361         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
42362         ($(objpfx)pkgvers.texi): New rule.
42363         ($(objpfx)stamp-pkgvers): Likewise.
42364         * manual/install.texi: Include pkgvers.texi.
42365         (--with-pkgversion): Document new configure option.
42366         (--with-bugurl): Likewise.
42367         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
42368         than necessarily for this particular distribution.  Use
42369         REPORT_BUGS_TO for where to report bugs.
42370         * INSTALL: Regenerated.
42371         * manual/libc.texinfo: Include pkgvers.texi.
42372         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
42373         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
42374         (print_version): Use PKGVERSION.
42375         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
42376         (print_version): Use PKGVERSION.
42377         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
42378         (print_version): Use PKGVERSION.
42379         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
42380         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
42381         macro.
42382         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
42383         (print_version): Use PKGVERSION.
42384         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
42385         (print_version): Use PKGVERSION.
42386         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
42387         and PKGVERSION.
42389         * timezone/checktab.awk: Update from tzcode 2012i.
42390         * timezone/ialloc.c: Likewise.
42391         * timezone/private.h: Likewise.
42392         * timezone/scheck.c: Likewise.
42393         * timezone/tzfile.h: Likewise.
42394         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
42395         (TZVERSION): Hardcode tzcode version number.
42396         * timezone/zdump.c: Update from tzcode 2012i.
42397         * timezone/zic.c: Likewise.
42398         * timezone/version.h: New file.
42399         * timezone/README: Describe version.h.  Update upstream location.
42401         [BZ #14824]
42402         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
42403         (mktemp): Enable declaration.
42404         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
42405         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
42406         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
42407         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
42408         Likewise.
42409         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
42410         Likewise.
42411         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
42412         Likewise.
42413         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
42414         Likewise.
42415         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
42416         Likewise.
42417         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
42418         Likewise.
42420         [BZ #14821]
42421         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
42422         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
42423         for copies of such integer values.
42424         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42425         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42427 2012-11-09  Andreas Jaeger  <aj@suse.de>
42429         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
42430         definitions and declarations that are provided by
42431         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42433 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42435         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
42436         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
42437         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
42438         definition.
42440 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42442         * elf/elf.h: Update comment before AArch64 relocations.
42444 2012-11-07  David S. Miller  <davem@davemloft.net>
42446         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
42447         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42448         (__start_context): Declare.
42449         (__makecontext_ret): Delete.
42450         (__makecontext): Hook up __start_context instead of
42451         __makecontext_ret.
42452         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
42453         (sysdep_routines): Add __start_context when in stdlib.
42455 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42457         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
42458         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
42459         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
42460         hardcoded "nm".
42461         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
42462         (READELF): New variable.  Use it instead of hardcoded "readelf".
42464 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
42466         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
42467         * sysdeps/x86/Makefile: Here.
42468         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
42469         * sysdeps/x86/tst-xmmymm.sh: This.
42471 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42473         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
42474         expectations.
42475         [UNIX98] (pthread_barrier_t): Do not expect.
42476         [UNIX98] (pthread_barrierattr_t): Likewise.
42477         [UNIX98] (pthread_spinlock_t): Likewise.
42478         [UNIX98] (pthread_barrier_destroy): Likewise.
42479         [UNIX98] (pthread_barrier_init): Likewise.
42480         [UNIX98] (pthread_barrier_wait): Likewise.
42481         [UNIX98] (pthread_barrierattr_destroy): Likewise.
42482         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
42483         [UNIX98] (pthread_barrierattr_init): Likewise.
42484         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
42485         [UNIX98] (pthread_getcpuclockid): Likewise.
42486         [UNIX98] (pthread_mutex_timedlock): Likewise.
42487         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
42488         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
42489         [UNIX98] (pthread_sigmask): Likewise.
42490         [UNIX98] (pthread_spin_destroy): Likewise.
42491         [UNIX98] (pthread_spin_init): Likewise.
42492         [UNIX98] (pthread_spin_lock): Likewise.
42493         [UNIX98] (pthread_spin_trylock): Likewise.
42494         [UNIX98] (pthread_spin_unlock): Likewise.
42495         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
42496         Do not expect.
42497         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
42498         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
42499         [XPG3 || XPG4] (pthread_cond_t): Likewise.
42500         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
42501         [XPG3 || XPG4] (pthread_key_t): Likewise.
42502         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
42503         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
42504         [XPG3 || XPG4] (pthread_once_t): Likewise.
42505         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
42506         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
42507         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
42508         [XPG3 || XPG4] (pthread_t): Likewise.
42510         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
42511         not expect.
42512         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
42514         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
42515         Change function return type to int.
42517         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
42518         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
42519         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
42520         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
42521         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
42522         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
42523         [!POSIX] (posix_madvise): Likewise.
42524         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
42525         && !UNIX98].
42526         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
42527         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
42528         (mode_t): Likewise.
42529         (posix_mem_offset): Likewise.
42530         (posix_typed_mem_get_info): Likewise.
42531         (posix_typed_mem_open): Likewise.
42533         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
42534         Change condition to [XOPEN2K8].
42536         * conform/conformtest.pl: Preprocess allow-header data with -x c
42537         instead of from stdin.
42538         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
42539         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
42540         [C99-based standards] (cerfc): Likewise.
42541         [C99-based standards] (cexp2): Likewise.
42542         [C99-based standards] (cexpm1): Likewise.
42543         [C99-based standards] (clog10): Likewise.
42544         [C99-based standards] (clog1p): Likewise.
42545         [C99-based standards] (clog2): Likewise.
42546         [C99-based standards] (clgamma): Likewise.
42547         [C99-based standards] (ctgamma): Likewise.
42548         [C99-based standards] (cerff): Likewise.
42549         [C99-based standards] (cerfcf): Likewise.
42550         [C99-based standards] (cexp2f): Likewise.
42551         [C99-based standards] (cexpm1f): Likewise.
42552         [C99-based standards] (clog10f): Likewise.
42553         [C99-based standards] (clog1pf): Likewise.
42554         [C99-based standards] (clog2f): Likewise.
42555         [C99-based standards] (clgammaf): Likewise.
42556         [C99-based standards] (ctgammaf): Likewise.
42557         [C99-based standards] (cerfl): Likewise.
42558         [C99-based standards] (cerfcl): Likewise.
42559         [C99-based standards] (cexp2l): Likewise.
42560         [C99-based standards] (cexpm1l): Likewise.
42561         [C99-based standards] (clog10l): Likewise.
42562         [C99-based standards] (clog1pl): Likewise.
42563         [C99-based standards] (clog2l): Likewise.
42564         [C99-based standards] (clgammal): Likewise.
42565         [C99-based standards] (ctgammal): Likewise.
42566         * conform/data/inttypes.h-data [C99-based standards]: Include
42567         stdint.h-data.  Remove all expectations for stdint.h contents.
42568         [C99-based standards] (PRI*): Do not allow.
42569         [C99-based standards] (SCN*): Likewise.
42570         [C99-based standards] (*_t): Likewise.
42571         [C99-based-standards] (PRId8): Expect macro.
42572         [C99-based-standards] (PRIi8): Likewise.
42573         [C99-based-standards] (PRIo8): Likewise.
42574         [C99-based-standards] (PRIu8): Likewise.
42575         [C99-based-standards] (PRIx8): Likewise.
42576         [C99-based-standards] (PRIX8): Likewise.
42577         [C99-based-standards] (SCNd8): Likewise.
42578         [C99-based-standards] (SCNi8): Likewise.
42579         [C99-based-standards] (SCNo8): Likewise.
42580         [C99-based-standards] (SCNu8): Likewise.
42581         [C99-based-standards] (SCNx8): Likewise.
42582         [C99-based-standards] (PRIdLEAST8): Likewise.
42583         [C99-based-standards] (PRIiLEAST8): Likewise.
42584         [C99-based-standards] (PRIoLEAST8): Likewise.
42585         [C99-based-standards] (PRIuLEAST8): Likewise.
42586         [C99-based-standards] (PRIxLEAST8): Likewise.
42587         [C99-based-standards] (PRIXLEAST8): Likewise.
42588         [C99-based-standards] (SCNdLEAST8): Likewise.
42589         [C99-based-standards] (SCNiLEAST8): Likewise.
42590         [C99-based-standards] (SCNoLEAST8): Likewise.
42591         [C99-based-standards] (SCNuLEAST8): Likewise.
42592         [C99-based-standards] (SCNxLEAST8): Likewise.
42593         [C99-based-standards] (PRIdFAST8): Likewise.
42594         [C99-based-standards] (PRIiFAST8): Likewise.
42595         [C99-based-standards] (PRIoFAST8): Likewise.
42596         [C99-based-standards] (PRIuFAST8): Likewise.
42597         [C99-based-standards] (PRIxFAST8): Likewise.
42598         [C99-based-standards] (PRIXFAST8): Likewise.
42599         [C99-based-standards] (SCNdFAST8): Likewise.
42600         [C99-based-standards] (SCNiFAST8): Likewise.
42601         [C99-based-standards] (SCNoFAST8): Likewise.
42602         [C99-based-standards] (SCNuFAST8): Likewise.
42603         [C99-based-standards] (SCNxFAST8): Likewise.
42604         [C99-based-standards] (PRId16): Likewise.
42605         [C99-based-standards] (PRIi16): Likewise.
42606         [C99-based-standards] (PRIo16): Likewise.
42607         [C99-based-standards] (PRIu16): Likewise.
42608         [C99-based-standards] (PRIx16): Likewise.
42609         [C99-based-standards] (PRIX16): Likewise.
42610         [C99-based-standards] (SCNd16): Likewise.
42611         [C99-based-standards] (SCNi16): Likewise.
42612         [C99-based-standards] (SCNo16): Likewise.
42613         [C99-based-standards] (SCNu16): Likewise.
42614         [C99-based-standards] (SCNx16): Likewise.
42615         [C99-based-standards] (PRIdLEAST16): Likewise.
42616         [C99-based-standards] (PRIiLEAST16): Likewise.
42617         [C99-based-standards] (PRIoLEAST16): Likewise.
42618         [C99-based-standards] (PRIuLEAST16): Likewise.
42619         [C99-based-standards] (PRIxLEAST16): Likewise.
42620         [C99-based-standards] (PRIXLEAST16): Likewise.
42621         [C99-based-standards] (SCNdLEAST16): Likewise.
42622         [C99-based-standards] (SCNiLEAST16): Likewise.
42623         [C99-based-standards] (SCNoLEAST16): Likewise.
42624         [C99-based-standards] (SCNuLEAST16): Likewise.
42625         [C99-based-standards] (SCNxLEAST16): Likewise.
42626         [C99-based-standards] (PRIdFAST16): Likewise.
42627         [C99-based-standards] (PRIiFAST16): Likewise.
42628         [C99-based-standards] (PRIoFAST16): Likewise.
42629         [C99-based-standards] (PRIuFAST16): Likewise.
42630         [C99-based-standards] (PRIxFAST16): Likewise.
42631         [C99-based-standards] (PRIXFAST16): Likewise.
42632         [C99-based-standards] (SCNdFAST16): Likewise.
42633         [C99-based-standards] (SCNiFAST16): Likewise.
42634         [C99-based-standards] (SCNoFAST16): Likewise.
42635         [C99-based-standards] (SCNuFAST16): Likewise.
42636         [C99-based-standards] (SCNxFAST16): Likewise.
42637         [C99-based-standards] (PRId32): Likewise.
42638         [C99-based-standards] (PRIi32): Likewise.
42639         [C99-based-standards] (PRIo32): Likewise.
42640         [C99-based-standards] (PRIu32): Likewise.
42641         [C99-based-standards] (PRIx32): Likewise.
42642         [C99-based-standards] (PRIX32): Likewise.
42643         [C99-based-standards] (SCNd32): Likewise.
42644         [C99-based-standards] (SCNi32): Likewise.
42645         [C99-based-standards] (SCNo32): Likewise.
42646         [C99-based-standards] (SCNu32): Likewise.
42647         [C99-based-standards] (SCNx32): Likewise.
42648         [C99-based-standards] (PRIdLEAST32): Likewise.
42649         [C99-based-standards] (PRIiLEAST32): Likewise.
42650         [C99-based-standards] (PRIoLEAST32): Likewise.
42651         [C99-based-standards] (PRIuLEAST32): Likewise.
42652         [C99-based-standards] (PRIxLEAST32): Likewise.
42653         [C99-based-standards] (PRIXLEAST32): Likewise.
42654         [C99-based-standards] (SCNdLEAST32): Likewise.
42655         [C99-based-standards] (SCNiLEAST32): Likewise.
42656         [C99-based-standards] (SCNoLEAST32): Likewise.
42657         [C99-based-standards] (SCNuLEAST32): Likewise.
42658         [C99-based-standards] (SCNxLEAST32): Likewise.
42659         [C99-based-standards] (PRIdFAST32): Likewise.
42660         [C99-based-standards] (PRIiFAST32): Likewise.
42661         [C99-based-standards] (PRIoFAST32): Likewise.
42662         [C99-based-standards] (PRIuFAST32): Likewise.
42663         [C99-based-standards] (PRIxFAST32): Likewise.
42664         [C99-based-standards] (PRIXFAST32): Likewise.
42665         [C99-based-standards] (SCNdFAST32): Likewise.
42666         [C99-based-standards] (SCNiFAST32): Likewise.
42667         [C99-based-standards] (SCNoFAST32): Likewise.
42668         [C99-based-standards] (SCNuFAST32): Likewise.
42669         [C99-based-standards] (SCNxFAST32): Likewise.
42670         [C99-based-standards] (PRId64): Likewise.
42671         [C99-based-standards] (PRIi64): Likewise.
42672         [C99-based-standards] (PRIo64): Likewise.
42673         [C99-based-standards] (PRIu64): Likewise.
42674         [C99-based-standards] (PRIx64): Likewise.
42675         [C99-based-standards] (PRIX64): Likewise.
42676         [C99-based-standards] (SCNd64): Likewise.
42677         [C99-based-standards] (SCNi64): Likewise.
42678         [C99-based-standards] (SCNo64): Likewise.
42679         [C99-based-standards] (SCNu64): Likewise.
42680         [C99-based-standards] (SCNx64): Likewise.
42681         [C99-based-standards] (PRIdLEAST64): Likewise.
42682         [C99-based-standards] (PRIiLEAST64): Likewise.
42683         [C99-based-standards] (PRIoLEAST64): Likewise.
42684         [C99-based-standards] (PRIuLEAST64): Likewise.
42685         [C99-based-standards] (PRIxLEAST64): Likewise.
42686         [C99-based-standards] (PRIXLEAST64): Likewise.
42687         [C99-based-standards] (SCNdLEAST64): Likewise.
42688         [C99-based-standards] (SCNiLEAST64): Likewise.
42689         [C99-based-standards] (SCNoLEAST64): Likewise.
42690         [C99-based-standards] (SCNuLEAST64): Likewise.
42691         [C99-based-standards] (SCNxLEAST64): Likewise.
42692         [C99-based-standards] (PRIdFAST64): Likewise.
42693         [C99-based-standards] (PRIiFAST64): Likewise.
42694         [C99-based-standards] (PRIoFAST64): Likewise.
42695         [C99-based-standards] (PRIuFAST64): Likewise.
42696         [C99-based-standards] (PRIxFAST64): Likewise.
42697         [C99-based-standards] (PRIXFAST64): Likewise.
42698         [C99-based-standards] (SCNdFAST64): Likewise.
42699         [C99-based-standards] (SCNiFAST64): Likewise.
42700         [C99-based-standards] (SCNoFAST64): Likewise.
42701         [C99-based-standards] (SCNuFAST64): Likewise.
42702         [C99-based-standards] (SCNxFAST64): Likewise.
42703         [C99-based-standards] (PRIdMAX): Likewise.
42704         [C99-based-standards] (PRIiMAX): Likewise.
42705         [C99-based-standards] (PRIoMAX): Likewise.
42706         [C99-based-standards] (PRIuMAX): Likewise.
42707         [C99-based-standards] (PRIxMAX): Likewise.
42708         [C99-based-standards] (PRIXMAX): Likewise.
42709         [C99-based-standards] (SCNdMAX): Likewise.
42710         [C99-based-standards] (SCNiMAX): Likewise.
42711         [C99-based-standards] (SCNoMAX): Likewise.
42712         [C99-based-standards] (SCNuMAX): Likewise.
42713         [C99-based-standards] (SCNxMAX): Likewise.
42714         [C99-based-standards] (PRIdPTR): Likewise.
42715         [C99-based-standards] (PRIiPTR): Likewise.
42716         [C99-based-standards] (PRIoPTR): Likewise.
42717         [C99-based-standards] (PRIuPTR): Likewise.
42718         [C99-based-standards] (PRIxPTR): Likewise.
42719         [C99-based-standards] (PRIXPTR): Likewise.
42720         [C99-based-standards] (SCNdPTR): Likewise.
42721         [C99-based-standards] (SCNiPTR): Likewise.
42722         [C99-based-standards] (SCNoPTR): Likewise.
42723         [C99-based-standards] (SCNuPTR): Likewise.
42724         [C99-based-standards] (SCNxPTR): Likewise.
42725         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42726         allow.
42727         * conform/data/stdint.h-data: Update comments to clarify
42728         requirements.
42729         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
42730         type.
42731         [C99-based standards] (INT8_MAX): Likewise.
42732         [C99-based standards] (INT16_MIN): Likewise.
42733         [C99-based standards] (INT16_MAX): Likewise.
42734         [C99-based standards] (INT32_MIN): Likewise.
42735         [C99-based standards] (INT32_MAX): Likewise.
42736         [C99-based standards] (INT64_MIN): Likewise.
42737         [C99-based standards] (INT64_MAX): Likewise.
42738         [C99-based standards] (UINT8_MAX): Likewise.
42739         [C99-based standards] (UINT16_MAX): Likewise.
42740         [C99-based standards] (UINT32_MAX): Likewise.
42741         [C99-based standards] (UINT64_MAX): Likewise.
42742         [C99-based standards] (INT_LEAST8_MIN): Likewise.
42743         [C99-based standards] (INT_LEAST8_MAX): Likewise.
42744         [C99-based standards] (INT_LEAST16_MIN): Likewise.
42745         [C99-based standards] (INT_LEAST16_MAX): Likewise.
42746         [C99-based standards] (INT_LEAST32_MIN): Likewise.
42747         [C99-based standards] (INT_LEAST32_MAX): Likewise.
42748         [C99-based standards] (INT_LEAST64_MIN): Likewise.
42749         [C99-based standards] (INT_LEAST64_MAX): Likewise.
42750         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42751         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42752         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42753         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42754         [C99-based standards] (INT_FAST8_MIN): Likewise.
42755         [C99-based standards] (INT_FAST8_MAX): Likewise.
42756         [C99-based standards] (INT_FAST16_MIN): Likewise.
42757         [C99-based standards] (INT_FAST16_MAX): Likewise.
42758         [C99-based standards] (INT_FAST32_MIN): Likewise.
42759         [C99-based standards] (INT_FAST32_MAX): Likewise.
42760         [C99-based standards] (INT_FAST64_MIN): Likewise.
42761         [C99-based standards] (INT_FAST64_MAX): Likewise.
42762         [C99-based standards] (UINT_FAST8_MAX): Likewise.
42763         [C99-based standards] (UINT_FAST16_MAX): Likewise.
42764         [C99-based standards] (UINT_FAST32_MAX): Likewise.
42765         [C99-based standards] (UINT_FAST64_MAX): Likewise.
42766         [C99-based standards] (INTPTR_MIN): Likewise.
42767         [C99-based standards] (INTPTR_MAX): Likewise.
42768         [C99-based standards] (UINTPTR_MAX): Likewise.
42769         [C99-based standards] (INTMAX_MIN): Likewise.
42770         [C99-based standards] (INTMAX_MAX): Likewise.
42771         [C99-based standards] (UINTMAX_MAX): Likewise.
42772         [C99-based standards] (PTRDIFF_MIN): Likewise.
42773         [C99-based standards] (PTRDIFF_MAX): Likewise.
42774         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42775         [C99-based standards] (SIZE_MAX): Likewise.
42776         [C99-based standards] (WCHAR_MAX): Likewise.
42777         [C99-based standards] (WINT_MAX): Likewise.
42778         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42779         constraint on value.
42780         [C99-based standards] (WCHAR_MIN): Likewise.
42781         [C99-based standards] (WINT_MIN): Likewise.
42782         [C99-based standards] (*_t): Allow.
42783         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42784         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42785         Include math.h-data and complex.h-data.  Remove all expectations
42786         of math.h and complex.h contents.
42787         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42788         at end of line.
42789         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42790         (struct tm): Expect tag.
42791         [C99-based-standards] (wcstof): Expect function.
42792         [C99-based-standards] (wcstold): Likewise.
42793         [C99-based-standards] (wcstoll): Likewise.
42794         [C99-based-standards] (wcstoull): Likewise.
42795         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42796         macro-int-constant.  Specify type.
42797         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42798         constraint on value.
42799         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42800         Specify type.
42801         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42802         Specify value.
42803         [ISO C standards]: Do not allow headers.
42804         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42805         wcs[abcdefghijklmnopqrstuvwxyz]*.
42806         [ISO C standards] (*_t): Do not allow.
42807         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42808         Expect function.
42809         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42810         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42811         Specify type.
42812         [ISO C standards]: Do not allow headers.
42813         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42814         is[abcdefghijklmnopqrstuvwxyz]*.
42815         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42816         to[abcdefghijklmnopqrstuvwxyz]*.
42817         [ISO C standards] (*_t): Do not allow.
42818         * conform/data/stdalign.h-data: New file.
42819         * conform/data/stdbool.h-data: Likewise.
42820         * conform/data/stdnoreturn.h-data: Likewise.
42822 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42824         [BZ #14815]
42825         * manual/filesys.texi (Directory Entries): Typo fix.
42826         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42828 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42830         * elf/elf.h (EM_AARCH64): New macro.
42831         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42832         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42833         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42834         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42835         (R_AARCH64_TLSDESC): Likewise.
42836         (NT_ARM_TLS): Likewise.
42837         (NT_ARM_HW_BREAK): Likewise.
42838         (NT_ARM_HW_WATCH): Likewise.
42840 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42842         [BZ #14811]
42843         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42844         (__ieee754_powl): Saturate nonzero exponents with absolute value
42845         below 0x1p-79 to +/- 0x1p-79.
42846         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42847         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42848         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42849         nonzero exponents with absolute value below 0x1p-32 to +/-
42850         0x1p-32.
42851         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42852         (__ieee754_powl): Saturate nonzero exponents with absolute value
42853         below 0x1p-79 to +/- 0x1p-79.
42854         * math/libm-test.inc (pow_test): Add more tests.
42856 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42858         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42859         _dl_s390_cap_flags with kernel. Increase string length.
42860         (_dl_s390_platforms): Add z196 and zEC12.
42862 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42864         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42865         Change XOPEN21K to XOPEN2K.
42867 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42869         * string/memmove.c: Use memcpy when possible.
42871 2012-11-06  Andreas Jaeger  <aj@suse.de>
42873         * po/eo.po: Update from translation team.
42875 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42877         [BZ #14793]
42878         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42879         exponent and small x and y exponents, scale x or y up.  Increase
42880         by 2 the exponent used in scaling up.
42881         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42882         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42883         * math/libm-test.inc (fma_test): Add more tests.
42884         (fma_test_towardzero): Likewise.
42885         (fma_test_downward): Likewise.
42886         (fma_test_upward): Likewise.
42888 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42890         [BZ #14805]
42891         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42892         fenv_t *.
42894         [BZ #14801]
42895         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42896         namespace for names of struct fields.
42897         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42898         fenv_t fields.
42899         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42900         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42902 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42904         [BZ #3665]
42905         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42907 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42909         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42910         PTR_DEMANGLE.
42912         [BZ #5246]
42913         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42914         PTR_DEMANGLE.
42916 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42918         [BZ #14797]
42919         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42920         definitely overflow as x * y not x * y + z.
42921         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42922         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42923         * math/libm-test.inc (fma_test): Add more tests.
42924         (fma_test_towardzero): Likewise.
42925         (fma_test_downward): Likewise.
42926         (fma_test_upward): Likewise.
42928 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42930         [BZ #157]
42932         * include/stub-tag.h: Remove file.
42933         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42934         '#include' of it.
42935         * manual/maint.texi (Porting): Don't reference it.
42936         * Makerules ($(objpfx)stubs): Likewise.
42937         * dirent/closedir.c: Don't include <stub-tag.h>.
42938         * dirent/dirfd.c: Likewise.
42939         * dirent/fdopendir.c: Likewise.
42940         * dirent/getdents.c: Likewise.
42941         * dirent/getdents64.c: Likewise.
42942         * dirent/opendir.c: Likewise.
42943         * dirent/readdir.c: Likewise.
42944         * dirent/readdir64.c: Likewise.
42945         * dirent/readdir64_r.c: Likewise.
42946         * dirent/readdir_r.c: Likewise.
42947         * dirent/rewinddir.c: Likewise.
42948         * dirent/seekdir.c: Likewise.
42949         * dirent/telldir.c: Likewise.
42950         * gmon/profil.c: Likewise.
42951         * grp/setgroups.c: Likewise.
42952         * inet/if_index.c: Likewise.
42953         * io/access.c: Likewise.
42954         * io/chdir.c: Likewise.
42955         * io/chmod.c: Likewise.
42956         * io/chown.c: Likewise.
42957         * io/close.c: Likewise.
42958         * io/dup.c: Likewise.
42959         * io/dup2.c: Likewise.
42960         * io/dup3.c: Likewise.
42961         * io/euidaccess.c: Likewise.
42962         * io/faccessat.c: Likewise.
42963         * io/fchdir.c: Likewise.
42964         * io/fchmod.c: Likewise.
42965         * io/fchmodat.c: Likewise.
42966         * io/fchown.c: Likewise.
42967         * io/fchownat.c: Likewise.
42968         * io/fcntl.c: Likewise.
42969         * io/flock.c: Likewise.
42970         * io/fstatfs.c: Likewise.
42971         * io/fstatfs64.c: Likewise.
42972         * io/fstatvfs.c: Likewise.
42973         * io/fstatvfs64.c: Likewise.
42974         * io/futimens.c: Likewise.
42975         * io/fxstat.c: Likewise.
42976         * io/fxstat64.c: Likewise.
42977         * io/fxstatat.c: Likewise.
42978         * io/fxstatat64.c: Likewise.
42979         * io/getcwd.c: Likewise.
42980         * io/isatty.c: Likewise.
42981         * io/lchmod.c: Likewise.
42982         * io/lchown.c: Likewise.
42983         * io/link.c: Likewise.
42984         * io/linkat.c: Likewise.
42985         * io/lseek.c: Likewise.
42986         * io/lseek64.c: Likewise.
42987         * io/lxstat64.c: Likewise.
42988         * io/mkdir.c: Likewise.
42989         * io/mkdirat.c: Likewise.
42990         * io/mkfifo.c: Likewise.
42991         * io/mkfifoat.c: Likewise.
42992         * io/open.c: Likewise.
42993         * io/open64.c: Likewise.
42994         * io/openat.c: Likewise.
42995         * io/openat64.c: Likewise.
42996         * io/pipe.c: Likewise.
42997         * io/pipe2.c: Likewise.
42998         * io/poll.c: Likewise.
42999         * io/posix_fadvise.c: Likewise.
43000         * io/posix_fadvise64.c: Likewise.
43001         * io/posix_fallocate.c: Likewise.
43002         * io/posix_fallocate64.c: Likewise.
43003         * io/read.c: Likewise.
43004         * io/readlink.c: Likewise.
43005         * io/readlinkat.c: Likewise.
43006         * io/rmdir.c: Likewise.
43007         * io/sendfile.c: Likewise.
43008         * io/sendfile64.c: Likewise.
43009         * io/statfs.c: Likewise.
43010         * io/statfs64.c: Likewise.
43011         * io/statvfs.c: Likewise.
43012         * io/statvfs64.c: Likewise.
43013         * io/symlink.c: Likewise.
43014         * io/symlinkat.c: Likewise.
43015         * io/ttyname.c: Likewise.
43016         * io/ttyname_r.c: Likewise.
43017         * io/umask.c: Likewise.
43018         * io/unlink.c: Likewise.
43019         * io/unlinkat.c: Likewise.
43020         * io/utime.c: Likewise.
43021         * io/utimensat.c: Likewise.
43022         * io/write.c: Likewise.
43023         * io/xmknod.c: Likewise.
43024         * io/xmknodat.c: Likewise.
43025         * io/xstat.c: Likewise.
43026         * io/xstat64.c: Likewise.
43027         * login/getpt.c: Likewise.
43028         * login/grantpt.c: Likewise.
43029         * login/unlockpt.c: Likewise.
43030         * math/e_acoshl.c: Likewise.
43031         * math/e_acosl.c: Likewise.
43032         * math/e_asinl.c: Likewise.
43033         * math/e_atan2l.c: Likewise.
43034         * math/e_atanhl.c: Likewise.
43035         * math/e_coshl.c: Likewise.
43036         * math/e_expl.c: Likewise.
43037         * math/e_fmodl.c: Likewise.
43038         * math/e_gammal_r.c: Likewise.
43039         * math/e_hypotl.c: Likewise.
43040         * math/e_j0l.c: Likewise.
43041         * math/e_j1l.c: Likewise.
43042         * math/e_jnl.c: Likewise.
43043         * math/e_lgammal_r.c: Likewise.
43044         * math/e_log10l.c: Likewise.
43045         * math/e_log2l.c: Likewise.
43046         * math/e_logl.c: Likewise.
43047         * math/e_powl.c: Likewise.
43048         * math/e_rem_pio2l.c: Likewise.
43049         * math/e_sinhl.c: Likewise.
43050         * math/e_sqrtl.c: Likewise.
43051         * math/fclrexcpt.c: Likewise.
43052         * math/fedisblxcpt.c: Likewise.
43053         * math/feenablxcpt.c: Likewise.
43054         * math/fegetenv.c: Likewise.
43055         * math/fegetexcept.c: Likewise.
43056         * math/fegetround.c: Likewise.
43057         * math/feholdexcpt.c: Likewise.
43058         * math/fesetenv.c: Likewise.
43059         * math/fesetround.c: Likewise.
43060         * math/feupdateenv.c: Likewise.
43061         * math/fgetexcptflg.c: Likewise.
43062         * math/fraiseexcpt.c: Likewise.
43063         * math/fsetexcptflg.c: Likewise.
43064         * math/ftestexcept.c: Likewise.
43065         * math/k_cosl.c: Likewise.
43066         * math/k_rem_pio2l.c: Likewise.
43067         * math/k_sinl.c: Likewise.
43068         * math/k_tanl.c: Likewise.
43069         * math/s_asinhl.c: Likewise.
43070         * math/s_atanl.c: Likewise.
43071         * math/s_cbrtl.c: Likewise.
43072         * math/s_erfl.c: Likewise.
43073         * math/s_expm1l.c: Likewise.
43074         * math/s_log1pl.c: Likewise.
43075         * math/s_tanhl.c: Likewise.
43076         * misc/acct.c: Likewise.
43077         * misc/brk.c: Likewise.
43078         * misc/chflags.c: Likewise.
43079         * misc/chroot.c: Likewise.
43080         * misc/fchflags.c: Likewise.
43081         * misc/fgetxattr.c: Likewise.
43082         * misc/flistxattr.c: Likewise.
43083         * misc/fremovexattr.c: Likewise.
43084         * misc/fsetxattr.c: Likewise.
43085         * misc/fsync.c: Likewise.
43086         * misc/ftruncate.c: Likewise.
43087         * misc/futimes.c: Likewise.
43088         * misc/futimesat.c: Likewise.
43089         * misc/getdomain.c: Likewise.
43090         * misc/getdtsz.c: Likewise.
43091         * misc/gethostid.c: Likewise.
43092         * misc/gethostname.c: Likewise.
43093         * misc/getloadavg.c: Likewise.
43094         * misc/getpagesize.c: Likewise.
43095         * misc/getsysstats.c: Likewise.
43096         * misc/getxattr.c: Likewise.
43097         * misc/gtty.c: Likewise.
43098         * misc/ioctl.c: Likewise.
43099         * misc/lgetxattr.c: Likewise.
43100         * misc/listxattr.c: Likewise.
43101         * misc/llistxattr.c: Likewise.
43102         * misc/lremovexattr.c: Likewise.
43103         * misc/lsetxattr.c: Likewise.
43104         * misc/lutimes.c: Likewise.
43105         * misc/madvise.c: Likewise.
43106         * misc/mincore.c: Likewise.
43107         * misc/mlock.c: Likewise.
43108         * misc/mlockall.c: Likewise.
43109         * misc/mmap.c: Likewise.
43110         * misc/mprotect.c: Likewise.
43111         * misc/msync.c: Likewise.
43112         * misc/munlock.c: Likewise.
43113         * misc/munlockall.c: Likewise.
43114         * misc/munmap.c: Likewise.
43115         * misc/preadv.c: Likewise.
43116         * misc/preadv64.c: Likewise.
43117         * misc/ptrace.c: Likewise.
43118         * misc/pwritev.c: Likewise.
43119         * misc/pwritev64.c: Likewise.
43120         * misc/readv.c: Likewise.
43121         * misc/reboot.c: Likewise.
43122         * misc/remap_file_pages.c: Likewise.
43123         * misc/removexattr.c: Likewise.
43124         * misc/revoke.c: Likewise.
43125         * misc/select.c: Likewise.
43126         * misc/setdomain.c: Likewise.
43127         * misc/setegid.c: Likewise.
43128         * misc/seteuid.c: Likewise.
43129         * misc/sethostid.c: Likewise.
43130         * misc/sethostname.c: Likewise.
43131         * misc/setregid.c: Likewise.
43132         * misc/setreuid.c: Likewise.
43133         * misc/setxattr.c: Likewise.
43134         * misc/sstk.c: Likewise.
43135         * misc/stty.c: Likewise.
43136         * misc/swapoff.c: Likewise.
43137         * misc/swapon.c: Likewise.
43138         * misc/sync.c: Likewise.
43139         * misc/syncfs.c: Likewise.
43140         * misc/syscall.c: Likewise.
43141         * misc/truncate.c: Likewise.
43142         * misc/ualarm.c: Likewise.
43143         * misc/usleep.c: Likewise.
43144         * misc/ustat.c: Likewise.
43145         * misc/utimes.c: Likewise.
43146         * misc/vhangup.c: Likewise.
43147         * misc/writev.c: Likewise.
43148         * posix/_exit.c: Likewise.
43149         * posix/alarm.c: Likewise.
43150         * posix/execve.c: Likewise.
43151         * posix/fexecve.c: Likewise.
43152         * posix/fork.c: Likewise.
43153         * posix/fpathconf.c: Likewise.
43154         * posix/getaddrinfo.c: Likewise.
43155         * posix/getegid.c: Likewise.
43156         * posix/geteuid.c: Likewise.
43157         * posix/getgid.c: Likewise.
43158         * posix/getgroups.c: Likewise.
43159         * posix/getlogin.c: Likewise.
43160         * posix/getlogin_r.c: Likewise.
43161         * posix/getpgid.c: Likewise.
43162         * posix/getpid.c: Likewise.
43163         * posix/getppid.c: Likewise.
43164         * posix/getresgid.c: Likewise.
43165         * posix/getresuid.c: Likewise.
43166         * posix/getsid.c: Likewise.
43167         * posix/getuid.c: Likewise.
43168         * posix/glob64.c: Likewise.
43169         * posix/nanosleep.c: Likewise.
43170         * posix/pathconf.c: Likewise.
43171         * posix/pause.c: Likewise.
43172         * posix/posix_madvise.c: Likewise.
43173         * posix/pread.c: Likewise.
43174         * posix/pread64.c: Likewise.
43175         * posix/pwrite.c: Likewise.
43176         * posix/pwrite64.c: Likewise.
43177         * posix/sched_getaffinity.c: Likewise.
43178         * posix/sched_getp.c: Likewise.
43179         * posix/sched_gets.c: Likewise.
43180         * posix/sched_primax.c: Likewise.
43181         * posix/sched_primin.c: Likewise.
43182         * posix/sched_rr_gi.c: Likewise.
43183         * posix/sched_setaffinity.c: Likewise.
43184         * posix/sched_setp.c: Likewise.
43185         * posix/sched_sets.c: Likewise.
43186         * posix/sched_yield.c: Likewise.
43187         * posix/setgid.c: Likewise.
43188         * posix/setlogin.c: Likewise.
43189         * posix/setpgid.c: Likewise.
43190         * posix/setresgid.c: Likewise.
43191         * posix/setresuid.c: Likewise.
43192         * posix/setsid.c: Likewise.
43193         * posix/setuid.c: Likewise.
43194         * posix/sleep.c: Likewise.
43195         * posix/spawni.c: Likewise.
43196         * posix/sysconf.c: Likewise.
43197         * posix/times.c: Likewise.
43198         * posix/wait.c: Likewise.
43199         * posix/wait3.c: Likewise.
43200         * posix/wait4.c: Likewise.
43201         * posix/waitpid.c: Likewise.
43202         * resolv/gai_sigqueue.c: Likewise.
43203         * resource/getpriority.c: Likewise.
43204         * resource/getrlimit.c: Likewise.
43205         * resource/getrusage.c: Likewise.
43206         * resource/nice.c: Likewise.
43207         * resource/setpriority.c: Likewise.
43208         * resource/setrlimit.c: Likewise.
43209         * resource/ulimit.c: Likewise.
43210         * rt/aio_cancel.c: Likewise.
43211         * rt/aio_fsync.c: Likewise.
43212         * rt/aio_read.c: Likewise.
43213         * rt/aio_sigqueue.c: Likewise.
43214         * rt/aio_suspend.c: Likewise.
43215         * rt/aio_write.c: Likewise.
43216         * rt/clock_getres.c: Likewise.
43217         * rt/clock_gettime.c: Likewise.
43218         * rt/clock_nanosleep.c: Likewise.
43219         * rt/clock_settime.c: Likewise.
43220         * rt/lio_listio.c: Likewise.
43221         * rt/mq_close.c: Likewise.
43222         * rt/mq_getattr.c: Likewise.
43223         * rt/mq_notify.c: Likewise.
43224         * rt/mq_open.c: Likewise.
43225         * rt/mq_receive.c: Likewise.
43226         * rt/mq_send.c: Likewise.
43227         * rt/mq_setattr.c: Likewise.
43228         * rt/mq_timedreceive.c: Likewise.
43229         * rt/mq_timedsend.c: Likewise.
43230         * rt/mq_unlink.c: Likewise.
43231         * rt/shm_open.c: Likewise.
43232         * rt/shm_unlink.c: Likewise.
43233         * rt/timer_create.c: Likewise.
43234         * rt/timer_delete.c: Likewise.
43235         * rt/timer_getoverr.c: Likewise.
43236         * rt/timer_gettime.c: Likewise.
43237         * rt/timer_settime.c: Likewise.
43238         * setjmp/__longjmp.c: Likewise.
43239         * setjmp/setjmp.c: Likewise.
43240         * signal/kill.c: Likewise.
43241         * signal/killpg.c: Likewise.
43242         * signal/raise.c: Likewise.
43243         * signal/sigaction.c: Likewise.
43244         * signal/sigaltstack.c: Likewise.
43245         * signal/sigblock.c: Likewise.
43246         * signal/sigignore.c: Likewise.
43247         * signal/sigintr.c: Likewise.
43248         * signal/signal.c: Likewise.
43249         * signal/sigpause.c: Likewise.
43250         * signal/sigpending.c: Likewise.
43251         * signal/sigqueue.c: Likewise.
43252         * signal/sigreturn.c: Likewise.
43253         * signal/sigset.c: Likewise.
43254         * signal/sigsetmask.c: Likewise.
43255         * signal/sigstack.c: Likewise.
43256         * signal/sigsuspend.c: Likewise.
43257         * signal/sigtimedwait.c: Likewise.
43258         * signal/sigvec.c: Likewise.
43259         * signal/sigwait.c: Likewise.
43260         * signal/sigwaitinfo.c: Likewise.
43261         * signal/sysv_signal.c: Likewise.
43262         * socket/accept.c: Likewise.
43263         * socket/accept4.c: Likewise.
43264         * socket/bind.c: Likewise.
43265         * socket/connect.c: Likewise.
43266         * socket/getpeername.c: Likewise.
43267         * socket/getsockname.c: Likewise.
43268         * socket/getsockopt.c: Likewise.
43269         * socket/isfdtype.c: Likewise.
43270         * socket/listen.c: Likewise.
43271         * socket/recv.c: Likewise.
43272         * socket/recvfrom.c: Likewise.
43273         * socket/recvmsg.c: Likewise.
43274         * socket/send.c: Likewise.
43275         * socket/sendmsg.c: Likewise.
43276         * socket/sendto.c: Likewise.
43277         * socket/setsockopt.c: Likewise.
43278         * socket/shutdown.c: Likewise.
43279         * socket/sockatmark.c: Likewise.
43280         * socket/socket.c: Likewise.
43281         * socket/socketpair.c: Likewise.
43282         * stdio-common/ctermid.c: Likewise.
43283         * stdio-common/cuserid.c: Likewise.
43284         * stdio-common/remove.c: Likewise.
43285         * stdio-common/rename.c: Likewise.
43286         * stdio-common/renameat.c: Likewise.
43287         * stdio-common/tempname.c: Likewise.
43288         * stdlib/getcontext.c: Likewise.
43289         * stdlib/makecontext.c: Likewise.
43290         * stdlib/setcontext.c: Likewise.
43291         * stdlib/swapcontext.c: Likewise.
43292         * stdlib/system.c: Likewise.
43293         * streams/fattach.c: Likewise.
43294         * streams/fdetach.c: Likewise.
43295         * streams/getmsg.c: Likewise.
43296         * streams/getpmsg.c: Likewise.
43297         * streams/putmsg.c: Likewise.
43298         * streams/putpmsg.c: Likewise.
43299         * sysdeps/unix/bsd/getpt.c: Likewise.
43300         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
43301         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
43302         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43304         Likewise.
43305         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
43306         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43307         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43308         * sysvipc/msgctl.c: Likewise.
43309         * sysvipc/msgget.c: Likewise.
43310         * sysvipc/msgrcv.c: Likewise.
43311         * sysvipc/msgsnd.c: Likewise.
43312         * sysvipc/semctl.c: Likewise.
43313         * sysvipc/semget.c: Likewise.
43314         * sysvipc/semop.c: Likewise.
43315         * sysvipc/semtimedop.c: Likewise.
43316         * sysvipc/shmat.c: Likewise.
43317         * sysvipc/shmctl.c: Likewise.
43318         * sysvipc/shmdt.c: Likewise.
43319         * sysvipc/shmget.c: Likewise.
43320         * termios/tcdrain.c: Likewise.
43321         * termios/tcflow.c: Likewise.
43322         * termios/tcflush.c: Likewise.
43323         * termios/tcgetattr.c: Likewise.
43324         * termios/tcgetpgrp.c: Likewise.
43325         * termios/tcsendbrk.c: Likewise.
43326         * termios/tcsetattr.c: Likewise.
43327         * termios/tcsetpgrp.c: Likewise.
43328         * time/adjtime.c: Likewise.
43329         * time/clock.c: Likewise.
43330         * time/getitimer.c: Likewise.
43331         * time/gettimeofday.c: Likewise.
43332         * time/setitimer.c: Likewise.
43333         * time/settimeofday.c: Likewise.
43334         * time/stime.c: Likewise.
43335         * time/time.c: Likewise.
43337 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
43339         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
43340         /usr/old/bin.
43342         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
43343         instead of spaces.
43344         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
43346 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
43348         [BZ #14796]
43349         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
43350         FE_TONEAREST before applying Dekker multiplication and Knuth
43351         addition.  Clear inexact exceptions and check for exact zero
43352         results afterwards.
43353         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43354         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43355         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43356         * math/libm-test.inc (fma_test): Add more tests.
43357         (fma_test_towardzero): Likewise.
43358         (fma_test_downward): Likewise.
43359         (fma_test_upward): Likewise.
43360         * sysdeps/generic/math_private.h (default_libc_fesetround): New
43361         function.
43362         (libc_fesetround): New macro.
43363         (libc_fesetroundf): Likewise.
43364         (libc_fesetroundl): Likewise.
43365         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
43366         function.
43367         (libc_fesetround_387): Likewise.
43368         (libc_fesetroundf): New macro.
43369         (libc_fesetround): Likewise.
43370         (libc_fesetroundl): Likewise.
43371         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
43372         function.
43373         (libc_fesetroundf): New macro.
43374         (libc_fesetround): Likewise.
43375         (libc_fesetroundl): Likewise.
43376         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
43377         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
43378         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
43379         libm_hidden_ver.
43380         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
43381         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
43382         libm_hidden_def.
43383         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
43384         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
43385         libm_hidden_ver.
43386         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
43387         libm_hidden_def.
43389         [BZ #3439]
43390         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
43391         integer constant usable in #if and use that to give value to enum
43392         constant.
43393         (FE_DIVBYZERO): Likewise.
43394         (FE_UNDERFLOW): Likewise.
43395         (FE_OVERFLOW): Likewise.
43396         (FE_INVALID): Likewise.
43397         (FE_INVALID_SNAN): Likewise.
43398         (FE_INVALID_ISI): Likewise.
43399         (FE_INVALID_IDI): Likewise.
43400         (FE_INVALID_ZDZ): Likewise.
43401         (FE_INVALID_IMZ): Likewise.
43402         (FE_INVALID_COMPARE): Likewise.
43403         (FE_INVALID_SOFTWARE): Likewise.
43404         (FE_INVALID_SQRT): Likewise.
43405         (FE_INVALID_INTEGER_CONVERSION): Likewise.
43406         (FE_TONEAREST): Likewise.
43407         (FE_TOWARDZERO): Likewise.
43408         (FE_UPWARD): Likewise.
43409         (FE_DOWNWARD): Likewise.
43410         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
43411         (FE_DIVBYZERO): Likewise.
43412         (FE_OVERFLOW): Likewise.
43413         (FE_UNDERFLOW): Likewise.
43414         (FE_INEXACT): Likewise.
43415         (FE_TONEAREST): Likewise.
43416         (FE_DOWNWARD): Likewise.
43417         (FE_UPWARD): Likewise.
43418         (FE_TOWARDZERO): Likewise.
43419         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
43420         (FE_UNDERFLOW): Likewise.
43421         (FE_OVERFLOW): Likewise.
43422         (FE_DIVBYZERO): Likewise.
43423         (FE_INVALID): Likewise.
43424         (FE_TONEAREST): Likewise.
43425         (FE_TOWARDZERO): Likewise.
43426         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
43427         (FE_OVERFLOW): Likewise.
43428         (FE_UNDERFLOW): Likewise.
43429         (FE_DIVBYZERO): Likewise.
43430         (FE_INEXACT): Likewise.
43431         (FE_TONEAREST): Likewise.
43432         (FE_TOWARDZERO): Likewise.
43433         (FE_UPWARD): Likewise.
43434         (FE_DOWNWARD): Likewise.
43435         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
43436         (FE_DIVBYZERO): Likewise.
43437         (FE_OVERFLOW): Likewise.
43438         (FE_UNDERFLOW): Likewise.
43439         (FE_INEXACT): Likewise.
43440         (FE_TONEAREST): Likewise.
43441         (FE_DOWNWARD): Likewise.
43442         (FE_UPWARD): Likewise.
43443         (FE_TOWARDZERO): Likewise.
43445 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
43447         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
43449 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
43451         * scripts/cross-test-ssh.sh (command): Use newlines to separate
43452         commands.  Quote $PWD.
43453         (blacklist_exports): Don't use remove_newlines.  Replace "declare
43454         -x" by "export".
43455         (remove_newlines): Remove.
43457 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
43459         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
43460         * stdlib/stdlib.h (atof): Moved to ...
43461         * include/bits/stdlib-float.h: Here.  New file.
43462         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
43463         * stdlib/bits/stdlib-float.h: New file.
43464         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
43465         -mno-sse -mno-mmx.
43466         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
43467         <xmmintrin.h>.
43469 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43471         * conform/conformtest.pl (@headers): Add fenv.h.
43472         * conform/data/fenv.h-data: New file.
43473         * include/fenv.h [_ISOMAC]: Disable all contents of file except
43474         include of <math/fenv.h>.
43476         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
43477         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
43478         && !UNIX98].  Enables tests for XOPEN2K8.
43479         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
43480         POSIX2008]: Likewise.
43482         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
43483         (struct rusage): Do not expect type or its members.
43485         [BZ #3439]
43486         * math/math.h (FP_NAN): Define macro to integer constant usable in
43487         #if and use that to give value to enum constant.
43488         (FP_INFINITE): Likewise.
43489         (FP_ZERO): Likewise.
43490         (FP_SUBNORMAL): Likewise.
43491         (FP_NORMAL): Likewise.
43493 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
43495         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
43496         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
43497         arguments.
43499 2012-11-02  Roland McGrath  <roland@hack.frob.com>
43501         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
43502         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
43503         autoconf-time if not.
43504         * configure.in: Remove AC_PREREQ.
43506 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43508         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
43509         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
43510         of the internal implementation.
43512 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43514         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
43515         except include of <misc/sys/syslog.h>.
43517 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
43520         function returns with a NULL context exit with zero.
43522 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43524         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
43526 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
43528         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
43529         (run_program_cmd): This.
43530         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
43531         (tst_langinfo): New variable.  Use it.
43533 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
43535         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
43536         floating point opcodes.
43538 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43540         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
43541         variable.
43543         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
43545         * sysdeps/mach/hurd/powerpc: Remove directory.
43546         * sysdeps/mach/powerpc: Likewise.
43548 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43550         * scripts/check-local-headers.sh: Ignore c++ headers.
43552 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43554         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
43555         __libc_cleanup_region_start argument.
43557 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
43559         [BZ #14784]
43560         [BZ #14785]
43561         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
43562         x * y using scaling, not as x * y + z.
43563         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43564         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43565         * math/libm-test.inc (fma_test): Add more tests.
43566         (fma_test_towardzero): Likewise.
43567         (fma_test_downward): Likewise.
43568         (fma_test_upward): Likewise.
43570 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43572         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
43574 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43576         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
43577         New variable.
43579 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
43581         * rt/tst-shm.c (worker): Correct checking for mmap failure.
43583 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43586         Fix sort order.
43587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43588         Likewise.
43590 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43593         Fix the order of the list for glibc 2.17.
43594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43595         Likewise.
43597 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43601 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43603         [BZ #14610]
43604         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
43605         for low part of x being zero before using __atanl (y).
43606         * math/libm-test.inc (atan2_test): Add another test.
43608         * manual/install.texi (Configuring and compiling): Document
43609         general use of test-wrapper and test-wrapper-env.
43610         * INSTALL: Regenerated.
43612         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
43613         (__fma): Do not extract and scale down low bits on after-rounding
43614         systems when result rounded to normal precision would have normal
43615         exponent.
43616         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
43617         (__fmal): Do not extract and scale down low bits on after-rounding
43618         systems when result rounded to normal precision would have normal
43619         exponent.
43620         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
43621         (__fmal): Do not extract and scale down low bits on after-rounding
43622         systems when result rounded to normal precision would have normal
43623         exponent.
43624         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
43625         macro.
43626         (fma_test): Add more tests.
43627         (fma_test_towardzero): Likewise.
43628         (fma_test_downward): Likewise.
43629         (fma_test_upward): Likewise.
43631 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
43633         * sysdeps/i386/tininess.h: Renamed to ...
43634         * sysdeps/x86/tininess.h: This.
43635         * sysdeps/x86_64/tininess.h: Removed.
43637 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43639         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
43640         input.  Use $(build-program-cmd).
43641         ($(objpfx)tst-array1-static.out): Likewise.
43642         ($(objpfx)tst-array2.out): Likewise.
43643         ($(objpfx)tst-array3.out): Likewise.
43644         ($(objpfx)tst-array4.out): Likewise.
43645         ($(objpfx)tst-array5.out): Likewise.
43646         ($(objpfx)tst-array5-static.out): Likewise.
43648 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
43650         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
43651         if defined.
43653         * nss/nsswitch.h (nss_interface_function): Provide new
43654         macro for use with NSS functions.
43655         * grp/initgroups.c: Use new macro.
43656         * nss/getXXbyYY.c: Likewise.
43657         * nss/getXXbyYY_r.c: Likewise.
43658         * nss/getXXent.c: Likewise.
43659         * nss/getXXent_r.c: Likewise.
43660         * sysdeps/posix/getaddrinfo.c: Likewise.
43662 2012-10-30  Andreas Jaeger  <aj@suse.de>
43664         * po/ru.po: Update Russion translation from translation project.
43666 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43668         [BZ #14152]
43669         [BZ #14783]
43670         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
43671         result and shift together with sticky bit instead of replicating
43672         round-to-nearest rounding.
43673         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43674         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43675         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
43676         missing underflow exceptions.
43677         (fma_test_towardzero): Add more tests.
43678         (fma_test_downward): Likewise.
43679         (fma_test_upward): Likewise.
43681         [BZ #14047]
43682         * sysdeps/generic/tininess.h: New file.
43683         * sysdeps/i386/tininess.h: Likewise.
43684         * sysdeps/sh/tininess.h: Likewise.
43685         * sysdeps/x86_64/tininess.h: Likewise.
43686         * stdlib/tst-strtod-underflow.c: Likewise.
43687         * stdlib/tst-tininess.c: Likewise.
43688         * stdlib/strtod_l.c: Include <tininess.h>.
43689         (round_and_return): Do not set errno for exact underflow cases.
43690         Force an underflow exception when setting errno for underflow.
43691         Determine underflow based on rounding to normal precision if
43692         TININESS_AFTER_ROUNDING.
43693         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
43694         ERANGE for exact underflow cases.
43695         * stdlib/Makefile (tests): Add tst-tininess and
43696         tst-strtod-underflow.
43697         ($(objpfx)tst-tininess): Use $(link-libm).
43698         ($(objpfx)tst-strtod-underflow): Likewise.
43700 2012-10-30  Andreas Jaeger  <aj@suse.de>
43702         [BZ#14767]
43703         * elf/Makefile (tests): Remove conditional for have-initfini-array
43704         since this is now always required and the variable does not exist
43705         anymore.
43706         (tests-static): Likewise.
43707         (modules-names): Likewise.
43709         * po/eo.po: Add Esperanto translation from translation project.
43711         * elf/tst-array1.c (fini_array): Make writeable so that it can be
43712         merged with constructor/destructor.
43713         (init_array): Likewise.
43714         * elf/tst-array2dep.c (fini_array): Likewise.
43715         (init_array): Likewise.
43717 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
43719         * manual/message.texi: Delete @cartouche tags.
43721 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
43723         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43724         EOPNOTSUPP.
43725         * sysdeps/mach/hurd/fsync.c: Likewise.
43727         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43728         [_POSIX_REALTIME_SIGNALS]: Change condition to
43729         [_POSIX_REALTIME_SIGNALS > 0].
43731 2012-10-27  Andreas Jaeger  <aj@suse.de>
43733         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43734         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43735         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43736         [__WORDSIZE != 64]: Likewise.
43738 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
43740         *  iconvdata/tst-table.sh: Remove ${SHELL}.
43741         *  iconvdata/tst-tables.sh: Likewise.
43743 2012-10-25  David S. Miller  <davem@davemloft.net>
43745         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43746         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43747         of strtoull.
43749         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43750         ifunc-impl-list.c
43751         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43752         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43753         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43754         file.
43756 2012-10-25  Roland McGrath  <roland@hack.frob.com>
43758         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43759         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43760         __getdirentries.
43762 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43763             Jim Blandy  <jimb@codesourcery.com>
43765         * scripts/cross-test-ssh.sh: New file.
43766         * manual/install.texi (Configuring and compiling): Document use of
43767         cross-test-ssh.sh.
43768         * INSTALL: Regenerated.
43770 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43772         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43773         EOPNOTSUPP.
43775 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43777         * Makeconfig (run-program-prefix): Fix comment.
43779 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43780             Jim Blandy  <jimb@codesourcery.com>
43782         * Makeconfig (test-wrapper): New variable,
43783         (test-wrapper-env): Likewise.
43784         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43785         (run-built-tests): Define to yes.
43786         (run-program-prefix): Use $(test-wrapper).
43787         (built-program-cmd): Likewise.
43788         * Rules (make-test-out): Use $(test-wrapper-env) and
43789         $(host-built-program-cmd).
43790         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43791         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43792         tst-pathopt.sh.
43793         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43794         $(test-wrapper-env) to tst-rtld-load-self.sh.
43795         ($(objpfx)order2.out): Use $(test-wrapper).
43796         ($(objpfx)tst-initorder.out): Likewise.
43797         ($(objpfx)tst-initorder2.out): Likewise.
43798         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43799         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43800         (test_wrapper_env): New variable.  Use it to run ld.so.
43801         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43802         Use it to run ld.so.
43803         (test_wrapper_env): Likewise.
43804         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43805         $(test-wrapper) to run-iconv-test.sh.
43806         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43807         (ICONV): Use $test_wrapper.
43808         * posix/Makefile ($(objpfx)globtest.out): Pass
43809         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43810         globtest.sh, not $(run-program-prefix).
43811         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43812         (test_wrapper): Likewise.
43813         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43814         set together with run_via_rtld_prefix.
43815         (run_program_prefix): Define in terms of test_wrapper and
43816         run_via_rtld_prefix.
43818 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43820         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43821         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43822         Targets removed.
43824         [BZ #14743]
43825         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43826         Declare __clock_getres, __clock_gettime, __clock_settime,
43827         __clock_nanosleep, and __clock_getcpuclockid.
43828         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43829         Remove librt_hidden_def (clock_gettime).
43830         * sysdeps/unix/clock_gettime.c: Likewise.
43831         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43832         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43833         * rt/clock_getres.c: Define __clock_getres as an alias.
43834         * sysdeps/posix/clock_getres.c: Likewise.
43835         * rt/clock_settime.c: Define __clock_settime as an alias.
43836         * sysdeps/unix/clock_settime.c: Likewise.
43837         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43838         * sysdeps/unix/clock_nanosleep.c: Likewise.
43839         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43840         * rt/clock-compat.c: New file.
43841         * rt/Makefile (librt-routines): Add clock-compat and move
43842         $(clock-routines) to ...
43843         (routines): ... here, new variable.
43844         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43845         Don't add get_clockfreq here.
43846         * rt/Versions (libc: GLIBC_2.17): New version set.
43847         Add clock_* symbols here.
43848         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43849         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43850         (GLIBC_2.17): Add clock_* symbols.
43851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43852         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43853         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43855         Likewise.
43856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43857         Likewise.
43858         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43859         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43862         * NEWS: Mention the move.
43864         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43865         Use __open, __read, __close rather than their public counterparts.
43866         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43867         (__get_clockfreq_via_cpuinfo): Likewise.
43868         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43869         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43871         * config.h.in (HAVE_IFUNC): New #undef.
43872         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43873         was successful.
43874         * configure: Regenerated.
43876 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43878         * configure.in: Move READELF check to start of file.
43879         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43880         libc_cv_asm_gnu_indirect_function in the process.
43881         * configure: Regenerated.
43883 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43885         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43886         send the output to /dev/null.
43887         (libc_cv_cc_with_libunwind): Likewise.
43888         (libc_cv_as_noexecstack): Likewise.
43889         * configure: Regenerate.
43891 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43893         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43895         * posix/globtest.sh (TMPDIR): Do not set.
43896         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43897         (testout): Likewise.
43899 2012-10-24  Andreas Jaeger  <aj@suse.de>
43901         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43902         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43903         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43904         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43905         posix_fadvise64, posix_fallocate64.
43907         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43908         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43909         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43910         Likewise.
43911         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43912         Likewise.
43913         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43915         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43916         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43917         <bits/fcntl-linux.h>.
43918         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43920         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43921         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43922         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43923         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43924         [__WORDSIZE != 64]: Likewise.
43926 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43928         * Makeconfig (run-built-tests): New variable.
43929         * Rules [$(cross-compiling) = yes]: Change condition to
43930         [$(run-built-tests) = no].
43931         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43932         to [$(run-built-tests) = yes].
43933         * elf/Makefile [$(cross-compiling) = no]: Likewise
43934         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43935         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43936         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43937         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43938         * io/Makefile [$(cross-compiling) = no]: Likewise.
43939         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43940         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43941         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43942         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43943         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43944         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43945         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43946         * string/Makefile [$(cross-compiling) = no]: Likewise.
43948         * posix/Makefile ($(objpfx)globtest.out): Pass
43949         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43950         $(rtld-installed-name).
43951         * posix/globtest.sh (elf_objpfx): Remove variable.
43952         (rtld_installed_name): Likewise.
43953         (library_path): Likewise.
43954         (run_program_prefix): New variable.  Use for running globtest
43955         binary.
43957 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43958             Joseph Myers  <joseph@codesourcery.com>
43960         * Makeconfig (host-built-program-cmd): New variable.
43961         * elf/Makefile (tst-stackguard1-ARGS): Use
43962         $(host-built-program-cmd).
43963         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43964         (tst-spawn-ARGS): Likewise.
43965         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43967 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43968             Jim Blandy  <jimb@codesourcery.com>
43970         * Makeconfig (run-via-rtld-prefix): New variable.
43971         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43972         (built-program-cmd): Likewise.
43974 2012-10-22  Andreas Jaeger  <aj@suse.de>
43976         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43977         __O_RSYNC if it exists, otherwise to O_SYNC.
43979 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43980             Joseph Myers  <joseph@codesourcery.com>
43982         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43983         /dev/null.
43984         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43985         from /dev/null
43986         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43987         /dev/null.
43989 2012-10-22  Andreas Jaeger  <aj@suse.de>
43991         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43992         Define always.
43993         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43995         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43996         bits/fcntl-linux.h.
43998         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43999         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
44001         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
44002         to __O_LARGEFILE.
44003         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
44004         to __O_LARGEFILE.
44006 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
44007             Joseph Myers  <joseph@codesourcery.com>
44009         * config.make.in (NM): New variable.
44011 2012-10-21  Andreas Jaeger  <aj@suse.de>
44013         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
44014         definitions and declarations that are provided by
44015         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44017 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
44019         [BZ #14683]
44020         * elf/Makefile (tests-static): Add tst-leaks1-static.
44021         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
44022         ($(objpfx)tst-leaks1-static): New rule.
44023         ($(objpfx)tst-leaks1-static-mem): Likewise.
44024         (tst-leaks1-static-ENV): New macro.
44025         * elf/dl-open.c (dl_open_worker): Check the main application
44026         only if SHARED is defined.
44027         * elf/tst-leaks1-static.c: New file.
44029 2012-10-20  Andreas Jaeger  <aj@suse.de>
44031         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
44032         generic values for Linux.
44033         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
44034         and declarations that are provided by <bits/fcntl-linux.h> and
44035         include <bits/fcntl-linux.h>.
44036         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44037         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44039 2012-10-20  Roland McGrath  <roland@hack.frob.com>
44041         * io/fcntl.h: Move include of <bits/types.h> to the top and
44042         include it unconditionally.
44044 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
44046         * wcsmbs/Makefile (tests-ifunc): New variable.
44047         (tests): Add $(tests-ifunc).
44048         * wcsmbs/test-wcschr-ifunc.c: New file.
44049         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
44050         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
44051         * wcsmbs/test-wcslen-ifunc.c: Likewise.
44052         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
44053         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
44055         * string/Makefile (tests-ifunc): New variable.
44056         (tests): Add $(tests-ifunc).
44057         * string/test-memccpy.c (TEST_NAME): New macro.
44058         * string/test-memchr.c (TEST_NAME): Likewise.
44059         * string/test-memcmp.c (TEST_NAME): Likewise.
44060         * string/test-memcpy.c (TEST_NAME): Likewise.
44061         * string/test-memmem.c (TEST_NAME): Likewise.
44062         * string/test-memmove.c (TEST_NAME): Likewise.
44063         * string/test-memset.c (TEST_NAME): Likewise.
44064         * string/test-rawmemchr.c (TEST_NAME): Likewise.
44065         * string/test-stpcpy.c (TEST_NAME): Likewise.
44066         * string/test-stpncpy.c (TEST_NAME): Likewise.
44067         * string/test-strcasecmp.c (TEST_NAME): Likewise.
44068         * string/test-strcasestr.c (TEST_NAME): Likewise.
44069         * string/test-strcat.c (TEST_NAME): Likewise.
44070         * string/test-strchr.c (TEST_NAME): Likewise.
44071         * string/test-strcmp.c(TEST_NAME): Likewise.
44072         * string/test-strcpy.c (TEST_NAME): Likewise.
44073         * string/test-strcspn.c (TEST_NAME): Likewise.
44074         * string/test-strlen.c (TEST_NAME): Likewise.
44075         * string/test-strncasecmp.c (TEST_NAME): Likewise.
44076         * string/test-strncmp.c (TEST_NAME): Likewise.
44077         * string/test-strncpy.c (TEST_NAME): Likewise.
44078         * string/test-strnlen.c (TEST_NAME): Likewise.
44079         * string/test-strpbrk.c (TEST_NAME): Likewise.
44080         * string/test-strrchr.c (TEST_NAME): Likewise.
44081         * string/test-strspn.c (TEST_NAME): Likewise.
44082         * string/test-strstr.c (TEST_NAME): Likewise.
44083         * string/test-bcopy-ifunc.c: New file.
44084         * string/test-bzero-ifunc.c: Likewise.
44085         * string/test-memccpy-ifunc.c: Likewise.
44086         * string/test-memchr-ifunc.c: Likewise.
44087         * string/test-memcmp-ifunc.c: Likewise.
44088         * string/test-memcpy-ifunc.c: Likewise.
44089         * string/test-memmem-ifunc.c: Likewise.
44090         * string/test-memmove-ifunc.c: Likewise.
44091         * string/test-mempcpy-ifunc.c: Likewise.
44092         * string/test-memset-ifunc.c: Likewise.
44093         * string/test-rawmemchr-ifunc.c: Likewise.
44094         * string/test-stpcpy-ifunc.c: Likewise.
44095         * string/test-stpncpy-ifunc.c: Likewise.
44096         * string/test-strcasecmp-ifunc.c: Likewise.
44097         * string/test-strcasestr-ifunc.c: Likewise.
44098         * string/test-strcat-ifunc.c: Likewise.
44099         * string/test-strchr-ifunc.c: Likewise.
44100         * string/test-strchrnul-ifunc.c: Likewise.
44101         * string/test-strcmp-ifunc.c: Likewise.
44102         * string/test-strcpy-ifunc.c: Likewise.
44103         * string/test-strcspn-ifunc.c: Likewise.
44104         * string/test-strlen-ifunc.c: Likewise.
44105         * string/test-strncasecmp-ifunc.c: Likewise.
44106         * string/test-strncat-ifunc.c: Likewise.
44107         * string/test-strncmp-ifunc.c: Likewise.
44108         * string/test-strncpy-ifunc.c: Likewise.
44109         * string/test-strnlen-ifunc.c: Likewise.
44110         * string/test-strpbrk-ifunc.c: Likewise.
44111         * string/test-strrchr-ifunc.c: Likewise.
44112         * string/test-strspn-ifunc.c: Likewise.
44113         * string/test-strstr-ifunc.c: Likewise.
44115         * debug/Makefile (tests-ifunc): New variable.
44116         (tests): Add $(tests-ifunc).
44117         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
44118         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
44119         * debug/test-stpcpy_chk-ifunc.c: New file.
44120         * debug/test-strcpy_chk-ifunc.c: Likewise.
44122 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44124         [BZ #13601]
44125         * elf/dl-load.c (open_verify): Retry read if the entire ELF
44126         header is not read in.
44128 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
44130         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
44131         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
44132         directly.  Pass built executable to script as
44133         $(built-program-cmd).
44134         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
44135         $testprogram without using LD_LIBRARY_PATH and $ldso.
44137         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
44138         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
44139         $(rtld-installed-name).
44140         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
44141         (rtld_installed_name): Likewise.
44142         (library_path): Likewise.
44143         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
44144         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
44145         $(run-program-prefix) to tst-tables.sh.
44146         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
44147         it to run tst-table-from and tst-table-to.
44148         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
44149         Pass it to tst-table.sh.
44150         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
44151         $(run-program-prefix) to tst-gettext.sh.
44152         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
44153         tst-translit.sh.
44154         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
44155         tst-gettext2.sh.
44156         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
44157         to run tst-gettext.
44158         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
44159         to run tst-gettext2.
44160         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
44161         to run tst-translit.
44162         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
44163         $(run-program-prefix) to tst-mtrace.sh.
44164         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
44165         to run tst-mtrace.
44166         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
44167         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
44168         $(rtld-installed-name).
44169         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
44170         (rtld_installed_name): Likewise.
44171         (run_program_prefix): New variable.  Use it to run wordexp-test.
44173         * Makeconfig (ARCH): Remove all definitions.
44174         (machine): Likewise.
44175         [ARCH]: Remove conditional code.
44176         [!objdir]: Give error.
44177         [!objdir] (objpfx): Remove.
44178         [!objdir] (common-objpfx): Likewise.
44179         [!objdir] (common-objdir): Likewise.
44180         * configure.in (config_makefile): Remove.  Hardcode Makefile in
44181         AC_CONFIG_FILES call.
44182         * configure: Regenerated.
44184         [BZ #13888]
44185         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
44186         or TMPDIR.
44187         (testout): Likewise.
44189         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
44190         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
44191         $(rtld-installed-name).
44192         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
44193         (rtld_installed_name): Likwise.
44194         (runit): Remove function.
44195         (run_getconf): New variable,  Use it for running getconf binary.
44197 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
44199         [BZ #14716]
44200         * string/test-memmem.c (check_result): New function.
44201         (do_one_test): Use it.
44202         (check1): New function.
44203         (test_main): Use it.
44205 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
44207         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
44209 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
44211         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
44212         (_G_LSEEK64): Likewise.
44213         (_G_MMAP64): Likewise.
44214         (_G_FSTAT64): Likewise.
44215         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
44216         (_G_LSEEK64): Likewise.
44217         (_G_MMAP64): Likewise.
44218         (_G_FSTAT64): Likewise.
44219         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
44220         unconditional.  Call __mmap64 directly.
44221         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
44222         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
44223         __lseek64 directly.
44224         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
44225         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
44226         __mmap64 directly.
44227         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
44228         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44229         __lseek64 directly.
44230         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
44231         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44232         __lseek64 directly.
44233         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
44234         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
44235         __lseek64 directly.
44236         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
44237         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
44238         __fxstat64 directly.
44239         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
44240         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
44241         unconditional.
44242         (freopen64) [!_G_OPEN64]: Remove conditional code.
44243         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
44244         unconditional.
44245         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
44246         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
44247         unconditional.
44248         (ftello64) [!_G_LSEEK64]: Remove conditional code.
44249         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
44250         unconditional.
44251         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44252         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
44253         unconditional.
44254         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
44255         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
44256         unconditional.
44257         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44258         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
44259         unconditional.
44260         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44261         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
44262         unconditional.
44263         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44265 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44267         [BZ #12140]
44268         * manual/memory.texi (Malloc Tunable Parameters): Add note
44269         about free list pointers overwriting some perturb bytes.
44270         Wording suggested by Roland McGrath.
44272 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
44274         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
44275         (lgamma_test): Likewise.
44276         (tgamma_test): Likewise.
44278 2012-10-16  Florian Weimer  <fweimer@redhat.com>
44280         [BZ #14700]
44281         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
44282         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
44284 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
44286         * NEWS: Mention BZ #14716.
44287         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
44288         when removing AVAILABLE1_USES_J macro.
44290 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
44292         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
44293         (__bswap_64): __uint64_t for unsigned 64-bit int.
44295 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
44297         * include/string.h (memmem): Declare libc hidden alias.
44298         * string/memmem.c (memmem): Define libc hidden alias.
44299         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
44300         __read, __close instead of open, read, close.
44302 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
44304         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
44305         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
44306         global and hidden.
44307         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
44308         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
44309         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
44310         Likewise.
44311         (__rawmemchr_sse2): Likewise.
44312         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
44313         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
44314         (__strchr_sse2): Likewise.
44315         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
44316         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
44317         (__strcasecmp_sse2): Likewise.
44318         (__strncasecmp_sse2): Likewise.
44319         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
44320         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
44321         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
44322         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
44323         (__strrchr_sse2): Likewise.
44324         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
44325         ifunc-impl-list.c.
44326         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
44327         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
44328         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
44329         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44330         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
44331         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
44332         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44333         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44334         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
44335         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
44336         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
44337         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
44338         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
44339         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
44340         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
44341         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44342         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
44343         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
44344         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
44345         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
44346         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
44347         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
44348         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
44349         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44350         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
44351         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44352         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
44353         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44354         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
44355         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
44357         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
44358         global and hidden.
44359         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
44360         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
44361         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
44362         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
44363         Likewise.
44364         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
44365         Likewise.
44366         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
44367         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
44368         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
44369         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
44370         ifunc-impl-list.c.
44371         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44372         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44373         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44374         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44375         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44376         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44377         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44378         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44379         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44380         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44381         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44382         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44383         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44384         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
44385         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
44386         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44387         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
44388         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
44389         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44390         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44391         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44392         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44393         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44394         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44395         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44396         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
44397         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
44398         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
44399         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
44400         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44401         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
44402         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44403         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44404         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
44405         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44406         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44407         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44408         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44409         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44410         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44411         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
44413         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
44414         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
44415         * include/ifunc-impl-list.h: New file.
44416         * misc/ifunc-impl-list.c: Likewise.
44417         * misc/Makefile (routines): Add ifunc-impl-list.
44418         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
44419         * string/test-string.h: Include <ifunc-impl-list.h>.
44420         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
44421         TEST_NAME]: New variables.
44422         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
44423         are defined.
44424         (test_init): Call __libc_ifunc_impl_list to initialize
44425         func_list if TEST_IFUNC and TEST_NAME are defined.
44427         * string/Makefile (strop-tests): Add bcopy and bzero.
44428         * string/test-bcopy.c: New file.
44429         * string/test-bzero.c: Likewise.
44430         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
44431         defined.
44432         * string/test-memset.c: Support bzero test if TEST_BZERO is
44433         defined.
44434         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
44435         __libc_memmove.
44436         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
44437         __libc_memset.
44438         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
44439         of memset.
44441 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
44443         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
44444         * configure: Regenerated.
44446         * Makeconfig (+link-static-before-libc): Don't include
44447         $(link-static-libc).
44449         * libio/libio.h (_IO_pos_t): Remove.
44451 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44453         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
44454         McGrath.
44456 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44458         * crypt/crypt-entry.c: Include fips-private.h.
44459         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
44460         * crypt/md5c-test.c (main): Tolerate disabled MD5.
44461         * sysdeps/unix/sysv/linux/fips-private.h: New file.
44462         * sysdeps/generic/fips-private.h: New file, dummy fallback.
44464 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44466         * crypt/crypt-private.h: Include stdbool.h.
44467         (_ufc_setup_salt_r): Return bool.
44468         * crypt/crypt-entry.c: Include errno.h.
44469         (__crypt_r): Return NULL with EINVAL for bad salt.
44470         * crypt/crypt_util.c (bad_for_salt): New.
44471         (_ufc_setup_salt_r): Check that salt is long enough and within
44472         the specified alphabet.
44473         * crypt/badsalttest.c: New file.
44474         * crypt/Makefile (tests): Add it.
44475         ($(objpfx)badsalttest): New.
44477 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
44479         * NEWS: Add entry for BZ #14602.
44481 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44483         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
44484         type-generic.
44485         * math/libm-test.inc: Update comment listing what functions and
44486         macros are tested.
44487         (isgreater_test): New function.
44488         (isgreaterequal_test): Likewise.
44489         (isless_test): Likewise.
44490         (islessequal_test): Likewise.
44491         (islessgreater_test): Likewise.
44492         (isunordered_test): Likewise.
44493         (main): Call the new functions.
44495 2012-10-09  Roland McGrath  <roland@hack.frob.com>
44497         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
44498         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
44499         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
44500         * sysdeps/i386/configure: Regenerated.
44501         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
44502         * sysdeps/mach/configure: Regenerated.
44503         * sysdeps/mach/hurd/configure: Regenerated.
44504         * sysdeps/powerpc/configure: Regenerated.
44505         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44506         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44507         * sysdeps/s390/s390-32/configure: Regenerated.
44508         * sysdeps/s390/s390-64/configure: Regenerated.
44509         * sysdeps/sh/configure: Regenerated.
44510         * sysdeps/sparc/configure: Regenerated.
44511         * sysdeps/unix/sysv/linux/configure: Regenerated.
44512         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
44513         * sysdeps/x86_64/configure: Regenerated.
44515         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
44516         defined.  Don't check if MAP is NULL.
44518 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44520         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
44521         (_G_stat64): Likewise.
44522         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
44523         (_G_stat64): Likewise.
44524         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
44525         instead of struct _G_stat64.
44526         * libio/fileops.c (mmap_remap_check): Likewise.
44527         (decide_maybe_mmap): Likewise.
44528         (_IO_new_file_seekoff): Likewise.
44529         (_IO_file_stat): Likewise.
44530         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
44531         _G_off64_t.
44532         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
44533         instead of struct _G_stat64.
44534         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44536 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
44538         [BZ #14602]
44539         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44540         Replace with ...
44541         (CHECK_EOL): New macro.
44542         (two_way_short_needle): Check beginning of haystack for EOL.  Use
44543         CHECK_EOL.
44544         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44545         Replace with CHECK_EOL.
44546         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44547         Replace with CHECK_EOL.
44549 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
44551         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
44552         type-generic.
44553         * math/libm-test.inc: Update comment listing what functions and
44554         macros are tested.
44555         (finite_test): New function.
44556         (isinf_test): Likewise.
44557         (isnan_test): Likewise.
44558         (fpclassify_test): Test subnormal input.
44559         (isfinite_test): Likewise.
44560         (isnormal_test): Likewise.
44561         (main): Call the new functions.
44563 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
44565         [BZ #14660]
44566         * Makerules (%.dynsym): Force C locale when running
44567         $(OBJDUMP) --dynamic-syms.
44569 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
44571         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
44572         <stdint.h>.
44574 2012-10-06  David S. Miller  <davem@davemloft.net>
44576         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
44577         upper 32-bits of the length value in %o2 since we use branch-on-register
44578         tests which consider the entire 64-bit register.
44580 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
44582         * string/test-strstr.c (check2): Add a test for page boundary.
44584 2012-10-05  David S. Miller  <davem@davemloft.net>
44586         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
44587         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
44588         file.
44589         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44590         sysdep_routines.
44591         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44592         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
44593         and bzero when HWCAP_SPARC_CRYPTO is present.
44595 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
44597         [BZ #14602]
44598         * string/test-strstr.c (check2): New function.
44599         (test_main): Call check2.
44601         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
44602         and bug-strchr1.
44603         * string/bug-strcasestr1.c (do_test): Moved to ...
44604         * string/test-strcasestr.c (check1): Here.  New function.
44605         (do_one_test): Break out result checking code into ...
44606         (check_result): This.  New function.
44607         (do_one_test): Call check_result.
44608         (test_main): Call check1.
44609         * string/bug-strchr1.c (do_test): Moved to ...
44610         * string/test-strchr.c (check1): Here.  New function.
44611         (do_one_test): Break out result checking code into ...
44612         (check_result): This.  New function.
44613         (do_one_test): Call check_result.
44614         (test_main): Call check1.
44615         * string/bug-strstr1.c (main): Moved to ...
44616         * string/test-strstr.c (check1): Here.  New function.
44617         (do_one_test): Break out result checking code into ...
44618         (check_result): This.  New function.
44619         (do_one_test): Call check_result.
44620         (test_main): Call check1.
44621         * string/bug-strcasestr1.c: Removed.
44622         * string/bug-strchr1.c: Likewise.
44623         * string/bug-strstr1.c: Likewise.
44625         * elf/Makefile (dl-routines): Add hwcaps.
44626         * elf/dl-support.c (_dl_important_hwcaps): Removed.
44627         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
44628         (_dl_important_hwcaps): Moved to ...
44629         * elf/dl-hwcaps.c: Here.  New file.
44630         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
44632         [BZ #14557]
44633         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
44634         if IS_IN_rtld isn't defined.
44636         * elf/dl-support.c (_dl_sysinfo_map): New.
44637         Include "get-dynamic-info.h" and "setup-vdso.h".
44638         (_dl_non_dynamic_init): Call setup_vdso.
44639         * elf/dynamic-link.h: Don't include <assert.h>.
44640         (elf_get_dynamic_info): Moved to ...
44641         * elf/get-dynamic-info.h: Here.  New file.
44642         * elf/dynamic-link.h: Include "get-dynamic-info.h".
44643         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
44644         * elf/setup-vdso.h: Here.  New file.
44645         * elf/rtld.c: Include "setup-vdso.h".
44646         (dl_main): Call setup_vdso.
44648 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
44650         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
44651         creal in comment listing functions tested.  List finite, isinf,
44652         isnan, isless, islessequal, isgreater, isgreaterequal,
44653         islessgreater, isunordered, lgamma_r and pow10 as functions and
44654         macros not tested.  Mention which functions not tested are aliases
44655         for other functions.  Fix typo.  Note that signs of NaNs are not
44656         tested.
44658         * scripts/config.guess: Update from config.git.
44659         * scripts/config.sub: Likewise.
44661 2012-10-04  Roland McGrath  <roland@hack.frob.com>
44663         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
44664         * misc/madvise.c (madvise): Renamed to __madvise.
44665         Make madvise a weak alias.
44666         * include/sys/mman.h: Declare __madvise.
44667         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
44668         * sysdeps/unix/syscalls.list
44669         (madvise): Make __madvise the strong name, and madvise a weak alias.
44670         * sysdeps/unix/sysv/linux/syscalls.list
44671         (madvise, mmap): Remove redundant entries.
44672         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
44673         * malloc/malloc.c (mtrim): Likewise.
44674         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
44676 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44678         * sysdeps/mach/hurd/dl-cache.c: File removed.
44679         * config.h.in (USE_LDCONFIG): New #undef.
44680         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
44681         * configure: Regenerated.
44682         * elf/Makefile (dl-routines): Add dl-cache only under
44683         [$(use-ldconfig) = yes].
44684         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
44685         cache on [USE_LDCONFIG].
44686         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
44687         [USE_LDCONFIG].
44688         * elf/rtld.c (dl_main): Likewise.
44690 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
44692         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
44693         _SC_LEVEL4_CACHE_LINESIZE.
44695 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44697         * sysdeps/unix/bsd/confstr.h: File removed.
44699 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
44701         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
44702         sys/sdt-config.h.
44704 2012-10-02  Roland McGrath  <roland@hack.frob.com>
44706         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
44707         Make 'mapoff' field ElfW(Off) rather than off_t.
44709 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
44711         * nscd/Makefile: Remove nscd-cflags and all its users.
44712         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
44713         (CFLAGS-nonlib): Add compiler flags for nscd modules.
44715         [BZ #10631]
44716         * malloc.c (malloc_printerr): Clarify error message.
44718 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
44720         [BZ #14648]
44721         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44722         Set bit_FMA_Usable if FMA is supported.
44723         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44724         macro.
44725         (bit_FMA4_Usable): Updated.
44726         (index_FMA_Usable): New macro.
44727         (CPUID_FMA): Likewise
44728         (HAS_FMA): Defined with bit_FMA_Usable.
44730 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44732         * bits/types.h (__swblk_t): Type removed.
44733         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44734         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44735         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44736         (__SWBLK_T_TYPE): Likewise.
44737         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44738         (__SWBLK_T_TYPE): Likewise.
44739         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44740         (__SWBLK_T_TYPE): Likewise.
44741         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44742         (__SWBLK_T_TYPE): Likewise.
44744 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
44745             Honza Horak <hhorak@redhat.com>
44747         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44748         (xdr_mapname): Use YPMAXMAP as maxsize.
44749         (xdr_peername): Use YPMAXPEER as maxsize.
44750         (xdr_keydat): Use YPAXRECORD as maxsize.
44751         (xdr_valdat): Use YPMAXRECORD as maxsize.
44753 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44755         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44757         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44758         * csu/init-first.c: ... here.
44759         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44760         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44761         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44762         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44763         * sysdeps/i386/init-first.c: File removed.
44764         * sysdeps/sh/init-first.c: File removed.
44766 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
44768         [BZ #14645]
44769         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44770         if x * y might underflow to zero and z is zero.
44771         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44772         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44773         * math/libm-test.inc (min_subnorm_value): New variable.
44774         (fma_test): Add more tests.
44775         (fma_test_towardzero): Likewise.
44776         (fma_test_downward): Likewise
44777         (fma_test_upward): Likewise.
44778         (initialize): Set min_subnorm_value.
44780 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44782         [BZ #14638]
44783         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44784         0 + 0.
44785         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44786         mode for addition resulting in exact zero.
44787         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44788         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44789         exact 0 + 0.
44790         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44791         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44792         * math/libm-test.inc (fma_test): Add more tests.
44793         (fma_test_towardzero): New function.
44794         (fma_test_downward): Likewise.
44795         (fma_test_upward): Likewise.
44796         (main): Call the new functions.
44798 2012-09-28  David S. Miller  <davem@davemloft.net>
44800         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44802 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44804         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44805         instead of SIGALRM.
44807         * sysdeps/gnu/_G_config.h: Moved to ...
44808         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44809         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44810         * sysdeps/generic/_G_config.h: ... here.
44812         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44814         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44816         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44817         Conditionalize target on [libnss_test1.so-version].
44819         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44821         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44822         (elfobjdir): Move out of conditionals.
44824         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44825         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44826         (__nss_lookup_function): Conditionalize label remove_from_tree on
44827         [!DO_STATIC_NSS || SHARED], matching its only use.
44829 2012-09-28  David S. Miller  <davem@davemloft.net>
44831         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44832         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44833         file.
44834         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44835         sysdep_routines.
44836         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44837         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44838         when HWCAP_SPARC_CRYPTO is present.
44840 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44842         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44844 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44846         [BZ #6530]
44847         * stdio-common/vfprintf.c (process_string_arg): Revert
44848         2000-07-22 change.
44850 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44852         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44853         for testcase.
44854         * stdio-common/tst-sprintf.c: Include <locale.h>
44855         (main): Test sprintf's handling of incomplete multibyte
44856         characters.
44858 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44860         * elf/dl-runtime.c (VERSYMIDX): Removed.
44861         * elf/dl-version.c (VERSYMIDX): Likewise.
44862         * elf/do-rel.h (VERSYMIDX): Likewise.
44863         (VALIDX): Likewise.
44864         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44865         * elf/rtld.c (VALIDX): Likewise.
44866         (ADDRIDX): Likewise.
44867         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44868         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44869         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44870         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44871         (VALIDX): Likewise.
44872         (ADDRIDX): Likewise.
44874 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44876         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44878 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44880         [BZ #11438]
44881         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44882         to global scope.
44883         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44884         addresses are in the same scope as 192.0.2/24.
44885         * posix/gai.conf: Document new scope table defaults.
44887 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44889         [BZ #5298]
44890         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44891         for ftell.  Compute offsets from write pointers instead.
44892         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44894 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44896         [BZ #14543]
44897         * libio/Makefile (tests): New test case tst-fseek.
44898         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44899         combination works in wide mode.
44900         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44901         state when the external buffer state changes.
44903 2012-09-27  David S. Miller  <davem@davemloft.net>
44905         [BZ #14376]
44906         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44907         pass reloc->r_addend in as the 'high' argument to
44908         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44910         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44912 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44914         * rt/tst-aio2.c: Include <pthread.h>.
44915         * rt/tst-aio3.c: Likewise.
44917 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44919         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44921 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44923         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44924         contents on [SHARED].
44926 2012-09-26  Marek Polacek  <polacek@redhat.com>
44928         [BZ #14530]
44929         [BZ #13741]
44930         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44931         for C++ and GCC <4.3 as well as for non GCC compilers.
44933 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44935         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44937 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44939         * Makefile.in (all, install): Declare with .PHONY.
44940         Reported by Michael Hope <michael.hope@linaro.org>.
44942 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44944         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44945         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44946         system header.
44947         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44948         Likewise.
44949         (sydep_routines): Add the new and the internal functions.
44950         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44951         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44953         (GLIBC_2.17): Add the new function.
44954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44955         (GLIBC_2.17): Likewise.
44956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44957         (GLIBC_2.17): Likewise.
44958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44959         (GLIBC_2.17): Likewise.
44960         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44962 2012-09-25  Alan Modra  <amodra@gmail.com>
44964         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44965         Add release barrier before setting once_control to say
44966         initialisation is done.  Add hints on lwarx.  Use macro in
44967         place of isync.
44968         (clear_once_control): Add release barrier.
44970 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44972         [BZ #13629]
44973         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44974         specially.
44975         * math/s_clog10.c (__clog10): Likewise.
44976         * math/s_clog10f.c (__clog10f): Likewise.
44977         * math/s_clog10l.c (__clog10l): Likewise.
44978         * math/s_clogf.c (__clogf): Likewise.
44979         * math/s_clogl.c (__clogl): Likewise.
44980         * math/Makefile (libm-calls): Add x2y2m1.
44981         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44982         (__x2y2m1): Likewise.
44983         (__x2y2m1l): Likewise.
44984         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44985         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44986         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44987         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44988         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44989         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44990         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44991         * sysdeps/i386/fpu/libm-test-ulps: Update.
44992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44994         [BZ #14621]
44995         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44996         int as type of variable DEPTH.
44997         (glob): Use size_t instead of int as type of variables NEWCOUNT
44998         and OLD_PATHC.
45000 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45002         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45003         Add s_sincosf-sse2.
45004         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
45005         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
45006         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
45007         macros for using routine as __sincosf_ia32.
45008         Use macro for function declaration and weak_alias.
45009         * sysdeps/i386/fpu/libm-test-ulps: Update.
45011         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
45012         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45014         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
45015         subnormal argument.
45016         * math/s_cexpf.c (__cexpf): Likewise.
45017         * math/s_csinf.c (__csinf): Likewise.
45018         * math/s_csinhf.c (__csinhf): Likewise.
45019         * math/s_ctanf.c (__ctanf): Likewise.
45020         * math/s_ctanhf.c (__ctanhf): Likewise.
45021         * math/s_ccosh.c (__ccoshf): Likewise.
45022         * math/s_cexp.c (__cexpl): Likewise.
45023         * math/s_csin.c (__csin): Likewise.
45024         * math/s_csinh.c (__csinh): Likewise.
45025         * math/s_ctan.c (__ctan): Likewise.
45026         * math/s_ctanh.c (ctanh): Likewise.
45027         * math/s_ccoshl.c (__ccoshl): Likewise.
45028         * math/s_cexpl.c (__cexpl): Likewise.
45029         * math/s_csinl.c (__csinl): Likewise.
45030         * math/s_csinhl.c (__csinhl): Likewise.
45031         * math/s_ctanl.c (__ctanl): Likewise.
45032         * math/s_ctanhl.c (__ctanhl): Likewise.
45034 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
45036         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
45037         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
45038         (_IO_off_t): Define to __off_t, not _G_off_t.
45039         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
45040         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
45041         (_IO_wint_t): Define to wint_t, not _G_wint_t.
45042         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
45043         type of __dummy and __dummy2 fields.
45044         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
45045         (_G_ssize_t): Likewise.
45046         (_G_off_t): Likewise.
45047         (_G_pid_t): Likewise.
45048         (_G_uid_t): Likewise.
45049         (_G_wchar_t): Likewise.
45050         (_G_wint_t): Likewise.
45051         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
45052         (_G_ssize_t): Likewise.
45053         (_G_off_t): Likewise.
45054         (_G_pid_t): Likewise.
45055         (_G_uid_t): Likewise.
45056         (_G_wchar_t): Likewise.
45057         (_G_wint_t): Likewise.
45058         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
45059         (_G_ssize_t): Likewise.
45060         (_G_off_t): Likewise.
45061         (_G_pid_t): Likewise.
45062         (_G_uid_t): Likewise.
45063         (_G_wchar_t): Likewise.
45064         (_G_wint_t): Likewise.
45066 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45068         * malloc/arena.c: Include malloc-sysdep.h.
45069         (shrink_heap): Use check_may_shrink_heap to decide if madvise
45070         is sufficient to shrink the heap or an unmap is needed.
45071         * sysdeps/generic/malloc-sysdep.h: New file.  Define
45072         new function check_may_shrink_heap.
45073         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
45074         new function check_may_shrink_heap.
45076 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45078         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
45079         comments.
45081 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
45083         * catgets/test-gencat.sh: Add "set -e".
45084         * elf/tst-pathopt.sh: Likewise.
45085         * grp/tst_fgetgrent.sh: Likewise.
45086         * iconvdata/run-iconv-test.sh: Likewise.
45087         * intl/tst-gettext.sh: Likewise.
45088         * intl/tst-gettext2.sh: Likewise.
45089         * intl/tst-gettext4.sh: Likewise.
45090         * intl/tst-gettext6.sh: Likewise.
45091         * intl/tst-translit.sh: Likewise.
45092         * io/ftwtest-sh: Likewise.
45093         * libio/test-freopen.sh: Likewise.
45094         * malloc/tst-mtrace.sh: Likewise.
45095         * posix/globtest.sh: Likewise.
45096         * posix/tst-getconf.sh: Likewise.
45097         * posix/wordexp-tst.sh: Likewise.
45098         * stdio-common/tst-printf.sh: Likewise.
45099         * stdio-common/tst-unbputc.sh: Likewise.
45100         * stdlib/tst-fmtmsg.sh: Likewise.
45101         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45102         * catgets/Makefile: Do not specify -e option when running
45103         testsuite shell scripts.
45104         * elf/Makefile: Likewise.
45105         * grp/Makefile: Likewise.
45106         * iconvdata/Makefile: Likewise.
45107         * intl/Makefile: Likewise.
45108         * io/Makefile: Likewise.
45109         * libio/Makefile: Likewise.
45110         * malloc/Makefile: Likewise.
45111         * posix/Makefile: Likewise.
45112         * stdio-common/Makefile: Likewise.
45113         * stdlib/Makefile: Likewise.
45114         * sysdeps/x86_64/Makefile: Likewise.
45116         * io/ftwtest-sh: Add copyright header.
45117         * posix/globtest.sh: Likewise.
45118         * posix/tst-getconf.sh: Likewise.
45119         * posix/wordexp-tst.sh: Likewise.
45120         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45122 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
45124         [BZ #13679]
45125         * Makeconfig (+link): Defined as $(+link-static) if
45126         $(build-shared) isn't yes.
45127         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
45128         isn't yes.
45129         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
45131         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
45133         [BZ #14562]
45134         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
45135         new chunk size with MALLOC_ALIGN_MASK.
45137 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
45139         [BZ #5044]
45140         * stdio-common/printf_fphex.c: Include <stdbool.h> and
45141         <rounding-mode.h>.
45142         (__printf_fphex): Determine rounding using get_rounding_mode and
45143         round_away.
45144         * stdio-common/tst-printf-round.c (struct hex_test): New
45145         structure.
45146         (hex_tests): New variable.
45147         (test_hex_in_one_mode): New function.
45148         (do_test): Also run tests for hex float output.
45150 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
45152         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45153         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45154         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
45155         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45156         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45157         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
45158         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45159         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45161 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
45163         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
45164         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
45165         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
45166         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
45168 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
45170         [BZ #14579]
45171         * elf/rtld.c (dl_main): Limit the check for self loading to normal
45172         mode only.
45173         * elf/tst-rtld-load-self.sh: New test.
45174         * elf/Makefile: Run it.
45176 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
45178         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
45179         (tst-writev-ENV): Remove.
45180         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
45182 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
45184         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
45186 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
45188         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
45189         unconditional.
45190         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
45191         Likewise.
45192         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
45193         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
45194         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
45195         Likewise.
45197 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
45199         [BZ #14587]
45200         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
45201         * config.make.in (have-cpp-asm-debuginfo): Removed.
45202         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
45203         * configure: Regenerated.
45205 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
45207         [BZ #5044]
45208         * stdio-common/printf_fp.c: Include <stdbool.h> and
45209         <rounding-mode.h>.
45210         (___printf_fp): Determine rounding using get_rounding_mode and
45211         round_away.
45212         * stdio-common/tst-printf-round.c: New file.
45213         * stdio-common/Makefile (tests): Add tst-printf-round.
45214         (link-libm): New variable.
45215         ($(objpfx)tst-printf-round): Depend in $(link-libm).
45217 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
45219         [BZ #14576]
45220         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
45221         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
45222         Likewise.
45223         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
45224         Likewise.
45226 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
45228         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
45229         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45230         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45231         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45233 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
45235         [BZ #14518]
45236         * include/rounding-mode.h: New file.
45237         * sysdeps/generic/get-rounding-mode.h: Likewise.
45238         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
45239         * stdlib/strtod_l.c: Include <rounding-mode.h>.
45240         (MAX_VALUE): New macro.
45241         (MIN_VALUE): Likewise.
45242         (overflow_value): New function.
45243         (underflow_value): Likewise.
45244         (round_and_return): Use overflow_value and underflow_value to
45245         determine return values in overflow and underflow cases.  Use
45246         round_away to determine rounding depending on rounding mode.
45247         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
45248         determine return values in overflow and underflow cases.
45249         * stdlib/tst-strtod-round.c: Include <fenv.h>.
45250         (struct test_results): New structure.
45251         (struct test): Use struct test_results to store expected results
45252         for all rounding modes.
45253         (TEST): Include expected results for all rounding modes.
45254         (test_in_one_mode): New function.
45255         (do_test): Use test_in_one_mode to compute and check results.
45256         Check results for all rounding modes.
45257         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
45258         $(link-libm).
45260 2012-12-09  Allan McRae  <allan@archlinux.org>
45262         * sysdeps/i386/fpu/libm-test-ulps: Update
45264 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
45266         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
45267         (_G_int32_t): Likewise.
45268         (_G_uint16_t): Likewise.
45269         (_G_uint32_t): Likewise.
45270         (_G_HAVE_BOOL): Likewise.
45271         (_G_HAVE_ATEXIT): Likewise.
45272         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45273         (_G_HAVE_IO_FILE_OPEN): Likewise.
45274         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
45275         (_G_int32_t): Likewise.
45276         (_G_uint16_t): Likewise.
45277         (_G_uint32_t): Likewise.
45278         (_G_HAVE_BOOL): Likewise.
45279         (_G_HAVE_ATEXIT): Likewise.
45280         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45281         (_G_HAVE_IO_FILE_OPEN): Likewise.
45282         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
45283         (_G_int32_t): Likewise.
45284         (_G_uint16_t): Likewise.
45285         (_G_uint32_t): Likewise.
45286         (_G_HAVE_BOOL): Likewise.
45287         (_G_HAVE_ATEXIT): Likewise.
45288         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45289         (_G_HAVE_IO_FILE_OPEN): Likewise.
45291 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
45293         * csu/libc-tls.c: Update copyright years.
45295 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
45297         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
45298         [!_G_USING_THUNKS]: Remove conditional code.
45299         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
45300         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
45302         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
45303         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
45304         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45305         (_G_VTABLE_LABEL_PREFIX): Likewise.
45306         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45307         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45308         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45309         (_G_VTABLE_LABEL_PREFIX): Likewise.
45310         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45311         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45312         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45313         (_G_VTABLE_LABEL_PREFIX): Likewise.
45314         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45316 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
45318         * libio/Makefile: Include ../Makeconfig before tests.
45319         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
45320         only if $(build-shared) is yes.
45322         * iconv/gconv_db.c: Update copyright years.
45324 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45326         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
45327         unwind info if defined PIC. Fix special cases description.
45328         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
45330         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
45331         DP_HI_MASK entry.
45332         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
45334 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
45336         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
45338         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
45339         is NULL.
45341         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
45342         (LDLIBS-tst-chk4): This.
45343         (LDFLAGS-tst-chk5): Renamed to ...
45344         (LDLIBS-tst-chk5): This.
45345         (LDFLAGS-tst-chk6): Renamed to ...
45346         (LDLIBS-tst-chk6): This.
45347         (LDFLAGS-tst-lfschk4): Renamed to ...
45348         (LDLIBS-tst-lfschk4): This.
45349         (LDFLAGS-tst-lfschk5): Renamed to ...
45350         (LDLIBS-tst-lfschk5): This.
45351         (LDFLAGS-tst-lfschk6): Renamed to ...
45352         (LDLIBS-tst-lfschk6): This.
45354         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
45355         on $(common-objpfx)soversions.mk.
45357 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
45359         [BZ #10014]
45360         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
45361         example host name.
45363 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45365         * malloc/arena.c (arena_get_retry): New function that gets
45366         another arena for the caller to try its request on.
45367         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
45368         current arena cannot fulfill the request.
45369         (__libc_memalign): Likewise.
45370         (__libc_memalign): Likewise.
45371         (__libc_pvalloc): Likewise.
45372         (__libc_calloc): Likewise.
45374 2012-09-05  John Tobey  <john.tobey@gmail.com>
45376         [BZ #13542]
45377         * manual/arith.texi (Operations on Complex): Fix description
45378         of carg branch cut.
45380 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45382         [BZ #10014]
45383         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
45384         host name.
45386         [BZ #10038]
45387         * manual/memory.texi (Memory): Make order of menu items match
45388         order of sections.
45390 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45392         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
45393         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
45394         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
45396 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45398         * csu/libc-tls.c (static_dtv): Renamed to ...
45399         (_dl_static_dtv): This.  Make it global.
45400         (_dl_initial_dtv): Removed.
45401         (__libc_setup_tls): Updated.
45402         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
45403         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
45404         DL_INITIAL_DTV.
45406 2012-09-06  Petr Machata  <pmachata@redhat.com>
45408         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
45409         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
45410         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
45411         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
45413 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45415         [BZ #14545]
45416         * csu/libc-tls.c (_dl_initial_dtv): New variable.
45417         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
45418         freeing dtv[-1].
45420 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45422         [BZ #14544]
45423         * Makeconfig (link-static-before-libc): Replace $(+prector)
45424         with $(+prectorT).
45425         (link-static-after-libc): Replace $(+postctor) with
45426         $(+postctorT).
45427         (link-bounded): Replace $(+prector)/$(+postctor) with
45428         $(+prectorT)/$(+postctorT).
45429         (+prectorT): New macro.
45430         (+postctorT): Likewise.
45432 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45434         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
45435         (round_str): Handle values above the maximum for IBM long double
45436         as inexact.
45437         * stdlib/tst-strtod-round.c (tests): Regenerated.
45439 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45441         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
45442         assembler flag.
45443         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
45444         zarch_nohighgprs around the zarch optimized routines.
45445         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
45446         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
45447         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
45448         for zarch.
45450 2012-09-05  David S. Miller  <davem@davemloft.net>
45452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45454         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
45455         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
45456         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
45457         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45458         entries.
45460 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45462         * malloc/arena.c: Fold copyright years.
45463         * malloc/mcheck.c, malloc/memusage.c: Likewise.
45465 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45467         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
45469 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45471         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
45473 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45475         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
45476         change internal state upon failure.
45478 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45480         * malloc/mcheck.c (mcheck_check_all): Fix typo.
45481         * malloc/memusage.c (mmap): Likewise.
45482         (mmap64, mremap): Likewise.  Adjust name in comment.
45484 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45486         * libio/fileops.c: Fix typos in comments.
45487         * libio/oldfileops.c: Likewise.
45488         * libio/wfileops.c: Likewise.
45490 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45492         [BZ #1349]
45493         * malloc/Makefile (tests): Add tst-malloc-usable test case.
45494         (tst-malloc-usable-ENV): Set environment for test case.
45495         * malloc/hooks.c (malloc_check_get_size): New function to get
45496         requested size.
45497         * malloc/malloc.c (musable): Use malloc_check_get_size.
45498         * malloc/tst-malloc-usable.c: New test case.
45500 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45502         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
45504 2012-09-05  Allan McRae  <allan@archlinux.org>
45506         [BZ #13966]
45507         * configure.in (CXX_SYSINCLUDES): Use compiler output to
45508         determine header location.
45509         * configure: Regenerated.
45511 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45513         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
45514         float format.
45515         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
45516         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
45517         format.
45518         (test): Regenerate.
45520 2012-09-04  David S. Miller  <davem@davemloft.net>
45522         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
45523         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
45524         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
45526 2012-09-04  Florian Weimer  <fweimer@redhat.com>
45528         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
45529         failures.
45531         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
45533 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
45535         [BZ #9914]
45536         * libio/iogetdelim.c: Include <limits.h>.
45537         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
45538         + len + 1 would overflow.
45540 2012-09-03  Andreas Jaeger  <aj@suse.de>
45542         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45543         * sysdeps/i386/fpu/libm-test-ulps: Update.
45545 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45547         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45548         Add s_sinf-sse2, s_conf-sse2.
45550         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
45551         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
45552         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
45553         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
45555         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
45556         for using routine as __sinf_ia32.
45557         Use macro for function declaration and weak_alias.
45558         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
45559         for using routine as __cosf_ia32.
45560         Use macro for function declaration and weak_alias.
45562         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
45563         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
45565         * sysdeps/x86_64/fpu/s_sinf.S: New file.
45566         * sysdeps/x86_64/fpu/s_cosf.S: New file.
45567         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45569         * math/libm-test.inc (cos_test): Add more test cases.
45570         (sin_test): Likewise.
45571         (sincos_test): Likewise.
45573 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45575         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
45576         (IFUNC_RESOLVE): Make pointers to the specialized implementations
45577         hidden.
45578         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45580 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
45582         [BZ #14538]
45583         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
45584         first element of the GOT.
45585         (elf_machine_load_address): Return the difference between
45586         the runtime address of _DYNAMIC and elf_machine_dynamic ().
45588 2012-09-01  Allan McRae  <allan@archlinux.org>
45590         [BZ #13412]
45591         * configure.in (AWK): Require gawk version 3.0 or later.
45592         * configure: Regenerated.
45594 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
45596         * sysdeps/unix/sysv/linux/kernel-features.h
45597         (__ASSUME_POSIX_CPU_TIMERS): Remove.
45598         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45599         [__NR_clock_getres]: Make code unconditional.
45600         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
45601         (clock_getcpuclockid): Remove code left unreachable by removal of
45602         conditionals.
45603         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
45604         code unconditional.
45605         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45606         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45607         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
45608         Make code unconditional.
45609         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45610         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45611         * sysdeps/unix/sysv/linux/clock_settime.c
45612         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
45613         conditional code.
45614         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
45615         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45617 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
45619         [BZ #14476]
45620         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
45621         scripts/test-installation.pl.
45623         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
45624         and $ld_so_version if it is set.
45626 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45628         [BZ #14516]
45629         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
45630         failure if reading from procfs failed.
45631         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
45633 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45635         * sysdeps/unix/sysv/linux/kernel-features.h
45636         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
45637         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45638         Remove conditional code.
45639         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45640         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
45641         Remove conditional code.
45642         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45643         * sysdeps/unix/sysv/linux/i386/fxstat.c
45644         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45645         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45646         * sysdeps/unix/sysv/linux/i386/fxstatat.c
45647         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45648         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45649         * sysdeps/unix/sysv/linux/i386/lxstat.c
45650         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45651         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45652         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
45653         Remove conditional code.
45654         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45655         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45656         Remove conditional code.
45657         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45658         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
45659         <kernel-features.h>.
45660         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
45661         Remove.
45662         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
45663         Remove conditional code.
45664         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45665         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
45666         Remove conditional.
45668 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
45670         [BZ #5400]
45671         * NEWS: Add fixed bug number.
45673 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45675         [BZ #14519]
45676         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
45677         underflowing exponent in case of negative sign.
45678         * stdlib/tst-strtod-round-data: Add more tests.
45679         * stdlib/tst-strtod-round.c (tests): Regenerated.
45681         [BZ #3479]
45682         * stdlib/strtod_l.c (NDIG): Remove.
45683         (HEXNDIG): Likewise.
45684         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
45685         smallest representable value.
45686         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
45687         lie within an exact representation of 1/2 ulp of the result.
45688         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
45689         unconditionally.
45690         (TENS_P9_IDX): Define unconditionally.
45691         (TENS_P9_SIZE): Likewise.
45692         (TENS_P10_IDX): Likewise.
45693         (TENS_P10_SIZE): Likewise.
45694         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
45695         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
45696         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
45697         entries for 10^2^13 and 10^2^14.
45698         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
45699         (TENS_P13_IDX): Define.
45700         (TENS_P13_SIZE): Likewise.
45701         (TENS_P14_IDX): Likewise.
45702         (TENS_P14_SIZE): Likewise.
45703         (_fpioconst_pow10): Change array size to
45704         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
45705         unconditional.
45706         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
45707         1024]: Add entries for 10^2^13 and 10^2^14.
45708         [LAST_POW10 > _LAST_POW10]: Remove #error.
45709         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
45710         (_fpioconst_pow10): Change array size to
45711         FPIOCONST_POW10_ARRAY_SIZE.
45712         * stdlib/gen-fpioconst.c: New file.
45713         * stdlib/gen-tst-strtod-round.c: Likewise.
45714         * stdlib/tst-strtod-round-data: Likewise.
45715         * stdlib/tst-strtod-round.c: Likewise.
45716         * stdlib/Makefile (tests): Add tst-strtod-round.
45718         [BZ #14459]
45719         * stdlib/strtod_l.c: Include <stdint.h>.
45720         (NDEBUG): Do not define.
45721         (round_and_return): Change EXPONENT parameter to type intmax_t.
45722         Rearrange calculations to avoid internal overflow possibilities.
45723         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45724         Rearrange calculations to avoid internal overflow possibilities.
45725         Assert that number fits inside MPNSIZE limbs.
45726         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45727         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
45728         calculations and add assertions to avoid internal overflow
45729         possibilities.  Add casts to avoid signed/unsigned operations.
45730         * stdlib/tst-strtod-overflow.c: New file.
45731         * stdlib/Makefile (tests): Add tst-strtod-overflow.
45733 2012-08-25  Marek Polacek  <polacek@redhat.com>
45735         * time/time.h: Fix some typos in comments.
45737 2012-08-23  Roland McGrath  <roland@hack.frob.com>
45739         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45740         * posix/tst-rfc3484-2.c: Likewise.
45741         * posix/tst-rfc3484-3.c: Likewise.
45743 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
45745         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45746         (EF_ARM_ABI_FLOAT_HARD): Likewise.
45748 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
45750         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45751         #include of fxstatat64.c.
45753 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45755         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45756         * shadow/getspent_r.c: Likewise.
45757         * shadow/getspnam.c: Likewise.
45758         * shadow/getspnam_r.c: Likewise.
45759         * gshadow/getsgent.c: Likewise.
45760         * gshadow/getsgent_r.c: Likewise.
45761         * gshadow/getsgnam.c: Likewise.
45762         * gshadow/getsgnam_r.c: Likewise.
45763         * inet/getnetbyad.c: Likewise.
45764         * inet/getnetbyad_r.c: Likewise.
45765         * inet/getnetbynm.c: Likewise.
45766         * inet/getnetbynm_r.c: Likewise.
45767         * inet/getnetent.c: Likewise.
45768         * inet/getnetent_r.c: Likewise.
45769         * inet/getproto.c: Likewise.
45770         * inet/getproto_r.c: Likewise.
45771         * inet/getprtent.c: Likewise.
45772         * inet/getprtent_r.c: Likewise.
45773         * inet/getprtname.c: Likewise.
45774         * inet/getprtname_r.c: Likewise.
45775         * inet/getrpcbyname.c: Likewise.
45776         * inet/getrpcbyname_r.c: Likewise.
45777         * inet/getrpcbynumber.c: Likewise.
45778         * inet/getrpcbynumber_r.c: Likewise.
45779         * inet/getrpcent.c: Likewise.
45780         * inet/getrpcent_r.c: Likewise.
45781         * inet/getaliasent.c: Likewise.
45782         * inet/getaliasent_r.c: Likewise.
45783         * inet/getaliasname.c: Likewise.
45784         * inet/getaliasname_r.c: Likewise.
45785         * nscd/getgrgid_r.c: Likewise.
45786         * nscd/getgrnam_r.c: Likewise.
45787         * nscd/gethstbyad_r.c: Likewise.
45788         * nscd/gethstbynm3_r.c: Likewise.
45789         * nscd/getpwnam_r.c: Likewise.
45790         * nscd/getpwuid_r.c: Likewise.
45791         * nscd/getsrvbynm_r.c: Likewise.
45792         * nscd/getsrvbypt_r.c: Likewise.
45793         * nscd/gai.c: Likewise.
45795         * configure.in (build_nscd): New substituted variable, set
45796         by --disable-build-nscd and defaults to $use_nscd.
45797         * configure: Regenerated.
45798         * config.make.in (build-nscd): New substituted variable.
45799         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45800         Change conditional to require [$(build-nscd) = yes] as well.
45801         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45803         [BZ# 13696]
45804         * configure.in (use_nscd): New substituted variable, set by
45805         --disable-nscd.  If enabled, define USE_NSCD.
45806         * configure: Regenerated.
45807         * config.h.in: Add USE_NSCD.
45808         * config.make.in (use-nscd): New substituted variable.
45809         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45810         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45811         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45812         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45813         (CFLAGS-getgrnam_r.c): Likewise.
45814         (CFLAGS-initgroups.c): Likewise.
45815         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45816         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45817         Variables removed.
45818         * inet/getnetgrent_r.c
45819         (nscd_setnetgrent): New function, broken out of ...
45820         (setnetgrent): ... here.  Call it.
45821         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45822         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45823         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45824         * nscd/Makefile (routines, aux): Move definitions after include of
45825         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45826         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45827         Conditionalize on [USE_NSCD].
45828         (is_nscd, nscd_init_cb): Likewise.
45829         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45830         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45831         * nss/nss_db/db-init.c: Likewise.
45832         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45833         [USE_NSCD].
45834         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45835         (make_request): Use it.
45836         (cache_valid_p): New function.
45837         (__check_pf): Use it.
45838         * NEWS: Add item for --disable-nscd.
45840 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45842         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45843         to support sed >= 4.2.1-20-ga9bf076.
45844         * configure: Regenerated.
45846 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45848         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45849         Conditionalize whole body on [IREL].
45851 2012-08-22  Jeff Law <law@redhat.com>
45853         [BZ #14505]
45854         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45855         if the family is PF_UNSPEC.
45857 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45859         * Makerules (lib-version): Rename from V.
45860         (install-lib-nosubdir): Change V to lib-version.
45862 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45864         [BZ #14252]
45865         * powerpc32/power6/wcschr.c: New file.
45866         * powerpc32/power6/wcscpy.c: New file.
45867         * powerpc32/power6/wcsrchr.c: New file.
45868         * powerpc64/power6/wcschr.c: New file.
45869         * powerpc64/power6/wcscpy.c: New file.
45870         * powerpc64/power6/wcsrchr.c: New file.
45872 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45874         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45875         (two_way_short_needle): Use it.
45876         * string/strstr.c (AVAILABLE1_USES_J): Define.
45877         * string/strcasestr.c: Likewise.
45879         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45880         array references.
45881         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45883         [BZ #11607]
45884         * NEWS: Add an entry.
45885         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45886         define their defaults.
45887         (two_way_short_needle): Detect end-of-string on-the-fly.
45888         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45889         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45890         * string/bug-strcasestr1.c: New test.
45891         * string/Makefile: Run it.
45893 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45895         [BZ #11607]
45896         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45897         the first character.
45899 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45901         * csu/elf-init.c (__libc_csu_irel): Function removed.
45902         * csu/libc-start.c (apply_irel): New function.
45903         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45905 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45907         * sysdeps/unix/sysv/linux/kernel-features.h
45908         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45909         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45910         <kernel-features.h>.
45911         [__NR_fadvise64_64]: Make code unconditional.
45912         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45913         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45914         !__NR_fadvise64_64)]: Likewise.
45915         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45916         !__NR_fadvise64_64))]: Likewise.
45917         [__NR_fadvise64]: Make code unconditional.
45918         [!__NR_fadvise64]: Remove conditional code.
45919         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45920         <kernel-features.h>.
45921         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45922         unconditional.
45923         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45924         conditional code.
45925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45926         not include <kernel-features.h>.
45927         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45928         unconditional.
45929         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45930         conditional code.
45931         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45932         include <kernel-features.h>.
45933         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45934         unconditional.
45935         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45936         conditional code.
45938 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45940         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45941         slight instruction rearrangements per scrollpipe analysis.
45942         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45944 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45946         * manual/syslog.texi (syslog; vsyslog, closelog):
45947         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45948         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45950         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45951         DSOCAPS to match condition on defining it.
45953 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45955         * sysdeps/unix/sysv/linux/kernel-features.h
45956         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45958         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45959         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45961         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45962         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45964         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45965         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45967         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45968         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45970         * sysdeps/unix/sysv/linux/kernel-features.h
45971         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45972         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45973         unconditional.
45974         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45975         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45976         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45977         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45978         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45979         Make code unconditional.
45980         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45981         (__mmap64) [!__NR_mmap2]: Likewise.
45982         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45983         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45984         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45985         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45986         [__NR_mmap2]: Make code unconditional.
45987         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45988         (__mmap64) [!__NR_mmap2]: Likewise.
45990 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45992         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45994 2012-08-18  Andreas Jaeger  <aj@suse.de>
45996         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45998 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
46000         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
46001         * include/unistd.h (__have_sock_cloexec): Likewise.
46002         (__have_pipe2): Likewise.
46003         (__have_dup3): Likewise.
46005 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
46007         [BZ #9685]
46008         * include/unistd.h (__have_pipe2): Change define into an extern int.
46009         (__have_dup3): Likewise.
46010         * socket/have_sock_cloexec.c: Include fcntl.h.
46011         (__have_pipe2): New variable.
46012         (__have_dup3): Likewise.
46014 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
46016         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
46018 2012-08-17  Marek Polacek  <polacek@redhat.com>
46020         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
46021         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
46023 2012-08-17  Roland McGrath  <roland@hack.frob.com>
46025         * configure.in: Add AC_SUBST for sysheaders.
46026         * configure: Regenerated.
46027         * config.make.in (sysheaders): New substituted variable.
46029         * sysdeps/unix/mkfifo.c: Moved ...
46030         * sysdeps/posix/mkfifo.c: ... here.
46031         * sysdeps/unix/mkfifoat.c: Moved ...
46032         * sysdeps/posix/mkfifoat.c: ... here.
46034         * sysdeps/unix/utime.c: Moved ...
46035         * sysdeps/posix/utime.c: ... here.
46037         * sysdeps/unix/time.c: Moved ...
46038         * sysdeps/posix/time.c: ... here.
46039         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
46040         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
46042         * sysdeps/unix/nice.c: Moved ...
46043         * sysdeps/posix/nice.c: ... here.
46045         * sysdeps/unix/alarm.c: Moved ...
46046         * sysdeps/posix/alarm.c: ... here.
46048         * intl/Makefile ($(codeset_mo)): Depend on the input file.
46050 2012-08-17  Jeff Law <law@redhat.com>
46052         * intl/Makefile (codeset_mo): New variable.
46053         ($(codeset_mo)): New target.
46054         (tst-codeset.out): Depend on that.  Remove explicit rule.
46055         (tst-gettext3.out, tst-gettext5.out): Likewise.
46056         (LOCPATH-ENV, tst-codeset-ENV): New variables.
46057         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
46058         * intl/tst-codeset.sh: Remove.
46059         * intl/tst-gettext3.sh: Likewise.
46060         * intl/tst-gettext5.sh: Likewise.
46062 2012-08-17  Roland McGrath  <roland@hack.frob.com>
46064         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
46065         * sysdeps/unix/syscalls.list: ... here.
46067         * sysdeps/posix/getaddrinfo.c
46068         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
46069         (gaiconf_init, gaiconf_reload): Use them.
46070         [!_STATBUF_ST_NSEC]
46071         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
46072         Define using time_t rather than struct timespec.
46074         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
46075         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
46076         Macros removed.
46077         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
46078         [!NO_THREADS].
46079         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
46080         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
46081         Likewise.
46083         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
46084         __libc_cleanup_push argument.
46086         * bits/param.h: New file.
46087         * misc/sys/param.h: New file.
46088         * include/sys/param.h: New file.
46089         * misc/Makefile (headers): Add bits/param.h.
46090         * sysdeps/generic/sys/param.h: File removed.
46091         * sysdeps/unix/sysv/linux/bits/param.h: New file.
46092         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
46093         * sysdeps/mach/hurd/bits/param.h: New file.
46094         * sysdeps/mach/hurd/sys/param.h: File removed.
46096         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
46097         last change.
46099         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
46100         [_IO_MTSAFE_IO].
46101         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
46102         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
46103         New macros.
46105         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
46106         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
46107         rather than -D_IO_MTSAFE_IO conditionally.
46108         * stdio-common/Makefile (CPPFLAGS): Likewise.
46109         * wcsmbs/Makefile (CPPFLAGS): Likewise.
46110         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
46111         Use $(libio-mtsafe).
46112         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
46113         of -D_IO_MTSAFE_IO.
46114         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
46115         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
46116         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
46117         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
46118         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
46119         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
46120         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
46121         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
46122         (CFLAGS-fread_u_chk.c): Likewise.
46123         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
46124         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
46125         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
46126         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
46127         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
46128         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
46129         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
46130         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
46131         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
46133         * libio/Makefile: Test [$(libc-reentrant) = yes]
46134         instead of [$(filter %REENTRANT, $(defines)) nonempty].
46136         * Makeconfig
46137         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
46138         * sysdeps/pthread/configure: File removed.
46139         * sysdeps/pthread/Makeconfig: New file.
46140         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
46141         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
46143 2012-08-16  Gary Benson  <gbenson@redhat.com>
46145         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
46146         unmapping the first object in a namespace.
46148 2012-08-16  Roland McGrath  <roland@hack.frob.com>
46150         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
46151         (__internal_setnetgrent): ... this.  Add internal_function to
46152         definition.  Add libc_hidden_def.
46153         (setnetgrent): Update caller.
46154         (internal_endnetgrent): Renamed to ...
46155         (__internal_endnetgrent): ... this.  Add internal_function to
46156         definition.  Add libc_hidden_def.
46157         (endnetgrent): Update caller.
46158         (internal_getnetgrent_r): Renamed to ...
46159         (__internal_getnetgrent_r): ... this.  Add internal_function to
46160         definition.  Add libc_hidden_def.
46161         (__getnetgrent_r): Update caller.
46162         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
46164 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
46166         * stdlib/longlong.h: Update from GCC.
46168 2012-08-16  Roland McGrath  <roland@hack.frob.com>
46170         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
46171         on _QL, which is set by umul_ppmm but never used.
46172         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
46173         variables, which are set by GMP macros but never used.
46174         * stdio-common/_itowa.c (_itowa): Likewise.
46175         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
46176         * stdlib/mod_1.c (mpn_mod_1): Likewise.
46178 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
46180         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
46181         struct La_sh_regs is not constant.
46182         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
46183         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
46184         and struct La_sparc64_regs are not constant.
46186 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
46188         * sysdeps/unix/sysv/linux/kernel-features.h
46189         (__ASSUME_POSIX_TIMERS): Remove.
46190         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46191         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46192         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
46193         Make code unconditional.
46194         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46195         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
46196         Make code unconditional.
46197         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46198         * sysdeps/unix/sysv/linux/clock_nanosleep.c
46199         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
46200         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46201         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
46202         Make code unconditional.
46203         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46204         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
46205         (__libc_missing_posix_timers): Remove.
46207 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46209         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
46210         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
46212         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
46214         * elf/dl-sym.c: Include <stdlib.h>.
46216         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
46217         constants, which avoids warnings in 32-bit builds.
46219         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
46220         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
46222         * misc/lseek.c: File moved to ...
46223         * io/lseek.c: ... here.
46225         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
46227         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
46228         shifting LEN more than 31 bits at once.
46230 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46232         [BZ #14195]
46233         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
46234         segmentation fault for a case of two empty input strings.
46235         * string/test-strncasecmp.c (check1): Renamed to...
46236         (bz12205): ...this.
46237         (bz14195): Add new testcase for two empty input strings and N > 0.
46238         (test_main): Call new testcase, adapt for renamed function.
46240 2012-08-15  Andreas Jaeger  <aj@suse.de>
46242         [BZ #14090]
46243         * crypt/md5test2.c: New test, based on test supplied by Serge
46244         Belyshev <belyshev@depni.sinp.msu.ru>.
46245         * crypt/Makefile (xtests): Add md5test-giant..
46246         * crypt/Makefile ($(objpfx)md5test-giant): Add.
46248 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
46250         [BZ #14090]
46251         * crypt/md5.c (md5_process_block): Don't assume the buffer
46252         length is less than 2**32.
46253         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
46254         length is less than 2**64.
46256 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46258         * string/str-two-way.h: Include <sys/param.h>.
46259         (MAX): Macro removed.
46261         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
46262         Move #define and #undef of memmove to just before and after
46263         including <string.h>.
46265         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
46266         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
46267         and after including <string.h>.  Move declarations of
46268         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
46269         to before #include "string/memmove.c".
46271         * include/dirent.h: Declare __getdirentries.
46273         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
46274         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
46276 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
46278         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
46279         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
46280         * sysdeps/i386/configure: Regenerated.
46281         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
46282         STABS_CURRENT_FILE, and STABS_FUN.
46283         (END): Remove call to STABS_FUN_END.
46284         (STABS_CURRENT_FILE1): Delete.
46285         (STABS_CURRENT_FILE): Likewise.
46286         (STABS_FUN): Likewise.
46287         (STABS_FUN_END): Likewise.
46288         (STABS_FUN2): Likewise.
46289         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
46290         * sysdeps/x86_64/configure: Regenerated.
46292 2012-08-14  Roland McGrath  <roland@hack.frob.com>
46294         * elf/dl-open.c: Include <atomic.h>.
46295         * elf/dl-lookup.c: Likewise.
46297 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
46299         * sysdeps/unix/sysv/linux/kernel-features.h
46300         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
46301         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
46302         unconditionally.
46303         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
46304         unconditionally.
46305         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
46306         condition on __ASSUME_CLONE_THREAD_FLAGS.
46308 2012-08-14  Andreas Jaeger  <aj@suse.de>
46310         * sysdeps/i386/fpu/libm-test-ulps: Update.
46312 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
46314         * include/atomic.h (atomic_exchange_and_add): Split into ...
46315         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
46316         New atomic macros.
46318 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
46320         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46322 2012-08-13  Jeff Law <law@redhat.com>
46324         * manual/stdio.texi (snprintf): Clarify handling of the trailing
46325         null byte in the output string.
46327 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
46329         * sysdeps/unix/sysv/linux/kernel-features.h
46330         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
46331         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
46332         (__ASSUME_ARG_MAX_STACK_BASED): Define.
46333         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46334         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
46335         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
46336         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
46338 2012-08-09  Jeff Law <law@redhat.com>
46340         [BZ #13939]
46341         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
46342         When avoid_arena is set, don't retry in the that arena.  Pick the
46343         next one, whatever it might be.
46344         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
46345         (arena_lock): Pass in new parameter to arena_get2.
46346         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
46347         arena_get2.
46348         (__libc_malloc): Unify retrying after main arena failure with
46349         __libc_memalign version.
46350         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
46352 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
46354         [BZ #14166]
46355         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
46356         to __redirect_strstr.
46357         (__strstr_sse42): Use typeof __redirect_strstr.
46358         (__strstr_ia32): Likewise.
46359         (__libc_strstr): New prototype.
46360         (strstr): Renamed to ...
46361         (__libc_strstr): This.
46362         (strstr): New strong alias of __libc_strstr.
46363         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46364         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
46365         __redirect_time.
46366         Include <time.h>.
46367         (__libc_time): New prototype.
46368         (time_ifunc): Replace time with __libc_time.
46369         (time): New strong alias and hidden definition of __libc_time.
46370         (__GI_time): Remove strong alias.
46371         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
46372         Include <stddef.h>.
46373         (memmove): Redefined to __redirect_memmove.
46374         (__memmove_sse2): Use typeof __redirect_memmove.
46375         (__memmove_ssse3): Likewise.
46376         (__memmove_ssse3_back): Likewise.
46377         (__libc_memmove): New prototype.
46378         (memmove): Renamed to ...
46379         (__libc_memmove): This.
46380         (memmove): New strong alias of __libc_memmove.
46382 2012-08-08  Mark Salter  <msalter@redhat.com>
46384         * elf/elf.h
46385         (R_MN10300_TLS_GD): Define.
46386         (R_MN10300_TLS_LD): Likewise.
46387         (R_MN10300_TLS_LDO): Likewise.
46388         (R_MN10300_TLS_GOTIE): Likewise.
46389         (R_MN10300_TLS_IE): Likewise.
46390         (R_MN10300_TLS_LE): Likewise.
46391         (R_MN10300_TLS_DTPMOD): Likewise.
46392         (R_MN10300_TLS_DTPOFF): Likewise.
46393         (R_MN10300_TLS_TPOFF): Likewise.
46394         (R_MN10300_SYM_DIFF): Likewise.
46395         (R_MN10300_ALIGN): Likewise.
46396         (R_MN10300_NUM): Update.
46398 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
46400         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
46401         Remove.
46403 2012-08-08  Roland McGrath  <roland@hack.frob.com>
46405         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
46407         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
46408         sysdeps/unix -> sysdeps/posix move.
46409         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46411 2012-08-07      Allan McRae     <allan@archlinux.org>
46413         [BZ #14303]
46414         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
46415         (SUNOS_CPP): Likewise.
46416         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
46417         not found.
46418         (open_input): Call CPP using execvp.
46420 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46422         * sysdeps/unix/sysv/linux/kernel-features.h
46423         (__ASSUME_PROT_GROWSUPDOWN): Remove.
46424         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46425         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46426         (__ASSUME_WAITID_SYSCALL): Likewise.
46427         * sysdeps/unix/sysv/linux/dl-execstack.c
46428         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
46429         code unconditional.
46430         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
46431         conditional code.
46432         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
46433         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
46434         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
46435         code.
46436         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
46437         unconditional.
46438         [__ASSUME_WAITID_SYSCALL]: Likewise.
46439         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
46441 2012-08-07  Roland McGrath  <roland@hack.frob.com>
46443         * sysdeps/unix/closedir.c: Renamed to ...
46444         * sysdeps/posix/closedir.c: ... here.
46445         * sysdeps/unix/dirfd.c: Renamed to ...
46446         * sysdeps/posix/dirfd.c: ... here.
46447         * sysdeps/unix/dirstream.h: Renamed to ...
46448         * sysdeps/posix/dirstream.h: ... here.
46449         * sysdeps/unix/fdopendir.c: Renamed to ...
46450         * sysdeps/posix/fdopendir.c: ... here.
46451         * sysdeps/unix/opendir.c: Renamed to ...
46452         * sysdeps/posix/opendir.c: ... here.
46453         * sysdeps/unix/readdir.c: Renamed to ...
46454         * sysdeps/posix/readdir.c: ... here.
46455         * sysdeps/unix/readdir_r.c: Renamed to ...
46456         * sysdeps/posix/readdir_r.c: ... here.
46457         * sysdeps/unix/rewinddir.c: Renamed to ...
46458         * sysdeps/posix/rewinddir.c: ... here.
46459         * sysdeps/unix/seekdir.c: Renamed to ...
46460         * sysdeps/posix/seekdir.c: ... here.
46461         * sysdeps/unix/telldir.c: Renamed to ...
46462         * sysdeps/posix/telldir.c: ... here.
46463         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
46464         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
46465         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
46466         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
46468         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
46469         * bits/fcntl.h: ... here.
46471         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
46472         not 0.
46473         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
46474         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
46475         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
46476         (struct flock): Move l_start, l_len to the beginning.
46477         Use __pid_t for l_pid.
46478         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
46479         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
46480         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
46481         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
46482         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
46483         [__USE_LARGEFILE64] (struct flock64): New type.
46484         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
46486         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
46487         * bits/dirent.h: ... here.
46489         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
46490         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
46492 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46494         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46495         Change from 2.6.0 to 2.6.16.
46496         * sysdeps/unix/sysv/linux/configure: Regenerated.
46497         * sysdeps/unix/sysv/linux/kernel-features.h
46498         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
46499         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
46500         version.
46501         (__ASSUME_UTIMES): Likewise.
46502         (__ASSUME_CLONE_STOPPED): Remove.
46503         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
46504         architectures, not kernel version.
46505         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
46506         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46507         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46508         (__ASSUME_WAITID_SYSCALL): Likewise.
46509         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
46510         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
46511         * README: State 2.6.16 as minimum Linux kernel version.  Do not
46512         refer to older versions.
46514 2012-08-06  Roland McGrath  <roland@hack.frob.com>
46516         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
46517         Define alphasort64 as an alias.
46518         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
46519         Define versionsort64 as an alias.
46520         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
46521         Define scandir64 as an alias.
46522         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
46523         Define scandirat64 as an alias.
46524         * dirent/alphasort64.c (alphasort64):
46525         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
46526         * dirent/versionsort64.c: Likewise.
46527         * dirent/scandir64.c: Likewise.
46528         * dirent/scandirat64.c: Likewise.
46529         * sysdeps/wordsize-64/alphasort.c: File removed.
46530         * sysdeps/wordsize-64/alphasort64.c: File removed.
46531         * sysdeps/wordsize-64/scandir.c: File removed.
46532         * sysdeps/wordsize-64/scandir64.c: File removed.
46533         * sysdeps/wordsize-64/scandirat.c: File removed.
46534         * sysdeps/wordsize-64/scandirat64.c: File removed.
46535         * sysdeps/wordsize-64/versionsort.c: File removed.
46536         * sysdeps/wordsize-64/versionsort64.c: File removed.
46537         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
46538         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
46539         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
46540         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
46541         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
46542         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
46543         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
46544         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
46546         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
46547         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46548         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
46549         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46550         [defined __arch64__ || defined __sparcv9]
46551         (__INO_T_MATCHES_INO64_T): New macro.
46552         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46553         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
46554         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
46555         * sysdeps/unix/sysv/linux/bits/dirent.h
46556         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
46557         (_DIRENT_MATCHES_DIRENT64): New macro.
46559         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
46560         Define lockf64 as an alias.
46561         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
46562         Define fseeko64 as an alias.
46563         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
46564         Define ftello64 as an alias.
46565         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
46566         Define _IO_fgetpos64 and fgetpos64 as aliases.
46567         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
46568         Define _IO_fsetpos64 and fsetpos64 as aliases.
46569         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
46570         Conditionalize body on this.
46571         * libio/fseeko64.c: Likewise.
46572         * libio/ftello64.c: Likewise.
46573         * libio/iofgetpos64.c: Likewise.
46574         * libio/iofsetpos64.c: Likewise.
46575         * sysdeps/wordsize-64/lockf.c: File removed.
46576         * sysdeps/wordsize-64/lockf64.c: File removed.
46577         * sysdeps/wordsize-64/fseeko.c: File removed.
46578         * sysdeps/wordsize-64/fseeko64.c: File removed.
46579         * sysdeps/wordsize-64/ftello.c: File removed.
46580         * sysdeps/wordsize-64/ftello64.c: File removed.
46581         * sysdeps/wordsize-64/iofgetpos.c: File removed.
46582         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
46583         * sysdeps/wordsize-64/iofsetpos.c: File removed.
46584         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
46585         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
46586         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
46587         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
46588         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
46589         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
46590         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
46591         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
46592         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
46593         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
46594         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
46596         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46597         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46598         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
46599         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46600         [defined __arch64__ || defined __sparcv9]
46601         (__OFF_T_MATCHES_OFF64_T): New macro.
46602         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46603         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46604         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46605         (__OFF_T_MATCHES_OFF64_T): New macro.
46607 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46609         * stdlib/secure-getenv.c (__secure_getenv): Replace
46610         GLIBC_2_16 with GLIBC_2_17.
46612 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46614         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
46615         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46617 2012-08-03  David S. Miller  <davem@davemloft.net>
46619         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46621 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46623         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
46624         Remove.
46625         (__ASSUME_CORRECT_SI_PID): Likewise.
46626         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
46627         (__ASSUME_TMPFS_NAME): Likewise.
46628         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
46629         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
46630         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
46631         (HAVE_AUX_SECURE): Make definition unconditional.
46632         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
46633         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
46635 2012-08-03  Roland McGrath  <roland@hack.frob.com>
46637         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
46638         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
46639         * sysdeps/mach/hurd/eloop-threshold.h: New file.
46640         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46641         __eloop_threshold instead of SYMLOOP_MAX.
46643         * sysdeps/generic/eloop-threshold.h: New file.
46644         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
46645         of MAXSYMLINKS.
46646         * elf/chroot_canon.c (chroot_canon): Likewise.
46648 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46650         [BZ #13717]
46651         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46652         Change to 2.6.0 everywhere.
46653         * sysdeps/unix/sysv/linux/configure: Regenerated.
46654         * sysdeps/unix/sysv/linux/kernel-features.h
46655         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
46656         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
46657         kernel versions.
46658         (__ASSUME_POSIX_TIMERS): Define unconditionally.
46659         (__ASSUME_FUTEX_REQUEUE): Remove.
46660         (__ASSUME_STATFS64): Define unconditionally.
46661         (__ASSUME_AT_SECURE): Likewise.
46662         (__ASSUME_CORRECT_SI_PID): Likewise.
46663         (__ASSUME_TGKILL): Define without depending on kernel version for
46664         i386.
46665         (__ASSUME_UTIMES): Likewise.
46666         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
46667         kernel version.
46668         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
46669         (__ASSUME_TMPFS_NAME): Likewise.
46670         * README: Update reference to Linux kernel versions.
46672 2012-08-02  Marek Polacek  <polacek@redhat.com>
46674         [BZ# 14150]
46675         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
46676         libc_cv_asm_type_prefix with %.
46677         * configure: Regenerated.
46678         * include/libc-symbols.h: Remove comment about
46679         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46680         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
46681         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
46682         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
46683         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
46684         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46685         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
46686         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
46687         * elf/tst-unique2mod1.c: Likewise.
46688         * elf/tst-unique1mod2.c: Likewise.
46689         * elf/tst-unique1mod1.c: Likewise.
46690         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
46691         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
46692         Replace ASM_TYPE_DIRECTIVE with .type.
46693         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46694         * sysdeps/i386/sysdep.h: Likewise.
46695         * sysdeps/x86_64/sysdep.h: Likewise.
46696         * sysdeps/sh/sysdep.h: Likewise.
46697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46698         Do not define ASM_TYPE_DIRECTIVE.
46699         * sysdeps/powerpc/sysdep.h: Likewise.
46700         * sysdeps/powerpc/powerpc32/sysdep.h:
46701         Replace ASM_TYPE_DIRECTIVE with .type.
46702         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46703         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46704         * sysdeps/i386/fpu/e_powf.S: Likewise.
46705         * sysdeps/i386/fpu/e_expl.S: Likewise.
46706         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46707         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46708         * sysdeps/i386/fpu/e_pow.S: Likewise.
46709         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46710         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46711         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46712         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46713         * sysdeps/i386/fpu/e_log2.S: Likewise.
46714         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46715         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46716         * sysdeps/i386/fpu/e_powl.S: Likewise.
46717         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46718         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46719         * sysdeps/i386/fpu/e_logl.S: Likewise.
46720         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46721         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46722         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46723         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46724         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46725         * sysdeps/i386/fpu/e_log.S: Likewise.
46726         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46727         * sysdeps/i386/fpu/e_logf.S: Likewise.
46728         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46729         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46730         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46731         * sysdeps/i386/fpu/e_log10.S: Likewise.
46732         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46733         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46734         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46735         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46736         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46737         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46738         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46739         * sysdeps/i386/i686/strtok.S: Likewise.
46740         * sysdeps/i386/i386-mcount.S: Likewise.
46741         * sysdeps/i386/strtok.S: Likewise.
46742         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46743         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46744         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46745         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46746         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46747         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46748         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46749         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46750         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46751         * sysdeps/x86_64/_mcount.S: Likewise.
46752         * sysdeps/x86_64/strtok.S: Likewise.
46753         * sysdeps/sh/_mcount.S: Likewise.
46755 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46757         * libio/iofopen.c: Include <fcntl.h>.
46758         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46759         (_IO_fopen64, fopen64): Define as aliases.
46760         * libio/iofopen64.c: Include <fcntl.h>.
46761         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46762         Conditionalize body on this.
46763         * sysdeps/wordsize-64/iofopen.c: File removed.
46764         * sysdeps/wordsize-64/iofopen64.c: File removed.
46766 2012-08-01  Marek Polacek  <polacek@redhat.com>
46768         * libc/Makeconfig: Use elf in place of binfmt-subdir.
46769         Use dlfcn directly instead of a variable.
46770         (binfmt-subdir): Do not define.
46771         (dlfcn): Likewise.
46773 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46775         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46776         Remove all definitions.
46777         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46778         <kernel-features.h>.
46779         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46780         (miss_F_GETOWN_EX): Remove all definitions.
46781         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46782         macro definition.
46783         [!__ASSUME_FCNTL64]: Remove conditional code.
46784         [__ASSUME_FCNTL64]: Make code unconditional.
46785         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46786         <kernel-features.h>.
46787         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46788         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46789         (lockf64) [__NR_fcntl64]: Make code unconditional.
46790         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46792         * sysdeps/unix/sysv/linux/kernel-features.h
46793         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46794         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46795         Make code unconditional.
46796         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46797         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46799         [__NR_vfork]: Make code unconditional.
46800         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46801         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46803         [__NR_vfork]: Make code unconditional.
46804         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46805         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46807 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46809         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46810         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46812         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46813         Define mkstemp64 as an alias.
46814         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46815         Define mkstemps64 as an alias.
46816         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46817         Define mkostemp64 as an alias.
46818         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46819         Define mkostemps64 as an alias.
46820         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46821         Conditionalize body on this.
46822         * misc/mkostemp64.c: Likewise.
46823         * misc/mkostemps64.c: Likewise.
46824         * misc/mkstemps64.c: Likewise.
46825         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46826         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46827         * sysdeps/wordsize-64/mkostemp.c: File removed.
46828         * sysdeps/wordsize-64/mkstemp.c: File removed.
46829         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46830         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46831         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46832         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46834         [BZ #14138]
46835         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46836         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46837         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46838         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46840         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46841         compat_symbol macros from <shlib-compat.h> rather than the underlying
46842         default_symbol_version and symbol_version macros, so that DEFAULT
46843         lines in shlib-versions are respected.
46844         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46846 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46848         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46849         Declare with warn_unused_result.
46850         (setgid, setregid, setegid, setresgid): Likewise.
46851         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46852         Likewise.
46853         * WUR-REPORT: Remove set*id functions.
46855 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46857         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46859 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46861         [BZ #10191]
46862         * include/sys/socket.h (__libc_accept, __libc_accept4):
46863         Add attribute_hidden.
46864         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46866         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46867         use of PTR_MANGLE.
46868         * inet/getnetgrent_r.c (setup): Likewise.
46870         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46872 2012-07-31  David S. Miller  <davem@davemloft.net>
46874         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46876 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46878         [BZ #13629]
46879         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46880         value between 1.0 and 2.0 and smaller part has absolute value less
46881         than 1.0.
46882         * math/s_clog10.c (__clog10): Likewise.
46883         * math/s_clog10f.c (__clog10f): Likewise.
46884         * math/s_clog10l.c (__clog10l): Likewise.
46885         * math/s_clogf.c (__clogf): Likewise.
46886         * math/s_clogl.c (__clogl): Likewise.
46887         * math/libm-test.inc (clog_test): Add more tests.
46888         (clog10_test): Likewise.
46889         * sysdeps/i386/fpu/libm-test-ulps: Update.
46890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46892 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46894         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46895         Exit with zero in case no suitable GID is found, and write a
46896         message to standard error.
46898 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46900         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46901         rather than to 1.
46902         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46903         (MAXPATHLEN): Removed.
46904         (NOGROUP, NODEV): New macros.
46905         (setbit, clrbit, isset, isclr): New macros.
46906         (howmany, roundup, powerof2): New macros.
46907         (DEV_BSIZE): New macro.
46909         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46910         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46912         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46913         definition on [!__NO_LONG_DOUBLE_MATH].
46915         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46916         PTR_MANGLE and PTR_DEMANGLE.
46918         * socket/accept4.c (accept4): Rename to __libc_accept4.
46919         Define accept4 as a weak alias.
46921         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46922         on [_DIRENT_HAVE_D_TYPE].
46923         * io/ftw.c (ftw_dir): Likewise.
46925         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46927         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46929         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46930         Use the BSD numbers rather than the arbitrary ones we had.
46931         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46932         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46933         (SIGXCPU, SIGXFSZ): New macros.
46934         (_NSIG): Now 32.
46936         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46937         initializer on [_LIBC_REENTRANT].
46939         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46940         definitions inside [_POSIX_MAPPED_FILES].
46942         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46944         * dirent/opendir.c: Include <fcntl.h>.
46946         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46947         (__libc_getspecific): Likewise.
46948         (__libc_key_create): Likewise.
46950         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46951         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46952         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46953         (tmpfile64): Define as alias.
46954         * sysdeps/wordsize-64/tmpfile.c: File removed.
46955         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46956         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46957         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46959         * stdio-common/vfscanf.c: Include <stdbool.h>.
46960         * nss/makedb.c: Likewise.
46961         * stdio-common/_i18n_number.h: Likewise.
46962         * argp/argp-help.c: Likewise.
46963         * posix/wordexp.c: Likewise.
46964         * sysdeps/posix/spawni.c: Likewise.
46965         * nss/nss_files/files-initgroups.c: Likewise.
46966         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46967         * nss/nss_files/files-initgroups.c: Likewise.
46968         * nss/nss_db/db-netgrp.c: Likewise.
46969         * nss/nss_db/db-initgroups.c: Likewise.
46970         * io/fchmodat.c: Include <sys/stat.h>.
46972         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46973         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46975         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46976         [HAVE_MMAP].
46978         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46979         Add multiple inclusion protection.
46981 2012-07-27  David S. Miller  <davem@davemloft.net>
46983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46985 2012-07-27  Gary Benson  <gbenson@redhat.com>
46987         [BZ #14298]
46988         * elf/rtld.c: Include <stap-probe.h>.
46989         (dl_main): Added static probes "init_start" and "init_complete".
46990         * elf/dl-load.c: Include <stap-probe.h>.
46991         (lose): Take new parameter "nsid".
46992         Added static probe "map_failed".
46993         (_dl_map_object_from_fd): Pass namespace id to lose.
46994         Added static probe "map_start".
46995         (open_verify): Pass namespace id to lose.
46996         * elf/dl-open.c: Include <stap-probe.h>.
46997         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46998         and "reloc_complete".
46999         * elf/dl-close.c: Include <stap-probe.h>.
47000         (_dl_close_worker): Added static probes "unmap_start" and
47001         "unmap_complete".
47002         * elf/rtld-debugger-interface.txt: New file documenting the above.
47004 2012-07-26  Roland McGrath  <roland@hack.frob.com>
47006         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
47007         rather than a string variable.
47008         * sunrpc/rpc_main.c (h_output): Likewise.
47009         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
47011 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
47013         * inet/check_native.c: New file.
47015 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
47017         [BZ #13629]
47018         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
47019         if larger part has absolute value 1.0.
47020         * math/s_clog10.c (__clog10): Likewise.
47021         * math/s_clog10f.c (__clog10f): Likewise.
47022         * math/s_clog10l.c (__clog10l): Likewise.
47023         * math/s_clogf.c (__clogf): Likewise.
47024         * math/s_clogl.c (__clogl): Likewise.
47025         * math/libm-test.inc (clog_test): Add more tests.
47026         (clog10_test): Likewise.
47027         * sysdeps/i386/fpu/libm-test-ulps: Update.
47028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47030         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
47031         (pltexit): Likewise.
47032         (La_regs): Likewise.
47033         (La_retval): Likewise.
47034         (int_retval): Likewise.
47035         Update #error for removed macros to refer only to definitions in
47036         tst-audit.h.
47037         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
47038         macro.
47039         (pltexit): Likewise.
47040         (La_regs): Likewise.
47041         (La_retval): Likewise.
47042         (int_retval): Likewise.
47043         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
47044         macro.
47045         (pltexit): Likewise.
47046         (La_regs): Likewise.
47047         (La_retval): Likewise.
47048         (int_retval): Likewise.
47049         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
47050         macro.
47051         (pltexit): Likewise.
47052         (La_regs): Likewise.
47053         (La_retval): Likewise.
47054         (int_retval): Likewise.
47055         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
47056         macro.
47057         (pltexit): Likewise.
47058         (La_regs): Likewise.
47059         (La_retval): Likewise.
47060         (int_retval): Likewise.
47061         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
47062         macro.
47063         (pltexit): Likewise.
47064         (La_regs): Likewise.
47065         (La_retval): Likewise.
47066         (int_retval): Likewise.
47067         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
47068         macro.
47069         (pltexit): Likewise.
47070         (La_regs): Likewise.
47071         (La_retval): Likewise.
47072         (int_retval): Likewise.
47073         * sysdeps/generic/tst-audit.h: Update comment to refer only to
47074         macro definitions in tst-audit.h.
47075         * sysdeps/i386/tst-audit.h: New file.
47076         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
47077         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
47078         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
47079         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
47080         * sysdeps/sh/tst-audit.h: Likewise.
47081         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
47082         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
47083         * sysdeps/x86_64/tst-audit.h: Likewise.
47085 2012-07-26  Andreas Jaeger  <aj@suse.de>
47087         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
47088         ptrace.
47090         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
47091         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
47092         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
47093         PTRACE_O_MASK.
47094         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
47095         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
47096         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
47098         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
47099         value.
47101         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
47102         _sigsys.
47103         (si_call_addr, si_syscall, si_arch): Define new macro.
47104         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
47105         _sigsys.
47106         (si_call_addr, si_syscall, si_arch): Define new marcro.
47107         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
47108         _sigsys.
47109         (si_call_addr, si_syscall, si_arch): Define new macro.
47110         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
47111         _sigsys.
47112         (si_call_addr, si_syscall, si_arch): Define new macro.
47114 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
47116         [BZ #13717]
47117         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47118         Change to 2.4.21 where previously 2.4.1.
47119         * sysdeps/unix/sysv/linux/configure: Regenerated.
47120         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
47121         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
47122         Linux kernel version.
47123         (__ASSUME_STD_AUXV): Remove.
47124         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
47125         kernel version.
47126         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
47127         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
47128         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
47129         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
47130         (__ASSUME_NETLINK_SUPPORT): Likewise.
47131         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
47132         (__no_netlink_support): Remove conditional definition.
47133         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
47134         Remove.
47135         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47136         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
47137         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
47138         (if_nameindex_ioctl): Remove.
47139         (if_nameindex_netlink): Do not handle __no_netlink_support.
47140         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47141         code.
47142         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
47143         Remove conditional code.
47144         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47145         code.
47146         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
47147         unconditional.
47148         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47149         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
47150         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
47151         Remove.
47152         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
47153         [!__ASSUME_STD_AUXV]: Remove conditional code.
47154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
47155         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
47156         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
47157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
47158         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
47159         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47160         code.
47161         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47163         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
47164         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47165         conditional code.
47166         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47168         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47169         code.
47170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47171         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47172         conditional code.
47173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
47174         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47175         code unconditional.
47176         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47177         conditional code.
47178         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47179         unconditional.
47180         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47181         conditional code.
47182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47183         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47184         unconditional.
47185         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47186         conditional code.
47187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
47188         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47189         code unconditional.
47190         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47191         conditional code.
47192         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47193         unconditional.
47194         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47195         conditional code.
47196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
47197         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47198         code unconditional.
47199         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47200         conditional code.
47201         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47202         unconditional.
47203         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47204         conditional code.
47206 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
47208         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
47209         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
47210         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47211         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
47212         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
47213         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47214         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47215         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
47216         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
47217         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
47218         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
47219         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
47220         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
47221         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47222         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
47223         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
47224         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
47225         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
47226         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
47227         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
47228         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
47229         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
47230         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47232 2012-07-25  Florian Weimer  <fweimer@redhat.com>
47234         * Versions.def: Add GLIBC_2.17.
47235         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
47236         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
47237         Introduce __libc_secure_getenv.
47238         * stdlib/Versions (2.17): Add secure_getenv
47239         (GLIBC_PRIVATE): Add __libc_secure_getenv.
47240         * stdlib/secure-getenv.c: Rename __secure_getenv to
47241         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
47242         symbol __secure_getenv for GLIBC_2.0.
47243         * stdlib/tst-secure-getenv.c: New.
47244         * stdlib/Makefile (tests): Add testcase.
47245         * manual/startup.texi (Environment Access): Document
47246         secure_getenv.
47247         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
47248         __libc_secure_getenv.
47249         * inet/ruserpass.c (ruserpass): Likewise.
47250         * malloc/mtrace.c (mtrace): Likewise.
47251         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
47252         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
47253         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
47254         * sysdeps/posix/tempname.c: Likewise.  Evaluate
47255         HAVE_SECURE_GETENV.
47256         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
47257         __secure_getenv to __libc_secure_getenv.
47258         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
47259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47260         Likewise.
47261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47262         Likewise.
47263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47265         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47266         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47268         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47269         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47271 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
47273         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
47274         (struct La_i86_retval): Likewise.
47275         (struct La_x86_64_regs): Likewise.
47276         (struct La_x86_64_retval): Likewise.
47277         (struct La_x32_regs): Likewise.
47278         (struct La_x32_retval): Likewise.
47279         (struct La_ppc32_regs): Likewise.
47280         (struct La_ppc32_retval): Likewise.
47281         (struct La_ppc64_regs): Likewise.
47282         (struct La_ppc64_retval): Likewise.
47283         (struct La_sh_regs): Likewise.
47284         (struct La_sh_retval): Likewise.
47285         (struct La_s390_32_regs): Likewise.
47286         (struct La_s390_32_retval): Likewise.
47287         (struct La_s390_64_regs): Likewise.
47288         (struct La_s390_64_retval): Likewise.
47289         (struct La_sparc32_regs): Likewise.
47290         (struct La_sparc32_retval): Likewise.
47291         (struct La_sparc64_regs): Likewise.
47292         (struct La_sparc64_retval): Likewise.
47293         (struct audit_ifaces): Remove architecture-specific pltenter and
47294         pltexit members.
47295         * sysdeps/i386/ldsodefs.h: New file.
47296         * sysdeps/powerpc/ldsodefs.h: Likewise.
47297         * sysdeps/s390/ldsodefs.h: Likewise.
47298         * sysdeps/sh/ldsodefs.h: Likewise.
47299         * sysdeps/sparc/ldsodefs.h: Likewise.
47300         * sysdeps/x86_64/ldsodefs.h: Likewise.
47302 2012-07-25  Marek Polacek  <polacek@redhat.com>
47304         [BZ #6808]
47305         * math/libm-test.inc (yn_test): Add another test.
47306         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
47307         to ERANGE when the result is +-Inf.
47308         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47309         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
47310         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
47311         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
47313 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
47315         * conform/data/time.h-data (NULL): Use macro-constant.  Require
47316         equal to 0.
47317         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
47318         clock_t.
47319         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
47321 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
47323         * configure.in <sysdeps resolving>: Correct printing
47324         Implies_before.
47325         * configure: Regenerate.
47327 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
47329         * math/w_ilogb.c: Include <limits.h>.
47330         * math/w_ilogbl.c: Likewise.
47332 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47334         * manual/lang.texi (__va_copy): Document primarily as ISO C99
47335         va_copy.  Document allowing for unavailable va_copy only as
47336         pre-C99 compatibility.
47337         * manual/string.texi (Copying and Concatenation): Use va_copy
47338         instead of __va_copy in concat example.
47340 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
47342         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
47343         (__sendto): Use create_address_port.  Initialize APORT and deallocate
47344         it if not null.
47346         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
47347         with O_NOLINK passed to __file_name_lookup.
47349         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
47350         with O_NOLINK passed to __file_name_lookup.
47352         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
47353         negative N or less than NGIDS.
47355         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
47356         type to string_t.  Set ERANGE as errno and return it if NAME is not big
47357         enough.  Use memcpy instead of strncpy.
47359 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47361         * elf/Makefile (check-data): Remove.
47362         (localplt.data): New vpath directive.
47363         ($(objpfx)check-localplt.out): Use localplt.data from vpath
47364         instead of $(check-data).
47365         * scripts/data/localplt-generic.data: Move to ...
47366         * sysdeps/generic/localplt.data: ... here.
47367         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
47368         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
47369         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
47370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47371         ... here.
47372         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
47373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47374         ... here.
47375         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
47376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
47377         ... here.
47378         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
47379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47380         ... here.
47381         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
47382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
47383         ... here.
47384         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
47385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
47386         ... here.
47388 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47390         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
47391         PPC32 and PPC64 files.
47392         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
47393         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
47395 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47397         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
47398         __makecontext_ret to ...
47399         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
47400         ... here and call exit if uc_link is NULL.  New file.
47401         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
47402         __makecontext_ret.S.
47403         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
47404         __makecontext_ret to ...
47405         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
47406         ... here and call exit if uc_link is NULL.  New file.
47407         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
47408         __makecontext_ret.S.
47410 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47412         * elf/elf.h (R_390_IRELATIVE): New definition.
47413         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
47414         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
47415         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
47416         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47417         (elf_machine_lazy_rel): Likewise.
47418         * sysdeps/s390/dl-irel.h: New file.
47419         * sysdeps/s390/s390-64/memcpy.S: New asm code.
47420         * sysdeps/s390/s390-64/memset.S: New asm code.
47421         * sysdeps/s390/s390-64/memcmp.S: New asm code.
47422         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
47423         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
47424         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
47425         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
47426         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
47427         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
47428         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
47429         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
47430         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
47431         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
47432         * sysdeps/s390/s390-32/memcpy.S: New asm code.
47433         * sysdeps/s390/s390-32/memset.S: New asm code.
47434         * sysdeps/s390/s390-32/memcmp.S: New asm code.
47436 2012-07-17  Marek Polacek  <polacek@redhat.com>
47438         [BZ #14349]
47439         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
47440         * sysdeps/s390/s390-64/configure.in: Likewise.
47441         * sysdeps/sparc/configure.in: Likewise.
47442         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
47443         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
47444         * sysdeps/i386/configure.in: Likewise.
47445         * sysdeps/x86_64/configure.in: Likewise.
47446         * sysdeps/sh/configure.in: Likewise.
47447         * sysdeps/s390/s390-32/configure: Regenerated.
47448         * sysdeps/s390/s390-64/configure: Likewise.
47449         * sysdeps/x86_64/configure: Likewise.
47450         * sysdeps/sh/configure: Likewise.
47451         * sysdeps/powerpc/powerpc64/configure: Likewise.
47452         * sysdeps/powerpc/powerpc32/configure: Likewise.
47453         * sysdeps/sparc/configure: Likwise.
47454         * sysdeps/i386/configure: Likewise.
47456         * elf/dl-open.c: Comment fixes.
47458 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
47460         * Makefile [CXX] (check-data): Remove.
47461         [CXX] (c++-types.data): New vpath directive.
47462         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
47463         vpath.  Do not allow for C++ type data being missing.
47464         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
47465         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
47466         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
47467         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
47468         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
47469         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
47470         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
47471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47472         ... here.
47473         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
47474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47475         ... here.
47476         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
47477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
47478         ... here.
47479         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
47480         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
47481         ... here.
47482         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
47483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
47484         ... here.
47485         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
47486         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
47487         ... here.
47488         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
47489         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
47490         ... here.
47491         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
47492         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
47494         * elf/tls-macros.h (TLS_LE): Move architecture-specific
47495         definitions to architecture-specific files.
47496         (TLS_IE): Likewise.
47497         (TLS_LD): Likewise.
47498         (TLS_GD): Likewise.
47499         * sysdeps/i386/tls-macros.h: New file.
47500         * sysdeps/powerpc/tls-macros.h: Likewise.
47501         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
47502         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
47503         * sysdeps/sh/tls-macros.h: Likewise.
47504         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
47505         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
47506         * sysdeps/x86_64/tls-macros.h: Likewise.
47508 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47510         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
47511         zero value for regular exit case.
47513         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
47514         (__start_context): Preserve zero value for regular exit case.
47516 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47517             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47519         * manual/setjmp.texi (setcontext): Clarify normal process
47520         termination when uc_link is the null pointer.
47521         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
47522         exit call.
47524 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
47526         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
47527         preprocessor.  Test for each exception mask separately.
47529 2012-07-16  Andreas Jaeger  <aj@suse.de>
47531         * po/ru.po: Update from translation team.
47533 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
47535         * conform/data/string.h-data (NULL): Use macro-constant.  Require
47536         equal to 0.
47537         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47538         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47539         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
47540         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
47541         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47543 2012-07-13  Andreas Jaeger  <aj@suse.de>
47545         * po/fr.po: Update from translation team.
47547 2012-07-12  Marek Polacek  <polacek@redhat.com>
47549         [BZ #14173]
47550         * math/libm-test.inc (yn_test): Add test for BZ #14173.
47551         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
47552         loop condition.
47554 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
47556         [BZ #13717]
47557         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47558         Change to 2.4.1 where previously 2.4.0.
47559         * sysdeps/unix/sysv/linux/configure: Regenerated.
47560         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
47561         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
47562         version.
47563         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
47564         (__ASSUME_AT_CLKTCK): Remove.
47565         (__ASSUME_AT_PAGESIZE): Likewise.
47566         (__ASSUME_AT_XID): Likewise.
47567         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
47568         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
47569         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
47570         unconditionally.
47571         (HAVE_AUX_PAGESIZE): Likewise.
47572         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
47573         [__ASSUME_AT_CLKTCK]: Make code unconditional.
47574         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
47576 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
47578         [BZ #14307]
47579         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
47580         the temporary buffer used to invoke __gethostbyname2_r,
47581         __gethostbyaddr_r and gethostbyname4_r to make room for struct
47582         host_data / struct gaih_addrtuple.
47583         * resolv/nss_dns/dns-host.c (global scope): Move definition of
47584         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
47585         header file nss/nsswitch.h.
47586         * nss/nsswitch.h (global scope): Add definition of implementation
47587         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
47588         resolv/nss_dns/dns-host.c).
47590 2012-07-11  Andreas Jaeger  <aj@suse.de>
47592         * po/fr.po: Update from translation team.
47594         * po/sv.po: Update from translation team
47595         * po/fr.po: Another update from translation team.
47597 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47599         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
47600         for subnormals or multiply small sinh result by itself.
47601         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47604 2012-07-11  David S. Miller  <davem@davemloft.net>
47606         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47608 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
47610         [BZ #14347]
47611         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
47612         (INTERNAL_MARK): Shift it here.
47614 2012-07-10  Marek Polacek  <polacek@redhat.com>
47616         [BZ #14151]
47617         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
47618         libc_cv_asm_global_directive with .globl.
47619         * configure: Regenerated.
47620         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
47621         with .globl.
47622         * sysdeps/i386/configure: Regenerated.
47623         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
47624         with .globl.
47625         * sysdeps/x86_64/configure: Regenerated.
47626         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
47627         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
47628         * elf/tst-unique2mod2.c: Likewise.
47629         * elf/tst-unique2mod1.c: Likewise.
47630         * elf/tst-unique1mod2.c: Likewise.
47631         * elf/tst-unique1mod1.c: Likewise.
47632         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47633         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47634         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47635         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47636         * sysdeps/mach/sysdep.h: Likewise.
47637         * sysdeps/i386/sysdep.h: Likewise.
47638         * sysdeps/i386/i386-mcount.S: Likewise.
47639         * sysdeps/x86_64/_mcount.S: Likewise.
47640         * sysdeps/x86_64/sysdep.h: Likewise.
47641         * sysdeps/sh/_mcount.S: Likewise.
47642         * sysdeps/sh/sysdep.h: Likewise.
47643         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
47644         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
47645         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
47646         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47647         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
47648         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
47649         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
47650         * locale/localeinfo.h: Likewise.
47651         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
47652         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
47654 2012-07-09  Roland McGrath  <roland@hack.frob.com>
47656         [BZ #14336]
47657         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
47658         system".
47659         * manual/message.texi (The Uniforum approach): Likewise.
47660         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
47661         (glibc iconv Implementation): Likewise.
47663 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
47665         [BZ #14337]
47666         * math/s_clog.c (__clog): Avoid scaling a value down where that
47667         could result in underflow.
47668         * math/s_clog10.c (__clog10): Likewise.
47669         * math/s_clog10f.c (__clog10f): Likewise.
47670         * math/s_clog10l.c (__clog10l): Likewise.
47671         * math/s_clogf.c (__clogf): Likewise.
47672         * math/s_clogl.c (__clogl): Likewise.
47673         * math/libm-test.inc (clog_test): Add more tests.
47674         (clog10_test): Likewise.
47675         * sysdeps/i386/fpu/libm-test-ulps: Update.
47676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47678 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
47680         [BZ #14283]
47681         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
47682         by 7 not 8 to examine high bit of fractional part.
47684         [BZ #14042]
47685         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
47686         for call to __mcount_internal.
47687         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
47688         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
47689         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
47691 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
47693         [BZ #14154]
47694         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
47695         approximation for values within 0x1p-13f of an odd multiple of
47696         pi/4.
47697         * math/libm-test.inc (tan_test): Do not allow spurious underflow
47698         exception.  Add more tests.
47699         * sysdeps/i386/fpu/libm-test-ulps: Update.
47701         [BZ #6778]
47702         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
47703         inputs and return -1 for them.  Do not check for +Inf in case not
47704         reachable for +Inf.
47705         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47706         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
47707         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47708         and return -1 for them.  Do not check for +Inf in case not
47709         reachable for +Inf.
47710         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
47711         define.
47712         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47713         and return -1 for them.  Do not check for +Inf in case not
47714         reachable for +Inf.
47715         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
47716         spurious underflow.
47717         * sysdeps/i386/fpu/libm-test-ulps: Update.
47718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47720 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
47722         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47724 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
47726         [BZ #14157]
47727         [BZ #14331]
47728         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47729         could result in spurious underflow.  Scale down values above
47730         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47731         * math/s_csqrtf.c (__csqrtf): Likewise.
47732         * math/s_csqrtl.c (__csqrtl): Likewise.
47733         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
47734         spurious underflow.
47735         * sysdeps/i386/fpu/libm-test-ulps: Update.
47736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47738 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
47740         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47741         xopen-msg.sed.
47742         * catgets/xopen-msg.awk: New file.
47743         * catgets/xopen-msg.sed: Removed.
47745         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47746         po2text.sed.
47747         * intl/po2test.awk: New file.
47748         * intl/po2test.sed: Removed.
47750 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
47752         [BZ #14328]
47753         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47754         or multiply small sinh result by itself.
47755         * math/s_ctanf.c (__ctanf): Likewise.
47756         * math/s_ctanh.c (__ctanh): Likewise.
47757         * math/s_ctanhf.c (__ctanhf): Likewise.
47758         * math/s_ctanhl.c (__ctanhl): Likewise.
47759         * math/s_ctanl.c (__ctanl): Likewise.
47760         * math/libm-test.inc (ctan_test_tonearest): New function.
47761         (ctan_test_towardzero): Likewise.
47762         (ctan_test_downward): Likewise.
47763         (ctan_test_upward): Likewise.
47764         (ctanh_test_tonearest): Likewise.
47765         (ctanh_test_towardzero): Likewise.
47766         (ctanh_test_downward): Likewise.
47767         (ctanh_test_upward): Likewise.
47768         (main): Call these new functions.
47769         * sysdeps/i386/fpu/libm-test-ulps: Update.
47770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47772 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47774         * .gitignore: Delete /ports entry.
47776 2012-07-03  Andreas Jaeger  <aj@suse.de>
47778         * po/bg.po: Update from translation team.
47779         * po/cs.po: Likewise.
47780         * po/de.po: Likewise.
47781         * po/hr.po: Likewise.
47782         * po/nl.pl: Likewise.
47783         * po/pl.po: Likewise.
47784         * po/vi.po: Likewise.
47786 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47788         * Makeconfig [!+link] (+link-before-libc): New variable.
47789         [!+link] (+link-after-libc): Likewise.
47790         [!+link] (+link-tests): Likewise.
47791         [!+link] (+link): Define in terms of $(+link-before-libc) and
47792         $(+link-after-libc).
47793         [!+link-static] (+link-static-before-libc): New variable.
47794         [!+link-static] (+link-static-after-libc): Likewise.
47795         [!+link-static] (+link-static-tests): Likewise.
47796         [!+link-static] (+link-static): Define in terms of
47797         $(+link-static-before-libc) and $(+link-static-after-libc).
47798         [build-shared] (link-libc-before-gnulib): New variable.
47799         [build-shared] (link-libc-tests): Likewise.
47800         [build-shared] (link-libc): Define in terms of
47801         $(link-libc-before-gnulib).
47802         [!build-shared] (link-libc-tests): New variable.
47803         (link-libc-static-tests): New variable.
47804         [!gnulib] (gnulib-arch): New variable.
47805         [!gnulib] (gnulib-tests): Likewise.
47806         [!gnulib] (static-gnulib-arch): Likewise.
47807         [!gnulib] (static-gnulib-tests): Likewise.
47808         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47809         Define with "=" instead of ":=".
47810         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47811         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47812         * Rules (binaries-all-notests): New variable.
47813         (binaries-all-tests): Likewise.
47814         (binaries-static-notests): Likewise.
47815         (binaries-static-tests): Likewise.
47816         (binaries-all): Define using $(binaries-all-notests) and
47817         $(binaries-all-tests).
47818         (binaries-static): Define using $(binaries-static-notests) and
47819         $(binaries-static-tests).
47820         (binaries-shared-tests): New variable.
47821         (binaries-shared-notests): Likewise.
47822         (binaries-shared): Remove variable.
47823         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47824         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47825         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47826         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47827         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47828         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47829         * elf/Makefile (sln-modules): New variable.
47830         (extra-objs): Add $(sln-modules:=.o).
47831         (ldconfig-modules): Add static-stubs.
47832         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47833         * elf/static-stubs.c: New file.
47835         [BZ #14283]
47836         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47837         by 7 not 8 to examine high bit of fractional part.  Use volatile
47838         variables when splitting into final array of floats if
47839         __FLT_EVAL_METHOD__ != 0.
47840         * math/libm-test.inc (cos_test): Add another test.
47841         (sin_test): Likewise.
47842         * sysdeps/i386/fpu/libm-test-ulps: Update.
47844         [BZ #14273]
47845         * math/libm-test.inc (cosh_test): Add more tests.
47847         * version.h (RELEASE): Set to "development".
47848         (VERSION): Set to "2.16.90".
47850 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47852         * NEWS: Update copyright. Remove last-updated date.
47853         Mention math library bug fixes and timezone data changes.
47854         * README: Mention GNU/Hurd, x32, and HPPA support status.
47856 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47858         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47860 2012-06-27  Andreas Jaeger  <aj@suse.de>
47862         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47864 2012-06-25  Andreas Jaeger  <aj@suse.de>
47866         * sysdeps/s390/fpu/libm-test-ulps: Update.
47868 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47869             Thomas Schwinge  <thomas@codesourcery.com>
47871         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47872         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47873         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47874         fanotify_mark.
47876 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47878         * sysdeps/mach/start.c: Remove file.
47879         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47880         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47881         * sysdeps/sh/init-first.c: Likewise.
47883         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47884         registers for frame unwinding purposes, add CFI directives.
47885         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47886         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47887         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47888         Likewise.
47890         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47891         __fortify_fail returning.
47892         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47894         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47895         sysdeps/sh/____longjmp_chk.S.
47896         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47897         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47898         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47899         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47901         * sysdeps/sh/abort-instr.h: New file.
47902         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47903         process in case exit returns.
47905         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47906         initialize the GOT register before use.
47908         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47909         calculation of ARGC > 4.
47911         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47912         meaningful names to some local labels.
47914 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47915             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47917         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47918         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47919         (__arch_compare_and_exchange_val_16_acq): Likewise.
47920         (__arch_compare_and_exchange_val_32_acq): Likewise.
47921         (atomic_exchange_and_add): Fix gUSA sequence.
47922         (atomic_add): Likewise.
47923         (atomic_add_negative): Likewise.
47924         (atomic_add_zero): Likewise.
47925         (atomic_bit_test_set): Likewise.
47927 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47929         [BZ #13579]
47930         * include/link.h (struct link_map): Add l_free_initfini.
47931         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47932         l_initfini.
47933         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47934         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47935         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47936         set.
47938 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47940         * configure.in: Use AC_LANG_SOURCE.
47941         * configure: Regenerate.
47943 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47945         * configure.in (libc_cv_localstatedir): New substituted variable.
47946         * configure: Regenerated.
47947         * config.make.in (localstatedir): New variable, substituted from
47948         libc_cv_localstatedir.
47949         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47950         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47951         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47952         * sysdeps/gnu/configure: Regenerated.
47954 2012-06-21  Jeff Law  <law@redhat.com>
47956         [BZ #14277]
47957         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47958         free.  Simplify list management for _LIBC case.
47960 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47962         [BZ #14273]
47963         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47964         Clear sign bit of 64-bit integer value before comparing against
47965         overflow value.
47967         * sysdeps/mach/configure: Regenerated.
47969 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47971         [BZ #14278]
47972         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47974 2012-06-21  Jeff Law  <law@redhat.com>
47976         [BZ #13882]
47977         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47978         uint16_t for elements in the "seen" array to avoid char overflows.
47979         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47980         * elf/dl-open.c (dl_open_worker): Likewise.
47982 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47984         * scripts/list-sources.sh: Scan PORTS for translations.
47985         * po/libc.pot: Regenerated.
47987 2012-06-21  Andreas Jaeger  <aj@suse.de>
47989         [BZ #12194]
47990         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47991         warning.
47992         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47993         * bits/byteswap-16.h (__bswap_16): Likewise.
47994         * bits/byteswap.h (__bswap_constant_16): Likewise.
47996 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47998         [BZ #14117]
47999         * sysdeps/i386/fpu_control.h: Removed.
48000         * sysdeps/x86_64/fpu_control.h: Moved to ...
48001         * sysdeps/x86/fpu_control.h: Here.
48003         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
48004         (_FPU_SETCW): Likewise.
48006 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
48008         [BZ #14117]
48009         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
48010         * sysdeps/x86/fpu/bits/mathinline.h: This.
48011         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
48013         [BZ #14050]
48014         [BZ #14117]
48015         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
48016         functions if __x86_64__ is defined.
48018 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
48020         * string/endian.h: Add !__ASSEMBLER__ condition for including
48021         conversion interfaces.
48023 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
48025         [BZ #14241]
48026         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
48027         of ABS(x) in calculating zero to negative powers other than odd
48028         integers.
48029         * math/libm-test.inc (pow_test): Add more tests.
48031 2012-06-15  Andreas Jaeger  <aj@suse.de>
48033         * manual/contrib.texi (Contributors): Update entry of Liubov
48034         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
48035         Machado Filho.
48037 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
48039         * string/string.h: Add __wur to GNU version of strerror_r.
48041 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
48043         [BZ #14229]
48044         * string/Makefile (tests): Add tst-strtok_r.
48045         * string/tst-strtok_r.c: New file.
48046         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
48047         RAX_LP/RDX_LP on SAVE_PTR.
48049 2012-06-14  Roland McGrath  <roland@hack.frob.com>
48051         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
48053 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
48055         * libm_test.inc (csqrt_test): Allow more spurious underflow
48056         exceptions.
48057         (j0_test): Likewise.
48058         (j1_test): Likewise.
48059         (y0_test): Likewise.
48060         (y1_test): Likewise.
48062 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
48064         * po/Makefile (libc.pot): Use UTF-8 charset.
48066 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
48068         [BZ #14210]
48069         Suppress sign-conversion warning from FD_SET.
48070         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
48071         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
48072         not unsigned long int.
48073         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
48075 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
48077         [BZ #14050]
48078         [BZ #14117]
48079         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
48080         __extern_always_inline instead of __extern_inline.
48081         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
48082         (__signbit): Likewise.
48083         (__signbitl): Support C++ namespace.
48084         (lrintf): New inline function.
48085         (lrint): Likewise.
48086         (llrintf): Likewise.
48087         (llrint): Likewise.
48088         (fmaxf): Likewise.
48089         (fmax): Likewise.
48090         (fminf): Likewise.
48091         (fmin): Likewise.
48092         (rint): Likewise.
48093         (rintf): Likewise.
48094         (ceil): Likewise.
48095         (ceilf): Likewise.
48096         (floor): Likewise.
48097         (floorf): Likewise.
48098         (nearbyint): Likewise.
48099         (nearbyintf): Likewise.
48101 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
48103         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
48104         non-default versions.
48106 2012-06-11  Roland McGrath  <roland@hack.frob.com>
48108         [BZ #14218]
48109         * manual/argp.texi (Argp): Reword argp_parse description slightly.
48111 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
48113         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
48114         (FE_UPWARD, FE_DOWNWARD): Don't define.
48115         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
48116         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48118         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
48119         reading it.
48120         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48121         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48123 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48125         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48126         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
48127         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
48128         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
48130 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
48132         [BZ #14117]
48133         * sysdeps/i386/fpu/bits/fenv.h: Removed.
48134         * sysdeps/i386/fpu/Implies: New file.
48135         * sysdeps/x86_64/fpu/Implies: Likewise.
48136         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
48137         * sysdeps/x86/fpu/bits/fenv.h: This.
48139         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
48140         __SSE_MATH__.
48142 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48144         [BZ #14134]
48145         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
48146         character 0xffff that matches the last element of the
48147         conversion table.
48149 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48151         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
48152         fmodl commit.
48154 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48156         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
48157         values higher than 25.6283.
48159 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48161         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
48162         subnormal exponent extraction and add some __builtin_expect.
48163         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
48164         Fix for subnormal mantissa calculation.
48166 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
48168         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
48169         cpu2 is -1 and errno is not ENOSYS.
48171 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
48173         [BZ #14117]
48174         * sysdeps/i386/i486/bits/string.h: Renamed to ...
48175         * sysdeps/x86/bits/string.h: This.
48176         * sysdeps/x86_64/bits/string.h: Removed.
48178         * sysdeps/i386/i486/bits/string.h: Define inline functions only
48179         if not compiling for x86-64, but compiling for >= i486.
48181         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
48182         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
48184         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
48185         New macro from Linux kernel 3.4.0.
48186         (FP_XSTATE_MAGIC2): Likewise.
48187         (FP_XSTATE_MAGIC2_SIZE): Likewise.
48188         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
48189         (struct _fpx_sw_bytes): New struct.
48190         (struct _xsave_hdr): Likewise.
48191         (struct _ymmh_state): Likewise.
48192         (struct _xstate): Likewise.
48194         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
48195         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
48196         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
48197         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
48198         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
48199         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
48201         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
48202         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
48203         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
48204         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
48205         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
48206         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
48208 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48210         [BZ #13743]
48211         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
48212         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
48213         (sysdep_headers): Include sys/platform/ppc.h.
48214         * sysdeps/powerpc/test-gettimebase.c: Test for
48215         __ppc_get_timebase() to catch future ISA opcode/insn changes.
48216         * manual/Makefile (appendices): Include platform.texi.
48217         * manual/contrib.texi (Contributors): Update @node pointers.
48218         * manual/maint.texi (Maintenance): Likewise.
48219         (Platform): New node.
48220         * manual/platform.texi: New file.  Document the new features.
48222 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48223             Jakub Jelinek  <jakub@redhat.com>
48225         [BZ #14188]
48226         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
48227         where __builtin_expect is unavailable.
48229 2012-06-03  David S. Miller  <davem@davemloft.net>
48231         * stdlib/longlong.h: Updated from GCC.
48233 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
48235         [BZ #14042]
48236         * sysdeps/powerpc/powerpc32/mcount.c: New file.
48237         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
48238         __mcount_internal.
48239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
48240         (GLIBC_2.16): Likewise.
48242 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48244         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
48246 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
48249         (default-abi): New variable.
48250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
48251         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
48252         variable.
48253         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
48254         Likewise.
48255         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
48256         Likewise.
48257         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
48258         Likewise.
48260         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
48261         definition.  Document in comment.
48263 2012-06-01  David S. Miller  <davem@davemloft.net>
48265         * stdlib/longlong.h: Updated from GCC.
48267 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48269         [BZ #14117]
48270         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
48271         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
48272         sys/debugreg.h sys/io.h here.
48273         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
48274         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
48275         sys/io.h.
48276         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
48277         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
48278         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
48279         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
48280         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
48281         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
48283         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
48284         Define only if __x86_64__ is defined.
48286 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48288         [BZ #14048]
48289         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
48290         Use int64_t for variable i.
48291         * math/libm-test.inc (fmod_test): Add more tests.
48293         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
48294         z computation is not scheduled after fetestexcept.
48295         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
48296         Use math_force_eval instead of asm to ensure calculation scheduled
48297         before exception test.
48298         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
48299         Ensure a1 + u.d computation is not scheduled after fetestexcept.
48301 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
48303         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
48304         computation is not scheduled after fetestexcept.
48306 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48308         [BZ #14117]
48309         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
48310         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
48312 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48314         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
48315         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48317 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48319         [BZ #14117]
48320         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
48321         <bits/wordsize.h>.
48322         (__WCHAR_MIN): Support __WORDSIZE == 64.
48323         (__WCHAR_MAX): Likewise.
48325         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
48326         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
48328         [BZ #14183]
48329         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
48330         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
48332         [BZ #14117]
48333         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
48334         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
48336         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
48337         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
48339         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
48340         Defined to 1 if __x86_64__ isn't defined.
48341         (_STAT_VER_LINUX_OLD): New.
48342         (st_atime): Remove duplicate.
48343         (st_mtime): Likewise.
48344         (st_ctime): Likewise.
48346 2012-05-31  David S. Miller  <davem@davemloft.net>
48348         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
48349         entries.
48351 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
48353         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
48354         gen-libm-test.pl.
48356         [BZ #14132]
48357         * elf/dl-reloc.c: Include <_itoa.h>.
48358         (_dl_reloc_bad_type): Remove use of INTUSE.
48359         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
48360         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
48361         * stdio-common/psiginfo.c (psiginfo): Likewise.
48362         * stdio-common/psignal.c (psignal): Likewise.
48363         * string/strsignal.c (strsignal): Likewise.
48364         * include/signal.h (_sys_siglist): Declare hidden proto.
48365         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
48366         INTVARDEF with libc_hidden_data_def.
48367         * stdio-common/itoa-udigits.c: Likewise.
48368         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
48369         (_itoa_lower_digits_internal): Remove declaration.
48370         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
48371         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
48372         (_sys_sigabbrev_internal): Remove aliases.
48373         (_sys_siglist): Define hidden alias.
48375 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
48377         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48378         bits/sysctl.h.
48380 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48382         [BZ #14117]
48383         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
48384         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
48386         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
48387         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
48388         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
48389         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
48390         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
48391         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
48393         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
48394         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
48395         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
48397         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
48398         with __addr.
48399         (insw): Likewise.
48400         (insl): Likewise.
48401         (outsb): Likewise.
48402         (outsw): Likewise.
48403         (outsl): Likewise.
48405         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
48406         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
48407         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
48409         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
48410         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
48411         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
48412         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
48413         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
48414         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
48416         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
48417         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
48419         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
48420         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
48422         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
48423         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
48424         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
48426         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
48427         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
48428         to ...
48429         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
48431         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
48432         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
48433         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
48435         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
48436         for x86-64.
48437         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
48439 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
48441         * math/math.h (M_El): Use two more decimal places.
48442         (M_LOG2El): Likewise.
48443         (M_LOG10El): Likewise.
48444         (M_LN2l): Likewise.
48445         (M_LN10l): Likewise.
48446         (M_PIl): Likewise.
48447         (M_PI_2l): Likewise.
48448         (M_PI_4l): Likewise.
48449         (M_1_PIl): Likewise.
48450         (M_2_PIl): Likewise.
48451         (M_2_SQRTPIl): Likewise.
48452         (M_SQRT2l): Likewise.
48453         (M_SQRT1_2l): Likewise.
48455 2012-05-31  David S. Miller  <davem@davemloft.net>
48457         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
48458         values between float registers.
48459         * sysdeps/sparc/sparc64/memset.S: Likewise.
48460         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48462 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
48464         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
48465         -D_FORTIFY_SOURCE=1.
48466         (CPPFLAGS-tst-longjmp_chk.c): Define.
48467         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
48468         (CPPFLAGS-tst-longjmp_chk2.c): Define.
48469         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
48470         CFLAGS-tst-wchar-h.c.
48472 2012-05-31  Marek Polacek  <polacek@redhat.com>
48474         [BZ #14132]
48475         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
48476         __endmntent_internal): Remove declaration.
48477         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
48478         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
48479         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
48481 2012-05-30  David S. Miller  <davem@davemloft.net>
48483         * sysdeps/sparc/sparc32/soft-fp/q_util.c
48484         (___Q_simulate_exceptions): Use real FP ops rather than writing
48485         into the %fsr.
48486         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
48487         Likewise.
48489 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48491         [BZ #14117]
48492         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
48493         * sysdeps/x86/bits/xtitypes.h: This.
48495         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
48496         * sysdeps/x86/bits/wordsize.h: This.
48498         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
48499         * sysdeps/x86/bits/huge_vall.h: This.
48501         * sysdeps/i386/bits/select.h: Removed.
48502         * sysdeps/x86_64/bits/select.h: Renamed to ...
48503         * sysdeps/x86/bits/select.h: This.
48505         * sysdeps/i386/bits/setjmp.h: Removed.
48506         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
48507         * sysdeps/x86/bits/setjmp.h: This.
48509         * sysdeps/i386/bits/mathdef.h: Removed.
48510         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
48511         * sysdeps/x86/bits/mathdef.h: This.
48513 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
48515         [BZ #14132]
48516         * include/sys/socket.h (__connect_internal)
48517         (__libc_sa_len_internal): Remove declaration.
48518         (__connect, __libc_sa_len): Declare hidden_proto.
48519         (SA_LEN): Remove use of INTUSE.
48520         * socket/connect.c: Add libc_hidden_def.
48521         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
48522         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
48523         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
48524         alias.
48525         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48526         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
48527         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
48528         of adding _internal alias.
48530 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48532         [BZ #14117]
48533         * sysdeps/i386/bits/link.h: Removed.
48534         * sysdeps/i386/bits/linkmap.h: Likewise.
48535         * sysdeps/x86_64/bits/link.h: Renamed to ...
48536         * sysdeps/x86/bits/link.h: This.
48537         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
48538         * sysdeps/x86/bits/linkmap.h: This.
48540         * sysdeps/i386/bits/endian.h: Removed.
48541         * sysdeps/x86_64/bits/endian.h: Renamed to ...
48542         * sysdeps/x86/bits/endian.h: This.
48544         * sysdeps/i386/bits/byteswap.h: Removed.
48545         * sysdeps/i386/bits/byteswap-16.h: Likewise.
48546         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
48547         * sysdeps/x86/bits/byteswap.h: This.
48548         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
48549         * sysdeps/x86/bits/byteswap-16.h: This.
48550         * sysdeps/i386/Implies: Add x86.
48551         * sysdeps/x86_64/Implies: Likewise.
48553 2012-05-30  David S. Miller  <davem@davemloft.net>
48555         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
48556         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
48557         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48558         (FP_TRAPPING_EXCEPTIONS): Define.
48559         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48560         (FP_TRAPPING_EXCEPTIONS): Define.
48561         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
48562         subnormals only when inexact has been signalled or underflow
48563         exceptions are enabled.
48564         (_FP_PACK_CANONICAL): Likewise.
48566 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48568         [BZ #14183]
48569         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
48570         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
48572 2012-05-30  Richard Henderson  <rth@twiddle.net>
48574         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
48575         with #ifndef NOT_IN_libc.
48577         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
48578         marked to avoid plt entry.
48580 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48582         [BZ #14112]
48583         * Makeconfig (default-abi): New macro.
48584         (abi-includes): Likewise.
48585         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
48586         $(abi-$(default-abi)-lib-soname) for soname if defined.
48587         ($(common-objpfx)gnu/lib-names.stmp): Generate from
48588         abi-variants.
48589         * Makefile (installed-stubs): Likewise.
48590         * include/stubs-biarch.h: Removed.
48591         * scripts/lib-names.awk: Only handle one library at a time.
48592         * scripts/soversions.awk: Remove WORDSIZE support.
48593         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
48594         entries.
48595         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
48596         Removed.
48597         (syscall-list-default-condition): Likewise.
48598         (syscall-list-default-condition): Likewise.
48599         (syscall-list-includes): Likewise.
48600         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
48601         syscall-list-* with abi-*.  Handle undefined abi-variants.
48602         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
48603         * sysdeps/unix/sysv/linux/i386/Implies: New file.
48604         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
48605         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
48606         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
48607         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
48608         Removed.
48609         (syscall-list-32-options): Likewise.
48610         (syscall-list-32-condition): Likewise.
48611         (syscall-list-64-options): Likewise.
48612         (syscall-list-64-condition): Likewise.
48613         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
48614         macro.
48615         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
48616         Renamed to ...
48617         (abi-*): This.
48618         (abi-64-ld-soname): New macro.
48619         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
48620         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
48621         Renamed to ...
48622         (abi-*): This.
48623         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
48624         * sysdeps/x86_64/x32/shlib-versions: Likewise.
48626 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
48628         * sysdeps/unix/sysv/linux/kernel-features.h
48629         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
48630         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
48631         include <kernel-features.h>.
48632         [!__NR_ftruncate64]: Remove conditional code.
48633         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48634         [__NR_ftruncate64]: Make code unconditional.
48635         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48636         * sysdeps/unix/sysv/linux/truncate64.c: Do not
48637         include <kernel-features.h>.
48638         [!__NR_ftruncate64]: Remove conditional code.
48639         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48640         [__NR_ftruncate64]: Make code unconditional.
48641         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
48643         include <kernel-features.h>.
48644         [!__NR_ftruncate64]: Remove conditional code.
48645         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48646         [__NR_ftruncate64]: Make code unconditional.
48647         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48649         include <kernel-features.h>.
48650         [!__NR_ftruncate64]: Remove conditional code.
48651         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48652         [__NR_ftruncate64]: Make code unconditional.
48653         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48655         * configure.in (libc_cv_fpie): Weaken to a compile test using
48656         LIBC_TRY_CC_OPTION.
48657         * configure: Regenerated.
48659 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
48662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
48663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
48664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48665         Refreshed.
48666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
48667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
48668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
48669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
48670         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
48671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48672         Refreshed.
48674 2012-05-27  David S. Miller  <davem@davemloft.net>
48676         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
48677         (___Q_zero): New.
48678         (__Q_simulate_exceptions): Return void.  Change to simulate
48679         exceptions by writing into the %fsr.
48680         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
48681         (__Qp_handle_exceptions): Likewise.
48682         (numbers): Delete.
48683         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
48684         __Qp_handle_exceptions.
48685         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
48686         __Qp_handle_exceptions.
48687         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48688         as unused and give dummy FP_RND_NEAREST initializer.
48689         (FP_INHIBIT_RESULTS): Define.
48690         (___Q_simulate_exceptions): Update declaration.
48691         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
48692         formatting.
48693         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48694         as unused and give dummy FP_RND_NEAREST initializer.
48695         (__Qp_handle_exceptions): Update declaration.
48696         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
48697         formatting.
48699 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
48701         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
48702         the temporary FPU control word.
48703         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48704         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
48705         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
48706         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48707         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48708         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
48709         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
48710         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48711         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
48712         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
48713         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48715 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48717         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
48718         fields.
48720 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
48722         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
48723         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48724         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48725         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48726         Likewise.
48727         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48728         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48729         Likewise.
48731 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
48733         * po/h.po: Update from translation team.
48735 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
48737         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48739         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48740         handling of denormals.
48741         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48742         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48743         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48744         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48745         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48746         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48747         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48748         Likewise.
48750 2012-05-26  Marek Polacek  <polacek@redhat.com>
48752         [BZ #14152]
48753         * math/libm-test.inc (fma_test): Don't always expect underflow
48754         exception.
48756 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48758         [BZ #12416]
48759         * elf/tst-execstack.c: Include stackinfo.h.
48760         (do_test): Adjust test case to ensure that pthread_getattr_np
48761         behaviour remains the same after marking stack executable.
48763 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48765         * sysdeps/unix/sysv/linux/kernel-features.h
48766         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48767         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48768         kernel-features.h.
48769         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48770         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48771         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48772         kernel-features.h.
48773         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48774         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48776 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48778         * configure.in: Define the default includes to being none.
48779         * configure: Regenerated.
48781 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48783         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48784         * sysdeps/x86_64/setjmp.S: Likewise.
48785         * sysdeps/i386/bsd-setjmp.S: Likewise.
48786         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48787         * sysdeps/i386/setjmp.S: Likewise.
48788         * sysdeps/i386/__longjmp.S: Likewise.
48789         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48790         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48792         * include/stap-probe.h: New file.
48793         * configure.in: Handle --enable-systemtap.
48794         * configure: Regenerated.
48795         * config.h.in (USE_STAP_PROBE): New #undef.
48796         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48797         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48798         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48800 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48802         [BZ #13717]
48803         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48804         to 2.4.0 where earlier.
48805         * sysdeps/unix/sysv/linux/configure: Regenerated.
48806         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48807         <kernel-features.h>.
48808         [__ASSUME_32BITUIDS]: Make code unconditional.
48809         [!__ASSUME_32BITUIDS]: Remove conditional code.
48810         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
48811         <kernel-features.h>.
48812         [__ASSUME_32BITUIDS]: Make code unconditional.
48813         [!__ASSUME_32BITUIDS]: Remove conditional code.
48814         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48815         [__ASSUME_32BITUIDS]: Make code unconditional.
48816         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48817         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
48818         <kernel-features.h>.
48819         [__ASSUME_32BITUIDS]: Make code unconditional.
48820         [!__ASSUME_32BITUIDS]: Remove conditional code.
48821         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
48822         <kernel-features.h>.
48823         [__ASSUME_32BITUIDS]: Make code unconditional.
48824         [!__ASSUME_32BITUIDS]: Remove conditional code.
48825         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
48826         <kernel-features.h>.
48827         [__ASSUME_32BITUIDS]: Make code unconditional.
48828         [!__ASSUME_32BITUIDS]: Remove conditional code.
48829         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
48830         <kernel-features.h>.
48831         [__ASSUME_32BITUIDS]: Make code unconditional.
48832         [!__ASSUME_32BITUIDS]: Remove conditional code.
48833         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48834         <kernel-features.h>.
48835         [__ASSUME_32BITUIDS]: Make code unconditional.
48836         [!__ASSUME_32BITUIDS]: Remove conditional code.
48837         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48838         <kernel-features.h>.
48839         [__ASSUME_32BITUIDS]: Make code unconditional.
48840         [!__ASSUME_32BITUIDS]: Remove conditional code.
48841         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48842         <kernel-features.h>.
48843         [__ASSUME_32BITUIDS]: Make code unconditional.
48844         [!__ASSUME_32BITUIDS]: Remove conditional code.
48845         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48846         <kernel-features.h>.
48847         [__ASSUME_32BITUIDS]: Make code unconditional.
48848         [!__ASSUME_32BITUIDS]: Remove conditional code.
48849         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48850         <kernel-features.h>.
48851         [__ASSUME_32BITUIDS]: Make code unconditional.
48852         [!__ASSUME_32BITUIDS]: Remove conditional code.
48853         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
48854         <kernel-features.h>.
48855         [__ASSUME_32BITUIDS]: Make code unconditional.
48856         [!__ASSUME_32BITUIDS]: Remove conditional code.
48857         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
48858         <kernel-features.h>.
48859         [__NR_setresgid] (__setresgid): Do not declare.
48860         [__ASSUME_32BITUIDS]: Make code unconditional.
48861         [!__ASSUME_32BITUIDS]: Remove conditional code.
48862         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48863         <kernel-features.h>.
48864         [__NR_setresuid] (__setresuid): Do not declare.
48865         [__ASSUME_32BITUIDS]: Make code unconditional.
48866         [!__ASSUME_32BITUIDS]: Remove conditional code.
48867         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48868         <kernel-features.h>.
48869         [__ASSUME_32BITUIDS]: Make code unconditional.
48870         [!__ASSUME_32BITUIDS]: Remove conditional code.
48871         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
48872         <kernel-features.h>.
48873         [__ASSUME_32BITUIDS]: Make code unconditional.
48874         [!__ASSUME_32BITUIDS]: Remove conditional code.
48875         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
48876         <kernel-features.h>.
48877         [__ASSUME_32BITUIDS]: Make code unconditional.
48878         [!__ASSUME_32BITUIDS]: Remove conditional code.
48879         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
48880         <kernel-features.h>.
48881         [__ASSUME_32BITUIDS]: Make code unconditional.
48882         [!__ASSUME_32BITUIDS]: Remove conditional code.
48883         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
48884         <kernel-features.h>.
48885         [__ASSUME_32BITUIDS]: Make code unconditional.
48886         [!__ASSUME_32BITUIDS]: Remove conditional code.
48887         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
48888         <kernel-features.h>.
48889         [__ASSUME_32BITUIDS]: Make code unconditional.
48890         [!__ASSUME_32BITUIDS]: Remove conditional code.
48891         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48892         <kernel-features.h>.
48893         [__ASSUME_32BITUIDS]: Make code unconditional.
48894         [!__ASSUME_32BITUIDS]: Remove conditional code.
48895         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
48896         <kernel-features.h>.
48897         [__ASSUME_32BITUIDS]: Make code unconditional.
48898         [!__ASSUME_32BITUIDS]: Remove conditional code.
48899         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
48900         <kernel-features.h>.
48901         [__ASSUME_32BITUIDS]: Make code unconditional.
48902         [!__ASSUME_32BITUIDS]: Remove conditional code.
48903         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48904         <kernel-features.h>.
48905         [__ASSUME_32BITUIDS]: Make code unconditional.
48906         [!__ASSUME_32BITUIDS]: Remove conditional code.
48907         * sysdeps/unix/sysv/linux/kernel-features.h
48908         (__ASSUME_SETRESUID_SYSCALL): Remove.
48909         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48910         (__ASSUME_32BITUIDS): Likewise.
48911         (__ASSUME_LDT_WORKS): Likewise.
48912         (__ASSUME_O_DIRECTORY): Likewise.
48913         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48914         architecture but not kernel version.
48915         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48916         (__ASSUME_MMAP2_SYSCALL): Likewise.
48917         (__ASSUME_STAT64_SYSCALL): Likewise.
48918         (__ASSUME_IPC64): Likewise.
48919         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48920         <kernel-features.h>.
48921         [__ASSUME_32BITUIDS]: Make code unconditional.
48922         [!__ASSUME_32BITUIDS]: Remove conditional code.
48923         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48924         <kernel-features.h>.
48925         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48926         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48927         132096]: Remove conditional code.
48928         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48929         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48930         <kernel-features.h>.
48931         [__ASSUME_32BITUIDS]: Make code unconditional.
48932         [!__ASSUME_32BITUIDS]: Remove conditional code.
48933         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48934         <kernel-features.h>.
48935         [__ASSUME_32BITUIDS]: Make code unconditional.
48936         [!__ASSUME_32BITUIDS]: Remove conditional code.
48937         * sysdeps/unix/sysv/linux/setegid.c: Do not include
48938         <kernel-features.h>.
48939         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48940         unconditional.
48941         (__setresgid): Do not declare.
48942         [__ASSUME_32BITUIDS]: Make code unconditional.
48943         [!__ASSUME_32BITUIDS]: Remove conditional code.
48944         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48945         <kernel-features.h>.
48946         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48947         unconditional.
48948         (__setresuid): Do not declare.
48949         [__ASSUME_32BITUIDS]: Make code unconditional.
48950         [!__ASSUME_32BITUIDS]: Remove conditional code.
48951         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48952         <kernel-features.h>.
48953         [__ASSUME_32BITUIDS]: Make code unconditional.
48954         [!__ASSUME_32BITUIDS]: Remove conditional code.
48955         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48956         <kernel-features.h>.
48957         [__ASSUME_32BITUIDS]: Make code unconditional.
48958         [!__ASSUME_32BITUIDS]: Remove conditional code.
48960 2012-05-25  Richard Henderson  <rth@twiddle.net>
48962         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48963         dl_hwcap to ifunc resolver.
48964         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48965         elf_ifunc_invoke.
48966         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48967         dl_hwcap to ifunc resolver.
48968         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48970 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48972         [BZ #14153]
48973         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48974         for |x| <= 2**-26, not 2**-57.
48975         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48976         exception.
48978 2012-05-24  Jeff Law  <law@redhat.com>
48980         * stdio-common/Makefile (tests): Add bug25.
48981         * stdio-common/bug25.c: New test.
48983 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48985         [BZ #13576]
48986         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48987         multiple of MALLOC_ALIGNMENT in size.
48988         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48990 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48992         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48993         Require >= 256.
48994         (FILENAME_MAX): Use macro-int-constant.
48995         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48996         (_IOFBF): Use macro-int-constant.
48997         (_IOLBF): Likewise.
48998         (_IONBF): Likewise.
48999         (SEEK_CUR): Likewise.
49000         (SEEK_END): Likewise.
49001         (SEEK_SET): Likewise.
49002         (TMP_MAX): Likewise.
49003         (EOF): Use macro-int-constant.  Require < 0.
49004         (NULL): Use macro-constant.  Require == 0.
49005         (stdin): Require type to be FILE *.
49006         (stdout): Likewise.
49007         (stderr): Likewise.
49008         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
49009         macro-int-constant.
49010         (EXIT_SUCCESS): Likewise.
49011         (NULL): Use macro-constant.  Require == 0.
49012         (RAND_MAX): Use macro-int-constant.
49013         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
49014         [C99-based standards] (strtof): Require function.
49015         [C99-based standards] (strtold): Likewise.
49016         [C99-based standards] (strtoll): Likewise.
49017         [C99-based standards] (strtoull): Likewise.
49018         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49019         [ISO || ISO99 || ISO11] (limits.h): Likewise.
49020         [ISO || ISO99 || ISO11] (math.h): Likewise.
49021         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
49022         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49023         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49025 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
49027         [BZ #14132]
49028         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
49029         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
49030         * intl/dgettext.c (DCGETTEXT): Likewise.
49031         * intl/gettext.c (DCGETTEXT): Likewise.
49032         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
49033         * posix/regex_internal.h (gettext): Likewise.
49034         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
49035         Remove declaration.
49036         * include/argz.h (__argz_count_internal)
49037         (__argz_stringify_internal): Remove declaration.
49038         (__argz_count, __argz_stringify): Declare hidden proto.
49039         * intl/dcgettext.c: Remove use of INTDEF.
49040         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
49041         * string/argz-stringify.c: Likewise.
49042         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49043         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49044         Declare hidden proto.
49045         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49046         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49047         Declare hidden proto.
49048         * include/stdio.h (__asprintf_internal): Don't declare.
49049         (__asprintf): Don't define as macro.  Declare hidden proto.
49050         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
49051         (__fsetlocking): Declare hidden proto.
49052         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
49053         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
49054         hidden proto.
49055         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
49056         (_IO_setlinebuf): Remove use of INTUSE.
49057         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
49058         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
49059         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
49060         Remove declaration.
49061         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
49062         (_IO_do_flush): Remove use of INTUSE.
49063         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
49064         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
49065         (_IO_adjust_column, _IO_least_wmarker)
49066         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
49067         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
49068         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
49069         (_IO_default_doallocate, _IO_wdefault_doallocate)
49070         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
49071         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
49072         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
49073         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
49074         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
49075         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
49076         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
49077         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
49078         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
49079         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
49080         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
49081         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
49082         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
49083         proto.
49084         (_IO_flush_all_internal, _IO_adjust_column_internal)
49085         (_IO_default_uflow_internal, _IO_default_finish_internal)
49086         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
49087         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
49088         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
49089         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
49090         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
49091         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
49092         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
49093         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
49094         (_IO_file_close_internal, _IO_file_close_it_internal)
49095         (_IO_file_underflow_internal, _IO_file_overflow_internal)
49096         (_IO_file_init_internal, _IO_file_attach_internal)
49097         (_IO_file_fopen_internal, _IO_file_read_internal)
49098         (_IO_file_sync_internal, _IO_file_seek_internal)
49099         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
49100         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
49101         (_IO_str_underflow_internal, _IO_str_overflow_internal)
49102         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
49103         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
49104         (_IO_list_all_internal, _IO_link_in_internal)
49105         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
49106         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
49107         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
49108         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
49109         (_IO_do_write_internal, _IO_padn_internal)
49110         (_IO_getline_info_internal, _IO_getline_internal)
49111         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
49112         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
49113         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
49114         (_IO_vfscanf_internal, _IO_vfprintf_internal)
49115         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
49116         (_IO_init_internal, _IO_un_link_internal): Don't declare.
49117         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
49118         with libc_hidden_ver, remove use of INTUSE.
49119         * libio/genops.c: Likewise.
49120         * libio/freopen.c: Likewise.
49121         * libio/freopen64.c: Likewise.
49122         * libio/iofclose.c: Likewise.
49123         * libio/iofdopen.c: Likewise.
49124         * libio/iofflush.c: Likewise.
49125         * libio/iofflush_u.c: Likewise.
49126         * libio/iofgets.c: Likewise.
49127         * libio/iofgets_u.c: Likewise.
49128         * libio/iofopen.c: Likewise.
49129         * libio/iofopncook.c: Likewise.
49130         * libio/iofread.c: Likewise.
49131         * libio/iofread_u.c: Likewise.
49132         * libio/ioftell.c: Likewise.
49133         * libio/iofwrite.c: Likewise.
49134         * libio/iogetline.c: Likewise.
49135         * libio/iogets.c: Likewise.
49136         * libio/iogetwline.c: Likewise.
49137         * libio/iopadn.c: Likewise.
49138         * libio/iopopen.c: Likewise.
49139         * libio/ioseekoff.c: Likewise.
49140         * libio/ioseekpos.c: Likewise.
49141         * libio/iosetbuffer.c: Likewise.
49142         * libio/iosetvbuf.c: Likewise.
49143         * libio/ioungetc.c: Likewise.
49144         * libio/ioungetwc.c: Likewise.
49145         * libio/iovdprintf.c: Likewise.
49146         * libio/iovsprintf.c: Likewise.
49147         * libio/iovsscanf.c: Likewise.
49148         * libio/memstream.c: Likewise.
49149         * libio/obprintf.c: Likewise.
49150         * libio/oldfileops.c: Likewise.
49151         * libio/oldiofclose.c: Likewise.
49152         * libio/oldiofdopen.c: Likewise.
49153         * libio/oldiofopen.c: Likewise.
49154         * libio/oldiopopen.c: Likewise.
49155         * libio/oldstdfiles.c: Likewise.
49156         * libio/putc.c: Likewise.
49157         * libio/setbuf.c: Likewise.
49158         * libio/setlinebuf.c: Likewise.
49159         * libio/stdfiles.c: Likewise.
49160         * libio/strops.c: Likewise.
49161         * libio/vasprintf.c: Likewise.
49162         * libio/vscanf.c: Likewise.
49163         * libio/vsnprintf.c: Likewise.
49164         * libio/vswprintf.c: Likewise.
49165         * libio/wfiledoalloc.c: Likewise.
49166         * libio/wfileops.c: Likewise.
49167         * libio/wgenops.c: Likewise.
49168         * libio/wmemstream.c: Likewise.
49169         * libio/wstrops.c: Likewise.
49170         * libio/__fpurge.c: Likewise.
49171         * libio/__fsetlocking.c: Likewise.
49172         * assert/assert.c: Likewise.
49173         * debug/fgets_chk.c: Likewise.
49174         * debug/fgets_u_chk.c: Likewise.
49175         * debug/fread_chk.c: Likewise.
49176         * debug/fread_u_chk.c: Likewise.
49177         * debug/gets_chk.c: Likewise.
49178         * debug/obprintf_chk.c: Likewise.
49179         * debug/vasprintf_chk.c: Likewise.
49180         * debug/vdprintf_chk.c: Likewise.
49181         * debug/vsnprintf_chk.c: Likewise.
49182         * debug/vsprintf_chk.c: Likewise.
49183         * malloc/mtrace.c: Likewise.
49184         * misc/error.c: Likewise.
49185         * misc/syslog.c: Likewise.
49186         * stdio-common/asprintf.c: Likewise.
49187         * stdio-common/fxprintf.c: Likewise.
49188         * stdio-common/getw.c: Likewise.
49189         * stdio-common/isoc99_fscanf.c: Likewise.
49190         * stdio-common/isoc99_scanf.c: Likewise.
49191         * stdio-common/isoc99_vfscanf.c: Likewise.
49192         * stdio-common/isoc99_vscanf.c: Likewise.
49193         * stdio-common/isoc99_vsscanf.c: Likewise.
49194         * stdio-common/printf-prs.c: Likewise.
49195         * stdio-common/printf_fp.c: Likewise.
49196         * stdio-common/printf_fphex.c: Likewise.
49197         * stdio-common/printf_size.c: Likewise.
49198         * stdio-common/putw.c: Likewise.
49199         * stdio-common/scanf.c: Likewise.
49200         * stdio-common/sprintf.c: Likewise.
49201         * stdio-common/tmpfile.c: Likewise.
49202         * stdio-common/vfprintf.c: Likewise.
49203         * stdio-common/vfscanf.c: Likewise.
49204         * stdlib/strfmon_l.c: Likewise.
49205         * sunrpc/openchild.c: Likewise.
49206         * sunrpc/xdr_stdio.c: Likewise.
49207         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
49208         * sysdeps/mach/hurd/tmpfile.c: Likewise.
49210 2012-05-24  Roland McGrath  <roland@hack.frob.com>
49212         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49214         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
49215         in the third column, to generate for the shared library an IFUNC
49216         that uses _dl_vdso_vsym.
49217         * Makerules (COMPILE.c, compile-stdin.c): New variables.
49218         * Makeconfig (object-suffixes-noshared): New variable.
49220         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
49221         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
49222         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
49223         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
49225         [BZ #14132]
49226         * include/sys/time.h (__gettimeofday): Remove macro.
49227         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
49228         * time/gettimeofday.c (__gettimeofday): Remove #undef.
49229         Remove INTDEF.
49230         (__gettimeofday): Add libc_hidden_def.
49231         (gettimeofday): Add libc_hidden_weak.
49232         * sysdeps/mach/gettimeofday.c: Likewise.
49233         * sysdeps/posix/gettimeofday.c: Likewise.
49234         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
49235         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
49236         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
49237         (__gettimeofday_internal): Remove strong_alias.
49238         (__gettimeofday): Add libc_hidden_def.
49239         (gettimeofday): Add libc_hidden_weak.
49240         * sysdeps/unix/syscalls.list (gettimeofday):
49241         Remove __gettimeofday_internal alias.
49243 2012-05-24  Daniel Jacobowitz  <drow@false.org>
49244             H.J. Lu  <hongjiu.lu@intel.com>
49246         [BZ #12495]
49247         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
49248         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
49249         (largebin_index_32_big): New.
49250         (largebin_index): Use it for 16-byte alignment.
49251         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
49252         correction with front_misalign.
49254 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
49256         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
49257         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49258         Likewise.
49259         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
49260         Likewise.
49261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49262         Likewise.
49263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
49264         Likewise.
49265         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
49266         Likewise.
49267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
49268         Likewise.
49269         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
49270         Likewise.
49271         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49272         Likewise.
49273         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
49274         Likewise.
49275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
49276         Likewise.
49277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49278         Likewise.
49279         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
49280         Likewise.
49282         * scripts/data/c++-types-x32-linux-gnu.data: New file.
49283         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
49285 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
49287         [BZ #10846]
49288         [BZ #14036]
49289         * math/libm-test.inc (exp_test): Add test from bug 14036.
49290         (pow_test): Add test from bug 10846.
49292         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
49293         and other flags.
49294         (special_function): Do not include flags in test name.
49295         (parse_args): Likewise.
49296         * sysdeps/i386/fpu/libm-test-ulps: Update.
49297         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49298         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49299         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49302         * math/gen-libm-test.pl (%beautify): Add entries for underflow
49303         exceptions.
49304         * math/libm-test.inc ("Philosophy"): Update comment about
49305         exception testing.
49306         (UNDERFLOW_EXCEPTION): New macro.
49307         (UNDERFLOW_EXCEPTION_OK): Likewise.
49308         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
49309         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
49310         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
49311         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
49312         (INVALID_EXCEPTION_OK): Update value.
49313         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49314         (OVERFLOW_EXCEPTION_OK): Likewise.
49315         (IGNORE_ZERO_INF_SIGN): Likewise.
49316         (test_exceptions): Handle underflow exceptions.
49317         (acos_test): Update for underflow exception expectations.
49318         (cexp_test): Likewise.
49319         (clog_test): Likewise.
49320         (clog10_test): Likewise.
49321         (csqrt_test): Likewise.
49322         (ctan_test): Likewise.
49323         (ctanh_test): Likewise.
49324         (exp_test): Likewise.
49325         (exp10_test): Likewise.
49326         (exp2_test): Likewise.
49327         (expm1_test): Likewise.
49328         (fma_test): Likewise.
49329         (j0_test): Likewise.
49330         (jn_test): Likewise.
49331         (nexttoward_test): Likewise.
49332         (pow_test): Likewise.
49333         (scalbn_test): Likewise.
49334         (scalbln_test): Likewise.
49335         (tan_test): Likewise.
49336         (y1_test): Likewise.
49337         * sysdeps/i386/fpu/libm-test-ulps: Update.
49338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49340 2012-05-23  David S. Miller  <davem@davemloft.net>
49342         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49343         (__libc_sigaction): Remove unused local variables.
49345 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49347         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
49349 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
49351         mktime: avoid signed integer overflow
49352         * time/mktime.c (__mktime_internal): Do not mishandle the case
49353         where diff == INT_MIN.
49355         mktime: simplify computation of average
49356         * time/mktime.c (ranged_convert): Use new time_t_avg function
49357         instead of rolling our own (probably-slower) code.
49359         mktime: do not assume signed right shift propagates sign bit
49360         * time/mktime.c (isdst_differ): New static function.
49361         (__mktime_internal): No need to normalize tm_isdst now.
49362         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
49363         tm_isdst values.
49365         mktime: merge another wrapv change from gnulib
49366         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
49367         from some compilers.
49369         mktime: remove incorrect attempt at unusual arithmetics
49370         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
49371         The code didn't really work on such machines anyway.
49372         (TYPE_MINIMUM): Assume two's complement.
49373         (twos_complement_arithmetic): Verify that long_int and time_t
49374         are two's complement (or unsigned, in the latter case).
49376         mktime: check signed shifts on long_int and time_t, too
49377         * time/mktime.c (SHR): Check that shifts work as desired
49378         on the types long_int and time_t too, as SHR is used on
49379         such types.
49381         mktime: do not assume 'long' is wide enough
49382         * time/mktime.c (verify): Move decl up.
49383         (long_int): New type.
49384         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
49385         to remove assumption in the code that 'long' is wide enough to
49386         store year values.  This assumption is not true on x32 and on
49387         some non-glibc platforms.
49389         mktime: merge wrapv change from gnulib
49390         * time/mktime.c (WRAPV): New macro.
49391         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
49392         (guess_time_tm, __mktime_internal): Do not assume that signed
49393         integer overflow wraps around; modern compilers generate code
49394         where this assumption is no longer valid.
49396 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49398         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49399         Replace "jmp L(pseudo_end)" with "ret".
49400         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
49401         Likewise.
49403 2012-05-23  Andreas Jaeger  <aj@suse.de>
49405         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
49406         * sysdeps/unix/sysv/linux/poll.c: Remove file.
49408 2012-05-23  Andreas Jaeger  <aj@suse.de>
49409             Maximilian Attems  <max@stro.at>
49411         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
49412         New macros.
49414 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49416         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
49417         code so that pseudo_end is just ret and the stack pointer is
49418         correct also for static library in error case.
49420 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
49422         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
49423         move to syscalls.list.
49424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
49425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
49426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
49427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
49429         * manual/install.texi (Running make install): Do not mention Linux
49430         kernel version for which pt_chown is not needed.
49431         (Linux): Do not mention problems with nscd with 2.0 kernels.
49432         * INSTALL: Regenerated.
49434 2012-05-23  Andreas Jaeger  <aj@suse.de>
49436         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
49437         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
49438         macro.
49439         * sysdeps/unix/sysv/linux/s390/bits/mman.h
49440         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49441         * sysdeps/unix/sysv/linux/sh/bits/mman.h
49442         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49443         * sysdeps/unix/sysv/linux/i386/bits/mman.h
49444         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49445         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
49446         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49447         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
49448         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49449         * sysdeps/unix/sysv/linux/bits/in.h
49450         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
49452 2012-05-22  Roland McGrath  <roland@hack.frob.com>
49454         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
49455         (PREPARE_VERSION): Just use assert instead, it will be elided
49456         under [NDEBUG] anyway.
49458 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49460         * sysdeps/unix/sysv/linux/Makefile: Include
49461         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
49462         (sysdep_routines): Remove sysctl.
49463         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
49464         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
49465         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
49466         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
49467         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
49469 2012-05-22  Andreas Jaeger  <aj@suse.de>
49471         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
49472         that pseudo_end is just ret and the stack pointer is correct also
49473         for static library in error case.
49475 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
49477         [BZ #14122]
49478         * nss/nsswitch.c (defconfig_entries): New variable.
49479         (__nss_database_lookup): Don't leak defconfig entries.
49480         (nss_parse_service_list): Don't leak on error paths.
49481         (free_database_entries): New function.
49482         (free_defconfig): New function.
49483         (free_mem): Move common code to free_database_entries.
49485 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49487         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
49488         Add arch_prctl.
49489         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
49491         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49492         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
49493         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
49494         New macro.
49495         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
49496         (INTERNAL_SYSCALL_TYPES): Likewise.
49497         (LOAD_ARGS_TYPES_[1-6]): Likewise.
49498         (LOAD_REGS_TYPES_[1-6]): Likewise.
49499         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
49500         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
49502 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49504         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
49505         copysignl for GLIBC_2_0.
49506         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
49507         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
49508         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
49509         logbl for GLIBC_2_0.
49510         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
49511         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
49513 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49515         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
49516         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49518         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49519         Use "neg %eax".
49521         * time/mktime.c: Update copyright years.
49523 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
49525         mktime: merge comment-quoting-style change from gnulib
49526         * time/mktime.c: Quote 'like this' in comments.
49527         The GNU coding standards suggest that we no longer quote `like this',
49528         as "`" and "'" are typically rendered asymmetrically nowadays.
49529         The typical gnulib style is to quote 'like this' when quoting
49530         code, and "like this" when quoting English.
49532         * time/mktime.c (compile-command): Add "-I.".
49534         mktime: merge mktime-internal.h change from gnulib
49535         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
49537         mktime: merge time_r change from gnulib
49538         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
49540         mktime: merge DEBUG change from gnulib
49541         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
49542         case system <time.h> has a #define.
49544         mktime: merge <sys/types.h> change from gnulib
49545         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
49546         since <time.t> is now guaranteed to define time_t.
49548         mktime: merge HAVE_CONFIG_H change from gnulib
49549         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
49551 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49553         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49554         Use "neg %eax".
49556         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
49557         __rlim_t cast.
49558         (struct rusage): Use anonymous union to pad each field to
49559         __syscall_slong_t.
49561 2012-05-21  David S. Miller  <davem@davemloft.net>
49563         * Makefules (o-iterator): Remove .s cases.
49564         (compile-command.s): Delete.
49565         (COMPILE.s): Delete.
49566         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
49568 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
49570         * configure.in (libc_cv_predef_stack_protector): Only consider
49571         "foobar" and "__stack_chk_fail" lines in libc_undefs.
49572         * configure: Regenerated.
49574 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49576         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49577         New macro.  Use R*LP on int and pointer.
49578         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
49579         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
49580         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
49581         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
49583         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
49584         [__WORDSIZE_TIME64_COMPAT32] instead of
49585         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
49586         (struct utmp): Likewise.
49587         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
49588         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
49589         Renamed to ...
49590         (__WORDSIZE_TIME64_COMPAT32): This.
49591         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
49592         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
49593         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
49594         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
49595         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
49596         (__WORDSIZE_TIME64_COMPAT32): New macro.
49598 2012-05-21  Andreas Jaeger  <aj@suse.de>
49600         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
49601         only if [SHARED]. Add prototype for __wcschr_ia32.
49603 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49605         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
49606         of %rbp unmolested in the jmp_buf while mangling the low bits.
49607         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
49608         unmolested high bits of %rbp while demangling the low bits.
49609         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49611 2012-05-21  Andreas Jaeger  <aj@suse.de>
49613         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
49614         * sunrpc/svc_simple.c: Use it for registerrpc.
49615         * sunrpc/xcrypt.c: Use it for passwd2des.
49617         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
49619 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49621         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
49622         Don't define if [__SYSCALL_WORDSIZE != 32].
49623         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
49624         New macro.
49626 2012-05-21  Bruno Haible  <bruno@clisp.org>
49627             Andreas Jaeger  <aj@suse.de>
49629         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
49630         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
49631         inptr and inend for must_buffer_ch.
49632         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
49633         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
49634         * stdio-common/Makefile (tests): Remove bug15.
49635         (bug15-ENV): Remove macro.
49636         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
49637         anymore.
49639 2012-05-19  Andreas Jaeger  <aj@suse.de>
49640             Roland McGrath  <roland@hack.frob.com>
49642         * manual/contrib.texi: Completely rewritten. It contains now an
49643         alphabetical list of contributors and their contributions.
49645 2012-05-21  Richard Henderson  <rth@twiddle.net>
49647         * misc/getauxval.c (__getauxval): Use unsigned long int.
49648         * misc/sys/auxv.h: Include <sys/cdefs.h>.
49649         (getauxval): Use unsigned long int.
49651 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49653         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49655 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49657         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
49658         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
49659         __alignof__ (long double).
49661 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49665 2012-05-20  Richard Henderson  <rth@twiddle.net>
49667         * misc/getauxval.c: New file.
49668         * misc/sys/auxv.h: New file.
49669         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
49670         (routines): Add getauxval.
49671         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
49672         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
49673         * elf/dl-sysdep.c (_dl_auxv): Remove.
49674         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
49675         * elf/dl-support.c (_dl_auxv): New variable.
49676         (_dl_aux_init): Initialize it.
49677         * manual/startup.texi (Auxiliary Vector): New node.
49678         * sysdeps/generic/bits/hwcap.h: New file.
49679         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
49680         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
49681         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
49682         * sysdeps/sparc/sysdep.h: ... here.  Include it.
49683         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
49684         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
49685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49686         Update.
49687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
49688         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
49689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
49690         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
49691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49692         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
49694         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
49696 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49698         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49700 2012-05-19  David S. Miller  <davem@davemloft.net>
49702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49704 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49706         [BZ #14123]
49707         * math/s_ccosh.c: Include <float.h>
49708         (__ccosh): Avoid internal overflow calculating sinh and cosh
49709         values before multiplying by sin and cos values.
49710         * math/s_ccoshf.c: Likewise.
49711         * math/s_ccoshl.c: Likewise.
49712         * math/s_csin.c: Likewise.
49713         * math/s_csinf.c: Likewise.
49714         * math/s_csinl.c: Likewise.
49715         * math/s_csinh.c: Likewise.
49716         * math/s_csinhf.c: Likewise.
49717         * math/s_csinhl.c: Likewise.
49718         * math/libm-test.inc (ccos_test): Add more tests.
49719         (ccosh_test): Likewise.
49720         (csin_test): Likewise.
49721         (csinh_test): Likewise.
49722         * sysdeps/i386/fpu/libm-test-ulps: Update.
49723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49725 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
49727         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49728         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49730         * sysdeps/x86_64/x32/_itoa.h: Add comment.
49732 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49734         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49735         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49736         * sysdeps/powerpc/soft-fp/Versions: Likewise.
49737         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49738         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49739         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49740         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49741         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49742         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49743         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49744         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49745         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49746         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49747         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49748         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49749         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49750         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49751         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49752         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49753         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49754         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49755         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49756         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49757         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49758         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49759         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49760         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49761         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49762         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49763         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49764         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49766 2012-05-18  Andreas Jaeger  <aj@suse.de>
49768         * csu/.gitignore: Delete.
49770 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49772         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49773         (timex): Use __syscall_slong_t.
49775 2012-05-18  Andreas Jaeger  <aj@suse.de>
49776             Carlos O'Donell  <carlos_odonell@mentor.com>
49778         * manual/install.texi (Configuring and compiling): Update
49779         description about files modified in the source directory.
49780         * INSTALL: Regenerated.
49782 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49784         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49785         value.  Use "or" to set return value to -1.
49786         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49787         negate return value.
49789 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49791         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49792         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49793         failure if the compiler has Graphite support disabled.
49794         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49795         Likewise.
49796         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49797         (CFLAGS-memmove.c): Likewise.
49798         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49799         Likewise.
49801 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49803         * sysdeps/x86_64/x32/_itoa.h: New file.
49805         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49806         getdents system call only if kernel and user dirents have the
49807         same d_ino and d_off.
49809         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49810         LLONG_MAX != LONG_MAX.
49811         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49812         (_fitoa_word): Likewise.
49814         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49815         years.
49816         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49817         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49818         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49820         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49821         include <bits/wordsize.h>.  Check __x86_64__ instead of
49822         __WORDSIZE.
49823         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49824         if __x86_64__ is defined.  Use anonymous union on fpstate.
49826         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49827         anonymous union.
49829 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49831         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49832         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49833         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49834         Refer to _rtld_local_ro instead of _rtld_global_ro.
49835         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49836         Likewise.
49837         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49838         Likewise.
49839         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49840         Likewise.
49841         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49842         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49843         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49845         [BZ #10882]
49846         * sysdeps/powerpc/powerpc32/dl-machine.c
49847         (__elf_machine_runtime_setup) [PROF]: Don't reference
49848         _dl_prof_resolve.
49850 2012-05-18  Andreas Jaeger  <aj@suse.de>
49852         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49853         function only available for GCCs before 3.4 since GCC 3.4
49854         introduced a builtin.
49855         (lrint): Likewise.
49856         (llrintf): Likewise.
49857         (llrint): Likewise.
49858         (fmaxf): Likewise.
49859         (fmax): Likewise.
49860         (fminf): Likewise.
49861         (fmin): Likewise.
49862         (rint): Likewise.
49863         (rintf): Likewise.
49864         (nearbyint): Likewise.
49865         (nearbyintf): Likewise.
49866         (ceil): Likewise.
49867         (ceilf): Likewise.
49868         (floor): Likewise.
49869         (floorf): Likewise.
49871 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49873         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49874         on both fields and cast pointer to __syscall_ulong_t.
49876         * bits/types.h (__fsword_t): New type.
49877         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49878         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49879         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49880         (__FSWORD_T_TYPE): Likewise.
49881         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49882         (__FSWORD_T_TYPE): Likewise.
49883         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49884         (__FSWORD_T_TYPE): Likewise.
49885         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49886         (__FSWORD_T_TYPE): Likewise.
49887         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49888         __SWORD_TYPE with __fsword_t.
49889         (statfs64): Likewise.
49891 2012-05-17  David S. Miller  <davem@davemloft.net>
49893         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49895 2012-05-17  Andreas Jaeger  <aj@suse.de>
49897         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49898         warning.
49900 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49902         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49904 2012-05-17  Andreas Jaeger  <aj@suse.de>
49906         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49907         when it is used.
49909 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49911         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49913 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49915         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49916         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49918 2012-05-17  Andreas Jaeger  <aj@suse.de>
49919             Carlos O'Donell  <carlos_odonell@mentor.com>
49921         [BZ #14059]
49922         * sysdeps/x86_64/multiarch/init-arch.h
49923         (bit_YMM_Usable): Rename to...
49924         (bit_AVX_Usable): ... this.
49925         (bit_FMA4_Usable): New macro.
49926         (bit_XMM_state): New macro.
49927         (bit_YMM_state): New macro.
49928         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49929         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49930         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49931         (CPUID_OSXSAVE): New macro.
49932         (CPUID_AVX): New macro.
49933         (CPUID_FMA4): New macro.
49934         (index_YMM_Usable): Rename to...
49935         (index_AVX_Usable): ... this.
49936         (HAS_AVX): Use HAS_ARCH_FEATURE.
49937         (HAS_FMA4): Likewise.
49938         (HAS_YMM_USABLE): Remove.
49939         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49940         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49941         are present.
49942         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49943         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49944         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49945         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49946         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49948 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49950         * math/libm-test.c: Support platforms without multiple rounding modes.
49951         * math/bug-nextafter.c: Support platforms without FP exceptions.
49952         * math/bug-nexttoward.c: Likewise.
49953         * math/test-fenv.c: Likewise.
49954         * math/test-misc.c: Likewise.
49955         * stdlib/bug-getcontext.c: Likewise.
49957 2012-05-17  Andreas Jaeger  <aj@suse.de>
49959         * manual/examples/search.c (critter_cmp): Change signature to
49960         avoid warnings.
49961         * manual/string.texi (Collation Functions): Likewise.
49963 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49965         * bits/types.h: Fold copyright years.
49966         * bits/typesizes.h: Likewise.
49967         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49968         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49969         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49970         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49971         * time/time.h: Likewise.
49973 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49975         [BZ #208]
49976         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49977         in instead of returning them.  Return void.
49978         (__libc_mallinfo): Accumulate over all arenas.
49979         (__malloc_stats): Adjust for change in int_mallinfo interface.
49981 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49983         [BZ #10375]
49984         * configure.in (NM): Add AC_CHECK_TOOL for it.
49985         (libc_extra_cflags): New substituted variable.
49986         Check for -fstack-protector being used implicitly.
49987         * configure: Regenerated.
49988         * config.make.in (config-extra-cflags): New variable,
49989         gets @libc_extra_cflags@.
49990         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49992         [BZ #10375]
49993         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49994         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49995         * configure: Regenerated.
49996         * config.make.in (CPPUNDEFS): New substituted variable.
49997         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49998         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49999         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
50001 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50003         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
50004         (mq_attr): Use __syscall_slong_t.
50006 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50008         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
50009         Check __x86_64__ instead of __WORDSIZE.
50010         (_STAT_VER_LINUX): Likewise.
50011         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
50012         __syscall_ulong_t and __syscall_slong_t.
50013         (stat64): Likewise.
50015 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50017         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
50019 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50021         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
50023 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50025         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
50026         __syscall_ulong_t.
50028         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
50029         include <bits/wordsize.h>.  Check __x86_64__ instead of
50030         __WORDSIZE.
50031         (greg_t): Use "__extension__ long long int" if __x86_64__ is
50032         defined.
50033         (mcontext_t): Replace "unsigned long" with "unsigned long long".
50035         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
50036         include <bits/wordsize.h>.  Check __x86_64__ instead of
50037         __WORDSIZE.
50038         (user_regs_struct): Use "__extension__ unsigned long long"
50039         instead of "unsigned long" if __x86_64__ is defined.
50040         (user): Likewise.  Pad after pointer field if __ILP32__ is
50041         defined.
50043 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
50045         * configure.in (makeinfo): Require version 4.5 or later.  Allow
50046         versions 5 to 9.
50047         * configure: Regenerated.
50048         * manual/install.texi (texinfo): Increase version requirement to
50049         4.5 or later.
50050         * INSTALL: Regenerated.
50052         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
50054 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50056         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
50058         * sysdeps/x86_64/x32/ffs.c: New file.
50060         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
50061         __syscall_ulong_t.
50062         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
50063         defined.  Use __syscall_ulong_t.
50064         (shminfo): Use __syscall_ulong_t.
50065         (shm_info): Likewise.
50067         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
50068         __syscall_ulong_t.
50070         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
50071         <bits/wordsize.h>.
50072         (msgqnum_t): Use __syscall_ulong_t.
50073         (msglen_t): Likewise.
50074         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
50075         __syscall_ulong_t.
50077         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
50078         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
50080         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
50082         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
50083         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
50085         * sysvipc/sys/msg.h (msgbuf): Replace long int with
50086         __syscall_slong_t.
50088         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
50089         include <bits/wordsize.h>.  Check __x86_64__ instead of
50090         __WORDSIZE.
50092         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
50093         "unsigned long long int" if __x86_64__ is defined.
50094         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
50096         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
50097         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
50098         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
50100         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
50101         <stdint.h>.
50102         (GET_PC): Cast to uintptr_t first.
50103         (GET_FRAME): Likewise.
50104         (GET_STACK): Likewise.
50106         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
50107         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
50108         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
50109         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
50110         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
50111         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
50112         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
50113         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
50114         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
50115         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
50116         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
50117         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
50118         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50119         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
50120         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
50121         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
50122         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
50123         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
50124         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
50125         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
50126         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
50127         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
50128         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
50129         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
50130         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
50131         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
50132         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
50133         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
50134         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
50136 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
50138         * Makerules (+depfiles): Also collect depfiles from .oS in
50139         $(extra-objs).
50140         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
50141         .oS, $(libnldbl-routines)).
50143         * Makerules (native-compile-mkdep-flags): Define.
50144         * sunrpc/Makefile (extra-objs): Add $(addprefix
50145         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
50146         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
50147         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
50148         calling $(make-target-directory).
50150 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50152         * bits/types.h (__snseconds_t): Removed.
50153         * time/time.h (struct timespec): Replace __snseconds_t with
50154         __syscall_slong_t.
50155         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
50156         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
50157         Likewise.
50158         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50159         (__SNSECONDS_T_TYPE): Likewise.
50160         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50161         (__SNSECONDS_T_TYPE): Likewise.
50162         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50163         (__SNSECONDS_T_TYPE): Likewise.
50165 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50167         * sysdeps/mach/hurd/bits/typesizes.h
50168         (__SYSCALL_SLONG_TYPE): New macro.
50169         (__SYSCALL_ULONG_TYPE): Likewise.
50171 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50173         * bits/types.h (__syscall_slong_t): New type.
50174         (__syscall_ulong_t): Likewise.
50176         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
50177         (__SYSCALL_ULONG_TYPE): Likewise.
50178         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50179         (__SYSCALL_SLONG_TYPE): Likewise.
50180         (__SYSCALL_ULONG_TYPE): Likewise.
50181         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50182         (__SYSCALL_SLONG_TYPE): Likewise.
50183         (__SYSCALL_ULONG_TYPE): Likewise.
50184         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50185         (__SYSCALL_SLONG_TYPE): Likewise.
50186         (__SYSCALL_ULONG_TYPE): Likewise.
50188 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50190         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
50191         Add sigaltstack-offsets.sym.
50192         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
50193         <sigaltstack-offsets.h>.
50194         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
50195         longjmp_msg pointer.
50196         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
50197         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
50198         signal stack.
50199         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
50201 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50203         * elf/stackguard-macros.h: Remove file.
50204         * sysdeps/generic/stackguard-macros.h: New file.
50205         * sysdeps/i386/stackguard-macros.h: Likewise.
50206         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50207         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50208         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50209         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50210         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50211         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50212         * sysdeps/x86_64/stackguard-macros.h: Likewise.
50213         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
50214         <elf/stackguard-macros.h>.
50216         [BZ #14109]
50217         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
50218         __aligned__ in attribute.
50219         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
50220         (gregset_t): Likewise.
50222 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50224         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
50225         * sysdeps/x86_64/64/Implies-after: Here.  New file.
50226         * sysdeps/x86_64/x32/Implies-after: New file.
50228 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50230         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
50231         and access return value for _dl_profile_fixup.  Use R10_LP to
50232         load frame size.
50234 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50236         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
50238 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50240         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
50241         * sysdeps/x86_64/x32/sysdep.h: New file.
50243 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50245         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
50246         * sysdeps/x86_64/setjmp.S: Likewise.
50248 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50250         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
50251         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
50252         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
50253         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
50254         remove unused global constant.
50256 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
50258         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
50259         include of <not-cancel.h>.
50261 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50263         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
50265 2012-05-15  Jeff Law  <law@redhat.com>
50266             Andreas Jaeger  <aj@suse.de>
50268         [BZ #13594]
50269         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
50270         out from...
50271         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
50272         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
50273         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
50274         code changing __hst_map_handle.map.
50276 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50278         * configure.in (sysnames): Look for Implies-before and Implies-after
50279         files.
50280         * configure: Regenerated.
50282 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50284         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
50285         8-byte data alignment with LP_SIZE alignment.
50287 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50289         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
50290         into R10_LP.
50292 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50294         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
50296 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50298         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
50299         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
50300         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
50301         Likewise.
50302         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
50304 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50306         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
50307         (stackinfo_sub_sp): Likewise.
50309 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50311         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
50312         RAX_LP.
50314 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50316         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
50317         into R*_LP.
50319 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50321         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
50322         sizes into R*_LP.
50324 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50326         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
50328 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50330         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
50331         into R11_LP and load __x86_64_shared_cache_size_half into
50332         R8_LP.
50334 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50336         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
50337         R8_LP.
50339 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50341         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
50342         logb for POWER7.
50343         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
50344         logbf for POWER7.
50345         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
50346         logbl for POWER7.
50347         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
50348         powerpc32/power7/fpu/s_logb.c via #include.
50349         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
50350         powerpc32/power7/fpu/s_logbf.c via #include.
50351         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
50352         powerpc32/power7/fpu/s_logbl.c via #include.
50354 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50356         * README.libm: Remove file.
50358 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50360         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
50361         count for x32.  Use R*_LP and omit operand-size suffix.
50363 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50365         * shlib-versions: Move x86_64-.*-linux.* entries to ...
50366         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
50367         * sysdeps/x86_64/x32/shlib-versions: New file.
50369 2012-05-14  Roland McGrath  <roland@hack.frob.com>
50371         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
50372         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
50373         Use _dl_fatal_printf instead.
50375 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50377         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
50378         set if not set by the user.  Do not allow for being unset.
50379         * sysdeps/unix/sysv/linux/configure: Regenerated.
50381 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50383         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
50384         the `q' suffix from lea and replace .quad with ASM_ADDR.
50386 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50388         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
50389         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
50390         instead of $17.
50391         (PTR_DEMANGLE): Likewise.
50393 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50395         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
50396         (LP_OP): Likewise.
50397         (ASM_ADDR): Likewise.
50398         (RAX_LP): Likewise.
50399         (RBP_LP): Likewise.
50400         (RBX_LP): Likewise.
50401         (RCX_LP): Likewise.
50402         (RDI_LP): Likewise.
50403         (RSI_LP): Likewise.
50404         (RSP_LP): Likewise.
50405         (R8_LP): Likewise.
50406         (R9_LP): Likewise.
50407         (R10_LP): Likewise.
50408         (R10_LP): Likewise.
50409         (R11_LP): Likewise.
50410         (R12_LP): Likewise.
50411         (R13_LP): Likewise.
50412         (R14_LP): Likewise.
50413         (R15_LP): Likewise.
50415 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50417         * sysdeps/x86_64/x32/dl-machine.h: New file.
50419 2012-05-14  Andreas Jaeger  <aj@suse.de>
50421         * manual/Makefile (subdir): Remove export of subdir.
50422         (all): Remove target.
50423         (.PHONY): Remove all from list.
50424         (mkinstalldirs): Remove.
50425         (.PHONY): Remove installdirs from list.
50426         ($(inst_infodir)/libc.info): Use make-target-directory.
50427         (installdirs): Remove.
50428         (subdir_%): Remove.
50429         (glibc-targets): Remove.
50430         (lib): Remove.
50431         (stubs): Remove.
50432         ($(objpfx)stubs ../po/manual.pot): Remove.
50433         ($(objpfx)stamp%): Remove.
50434         (make-target-directory): Remove.
50435         (subdir_install): Remove.
50436         (routines): Remove.
50437         (aux): Remove.
50438         (sources): Remove.
50439         (objects): Remove.
50440         (headers): Remove.
50442         [BZ #13750]
50443         * manual/.gitignore: Remove, it's not needed anymore.
50444         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
50445         all files in it.
50446         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
50447         directory.
50448         (texis): Renamed to $(objpfx)texis.
50449         (texis-path): New, contains path to generated files.
50450         (chapters.%): Use texis-path for complete path, add extra argument
50451         libc-texinfo.sh.
50452         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
50453         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
50454         (summary,texi, stamp-summary): Use complete path of
50455         files. Generate files in build dir.
50456         (dir-add.texi): Build in build dir.
50457         (libm-err.texi,stamp-libm-err): Likewise.
50458         (version.texi, stamp-version): Likewise.
50459         (.%c.texi): Likewise.
50460         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
50461         (mostlyclean): Remove target.
50462         (realclean): Remove target.
50463         (generated): Add new variable with contents from mostlyclean and
50464         realclean, remove entries duplicated in common-mostlyclean, add
50465         stamp-libm-err and stamp-version.
50466         (generated-dirs): Add libc directory.
50467         ($(inst_infodir)/libc.info): Install files from build dir.
50469         * manual/install.texi (Configuring and compiling): Adjust since
50470         the info files are not part of the tar ball anymore.
50472 2012-05-14  Andreas Jaeger  <aj@suse.de>
50474         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
50475         variable.
50477 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50479         [BZ #13717]
50480         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50481         to 2.2.0 where earlier.
50482         * sysdeps/unix/sysv/linux/configure: Regenerated.
50483         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
50484         Remove conditional code.
50485         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
50486         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
50487         Remove conditional code.
50488         [!__NR_lchown]: Likewise.
50489         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50490         [__NR_lchown]: Likewise.
50491         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
50492         comment referencing __ASSUME_LCHOWN_SYSCALL.
50493         * sysdeps/unix/sysv/linux/i386/sigaction.c
50494         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50495         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50496         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
50497         Remove conditional code.
50498         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
50499         (__protocol_available): Remove #if 0 code.
50500         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
50501         conditional code.
50502         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
50503         * sysdeps/unix/sysv/linux/kernel-features.h
50504         (__ASSUME_GETCWD_SYSCALL): Don't define.
50505         (__ASSUME_REALTIME_SIGNALS): Likewise.
50506         (__ASSUME_PREAD_SYSCALL): Likewise.
50507         (__ASSUME_PWRITE_SYSCALL): Likewise.
50508         (__ASSUME_POLL_SYSCALL): Likewise.
50509         (__ASSUME_LCHOWN_SYSCALL): Likewise.
50510         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
50511         non-SPARC.
50512         (__ASSUME_SIOCGIFNAME): Don't define.
50513         (__ASSUME_MSG_NOSIGNAL): Likewise.
50514         (__ASSUME_SENDFILE): Define unconditionally.
50515         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
50516         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
50517         conditional code.
50518         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
50519         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
50520         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50521         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50522         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
50523         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50524         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
50526         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50527         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
50529         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50530         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
50532         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50533         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
50535         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50536         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
50538         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50539         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
50541         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50542         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
50544         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50545         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
50547         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50548         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50549         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
50550         Remove conditional code.
50551         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50552         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50553         Remove conditional code.
50554         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50555         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
50556         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
50557         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50558         Remove conditional code.
50559         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50560         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
50561         Remove conditional code.
50562         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50563         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
50564         Remove conditional code.
50565         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50566         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50567         Remove conditional code.
50568         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50569         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50570         Remove conditional code.
50571         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50572         * sysdeps/unix/sysv/linux/sh/pwrite64.c
50573         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50574         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50575         * sysdeps/unix/sysv/linux/sigaction.c
50576         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50577         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50578         * sysdeps/unix/sysv/linux/sigpending.c
50579         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50580         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50581         * sysdeps/unix/sysv/linux/sigprocmask.c
50582         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50583         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50584         * sysdeps/unix/sysv/linux/sigsuspend.c
50585         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50586         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50587         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50588         (__libc_missing_rt_sigs): Remove.
50589         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
50590         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
50591         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
50592         Remove conditional code.
50593         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
50594         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
50595         return 1.
50596         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
50597         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
50598         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
50599         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
50601 2012-05-14  Andreas Jaeger  <aj@suse.de>
50603         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
50604         it's not used in glibc.
50605         (__coshm1): Likewise.
50606         (__acosh1p): Likewise.
50607         (__sgn): Likewise.
50609         * manual/string.texi (Copying and Concatenation): Add missing
50610         variable in concat example.
50611         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50613 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50615         [BZ #14103]
50616         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
50617         __builtin_clzl with __builtin_clzll.
50619 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50621         [BZ #14104]
50622         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
50623         libc_freeres_ptr.
50625 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50627         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
50628         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
50629         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
50630         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
50632 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
50634         * NEWS: Update ia64 info.
50636 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
50638         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
50639         used as bcopy.
50641 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
50643         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
50644         * sysdeps/unix/syscalls.list (dup3): Likewise.
50645         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
50646         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
50648 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50650         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
50651         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
50653 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50655         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
50656         thread pointer.
50657         (TLS_IE): Use mov/add instead of movq/addq to load thread
50658         pointer.
50659         (TLS_GD_PREFIX): New.
50660         (TLS_GD): Use it.
50662 2012-05-11  David S. Miller  <davem@davemloft.net>
50664         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
50665         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
50666         (_FPU_SETCW): Likewise.
50668 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50670         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
50671         is 32-byte aligned.
50673 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
50675         [BZ #11837]
50676         * iconvdata/gb18030.c: Update tables.
50677         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
50678         characters specially.
50679         (BODY for TO_LOOP): Add encoding of missing ranges.
50681 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
50683         [BZ #13673]
50684         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
50685         * sysdeps/mach/hurd/dup3.c: Likewise.
50686         * sysdeps/mach/hurd/readlinkat.c: Likewise.
50687         * sysdeps/powerpc/memmove.c:: Likewise.
50689 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50691         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
50692         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
50694 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50696         * elf/elf.h (R_X86_64_RELATIVE64): New.
50697         (R_X86_64_NUM): Updated.
50698         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50699         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
50700         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
50701         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
50702         tst-quad1pie tst-quad2pie
50703         (modules-names): Add tst-quadmod1 tst-quadmod2.
50704         ($(objpfx)tst-quad1): New dependency.
50705         ($(objpfx)tst-quad2): Likewise.
50706         ($(objpfx)tst-quad1pie): Likewise.
50707         ($(objpfx)tst-quad2pie): Likewise.
50708         * sysdeps/x86_64/tst-quad1.c: New file.
50709         * sysdeps/x86_64/tst-quad1pie.c: New file.
50710         * sysdeps/x86_64/tst-quad2.c: Likewise.
50711         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
50712         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
50713         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
50714         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
50715         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50717 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50719         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
50720         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
50721         * streams/stropts.h (t_scalar_t): Define type.
50723         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50724         (_PATH_PRESERVE): Set to "/var/lib".
50725         (_PATH_RWHODIR): Set to "/var/spool/rwho".
50727         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50728         instead of int.
50730         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50731         if __dir_mkfile succeeded.
50733         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50734         checking for _hurd_dtablesize.  Unlock it right after having
50735         finished _hurd_dtable allocation.
50737 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50739         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50740         * sysdeps/mach/hurd/configure: Regenerated.
50741         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50742         special-casing to...
50743         * sysdeps/gnu/configure.in: ... this new file.
50744         * sysdeps/unix/sysv/linux/configure: Regenerated.
50745         * sysdeps/gnu/configure: New generated file.
50747         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50748         for Linux: use nsec instead of usec, as well as:
50749         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50750         members of type struct timespec.
50751         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50752         New macros.
50753         (struct stat64): Likewise.
50754         (_STATBUF_ST_NSEC): New macro.
50755         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50757         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50758         __strtoul_internal rather than strtoul.
50760 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50762         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50763         and reject them.
50765 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50767         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50768         which preserves existing values.
50769         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50771 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50773         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50774         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50775         greater than FD_SETSIZE.
50777 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50779         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50780         allocated, call __vm_protect to finish enabling the existing space, and
50781         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50782         allocate the remainder.
50784 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50786         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50787         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50789 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50791         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50792         sysdeps/mach/hurd/readlink.c.
50794         * posix/tst-sysconf.c (posix_options): Only use
50795         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50796         _POSIX_SYNCHRONIZED_IO when they are defined
50797         * sysdeps/mach/hurd/bits/posix_opt.h:
50798         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50799         (_XOPEN_REALTIME): Undefine macro.
50800         (_XOPEN_REALTIME_THREADS): Undefine macro.
50801         (_XOPEN_SHM): Undefine macro.
50802         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50803         macro to -1.
50804         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50805         macro to -1.
50806         (_POSIX_ASYNC_IO): Undefine macro.
50807         (_POSIX_PRIORITIZED_IO): Undefine macro.
50808         (_POSIX_SPIN_LOCKS): Define macro to -1.
50810         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50811         SA_NODEFER, SA_RESETHAND.
50812         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50813         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50814         F_DUPFD_CLOEXEC.
50816 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50818         * elf/Makefile (pldd-modules): Define unconditionally.
50820 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50822         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50824 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50826         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50827         Return ENOENT when name is empty.
50828         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50830 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50832         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50834         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50836 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50838         Fix mlock in all cases except non-readable pages.
50839         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50840         instead of VM_PROT_ALL as parameter to __vm_wire function.
50842         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50843         (__mkdir): When path is `/', just fail with EEXIST.
50844         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50846 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50848         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50849         <sys/uio.h> (for writev).
50850         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50851         and <sys/param.h> (for MIN).
50853 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50855         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50856         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50857         if interrupted.
50859 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50861         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50862         Depend on against $(link-rpcuserlibs).
50864 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50866         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50867         (__libc_stack_end): Do not use attribute_relro.
50868         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50869         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50870         to libthread-provided value.
50871         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50872         attribute_relro.
50874 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50876         [BZ #3748]
50877         * bits/libc-lock.h (__libc_once_get): New macro.
50878         * sysdeps/mach/bits/libc-lock.h: Likewise.
50879         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50880         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50881         instead of using implementation details.
50883         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50884         * libio/freopen.c: Likewise.
50885         * libio/freopen64.c: Likewise.
50886         * misc/syslog.c: Likewise.
50887         * nscd/connections.c: Likewise.
50888         * nscd/netgroupcache.c: Likewise.
50889         * sysdeps/posix/getcwd.c: Likewise.
50891 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50893         * math/w_ilogbf.c: Add #include <limits.h>.
50895 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50897         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50898         path instead of returning without unlocking.
50900         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50901         immediate-write ioctls.
50902         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50904 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50906         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50907         __builtin_frame_address instead of making assumptions about the
50908         location of the return address relative to DATA.  Force early load of
50909         the return address.
50910         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50911         __builtin_frame_address.
50913         dup3 for GNU Hurd.
50914         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50915         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50916         implement dup3 and do some further code clean-ups.
50917         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50918         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50920 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50922         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50924         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50925         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50926         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50927         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50928         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50929         d->port.lock.
50931         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50932         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50933         when handler == SIG_ERR, not when handler != SIG_ERR.
50935 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50937         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50938         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50939         definitions.
50941         accept4 for GNU Hurd.
50942         * include/sys/socket.h (__libc_accept4): New prototype.
50943         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50944         to implement __libc_accept4.
50945         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50946         __libc_accept4.
50947         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50949         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50950         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50951         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50952         signal-defines.sym.
50954 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50956         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50958 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50960         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50961         assertion on O_CLOEXEC flag.
50962         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50963         * hurd/intern-fd.c: Likewise.
50964         * hurd/port2fd.c: Likewise.
50966 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50968         [BZ #3906]
50969         * bits/in.h (IPV6_PKTINFO): Define new macro.
50970         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50972 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50974         [BZ #13954]
50975         [BZ #13955]
50976         [BZ #13956]
50977         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50978         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50979         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50980         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50981         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50982         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50983         * math/libm-test.inc (logb_test) : Additional logb tests.
50985 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50986             Andreas Jaeger  <aj@suse.de>
50988         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50989         * configure: Regenerated.
50990         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50991         * config.make.in (link-obsolete-rpc): New substituted variable.
50992         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50993         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50994         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50995         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50996         so that libc.a contains the symbols.
50997         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50998         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50999         * sunrpc/auth_none.c: Likewise.
51000         * sunrpc/auth_unix.c: Likewise.
51001         * sunrpc/authdes_prot.c: Likewise.
51002         * sunrpc/authuxprot.c: Likewise.
51003         * sunrpc/clnt_gen.c: Likewise.
51004         * sunrpc/clnt_perr.c: Likewise.
51005         * sunrpc/clnt_raw.c: Likewise.
51006         * sunrpc/clnt_simp.c: Likewise.
51007         * sunrpc/clnt_tcp.c: Likewise.
51008         * sunrpc/clnt_udp.c: Likewise.
51009         * sunrpc/clnt_unix.c: Likewise.
51010         * sunrpc/des_crypt.c: Likewise.
51011         * sunrpc/des_soft.c: Likewise.
51012         * sunrpc/get_myaddr.c: Likewise.
51013         * sunrpc/key_call.c: Likewise.
51014         * sunrpc/key_prot.c: Likewise.
51015         * sunrpc/netname.c: Likewise.
51016         * sunrpc/pm_getmaps.c: Likewise.
51017         * sunrpc/pm_getport.c: Likewise.
51018         * sunrpc/pmap_clnt.c: Likewise.
51019         * sunrpc/pmap_prot.c: Likewise.
51020         * sunrpc/pmap_prot2.c: Likewise.
51021         * sunrpc/pmap_rmt.c: Likewise.
51022         * sunrpc/publickey.c: Likewise.
51023         * sunrpc/rpc_cmsg.c: Likewise.
51024         * sunrpc/rpc_common.c: Likewise.
51025         * sunrpc/rpc_dtable.c: Likewise.
51026         * sunrpc/rpc_prot.c: Likewise.
51027         * sunrpc/rpc_thread.c: Likewise.
51028         * sunrpc/rtime.c: Likewise.
51029         * sunrpc/svc.c: Likewise.
51030         * sunrpc/svc_auth.c: Likewise.
51031         * sunrpc/svc_raw.c: Likewise.
51032         * sunrpc/svc_run.c: Likewise.
51033         * sunrpc/svc_tcp.c: Likewise.
51034         * sunrpc/svc_udp.c: Likewise.
51035         * sunrpc/svc_unix.c: Likewise.
51036         * sunrpc/svcauth_des.c: Likewise.
51037         * sunrpc/xcrypt.c: Likewise.
51038         * sunrpc/xdr.c: Likewise.
51039         * sunrpc/xdr_array.c: Likewise.
51040         * sunrpc/xdr_float.c: Likewise.
51041         * sunrpc/xdr_intXX_t.c: Likewise.
51042         * sunrpc/xdr_mem.c: Likewise.
51043         * sunrpc/xdr_rec.c: Likewise.
51044         * sunrpc/xdr_ref.c: Likewise.
51045         * sunrpc/xdr_sizeof.c: Likewise.
51046         * sunrpc/xdr_stdio.c: Likewise.
51048 2012-05-10  Roland McGrath  <roland@hack.frob.com>
51050         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
51051         change.  Update copyright years.
51053 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
51055         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
51057 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
51058             Joseph Myers  <joseph@codesourcery.com>
51059             Paul Pluzhnikov  <ppluzhnikov@google.com>
51061         [BZ #14012]
51062         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
51063         requiring rpcgen.
51064         [cross-compiling] (extra-libs): Likewise.
51065         [cross-compiling] (extra-libs-others): Likewise.
51066         [cross-compiling] (librpcsvc-routines): Likewise.
51067         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
51068         [cross-compiling] (omit-deps): Likewise.
51069         (sunrpc-CPPFLAGS): New variable.
51070         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
51071         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
51072         (cross-rpcgen-objs): New variable.
51073         (extra-objs): Append $(cross-rpcgen-objs).
51074         ($(cross-rpcgen-objs)): New rule.
51075         ($(objpfx)cross-rpcgen): Likewise.
51076         (rpcgen-cmd): Define to use $(built-program-file).  Expand
51077         comment.
51078         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
51079         ($(objpfx)x%.stmp): Likewise.
51080         * sunrpc/proto.h [IS_IN_build] (_): Define.
51081         [IS_IN_build] (_libc_intl_domainname): Likewise.
51083 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
51085         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
51086         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
51087         and R_X86_64_TPOFF64.
51089 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
51091         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
51092         sysdeps/unix/sysv/syscalls.list.
51093         (stime): Likewise.
51094         (utime): Likewise.
51095         * sysdeps/unix/sysv/syscalls.list: Remove file.
51097 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
51099         [BZ #3440]
51100         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
51101         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
51102         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
51103         (__LC_IDENTIFICATION): Make these macros useful in #if
51104         expressions, as required by C99.
51106 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
51108         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
51109         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
51110         after this.
51112 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
51114         * stdlib/longlong.h: Updated from GCC.
51116 2012-05-09  Andreas Jaeger  <aj@suse.de>
51118         * nscd/nscd.c (run_modes): Make named enum, reorder so that
51119         default is first entry.
51120         (run_mode): Set type.
51121         (main): Remove informal message about syslog.
51122         (options): Fix typo.
51124         [BZ #14053]
51125         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
51126         to asm.
51127         (lrint): Likewise.
51128         (llrintf): Likewise.
51129         (llrint): Likewise.
51130         (rint): Likewise.
51131         (rintf): Likewise.
51132         (nearbyint): Likewise.
51133         (nearbyintf): Likewise.
51135 2012-05-09  Andreas Jaeger  <aj@suse.de>
51136             Pedro Alves  <palves@redhat.com>
51138         * nscd/nscd.c (run_mode): Use enum.
51139         (main): Cleanup coding style issue.
51141 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
51142             Andreas Jaeger  <aj@suse.de>
51144         * nscd/nscd.c (go_background): Replaced with...
51145         (run_mode): ... this.
51146         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
51147         (options): Add -F --foreground.
51148         (main): Implement it.
51149         (parse_opt): Parse it.
51151 2012-05-09  Andreas Jaeger  <aj@suse.de>
51153         [BZ #14083]
51154         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
51155         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
51156         -Wconversion warning.
51157         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
51158         Likewise.
51160 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
51162         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
51163         == 0.
51164         (LC_ALL): Use macro-int-constant.
51165         (LC_COLLATE): Likewise.
51166         (LC_CTYPE): Likewise.
51167         (LC_MESSAGES): Likewise.
51168         (LC_MONETARY): Likewise.
51169         (LC_NUMERIC): Likewise.
51170         (LC_TIME): Likewise.
51171         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
51172         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51173         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51174         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
51175         Specify type.
51176         [C99-based standards] (float_t): Expect type.
51177         [C99-based standards] (double_t): Expect type.
51178         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
51179         type.
51180         [C99-based standards] (HUGE_VALL): Likewise.
51181         [C99-based standards] (INFINITY): Likewise.
51182         [C99-based standards] (NAN): Likewise.
51183         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
51184         [C99-based standards] (FP_NAN): Likewise.
51185         [C99-based standards] (FP_NORMAL): Likewise.
51186         [C99-based standards] (FP_SUBNORMAL): Likewise.
51187         [C99-based standards] (FP_ZERO): Likewise.
51188         [C99-based standards] (FP_FAST_FMA): Use
51189         optional-macro-int-constant.  Specify type.  Require == 1.
51190         [C99-based standards] (FP_FAST_FMAF): Likewise.
51191         [C99-based standards] (FP_FAST_FMAL): Likewise.
51192         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
51193         [C99-based standards] (FP_ILOGBNAN): Likewise.
51194         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
51195         Specify type.
51196         [C99-based standards] (MATH_ERREXCEPT): Likewise.
51197         [C99-based standards] (math_errhandling): Specify type.
51198         [ISO99 || ISO11] (signgam): Do not allow.
51199         [non-C99-based standards] (copysignf): Do not allow.
51200         [non-C99-based standards] (exp2f): Likewise.
51201         [non-C99-based standards] (log2f): Likewise.
51202         [non-C99-based standards] (modff): Allow.
51203         [non-C99-based standards] (erff): Do not allow.
51204         [non-C99-based standards] (erfcf): Likewise.
51205         [non-C99-based standards] (gammaf): Likewise.
51206         [non-C99-based standards] (hypotf): Likewise.
51207         [non-C99-based standards] (j0f): Likewise.
51208         [non-C99-based standards] (j1f): Likewise.
51209         [non-C99-based standards] (jnf): Likewise.
51210         [non-C99-based standards] (lgammaf): Likewise.
51211         [non-C99-based standards] (tgammaf): Likewise.
51212         [non-C99-based standards] (y0f): Likewise.
51213         [non-C99-based standards] (y1f): Likewise.
51214         [non-C99-based standards] (ynf): Likewise.
51215         [non-C99-based standards] (isnanf): Likewise.
51216         [non-C99-based standards] (acoshf): Likewise.
51217         [non-C99-based standards] (asinhf): Likewise.
51218         [non-C99-based standards] (atanhf): Likewise.
51219         [non-C99-based standards] (cbrtf): Likewise.
51220         [non-C99-based standards] (expm1f): Likewise.
51221         [non-C99-based standards] (ilogbf): Likewise.
51222         [non-C99-based standards] (log1pf): Likewise.
51223         [non-C99-based standards] (logbf): Likewise.
51224         [non-C99-based standards] (nextafterf): Likewise.
51225         [non-C99-based standards] (remainderf): Likewise.
51226         [non-C99-based standards] (rintf): Likewise.
51227         [non-C99-based standards] (scalbf): Likewise.
51228         [non-C99-based standards] (copysignl): Likewise.
51229         [non-C99-based standards] (exp2l): Likewise.
51230         [non-C99-based standards] (log2l): Likewise.
51231         [non-C99-based standards] (modfl): Allow.
51232         [non-C99-based standards] (erfl): Do not allow.
51233         [non-C99-based standards] (erfcl): Likewise.
51234         [non-C99-based standards] (gammal): Likewise.
51235         [non-C99-based standards] (hypotl): Likewise.
51236         [non-C99-based standards] (j0l): Likewise.
51237         [non-C99-based standards] (j1l): Likewise.
51238         [non-C99-based standards] (jnl): Likewise.
51239         [non-C99-based standards] (lgammal): Likewise.
51240         [non-C99-based standards] (tgammal): Likewise.
51241         [non-C99-based standards] (y0l): Likewise.
51242         [non-C99-based standards] (y1l): Likewise.
51243         [non-C99-based standards] (ynl): Likewise.
51244         [non-C99-based standards] (isnanl): Likewise.
51245         [non-C99-based standards] (acoshl): Likewise.
51246         [non-C99-based standards] (asinhl): Likewise.
51247         [non-C99-based standards] (atanhl): Likewise.
51248         [non-C99-based standards] (cbrtl): Likewise.
51249         [non-C99-based standards] (expm1l): Likewise.
51250         [non-C99-based standards] (ilogbl): Likewise.
51251         [non-C99-based standards] (log1pl): Likewise.
51252         [non-C99-based standards] (logbl): Likewise.
51253         [non-C99-based standards] (nextafterl): Likewise.
51254         [non-C99-based standards] (remainderl): Likewise.
51255         [non-C99-based standards] (rintl): Likewise.
51256         [non-C99-based standards] (scalbl): Likewise.
51257         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51258         [non-C99-based standards] (FP_*): Do not allow.
51259         [C99-based standards] (FP_*): Change to
51260         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51261         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51262         allow.
51263         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
51264         (SIG_ERR): Likewise.
51265         [X/Open-based standards] (SIG_HOLD): Likewise.
51266         (SIG_IGN): Likewise.
51267         (SIGABRT): Use macro-int-constant.  Specify type.  Require
51268         positive value.
51269         (SIGFPE): Likewise.
51270         (SIGILL): Likewise.
51271         (SIGINT): Likewise.
51272         (SIGSEGV): Likewise.
51273         (SIGTER): Likewise.
51274         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
51275         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
51276         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
51277         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
51278         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
51279         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
51280         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
51281         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
51282         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
51283         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
51284         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
51285         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
51286         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
51287         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
51288         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
51289         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
51290         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
51291         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
51292         [X/Open-based standards] (SIGTRAP): Likewise.
51293         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
51294         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
51295         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
51296         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
51297         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51298         allow.
51300 2012-05-08  Ian Wienand  <ianw@vmware.com>
51302         [BZ #14080]
51303         * time/tzset.c (__tzset_parse_tz): Update default rules for
51304         daylight time changes in the Energy Policy Act of 2005.
51306 2012-05-09  Andreas Jaeger  <aj@suse.de>
51308         [BZ #13983]
51309         * elf/ldconfig.c (parse_conf): Change string to make clear that
51310         ldconfig only issued a warning if ld.so.conf does not exist.
51312 2012-05-08  David S. Miller  <davem@davemloft.net>
51314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
51315         movxtod instead of popping the value on the stack.
51317         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51319 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
51321         * config.h.in: Add HAVE_ARM_PCS_VFP.
51323 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
51325         [BZ #13979]
51326         * include/features.h: Warn if user requests __FORTIFY_SOURCE
51327         checking but the checks are disabled for any reason.
51329 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
51331         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
51332         and ELF64_R_TYPE with ELFW(R_TYPE).
51334 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
51336         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
51337         (ulimit): Likewise.
51339         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
51340         (settimeofday): Likewise.
51342 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
51344         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
51345         a struct th_u2 inside the union, and move tu_block/tu_code into
51346         a new th_u3 union of tu_block/tu_code inside of that.  Move
51347         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
51348         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
51349         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
51350         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
51351         (th_stuff): Change to th_u1.tu_stuff.
51352         (th_data): Define.
51353         (th_msg): Change to th_u1.th_u2.tu_data.
51355 2012-05-07  David S. Miller  <davem@davemloft.net>
51357         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51359         [BZ #14074]
51360         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
51361         (SETUP_PIC_REG): Use it.
51362         (SETUP_PIC_REG_LEAF): Use it.
51364 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
51366         [BZ #13885]
51367         [BZ #13923]
51368         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51369         USE_AS_EXPM1L.
51370         (EXPL_FINITE): Likewise.
51371         (FLDLOG): Likewise.
51372         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51373         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51374         e_expl.S.
51375         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51376         USE_AS_EXPM1L.
51377         (EXPL_FINITE): Likewise.
51378         (FLDLOG): Likewise.
51379         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51380         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51381         e_expl.S.
51382         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
51383         test of -max_value argument for long double.
51384         * sysdeps/i386/fpu/libm-test-ulps: Update.
51385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51387 2012-05-06  David S. Miller  <davem@davemloft.net>
51389         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
51390         quad soft-float symbols whose references which are compiler
51391         generated.
51392         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51394 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
51396         [BZ #13884]
51397         [BZ #13914]
51398         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51399         USE_AS_EXP10L.
51400         (EXPL_FINITE): Likewise.
51401         (FLDLOG): Likewise.
51402         (c0): Likewise.
51403         (c1): Likewise.
51404         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51405         Adjust comments for base varying.
51406         (__expl_finite): Change alias to EXPL_FINITE.
51407         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
51408         e_expl.S.
51409         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
51410         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
51411         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51412         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
51413         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51414         USE_AS_EXP10L.
51415         (EXPL_FINITE): Likewise.
51416         (FLDLOG): Likewise.
51417         (c0): Likewise.
51418         (c1): Likewise.
51419         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51420         Adjust comments for base varying.
51421         (__expl_finite): Change alias to EXPL_FINITE.
51422         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
51423         tests for bugs.
51424         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51426         [BZ #14064]
51427         * math/libm-test.inc (check_float_internal): Correct ulp
51428         calculation for subnormal expected results.
51430 2012-05-06  Andreas Jaeger  <aj@suse.de>
51432         * Makeconfig (+math-flags): New, set to -frounding-math.
51433         (+cflags): Add +math-flags so that all of glibc gets compiled with
51434         it.
51436         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
51438 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
51440         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
51441         Disable one test.
51443         [BZ #13787]
51444         [BZ #13922]
51445         [BZ #14036]
51446         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
51447         (__ieee754_expl): Allow for and saturate large arguments.
51448         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
51449         (u_threshold): Likewise.
51450         (__exp): Call __ieee754_exp before checking for overflow and
51451         underflow.
51452         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
51453         (u_threshold): Likewise.
51454         (__expf): Call __ieee754_expf before checking for overflow and
51455         underflow.
51456         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
51457         (u_threshold): Likewise.
51458         (__expl): Call __ieee754_expl before checking for overflow and
51459         underflow.
51460         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
51461         (__ieee754_expl): Allow for and saturate large arguments.
51462         * math/libm-test.inc (exp_test): Add another test.  Do not allow
51463         missing overflow exception on overflow.
51464         (expm1_test): Do not allow missing overflow exception on overflow.
51466         * sysdeps/i386/fpu/e_expl.c: Move to ...
51467         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
51468         rather than using inline asm.
51469         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
51470         * sysdeps/x86_64/fpu/e_expl.S: Copy from
51471         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
51473         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
51474         (nice): Likewise.
51475         (poll): Likewise.
51476         (signal): Likewise.
51477         (time): Likewise.
51478         (times): Likewise.
51480 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51482         * sysdeps/unix/syscalls.list (adjtime): Add entry from
51483         sysdeps/unix/common/syscalls.list.
51484         (fchmod): Likewise.
51485         (fchown): Likewise.
51486         (ftruncate): Likewise.
51487         (getrusage): Likewise.
51488         (gettimeofday): Likewise.
51489         (setpgid): Likewise.
51490         (setregid): Likewise.
51491         (setreuid): Likewise.
51492         (sigaction): Likewise.
51493         (truncate): Likewise.
51494         (vhangup): Likewise.
51495         * sysdeps/unix/common/syscalls.list: Remove file.
51496         * sysdeps/unix/bsd/Implies: Don't include unix/common.
51497         * sysdeps/unix/sysv/linux/Implies: Likewise.
51499 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
51501         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
51502         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
51503         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
51504         Moved to ...
51505         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51506         Here.
51507         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
51508         to ...
51509         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
51510         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
51511         to ...
51512         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
51513         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
51514         to ...
51515         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
51516         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
51517         to ...
51518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
51519         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
51520         to ...
51521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
51522         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
51523         to ...
51524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
51525         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
51526         to ...
51527         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51528         Here.
51529         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
51530         to ...
51531         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
51532         Here.
51533         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
51534         to ...
51535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
51536         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
51537         Moved to ...
51538         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
51539         Here.
51540         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
51541         to ...
51542         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
51544 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51546         * sysdeps/unix/common/bits/dirent.h: Remove file.
51547         * sysdeps/unix/common/bits/fcntl.h: Likewise.
51549         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
51550         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
51551         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
51552         * sysdeps/unix/bsd/isatty.c: Likewise.
51553         * sysdeps/unix/bsd/tcdrain.c: Likewise.
51554         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
51555         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
51557 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51559         [BZ #13563]
51560         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
51561         long double comparison inaccuracies.
51562         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51565 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
51567         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
51568         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
51570 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51572         [BZ #14049]
51573         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
51574         nonzero digits before rounding a hex value.
51575         * stdlib/tst-strtod.c (tests): Add another test.
51577 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51579         * sysdeps/s390/fpu/libm-test-ulps: Update.
51581 2012-05-03  Andreas Jaeger  <aj@suse.de>
51583         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
51584         does not get optimized out.
51585         (malloc_opt_barrier): New.
51587 2012-05-03  Andreas Jaeger  <aj@suse.de>
51588             Roland McGrath  <roland@hack.frob.com>
51590         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
51591         intermediate file deletion.
51592         (generated): Add .symlist files.
51594 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
51596         [BZ #13775]
51597         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
51598         Redirect under this condition.
51599         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51600         [__USE_GNU] (__dprintf_chk): Not under this condition.
51601         [__USE_GNU] (__vdprintf_chk): Likewise.
51602         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
51603         under this condition.
51604         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51605         [__USE_XOPEN2K8] (dprintf): Define under this condition.
51606         [__USE_XOPEN2K8] (vdprintf): Likewise.
51607         [__USE_GNU] (__dprintf_chk): Not under this condition.
51608         [__USE_GNU] (__vdprintf_chk): Likewise.
51609         [__USE_GNU] (dprintf): Likewise.
51610         [__USE_GNU] (vdprintf): Likewise.
51612 2012-05-03  Roland McGrath  <roland@hack.frob.com>
51614         * elf/Makefile (common-generated): Set this instead of generated for
51615         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
51616         $(all-built-dso)-derived lists.
51618 2012-05-03  Andreas Jaeger  <aj@suse.de>
51620         * sysdeps/i386/fpu/libm-test-ulps: Update.
51622         * FAQ: Removed.
51623         * FAQ.in: Likewise.
51624         * scripts/gen-FAQ.pl: Likewise.
51625         * manual/install.texi (Installation): Point to online location of
51626         FAQ.
51627         * Makefile (files-for-dist): Remove FAQ.
51628         (FAQ): Remove.
51630 2012-05-02  Allan McRae  <allan@archlinux.org>
51632         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
51633         (LDFLAGS-reldepmod5.so): Likewise.
51634         (LDFLAGS-reldep6mod1.so): Likewise.
51635         (LDFLAGS-reldep6mod4.so): Likewise.
51636         (LDFLAGS-reldep8mod3.so): Likewise.
51637         (LDFLAGS-unload4mod1.so): Likewise.
51638         (LDFLAGS-unload4mod2.so): Likewise.
51639         (LDFLAGS-tst-initorder): Likewise.
51640         (LDFLAGS-tst-initordera2.so): Likewise.
51641         (LDFLAGS-tst-initordera3.so): Likewise.
51642         (LDFLAGS-tst-initordera4.so): Likewise.
51643         (LDFLAGS-tst-initorderb2.so): Likewise.
51644         (LDFLAGS-noload): Likewise.
51645         (LDFLAGS-next): Likewise.
51646         (LDFLAGS-order2mod1.so): Likewise.
51647         (LDFLAGS-order2mod2.so): Likewise.
51648         (LDFLAGS-tst-initorder2): Likewise.
51649         (LDFLAGS-tst-initorder2a.so): Likewise.
51650         (LDFLAGS-tst-initorder2b.so): Likewise.
51651         (LDFLAGS-tst-initorder2c.so): Likewise.
51652         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
51654 2012-05-02  David S. Miller  <davem@davemloft.net>
51656         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51658 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
51660         [BZ #14055]
51661         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
51663 2012-05-02  Andreas Jaeger  <aj@suse.de>
51665         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
51666         since we manipulate rounding mode.
51667         (CPPFLAGS-test-idouble.c): Likewise.
51668         (CPPFLAGS-test-ifloat.c): Likewise.
51669         (CFLAGS-test-ldouble.c): Likewise.
51670         (CFLAGS-test-double.c): Likewise.
51671         (CFLAGS-test-float.c): Likewise.
51672         (CFLAGS-test-misc.c): Likewise.
51673         (CFLAGS-test-test-fenv.c): Likewise.
51675 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51677         [BZ #2550]
51678         [BZ #2570]
51679         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
51680         comparisons to determine direction to adjust input.
51682 2012-05-01  Roland McGrath  <roland@hack.frob.com>
51684         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
51685         output to the target.
51687         * scripts/localplt.awk: New file.
51688         * elf/Makefile ($(objpfx)check-localplt): Target removed.
51689         (check-localplt-CFLAGS): Variable removed.
51690         ($(all-built-dso:=.jmprel)): New static pattern rule.
51691         (generated): Add those targets.
51692         (localplt-built-dso): New variable.
51693         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
51695         * elf/check-localplt.c: File removed.
51697         * scripts/check-execstack.awk: New file.
51698         * elf/Makefile ($(objpfx)check-execstack): Target removed.
51699         (check-execstack-CFLAGS): Variable removed.
51700         ($(objpfx)check-execstack.h): Target removed.
51701         ($(objpfx)execstack-default): New target.
51702         (generated): Add that instead of check-execstack.h.
51703         ($(all-built-dso:=.phdr)): New static pattern rule.
51704         (generated): Add those targets.
51705         * elf/check-execstack.c: File removed.
51707         * scripts/check-textrel.awk: New file.
51708         * elf/Makefile ($(objpfx)check-textrel): Target removed.
51709         (check-textrel-CFLAGS): Variable removed.
51710         (all-built-dso): Use := to define.o
51711         ($(all-built-dso:=.dyn)): New static pattern rule.
51712         (generated): Add those targets.
51713         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
51714         * config.make.in (READELF): New substituted variable.
51715         * elf/check-textrel.c: File removed.
51717 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51719         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51720         allow.
51721         * conform/data/ctype.h-data [C99-based standards] (isblank):
51722         Expect function.
51723         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51724         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51725         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51726         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51727         Specify type.  Require positive value.
51728         (EILSEQ): Likewise.
51729         (ERANGE): Likewise.
51730         [ISO || POSIX] (EILSEQ): Do not expect.
51731         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51732         Specify type.  Require positive value.
51733         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51734         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51735         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51736         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51737         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51738         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51739         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51740         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51741         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51742         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51743         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51744         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51745         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51746         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51747         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51748         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51749         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51750         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51751         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51752         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51753         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51754         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51755         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51756         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51757         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51758         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51759         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51760         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51761         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51762         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51763         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51764         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51765         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51766         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51767         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51768         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51769         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51770         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51771         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51772         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51773         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51774         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51775         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51776         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51777         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51778         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51779         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51780         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51781         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51782         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51783         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51784         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51785         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51786         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51787         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51788         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51789         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51790         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51791         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51792         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51793         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51794         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51795         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51796         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51797         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51798         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51799         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51800         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51801         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51802         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51803         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51804         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51805         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51806         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51807         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51808         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51809         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51810         Require >= 2.
51811         (FLT_ROUNDS): Expect as macro, not constant.
51812         (FLT_MANT_DIG): Use macro-int-constant.
51813         (DBL_MANT_DIG): Likewise.
51814         (LDBL_MANT_DIG): Likewise.
51815         (FLT_DIG): Likewise.
51816         (DBL_DIG): Likewise.
51817         (LDBL_DIG): Likewise.
51818         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51819         (DBL_MIN_EXP): Likewise.
51820         (LDBL_MIN_EXP): Likewise.
51821         (FLT_MAX_EXP): Use macro-int-constant.
51822         (DBL_MAX_EXP): Likewise.
51823         (LDBL_MAX_EXP): Likewise.
51824         (FLT_MAX_10_EXP): Likewise.
51825         (DBL_MAX_10_EXP): Likewise.
51826         (LDBL_MAX_10_EXP): Likewise.
51827         (FLT_MAX): Use macro-constant.
51828         (DBL_MAX): Likewise.
51829         (LDBL_MAX): Likewise.
51830         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51831         (DBL_EPSILON): Likewise.
51832         (LDBL_EPSILON): Likewise.
51833         (FLT_MIN): Likewise.
51834         (DBL_MIN): Likewise.
51835         (LDBL_MIN): Likewise.
51836         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51837         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51838         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51839         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51840         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51841         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51842         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51843         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51844         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51845         [ISO11] (FLT_TRUE_MIN): Likewise.
51846         [ISO11] (LDBL_TRUE_MIN): Likewise.
51847         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51848         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51849         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51850         (SCHAR_MAX): Likewise.
51851         (UCHAR_MAX): Likewise.
51852         (CHAR_MIN): Likewise.
51853         (CHAR_MAX): Likewise.
51854         (MB_LEN_MAX): Use macro-int-constant.
51855         (SHRT_MIN): Use macro-int-constant.  Specify type.
51856         (SHRT_MAX): Likewise.
51857         (USHRT_MAX): Likewise.
51858         (INT_MAX): Likewise.
51859         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51860         bound negative.
51861         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51862         bound with "U".
51863         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51864         bound with "L".
51865         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51866         bound negative.  Suffix upper bound with "L".
51867         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51868         bound with "UL".
51869         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51870         Specify type.
51871         [C99-based standards] (LLONG_MAX): Likewise.
51872         [C99-based standards] (ULLONG_MAX): Likewise.
51873         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51874         == 0.
51875         [ISO11] (max_align_t): Require type.
51876         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51878         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51879         from $CFLAGS, without defining away __attribute__ calls.
51880         (checknamespace): Use $CFLAGS_namespace.
51882         * conform/conformtest.pl (@keywords): Only include C99 keywords
51883         for standards based on C99 or C11.
51885         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51886         Disable tests.
51887         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51888         UNIX98]: Likewise.
51890         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51891         usability of symbols in #if.
51893         * conform/conformtest.pl: If macro or constant types start
51894         "promoted:", expect the symbol to be of the following type
51895         promoted by the integer promotions.
51897         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51898         in one place.  Also handle "macro-constant".
51900         * conform/conformtest.pl: Only accept expected macro values with
51901         "==".  Parse all "macro" lines in one place.
51902         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51904         * conform/conformtest.pl: Handle braced types on "constant" lines
51905         instead of handling "typed-constant".
51906         * conform/data/signal.h-data: Use "constant" instead of
51907         "typed-constant".
51909         * conform/conformtest.pl: Handle "optional-" at start of lines in
51910         one place rather than duplicating several cases.  Handle each
51911         format of "macro" line with initial "optional-".
51913         * conform/conformtest.pl: Only accept expected constant or
51914         optional-constant values with "==".  Parse all "constant" lines in
51915         one place.  Parse all "optional-constant" lines in one place.
51916         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51917         * conform/data/fmtmsg.h-data: Likewise.
51918         * conform/data/netinet/in.h-data: Likewise.
51919         * conform/data/tar.h-data: Likewise.
51920         * conform/data/limits.h-data: Use "==" form on "constant" and
51921         "optional-constant" lines.
51923         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51924         Use -std=c99 for XOPEN2K.
51925         (@knownproblems): Remove.
51926         (newtoken): Don't check %isknown.
51928         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51929         Do not expect macro.
51930         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51931         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51932         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51933         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51934         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51935         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51936         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51937         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51938         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51939         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51940         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51941         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51942         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51943         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51944         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51945         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51946         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51947         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51948         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51949         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51950         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51951         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51952         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51953         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51954         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51955         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51956         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51957         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51958         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51959         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51960         [XPG3] (acosh): Likewise.
51961         [XPG3] (asinh): Likewise.
51962         [XPG3] (atanh): Likewise.
51963         [XPG3] (cbrt): Likewise.
51964         [XPG3] (expm1): Likewise.
51965         [XPG3] (ilogb): Likewise.
51966         [XPG3] (log1p): Likewise.
51967         [XPG3] (logb): Likewise.
51968         [XPG3] (nextafter): Likewise.
51969         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51970         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51971         [XPG3] (remainder): Likewise.
51972         [XPG3] (rint): Likewise.
51973         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51974         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51975         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51976         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51977         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51978         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51979         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51980         [UNIX98 || XOPEN2K] (scalb): Expect.
51981         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51982         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51983         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51984         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51985         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51986         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51987         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51988         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51989         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51990         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51991         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51992         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51993         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51994         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51995         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51996         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51997         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51998         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51999         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
52000         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
52001         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
52002         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
52003         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
52004         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
52005         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
52006         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
52007         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
52008         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
52009         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
52010         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
52011         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
52012         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
52013         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
52014         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
52015         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
52016         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
52017         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
52018         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
52019         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
52020         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
52021         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
52022         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
52023         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
52024         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
52025         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
52026         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
52027         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
52028         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
52029         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
52030         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
52031         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
52032         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
52033         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
52034         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
52035         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
52036         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
52037         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
52038         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
52039         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
52040         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
52041         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
52042         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
52043         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
52044         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
52045         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
52046         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
52047         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
52048         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
52049         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
52050         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
52051         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
52052         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
52053         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
52054         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
52055         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
52056         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
52057         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
52058         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
52059         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
52060         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
52061         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
52062         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
52063         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
52064         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
52065         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
52066         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
52067         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
52068         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
52069         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
52070         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
52071         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
52072         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
52073         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
52074         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
52075         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
52076         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
52077         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
52078         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
52079         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
52080         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
52081         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
52082         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
52083         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
52084         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
52085         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
52086         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
52087         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
52088         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
52089         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
52090         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
52091         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
52092         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
52093         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
52094         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
52095         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
52096         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
52097         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
52098         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
52099         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
52100         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
52101         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
52102         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
52103         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
52104         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
52105         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
52106         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
52107         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
52108         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
52109         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
52110         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
52111         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
52112         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
52113         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
52114         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
52115         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
52116         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
52117         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
52119         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
52120         _XOPEN_SOURCE_EXTENDED for XPG4.
52122         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
52124         * Makeconfig (localtime): Remove variable.
52125         (inst_localtime-file): Likewise.
52127 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
52130         Update.
52131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52132         Update.
52133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
52134         Update.
52135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52136         Update.
52137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
52138         Update.
52139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
52140         Update.
52141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52142         Update.
52143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
52144         Update.
52145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52146         Update.
52148 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
52150         [BZ #2550]
52151         [BZ #2570]
52152         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
52153         comparisons to determine direction to adjust input.
52154         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
52155         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
52156         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
52157         Likewise.
52158         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
52159         Likewise.
52160         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52161         Likewise.
52162         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
52163         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
52164         Likewise.
52165         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
52166         Likewise.
52167         * math/libm-test.inc (nexttoward_test): Add more tests.
52169 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52171         [BZ #14040]
52172         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
52173         in version GLIBC_2.1, not GLIBC_2.0.
52174         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
52175         Likewise.
52177 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
52179         [BZ #13942]
52180         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
52181         (1 - x) * (1 + x).
52182         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52183         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
52184         * math/libm-test.inc (acos_test): Add more tests.
52185         (asin_test): Likewise.
52186         * sysdeps/i386/fpu/libm-test-ulps: Update.
52187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52189         [BZ #14034]
52190         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
52191         of square root.
52192         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
52193         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52194         * math/libm-test.inc (acos_test_tonearest): New function.
52195         (acos_test_towardzero): Likewise.
52196         (acos_test_downward): Likewise.
52197         (acos_test_upward): Likewise.
52198         (asin_test_tonearest): Likewise.
52199         (asin_test_towardzero): Likewise.
52200         (asin_test_downward): Likewise.
52201         (asin_test_upward): Likewise.
52202         (main): Call the new functions.
52203         * sysdeps/i386/fpu/libm-test-ulps: Update.
52204         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52206         [BZ #13884]
52207         [BZ #13924]
52208         * math/e_exp10.c: Include <float.h>.
52209         (__ieee754_exp10): Handle underflow here rather than multiplying
52210         large negative argument by M_LN10.
52211         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
52212         of __ieee754_expf.
52213         * math/e_exp10l.c: Include <float.h>.
52214         (__ieee754_exp10l): Handle underflow here rather than multiplying
52215         large negative argument by M_LN10l.
52216         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
52217         spurious overflow exception on underflow.
52219 2012-04-29  Marek Polacek  <polacek@redhat.com>
52221         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
52222         (__fortify_function): New macro.
52223         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
52224         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
52225         __extern_always_inline.
52226         * libio/bits/stdio2.h: Likewise.
52227         * libio/bits/stdio.h: Likewise.
52228         * string/string.h: Likewise.
52229         * string/bits/string3.h: Likewise.
52230         * include/stdio.h: Likewise.
52231         * stdlib/bits/stdlib.h: Likewise.
52232         * stdlib/stdlib.h: Likewise.
52233         * rt/bits/mqueue2.h: Likewise.
52234         * rt/mqueue.h: Likewise.
52235         * posix/bits/unistd.h: Likewise.
52236         * posix/unistd.h: Likewise.
52237         * io/bits/poll2.h: Likewise.
52238         * io/bits/fcntl2.h: Likewise.
52239         * io/fcntl.h: Likewise.
52240         * io/sys/poll.h: Likewise.
52241         * misc/bits/syslog.h: Likewise.
52242         * misc/bits/syslog-ldbl.h: Likewise.
52243         * misc/sys/syslog.h: Likewise.
52244         * socket/bits/socket2.h: Likewise.
52245         * socket/sys/socket.h: Likewise.
52246         * debug/tst-chk1.c: Likewise.
52247         * wcsmbs/bits/wchar2.h: Likewise.
52248         * wcsmbs/bits/wchar-ldbl.h: Likewise.
52249         * wcsmbs/wchar.h: Likewise.
52251 2012-04-29  Andreas Jaeger  <aj@suse.de>
52253         * Makerules (tests): Remove enable-check-abi protection.
52254         (check-abi-warn): Remove.
52255         (check-abi-%): Remove check-abi-warn usage.
52257         * configure.in: Remove check-abi configure option.
52258         * configure: Regenerated.
52259         * config.make.in (enable-check-abi): Remove.
52261 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
52263         [BZ #14033]
52264         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
52265         double functions to double *_finite functions.
52267         [BZ #13941]
52268         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
52269         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
52270         LDBL_MIN_EXP.
52271         * stdio-common/Makefile (tests): Add tst-sprintf3.
52272         * stdio-common/tst-sprintf3.c: New file.
52274         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
52275         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
52277 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52279         * conform/conformtest.pl: Remove duplicate typed-constant
52280         handling.
52282 2012-04-28  David S. Miller  <davem@davemloft.net>
52284         * Makerules (%.abilist): Add vpath on sysdep_dirs.
52285         (check-abi-%): Remove AWK script prerequisite and explicit
52286         abilist directory.
52287         (check-abi): Rewrite to just diff the symlist with the abilist.
52288         (config-tls, config-abi-config): Delete, no longer used.
52289         (update-abi-%): Remove AWK script and explicit abilist directory.
52290         (update-abi): Rewrite to simply compare and conditionally copy the
52291         symlist and the sysdep abilist file.  Remove update-abi-config
52292         checks.
52293         * abilist/ld.abilist: Remove.
52294         * abilist/libBrokenLocale.abilist: Remove.
52295         * abilist/libanl.abilist: Remove.
52296         * abilist/libcrypt.abilist: Remove.
52297         * abilist/libdl.abilist: Remove.
52298         * abilist/librt.abilist: Remove.
52299         * abilist/libthread_db.abilist: Remove.
52300         * abilist/libutil.abilist: Remove.
52301         * scripts/extract-abilist.awk: Remove.
52302         * scripts/merge-abilist.awk: Remove.
52303         * sysdeps/generic/libcidn.abilist: New file.
52304         * sysdeps/generic/libnss_compat.abilist: New file.
52305         * sysdeps/generic/libnss_db.abilist: New file.
52306         * sysdeps/generic/libnss_dns.abilist: New file.
52307         * sysdeps/generic/libnss_files.abilist: New file.
52308         * sysdeps/generic/libnss_hesiod.abilist: New file.
52309         * sysdeps/generic/libnss_nis.abilist: New file.
52310         * sysdeps/generic/libnss_nisplus.abilist: New file.
52311         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
52312         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
52313         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
52314         file.
52315         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
52316         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
52317         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
52318         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
52319         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
52320         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
52321         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
52322         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
52323         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
52324         file.
52325         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
52326         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
52327         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
52328         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
52329         file.
52330         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
52331         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
52332         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
52333         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
52334         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
52335         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
52336         file.
52337         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
52338         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
52339         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
52340         file.
52341         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
52342         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
52343         New file.
52344         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
52345         New file.
52346         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
52347         New file.
52348         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
52349         New file.
52350         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
52351         New file.
52352         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
52353         New file.
52354         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
52355         New file.
52356         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
52357         New file.
52358         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
52359         New file.
52360         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
52361         New file.
52362         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
52363         New file.
52364         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
52365         New file.
52366         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
52367         New file.
52368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
52369         file.
52370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
52371         New file.
52372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
52373         New file.
52374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
52375         file.
52376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
52377         New file.
52378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
52379         New file.
52380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
52381         file.
52382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
52383         New file.
52384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52385         New file.
52386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
52387         New file.
52388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
52389         New file.
52390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
52391         New file.
52392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
52393         New file.
52394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
52395         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
52396         file.
52397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
52398         New file.
52399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
52400         file.
52401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
52402         file.
52403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
52404         file.
52405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
52406         file.
52407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
52408         file.
52409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52410         New file.
52411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
52412         file.
52413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
52414         file.
52415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
52416         New file.
52417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
52418         file.
52419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
52420         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
52421         file.
52422         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
52423         New file.
52424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
52425         file.
52426         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
52427         file.
52428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
52429         file.
52430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
52431         file.
52432         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
52433         file.
52434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52435         New file.
52436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
52437         file.
52438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
52439         file.
52440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
52441         New file.
52442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
52443         file.
52444         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52445         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
52446         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
52447         file.
52448         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
52449         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
52450         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
52451         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
52452         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
52453         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
52454         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
52455         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
52456         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
52457         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
52458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
52459         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
52460         file.
52461         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
52462         New file.
52463         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
52464         file.
52465         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
52466         file.
52467         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
52468         file.
52469         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
52470         file.
52471         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
52472         file.
52473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
52474         New file.
52475         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
52476         New file.
52477         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
52478         file.
52479         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
52480         New file.
52481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
52482         file.
52483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
52484         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
52485         file.
52486         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
52487         New file.
52488         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
52489         file.
52490         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
52491         file.
52492         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
52493         file.
52494         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
52495         file.
52496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
52497         file.
52498         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
52499         New file.
52500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
52501         New file.
52502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
52503         file.
52504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
52505         New file.
52506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
52507         file.
52509 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52511         * conform/conformtest.pl: Fix typo in handling typed-constant from
52512         allow-header.
52514 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52516         * README: Cut down references to pre-2.6 Linux kernels and
52517         Linuxthreads.  Update lists of configurations in libc and ports
52518         and sort alphabetically.  Say "or newer" with Linux kernel version
52519         requirements.
52521         * config.h.in [IS_IN_build]: Allow compiling without optimization.
52523 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52525         [BZ #887]
52526         * math/libm-test.inc (logb_test_downward): New test to expose
52527         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
52528         rounding mode.
52530 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52532         [BZ #14027]
52533         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
52534         to be done.
52535         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
52536         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
52538 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
52540         * sysdeps/unix/i386/brk.S: Remove file.
52541         * sysdeps/unix/i386/dl-brk.S: Likewise.
52542         * sysdeps/unix/i386/pipe.S: Likewise.
52543         * sysdeps/unix/i386/sigreturn.S: Likewise.
52544         * sysdeps/unix/i386/syscall.S: Likewise.
52545         * sysdeps/unix/i386/vfork.S: Likewise.
52546         * sysdeps/unix/i386/wait.S: Likewise.
52548         * sysdeps/unix/common/tcsendbrk.c: Move to ...
52549         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
52551         * configure.in (arm*-none*): Do not allow without
52552         --enable-hacker-mode.
52553         (netbsd*): Remove case setting base_os.
52554         (386bsd*): Likewise.
52555         (freebsd*): Likewise.
52556         (bsdi*): Likewise.
52557         (osf*): Likewise.
52558         (sunos*): Likewise.
52559         (ultrix*): Likewise.
52560         (newsos*): Likewise.
52561         (dynix*): Likewise.
52562         (*bsd*): Likewise.
52563         (sysv*): Likewise.
52564         (isc*): Likewise.
52565         (esix*): Likewise.
52566         (sco*): Likewise.
52567         (minix*): Likewise.
52568         (irix4*): Likewise.
52569         (irix6*): Likewise.
52570         (solaris[2-9]*): Likewise.
52571         (none): Likewise.
52572         * configure: Regenerated.
52574 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52576         [BZ #11521]
52577         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
52578         overflow or cancellation in calculating denominator.
52579         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
52580         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
52581         down expression to avoid unexpected rounding in newer GCCs.
52582         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
52584 2012-04-26  David S. Miller  <davem@davemloft.net>
52586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
52587         long-double compat symbols.
52588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
52592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
52594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
52595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
52596         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
52597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
52598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
52599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
52600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52602 2012-04-25  David S. Miller  <davem@davemloft.net>
52604         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
52605         HWCAP_* values only after the memory barriers have been defined.
52606         (atomic_full_barrier): Define.
52607         (atomic_read_barrier): Define.
52608         (atomic_write_barrier): Define.
52610 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52612         * shlib-versions: Add libgcc_s version information.
52613         * sysdeps/generic/libgcc_s.h: Remove.
52614         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
52615         libgcc_s.h.
52616         * sysdeps/gnu/unwind-resume.c: Likewise.
52617         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
52619 2012-04-25  David S. Miller  <davem@davemloft.net>
52621         * sysdeps/unix/sparc/brk.S: Delete.
52622         * sysdeps/unix/sparc/dl-brk.S: Delete.
52623         * sysdeps/unix/sparc/pipe.S: Delete.
52624         * sysdeps/unix/sparc/sysdep.S: Delete.
52625         * sysdeps/unix/sparc/sysdep.h: Delete.
52626         * sysdeps/unix/sparc/vfork.S: Delete.
52627         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
52628         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
52629         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
52630         (ret_ERRVAL, r0, r1, MOVE): Define.
52631         (JUMPTARGET): Remove.
52632         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
52633         sysdeps/unix/sparc/sysdep.h
52634         (ENTRY, END): Remove.
52635         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52637 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
52639         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
52640         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
52641         -DIS_IN_build.
52643         * timezone/README: Update upstream location and email address for
52644         tzcode and tzdata.
52645         * timezone/zdump.c: Update from tzcode 2012b.
52646         * timezone/zic.c: Likewise.
52648         * configure.in (libc_cv_as_needed): Remove test.
52649         * configure: Regenerated.
52650         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
52651         conditional definition.
52652         [$(have-as-needed) != yes] (no-as-needed): Likewise.
52653         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
52654         * config.make.in (have-as-needed): Remove variable.
52656 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52657             Paul Pluzhnikov  <ppluzhnikov@google.com>
52659         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
52660         strings correctly.
52662 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
52664         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
52665         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
52666         * sysdeps/sh/strlen.S: Likewise.
52668 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52670         * sysdeps/unix/fork.S: Remove file.
52671         * sysdeps/unix/i386/fork.S: Likewise.
52672         * sysdeps/unix/sparc/fork.S: Likewise.
52674         * sysdeps/unix/system.c: Remove file.
52675         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
52677         * sysdeps/unix/getegid.S: Remove file.
52678         * sysdeps/unix/geteuid.S: Likewise.
52680 2012-04-24  Roland McGrath  <roland@hack.frob.com>
52682         * scripts/check-localplt.awk: New file.
52683         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
52684         of diff.
52685         * scripts/data/localplt-generic.data: Add a comment.
52687         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
52688         NODE when __dir_mkfile failed.
52689         * sysdeps/mach/hurd/symlinkat.c: Likewise.
52690         Reported by Ludovic Courtès <ludo@gnu.org>.
52692 2012-04-24  Andreas Jaeger  <aj@suse.de>
52694         * Makerules (common-clean): Also remove gen-as-const-headers
52695         files.
52697 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52699         * Makerules (native-compile): Do not change working directory for
52700         build.  Use $(OUTPUT_OPTION) in command.
52701         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
52703 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52705         [BZ #13886]
52706         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
52707         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
52708         * math/libm-test.inc (floor_test): Add more tests.
52709         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
52711 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52713         * sysdeps/unix/getdents.c: Remove file.
52714         * sysdeps/unix/sysv/getdents.c: Likewise.
52715         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
52717         * sysdeps/unix/syscalls.list (madvise): Add syscall from
52718         sysdeps/unix/mman/syscalls.list.
52719         (mmap): Likewise.
52720         (mprotect): Likewise.
52721         (msync): Likewise.
52722         (munmap): Likewise.
52723         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52724         * sysdeps/unix/mman/syscalls.list: Remove.
52725         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52727         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52728         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52729         * configure: Regenerated.
52730         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52731         $(libgcc_s_suffix).
52732         * config.make.in (libgcc_s_suffix): Remove variable.
52734 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
52736         * sysdeps/unix/sysv/gethostname.c: Move to ...
52737         * sysdeps/posix/gethostname.c: ... here.
52739         * sysdeps/unix/execve.S: Remove file.
52741         * sysdeps/unix/_exit.S: Remove file.
52743 2012-04-23  Andreas Jaeger  <aj@suse.de>
52745         [BZ #13739]
52746         * manual/Makefile: Remove make dist support, there's no
52747         need for a stand-alone documentation tar ball.
52748         (TEXI2DVI): Define always, it's not in Makeconfig.
52749         (dist): Removed.
52750         (tar-it): Removed.
52751         (edition): Removed.
52752         (glibc-doc-$(edition).tar): Removed
52753         (%.Z): Removed.
52754         (%.gz): Removed.
52755         (%.uu): Removed.
52756         (ETAGS): Remove, it's in Makeconfig.
52757         (move-if-change): Remove, it's in Makeconfig.
52759 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
52761         [BZ #13970]
52762         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52763         (strtod, strtof, strtold, strtol, strtoul, strtoq)
52764         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52765         (strtod_l, strtof_l, strtold_l): Remove __wur.
52766         It is not necessarily an error to ignore strtol's return value.
52767         One can reliably look at the stored endptr to decide whether
52768         the number had valid syntax.
52770 2012-04-21  Andreas Jaeger  <aj@suse.de>
52772         [BZ #13739]
52773         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52775 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52777         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52778         * sysdeps/unix/sysv/Versions: Remove file.
52780 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52782         [BZ #13927]
52783         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52785 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52787         [BZ #7064]
52788         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52789         version from __vm86.
52791 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52793         * sysdeps/unix/common/lxstat.c: Remove file.
52794         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52796         * sysdeps/unix/sysv/Makefile: Remove file.
52798         * sysdeps/unix/sysv/direct.h: Remove file.
52800         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52801         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52802         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52803         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52804         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52805         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52806         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52808         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52810         * sysdeps/unix/xmknod.c: Remove file.
52811         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52813         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52815         * sysdeps/unix/sysv/i386/time.S: Remove file.
52817         * sysdeps/unix/fxstat.c: Remove file.
52818         * sysdeps/unix/xstat.c: Likewise.
52819         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52821         * sysdeps/unix/sysv/sigaction.c: Remove file.
52823         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52824         (sysdep_headers): Remove variable.
52825         [termio.h not in sysdep_headers] (generated): Likewise.
52826         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52827         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52828         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52829         * sysdeps/unix/sysv/tcflow.c: Likewise.
52830         * sysdeps/unix/sysv/tcflush.c: Likewise.
52831         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52832         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52833         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52834         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52835         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52837         * sysdeps/unix/siglist.c: Remove file.
52839         * sysdeps/unix/getppid.S: Remove file.
52841         * sysdeps/unix/mkdir.c: Remove file.
52842         * sysdeps/unix/rmdir.c: Likewise.
52844 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52846         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52847         ERR_MAX value.
52848         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52849         errlist-compat value.
52851 2012-04-18  David S. Miller  <davem@davemloft.net>
52853         * sysdeps/generic/memcopy.h (reg_char): Delete.
52854         * debug/strcat_chk.c: Use char, not reg_char.
52855         * debug/strcpy_chk.c: Likewise.
52856         * debug/strncat_chk.c: Likewise.
52857         * debug/strncpy_chk.c: Likewise.
52858         * string/memchr.c: Likewise.
52859         * string/memrchr.c: Likewise.
52860         * string/rawmemchr.c: Likewise.
52861         * string/strcat.c: Likewise.
52862         * string/strchr.c: Likewise.
52863         * string/strchrnul.c: Likewise.
52864         * string/strcmp.c: Likewise.
52865         * string/strcpy.c: Likewise.
52866         * string/strncat.c: Likewise.
52867         * string/strncmp.c: Likewise.
52868         * string/strncpy.c: Likewise.
52870 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52872         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52873         __builtin_memcopy is called when src and dest ranges are known to not
52874         overlap.
52876 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52878         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52879         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52880         fwd_align_merge macro call.
52881         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52882         bwd_align_merge macro call.
52883         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52885 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52887         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52888         bwd_align_merge macros.
52889         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52890         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52891         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52893 2012-04-18  David S. Miller  <davem@davemloft.net>
52895         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52897 2012-04-18  Andreas Jaeger  <aj@suse.de>
52899         [BZ# 6794]
52900         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52901         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52902         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52904         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52905         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52906         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52908         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52909         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52910         Adjust for changed ldbl-128 files.
52912         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52913         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52914         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52916 2012-04-17  David S. Miller  <davem@davemloft.net>
52918         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52920 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52922         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52923         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52924         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52925         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52926         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52927         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52929 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52931         [BZ #6794]
52932         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52933         * math/libm-test.inc: Add ilogb errno and exception tests.
52934         * math/w_ilogb.c: New file: ilogb wrapper.
52935         * math/w_ilogbf.c: New file: ilogbf wrapper.
52936         * math/w_ilogbl.c: New file: ilogbl wrapper.
52937         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52938         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52939         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52940         exception being thrown with 0.0 as argument.
52941         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52942         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52943         exception being thrown with 0.0 as argument.
52944         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52945         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52946         exception being thrown with 0.0 as argument.
52947         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52948         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52949         exception being thrown with 0.0 as argument.
52950         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52951         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52952         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52953         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52954         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52955         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52956         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52957         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52958         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52960 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52962         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52963         with altivec.
52965 2012-04-16  Marek Polacek  <polacek@redhat.com>
52967         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52969 2012-04-16  Marek Polacek  <polacek@redhat.com>
52971         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52972         operands of fdivp instruction.
52974 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52976         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52977         * elf/tst-auditmod3b.c: Likewise.
52978         * elf/tst-auditmod4b.c: Likewise.
52979         * elf/tst-auditmod5b.c: Likewise.
52980         * elf/tst-auditmod6b.c: Likewise.
52981         * elf/tst-auditmod6c.c: Likewise.
52982         * elf/tst-auditmod7b.c: Likewise.
52983         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52984         * sysdeps/x86_64/preconfigure.in: Likewise.
52985         * sysdeps/x86_64/preconfigure: Regenerated.
52987 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52989         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52990         __ILP32__.
52992 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52994         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52995         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52997 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52999         [BZ #13973]
53000         * locale/iso-639.def: Fix gl language name. Spotted by
53001         Yaron Shahrabani.
53003 2012-04-12  Roland McGrath  <roland@hack.frob.com>
53005         [BZ #2074]
53006         * libio/libio.h (__io_write_fn): Update comment.
53008 2012-04-12  Petr Baudis  <pasky@ucw.cz>
53010         [BZ #2074]
53011         * stdio.texi (Hook Functions): The user provided writer function
53012         is not allowed to return -1.
53014 2012-04-11  David S. Miller  <davem@davemloft.net>
53016         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53018 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
53020         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
53021         Add a leading slash to rtkaio.
53023 2012-04-11  Jim Meyering  <meyering@redhat.com>
53025         [BZ #11959]
53026         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
53027         It is not necessarily an error to ignore fwrite's return
53028         value.  One can reliably use ferror to test for errors after
53029         the fact.
53031 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
53033         * bits/types.h (__snseconds_t): New type.
53034         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
53036         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
53037         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53038         (__SNSECONDS_T_TYPE): Likewise.
53039         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53040         (__SNSECONDS_T_TYPE): Likewise.
53041         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53042         (__SNSECONDS_T_TYPE): Likewise.
53044 2012-04-10  Andreas Jaeger  <aj@suse.de>
53046         [BZ #2636]
53047         * manual/time.texi (Processor Time): Return type of times is
53048         elapsed real time since an arbitrary point in the past.
53049         (CPU Time): Move CLK_TCK from here...
53050         (Processor Time): ...to here.  Correct description.
53051         * manual/conf.texi (Constants for Sysconf): Correct description of
53052         _SC_CLK_TCK.
53054 2012-04-10  David S. Miller  <davem@davemloft.net>
53056         [BZ #13967]
53057         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
53058         where the is a gap between DT_REL(A) and DT_JMPREL.
53060 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
53062         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
53063         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53064         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53066 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53068         * elf/dl-support.c (_dl_inhibit_cache): New variable.
53069         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
53070         (dl_main): Handle --inhibit-cache.
53071         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
53072         _dl_inhibit_cache.
53073         * elf/dl-load.c (_dl_map_object): Use it.
53074         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
53076 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
53078         [BZ #13872]
53079         * sysdeps/i386/fpu/e_powl.S (p78): New object.
53080         (__ieee754_powl): Saturate large exponents rather than testing for
53081         overflow of y*log2(x).
53082         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53083         * math/libm-test.inc (pow_test): Do not permit spurious overflow
53084         exceptions.
53086         [BZ #11521]
53087         * math/s_ctan.c: Include <float.h>.
53088         (__ctan): Avoid internal overflow or cancellation in calculating
53089         denominator.
53090         * math/s_ctanf.c: Likewise.
53091         * math/s_ctanl.c: Likewise.
53092         * math/s_ctanh.c: Likewise.
53093         * math/s_ctanhf.c: Likewise.
53094         * math/s_ctanhl.c: Likewise.
53095         * math/libm-test.inc (ctan_test): Add more tests.
53096         (ctanh_test): Likewise.
53097         * sysdeps/i386/fpu/libm-test-ulps: Update.
53098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53100 2012-04-09  Andreas Jaeger  <aj@suse.de>
53102         [BZ #6894]
53103         * manual/filesys.texi (Directory Entries): Mention that d_namlen
53104         is an optional BSD extension.
53106         [BZ #10254]
53107         * manual/stdio.texi (Opening Streams): Document additional fopen
53108         parameters.
53110 2012-04-09  Roland McGrath  <roland@hack.frob.com>
53112         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
53113         %eax without telling the compiler.
53115 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
53117         [BZ # 13963]
53118         * manual/install.texi: Use sourceware.org.
53120 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
53122         [BZ #13873]
53123         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
53124         (__ieee754_pow): Generate overflow and underflow using huge*huge
53125         and tiny*tiny rather than just returning constant infinity or zero
53126         for large exponents.
53127         * math/libm-test.inc (pow_test): Require overflow exceptions for
53128         applicable cases of large exponents.
53130         [BZ #706]
53131         * sysdeps/i386/fpu/e_pow.S (p10): New object.
53132         (__ieee754_pow): Use iterative multiplication algorithm only for
53133         integer exponents with absolute value below 1024.  Check for odd
53134         integer exponents when using algorithm for real exponents.
53135         * math/libm-test.inc (pow_test): Add more tests.
53136         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53138 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
53140         [BZ #13705]
53141         * math/libm-test.inc (exp_test): Do not allow overflow exception
53142         on underflow test.
53144 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
53146         [BZ #13705]
53147         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
53148         instead of __kernel_standard_f.
53150 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
53152         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
53153         * sysdeps/x86_64/memset_chk.S: Likewise.
53155 2012-04-08  Andreas Jaeger  <aj@suse.de>
53157         [BZ #10153]
53158         * manual/startup.texi (Environment Access): Describe return value
53159         for putenv and setenv.
53161         [BZ #6895]
53162         * manual/filesys.texi (Directory Entries): Add description for
53163         DT_LNK.
53165         [BZ #6890]
53166         * manual/filesys.texi (Directory Entries): Clarify that it's file
53167         system not operating system in the description of DT_UNKNOWN.
53169         [BZ #6578]
53170         * manual/syslog.texi (closelog): Fix reference, it's openlog.
53172 2012-04-08  Stephen Compall  <s11@member.fsf.org>
53174         [BZ #6649]
53175         * manual/llio.texi (Opening and Closing Files): Add cross
53176         reference to explain mode argument.
53178 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
53180         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
53181         * sysdeps/x86_64/memset_chk.S: Likewise.
53183 2012-04-07  David S. Miller  <davem@davemloft.net>
53185         * elf/elf.h (R_SPARC_WDISP10): Define.
53186         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
53187         R_SPARC_SIZE32.
53188         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
53189         R_SPARC_SIZE64 and R_SPARC_H34.
53191 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
53193         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
53194         conditions and remove no longer applicable assertion.
53196 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53198         * bits/byteswap.h: Include <features.h>.
53199         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53200         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53202 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53204         * bits/byteswap.h (__bswap_16): Removed.
53205         Include <bits/byteswap-16.h> to get __bswap_16.
53206         * sysdeps/i386/bits/byteswap.h: Likewise.
53207         * sysdeps/s390/bits/byteswap.h: Likewise.
53208         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53209         * bits/byteswap-16.h: New file.
53210         * sysdeps/i386/bits/byteswap-16.h: Likewise.
53211         * sysdeps/s390/bits/byteswap-16.h: Likewise.
53212         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
53213         * string/Makefile (headers): Add bits/byteswap-16.h.
53215 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53217         [BZ #13895]
53218         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
53219         extra indirection.
53220         * nss/Makefile (tests-static, tests): Add tst-nss-static.
53221         * nss/tst-nss-static.c: New.
53223 2012-04-06  Robert Millan  <rmh@gnu.org>
53225         [BZ #6486]
53226         * manual/llio.texi (File Position Primitive): lseek
53227         refers to WHENCE when it really means OFFSET.
53229 2012-04-06  Andreas Jaeger  <aj@suse.de>
53231         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
53232         strncmp declarations.
53234         * abilist/libc.abilist: Add __poll and __ppoll.
53236 2012-04-05  David S. Miller  <davem@davemloft.net>
53238         * scripts/check-local-headers.sh: Accept a host triplet in the
53239         path matched by the exclude regexp.
53241         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
53242         definition.
53243         * sysdeps/powerpc/powerpc32/dl-machine.h
53244         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
53245         * sysdeps/s390/s390-32/dl-machine.h
53246         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53247         * sysdeps/sparc/sparc32/dl-machine.h
53248         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53249         * sysdeps/sparc/sparc64/dl-machine.h
53250         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53252         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
53253         lazy binding.
53254         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
53255         undefined symbol errors.
53257         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
53258         DT_NEEDED entries.
53260 2012-04-05  Michael Matz  <matz@suse.de>
53262         [BZ #13592]
53263         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
53265 2012-04-05  Andreas Jaeger  <aj@suse.de>
53267         [BZ #13908]
53268         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
53269         comment.
53271 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53273         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
53274         which ROUND is no valid rounding mode.
53276 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53278         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
53279         read again.
53280         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
53282 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53284         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
53285         an exception using FPU order intentionally.
53287 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53289         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
53290         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
53291         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
53292         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
53294 2012-04-05  Simon Josefsson  <simon@josefsson.org>
53296         [BZ #12340]
53297         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
53298         EINVAL when BUFLEN is too smal.
53300 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53302         [BZ #13553]
53303         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
53304         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
53306 2012-04-03  Andreas Jaeger  <aj@suse.de>
53308         [BZ #13938]
53309         * manual/setjmp.texi (System V contexts): Fix sentence.
53311         [BZ #13926]
53312         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
53313         New macro for this case.
53314         [!__GNUC__] (__bswap_64): New inline function for this case.
53315         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53316         * bits/byteswap.h: Likewise.
53317         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
53318         ull, guard with __GLIBC_HAVE_LONG_LONG.
53320         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
53321         __GLIBC_HAVE_LONG_LONG.
53323         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
53324         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
53326 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53328         [BZ #13691]
53329         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
53330         inptr and inend, rather than using last_ch.
53332 2012-04-02  David S. Miller  <davem@davemloft.net>
53334         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
53335         * stdio-common/printf-parse.h (read_int): Change return type to
53336         'int', return -1 on INT_MAX overflow.
53337         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
53338         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
53339         overflows INT_MAX.  Check for overflow of in-format-string precision
53340         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
53341         SIZE_MAX not INT_MAX for integer overflow test.
53342         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
53343         skip the construct in the format string but do not record anything.
53344         * stdio-common/bug22.c: Adjust to test both width/prevision
53345         INT_MAX overflow as well as total length INT_MAX overflow.  Check
53346         explicitly for proper errno values.
53348 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53350         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
53351         CHAR_MAX.
53352         * string/test-strcmp.c [! WIDE]: Likewise.
53353         * time/tst-mktime2.c: Likewise for INT_MAX.
53354         * string/test-string.h: #include <sys/param.h> for MIN.
53356         * csu/init-first.c (__libc_init_first): Call __ctype_init.
53357         * sysdeps/i386/init-first.c (init): Likewise.
53358         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
53359         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
53360         * sysdeps/sh/init-first.c (init): Likewise.
53362 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
53364         * po/ru.po: Update from translation team.
53365         * po/vi.po: Likewise.
53367 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53369         * resolv/nss_dns/dns-host.c: Merge copyright years.
53371 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53373         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53374         Optimize memcpy with prefetch if
53375         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
53376         src, dst pointers have unequal 16 byte alignments.
53378 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53380         [BZ #13928]
53381         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
53382         from a CNAME entry and return the minimum ttl for the query.
53383         (gaih_getanswer_slice): Likewise.
53385 2012-03-30  Jeff Law  <law@redhat.com>
53387         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
53388         due to long keys.
53389         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
53390         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
53392         * resolv/nss_dns/dns-host.c: Update copyright year.
53394 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
53396         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
53397         requests to save a system call.  Fix check that all bytes are sent.
53399         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
53400         comments for sendmmsg.
53402 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53404         [BZ #13691]
53405         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
53406         with only 1 character between 0x0041 and 0x01b0.
53407         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
53408         * wcsmbs/tst-mbsnrtowcs.c: New file.
53410 2012-03-29  David S. Miller  <davem@davemloft.net>
53412         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
53413         small copies by hand.
53415 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53417         [BZ #13761]
53418         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
53419         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
53420         group memberships.
53422 2012-03-28  David S. Miller  <davem@davemloft.net>
53424         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
53425         that branches into memcpy.
53426         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
53427         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
53428         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53429         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
53430         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
53431         bits.
53432         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
53433         implementation too.
53434         * sysdeps/sparc/mempcpy.S: New file.
53436         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
53437         the IFUNC routine in the libc case.
53438         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53440         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
53441         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
53442         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
53443         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
53444         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
53445         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
53446         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
53447         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
53449         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
53450         loop to 256 bytes instead of 64 bytes and fix test signedness.
53452         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
53453         * sysdeps/sparc/sparc32/Makefile: rather than here...
53454         * sysdeps/sparc/sparc64/Makefile: and here.
53456 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
53458         * malloc/mallocbug.c: Avoid warnings about unused variables.
53460 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53462         [BZ #13760]
53463         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
53464         in the right place. Discard and retry query if response is
53465         larger than input buffer size.
53467 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
53469         [BZ #369]
53470         [BZ #2678]
53471         [BZ #3866]
53472         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
53473         x for large integer exponent.
53474         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
53475         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
53476         sign of result as needed afterwards.
53477         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
53478         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
53479         result for underflowing pow the same as for overflow.
53480         (__kernel_standard_l): Handle powl overflow and underflow here
53481         rather than calling __kernel_standard.
53482         * math/libm-test.inc (pow_test): Add more tests.
53484         [BZ #3868]
53485         [BZ #13879]
53486         [BZ #13910]
53487         [BZ #13911]
53488         [BZ #13912]
53489         [BZ #13913]
53490         [BZ #13915]
53491         [BZ #13916]
53492         [BZ #13917]
53493         [BZ #13918]
53494         [BZ #13919]
53495         [BZ #13920]
53496         [BZ #13921]
53497         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
53498         * sysdeps/ieee754/k_standard.c: Include <float.h>.
53499         (__kernel_standard_l): New function.
53500         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
53501         __kernel_standard.
53502         * math/w_acosl.c (__acosl): Likewise.
53503         * math/w_asinl.c (__asinl): Likewise.
53504         * math/w_atan2l.c (__atan2l): Likewise.
53505         * math/w_atanhl.c (__atanhl): Likewise.
53506         * math/w_coshl.c (__coshl): Likewise.
53507         * math/w_exp10l.c (__exp10l): Likewise.
53508         * math/w_exp2l.c (__exp2l): Likewise.
53509         * math/w_fmodl.c (__fmodl): Likewise.
53510         * math/w_hypotl.c (__hypotl): Likewise.
53511         * math/w_j0l.c (__j0l, __y0l): Likewise.
53512         * math/w_j1l.c (__j1l, __y1l): Likewise.
53513         * math/w_jnl.c (__jnl, __ynl): Likewise.
53514         * math/w_lgammal.c (__lgammal): Likewise.
53515         * math/w_log10l.c (__log10l): Likewise.
53516         * math/w_log2l.c (__log2l): Likewise.
53517         * math/w_logl.c (__logl): Likewise.
53518         * math/w_powl.c (__powl): Likewise.
53519         * math/w_remainderl.c (__remainderl): Likewise.
53520         * math/w_scalbl.c (sysv_scalbl): Likewise.
53521         * math/w_sinhl.c (__sinhl): Likewise.
53522         * math/w_sqrtl.c (__sqrtl): Likewise.
53523         * math/w_tgammal.c (__tgammal): Likewise.
53524         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
53525         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
53526         * math/libm-test.inc (acos_test): Add more tests.
53527         (acosh_test): Likewise.
53528         (asin_test): Likewise.
53529         (atanh_test): Likewise.
53530         (exp_test): Likewise.
53531         (exp10_test): Likewise.
53532         (exp2_test): Likewise.
53533         (expm1_test): Likewise.
53534         (lgamma_test): Likewise.
53535         (log_test): Likewise.
53536         (log10_test): Likewise.
53537         (log1p_test): Likewise.
53538         (log2_test): Likewise.
53539         (pow_test): Do not allow some spurious overflow exceptions.
53540         (sqrt_test): Add more tests.
53541         (tgamma_test): Likewise.
53542         (y0_test): Likewise.
53543         (y1_test): Likewise.
53544         (yn_test): Likewise.
53546 2012-03-27  Anton Blanchard  <anton@samba.org>
53548         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
53549         MAP_HUGETLB.
53550         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53551         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53552         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53554 2012-03-27  David S. Miller  <davem@davemloft.net>
53556         * conform/Makefile: Run run-conformtest.sh using $(BASH).
53558         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
53559         have-as-vis3 check.
53561 2012-03-27  Andreas Jaeger  <aj@suse.de>
53563         * sysdeps/x86_64/elf/configure.in: Moved to ...
53564         * sysdeps/x86_64/configure.in: ... here.
53565         * sysdeps/x86_64/elf/start.S: Moved to ...
53566         * sysdeps/x86_64/start.S: ... here.
53567         * sysdeps/x86_64/elf/configure: Delete.
53569         * sysdeps/x86_64/configure.in: Merge contents from
53570         sysdeps/i386/configure.in (without i686 check).
53572         * sysdeps/i386/elf/Versions: Merge into ...
53573         * sysdeps/i386/Versions: ... this.
53574         * sysdeps/i386/elf/Versions: Delete file.
53575         * sysdeps/i386/elf/start.S: Moved to ...
53576         * sysdeps/i386/start.S: ...here.
53577         * sysdeps/i386/elf/configure.in: Merge into...
53578         * sysdeps/i386/configure.in: ...here.
53579         * sysdeps/i386/elf/configure.in: Delete file.
53580         * sysdeps/i386/elf/configure: Delete file.
53582         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
53583         * debug/backtracesyms.c: ... here.
53584         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
53585         * debug/backtracesymsfd.c: ... here.
53586         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
53587         * sysdeps/generic/ifunc-sel.h: ... here.
53589         * sysdeps/unix/i386/start.c: Delete file.
53590         * sysdeps/unix/sparc/start.c: Delete file.
53591         * sysdeps/unix/start.c: Delete file.
53593         * sysdeps/sh/elf/configure.in: Moved to ...
53594         * sysdeps/sh/configure.in: ... here.
53595         * sysdeps/sh/elf/start.S: Moved to ...
53596         * sysdeps/sh/start.S: ... here.
53597         * sysdeps/sh/elf/configure: Delete file.
53599         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
53600         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
53601         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
53602         * sysdeps/powerpc/powerpc64/entry.h: ... here.
53603         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
53604         * sysdeps/powerpc/powerpc64/start.S: here.
53605         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
53606         * sysdeps/powerpc/powerpc64/Makefile: ... this.
53607         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
53608         * sysdeps/powerpc/powerpc64/configure.in: ... this.
53609         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
53611         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
53612         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
53613         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
53614         * sysdeps/powerpc/powerpc32/start.S: ... here.
53615         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
53616         * sysdeps/powerpc/powerpc32/configure.in: ... this.
53617         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
53619         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
53620         * sysdeps/powerpc/ifunc-sel.h: ... here.
53621         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
53622         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
53624         * sysdeps/sparc/elf/configure.in: Moved to ...
53625         * sysdeps/sparc/configure.in: ... here.
53626         * sysdeps/sparc/elf/configure: Delete file.
53627         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
53628         * sysdeps/sparc/sparc32/start.S: ... here.
53629         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
53630         * sysdeps/sparc/sparc64/start.S: ... here.
53631         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
53632         * sysdeps/sparc/sparc32/Makefile: ... this.
53633         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
53634         * sysdeps/sparc/sparc64/Makefile: ... this.
53636         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
53637         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
53638         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
53639         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
53640         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
53641         * sysdeps/s390/s390-32/setjmp.S: ... here.
53642         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
53643         * sysdeps/s390/s390-32/configure.in: ... here.
53644         * sysdeps/s390/s390-32/elf/configure: Delete file.
53645         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
53646         * sysdeps/s390/s390-32/start.S: ... here.
53648         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
53649         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
53650         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
53651         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
53652         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
53653         * sysdeps/s390/s390-64/setjmp.S: ... here.
53654         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
53655         * sysdeps/s390/s390-64/configure.in: ... here
53656         * sysdeps/s390/s390-64/elf/configure: Delete file.
53657         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
53658         * sysdeps/s390/s390-64/start.S: ... here.
53659         * sysdeps/s390/s390-64/elf/configure: Delete.
53661         * configure.in: Remove support for elf directories in sysdeps.
53663         * configure: Regenerated.
53664         * sysdeps/i386/configure: Regenerated.
53665         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53666         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53667         * sysdeps/s390/s390-32/configure: Regenerated.
53668         * sysdeps/s390/s390-64/configure: Regenerated.
53669         * sysdeps/sh/configure: Regenerated.
53670         * sysdeps/sparc/configure: Regenerated.
53671         * sysdeps/x86_64/configure: Regenerated.
53673 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
53675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53677         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
53678         denormal result into account.
53680 2012-03-25  Roland McGrath  <roland@hack.frob.com>
53682         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
53683         Reported by Allan McRae <allan@archlinux.org>.
53685 2012-03-23  Jeff Law  <law@redhat.com>
53687         * nss/getnssent.c (__nss_getent): Fix typo.
53689 2012-03-23  David S. Miller  <davem@davemloft.net>
53691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53693 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
53695         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
53696         to pad to uint64_t for each field.
53697         (dl_tls_index): Replace unsigned long with uint64_t.
53699 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
53700         Paul Pluzhnikov  <ppluzhnikov@google.com>
53702         [BZ #6528]
53703         * grp/Makefile (otherlibs): Don't set it.
53704         * inet/Makefile (otherlibs): Likewise.
53705         * login/Makefile (otherlibs): Likewise.
53706         * nscd/Makefile (otherlibs): Likewise.
53707         * posix/Makefile (otherlibs): Likewise.
53708         * pwd/Makefile (otherlibs): Likewise.
53709         * rt/Makefile (otherlibs): Likewise.
53710         * sunrpc/Makefile (otherlibs): Likewise.
53711         * nss/Makefile (otherlibs): Likewise.
53712         Add libnss_files to routines and static-only-routines.
53713         ($(objpfx)getent): Remove rule.
53714         * resolv/Makefile: Add libnss_dns and libresolv to routines and
53715         static-only-routines.
53717 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53719         [BZ #13892]
53720         * math/s_cexp.c: Include <float.h>.
53721         (__cexp): Handle exp result overflowing not necessarily
53722         overflowing both real and imaginary parts of result.
53723         * math/s_cexpf.c: Likewise.
53724         * math/s_cexpl.c: Likewise.
53725         * math/libm-test.inc (cexp_test): Add more tests.
53726         * sysdeps/i386/fpu/libm-test-ulps: Update.
53727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53729 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53731         * include/link.h (ELFW): New macro.
53732         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53733         Replace ELF64_R_TYPE with ELFW(R_TYPE).
53735 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53737         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53738         with uint64_t.
53740 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53742         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53743         declaration.
53744         (struct La_x32_retval): Likewise.
53746 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53748         * sysdeps/x86_64/preconfigure.in: New file.
53749         * sysdeps/x86_64/preconfigure: New generated file.
53751 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53753         [BZ #13824]
53754         * math/e_exp2l.c: Include <float.h>.
53755         (__ieee754_exp2l): Handle overflow and underflow cases
53756         separately.  Only pass fractional part of argument to
53757         __ieee754_expl.
53758         * math/libm-test.inc (exp2_test): Add more tests.
53760         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53761         negating x to take absolute value.
53762         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53763         Likewise.
53764         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53765         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53766         Likewise.
53767         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53768         computing low part if x was negated.
53769         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53771 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53773         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53774         la_x32_gnu_pltexit.
53775         (pltexit): Cast int_retval to ptrdiff_t.
53776         * elf/tst-auditmod3b.c: Likewise.
53777         * elf/tst-auditmod4b.c: Likewise.
53778         * elf/tst-auditmod5b.c: Likewise.
53779         * elf/tst-auditmod6b.c: Likewise.
53780         * elf/tst-auditmod6c.c: Likewise.
53781         * elf/tst-auditmod7b.c: Likewise.
53783         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53784         and x32_gnu_pltexit.
53786         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53787         __ELF_NATIVE_CLASS.
53788         (La_x32_regs): New macro.
53789         (La_x32_retval): Likewise.
53790         (la_x32_gnu_pltenter): New function prototype.
53791         (la_x32_gnu_pltexit): Likewise.
53793 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53795         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53796         exponent.
53798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53800         * configure.in (libc_cv_cc_nofma): Check for option to disable
53801         generation of FMA instructions.
53802         * configure: Regenerate.
53803         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53804         * sysdeps/ieee754/dbl-64/Makefile: New file.
53805         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53806         Remove brandred-fma4.
53807         (CFLAGS-brandred-fma4.c): Remove.
53808         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53809         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53810         define.
53811         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53812         define.
53814 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53816         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53817         LLONG_MAX != LONG_MAX.
53818         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53819         (_fitoa_word): Likewise.
53820         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53821         LLONG_MAX != LONG_MAX.
53822         * stdio-common/_itowa.h: Include <_itoa.h>.
53823         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53824         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53825         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53826         only if not defined.
53827         (_ITOA_WORD_TYPE): Likewise.
53828         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53829         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53831 2012-03-21  David S. Miller  <davem@davemloft.net>
53833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53835 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53837         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53838         of x86_64 when setting libc_cv_slibdir, libdir and
53839         libc_cv_localedir.
53840         * sysdeps/unix/sysv/linux/configure: Regenerated.
53842 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53844         * manual/lang.texi (Old Varargs): Remove section.
53845         (How Variadic): Update menu.
53846         (va_start): Do not mention varargs.h.
53848 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53849             Joseph Myers  <joseph@codesourcery.com>
53851         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53852         link test.
53853         * configure: Regenerated.
53855 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53857         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53858         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53859         conformtest.pl
53861 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53863         * NOTES: Remove.
53864         * Makefile (files-for-dist): Remove NOTES.
53865         (NOTES): Remove rule.
53866         * README: Don't refer to NOTES.
53867         * manual/creature.texi: Don't include macros.texi.
53868         * manual/intro.texi (creature.texi): Remove comment referring to
53869         NOTES.
53871         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53872         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53873         * configure: Regenerated.
53874         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53875         LIBC_TRY_CC_OPTION.
53876         (libc_cv_as_i686): Likewise.
53877         (libc_cv_cc_avx): Likewise.
53878         (libc_cv_cc_sse2avx): Likewise.
53879         (libc_cv_cc_fma4): Likewise.
53880         (libc_cv_cc_novzeroupper): Likewise.
53881         * sysdeps/i386/configure: Regenerated.
53883         [BZ #13883]
53884         * sysdeps/i386/fpu/s_cexp.S: Remove.
53885         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53886         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53887         * math/libm-test.inc (cexp_test): Add more tests.
53888         * sysdeps/i386/fpu/libm-test-ulps: Update.
53889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53891 2012-03-21  Allan McRae  <allan@archlinux.org>
53893         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53895 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53897         [BZ #13871]
53898         * math/w_exp2.c: Do not include <float.h>.
53899         (o_threshold, u_threshold): Remove.
53900         (__exp2): Calculate result before checking finiteness and calling
53901         __kernel_standard.
53902         * math/w_exp2f.c: Likewise.
53903         * math/w_exp2l.c: Likewise.
53904         * math/libm-test.inc (exp2_test): Require overflow exception for
53905         1e6 input.
53907         [BZ #3866]
53908         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53909         range of signed 64-bit integers before using fistpll.  Remove
53910         checks for whether integers fit in mantissa bits.
53911         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53912         the range of signed 32-bit integers before using fistpl.  Remove
53913         checks for whether integers fit in mantissa bits.
53914         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53915         (__ieee754_powl): Test for y outside the range of signed 64-bit
53916         integers before using fistpll.  Reduce 64-bit values to 63-bit
53917         ones as needed.
53918         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53919         divide-by-zero is raised for zero to large negative powers.
53920         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53921         (__ieee754_powl): Test for y outside the range of signed 64-bit
53922         integers before using fistpll.  Reduce 64-bit values to 63-bit
53923         ones as needed.
53924         * math/libm-test.inc (pow_test): Add more tests.
53926 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53928         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53929         <stdio-common/_itoa.h>.
53930         * debug/segfault.c: Likewise.
53931         * elf/dl-cache.c: Likewise.
53932         * elf/dl-minimal.c: Likewise.
53933         * elf/dl-misc.c: Likewise.
53934         * elf/dl-sysdep.c: Likewise.
53935         * elf/dl-version.c: Likewise.
53936         * elf/rtld.c: Likewise.
53937         * hurd/hurdsock.c: Likewise.
53938         * hurd/lookup-retry.c: Likewise.
53939         * malloc/malloc.c: Likewise.
53940         * malloc/mtrace.c: Likewise.
53941         * nscd/nscd_getgr_r.c: Likewise.
53942         * nscd/nscd_getpw_r.c: Likewise.
53943         * nscd/nscd_getserv_r.c: Likewise.
53944         * posix/getopt_init.c: Likewise.
53945         * posix/wordexp.c: Likewise.
53946         * stdio-common/_itoa.c: Likewise.
53947         * stdio-common/printf_fphex.c: Likewise.
53948         * stdio-common/vfprintf.c: Likewise.
53949         * string/_strerror.c: Likewise.
53950         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53951         * sysdeps/i386/i686/hp-timing.h: Likewise.
53952         * sysdeps/mach/_strerror.c: Likewise.
53953         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53954         * sysdeps/mach/hurd/sethostid.c: Likewise.
53955         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53956         * sysdeps/mach/xpg-strerror.c: Likewise.
53957         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53958         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53959         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53960         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53961         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53962         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53963         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53964         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53965         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53966         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53967         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53968         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53969         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53970         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53971         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53972         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53973         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53974         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53975         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53976         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53977         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53979         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53981         * stdio-common/_itoa.h: Moved to ...
53982         * sysdeps/generic/_itoa.h: Here.
53984         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53986         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53987         instead of "_itoa.h" and "_itowa.h".
53988         * stdio-common/vfprintf.: Likewise.
53990 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53992         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53993         <bits/wordsize.h>.
53994         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53995         (__signbit): Likwise.
53996         (llrintf): Likwise.
53997         (llrint): Likwise.
53999 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54001         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
54002         __WORDSIZE != 64.
54004 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
54006         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
54007         OVERFLOW_EXCEPTION_OK.
54008         * math/libm-test.inc ("Philosophy"): Update comment about
54009         exception testing.
54010         (OVERFLOW_EXCEPTION): Define.
54011         (OVERFLOW_EXCEPTION_OK): Likewise.
54012         (INVALID_EXCEPTION_OK): Renumber.
54013         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54014         (IGNORE_ZERO_INF_SIGN): Likewise.
54015         (test_exceptions): Handle FE_OVERFLOW.
54016         (exp10_test): Expect overflow exceptions.
54017         (exp2_test): Likewise.
54018         (expm1_test): Likewise.
54019         (nextafter_test): Likewise.
54020         (pow_test): Likewise.
54021         (scalbn_test): Likewise.
54022         (scalbln_test): Likewise.
54024 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54026         * sysdeps/x86_64/bits/atomic.h
54027         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
54028         64bit integer.
54029         (atomic_exchange_acq): Likewise.
54030         (__arch_exchange_and_add_body): Likewise.
54031         (__arch_add_body): Likewise.
54032         (atomic_add_negative): Likewise.
54033         (atomic_add_zero): Likewise.
54035 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54037         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
54038         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
54040 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54042         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
54043         Check __x86_64__ instead of __WORDSIZE.
54045 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54047         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
54049 2012-03-19  David S. Miller  <davem@davemloft.net>
54051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54053         * sysdeps/sparc/fpu/fenv_private.h: New file.
54054         * sysdeps/sparc/fpu/math_private.h: Use it.
54055         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
54056         Remove.
54057         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
54058         (libc_feholdexcept_setroundl): Remove.
54059         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
54060         Remove.
54061         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
54062         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
54064 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54066         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
54067         int64_t instead of long int.
54068         (INSERT_WORDS64): Likwise.
54070 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54072         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
54073         _Unwind_GetCFA return to _Unwind_Ptr first.
54075 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
54077         [BZ #13629]
54078         * math/s_clog.c: Include <float.h>.
54079         (__clog): Scale large or subnormal inputs.
54080         * math/s_clogf.c: Likewise.
54081         * math/s_clogl.c: Likewise.
54082         * math/s_clog10.c: Include <float.h>.
54083         (M_LOG10_2): Define.
54084         (__clog10): Scale large or subnormal inputs.
54085         * math/s_clog10f.c: Likewise.
54086         * math/s_clog10l.c: Likewise.
54087         * math/libm-test.inc (clog_test): Add more tests.
54088         (clog10_test): Likewise.
54089         * sysdeps/i386/fpu/libm-test-ulps: Update.
54090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54092         [BZ #11451]
54093         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
54094         x and y.
54095         * math/libm-test.inc (atan2_test): Add another test.
54097         * Makerules (common-objdir-compile): Remove.
54098         * sysdeps/unix/Makefile (config-generated): Do not add
54099         $(unix-generated) to variable.
54100         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
54101         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
54102         Remove rule.
54103         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
54104         Likewise.
54105         [generic bits/local_lim.h] (before-compile): Do not append to
54106         variable.
54107         [generic bits/local_lim.h] (common-generated): Likewise.
54108         [generic sys/param.h] (before-compile): Do not append to variable.
54109         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
54110         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
54111         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
54112         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
54113         include.
54114         [generic sys/param.h] (sys/param.h-includes): Remove variable.
54115         [generic sys/param.h] (sys/param.h-includes): Remove rule.
54116         [generic sys/param.h] ($(addprefix
54117         $(common-objpfx),$(sys/param.h-includes))): Likewise.
54118         [generic sys/param.h] (common-generated): Do not append to
54119         variable.
54120         [generic sys/param.h] (sysdep_headers): Likewise.
54121         [generic bits/errno.h] (before-compile): Do not append to
54122         variable.
54123         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
54124         rule.
54125         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
54126         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
54127         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
54128         [generic bits/errno.h] (common-generated): Do not append to
54129         variable.
54130         [generic bits/ioctls.h] (before-compile): Do not append to
54131         variable.
54132         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
54133         rule.
54134         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
54135         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
54136         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
54137         rule.
54138         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
54139         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
54140         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
54141         [generic bits/ioctls.h] (common-generated): Do not append to
54142         variable.
54143         [generic sys/syscall.h] (syscall.h): Remove variable.
54144         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
54145         rule.
54146         [generic sys/syscall.h] (before-compile): Do not append to
54147         variable.
54148         [generic sys/syscall.h] (common-generated): Likewise.
54149         * sysdeps/unix/errnos-tmpl.c: Remove file.
54150         * sysdeps/unix/errnos.awk: Likewise.
54151         * sysdeps/unix/ioctls-tmpl.c: Likewise.
54152         * sysdeps/unix/ioctls.awk: Likewise.
54153         * sysdeps/unix/mk-local_lim.c: Likewise.
54154         * sysdeps/unix/snarf-ioctls: Likewise.
54156 2012-03-19  Richard Henderson  <rth@twiddle.net>
54158         * sysdeps/i386/fpu/fenv_private.h: New file.
54159         * sysdeps/i386/fpu/math_private.h: Use it.
54160         (math_opt_barrier, math_force_eval): Remove.
54161         (libc_feholdexcept_setround_53bit): Remove.
54162         (libc_feupdateenv_53bit): Remove.
54163         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54164         (math_opt_barrier, math_force_eval): Remove.
54165         (libc_feholdexcept): Remove.
54166         (libc_feholdexcept_setround): Remove.
54167         (libc_fetestexcept, libc_fesetenv): Remove.
54168         (libc_feupdateenv_test): Remove.
54169         (libc_feupdateenv, libc_feholdsetround): Remove.
54170         (libc_feresetround): Remove.
54172         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
54173         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
54175         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
54176         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
54177         (libc_feupdateenv_testl): New.
54178         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
54179         (libc_feupdateenv_testf): New.
54180         (libc_feupdateenv): Use libc_feupdateenv_test.
54181         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
54182         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
54184         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
54185         (libc_feholdsetroundf, libc_feholdsetroundl): New.
54186         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
54187         (libc_feresetround_noex): New.
54188         (libc_feresetround_noexf): New.
54189         (libc_feresetround_noexl): New.
54190         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
54191         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
54192         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
54193         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
54194         SET_RESTORE_ROUND.
54195         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54196         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
54197         (__cos): Likewise.
54198         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
54199         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
54200         SET_RESTORE_ROUND_NOEX.
54201         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
54202         SET_RESTORE_ROUND_NOEXF.
54203         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
54204         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
54205         (libc_feholdsetroundf): New.
54206         (libc_feresetround, libc_feresetroundf): New.
54208         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
54209         (libc_feholdexcept_setround_53bit): Convert from macro to function.
54210         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
54212         * sysdeps/generic/math_private.h: Include <fenv.h>.
54213         (default_libc_feholdexcept): New.
54214         (default_libc_feholdexcept_setround): New.
54215         (default_libc_fesetenv, default_libc_feupdateenv): New.
54216         (libc_feholdexcept): Only define if undefined.
54217         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
54218         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
54219         (libc_feholdexcept_setroundl): Likewise.
54220         (libc_feholdexcept_setround_53bit): Likewise.
54221         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
54222         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
54223         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
54224         (libc_feupdateenv_53bit): Likewise.
54225         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
54226         (libc_feholdexcept): Convert from macro to inline function.
54227         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
54228         (libc_fesetenv, libc_feupdateenv): Likewise.
54230         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
54231         not previously defined.
54232         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
54233         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
54234         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
54235         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
54236         * sysdeps/ieee754/flt-32/math_private.h: New file.
54237         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
54238         math_private.h below SET_FLOAT_WORD.
54239         (__isnan, __isinf_ns, __finite): Remove.
54240         (__isnanf, __isinf_nsf, __finitef): Remove.
54242 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
54244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54246 2012-03-17  David S. Miller  <davem@davemloft.net>
54248         [BZ #6471]
54249         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
54250         for 2.16.
54252 2012-03-16  David S. Miller  <davem@davemloft.net>
54254         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
54255         warnings.
54257         [BZ #6471]
54258         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
54259         properly.
54260         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
54261         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
54262         sysdep_routines when subdir is sysvipc.
54263         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
54264         __getshmlba helper.
54266         * sysdeps/sparc/fpu/libm-test/ulps: Update.
54268 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54270         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
54271         [__LP64__].
54273 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54275         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
54276         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
54277         (__lround): Renamed to ...
54278         (__llround): This.  Replace long int with long long int.
54279         Define lround functions as aliases of llround functions.
54280         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
54282 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54284         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
54285         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
54286         adresses to uintptr_t.  Replace "long int" and "unsigned long
54287         int" with "greg_t" on va_arg.
54289 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54291         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
54292         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
54294         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
54295         Move e_machine check before EI_CLASS check.  Handle x32
54296         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
54297         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
54298         SKIP_EM_IA_64 and include
54299         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
54301         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
54302         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
54303         (add_system_dir): New macro.
54305         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
54306         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
54308 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54310         [BZ #2551]
54311         [BZ #2552]
54312         [BZ #2553]
54313         [BZ #2554]
54314         [BZ #2562]
54315         [BZ #2563]
54316         [BZ #2565]
54317         [BZ #2566]
54318         [BZ #2576]
54319         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
54320         (y0): Likewise.
54321         * math/w_j0f.c (j0f): Likewise.
54322         (y0f): Likewise.
54323         * math/w_j0l.c (__j0l): Likewise.
54324         (__y0l): Likewise.
54325         * math/w_j1.c (j1): Likewise.
54326         (y1): Likewise.
54327         * math/w_j1f.c (j1f): Likewise.
54328         (y1f): Likewise.
54329         * math/w_j1l.c (__j1l): Likewise.
54330         (__y1l): Likewise.
54331         * math/w_jn.c (jn): Likewise.
54332         (yn): Likewise.
54333         * math/w_jnf.c (jnf): Likewise.
54334         (ynf): Likewise.
54335         * math/w_jnl.c (__jnl): Likewise.
54336         (__ynl): Likewise.
54337         * math/libm-test.inc (j0_test): Add more tests.
54338         (j1_test): Likewise.
54339         (jn_test): Likewise.  Add trailing semicolon to existing test.
54340         (y0_test): Likewise.
54341         (y1_test): Likewise.
54342         * sysdeps/i386/fpu/libm-test-ulps: Update.
54343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54345         [BZ #13851]
54346         [BZ #13854]
54347         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
54348         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
54349         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
54350         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
54351         (__tanl): Set errno for infinite argument.
54352         * sysdeps/i386/fpu/mptan.c: Remove.
54353         * sysdeps/i386/fpu/s_tan.S: Likewise.
54354         * sysdeps/i386/fpu/s_tanl.S: Likewise.
54355         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
54356         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
54357         * math/libm-test.inc (tan_test): Add more tests and enable more
54358         tests for double and long double.
54359         * sysdeps/i386/fpu/libm-test-ulps: Update.
54360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54362 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
54364         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
54365         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
54367 2012-03-16  Roland McGrath  <roland@hack.frob.com>
54369         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
54370         * configure.in: Use it for both main tree and add-ons.
54371         * configure: Regenerated.
54373 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54375         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
54377 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54379         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
54380         in comment.
54382         [BZ #13851]
54383         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
54384         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
54385         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
54386         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
54387         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
54388         infinite argument.
54389         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
54390         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
54391         != 0 for prec == 2.
54392         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
54393         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
54394         * sysdeps/i386/fpu/s_cosl.S: Likewise.
54395         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
54396         * sysdeps/i386/fpu/s_sinl.S: Likewise.
54397         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
54398         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
54399         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
54400         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
54401         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
54402         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
54403         * math/libm-test.inc (cos_test): Add more tests and enable more
54404         tests for long double.
54405         (sin_test): Likewise.
54406         (sincos_test): Likewise.
54407         * sysdeps/i386/fpu/libm-test-ulps: Update.
54408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54410 2012-03-16  David S. Miller  <davem@davemloft.net>
54412         * sysdeps/sparc/fpu/math_private.h: New file.
54414 2012-03-15  David S. Miller  <davem@davemloft.net>
54416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
54417         file.
54418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
54419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
54420         file.
54421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
54422         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
54423         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
54424         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
54425         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
54426         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
54427         sysdep routines.
54428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54430         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
54431         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
54433         * sysdeps/sparc/sparc-ifunc.h: New file.
54434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
54435         sparc-ifunc.h
54436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
54438         Likewise.
54439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
54440         Likewise.
54441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
54442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
54443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54445         Likewise.
54446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
54448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
54450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
54451         Likewise.
54452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
54453         Likewise.
54454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
54456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
54457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
54458         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54459         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54460         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
54461         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
54462         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54463         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54464         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
54465         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
54466         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
54467         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
54468         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
54469         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
54470         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
54471         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
54472         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
54473         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
54474         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
54475         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
54476         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
54477         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
54479 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54481         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
54482         scaling.
54483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54485 2012-03-15  Andreas Jaeger  <aj@suse.de>
54487         [BZ #13852]
54488         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
54489         ieee754/flt-32 implementation for sin, cos and sincos.
54490         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
54491         * sysdeps/i386/fpu/s_cosf.S: Likewise.
54492         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
54493         * sysdeps/i386/fpu/s_sinf.S: Likewise.
54494         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
54495         ieee754/flt-32 implementation for tan.
54497         * math/libm-test.inc (cos_test): Enable some large input tests for
54498         float as well
54499         (sin_test): Likewise.
54500         (sincos_test): Likewise.
54501         (tan_test): Add tests for large input.
54503         * sysdeps/i386/fpu/libm-test-ulps: Update.
54505 2012-03-15  Andreas Jaeger  <aj@suse.de>
54507         [BZ #13658]
54508         * math/libm-test.inc (cos_test): Add more test cases.
54509         (sin_test): Likewise.
54510         (sincos_test): Likewise.
54512 2012-03-15  Andreas Jaeger  <aj@suse.de>
54514         [BZ #13837]
54515         * math/libm-test.inc (cos_test): Add a test case for large input
54516         value.
54517         (sin_test): Likewise.
54518         (sincos_test): Likewise.
54520 2012-03-15  Andreas Jaeger  <aj@suse.de>
54521             Joseph Myers  <joseph@codesourcery.com>
54523         [BZ #13658]
54524         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
54525         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
54526         * sysdeps/i386/fpu/branred.c: Likewise.
54527         * sysdeps/i386/fpu/dosincos.c: Likewise.
54528         * sysdeps/i386/fpu/mpa.c: Likewise.
54529         * sysdeps/i386/fpu/s_cos.S: Likewise.
54530         * sysdeps/i386/fpu/s_sin.S: Likewise.
54531         * sysdeps/i386/fpu/s_sincos.S: Likewise.
54532         * sysdeps/i386/fpu/sincos32.c: Likewise.
54534         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
54535         Define.
54536         (libc_feupdateenv_53bit): Define.
54537         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
54538         Define.
54539         (libc_feupdateenv_53bit): Define.
54541         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
54542         53 bit (without extend i386 double precision).
54544         * math/libm-test.inc (sincos_test): Add tests for large input.
54545         (sin): Likewise.
54546         (cos): Likewise.
54548         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
54550 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54552         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54554 2012-03-15  David S. Miller  <davem@davemloft.net>
54556         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
54557         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
54558         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
54559         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
54560         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
54561         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
54562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
54563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
54564         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
54565         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
54566         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
54567         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
54568         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
54569         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
54570         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
54571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
54572         file.
54573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
54574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
54575         file.
54576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
54577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
54578         file.
54579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
54580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
54581         file.
54582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
54583         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
54584         fmin/fmax sysdep routines.
54585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54587 2012-03-14  David S. Miller  <davem@davemloft.net>
54589         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
54590         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
54591         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
54592         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
54593         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
54594         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
54595         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
54596         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
54597         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
54598         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
54599         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
54600         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
54601         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
54602         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
54603         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
54604         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
54605         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
54606         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
54607         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
54608         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
54609         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
54610         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
54611         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
54612         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
54613         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
54614         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
54615         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
54616         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
54617         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
54618         routines.
54619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
54620         file.
54621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
54622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
54623         file.
54624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
54625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
54626         file.
54627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
54628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
54629         file.
54630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
54631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
54632         file.
54633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
54634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
54635         file.
54636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
54637         file.
54638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
54639         file.
54640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
54641         file.
54642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
54643         New file.
54644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
54645         file.
54646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
54647         file.
54648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
54649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
54650         file.
54651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
54652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
54653         file.
54654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
54655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
54656         file.
54657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
54658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
54659         VIS3 routines.
54661         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54662         New file.
54664         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54666         * sysdeps/sparc/configure.in: New file.
54667         * sysdeps/sparc/configure: Generate.
54668         * configure.in (libc_cv_sparc_as_vis3): Substitute.
54669         * configure: Regenerate.
54670         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
54671         * config.make.in (have-as-vis3): New.
54672         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
54673         available use -Av9d instead of -Av9a.
54674         * sysdeps/sparc/sparc64/Makefile: Likewise.
54675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
54676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
54677         New file.
54678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
54679         file.
54680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
54681         New file.
54682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
54683         file.
54684         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
54685         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
54686         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
54687         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
54688         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
54690         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
54691         fzeros/fnegs to load 0x80000000 into a float register instead of
54692         using the stack.
54693         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
54695 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54697         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54698         bits/syscall.h.
54699         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
54700         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
54701         ($(inst_includedir)/bits/syscall.h): Remove rule.
54702         ($(objpfx)bits/syscall.d): Include instead of
54703         $(objpfx)syscall-list.d.
54704         (generated): Change syscall-list.h and syscall-list.d to
54705         bits/syscall.h and bits/syscall.d.
54707 2012-03-14  Roland McGrath  <roland@hack.frob.com>
54709         [BZ #13846]
54710         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
54712 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54714         [BZ #13841]
54715         * math/s_csqrt.c: Include <float.h>.
54716         (__csqrt): Scale large or subnormal inputs.
54717         * math/s_csqrtf.c: Likewise.
54718         * math/s_csqrtl.c: Likewise.
54719         * math/libm-test.inc (csqrt_test): Add more tests.
54720         * sysdeps/i386/fpu/libm-test-ulps: Update.
54721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54723         [BZ #13840]
54724         * math/libm-test.inc (hypot_test): Add more tests.
54726 2012-03-13  David S. Miller  <davem@davemloft.net>
54728         [BZ #13840]
54729         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54730         double-precision for the calculation instead of scaling.
54732 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
54734         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54735         manipulate bits before adding and subtracting TWO52[sx].
54736         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54737         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54738         Likewise.
54739         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54741 2012-03-13  David S. Miller  <davem@davemloft.net>
54743         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54744         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54745         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54746         rtld-global-offsets.h
54747         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54749         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54750         large parameters.
54752         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54754         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54755         'err' in the ifdef scope in which it is actually used.
54757         * nss/nss_db/db-init.c: Include string.h
54759 2012-03-12  David S. Miller  <davem@davemloft.net>
54761         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54762         masking out of the most significant byte of random value used.
54763         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54764         Fix coding style in previous change.
54766         * sysdeps/unix/sysv/linux/kernel-features.h
54767         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54768         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54769         expression.
54770         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54771         later.
54773 2012-03-11  David S. Miller  <davem@davemloft.net>
54775         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54776         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54777         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54778         for 'resultvar' otherwise things get truncated on 64-bit.
54780         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54781         Fix masking out of the most significant byte of random value used.
54783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54785 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54789 2012-03-09  David S. Miller  <davem@davemloft.net>
54791         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54792         variables with appropriate CPP guards.
54793         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54794         from the frame pointer, not the stack pointer.  Correct layout
54795         comments.  Fix test on resulting framesize and the management of
54796         the outregs buffer for pltexit.  Preserve floating point return
54797         values across _dl_call_pltexit call.
54798         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54799         framesize and the management of the outregs buffer for pltexit.
54800         Preserve floating point return values across _dl_call_pltexit
54801         call.
54802         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54803         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54804         (la_sparc64_gnu_pltexit): New functions.
54805         (print_exit): Fix format string for return register value.
54807 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54809         * sunrpc/Makefile (others): Add rpcgen.
54810         ($(objpfx)rpcgen): Remove special build rule and dependency on
54811         libc.
54812         * sunrpc/rpcgen.c: New file.
54814 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54816         [BZ #13673]
54817         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54818         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54819         * sysdeps/i386/crti.S: Likewise.
54820         * sysdeps/i386/crtn.S: Likewise.
54821         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54822         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54823         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54824         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54825         * sysdeps/sh/crti.S: Likewise.
54826         * sysdeps/sh/crtn.S: Likewise.
54827         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54829         [BZ #13673]
54830         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54831         with URL.
54832         * locale/programs/locfile-kw.gperf: Likewise.
54833         * locale/programs/charmap-kw.h: Regenerated.
54834         * locale/programs/locfile-kw.h: Likewise.
54836         [BZ #13673]
54837         * intl/plural.y: Replace FSF snail mail address with URL.
54838         * intl/plural.c: Regenerated.
54840 2012-03-09  Richard Henderson  <rth@twiddle.net>
54842         * include/math_private.h: Remove file.
54843         * math/math_private.h: Move file ...
54844         * sysdeps/generic/math_private.h: ... here.
54846         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54847         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54848         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54850         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54851         and <math_private.h>.
54852         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54853         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54854         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54855         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54856         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54857         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54858         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54859         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54860         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54861         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54862         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54863         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54864         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54865         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54866         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54867         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54868         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54869         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54870         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54871         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54872         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54873         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54874         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54875         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54876         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54877         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54878         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54879         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54880         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54881         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54882         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54883         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54884         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54885         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54886         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54887         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54888         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54889         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54890         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54891         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54892         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54893         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54894         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54895         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54896         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54897         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54898         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54899         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54900         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54901         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54902         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54903         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54904         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54905         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54906         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54907         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54908         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54909         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54910         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54911         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54912         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54913         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54914         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54915         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54916         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54917         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54918         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54919         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54920         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54921         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54922         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54923         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54924         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54925         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54926         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54927         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54928         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54929         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54930         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54931         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54932         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54933         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54934         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54935         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54936         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54937         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54938         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54939         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54940         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54941         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54942         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54943         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54944         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54945         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54946         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54947         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54948         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54949         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54950         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54951         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54952         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54953         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54954         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54955         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54956         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54957         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54958         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54959         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54960         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54961         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54962         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54963         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54964         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54965         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54966         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54967         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54968         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54969         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54970         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54971         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54972         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54973         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54974         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54975         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54976         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54977         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54978         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54979         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54980         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54981         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54982         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54983         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54984         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54985         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54986         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54987         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54988         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54989         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54990         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54991         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54992         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54993         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54994         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54995         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54996         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54997         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54998         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54999         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55000         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
55001         * sysdeps/ieee754/k_standard.c: Likewise.
55002         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55003         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55004         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55005         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55006         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55007         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55008         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55009         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55010         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55011         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55012         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55013         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55014         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55015         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55016         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55017         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55018         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55019         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55020         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55021         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
55022         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
55023         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
55024         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55025         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55026         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55027         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
55028         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55029         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55030         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55031         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55032         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55033         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55034         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55035         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55036         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55037         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55038         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55039         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
55040         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
55041         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55042         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55043         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55044         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55045         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55046         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55047         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55048         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55049         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55050         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55051         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55052         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55053         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55054         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55055         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
55056         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55057         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55058         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
55059         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
55060         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55061         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55062         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55063         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55064         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55065         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55066         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55067         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55068         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55069         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55070         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55071         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55072         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55073         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55074         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55075         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55076         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55077         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55078         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
55079         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55080         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55081         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55082         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55083         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55084         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55085         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55086         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
55087         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55088         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55089         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
55090         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55091         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55092         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
55093         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55094         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
55095         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55096         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55097         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55098         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
55099         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
55100         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
55101         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
55102         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55103         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55104         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55105         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55106         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
55107         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55108         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55109         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
55110         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
55111         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55112         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55113         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55114         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55115         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55116         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55117         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55118         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55119         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55120         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55121         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55122         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55123         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55124         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55125         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55126         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55127         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
55128         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55129         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55130         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55131         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55132         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55133         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55134         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55135         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55136         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55137         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55138         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
55139         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55140         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55141         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
55142         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
55143         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55144         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
55145         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
55146         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55147         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55148         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55149         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55150         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55151         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
55152         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55153         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55154         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55155         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55156         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
55157         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
55158         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55159         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55160         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55161         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55162         * sysdeps/ieee754/s_lib_version.c: Likewise.
55163         * sysdeps/ieee754/s_matherr.c: Likewise.
55164         * sysdeps/ieee754/s_signgam.c: Likewise.
55165         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55166         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55167         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
55168         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
55169         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
55170         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55171         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
55172         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
55173         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
55174         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
55175         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55176         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
55177         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55178         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55179         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
55180         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55181         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55182         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55183         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55184         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55185         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55187 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55189         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
55190         * sunrpc/rpc_main.c: Likewise.
55191         * sunrpc/rpc_svcout.c: Likewise.
55193 2012-03-09  David S. Miller  <davem@davemloft.net>
55195         * include/math_private.h: New file.
55197 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55199         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
55200         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
55201         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
55202         from <bits/socket_type.h>.
55203         (enum __socket_type): Don't define here.
55204         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
55205         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55206         bits/socket_type.h.
55208         [BZ #13566]
55209         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
55210         checking __USE_GNU.
55212         * Makerules ($(inst_includedir)/%.h): New rule.
55213         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
55214         (install-others): Remove variable setting.
55215         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
55217 2012-03-08  Richard Henderson  <rth@twiddle.net>
55219         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
55220         from macro to inline function; merge with the
55221         !__LIBC_INTERNAL_MATH_INLINES version.
55222         (__ieee754_sqrtf): Likewise.
55224         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
55225         to inline function.
55226         (__rintf, __floor, __floorf): Likewise.
55228         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
55229         macro to inline function.
55230         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
55232         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
55233         not <math/math_private.h>.
55235 2012-03-08  David S. Miller  <davem@davemloft.net>
55237         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
55238         copyright year.
55239         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
55241 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
55243         * resolv/gai_misc.c (handle_requests): Fix struct timespec
55244         normalization.
55245         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
55246         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
55248 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
55250         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
55251         be defined individually, they must be defined as a block.  Define
55252         S for printing a string instead of hidint the different by using a
55253         macro for adding the 'l'.
55254         * stdio-common/tst-fphex-wide.c: Adjust.
55256 2012-03-07  Marek Polacek  <polacek@redhat.com>
55258         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
55260 2012-03-08  Marek Polacek  <polacek@redhat.com>
55262         [BZ #13806]
55263         * stdio-common/Makefile (tests): Add tst-fphex-wide.
55264         * stdio-common/tst-fphex.c: Define a few macros to make the
55265         test reusable.  Use them.
55266         * stdio-common/tst-fphex-wide.c: New file.
55268 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
55270         [BZ #6911]
55271         * manual/macros.texi (gnusystems): New macro.
55272         (nongnusystems): Likewise.
55273         (gnulinuxhurdsystems): Likewise.
55274         (gnuhurdsystems): Likewise..
55275         (gnulinuxsystems): Likewise.
55276         * manual/charset.texi: Use new macros or @theglibc{} to refer to
55277         variants of the GNU system, not "GNU system".
55278         * manual/conf.texi: Likewise.
55279         * manual/errno.texi: Likewise.  Update example of errno macro
55280         expansion.
55281         * manual/filesys.texi: Likewise.
55282         (getumask): Document as specific to GNU/Hurd.
55283         * manual/install.texi: Likewise.  Reword some references to
55284         GNU/Linux.
55285         * manual/intro.texi: Likewise.
55286         * manual/io.texi: Likewise.
55287         (File Name Portability): Detail which constraints are inapplicable
55288         to all GNU systems and which are only inapplicable to GNU/Hurd.
55289         * manual/job.texi: Likewise.
55290         * manual/llio.texi: Likewise.
55291         (O_NOCTTY): Document as present on GNU/Linux.
55292         * manual/maint.texi: Likewise.
55293         * manual/memory.texi: Likewise.
55294         * manual/pattern.texi: Likewise.
55295         * manual/pipe.texi: Likewise.
55296         * manual/process.texi: Likewise.
55297         * manual/resource.texi: Likewise.
55298         (RUSAGE_CHILDREN): Remove statement about specifying a particular
55299         child on GNU/Hurd.
55300         * manual/setjmp.texi: Likewise.
55301         * manual/signal.texi: Likewise.
55302         * manual/startup.texi: Likewise.
55303         * manual/stdio.texi: Likewise.
55304         * manual/terminal.texi: Likewise.
55305         (ONLCR): Document as POSIX.
55306         (OXTABS): Document availability on GNU/Linux as XTABS.
55307         (ONOEOT): Document availability separately from other bits.
55308         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
55309         * manual/time.texi: Likewise.
55310         * manual/users.texi: Likewise.
55311         * INSTALL: Regenerated.
55312         * sysdeps/gnu/errlist.c: Regenerated.
55314         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
55315         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
55316         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
55317         puts.
55318         * configure: Regenerated.
55320 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
55322         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
55323         default includes instead of AC_HEADER_CHECK.
55324         * sysdeps/i386/configure: Regenerated.
55326         [BZ #10716]
55327         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
55328         * math/s_cacoshf.c (__cacoshf): Likewise.
55329         * math/s_cacoshl.c (__cacoshl): Likewise.
55330         * math/s_casinh.c (__casinh): Set signs of result from argument.
55331         * math/s_casinhf.c (__casinhf): Likewise.
55332         * math/s_casinhl.c (__casinhl): Likewise.
55333         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
55334         (casinh_test): Add more tests.
55335         * sysdeps/i386/fpu/libm-test-ulps: Update.
55336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55338 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
55340         * po/zh_TW.po: Update from translation team.
55342         * login/Makefile (distribute): Remove variable.
55343         * catgets/Makefile: Likewise.
55344         * mach/Makefile: Likewise.
55345         * malloc/Makefile: Likewise.
55346         * misc/Makefile: Likewise.
55347         * iconv/Makefile: Likewise.
55348         * nscd/Makefile: Likewise.
55349         * hurd/Makefile: Likewise.
55350         * manual/Makefile: Likewise.
55351         * locale/Makefile: Likewise.
55352         * intl/Makefile: Likewise.
55353         * conform/Makefile: Likewise.
55354         * nss/Makefile: Likewise.
55355         * time/Makefile: Likewise.
55356         * soft-fp/Makefile: Likewise.
55357         * dirent/Makefile: Likewise.
55358         * gmon/Makefile: Likewise.
55359         * po/Makefile: Likewise.
55360         * rt/Makefile: Likewise.
55361         * socket/Makefile: Likewise.
55362         * math/Makefile: Likewise.
55363         * signal/Makefile: Likewise.
55364         * debug/Makefile: Likewise.
55365         * elf/Makefile: Likewise.
55366         * timezone/Makefile: Likewise.
55367         * stdlib/Makefile: Likewise.
55368         * iconvdata/Makefile: Likewise.
55369         * sunrpc/Makefile: Likewise.
55370         * io/Makefile: Likewise.
55371         * argp/Makefile: Likewise.
55372         * inet/Makefile: Likewise.
55373         * hesiod/Makefile: Likewise.
55374         * grp/Makefile: Likewise.
55375         * csu/Makefile: Likewise.
55376         * wctype/Makefile: Likewise.
55377         * crypt/Makefile: Likewise.
55378         * libio/Makefile: Likewise.
55379         * string/Makefile: Likewise.
55380         * nis/Makefile: Likewise.
55381         * resolv/Makefile: Likewise.
55382         * stdio-common/Makefile: Likewise.
55383         * wcsmbs/Makefile: Likewise.
55384         * dlfcn/Makefile: Likewise.
55385         * posix/Makefile: Likewise.
55387         [BZ #6959]
55388         * timezone/Makefile: Don't install timezone files, just the programs
55389         and scripts.
55391 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
55393         * nss/databases.def: Add missing gshadow entry.
55395         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
55397 2012-03-06  Marek Polacek  <polacek@redhat.com>
55399         [BZ #13726]
55400         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
55401         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55402         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
55403         * stdio-common/tst-long-dbl-fphex.c: New file.
55405 2012-03-06  David S. Miller  <davem@davemloft.net>
55407         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55408         (set_obp_int): New function.
55409         (get_obp_int): New function.
55410         (__get_clockfreq_via_dev_openprom): Likewise.
55411         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
55412         Avoid unused variable warnings on 'val' and use builtin_expect.
55413         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
55414         __builtin_expect.
55415         (INLINE_CLONE_SYSCALL): Likewise.
55417 2012-03-05  David S. Miller  <davem@davemloft.net>
55419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55421 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
55423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55425         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
55426         only for |x| >= 40.
55427         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55429 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
55431         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
55432         Replace gettimeofday with __vdso_gettimeofday.
55434         * sysdeps/unix/sysv/linux/x86_64/init-first.c
55435         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
55436         __vdso_clock_gettime and __vdso_getcpu.
55438         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
55439         time with __vdso_time.
55441 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55443         * manual/lang.texi (size_t): Note types to which size_t may be
55444         equivalent with the GNU C Library, but do not describe when
55445         differences between them are significant.
55447 2012-03-05  Andreas Jaeger  <aj@suse.de>
55449         * sysdeps/i386/fpu/libm-test-ulps: Update.
55451 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55453         [BZ #3976]
55454         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
55455         (__ieee754_pow): Save and restore rounding mode and use
55456         round-to-nearest for main computations.
55457         * math/libm-test.inc (pow_test_tonearest): New function.
55458         (pow_test_towardzero): Likewise.
55459         (pow_test_downward): Likewise.
55460         (pow_test_upward): Likewise.
55461         (main): Call the new functions.
55462         * sysdeps/i386/fpu/libm-test-ulps: Update.
55463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55465         [BZ #3976]
55466         * math/libm-test.inc (cosh_test_tonearest): New function.
55467         (cosh_test_towardzero): Likewise.
55468         (cosh_test_downward): Likewise.
55469         (cosh_test_upward): Likewise.
55470         (sinh_test_tonearest): Likewise.
55471         (sinh_test_towardzero): Likewise.
55472         (sinh_test_downward): Likewise.
55473         (sinh_test_upward): Likewise.
55474         (main): Call the new functions.
55475         * sysdeps/i386/fpu/libm-test-ulps: Update.
55476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55478 2012-03-05  Tom de Vries  <tom@codesourcery.com>
55480         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
55481         default stack guard is set in last bytes.
55482         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
55484 2012-03-05  Kees Cook  <keescook@chromium.org>
55486         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
55488         [BZ #13656]
55489         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
55490         possibly allocate from heap instead of stack.
55491         * stdio-common/bug-vfprintf-nargs.c: New file.
55492         * stdio-common/Makefile (tests): Add nargs overflow test.
55494 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
55496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55498 2012-03-03  Marek Polacek  <polacek@redhat.com>
55500         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
55501         * math/math_private.h: Likewise.
55502         * stdlib/tst-strtod.c: Likewise.
55503         * sysdeps/i386/i486/bits/atomic.h: Likewise.
55504         * sysdeps/x86_64/bits/atomic.h: Likewise.
55506 2012-03-02  David S. Miller  <davem@davemloft.net>
55508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
55509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
55510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
55511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
55512         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
55513         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
55514         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
55515         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
55517 2012-03-02  Roland McGrath  <roland@hack.frob.com>
55519         [BZ #13792]
55520         * manual/examples/README: New file, says the example source files
55521         can be used under GPL>=2.
55522         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
55523         line containing just "*/".
55524         * manual/examples/add.c: Add copyright header (GPL>=2).
55525         * manual/examples/argp-ex1.c: Likewise.
55526         * manual/examples/argp-ex2.c: Likewise.
55527         * manual/examples/argp-ex3.c: Likewise.
55528         * manual/examples/argp-ex4.c: Likewise.
55529         * manual/examples/atexit.c: Likewise.
55530         * manual/examples/db.c: Likewise.
55531         * manual/examples/dir.c: Likewise.
55532         * manual/examples/dir2.c: Likewise.
55533         * manual/examples/execinfo.c: Likewise.
55534         * manual/examples/filecli.c: Likewise.
55535         * manual/examples/filesrv.c: Likewise.
55536         * manual/examples/fmtmsgexpl.c: Likewise.
55537         * manual/examples/genpass.c: Likewise.
55538         * manual/examples/inetcli.c: Likewise.
55539         * manual/examples/inetsrv.c: Likewise.
55540         * manual/examples/isockad.c: Likewise.
55541         * manual/examples/longopt.c: Likewise.
55542         * manual/examples/memopen.c: Likewise.
55543         * manual/examples/memstrm.c: Likewise.
55544         * manual/examples/mkfsock.c: Likewise.
55545         * manual/examples/mkisock.c: Likewise.
55546         * manual/examples/mygetpass.c: Likewise.
55547         * manual/examples/pipe.c: Likewise.
55548         * manual/examples/popen.c: Likewise.
55549         * manual/examples/rprintf.c: Likewise.
55550         * manual/examples/search.c: Likewise.
55551         * manual/examples/select.c: Likewise.
55552         * manual/examples/setjmp.c: Likewise.
55553         * manual/examples/sigh1.c: Likewise.
55554         * manual/examples/sigusr.c: Likewise.
55555         * manual/examples/stpcpy.c: Likewise.
55556         * manual/examples/strdupa.c: Likewise.
55557         * manual/examples/strftim.c: Likewise.
55558         * manual/examples/strncat.c: Likewise.
55559         * manual/examples/subopt.c: Likewise.
55560         * manual/examples/swapcontext.c: Likewise.
55561         * manual/examples/termios.c: Likewise.
55562         * manual/examples/testopt.c: Likewise.
55563         * manual/examples/testpass.c: Likewise.
55564         * manual/examples/timeval_subtract.c: Likewise.
55566         [BZ #13792]
55567         * manual/time.texi (Elapsed Time): Move timeval_subtract example
55568         function to ...
55569         * manual/timeval_subtract.c.texi: ... here, new file.
55571 2012-03-02  David S. Miller  <davem@davemloft.net>
55573         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
55575 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
55577         [BZ #3976]
55578         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
55579         (__sin): Save and restore rounding mode and use round-to-nearest
55580         for all computations.
55581         (__cos): Save and restore rounding mode and use round-to-nearest
55582         for all computations.
55583         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
55584         <fenv.h>.
55585         (tan): Save and restore rounding mode and use round-to-nearest for
55586         all computations.
55587         * math/libm-test.inc (cos_test_tonearest): New function.
55588         (cos_test_towardzero): Likewise.
55589         (cos_test_downward): Likewise.
55590         (cos_test_upward): Likewise.
55591         (sin_test_tonearest): Likewise.
55592         (sin_test_towardzero): Likewise.
55593         (sin_test_downward): Likewise.
55594         (sin_test_upward): Likewise.
55595         (tan_test_tonearest): Likewise.
55596         (tan_test_towardzero): Likewise.
55597         (tan_test_downward): Likewise.
55598         (tan_test_upward): Likewise.
55599         (main): Call the new functions.
55600         * sysdeps/i386/fpu/libm-test-ulps: Update.
55601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55603         [BZ #10135]
55604         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
55605         small n, then large n, before computing and testing k+n.
55606         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55607         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
55608         Likewise.
55609         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
55610         Likewise.
55611         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
55612         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
55613         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
55614         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
55615         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55616         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55617         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
55618         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
55619         * math/libm-test.inc (scalbn_test): Add more tests.
55620         (scalbln_test): Likewise.
55622         * manual/filesys.texi (mode_t): Describe constraints on size and
55623         signedness, not exact equivalence to a particular type.
55624         (ino_t): Likewise.
55625         (ino64_t): Likewise.
55626         (dev_t): Likewise.
55627         (nlink_t): Likewise.
55628         (blkcnt_t): Likewise.
55629         (blkcnt64_t): Likewise.
55630         * manual/llio.texi (off_t): Likewise.
55632         [BZ #3976]
55633         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
55634         (__ieee754_exp): Save and restore rounding mode and use
55635         round-to-nearest for all computations.
55636         * math/libm-test.inc (exp_test_tonearest): New function.
55637         (exp_test_towardzero): Likewise.
55638         (exp_test_downward): Likewise.
55639         (exp_test_upward): Likewise.
55640         (main): Call the new functions.
55641         * sysdeps/i386/fpu/libm-test-ulps: Update.
55642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55644 2012-03-01  Chris Demetriou  <cgd@google.com>
55646         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
55647         have predictable order.
55649 2012-03-01  David S. Miller  <davem@davemloft.net>
55651         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
55653         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
55654         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
55655         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
55656         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
55658         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
55659         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
55660         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
55661         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
55662         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
55663         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
55664         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
55665         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
55666         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
55668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55670         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
55671         * sysdeps/sparc/fpu/libm-test-ulps: to here.
55672         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
55674         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
55675         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55676         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55677         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
55678         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
55679         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
55680         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
55681         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55682         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55683         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
55684         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
55685         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55686         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55687         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55688         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55689         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55690         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
55691         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
55692         * sysdeps/sparc/elf/configure: Regenerated.
55694 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
55696         * configure.in (AS, LD): Require binutils 2.20 or later.
55697         * configure: Regenerated.
55698         * manual/install.texi (Tools for Compilation): Give binutils 2.20
55699         as required minimum version.
55700         * INSTALL: Regenerated.
55702         [BZ #2541]
55703         [BZ #4108]
55704         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
55705         before squaring exponent.
55706         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
55707         bottom long double and 27 bits of top long double before squaring
55708         exponent.
55709         * math/libm-test.inc (erfc_test): Add more tests.
55710         * sysdeps/i386/fpu/libm-test-ulps: Update.
55711         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55714 2012-03-01  Kai Tietz  <ktietz@redhat.com>
55716         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
55717         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
55718         containing bit-fields.
55719         * soft-fp/extended.h (_FP_UNION_E): Likewise.
55720         * soft-fp/single.h (_FP_UNION_S): Likewise.
55721         * soft-fp/double.h (_FP_UNION_D): Likewise.
55723 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55725         [BZ #13786]
55726         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55727         not include ../strcmp.S.
55728         [USE_AS_STRNCASECMP_L]: Likewise.
55729         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55730         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55731         * sysdeps/i386/i686/multiarch/strncase_l-c.c
55732         (__strncasecmp_l_ia32): Define as alias to
55733         __strncasecmp_l_nonascii.
55735         [BZ #5794]
55736         * math/libm-test.inc (expm1_test): Add test for bug 5794.
55737         * sysdeps/i386/fpu/libm-test-ulps: Update.
55738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55740         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55743 2012-02-29  Jeff Law  <law@redhat.com>
55745         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55746         out of bounds read.
55748 2012-02-29  Marek Polacek  <polacek@redhat.com>
55750         [BZ #13706]
55751         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55752         * elf/Makefile: Add rules to run tst-unused-dep.out.
55754 2012-02-28  David S. Miller  <davem@davemloft.net>
55756         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55757         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55758         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55759         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55760         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55761         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55763 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55765         * math/libm-test.inc (llround_test): Move one test from
55766         lround_test.  Use TEST_f_L in moved test.
55767         (lround_test): Move misplaced test to llround_test.  Add testcase
55768         from bug 2561.
55770 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55772         * sysdeps/x86_64/fpu/e_expf.S: New file.
55773         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55775 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55777         [BZ #13637]
55778         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55779         of remain_len that may cause incomplete multi-byte character and
55780         false match.
55781         * posix/bug-regex33.c: New file.
55782         * posix/Makefile (tests): Add bug-regex33.
55784 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55786         * manual/macros.texi: New file.
55787         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55788         * manual/libc.texinfo: Include macros.texi.
55789         * manual/creatute.texi: Likewise.
55790         * manual/install.texi: Likewise.
55791         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55792         @glibcadj{} in references to the GNU C Library.
55793         * manual/charset.texi: Likewise.
55794         * manual/conf.texi: Likewise.
55795         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55796         when not using those macros.
55797         * manual/creature.texi: Likewise.
55798         * manual/crypt.texi: Likewise.
55799         * manual/errno.texi: Likewise.
55800         * manual/filesys.texi: Likewise.
55801         * manual/header.texi: Likewise.
55802         * manual/install.texi: Likewise.
55803         * manual/intro.texi: Likewise.
55804         * manual/io.texi: Likewise.
55805         * manual/job.texi: Likewise.
55806         * manual/lang.texi: Likewise.
55807         * manual/libc.texiinfo: Likewise.
55808         * manual/llio.texi: Likewise.
55809         * manual/locale.texi: Likewise.
55810         * manual/maint.texi: Likewise.
55811         * manual/math.texi: Likewise.
55812         * manual/memory.texi: Likewise.
55813         * manual/message.texi: Likewise.
55814         * manual/nss.texi: Likewise.
55815         * manual/pattern.texi: Likewise.
55816         * manual/process.texi: Likewise.
55817         * manual/resource.texi: Likewise.
55818         * manual/search.texi: Likewise.
55819         * manual/setjmp.texi: Likewise.
55820         * manual/signal.texi: Likewise.
55821         * manual/socket.texi: Likewise.
55822         * manual/startup.texi: Likewise.
55823         * manual/stdio.texi: Likewise.
55824         * manual/string.texi: Likewise.
55825         * manual/sysinfo.texi: Likewise.
55826         * manual/syslog.texi: Likewise.
55827         * manual/terminal.texi: Likewise.
55828         * manual/time.texi: Likewise.
55829         * manual/users.texi: Likewise.
55830         * INSTALL: Regenerated.
55831         * NOTES: Regenerated.
55832         * sysdeps/gnu/errlist.c: Regenerated.
55834 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55836         * include/dirent.h: Include <dirstream.h> before
55837         <dirent/dirent.h>.
55839 2012-02-28  David S. Miller  <davem@davemloft.net>
55841         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55842         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55843         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55844         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55846 2012-02-27  David S. Miller  <davem@davemloft.net>
55848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55850         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55851         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55854         frame pointer instead of stack pointer relative arg slot.
55855         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55856         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55857         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55859 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55861         [BZ #3992]
55862         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55864 2012-02-27  David S. Miller  <davem@davemloft.net>
55866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55870         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55871         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55872         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55873         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55875 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55877         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55878         later.  Allow versions 5-9.
55879         * configure: Regenerated.
55880         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55881         required minimum version and 4.6 as recommended version.  Do not
55882         mention bugs in GCC 2.7 and 2.8.
55883         * INSTALL: Regenerated.
55885 2012-02-27  David S. Miller  <davem@davemloft.net>
55887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55891         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55892         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55893         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55894         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55896         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55897         manipulate bits before adding and subtracting TWO112[sx].
55898         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55900 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55902         [BZ #13775]
55903         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55904         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55905         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55906         being in POSIX, because they are in 1003.1-2008.
55908         * rt/tst-aio.c: Include <fcntl.h>.
55909         * rt/tst-aio7.c: Likewise.
55910         * rt/tst-aio64.c: Likewise.
55912         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55914 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55916         * manual/install.texi (--with-headers): Describe headers as
55917         interface headers, not private headers.
55918         (Specific advice for GNU/Linux systems): Describe use of headers
55919         from "make headers_install", not private headers from older
55920         kernels.
55921         * INSTALL: Regenerated.
55922         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55923         Change to 2.6.19.
55924         * sysdeps/unix/sysv/linux/configure: Regenerated.
55926         * manual/llio.texi (fclean): Remove documentation.
55928         * manual/Makefile (libc-texi-generated): New variable.  Include
55929         version.texi.
55930         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55931         $(libc-texi-generated), not duplicated list of files.
55932         (version.texi, stamp-version): New rules.
55933         (realclean): Remove $(libc-texi-generated), not individual files
55934         from that list.  Do not remove dir-add.texinfo.
55935         * manual/libc.texinfo: Comment out uses of edition numbers and
55936         references to printed manual.  Remove last-updated dates.
55937         (EDITION): Comment out.
55938         (ISBN): Likewise.
55939         (VERSION, UPDATED): Remove.
55940         (version.texi): Include.
55942 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55944         * sysdeps/posix/spawni.c: Include <signal.h>.
55945         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55946         * sysdeps/pthread/aio_fsync.c: Likewise.
55948 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55950         * conform/Makefile (tests): Run only when not cross-compiling and
55951         when fast-check is not defined.
55953         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55954         * conform/data/limits.h-data: Fixes for POSIX2008.
55955         * conform/run-conformtest.sh: Run all tests.
55956         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55957         headers.
55958         * include/bits/dlfcn.h: Likewise.
55959         * include/langinfo.h: Likewise.
55960         * include/monetary.h: Likewise.
55961         * include/sys/poll.h: Likewise.
55963         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55964         for __USE_GNU.
55965         * posix/spawn.h: Define __need_sigset_t.
55966         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55967         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55968         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55969         to get sigevent_t only.
55970         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55971         only for __USE_GNU.
55972         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55973         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55974         process_vm_writev only for __USE_GNU.
55975         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55977         * conform/Makefile: For now ignore errors from run-conformtest.
55978         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55979         POSIX to avoid namespace pollution.  Don't prepend headers.
55980         * conform/data/aio.h-data: Fixes for POSIX testing.
55981         * conform/data/fcntl.h-data: Likewise.
55982         * conform/data/glob.h-data: Likewise.
55983         * conform/data/grp.h-data: Likewise.
55984         * conform/data/pthread.h-data: Likewise.
55985         * conform/data/pwd.h-data: Likewise.
55986         * conform/data/signal.h-data: Likewise.
55987         * conform/data/spawn.h-data: Likewise.
55988         * conform/data/stdio.h-data: Likewise.
55989         * conform/data/stdlib.h-data: Likewise.
55990         * conform/data/stropts.h-data: Likewise.
55991         * conform/data/sys/mman.h-data: Likewise.
55992         * conform/data/sys/stat.h-data: Likewise.
55993         * conform/data/sys/types.h-data: Likewise.
55994         * conform/data/sys/wait.h-data: Likewise.
55995         * conform/data/time.h-data: Likewise.
55996         * conform/data/unistd.h-data: Likewise.
55997         * conform/data/utime.h-data: Likewise.
55999         * io/sys/stat.h: fchmod was always in POSIX.
56000         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
56001         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
56002         * rt/aio.h: Define __need_timespec before including <time.h>.
56003         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
56004         struct.  Add forward declaration of pthread_attr_t and use it in
56005         sigevent.
56006         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56007         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56008         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
56009         always remove CLK_TCK definition.
56011 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
56013         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
56015 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
56017         * conform/run-conformtest.sh: New file.
56018         * conform/Makefile: Run run-conformtest for tests.
56019         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
56020         support.
56022         * conform/data/uchar.h-data: New file.
56023         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
56024         * conform/data/arpa/inet.h-data: Likewise.
56025         * conform/data/assert.h-data: Likewise.
56026         * conform/data/complex.h-data: Likewise.
56027         * conform/data/cpio.h-data: Likewise.
56028         * conform/data/ctype.h-data: Likewise.
56029         * conform/data/dirent.h-data: Likewise.
56030         * conform/data/dlfcn.h-data: Likewise.
56031         * conform/data/errno.h-data: Likewise.
56032         * conform/data/fcntl.h-data: Likewise.
56033         * conform/data/float.h-data: Likewise.
56034         * conform/data/fmtmsg.h-data: Likewise.
56035         * conform/data/fnmatch.h-data: Likewise.
56036         * conform/data/ftw.h-data: Likewise.
56037         * conform/data/glob.h-data: Likewise.
56038         * conform/data/grp.h-data: Likewise.
56039         * conform/data/iconv.h-data: Likewise.
56040         * conform/data/inttypes.h-data: Likewise.
56041         * conform/data/langinfo.h-data: Likewise.
56042         * conform/data/libgen.h-data: Likewise.
56043         * conform/data/limits.h-data: Likewise.
56044         * conform/data/locale.h-data: Likewise.
56045         * conform/data/math.h-data: Likewise.
56046         * conform/data/monetary.h-data: Likewise.
56047         * conform/data/mqueue.h-data: Likewise.
56048         * conform/data/ndbm.h-data: Likewise.
56049         * conform/data/net/if.h-data: Likewise.
56050         * conform/data/netdb.h-data: Likewise.
56051         * conform/data/netinet/in.h-data: Likewise.
56052         * conform/data/nl_types.h-data: Likewise.
56053         * conform/data/poll.h-data: Likewise.
56054         * conform/data/pthread.h-data: Likewise.
56055         * conform/data/pwd.h-data: Likewise.
56056         * conform/data/regex.h-data: Likewise.
56057         * conform/data/sched.h-data: Likewise.
56058         * conform/data/search.h-data: Likewise.
56059         * conform/data/semaphore.h-data: Likewise.
56060         * conform/data/setjmp.h-data: Likewise.
56061         * conform/data/signal.h-data: Likewise.
56062         * conform/data/spawn.h-data: Likewise.
56063         * conform/data/stdarg.h-data: Likewise.
56064         * conform/data/stdio.h-data: Likewise.
56065         * conform/data/stdlib.h-data: Likewise.
56066         * conform/data/string.h-data: Likewise.
56067         * conform/data/strings.h-data: Likewise.
56068         * conform/data/stropts.h-data: Likewise.
56069         * conform/data/sys/ipc.h-data: Likewise.
56070         * conform/data/sys/mman.h-data: Likewise.
56071         * conform/data/sys/msg.h-data: Likewise.
56072         * conform/data/sys/resource.h-data: Likewise.
56073         * conform/data/sys/select.h-data: Likewise.
56074         * conform/data/sys/sem.h-data: Likewise.
56075         * conform/data/sys/shm.h-data: Likewise.
56076         * conform/data/sys/socket.h-data: Likewise.
56077         * conform/data/sys/stat.h-data: Likewise.
56078         * conform/data/sys/statvfs.h-data: Likewise.
56079         * conform/data/sys/time.h-data: Likewise.
56080         * conform/data/sys/timeb.h-data: Likewise.
56081         * conform/data/sys/times.h-data: Likewise.
56082         * conform/data/sys/types.h-data: Likewise.
56083         * conform/data/sys/uio.h-data: Likewise.
56084         * conform/data/sys/un.h-data: Likewise.
56085         * conform/data/sys/utsname.h-data: Likewise.
56086         * conform/data/sys/wait.h-data: Likewise.
56087         * conform/data/syslog.h-data: Likewise.
56088         * conform/data/tar.h-data: Likewise.
56089         * conform/data/termios.h-data: Likewise.
56090         * conform/data/utime.h-data: Likewise.
56091         * conform/data/utmpx.h-data: Likewise.
56092         * conform/data/varargs.h-data: Likewise.
56093         * conform/data/wchar.h-data: Likewise.
56094         * conform/data/wctype.h-data: Likewise.
56095         * conform/data/wordexp.h-data: Likewise.
56097         * include/stropts.h: New file.
56098         * include/uchar.h: New file.
56099         * include/aio.h: Changes to allow conformtest.pl to use the headers.
56100         * include/assert.h: Likewise.
56101         * include/ctype.h: Likewise.
56102         * include/dirent.h: Likewise.
56103         * include/dlfcn.h: Likewise.
56104         * include/fcntl.h: Likewise.
56105         * include/fnmatch.h: Likewise.
56106         * include/glob.h: Likewise.
56107         * include/grp.h: Likewise.
56108         * include/libio.h: Likewise.
56109         * include/locale.h: Likewise.
56110         * include/math.h: Likewise.
56111         * include/net/if.h: Likewise.
56112         * include/netdb.h: Likewise.
56113         * include/netinet/in.h: Likewise.
56114         * include/pthread.h: Likewise.
56115         * include/pwd.h: Likewise.
56116         * include/regex.h: Likewise.
56117         * include/sched.h: Likewise.
56118         * include/search.h: Likewise.
56119         * include/setjmp.h: Likewise.
56120         * include/signal.h: Likewise.
56121         * include/stdio.h: Likewise.
56122         * include/stdlib.h: Likewise.
56123         * include/string.h: Likewise.
56124         * include/sys/cdefs.h: Likewise.
56125         * include/sys/mman.h: Likewise.
56126         * include/sys/msg.h: Likewise.
56127         * include/sys/resource.h: Likewise.
56128         * include/sys/select.h: Likewise.
56129         * include/sys/socket.h: Likewise.
56130         * include/sys/stat.h: Likewise.
56131         * include/sys/statvfs.h: Likewise.
56132         * include/sys/time.h: Likewise.
56133         * include/sys/times.h: Likewise.
56134         * include/sys/uio.h: Likewise.
56135         * include/sys/utsname.h: Likewise.
56136         * include/sys/wait.h: Likewise.
56137         * include/termios.h: Likewise.
56138         * include/time.h: Likewise.
56139         * include/ulimit.h: Likewise.
56140         * include/unistd.h: Likewise.
56141         * include/utime.h: Likewise.
56142         * include/wchar.h: Likewise.
56143         * include/wctype.h: Likewise.
56144         * include/wordexp.h: Likewise.
56146         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
56148         * time/time.h: TIME_UTC must be a macro.
56149         Make timespec_get available for ISO C11 only as well.
56151 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
56153         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
56154         Reported by Peng Haitao <penght@cn.fujitsu.com>.
56156 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56158         * configure.in: Use -o not -a in test for unsupported multi-arch.
56160 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56162         * manual/texinfo.tex: Update to version 2012-01-19.16.
56164 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56166         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
56168 2012-02-24  Roland McGrath  <roland@hack.frob.com>
56170         [BZ #13738]
56171         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
56172         * manual/fdl-1.3.texi: New file.
56173         * manual/fdl-1.1.texi: File removed.
56175         [BZ #13738]
56176         * manual/libc.texinfo (FDL_VERSION): New @set.
56177         Use it for mention of FDL in cover text.
56178         (Documentation License): Use it in @include file name.
56180 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56181             Roland McGrath  <roland@hack.frob.com>
56183         [BZ #5461]
56184         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
56185         (not LONG_LONG_MAX and LONG_LONG_MIN.
56186         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
56187         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
56188         name.
56189         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
56191 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56193         [BZ #2547]
56194         [BZ #11365]
56195         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
56196         manipulate bits before adding and subtracting TWO23[sx].
56197         * math/libm-test.inc (nearbyint_test): Add more tests.
56199 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56201         [BZ #2548]
56202         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
56203         bits before adding and subtracting TWO23[sx].
56204         * math/libm-test.inc (rint_test): Add more tests.
56205         (rint_test_tonearest): Likewise.
56206         (rint_test_towardzero): Likewise.
56207         (rint_test_downward): Likewise.
56208         (rint_test_upward: Likewise.
56210 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56212         [BZ #10110]
56213         * include/stdc-predef.h: New file.  Extracted from features.h.
56214         * include/features.h: Include stdc-predef.h.
56215         * Makefile (headers): Add stdc-predef.h.
56216         * CONFORMANCE (Compiler limitations): Update.
56218 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56220         * manual/libc.texinfo (VERSION, UPDATED): Revert.
56222 2012-02-21  David S. Miller  <davem@davemloft.net>
56224         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
56225         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56227 2012-02-20  David S. Miller  <davem@davemloft.net>
56229         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
56230         using a normal save/restore sequence, rather than allocating a
56231         dummy stack frame just to store a frame pointer and restore.
56232         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56234 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56236         * manual/install.texi: Fix stray word in line-wrapped comment.
56238 2012-02-20  David S. Miller  <davem@davemloft.net>
56240         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
56241         both binutils and gcc support GOTDATA.
56243         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
56244         "rd %pc" in the PIC register setup sequences.
56246         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
56247         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
56248         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56249         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
56250         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56251         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
56252         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56253         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56254         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
56255         (SYSCALL_ERROR_HANDLER): Likewise.
56256         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56257         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56258         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
56259         (SYSCALL_ERROR_HANDLER): Likewise.
56261         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
56262         (HAVE_GCC_GOTDATA): New.
56263         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
56264         relocation support in both binutils and gcc.
56265         * sysdeps/sparc/elf/configure: Regenerate.
56267         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
56268         * sysdeps/sparc/sparc32/elf/configure: Delete.
56269         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
56270         * sysdeps/sparc/sparc64/elf/configure: Delete.
56271         * sysdeps/sparc/elf/configure.in: New file.
56272         * sysdeps/sparc/elf/configure: Generate.
56274         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
56275         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
56276         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56277         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
56278         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
56280 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56282         * manual/install.texi: Do not mention specific glibc version
56283         numbers.
56284         * manual/libc.texinfo (VERSION, UPDATED): Update.
56285         (@copying): Use @copyright{} and range of years.
56287 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56289         [BZ #13695]
56290         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
56291         [crti.S not in sysdirs] (generated): Do not append.
56292         [crti.S not in sysdirs] (omit-deps): Likewise.
56293         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
56294         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
56295         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
56296         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
56297         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
56298         Likewise.
56299         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
56300         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
56301         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
56302         * csu/defs.awk: Remove file.
56303         * sysdeps/generic/initfini.c: Likewise.
56304         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
56305         variable.
56306         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
56307         Likewise.
56309 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56311         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
56312         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
56313         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
56314         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
56315         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56316         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
56317         <bits/epoll.h>.
56318         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
56319         (__EPOLL_PACKED): Define to empty if not defined by
56320         <bits/epoll.h>.
56321         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
56322         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56323         bits/epoll.h.
56325 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56327         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
56328         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
56329         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
56330         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
56331         <bits/timerfd.h>.
56332         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
56333         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56334         bits/timerfd.h.
56336 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56338         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
56339         in C locale.
56340         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56341         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56342         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
56343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56345 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
56347         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56348         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56350 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
56352         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
56353         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
56354         defined.
56355         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
56356         Likewise.
56357         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
56358         entry for 2.16.
56360 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
56362         * math/w_acos.c: Use non-signaling floating-point comparisons.
56363         * math/w_acosf.c: Likewise.
56364         * math/w_acosh.c: Likewise.
56365         * math/w_acoshf.c: Likewise.
56366         * math/w_acoshl.c: Likewise.
56367         * math/w_acosl.c: Likewise.
56368         * math/w_asin.c: Likewise.
56369         * math/w_asinf.c: Likewise.
56370         * math/w_asinl.c: Likewise.
56371         * math/w_atanh.c: Likewise.
56372         * math/w_atanhf.c: Likewise.
56373         * math/w_atanhl.c: Likewise.
56374         * math/w_exp2.c: Likewise.
56375         * math/w_exp2f.c: Likewise.
56376         * math/w_exp2l.c: Likewise.
56377         * math/w_j0.c: Likewise.
56378         * math/w_j0f.c: Likewise.
56379         * math/w_j0l.c: Likewise.
56380         * math/w_j1.c: Likewise.
56381         * math/w_j1f.c: Likewise.
56382         * math/w_j1l.c: Likewise.
56383         * math/w_jn.c: Likewise.
56384         * math/w_jnf.c: Likewise.
56385         * math/w_log.c: Likewise.
56386         * math/w_log10.c: Likewise.
56387         * math/w_log10f.c: Likewise.
56388         * math/w_log10l.c: Likewise.
56389         * math/w_log2.c: Likewise.
56390         * math/w_log2f.c: Likewise.
56391         * math/w_log2l.c: Likewise.
56392         * math/w_logf.c: Likewise.
56393         * math/w_logl.c: Likewise.
56394         * math/w_sqrt.c: Likewise.
56395         * math/w_sqrtf.c: Likewise.
56396         * math/w_sqrtl.c: Likewise.
56397         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56398         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
56399         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56400         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56401         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56403 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56405         [BZ #9739]
56406         * manual/string.texi (strnlen): Use correct parameter name in
56407         equivalent expression.
56409 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56411         [BZ #11174]
56412         * manual/users.texi (seteuid): Consistently use neweuid for
56413         argument name.
56415 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56417         [BZ #13704]
56418         * manual/nss.texi (Services in the NSS configuration): Correct
56419         list of services in example configuration file.
56421 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
56423         [BZ #11322]
56424         * manual/arith.texi: Remove statements about negative zero
56425         behaving identically to zero.
56427 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56429         [BZ #5993]
56430         * manual/install.texi: Do not document upgrading from libc5.
56432 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56434         [BZ #4596]
56435         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
56437 2012-02-18  David S. Miller  <davem@davemloft.net>
56439         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
56440         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
56441         %o7 across the call.
56442         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
56443         instead.
56444         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
56445         SETUP_PIC_REG_LEAF.
56446         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56447         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
56448         * sysdeps/sparc/crtn.S: Likewise.
56450 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
56452         * aout/Makefile: Remove.
56454 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
56456         [BZ #13058]
56457         * manual/examples/argp-ex1.c (main): Format definition in GNU
56458         style.
56459         * manual/examples/argp-ex2.c (main): Likewise.
56460         * manual/examples/argp-ex3.c (main): Likewise.
56461         * manual/examples/argp-ex4.c (main): Likewise.
56462         * manual/examples/longopt.c (main): Use new-style prototype
56463         definition.
56464         * manual/examples/strncat.c (main): Specify return type and use
56465         (void) for arguments.
56466         * manual/examples/subopt.c (main): Use char **argv argument.
56468 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56470         [BZ #5077]
56471         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
56472         rounding modes.
56474 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
56476         [BZ #6907]
56477         * manual/string.texi (strchr): Change when strchrnul is
56478         recommended.
56480 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
56482         [BZ #174]
56483         * manual/locale.texi (setlocale): Document LOCPATH.
56485 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56487         [BZ #10210]
56488         * manual/process.texi (execle): Move @dots{} before last argument.
56490 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
56492         [BZ #12047]
56493         * manual/charset.texi (Generic Charset Conversion): Fix typo
56494         (LC_TYPE -> LC_CTYPE).
56496 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
56498         [BZ #5805]
56499         * manual/arith.texi (scalbn): Use @var{} on parameter names.
56500         (scalbnf): Likewise.
56501         (scalbnl): Likewise.
56502         (scalbln): Likewise.
56503         (scalblnf): Likewise.
56504         (scalblnl): Likewise.
56505         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
56506         (vwarnx): Likewise.
56507         (verr): Likewise.
56508         (verrx): Likewise.
56509         * manual/filesys.texi (telldir): Use braces around return type.
56510         * manual/llio.texi (mmap): Add space after comma.
56511         (mmap64): Likewise.
56512         * manual/math.texi (jn): Use @var{} on parameter names.
56513         (jnf): Likewise.
56514         (jnl): Likewise.
56515         (yn): Likewise.
56516         (ynf): Likewise.
56517         (ynl): Likewise.
56518         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
56519         line.
56520         * manual/resource.texi (ulimit): Use @dots{} instead of literal
56521         "...".
56522         (sched_get_priority_min): Remove semicolon on @deftypefun line.
56523         (sched_get_priority_max): Likewise.
56524         * manual/signal.texi (sigvec): Add space after comma.
56525         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
56526         names.
56527         (if_indextoname): Likewise.
56528         (if_freenameindex): Likewise.
56529         (sendto): Use ',' instead of '.' in prototype.
56530         * manual/startup.texi (syscall): Use @dots{} instead of literal
56531         "...".
56532         * manual/stdio.texi (__fpending): Separate initial words of
56533         paragraph from @deftypefun line.
56534         * manual/syslog.texi (syslog): Use @dots{} instead of literal
56535         "...".
56536         (vsyslog): Use @var{} on parameter names.
56537         * manual/terminal.texi (stty): Use @var{} on parameter names.
56538         * manual/users.texi (getutmp): Use @var{} on parameter names.
56539         (getutmpx): Likewise.
56541 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56543         [BZ #6884]
56544         * manual/stdio.texi (fopen): Fix typos in description of
56545         ",ccs=STRING".
56547 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
56549         [BZ #4026]
56550         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
56551         get clock_id definition.
56553 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
56555         [BZ #4822]
56556         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
56557         (madvise): Cast every argument to void on its own.
56559 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56561         [BZ #9902]
56562         * manual/startup.texi (Exit Status): Fix typo.
56564 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56566         [BZ #10140]
56567         * manual/examples/argp-ex1.c: Include <stdlib.h>.
56568         * manual/examples/argp-ex2.c: Likewise.
56569         * manual/examples/argp-ex3.c: Likewise.
56571 2012-02-16  Richard Henderson  <rth@redhat.com>
56573         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
56574         * sysdeps/s390/s390-32/initfini.c: Remove.
56575         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
56576         * sysdeps/s390/s390-64/initfini.c: Remove.
56578 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56580         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
56581         compiler output for sysdeps/generic/initfini.c.
56582         * sysdeps/sh/elf/initfini.c: Remove file.
56584 2012-02-16  David S. Miller  <davem@davemloft.net>
56586         [BZ #11494]
56587         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
56589         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
56590         * sysdeps/sparc/crti.S: New file.
56591         * sysdeps/sparc/crtn.S: New file.
56592         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
56593         * sysdeps/sparc/sparc64/Makefile: Likewise.
56595 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
56597         [BZ #3335]
56598         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
56600 2012-02-15  Roland McGrath  <roland@hack.frob.com>
56602         [BZ #4822]
56603         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
56605         * mach/devstream.c (cookie_io_functions_t): Macro removed.
56606         (write, read, close): Likewise.
56607         Patch by Aurelien Jarno <aurelien@aurel32.net>.
56609 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
56611         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
56612         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
56613         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
56614         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
56615         <bits/signalfd.h>.
56616         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
56617         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56618         bits/signalfd.h.
56620 2012-02-14  Marek Polacek  <polacek@redhat.com>
56622         * sysdeps/x86_64/crti.S: New file.
56623         * sysdeps/x86_64/crtn.S: New file.
56624         * sysdeps/x86_64/elf/initfini.c: Remove file.
56626 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56628         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
56629         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
56630         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
56631         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
56632         <bits/inotify.h>.
56633         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
56634         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56635         bits/inotify.h.
56637 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56639         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
56640         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
56641         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
56642         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
56643         <bits/eventfd.h>.
56644         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
56645         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56646         bits/eventfd.h.
56648 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
56650         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
56651         __feraiseexcept instead of feraiseexcept.
56653         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
56654         nanosleep invocations.
56655         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
56656         strings, and add error checking for a nanosleep invocations.
56658 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
56660         Replace FSF snail mail address with URLs, as per GNU coding standards.
56661         Most of the snail mail addresses were wrong anyway, and omitting
56662         them makes the source code easier to maintain.  Almost all of the
56663         changes are to license notices and to locale LC_IDENTIFICATION
56664         addresses, except for this one:
56665         * manual/libc.texinfo: In "Published by", give the FSF's URL,
56666         not its snail mail address.
56668 2012-02-09  Richard Henderson  <rth@twiddle.net>
56670         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
56671         of kernel-features.h.
56673         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
56675 2012-02-08  Marek Polacek  <polacek@redhat.com>
56677         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
56678         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
56679         * sysdeps/gnu/_G_config.h: Likewise.
56680         * sysdeps/generic/_G_config.h: Likewise.
56682 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
56684         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
56685         tests.
56686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56688         * sysdeps/powerpc/powerpc32/crti.S: New file.
56689         * sysdeps/powerpc/powerpc32/crtn.S: New file.
56690         * sysdeps/powerpc/powerpc64/crti.S: New file.
56691         * sysdeps/powerpc/powerpc64/crtn.S: New file.
56693         * Makeconfig (have-initfini): Don't set.
56694         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
56695         * configure.in (nopic_initfini): Don't substitute.
56696         * config.h.in (HAVE_INITFINI): Don't #undef.
56697         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
56698         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
56700 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
56702         Support crti.S and crtn.S provided directly by architectures.
56703         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
56704         [crti.S in sysdirs] (omit-deps): Likewise.
56705         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
56706         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
56707         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
56708         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
56709         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
56710         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
56711         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
56712         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56713         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
56714         compiler output for sysdeps/generic/initfini.c.
56715         * sysdeps/i386/elf/Makefile: Remove file.
56716         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
56718 2012-02-07  Marek Polacek  <polacek@redhat.com>
56720         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
56721         * sysdeps/gnu/_G_config.h: Likewise.
56722         * sysdeps/mach/hurd/_G_config.h: Likewise.
56724 2012-02-07  Marek Polacek  <polacek@redhat.com>
56726         * math/Makefile (tests): Add tst-CMPLX2.
56727         * math/tst-CMPLX2.c: New file.
56729 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
56731         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56733         * math/libm-test.inc (jn_test): Add missing L suffix.
56735 2012-02-06  Marek Polacek  <polacek@redhat.com>
56737         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56738         * sysdeps/i386/fpu/e_powf.S: Likewise.
56739         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56740         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56741         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56742         * sysdeps/i386/fpu/e_pow.S: Likewise.
56743         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56744         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56745         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56746         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56747         * sysdeps/i386/fpu/e_log2.S: Likewise.
56748         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56749         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56750         * sysdeps/i386/fpu/e_powl.S: Likewise.
56751         * sysdeps/i386/fpu/s_log1p.S: Likewise.
56752         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56753         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56754         * sysdeps/i386/fpu/e_logl.S: Likewise.
56755         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56756         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56757         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56758         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56759         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56760         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56761         * sysdeps/i386/fpu/e_log.S: Likewise.
56762         * sysdeps/i386/fpu/s_cexp.S: Likewise.
56763         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56764         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56765         * sysdeps/i386/fpu/e_logf.S: Likewise.
56766         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56767         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56768         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56769         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56770         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56771         * sysdeps/i386/fpu/e_log10.S: Likewise.
56772         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56773         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56774         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56775         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56776         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56777         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56778         * sysdeps/i386/asm-syntax.h: Likewise.
56779         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56780         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56781         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56782         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56783         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56784         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56785         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56786         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56787         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56788         * sysdeps/powerpc/sysdep.h: Likewise.
56789         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56790         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56792 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56794         [BZ #411]
56795         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56797 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56799         * sysdeps/i386/sysdep.h: Include <features.h>.
56800         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56801         version.
56803 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56805         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56806         Define.
56807         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56808         LOAD_PIC_REG_STR.
56810 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56812         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56813         (SETUP_PIC_REG): Use GET_PC_THUNK.
56814         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56815         macro.
56817 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56819         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56820         for non-PIC compilation.
56821         (SETUP_PIC_REG): Add .p2align directive.
56822         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56823         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56824         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56825         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56826         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56827         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56828         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56829         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56830         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56831         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56832         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56833         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56834         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56835         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56836         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56837         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56838         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56839         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56840         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56841         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56842         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56843         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56844         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56845         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56846         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56847         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56848         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56849         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56850         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56851         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56852         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56853         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56854         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56855         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56856         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56857         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56858         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56859         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56860         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56861         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56862         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56864 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56866         * math/tst-CMPLX.c: Include <stdio.h>.
56868 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56870         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56871         float.
56872         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56873         * sysdeps/sparc/bits/mathdef.h: Likewise.
56875 2012-01-31  Marek Polacek  <polacek@redhat.com>
56877         * libio/libio.h: Don't define _PARAMS.
56878         * locale/programs/config.h: Don't define PARAMS.
56879         * stdlib/strtol_l.c: Likewise.
56880         (__strtol_l): Remove PARAMS from the prototype.
56882 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56884         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56885         names.  Just use the correct names.  Remove unnecessary wrapper
56886         functions.
56887         * malloc/arena.c: Likewise.
56888         * malloc/hooks.c: Likewise.
56890         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56891         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56892         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56894 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56896         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56897         into tail calls.
56898         (update_get_addr): New function.
56899         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56900         GET_ADDR_MODULE parameter.
56902 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56904         * crypt/cert.c: Remove __STDC__ conditionals.
56905         * crypt/crypt-entry.c: Likewise.
56906         * crypt/crypt_util.c: Likewise.
56907         * libio/filedoalloc.c: Likewise.
56908         * libio/fileops.c: Likewise.
56909         * libio/genops.c: Likewise.
56910         * libio/iofclose.c: Likewise.
56911         * libio/iofdopen.c: Likewise.
56912         * libio/iofopen.c: Likewise.
56913         * libio/iofopen64.c: Likewise.
56914         * libio/iogetdelim.c: Likewise.
56915         * libio/iopopen.c: Likewise.
56916         * libio/obprintf.c: Likewise.
56917         * libio/oldfileops.c: Likewise.
56918         * libio/oldiofclose.c: Likewise.
56919         * libio/oldiofdopen.c: Likewise.
56920         * libio/oldiofopen.c: Likewise.
56921         * libio/oldiopopen.c: Likewise.
56922         * libio/wfiledoalloc.c: Likewise.
56923         * libio/wgenops.c: Likewise.
56924         * locale/programs/xmalloc.c: Likewise.
56925         * misc/syslog.c: Likewise.
56926         * stdio-common/xbug.c: Likewise.
56927         * string/memchr.c: Likewise.
56928         * string/memcmp.c: Likewise.
56929         * string/memrchr.c: Likewise.
56930         * string/rawmemchr.c: Likewise.
56931         * sysdeps/posix/getcwd.c: Likewise.
56932         * time/strftime_l.c: Likewise.
56934 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56936         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56937         * config.make.in (config-cflags-sse2avx): Define.
56938         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56939         Fix typo.
56941 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56943         * scripts/config.guess: Update from upstream config git repository.
56944         * scripts/config.sub: Likewise.
56946 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56948         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56949         (EM_NUM): Update.
56950         (R_TILEPRO_*, R_TILEGX_*): New macros.
56952         * scripts/firstversions.awk: Fix bug in version range handling.
56954         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56956         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56958         * include/sys/epoll.h: New file.
56959         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56960         libc_hidden_def.
56962 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56964         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56965         Avoid unnecessary __WORDSIZE == 64 test.
56966         (fmaxf): Use VEX format if possible.
56967         (fmax): Likewise.
56968         (fminf): Likewise.
56969         (fmin): Likewise.
56971         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56972         * math/math_private.h: Remove libc_fegetround* and
56973         libc_fesetround*.
56974         * sysdeps/i386/configure.in: Check for -msse2avx.
56975         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56976         also if SSE2AVX is defined.
56977         Remove libc_fegetround* and libc_fesetround*.
56978         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56979         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56980         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56981         of HAS_YMM_USABLE.
56982         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56983         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56984         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56985         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56986         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56988         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56990 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56992         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56993         size is not set.
56994         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56996 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56998         [BZ #13618]
56999         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
57000         relocation.
57001         * Makeconfig (libm): Define.
57002         * elf/Makefile: Add rules to build and run tst-relsort1.
57003         * elf/tst-relsort1.c: New file.
57004         * elf/tst-relsort1mod1.c: New file.
57005         * elf/tst-relsort1mod2.c: New file.
57007 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
57009         * math/s_ldexp.c: Remove __STDC__ conditionals.
57010         * math/s_ldexpf.c: Likewise.
57011         * math/s_ldexpl.c: Likewise.
57012         * math/s_nextafter.c: Likewise.
57013         * math/s_nexttowardf.c: Likewise.
57014         * math/s_significand.c: Likewise.
57015         * math/s_significandf.c: Likewise.
57016         * math/s_significandl.c: Likewise.
57017         * math/w_jnl.c: Likewise.
57018         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
57019         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
57020         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
57021         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
57022         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
57023         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57024         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
57025         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57026         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57027         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57028         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57029         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57030         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57031         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
57032         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57033         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57034         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57035         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57036         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57037         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57038         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57039         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57040         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57041         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57042         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57043         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57044         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57045         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57046         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57047         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57048         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57049         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57050         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57051         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57052         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57053         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57054         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57055         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57056         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57057         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57058         * sysdeps/ieee754/k_standard.c: Likewise.
57059         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57060         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57061         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57062         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57063         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57064         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57065         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57066         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57067         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57068         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57069         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57070         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57071         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57072         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57073         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57074         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57075         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57076         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57077         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57078         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57079         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57080         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57081         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57082         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57083         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57084         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57085         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57086         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57087         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57088         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57089         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57090         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
57091         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57092         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57093         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57094         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57095         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
57096         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57097         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57098         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
57099         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
57100         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57101         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
57102         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
57103         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57104         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57105         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57106         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57107         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57108         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
57109         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
57110         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57111         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57112         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57113         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57114         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57115         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
57116         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57117         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57118         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57119         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57120         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57121         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57122         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57123         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57124         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57125         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57126         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57127         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57128         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57129         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57130         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57131         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57132         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57133         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57134         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57135         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57136         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57137         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57138         * sysdeps/ieee754/s_matherr.c: Likewise.
57139         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57140         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57141         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57142         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57144 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
57146         * crypt/md5.h: Remove __STDC__ conditionals.
57147         * libio/libioP.h: Likewise.
57148         * locale/programs/config.h: Likewise.
57149         * sysdeps/generic/sysdep.h: Likewise.
57150         * sysdeps/i386/asm-syntax.h: Likewise.
57151         * sysdeps/s390/asm-syntax.h: Likewise.
57152         * sysdeps/unix/sysdep.h: Likewise.
57153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
57154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57156 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
57158         * libio/libio.h: Remove __STDC__ conditionals.
57159         * malloc/obstack.h: Likewise.
57160         * math/complex.h: Likewise.
57161         * math/math.h: Likewise.
57162         * sysdeps/generic/_G_config.h: Likewise.
57163         * sysdeps/gnu/_G_config.h: Likewise.
57164         * sysdeps/mach/hurd/_G_config.h: Likewise.
57165         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57166         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57167         * sysdeps/sparc/bits/mathdef.h: Likewise.
57169 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
57171         [BZ #13583]
57172         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
57173         Clean up HAS_* macros.
57174         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
57175         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
57176         possible.
57177         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
57178         HAS_AVX.
57179         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57180         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57181         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57182         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57183         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57185 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
57187         * elf/tst-unique3.cc (gets): Remove declaration.
57188         * elf/tst-unique3lib.cc (gets): Likewise.
57189         * elf/tst-unique3lib2.cc (gets): Likewise.
57190         * elf/tst-unique4.cc (gets): Likewise.
57192 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
57194         * include/stdio.h: Add C++ protection.  Add gets declarations and
57195         definitions.
57196         * debug/tst-chk1.c: Don't declare gets here.
57197         * stdio-common/tst-gets.c: Likewise.
57199 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57201         * posix/glob: Remove directory.
57203 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57205         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
57207 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
57209         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
57210         of the non-standard EPFNOSUPPORT.
57212 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57214         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
57215         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
57216         ANYWHERE set to 1 only on KERN_NO_SPACE error.
57218 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
57220         * wcsmbs/uchar.h: Test __STDC_VERSION__.
57222 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
57224         * nscd/aicache.c (addhstaiX): Do not cache negative results of
57225         transient errors.
57226         * nscd/grpcache.c (cache_addgr): Likewise.
57227         * nscd/hstcache.c (cache_addhst): Likewise.
57228         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57229         * nscd/pwdcache.c (cache_addpw): Likewise.
57230         * nscd/servicescache.c (cache_addserv): Likewise.
57232 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
57234         * malloc/malloc.c: Various cleanups.
57235         * malloc/hooks.c: Likewise.
57237         * stdlib/Makefile (tests): Add bug-fmtmsg1.
57238         * stdlib/bug-fmtmsg1.c: New file.
57240         * stdlib/fmtmsg.c (init): Add missing unlock.
57241         Patch by Peng Haitao <penght@cn.fujitsu.com>.
57243 2012-01-12  Marek Polacek  <polacek@redhat.com>
57245         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
57246         and _GNU_SOURCE.
57248 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
57250         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
57251         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
57252         macro to ensure uniqueness of label name.
57253         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57254         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57256 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
57258         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
57260         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
57261         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57262         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57263         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
57265 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
57267         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
57269         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
57270         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57271         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57273         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
57275         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
57276         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57277         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57278         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
57280         * math/bits/math-finite.h: Add ldexp support.
57282 2012-01-10  Marek Polacek  <polacek@redhat.com>
57284         * locale/programs/localedef.h (show_archive_content): Add noreturn
57285         attribute.
57287 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
57289         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
57291 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57293         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
57295         * io/Makefile (headers): Add bits/poll2.h.
57297 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
57299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
57300         typo #include statement.
57302 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57304         * include/sys/cdefs.h: Define __attribute_alloc_size.
57305         * catgets/gencat.c: Add alloc_size attribute and apply consistently
57306         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
57307         * elf/pldd.c: Likewise.
57308         * iconv/iconv_charmap.c: Likewise.
57309         * iconv/iconvconfig.c: Likewise.
57310         * iconv/strtab.c: Likewise.
57311         * locale/programs/locale.c: Likewise.
57312         * locale/programs/localedef.h: Likewise.
57313         * locale/programs/simple-hash.c: Likewise.
57314         * nscd/nscd.h: Likewise.
57315         * nss/makedb.c: Likewise.
57316         * sysdeps/generic/ldconfig.h: Likewise.
57317         * locale/programs/localedef.c: Remove xmalloc prototype.
57318         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
57320 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
57322         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
57323         appropriate.
57325 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57327         * math/Makefile (tests): Add tst-CMPLX.
57328         * math/tst-CMPLX.c: New file.
57330         * math/complex.h (CMPLXL): Fix typo.
57332         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
57333         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
57334         GLIBC_2.16.
57335         * debug/tst-chk1.c: Add poll and ppoll tests.
57336         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
57337         * include/sys/poll.h: Add hidden proto for ppoll.
57338         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
57339         * sysdeps/mach/hurd/ppoll.c: Likewise.
57340         * io/ppoll.c: Likewise.
57341         * debug/poll_chk.c: New file.
57342         * debug/ppoll_chk.c: New file.
57343         * include/bits/poll2.h: New file.
57344         * io/bits/poll2.h: New file.
57346         [BZ #1350]
57347         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
57349         * configure.in: static is always set to yes.  Remove.
57350         * config.make.in: Don't set build-static.
57351         * Makeconfig: Remove use of build-static.
57352         * dlfcn/Makefile: Likewise.
57353         * elf/Makefile: Likewise.
57354         * math/Makefile: Likewise.
57355         * misc/Makefile: Likewise.
57356         * nptl/Makefile: Likewise.
57357         * sysdeps/mach/hurd/Makefile: Likewise.
57359         * configure.in: PWD_P is not used anymore.
57360         * config.make.in: Remove PWD_P entry.
57362         * configure.in: Remove last remnants of RANLIB.
57363         No need to check for signed size_t anymore.
57364         Don't set libc_commonpagesize and libc_relro_required here for Alpha
57365         and IA-64.
57366         Remove __builtin_expect test because we require at least gcc 3.4.
57367         * aclocal.m4: Likewise.
57369         * wcsmbs/mbrtoc16.c: Implement using towc function.
57370         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
57371         * wcsmbs/wcsmbsload.c: Likewise.
57372         * iconv/gconv_simple.c: Likewise.
57373         * iconv/gconv_int.h: Likewise.
57374         * iconv/gconv_builtin.h: Likewise.
57375         * iconv/iconv_prog.c: Remove CHAR16 handling.
57377         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
57379         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
57381         * configure.in: Remove --with-elf and --enable-bounded options.
57382         Dont set base_machine for ia64.  More non-ELF conditions removed.
57383         Remove testing and setting of leading underscore information.
57384         * config.make.in (build-bounded): Set to no.
57385         * config.h.in: Remove NO_UNDERSCORES entry.
57386         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
57387         them.
57388         * csu/start.c: Remove !NO_UNDERSCORE code.
57389         * locale/localeinfo.h: Likewise.
57390         * sysdeps/generic/machine-gmon.h: Likewise.
57391         * sysdeps/generic/sysdep.h: Likewise.
57392         * sysdeps/i386/sysdep.h: Likewise.
57393         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57394         * sysdeps/mach/sysdep.h: Likewise.
57395         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57396         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57397         * sysdeps/sh/sysdep.h: Likewise.
57398         * sysdeps/sparc/sparc32/alloca.S: Likewise.
57399         * sysdeps/unix/i386/sysdep.S: Likewise.
57400         * sysdeps/unix/sparc/start.c: Likewise.
57401         * sysdeps/unix/sparc/sysdep.S: Likewise.
57402         * sysdeps/unix/sparc/sysdep.h: Likewise.
57403         * sysdeps/unix/start.c: Likewise.
57404         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57405         * sysdeps/x86_64/sysdep.h: Likewise.
57407 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
57409         [BZ #13553]
57410         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
57411         for non-gcc.
57412         * argp/argp-fmtstream.h: Use const instead __const.
57413         * argp/argp.h: Likewise.
57414         * assert/assert.h: Likewise.
57415         * bits/fenv.h: Likewise.
57416         * bits/sched.h: Likewise.
57417         * bits/sigset.h: Likewise.
57418         * bits/sigthread.h: Likewise.
57419         * catgets/nl_types.h: Likewise.
57420         * conform/data/pthread.h-data: Likewise.
57421         * crypt/crypt-private.h: Likewise.
57422         * crypt/crypt.h: Likewise.
57423         * crypt/crypt_util.c: Likewise.
57424         * ctype/ctype.h: Likewise.
57425         * debug/execinfo.h: Likewise.
57426         * debug/mbsnrtowcs_chk.c: Likewise.
57427         * debug/mbsrtowcs_chk.c: Likewise.
57428         * debug/wcsnrtombs_chk.c: Likewise.
57429         * debug/wcsrtombs_chk.c: Likewise.
57430         * debug/wcstombs_chk.c: Likewise.
57431         * dirent/dirent.h: Likewise.
57432         * dlfcn/dlfcn.h: Likewise.
57433         * elf/neededtest4.c: Likewise.
57434         * grp/grp.h: Likewise.
57435         * gshadow/gshadow.h: Likewise.
57436         * iconv/gconv.h: Likewise.
57437         * iconv/gconv_int.h: Likewise.
57438         * iconv/gconv_simple.c: Likewise.
57439         * iconv/iconv.h: Likewise.
57440         * iconv/loop.c: Likewise.
57441         * iconv/skeleton.c: Likewise.
57442         * include/aio.h: Likewise.
57443         * include/aliases.h: Likewise.
57444         * include/argz.h: Likewise.
57445         * include/arpa/inet.h: Likewise.
57446         * include/assert.h: Likewise.
57447         * include/dirent.h: Likewise.
57448         * include/dlfcn.h: Likewise.
57449         * include/execinfo.h: Likewise.
57450         * include/fcntl.h: Likewise.
57451         * include/fenv.h: Likewise.
57452         * include/glob.h: Likewise.
57453         * include/grp.h: Likewise.
57454         * include/libintl.h: Likewise.
57455         * include/mntent.h: Likewise.
57456         * include/netdb.h: Likewise.
57457         * include/pwd.h: Likewise.
57458         * include/rpc/netdb.h: Likewise.
57459         * include/sched.h: Likewise.
57460         * include/search.h: Likewise.
57461         * include/shadow.h: Likewise.
57462         * include/signal.h: Likewise.
57463         * include/stdio.h: Likewise.
57464         * include/stdlib.h: Likewise.
57465         * include/string.h: Likewise.
57466         * include/sys/socket.h: Likewise.
57467         * include/sys/stat.h: Likewise.
57468         * include/sys/statfs.h: Likewise.
57469         * include/sys/statvfs.h: Likewise.
57470         * include/sys/syslog.h: Likewise.
57471         * include/sys/time.h: Likewise.
57472         * include/sys/uio.h: Likewise.
57473         * include/time.h: Likewise.
57474         * include/unistd.h: Likewise.
57475         * include/utmp.h: Likewise.
57476         * include/wchar.h: Likewise.
57477         * include/wctype.h: Likewise.
57478         * inet/aliases.h: Likewise.
57479         * inet/arpa/inet.h: Likewise.
57480         * inet/netinet/ether.h: Likewise.
57481         * inet/netinet/in.h: Likewise.
57482         * intl/libintl.h: Likewise.
57483         * io/bits/fcntl2.h: Likewise.
57484         * io/fcntl.h: Likewise.
57485         * io/ftw.h: Likewise.
57486         * io/sys/poll.h: Likewise.
57487         * io/sys/stat.h: Likewise.
57488         * io/sys/statfs.h: Likewise.
57489         * io/sys/statvfs.h: Likewise.
57490         * io/utime.h: Likewise.
57491         * libio/bits/stdio.h: Likewise.
57492         * libio/bits/stdio2.h: Likewise.
57493         * libio/libio.h: Likewise.
57494         * libio/libioP.h: Likewise.
57495         * libio/stdio.h: Likewise.
57496         * locale/lc-ctype.c: Likewise.
57497         * locale/locale.h: Likewise.
57498         * login/utmp.h: Likewise.
57499         * malloc/arena.c: Likewise.
57500         * malloc/malloc.c: Likewise.
57501         * malloc/malloc.h: Likewise.
57502         * malloc/mcheck.c: Likewise.
57503         * malloc/mtrace.c: Likewise.
57504         * math/bits/mathcalls.h: Likewise.
57505         * math/fenv.h: Likewise.
57506         * math/math_private.h: Likewise.
57507         * misc/bits/error.h: Likewise.
57508         * misc/bits/syslog.h: Likewise.
57509         * misc/err.h: Likewise.
57510         * misc/error.h: Likewise.
57511         * misc/fstab.h: Likewise.
57512         * misc/mntent.h: Likewise.
57513         * misc/regexp.h: Likewise.
57514         * misc/search.h: Likewise.
57515         * misc/sgtty.h: Likewise.
57516         * misc/sys/mman.h: Likewise.
57517         * misc/sys/syslog.h: Likewise.
57518         * misc/sys/uio.h: Likewise.
57519         * misc/sys/xattr.h: Likewise.
57520         * misc/ttyent.h: Likewise.
57521         * nis/rpcsvc/ypclnt.h: Likewise.
57522         * nss/nss.h: Likewise.
57523         * posix/bits/unistd.h: Likewise.
57524         * posix/fnmatch.h: Likewise.
57525         * posix/glob.h: Likewise.
57526         * posix/sched.h: Likewise.
57527         * posix/spawn.h: Likewise.
57528         * posix/sys/wait.h: Likewise.
57529         * posix/unistd.h: Likewise.
57530         * posix/wordexp.h: Likewise.
57531         * pwd/pwd.h: Likewise.
57532         * resolv/netdb.h: Likewise.
57533         * resource/sys/resource.h: Likewise.
57534         * rt/aio.h: Likewise.
57535         * rt/bits/mqueue2.h: Likewise.
57536         * rt/mqueue.h: Likewise.
57537         * shadow/shadow.h: Likewise.
57538         * signal/signal.h: Likewise.
57539         * socket/send.c: Likewise.
57540         * socket/sendto.c: Likewise.
57541         * socket/sys/socket.h: Likewise.
57542         * stdio-common/printf.h: Likewise.
57543         * stdlib/bits/stdlib.h: Likewise.
57544         * stdlib/fmtmsg.h: Likewise.
57545         * stdlib/monetary.h: Likewise.
57546         * stdlib/stdlib.h: Likewise.
57547         * stdlib/ucontext.h: Likewise.
57548         * streams/stropts.h: Likewise.
57549         * string/argz.h: Likewise.
57550         * string/bits/string2.h: Likewise.
57551         * string/string.h: Likewise.
57552         * string/strings.h: Likewise.
57553         * sunrpc/rpc/auth.h: Likewise.
57554         * sunrpc/rpc/auth_des.h: Likewise.
57555         * sunrpc/rpc/clnt.h: Likewise.
57556         * sunrpc/rpc/netdb.h: Likewise.
57557         * sunrpc/rpc/pmap_clnt.h: Likewise.
57558         * sunrpc/rpc/xdr.h: Likewise.
57559         * sysdeps/generic/inttypes.h: Likewise.
57560         * sysdeps/generic/net/if.h: Likewise.
57561         * sysdeps/generic/sys/swap.h: Likewise.
57562         * sysdeps/gnu/net/if.h: Likewise.
57563         * sysdeps/gnu/utmpx.h: Likewise.
57564         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
57565         * sysdeps/i386/i486/bits/string.h: Likewise.
57566         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
57567         * sysdeps/s390/bits/string.h: Likewise.
57568         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
57569         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
57570         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
57571         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
57572         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
57573         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
57574         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
57575         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
57576         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
57577         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
57578         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
57579         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57580         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
57581         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57582         * sysdeps/unix/sysv/linux/readv.c: Likewise.
57583         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
57584         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57585         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57586         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
57587         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
57588         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57589         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
57590         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
57591         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
57592         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
57593         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
57594         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
57595         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57596         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
57597         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
57598         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
57599         * sysvipc/sys/ipc.h: Likewise.
57600         * sysvipc/sys/msg.h: Likewise.
57601         * sysvipc/sys/sem.h: Likewise.
57602         * sysvipc/sys/shm.h: Likewise.
57603         * termios/termios.h: Likewise.
57604         * time/sys/time.h: Likewise.
57605         * time/time.h: Likewise.
57606         * wcsmbs/bits/wchar2.h: Likewise.
57607         * wcsmbs/uchar.h: Likewise.
57608         * wcsmbs/wchar.h: Likewise.
57609         * wctype/wctype.h: Likewise.
57611         [BZ #13551]
57612         * Makeconfig: Remove all but ELF support including AIX support.
57613         * Makerules: Likewise.
57614         * config.h.in: Likewise.
57615         * config.make.in: Likewise.
57616         * configure: Likewise.
57617         * configure.in: Likewise.
57618         * csu/Makefile: Likewise.
57619         * csu/version.c: Likewise.
57620         * debug/Makefile: Likewise.
57621         * dlfcn/Makefile: Likewise.
57622         * elf/Makefile: Likewise.
57623         * extra-lib.mk: Likewise.
57624         * iconv/Makefile: Likewise.
57625         * include/libc-symbols.h: Likewise.
57626         * include/shlib-compat.h: Likewise.
57627         * resolv/Makefile: Likewise.
57628         * resolv/res_libc.c: Likewise.
57629         * rt/Makefile: Likewise.
57630         * sysdeps/i386/asm-syntax.h: Likewise.
57631         * sysdeps/i386/sysdep.h: Likewise.
57632         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57633         * sysdeps/mach/sysdep.h: Likewise.
57634         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
57635         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
57636         * sysdeps/s390/asm-syntax.h: Likewise.
57637         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57638         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57639         * sysdeps/sh/sysdep.h: Likewise.
57640         * sysdeps/unix/sparc/sysdep.h: Likewise.
57641         * sysdeps/wordsize-32/divdi3.c: Likewise.
57642         * sysdeps/x86_64/sysdep.h: Likewise.
57644         * argp/Versions: Remove _argp_unlock_xxx.
57646         [BZ #13559]
57647         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
57648         * abilist/libBrokenLocale.abilist: Likewise.
57649         * abilist/libanl.abilist: Likewise.
57650         * abilist/libc.abilist: Likewise.
57651         * abilist/libcrypt.abilist: Likewise.
57652         * abilist/libdl.abilist: Likewise.
57653         * abilist/libm.abilist: Likewise.
57654         * abilist/libnsl.abilist: Likewise.
57655         * abilist/libpthread.abilist: Likewise.
57656         * abilist/libresolv.abilist: Likewise.
57657         * abilist/librt.abilist: Likewise.
57658         * abilist/libthread_db.abilist: Likewise.
57659         * abilist/libutil.abilist: Likewise.
57660         * abilist/libnss_db.abilist: New file.
57662         * scripts/abilist.awk: Add support for indirect functions.
57664         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
57666         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
57668         * shlib-versions: Remove entries for ports architectures.
57670         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
57671         files in ports.
57672         * elf/stackguard-macros.h: Remove support for IA-64.
57673         * elf/tst-auditmod1.c: Likewise.
57674         * sysdeps/generic/ldsodefs.h: Likewise.
57676         * sysdeps/unix/sysv/linux/configure.in: Ports should define
57677         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
57678         configure files.
57680         [BZ #13552]
57681         * configure.in: Remove --enable-omitfp support.
57682         * FAQ.in: Adjust.
57683         * config.make.in: Likewise.
57684         * Makeconfig: Likewise.
57685         * manual/install.texi: Likewise.
57687         In case anyone cares, the IA-64 architecture could move to ports.
57688         * sysdeps/ia64/*: Removed.
57689         * sysdeps/unix/sysv/linux/ia64/*: Removed.
57690         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
57692         [BZ #13555]
57693         * configure.in: Remove entries for unsupported architectures.
57695         [BZ #13533]
57696         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
57697         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
57698         routines.
57699         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
57700         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
57701         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
57702         fall back to using wcrtomb.
57703         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
57704         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
57705         renaming.
57706         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
57707         * wcsmbs/tst-c16c32-1.c: New file.
57709         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
57710         local variable.
57712         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
57714         * elf/tst-unique3.cc: Add explicit declaration of gets.
57715         * elf/tst-unique3lib.cc: Likewise.
57716         * elf/tst-unique3lib2.cc: Likewise.
57717         * elf/tst-unique4.cc: Likewise.
57719         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
57721 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
57723         [BZ #13566]
57724         * assert/assert.h (static_assert): Don't define for C++.
57725         * libio/stdio.h (gets): Do declare for C++ <= C++11.
57726         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57728 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
57730         * iconv/loop.c (single loop): Fix assertion in storing of
57731         remaining bytes.
57733         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57735 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
57737         * posix/getconf.c: Update copyright year.
57738         * nss/getent.c: Likewise.
57739         * nss/makedb.c: Likewise.
57740         * iconv/iconvconfig.c: Likewise.
57741         * iconv/iconv_prog.c: Likewise.
57742         * elf/ldconfig.c: Likewise.
57743         * elf/pldd.c: Likewise.
57744         * elf/sotruss.ksh: Likewise.
57745         * catgets/gencat.c: Likewise.
57746         * csu/version.c: Likewise.
57747         * elf/ldd.bash.in: Likewise.
57748         * elf/sprof.c (print_version): Likewise.
57749         * locale/programs/locale.c: Likewise.
57750         * locale/programs/localedef.c: Likewise.
57751         * login/programs/pt_chown.c: Likewise.
57752         * nscd/nscd.c (print_version): Likewise.
57753         * debug/xtrace.sh: Likewise.
57754         * malloc/memusage.sh: Likewise.
57755         * malloc/mtrace.pl: Likewise.
57756         * debug/catchsegv.sh: Likewise.
57758 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
57760         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57761         pure attribute.
57763 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
57765         [BZ #13533]
57766         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57767         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57768         transformations.
57769         * iconv/gconv_int.h: Likewise.
57770         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57771         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57772         from libc for GLIBC_2.16.
57773         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57774         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57775         * wcsmbs/uchar.h: Really define mbstate_t.
57776         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57777         * wcsmbs/c16rtomb.c: New file.
57778         * wcsmbs/mbrtoc16.c: New file.
57779         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57780         for C/POSIX locale.
57781         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57782         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57784         * wcsmbs/wchar.h: Add missing __restrict.
57786 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57788         [BZ #13532]
57789         * time/Makefile (routines): Add timespec_get.
57790         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57791         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57792         timespec for ISO C11.
57793         * time/timespec_get.c: New file.
57794         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57795         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57797         [BZ #13531]
57798         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57799         * stdlib/stdlib.h: Declare aligned_alloc.
57800         * Versions.def: Add GLIBC_2.16 for libc.
57801         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57803         [BZ 13527]
57804         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57805         ISO C11.
57807         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57808         code.
57810         [BZ #13528]
57811         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57813         [BZ #13529]
57814         * assert/assert.h (static_assert): Define.
57816         * version.h: Update for 2.16 development version.
57818         [BZ #13526]
57819         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57820         _ISOC11_SOURCE.
57822         * version.h (RELEASE): Bump for 2.15 release.
57823         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57825         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57826         Patch by Marek Polacek <mpolacek@redhat.com>.
57828         * bits/byteswap.h: Protect long long constants with __extension__.
57829         * sysdeps/i386/bits/byteswap.h: Likewise.
57830         * sysdeps/ia64/bits/byteswap.h: Likewise.
57831         * sysdeps/s390/bits/byteswap.h: Likewise.
57832         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57834 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57836         [BZ #13540]
57837         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57838         destination buffer.
57839         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57841 2011-12-23  Marek Polacek  <polacek@redhat.com>
57843         * elf/dl-addr.c (determine_info): Add inline keyword.
57844         * elf/tst-auditmod4b.c (check_avx): Likewise.
57845         * elf/tst-auditmod6b.c (check_avx): Likewise.
57846         * elf/tst-auditmod6c.c (check_avx): Likewise.
57847         * elf/tst-auditmod7b.c (check_avx): Likewise.
57849 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57851         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57852         !__SSE_MATH__.
57854 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57856         [BZ #13540]
57857         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57858         processing for last bytes.
57860 2011-08-06  Bruno Haible  <bruno@clisp.org>
57862         [BZ #13061]
57863         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57864         U+0385, not to U+1FEE.
57866         [BZ #13062]
57867         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57868         entry for U+00A5 U+0301.
57870 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57872         [BZ #13166]
57873         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57874         buffer for the output is too small.
57876         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57877         optimization.
57879         [BZ #13185]
57880         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57881         SSE flags if possible.
57883 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57885         [BZ #13540]
57886         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57887         processing for last bytes.
57889 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57891         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57892         (syscall-list-default-options, syscall-list-default-condition)
57893         (syscall-list-includes): Define.
57894         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57895         list of ABIs and options and #if conditions for each ABI.  Do not
57896         handle common syscalls between ABIs specially.
57897         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57898         Remove.
57899         (syscall-list-variants, syscall-list-32bit-options)
57900         (syscall-list-32bit-condition, syscall-list-64bit-options)
57901         (syscall-list-64bit-condition): Define.
57902         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57903         (syscall-list-variants, syscall-list-32bit-options)
57904         (syscall-list-32bit-condition, syscall-list-64bit-options)
57905         (syscall-list-64bit-condition): Define.
57906         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57907         Remove.
57908         (syscall-list-variants, syscall-list-32bit-options)
57909         (syscall-list-32bit-condition, syscall-list-64bit-options)
57910         (syscall-list-64bit-condition): Define.
57911         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57912         Remove.
57913         (syscall-list-variants, syscall-list-32bit-options)
57914         (syscall-list-32bit-condition, syscall-list-64bit-options)
57915         (syscall-list-64bit-condition): Define.
57917 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57919         * locale/iso-639.def: Add brx entry.
57921         [BZ #13328]
57922         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57923         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57925         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57926         __feraiseexcept_renamed.
57928 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57930         [BZ #13538]
57931         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57932         EPOLLET with unsigned values.
57933         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57934         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57936         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57937         to large cancellation.
57938         * math/s_cacoshf.c: Likewise.
57939         * math/s_cacoshl.c: Likewise.
57941 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57943         [BZ #13305]
57944         [BZ #12786]
57945         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57946         * math/s_cacoshf.c: Likewise.
57947         * math/s_cacoshl.c: Likewise.
57949 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57951         [BZ #13439]
57952         * iconv/gconv.h: Define __GCONV_SWAP.
57953         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57954         * iconvdata/utf-16.c: Likewise.
57955         * iconvdata/utf-32.c: Likewise.
57957 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57959         [BZ #13524]
57960         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57961         numerator after shifting it by one limb.
57963 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57965         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57966         under [__USE_EXTERN_INLINES].
57968 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57970         [BZ #13446]
57971         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57973 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57975         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57976         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57977         optimized code.
57978         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57979         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57980         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57981         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57982         for strncasecmp/strncasecmp_l compilation.
57983         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57984         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57986 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57988         [BZ #13484]
57989         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57990         of __asm__.
57992 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57994         [BZ #13506]
57995         * time/tzfile.c (__tzfile_read): Check values from file header.
57997 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57999         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
58000         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
58001         * powerpc/powerpc32/dl-start.S: Likewise.
58002         * powerpc/powerpc32/elf/start.S: Likewise.
58003         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58004         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
58005         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
58006         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
58007         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58008         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
58009         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
58010         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58011         * powerpc/powerpc32/fpu/s_round.S: Likewise.
58012         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58013         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58014         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58015         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
58016         * powerpc/powerpc32/memset.S: Likewise.
58017         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58018         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58019         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58020         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58021         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58022         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58023         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58024         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58025         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
58026         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
58027         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
58028         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58029         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58031 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58033         * math/libm-test.inc: Added more nearbyint tests.
58034         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
58035         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
58036         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
58037         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
58039 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
58041         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
58042         FD_CLOEXEC.
58044 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58046         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
58047         Add wcscpy-ssse3 wcscpy-c.
58048         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
58049         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
58050         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
58051         * sysdeps/x86_64/wcschr.S: New file.
58052         * sysdeps/x86_64/wcsrchr.S: New file.
58053         * string/test-strcmp.c: Remove checking of wcscmp function for
58054         wrong alignments.
58055         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
58056         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
58057         wcsrchr-sse2 wcsrchr-c.
58058         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
58059         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
58060         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
58061         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
58062         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
58063         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
58064         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
58065         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
58066         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
58067         * wcsmbc/wcschr.c (WCSCHR): New macro.
58069 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58071         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
58072         * wcsmbs/test-wcsrchr.c: New file.
58073         * string/test-strrchr.c: Add wcsrchr support.
58074         (WIDE): New macro.
58075         * wcsmbs/test-wcscpy.c: New file.
58076         * string/test-strcpy.c: Add wcscpy support.
58077         (WIDE): New macro.
58079 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
58081         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
58082         the inner loop.
58084 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
58086         [BZ #13472]
58087         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
58089 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
58091         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
58092         Minor optimizations.
58094         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
58095         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
58096         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
58098 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
58100         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
58101         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
58102         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
58103         for gcc to avoid warnings.
58104         * inet/Makefile (tests): Add tst-checks.
58105         * inet/tst-checks.c: New file.
58107         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
58108         warning.
58110         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
58111         __wmemcmp_sse2.
58113         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
58114         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
58116         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
58118 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
58120         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
58121         problem.
58123         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
58125 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
58127         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
58128         conditional on GCC version.
58129         (__arch_compare_and_exchange_val_8_acq)
58130         (__arch_compare_and_exchange_val_16_acq)
58131         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
58132         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
58133         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
58135 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
58137         * sysdeps/sh/backtrace.c: New file.
58139 2011-12-02  Andreas Schwab  <schwab@redhat.com>
58141         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
58142         parenthesis.
58144 2011-12-01  Andreas Schwab  <schwab@redhat.com>
58146         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
58147         falling back to utime.
58149 2011-11-30  Andreas Schwab  <schwab@redhat.com>
58151         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
58152         expectations for float.
58154 2011-11-29  Andreas Schwab  <schwab@redhat.com>
58156         * locale/weight.h (findidx): Add parameter len.
58157         * locale/weightwc.h (findidx): Likewise.
58158         * posix/fnmatch_loop.c (FCT): Adjust caller.
58159         * posix/regcomp.c (build_equiv_class): Likewise.
58160         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
58161         * posix/regexec.c (check_node_accept_bytes): Likewise.
58162         * string/strcoll_l.c (STRCOLL): Likewise.
58163         * string/strxfrm_l.c (STRXFRM): Likewise.
58165 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
58167         * Makefile.in: Remove CVSOPT handling.
58168         * configure.in: Remove use of AC_REVISION.
58169         * iconvdata/Makefile (distribute): No need to filter out CVS.
58170         * scripts/list-sources.sh: Remove CVS, subversion and monotone
58171         handling.
58173 2011-11-16  Andreas Schwab  <schwab@redhat.com>
58175         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
58176         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
58177         [USE_AS_STRNCASECMP_L]: Likewise.
58178         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
58179         NO_TLS_DIRECT_SEG_REFS.
58180         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
58181         Fix argument offsets for non-PIC.
58182         [USE_AS_STRNCASECMP_L]: Likewise.
58183         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
58184         NO_TLS_DIRECT_SEG_REFS.
58186 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58188         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
58189         O_CLOEXEC.
58190         * locale/loadlocale.c (_nl_load_locale): Likewise.
58192 2011-11-15  Andreas Schwab  <schwab@redhat.com>
58194         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
58195         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
58196         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
58197         (SYSCALL_GETTIME): Set errno on error.
58199         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
58200         count references to noai6ai_cached.
58202 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58204         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
58206         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
58207         FD_CLOEXEC for /proc/self/maps.
58209         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
58210         FD_CLOEXEC for /proc/meminfo.
58212         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
58213         gai.conf.
58215         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
58216         FD_CLOEXEC for given file.
58218         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
58220         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
58221         FD_CLOEXEC for /etc/hosts.
58222         (_gethtent): Likewise.
58224         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
58226         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
58227         cancellation and set FD_CLOEXEC for /etc/netgroup.
58229         * nss/nss_files/files-key.c (search): Don't allow cancellation when
58230         reading /etc/publickey.
58232         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
58233         allow cancellation when reading /etc/group.
58235         * nss/nss_files/files-alias.c (internal_setent): Don't allow
58236         cancellation.
58237         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
58239         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
58240         when using data file.
58242         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
58244         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
58245         (write_nis_obj): Use "c" and "e" in fopen.
58247         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
58249         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
58251         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
58253         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
58255         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
58256         locale.alias.
58258         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
58260         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
58262         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
58264         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
58265         file parsing and set FD_CLOEXEC.
58267 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58269         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
58271 2011-11-14  Andreas Schwab  <schwab@redhat.com>
58273         * malloc/arena.c (arena_get2): Don't call reused_arena when
58274         _int_new_arena failed.
58276 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58278         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
58279         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
58280         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
58281         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58282         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58283         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
58284         to compile strcasecmp and strncasecmp.
58285         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
58286         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
58288         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
58290 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
58292         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
58293         locale-defines.sym to gen-as-const-headers.
58294         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
58295         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
58296         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
58297         to compile strcasecmp and strncasecmp.
58298         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
58299         strcasecmp_l and strncasecmp_l.
58300         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
58301         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
58302         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
58303         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
58304         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
58305         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
58306         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
58307         * sysdeps/i386/i686/multiarch/strncase.S: New file.
58308         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
58309         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
58310         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
58312 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
58314         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
58315         result of SYSDEP_GETTIME_CPU to retval.
58316         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
58317         parameter list to macro.  Remove trailing semicolon.  Adjust users.
58319         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
58320         variable.
58322         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
58323         mantissa words.
58324         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
58326         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
58327         from unused variable.
58329         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
58330         DWARF definitions.
58331         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
58332         for assembling.
58334         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
58335         over namespaces.
58337         * sunrpc/rpc_prot.c (rejected): Fix case value.
58339         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
58340         unsigned long long int to avoid warnings in shift.
58342         * posix/regex_internal.c (re_string_reconstruct): Actually use result
58343         of use of trans.
58344         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
58345         variable tmp.
58347         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
58348         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
58349         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
58351         * nis/nis_table.c (nis_list): Use variable of correct type for
58352         result of __follow_path call.
58354 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58356         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
58357         of math functions ceil, trunc, floor, round, and sqrt, when
58358         avaliable on the platform.
58359         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
58360         name clash.
58361         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58362         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58363         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58365 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
58367         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
58368         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58370 2011-11-11  Roland McGrath  <roland@hack.frob.com>
58372         * include/unistd.h: Fix __readlink return type.
58373         Reported by Chris Metcalf <cmetcalf@tilera.com>.
58375 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
58377         * stdlib/ucontext.h: Undo last change for makecontext.
58379 2011-11-11  Andreas Schwab  <schwab@redhat.com>
58381         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
58383         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
58384         * setjmp/setjmp.h: Mark functions as non-leaf.
58385         * setjmp/bits/setjmp2.h: Likewise.
58386         * stdlib/ucontext.h: Likewise.
58388 2011-11-10  Andreas Schwab  <schwab@redhat.com>
58390         * malloc/arena.c (_int_new_arena): Don't increment narenas.
58391         (reused_arena): Don't check arena limit.
58392         (arena_get2): Atomically check arena limit.
58394 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
58396         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
58397         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
58399         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
58400         instructions.
58402 2011-11-07  Andreas Schwab  <schwab@redhat.com>
58404         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
58405         handler when locking.
58407         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58408         Fix size of allocated buffer.
58410 2011-11-04  Andreas Schwab  <schwab@redhat.com>
58412         [BZ #10103]
58413         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
58414         declarations for long double functions.
58415         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
58417         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
58419 2011-11-03  Andreas Schwab  <schwab@redhat.com>
58421         * nscd/nscd.c (main): Don't start AVC thread until credentials are
58422         installed.
58424         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
58425         is disabled.
58427 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58429         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
58431 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58433         * include/alloca.h (stackinfo_alloca_round): Define.
58434         (extend_alloca): Use it.
58435         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
58436         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
58437         here.
58439         * scripts/check-local-headers.sh: Ignore libaudit.h.
58441         * nscd/Makefile (extra-objs): Make recursively expanded.
58443 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
58445         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
58446         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
58448         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
58449         * posix/tst-rfc3484-2.c: Likewise.
58450         * posix/tst-rfc3484-3.c: Likewise.
58452         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58453         process_vm_writev.
58454         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
58455         process_vm_writev.
58456         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
58457         process_vm_writev from libc using GLIBC_2.15 version.
58459         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
58461 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
58463         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
58464         stack usage.
58466 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
58468         [BZ #13367]
58469         * nss/getent.c (initgroups_keys): Show error message in case no group
58470         names are given.
58472         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
58473         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
58474         __bump_nl_timestamp.
58475         * nscd/connections (nscd_init): When host database is served open
58476         netlink socket and request notification about configuration changes.
58477         (main_loop_poll): Track netlink file descriptor and bump timestamp
58478         in case data becomes available.
58479         (main_loop_epoll): Likewise.
58480         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
58481         (database_pers_head): Add extra_data fileds.
58482         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
58483         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
58484         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
58485         Adjust caller.
58486         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
58487         in6ai data, call __free_in6ai.
58488         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
58489         Add -DHAVE_NETLINK.
58490         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
58491         interface information.  Reuse previous data if netlink timestamp
58492         is not changed.
58493         (__bump_nl_timestamp): New function.
58494         (__free_in6ai): New function.
58496 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
58498         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
58499         close_not_cancel_no_status here.
58500         (__check_pf): Reorganize code a bit to not call close twice if OOM.
58502 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58504         [BZ #13276]
58505         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
58506         return value.
58508         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
58509         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
58510         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
58512 2011-07-03  Andreas Jaeger  <aj@suse.de>
58514         [BZ #10709]
58515         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
58516         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
58517         * math/libm-test.inc (sin_test): Add test case.
58519 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58521         [BZ #13337]
58522         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
58523         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58525         * elf/chroot_canon.c (chroot_canon): Cleanups.
58527         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
58529         [BZ #13335]
58530         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
58531         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58533         * string/test-strchr.c: Make usable for strchrnul testing.
58534         * string/test-strchrnul.c: New file.
58535         * string/Makefile (strop-tests): Add strchrnul.
58537         * po/it.po: Update from translation team.
58538         * po/es.po: Likewise.
58540 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
58542         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
58543         the three constants needed as parameters.  Drop the others.
58544         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
58545         __m128i_strloadu_tolower.
58546         Create and initialize variable zero and use it in all the places
58547         where _mm_setzero_si128 was used.
58549         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
58550         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
58551         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
58552         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
58553         anymore.
58554         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
58555         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
58556         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
58557         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
58558         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
58559         __mpranred, __mptan.
58560         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
58561         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
58562         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
58563         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
58564         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
58565         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
58566         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
58567         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
58568         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
58570 2011-10-28  Andreas Schwab  <schwab@redhat.com>
58572         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
58573         redefine if SHARED.
58574         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
58576         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
58577         wide char related routines to wcsmbs subdir.
58579 2011-10-27  Andreas Schwab  <schwab@redhat.com>
58581         [BZ #13344]
58582         * misc/sys/cdefs.h (__THROWNL): Define.
58583         * posix/unistd.h: Use __THREADNL instead of __THREAD
58584         for memory synchronization functions.
58586 2011-10-26  Roland McGrath  <roland@hack.frob.com>
58588         [BZ #13349]
58589         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
58590         doesn't exist.
58591         * manual/stdio.texi (Obstack Streams): Node removed.
58593 2011-10-26  Andreas Schwab  <schwab@redhat.com>
58595         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
58596         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58597         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58599         * math/math_private.h (math_force_eval): Allow non-addressable
58600         arguments.
58601         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
58603 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58605         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
58606         file is not needed.
58608         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
58609         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
58610         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58611         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58612         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58613         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58614         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58615         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
58616         Add AVX variants.
58617         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
58618         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
58619         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
58620         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
58621         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
58622         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
58623         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
58624         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
58625         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
58626         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
58627         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
58628         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
58629         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
58630         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
58631         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
58632         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
58633         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
58634         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
58635         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
58637         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
58638         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
58640         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
58641         place.  Use VEX encoding when compiling for AVX.
58643 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58645         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
58646         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58648         * string/test-strchr.c (do_test): Don't generate NUL bytes.
58650 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58652         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
58653         useless if() expression.
58654         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58655         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58656         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58657         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58658         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58659         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58660         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58661         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58662         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58663         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58664         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58665         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58666         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
58667         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58668         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
58669         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58670         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58671         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58672         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
58674         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
58676 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58678         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
58679         condition.
58680         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58682 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58684         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
58685         .text section.  Avoid duplicate constants.
58686         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58687         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58688         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58689         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58690         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58691         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58692         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58693         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58694         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58695         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
58696         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58697         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58698         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58699         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58700         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58701         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58702         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58703         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58704         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58705         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58706         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58707         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58708         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58709         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
58710         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
58711         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
58712         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
58713         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
58714         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
58715         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
58716         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
58717         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
58718         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58719         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
58720         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
58721         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
58722         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
58723         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58724         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58725         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58726         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58727         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58728         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58729         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58730         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58732 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
58734         * sysdeps/x86_64/dla.h: Move to ...
58735         * sysdeps/x86_64/fpu/dla.h: ...here.
58736         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58737         situations.  Use __builtin_fma only for gcc 4.6 and up.
58739         * config.make.in: Add have-mfma4 entry.
58740         * configure.in: Substitute libc_cv_cc_fma4.
58741         * math/Makefile (dbl-only-routines): Add sincostab.
58742         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58743         Use __sincostab not sincos.
58744         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58745         name is a macro.
58746         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58747         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58748         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58749         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
58750         using __copysign.
58751         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
58752         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
58753         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58754         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58755         and __inv.
58756         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58757         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58758         __copysign.
58759         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
58760         define aliases when function name is a macro.
58761         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58762         sysdeps/ieee754/dbl-64/sincos.tbl.
58763         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58764         fma4-enabled routines.
58765         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58766         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58767         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58768         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58769         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58770         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58771         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58772         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58773         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58774         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58775         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58776         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58777         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58778         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58779         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58780         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58781         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58782         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58783         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58784         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58785         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58786         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58787         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58788         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58789         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58790         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58791         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58792         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58793         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58794         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58796         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58797         rename.
58798         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58799         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58800         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58801         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58802         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58803         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58804         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58805         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58807 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58809         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58811 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58813         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58815         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58816         prediction.
58817         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58819         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58820         Remove unused variable magic_bits.
58821         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58823         * string/strnlen.c: Define and use STRNLEN macro.
58824         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58825         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58826         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58827         * wcsmbs/wcslen.c: Define and use WCSLEN.
58828         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58829         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58830         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58831         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58832         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58833         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58834         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58836 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58838         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58839         strnlen-sse2-no-bsf.
58840         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58841         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58842         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58843         Add strnlen support.
58844         (USE_AS_STRNLEN): New macro.
58845         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58846         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58847         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58848         * sysdeps/x86_64/wcslen.S: New file.
58850 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58852         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58853         XMM-moves are used for copying on small sizes.
58855 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58857         * wcsmbs/Makefile (strop-tests): Add wcschr.
58858         * wcsmbs/test-wcschr.c: New file.
58859         * string/test-strchr.c: Update.
58860         Add wcschr support.
58861         (WIDE): New macro.
58863 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58865         * wcsmbs/Makefile (strop-tests): Add wcslen.
58866         * wcsmbs/test-wcslen.c: New file.
58867         * string/test-strlen.c: Update.
58868         Add wcslen support.
58869         (WIDE): New macro.
58871 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58873         * po/it.po: Update from translation team.
58875 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58877         * sysdeps/x86_64/wcscmp.S: Update.
58878         Fix wrong comparison semantics.
58879         wcscmp shall use signed comparison not unsigned.
58880         Don't use substraction to avoid overflow bug.
58881         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58882         * wcsmbc/wcscmp.c: Likewise.
58883         * string/test-strcmp.c: Likewise.
58884         Add new tests to check cases with negative values.
58886 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58888         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58889         * sysdeps/x86_64/dla.h: ...here.  New file.
58890         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58891         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58892         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58893         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58894         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58895         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58896         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58897         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58898         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58900 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58902         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58903         __ynl_finite aliases.
58905 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58907         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58909         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58910         define DLA_FMA.
58911         [DLA_FMA] (EMULV): Use DLA_FMA.
58912         [DLA_FMA] (MUL12): Use EMULV.
58913         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58914         that are not needed.
58915         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58916         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58917         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58918         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58919         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58920         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58921         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58923 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58925         * math/s_nan.c: Undef __nan.
58926         * math/s_nanf.c: Undef __nanf.
58927         * math/s_nanl.c: Undef __nanl.
58928         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58929         "math_private.h".
58931 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58933         * math/s_catan.c: Add branch predictions.
58934         * math/s_catanf.c: Likewise.
58935         * math/s_catanh.c: Likewise.
58936         * math/s_catanhf.c: Likewise.
58937         * math/s_catanhl.c: Likewise.
58938         * math/s_catanl.c: Likewise.
58939         * math/s_cexp.c: Likewise.
58940         * math/s_cexpf.c: Likewise.
58941         * math/s_cexpl.c: Likewise.
58942         * math/s_clog.c: Likewise.
58943         * math/s_clog10.c: Likewise.
58944         * math/s_clog10f.c: Likewise.
58945         * math/s_clog10l.c: Likewise.
58946         * math/s_clogf.c: Likewise.
58947         * math/s_clogl.c: Likewise.
58948         * math/s_csqrt.c: Likewise.
58949         * math/s_csqrtf.c: Likewise.
58950         * math/s_csqrtl.c: Likewise.
58951         * math/s_ctanf.c: Likewise.
58952         * math/s_ctanh.c: Likewise.
58953         * math/s_ctanhf.c: Likewise.
58954         * math/s_ctanhl.c: Likewise.
58955         * math/s_ctanl.c: Likewise.
58957         * math/math_private.h: Define __nan, __nanf, __nanl.
58958         * math/s_cacosh.c: Include <math_private.h>.
58959         * math/s_cacoshl.c: Likewise.
58960         * math/s_casinh.c: Likewise.
58961         * math/s_casinhf.c: Likewise.
58962         * math/s_casinhl.c: Likewise.
58963         * math/s_ccos.c: Rely entire on ccosh.
58964         * math/s_ccosf.c: Rely entire on ccoshf.
58965         * math/s_ccosl.c: Rely entirely on ccoshl.
58966         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58967         Remove tests for FE_INVALID.
58968         * math/s_ccoshf.c: Likewise.
58969         * math/s_ccoshl.c: Likewise.
58970         * math/s_csin.c: Likewise.
58971         * math/s_csinf.c: Likewise.
58972         * math/s_csinh.c Likewise.
58973         * math/s_csinhf.c: Likewise.
58974         * math/s_csinhl.c: Likewise.
58975         * math/s_csinl.c: Likewise.
58976         * math/s_ctan.c: Likewise.
58977         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58978         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58979         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58981 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58983         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58984         compilation problems.
58986         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58987         __builtin_expect.
58989 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58991         * sysdeps/i386/configure.in: Test for -mfma4 option.
58992         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58993         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58994         COMMON_CPUID_INDEX_80000001.
58995         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58996         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58997         use it if FMA3 is not supported.
58998         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
59000         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
59001         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59003 2011-10-20  Andreas Schwab  <schwab@redhat.com>
59005         [BZ #12892]
59006         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
59007         it would create a cycle with a link time dependency.
59009 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
59011         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
59012         instruction.
59013         * string/Makefile (strop-tests): Add rawmemchr.
59014         * string/test-rawmemchr.c: New file.
59016         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
59017         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
59018         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
59019         when compiling str{,n}casecmp and when AVX is available.  Hook up
59020         new optimized code in initializers.
59022 2011-10-19  Andreas Schwab  <schwab@redhat.com>
59024         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
59025         __feraiseexcept instead of feraiseexcept.
59027 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
59029         * math/math_private.h: Define defaults for libc_fetestexcept and
59030         libc_feupdateenv.
59031         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
59032         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
59033         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59034         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59035         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59036         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59037         libc_fetestexcept and libc_feupdateenv.
59039         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
59040         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
59041         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
59042         * sysdeps/x86_64/fpu/math_private.h: Define special version of
59043         libc_feholdexcept_setround.
59045         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
59046         Add s_nearbyint-c and s_nearbyintf-c.
59047         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
59048         nearbyintf inlines.
59049         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
59050         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
59051         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
59052         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
59054         * math/math_private.h: Define defaults for libc_fegetround,
59055         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
59056         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
59057         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
59058         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
59059         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
59060         standard functions.
59061         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59062         Remove comments and hacks for old compiler versions.
59063         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59064         libc_fegetround, libc_fesetround, libc_feholdexcept, and
59065         libc_feholdexceptl.
59067 2011-10-18  Andreas Schwab  <schwab@redhat.com>
59069         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
59070         (__feraiseexcept_renamed): Add __NTH.
59071         (feraiseexcept): Add __NTH.  Rename local variables to fix
59072         namespace violations.
59074 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
59076         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
59078         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
59080         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
59081         recently added interfaces.
59082         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
59084         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
59085         about macro parameter expansion.
59087         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
59088         __NO_MATH_INLINES is defined.  Cleanups.
59090         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
59091         and __floorf is target has SSE4.1.
59092         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
59093         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
59094         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
59095         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
59097         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
59098         name.
59099         (floorf): Likewise.
59101         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
59103 2011-10-17  Andreas Schwab  <schwab@redhat.com>
59105         * misc/sys/cdefs.h: Fix last change.
59107         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
59108         database lookup.
59110 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
59112         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
59114         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
59115         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59116         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59117         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59118         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59119         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59120         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59121         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59122         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59123         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
59124         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
59125         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
59126         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
59127         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
59128         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
59129         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
59130         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
59131         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
59132         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
59133         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
59134         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
59135         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
59137         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
59138         ceil, ceilf, floor, floorf.
59140         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
59141         Perform IRELATIVE relocations last.
59143         * elf/do-rel.h: Add another parameter nrelative, replacing the
59144         local variable with the same name.  Change name of the function
59145         to end in Rel or Rela (uppercase).
59146         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
59147         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
59148         elf_dynamic_do_##reloc function.
59150 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
59152         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
59153         is sufficient, at least on modern CPUs.
59155         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
59157         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
59158         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
59160         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
59161         __expl_finite.
59162         * math/bits/math-finite.h: Add entries for exp.
59163         * math/e_expl.c: Add __*_finite alias.
59164         * sysdeps/i386/fpu/e_exp.S: Likewise.
59165         * sysdeps/i386/fpu/e_expf.S: Likewise.
59166         * sysdeps/i386/fpu/e_expl.c: Likewise.
59167         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59168         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59169         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59170         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59171         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
59172         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
59173         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
59175         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
59176         is sufficient, at least on modern CPUs.
59178         * ctype/ctype-info.c (__ctype_init): Define.
59179         * include/ctype.h (__ctype_init): Declare.
59180         (__ctype_b_loc): The variable is always initialized.
59181         (__ctype_toupper_loc): Likewise.
59182         (__ctype_tolower_loc): Likewise.
59183         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
59184         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
59186 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
59188         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
59190         * configure.in: Also look in $cxxmachine/include for C++ system
59191         headers.
59193 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59195         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
59196         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
59197         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
59198         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
59199         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
59200         (USE_AS_WMEMCMP): New macro.
59201         Fixing indents.
59202         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
59203         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
59204         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
59205         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
59206         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59207         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
59208         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
59209         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
59210         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
59211         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
59212         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
59213         (USE_AS_WMEMCMP): New macro.
59214         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
59215         * sysdeps/string/test-memcmp.c: Update.
59216         Fix simple_wmemcmp.
59217         Add new tests.
59218         * wcsmbs/wmemcmp.c: Update.
59219         (WMEMCMP): New macro.
59220         Fix overflow bug.
59222 2011-10-12  Andreas Jaeger  <aj@suse.de>
59224         [BZ #13268]
59225         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
59227 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
59229         * libio/iofwide.c (do_length): Avoid warning.
59231         * ctype/ctype.h (__isctype_f): Add missing __THROW.
59233 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
59235         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
59237         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
59238         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
59239         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
59240         * sysdeps/i386/i686/fpu/e_log.S: New file.
59241         * sysdeps/i386/i686/fpu/e_logf.S: New file.
59242         * sysdeps/i386/i686/fpu/e_logl.S: New file.
59244         * ctype/ctype.h: Add support for inlined isXXX functions when
59245         compiling C++ code.
59247 2011-10-14  Andreas Schwab  <schwab@redhat.com>
59249         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59251         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
59253 2011-10-13  Roland McGrath  <roland@hack.frob.com>
59255         [BZ #13291]
59256         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
59258 2011-10-13  Andreas Schwab  <schwab@redhat.com>
59260         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
59261         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
59262         feraiseexcept.
59264         * sysdeps/x86_64/memrchr.S: Check for zero size.
59266         * string/stratcliff.c: Add memrchr tests.
59268 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59270         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59271         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
59272         rawmemchr-sse2 rawmemchr-sse2-bsf.
59273         * sysdeps/i386/i686/multiarch/memchr.S: New file.
59274         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
59275         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
59276         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
59277         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
59278         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
59279         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
59280         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
59281         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
59282         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
59283         * string/memrchr.c (MEMRCHR): New macro.
59285 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
59287         Add integration with gcc's -ffinite-math-only and optimize wrapper
59288         functions in libm.
59289         * Versions.def: Define GLIBC_2.15 version for libm.
59290         * math/Makefile (headers): Add bits/math-finite.h.
59291         * math/bits/math-finite.h: New file.
59292         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
59293         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
59294         * math/e_acoshl.c: Add __*_finite alias.
59295         * math/e_acosl.c: Likewise.
59296         * math/e_asinl.c: Likewise.
59297         * math/e_atan2l.c: Likewise.
59298         * math/e_atanhl.c: Likewise.
59299         * math/e_coshl.c: Likewise.
59300         * math/e_exp10.c: Likewise.
59301         * math/e_exp10f.c: Likewise.
59302         * math/e_exp10l.c: Likewise.
59303         * math/e_exp2l.c: Likewise.
59304         * math/e_fmodl.c: Likewise.
59305         * math/e_gammal_r.c: Likewise.
59306         * math/e_hypotl.c: Likewise.
59307         * math/e_j0l.c: Likewise.
59308         * math/e_j1l.c: Likewise.
59309         * math/e_jnl.c: Likewise.
59310         * math/e_lgammal_r.c: Likewise.
59311         * math/e_log10l.c: Likewise.
59312         * math/e_log2l.c: Likewise.
59313         * math/e_logl.c: Likewise.
59314         * math/e_powl.c: Likewise.
59315         * math/e_sinhl.c: Likewise.
59316         * math/e_sqrtl.c: Likewise.
59317         * math/e_scalb.c: Completely rewritten and optimized.
59318         * math/e_scalbf.c: Likewise.
59319         * math/e_scalbl.c: Likewise.
59320         * math/w_acos.c: Likewise.
59321         * math/w_acosf.c: Likewise.
59322         * math/w_acosl.c: Likewise.
59323         * math/w_acosh.c: Likewise.
59324         * math/w_acoshf.c: Likewise.
59325         * math/w_acoshl.c: Likewise.
59326         * math/w_asin.c: Likewise.
59327         * math/w_asinf.c: Likewise.
59328         * math/w_asinl.c: Likewise.
59329         * math/w_atan2.c: Likewise.
59330         * math/w_atan2f.c: Likewise.
59331         * math/w_atan2l.c: Likewise.
59332         * math/w_atanh.c: Likewise.
59333         * math/w_atanhf.c: Likewise.
59334         * math/w_atanhl.c: Likewise.
59335         * math/w_exp10.c: Likewise.
59336         * math/w_exp10f.c: Likewise.
59337         * math/w_exp10l.c: Likewise.
59338         * math/w_fmod.c: Likewise.
59339         * math/w_fmodf.c: Likewise.
59340         * math/w_fmodl.c: Likewise.
59341         * math/w_j0.c: Likewise.
59342         * math/w_j0f.c: Likewise.
59343         * math/w_j0l.c: Likewise.
59344         * math/w_j1.c: Likewise.
59345         * math/w_j1f.c: Likewise.
59346         * math/w_j1l.c: Likewise.
59347         * math/w_jn.c: Likewise.
59348         * math/w_jnf.c: Likewise.
59349         * math/w_log.c: Likewise.
59350         * math/w_logf.c: Likewise.
59351         * math/w_logl.c: Likewise.
59352         * math/w_log10.c: Likewise.
59353         * math/w_log10f.c: Likewise.
59354         * math/w_log10l.c: Likewise.
59355         * math/w_log2.c: Likewise.
59356         * math/w_log2f.c: Likewise.
59357         * math/w_log2l.c: Likewise.
59358         * math/w_pow.c: Likewise.
59359         * math/w_powf.c: Likewise.
59360         * math/w_powl.c: Likewise.
59361         * math/w_remainder.c: Likewise.
59362         * math/w_remainderf.c: Likewise.
59363         * math/w_remainderl.c: Likewise.
59364         * math/w_scalb.c: Likewise.
59365         * math/w_scalbf.c: Likewise.
59366         * math/w_scalbl.c: Likewise.
59367         * math/w_sqrt.c: Likewise.
59368         * math/w_sqrtf.c: Likewise.
59369         * math/w_sqrtl.c: Likewise.
59370         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
59371         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
59372         used.
59373         * math/math_private.h: Declare __kernel_standard_f.
59374         * math/w_cosh.c: Remove cruft and optimize a bit.
59375         * math/w_coshf.c: Likewise.
59376         * math/w_coshl.c: Likewise.
59377         * math/w_exp2.c: Likewise.
59378         * math/w_exp2f.c: Likewise.
59379         * math/w_exp2l.c: Likewise.
59380         * math/w_hypot.c: Likewise.
59381         * math/w_hypotf.c: Likewise.
59382         * math/w_hypotl.c: Likewise.
59383         * math/w_lgamma.c: Likewise.
59384         * math/w_lgamma_r.c: Likewise.
59385         * math/w_lgammaf.c: Likewise.
59386         * math/w_lgammaf_r.c: Likewise.
59387         * math/w_lgammal.c: Likewise.
59388         * math/w_lgammal_r.c: Likewise.
59389         * math/w_sinh.c: Likewise.
59390         * math/w_sinhf.c: Likewise.
59391         * math/w_sinhl.c: Likewise.
59392         * math/w_tgamma.c: Likewise.
59393         * math/w_tgammaf.c: Likewise.
59394         * math/w_tgammal.c: Likewise.
59395         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59396         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59397         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
59398         Minor optimizations.  Pretty printing.  Remove cruft.
59399         * sysdeps/i386/fpu/e_acosf.S: Likewise.
59400         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59401         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59402         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59403         * sysdeps/i386/fpu/e_acosl.c: Likewise.
59404         * sysdeps/i386/fpu/e_asin.S: Likewise.
59405         * sysdeps/i386/fpu/e_asinf.S: Likewise.
59406         * sysdeps/i386/fpu/e_atan2.S: Likewise.
59407         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
59408         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
59409         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59410         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59411         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59412         * sysdeps/i386/fpu/e_exp10.S: Likewise.
59413         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
59414         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
59415         * sysdeps/i386/fpu/e_exp2.S: Likewise.
59416         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
59417         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
59418         * sysdeps/i386/fpu/e_fmod.S: Likewise.
59419         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
59420         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
59421         * sysdeps/i386/fpu/e_hypot.S: Likewise.
59422         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
59423         * sysdeps/i386/fpu/e_log.S: Likewise.
59424         * sysdeps/i386/fpu/e_log10.S: Likewise.
59425         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59426         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59427         * sysdeps/i386/fpu/e_log2.S: Likewise.
59428         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59429         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59430         * sysdeps/i386/fpu/e_logf.S: Likewise.
59431         * sysdeps/i386/fpu/e_logl.S: Likewise.
59432         * sysdeps/i386/fpu/e_pow.S: Likewise.
59433         * sysdeps/i386/fpu/e_powf.S: Likewise.
59434         * sysdeps/i386/fpu/e_powl.S: Likewise.
59435         * sysdeps/i386/fpu/e_remainder.S: Likewise.
59436         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
59437         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
59438         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59439         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59440         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59441         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
59442         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
59443         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
59444         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59445         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59446         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59447         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59448         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59449         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59450         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
59451         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59452         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59453         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59454         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59455         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59456         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59457         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59458         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59459         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59460         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59461         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59462         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59463         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59464         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59465         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59466         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59467         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59468         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59469         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59470         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59471         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59472         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
59473         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59474         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59475         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59476         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59477         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59478         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59479         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59480         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59481         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59482         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59483         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59484         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59485         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59486         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59487         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59488         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59489         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59490         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59491         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59492         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59493         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
59494         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59495         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59496         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59497         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59498         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59499         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59500         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59501         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59502         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59503         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59504         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59505         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59506         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59507         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59508         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59509         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59510         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59511         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59512         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
59513         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59514         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59515         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59516         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59517         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59518         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59519         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59520         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59521         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59522         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59523         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59524         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59525         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59526         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
59527         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59528         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59529         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59530         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59531         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59532         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59533         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59534         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59535         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59536         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59537         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59538         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59539         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59540         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59541         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
59542         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
59543         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
59544         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
59545         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
59546         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
59547         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
59548         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59549         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59550         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59551         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59552         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
59553         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59554         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
59555         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
59556         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
59557         (__isnanf): Likewise.
59558         (__isinf_ns): Likewise.
59559         (__isinf_nsf): Likewise.
59560         (__finite): Likewise.
59561         (__finitef): Likewise.
59562         (__ieee754_sqrt): Define as macro.
59563         (__ieee754_sqrtf): Define as macro.
59564         (__ieee754_sqrtl): Define as macro.
59565         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
59566         inlined copy.
59567         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
59568         __FINITE_MATH_ONLY__ consistent.
59569         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
59571 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
59573         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
59574         of rawmemchr.
59576         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
59578 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
59580         * po/ja.po: Update from translation team.
59582 2011-10-08  Roland McGrath  <roland@hack.frob.com>
59584         * locale/programs/locarchive.c (prepare_address_space): New function.
59585         (create_archive, enlarge_archive, open_archive): Use it.
59587         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
59588         inside [SHARED], where it is used.
59590         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
59592         * nss/getent.c (netgroup_keys): Remove unused variable.
59593         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59595 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
59597         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
59598         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
59599         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
59600         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
59601         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
59602         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
59603         * math/Makefile (libm-calls): Add s_isinf_ns.
59604         * math/divtc3.c: Use __isinf_nsl instead of isinf.
59605         * math/multc3.c: Likewise.
59606         * math/s_casin.c: Likewise.
59607         * math/s_casinf.c: Likewise.
59608         * math/s_casinl.c: Likewise.
59609         * math/s_ccos.c: Likewise.
59610         * math/s_ccosf.c: Likewise.
59611         * math/s_ccosl.c: Likewise.
59612         * math/s_ctan.c: Likewise.
59613         * math/s_ctanf.c: Likewise.
59614         * math/s_ctanh.c: Likewise.
59615         * math/s_ctanhf.c: Likewise.
59616         * math/s_ctanhl.c: Likewise.
59617         * math/s_ctanl.c: Likewise.
59618         * math/w_fmod.c: Likewise.
59619         * math/w_fmodf.c: Likewise.
59620         * math/w_fmodl.c: Likewise.
59621         * math/w_remainder.c: Likewise.
59622         * math/w_remainderf.c: Likewise.
59623         * math/w_remainderl.c: Likewise.
59624         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
59625         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
59626         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
59627         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
59628         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
59629         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
59630         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
59631         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
59633         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
59634         of the number.
59635         * stdio-common/printf_fphex.c: Likewise.
59636         * stdio-common/printf_size.c: Likewise.
59638         * math/e_exp10.c: Include math_private.h using <...> not "...".
59639         * math/e_exp10f.c: Likewise.
59640         * math/e_exp10l.c: Likewise.
59641         * math/e_exp2l.c: Likewise.
59642         * math/e_j0l.c: Likewise.
59643         * math/e_j1l.c: Likewise.
59644         * math/e_jnl.c: Likewise.
59645         * math/e_lgammal_r.c: Likewise.
59646         * math/e_rem_pio2l.c: Likewise.
59647         * math/e_scalb.c: Likewise.
59648         * math/e_scalbf.c: Likewise.
59649         * math/e_scalbl.c: Likewise.
59650         * math/k_cosl.c: Likewise.
59651         * math/k_sinl.c: Likewise.
59652         * math/k_tanl.c: Likewise.
59653         * math/s_cacoshf.c: Likewise.
59654         * math/s_catan.c: Likewise.
59655         * math/s_catanf.c: Likewise.
59656         * math/s_catanh.c: Likewise.
59657         * math/s_catanhf.c: Likewise.
59658         * math/s_catanhl.c: Likewise.
59659         * math/s_catanl.c: Likewise.
59660         * math/s_ccosh.c: Likewise.
59661         * math/s_ccoshf.c: Likewise.
59662         * math/s_ccoshl.c: Likewise.
59663         * math/s_cexp.c: Likewise.
59664         * math/s_cexpf.c: Likewise.
59665         * math/s_cexpl.c: Likewise.
59666         * math/s_clog.c: Likewise.
59667         * math/s_clog10.c: Likewise.
59668         * math/s_clog10f.c: Likewise.
59669         * math/s_clog10l.c: Likewise.
59670         * math/s_clogf.c: Likewise.
59671         * math/s_clogl.c: Likewise.
59672         * math/s_csin.c: Likewise.
59673         * math/s_csinf.c: Likewise.
59674         * math/s_csinh.c: Likewise.
59675         * math/s_csinhf.c: Likewise.
59676         * math/s_csinhl.c: Likewise.
59677         * math/s_csinl.c: Likewise.
59678         * math/s_csqrt.c: Likewise.
59679         * math/s_csqrtf.c: Likewise.
59680         * math/s_csqrtl.c: Likewise.
59681         * math/s_ctan.c: Likewise.
59682         * math/s_ctanf.c: Likewise.
59683         * math/s_ctanh.c: Likewise.
59684         * math/s_ctanhf.c: Likewise.
59685         * math/s_ctanhl.c: Likewise.
59686         * math/s_ctanl.c: Likewise.
59687         * math/s_ldexp.c: Likewise.
59688         * math/s_ldexpf.c: Likewise.
59689         * math/s_ldexpl.c: Likewise.
59690         * math/s_significand.c: Likewise.
59691         * math/s_significandf.c: Likewise.
59692         * math/s_significandl.c: Likewise.
59693         * math/w_acos.c: Likewise.
59694         * math/w_acosf.c: Likewise.
59695         * math/w_acosh.c: Likewise.
59696         * math/w_acoshf.c: Likewise.
59697         * math/w_acoshl.c: Likewise.
59698         * math/w_acosl.c: Likewise.
59699         * math/w_asin.c: Likewise.
59700         * math/w_asinf.c: Likewise.
59701         * math/w_asinl.c: Likewise.
59702         * math/w_atan2.c: Likewise.
59703         * math/w_atan2f.c: Likewise.
59704         * math/w_atan2l.c: Likewise.
59705         * math/w_atanh.c: Likewise.
59706         * math/w_atanhf.c: Likewise.
59707         * math/w_atanhl.c: Likewise.
59708         * math/w_cosh.c: Likewise.
59709         * math/w_coshf.c: Likewise.
59710         * math/w_coshl.c: Likewise.
59711         * math/w_dremf.c: Likewise.
59712         * math/w_exp10.c: Likewise.
59713         * math/w_exp10f.c: Likewise.
59714         * math/w_exp10l.c: Likewise.
59715         * math/w_exp2.c: Likewise.
59716         * math/w_exp2f.c: Likewise.
59717         * math/w_fmod.c: Likewise.
59718         * math/w_fmodf.c: Likewise.
59719         * math/w_fmodl.c: Likewise.
59720         * math/w_hypot.c: Likewise.
59721         * math/w_hypotf.c: Likewise.
59722         * math/w_hypotl.c: Likewise.
59723         * math/w_j0.c: Likewise.
59724         * math/w_j0f.c: Likewise.
59725         * math/w_j0l.c: Likewise.
59726         * math/w_j1.c: Likewise.
59727         * math/w_j1f.c: Likewise.
59728         * math/w_j1l.c: Likewise.
59729         * math/w_jn.c: Likewise.
59730         * math/w_jnf.c: Likewise.
59731         * math/w_jnl.c: Likewise.
59732         * math/w_lgamma.c: Likewise.
59733         * math/w_lgamma_r.c: Likewise.
59734         * math/w_lgammaf.c: Likewise.
59735         * math/w_lgammaf_r.c: Likewise.
59736         * math/w_lgammal.c: Likewise.
59737         * math/w_lgammal_r.c: Likewise.
59738         * math/w_log.c: Likewise.
59739         * math/w_log10.c: Likewise.
59740         * math/w_log10f.c: Likewise.
59741         * math/w_log10l.c: Likewise.
59742         * math/w_log2.c: Likewise.
59743         * math/w_log2f.c: Likewise.
59744         * math/w_log2l.c: Likewise.
59745         * math/w_logf.c: Likewise.
59746         * math/w_logl.c: Likewise.
59747         * math/w_pow.c: Likewise.
59748         * math/w_powf.c: Likewise.
59749         * math/w_powl.c: Likewise.
59750         * math/w_remainder.c: Likewise.
59751         * math/w_remainderf.c: Likewise.
59752         * math/w_remainderl.c: Likewise.
59753         * math/w_scalb.c: Likewise.
59754         * math/w_scalbf.c: Likewise.
59755         * math/w_scalbl.c: Likewise.
59756         * math/w_sinh.c: Likewise.
59757         * math/w_sinhf.c: Likewise.
59758         * math/w_sinhl.c: Likewise.
59759         * math/w_sqrt.c: Likewise.
59760         * math/w_sqrtf.c: Likewise.
59761         * math/w_sqrtl.c: Likewise.
59762         * math/w_tgamma.c: Likewise.
59763         * math/w_tgammaf.c: Likewise.
59764         * math/w_tgammal.c: Likewise.
59766         * po/ja.po: Update from translation team.
59768 2011-09-29  Andreas Jaeger  <aj@suse.de>
59770         [BZ #13179]
59771         * sunrpc/netname.c (netname2host): Fix logic.
59773         [BZ #6779]
59774         [BZ #6783]
59775         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59776         correctly.
59777         * math/w_remainder.c (__remainder): Likewise.
59778         * math/w_remainderf.c (__remainderf): Likewise.
59779         * math/libm-test.inc (remainder_test): Add test cases.
59781 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59783         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59784         sdiv_qrnnd.
59786 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59788         * string/test-memcmp.c: Avoid unncessary #defines.
59789         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59791 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59793         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59794         Use new sse2 version for core i3 - i7 as it's faster
59795         than sse42 version.
59796         (bit_Prefer_PMINUB_for_stringop): New.
59797         * sysdeps/x86_64/rawmemchr.S: Update.
59798         Replace with faster SSE2 version.
59799         * sysdeps/x86_64/memrchr.S: New file.
59800         * sysdeps/x86_64/memchr.S: Update.
59801         Replace with faster SSE2 version.
59803 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59805         * elf/dl-load.c (lose): Add cast to avoid warning.
59807 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59809         * po/ca.po: Update from translation team.
59811         * inet/getnetgrent_r.c: Hook up nscd.
59812         * nscd/Makefile (routines): Add nscd_netgroup.
59813         (nscd-modules): Add netgroupcache.
59814         (CFLAGS-netgroupcache.c): Define.
59815         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59816         (cache_search): Add const to second parameter.
59817         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59818         INNETGR.
59819         (dbs): Add netgrdb entry.
59820         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59821         (verify_persistent_db): Handle netgrdb.
59822         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59823         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59824         GETFDNETGR.
59825         (netgroup_response_header): Define.
59826         (innetgroup_response_header): Define.
59827         (datahead): Add netgroup_response_header and innetgroup_response_header
59828         elements.
59829         * nscd/nscd.conf: Add entries for netgroup cache.
59830         * nscd/nscd.h (dbtype): Add netgrdb.
59831         (_PATH_NSCD_NETGROUP_DB): Define.
59832         (netgroup_iov_disabled): Declare.
59833         (xmalloc, xcalloc, xrealloc): Move declarations here.
59834         (cache_search): Adjust prototype.
59835         Add netgroup-related prototypes.
59836         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59837         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59838         (__nscd_innetgr): Declare.
59839         * nscd/selinux.c (perms): Use access_vector_t as element type and
59840         add netgroup-related initializers.
59841         * nscd/netgroupcache.c: New file.
59842         * nscd/nscd_netgroup.c: New file.
59843         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59844         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59845         For four parameters use innetgr.
59846         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59847         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59848         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59849         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59851         * nscd/connections.c (register_traced_file): Don't register file
59852         for disabled databases.
59854 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59856         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59858         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59859         from tree and freeing node.
59861 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59863         * nss/nsswitch.c (__nss_database_lookup): Handle
59864         nss_parse_service_list out of memory case.
59866 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59868         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59869         out of memory case.
59871 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59873         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59874         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59875         pass it down.
59876         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59877         elf_machine_rela, elf_machine_lazy_rel.
59878         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59879         (ELF_DYNAMIC_DO_REL): Likewise.
59880         (ELF_DYNAMIC_DO_RELA): Likewise.
59881         (ELF_DYNAMIC_RELOCATE): Likewise.
59882         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59883         to ELF_DYNAMIC_DO_REL.
59884         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59885         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59886         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59887         elf_machine_rela.
59888         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59889         skip_ifunc, don't call ifunc function if non-zero.
59890         (elf_machine_rela): Likewise.
59891         (elf_machine_lazy_rel): Likewise.
59892         (elf_machine_lazy_rela): Likewise.
59893         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59894         (elf_machine_lazy_rel): Likewise.
59895         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59896         Likewise.
59897         (elf_machine_lazy_rel): Likewise.
59898         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59899         Likewise.
59900         (elf_machine_lazy_rel): Likewise.
59901         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59902         (elf_machine_lazy_rel): Likewise.
59903         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59904         (elf_machine_lazy_rel): Likewise.
59905         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59906         (elf_machine_lazy_rel): Likewise.
59907         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59908         (elf_machine_lazy_rel): Likewise.
59909         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59910         (elf_machine_lazy_rel): Likewise.
59911         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59912         (elf_machine_lazy_rel): Likewise.
59914 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59916         * nss/nss_files/files-init.c (_nss_files_init): Use static
59917         initialization for all the *_traced_file variables.
59919 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59921         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59923 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59925         [BZ #13226]
59926         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59928 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59930         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59931         Reread the line before reparsing it.
59933 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59935         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59937 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59938             Maxim Kuvyrkov  <maxim@codesourcery.com>
59939             Joseph Myers  <joseph@codesourcery.com>
59941         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59942         if needed for __stack_chk_guard.
59944 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59946         * sysdeps/posix/spawni.c (script_execute): Always define it.
59947         It will be optimized away if unused.
59948         (maybe_script_execute): New function.
59949         (__spawni): Call it.
59951         * Makerules: Don't include tls.make.
59952         (config-tls): Always set to thread.
59953         * tls.make.c: File removed.
59955 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59957         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59958         * config.make.in (CPPFLAGS-config): New substituted variable.
59960 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59962         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59964         [BZ #13192]
59965         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59966         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59968 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59970         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59971         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59972         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59973         (CALL_FAIL): Likewise.
59974         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59975         (CALL_FAIL): Macro removed.
59976         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59978 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59980         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59981         for __FINITE_MATH_ONLY__ == 1.
59983 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59985         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59986         __ieee754_sqrt instead of sqrt.
59987         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59988         __ieee754_sqrtf instead of sqrtf.
59989         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59990         __floorf instead of floorf.
59991         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59992         __floorf, __truncf instead of floorf, truncf.
59994 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59996         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59998         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59999         __extern_always_inline.
60000         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
60001         32-bit.
60003 2011-09-14  Andreas Schwab  <schwab@redhat.com>
60005         * elf/rtld.c (dl_main): Also relocate in dependency order when
60006         doing symbol dependency testing.
60008 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
60010         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60011         Always define `refsym'.
60013 2011-09-13  Andreas Schwab  <schwab@redhat.com>
60015         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
60016         (__FD_ELT): Renamed from __FDELT.
60017         * misc/bits/select2.h (__FD_ELT): Likewise.
60018         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
60019         __FD_MASK instead of __FDELT, __FDMASK.
60020         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60021         Likewise.
60022         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60023         Likewise.
60025         * elf/Makefile (gen-ldd): Fix pattern.
60027         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
60028         (init_tls): Likewise.
60030 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
60032         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
60034 2011-09-12  Andreas Schwab  <schwab@redhat.com>
60036         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
60037         `struct cmsghdr *' instead of `void *'.
60038         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
60039         Likewise.
60041 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
60043         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
60044         if non-absolute.
60045         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
60046         ldd_rewrite_script.
60048 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
60050         * configure.in: Remove --with-tls option.
60051         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
60052         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
60053         out in case it is missing.
60054         * sysdeps/ia64/elf/configure.in: Likewise.
60055         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
60056         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
60057         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
60058         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
60059         * sysdeps/sh/elf/configure.in: Likewise.
60060         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
60061         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60062         * sysdeps/x86_64/elf/configure.in: Likewise.
60063         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
60064         * sysdeps/mach/hurd/tls.h: Likewise.
60066         [BZ #13067]
60067         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
60069         [BZ #13090]
60070         * configure.in: Fix use of AC_INIT.
60072         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
60074 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
60076         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
60077         __set_errno.
60078         * malloc/hooks.c: Likewise.
60080         [BZ #11929]
60081         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
60082         variables statically.
60083         (narenas): Initialize.
60084         (list_lock): Initialize.
60085         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
60086         initializtion of main_arena and list_lock.  Small cleanups.
60087         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
60088         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
60089         Add initializers to main_arena and mp_.
60090         (malloc_state): Remove pagesize member.  Change all users to use
60091         GLRO(dl_pagesize).
60093         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
60094         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
60095         is always initialized.
60097         * malloc/malloc.c: Removed unused configurations and dead code.
60098         * malloc/arena.c: Likewise.
60099         * malloc/hooks.c: Likewise.
60100         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
60102         * include/tls.h: Removed.  USE___THREAD must always be defined.
60103         * bits/libc-tsd.h: Don't handle !USE___THREAD.
60104         * elf/dl-libc.c: Likewise.
60105         * elf/dl-tsd.c: Likewise.
60106         * include/errno.h: Likewise.
60107         * include/netdb.h: Likewise.
60108         * include/resolv.h: Likewise.
60109         * inet/herrno-loc.c: Likewise.
60110         * inet/herrno.c: Likewise.
60111         * malloc/arena.c: Likewise.
60112         * malloc/hooks.c: Likewise.
60113         * malloc/malloc.c: Likewise.
60114         * resolv/res-state.c: Likewise.
60115         * resolv/res_libc.c: Likewise.
60116         * sysdeps/i386/dl-machine.h: Likewise.
60117         * sysdeps/ia64/dl-machine.h: Likewise.
60118         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
60119         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
60120         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
60121         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
60122         * sysdeps/sh/dl-machine.h: Likewise.
60123         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60124         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60125         * sysdeps/unix/i386/sysdep.S: Likewise.
60126         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
60127         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
60128         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
60129         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
60130         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
60131         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
60132         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
60133         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60134         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60135         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
60136         * sysdeps/unix/x86_64/sysdep.S: Likewise.
60137         * sysdeps/x86_64/dl-machine.h: Likewise.
60138         * tls.make.c: Likewise.
60140         * configure.in: Remove --with-__thread option.  Make tests for
60141         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
60142         tls_model attribute fail if no support is available.  Remove
60143         USE_IN_LIBIO.
60144         * Makeconfig: Adjust for dropped configure option.  All features are
60145         now mandatory.
60146         * Makerules: Likewise.
60147         * Versions.def: Likewise.
60148         * argp/argp-fmtstream.c: Likewise.
60149         * argp/argp-fmtstream.h: Likewise.
60150         * argp/argp-help.c: Likewise.
60151         * assert/assert.c: Likewise.
60152         * config.h.in: Likewise.
60153         * config.make.in: Likewise.
60154         * configure: Likewise.
60155         * configure.in: Likewise.
60156         * csu/Versions: Likewise.
60157         * csu/init.c: Likewise.
60158         * elf/tst-audit2.c: Likewise.
60159         * elf/tst-tls10.c: Likewise.
60160         * elf/tst-tls10.h: Likewise.
60161         * elf/tst-tls11.c: Likewise.
60162         * elf/tst-tls12.c: Likewise.
60163         * elf/tst-tls14.c: Likewise.
60164         * elf/tst-tlsmod11.c: Likewise.
60165         * elf/tst-tlsmod12.c: Likewise.
60166         * elf/tst-tlsmod13.c: Likewise.
60167         * elf/tst-tlsmod13a.c: Likewise.
60168         * elf/tst-tlsmod14a.c: Likewise.
60169         * elf/tst-tlsmod15b.c: Likewise.
60170         * elf/tst-tlsmod16a.c: Likewise.
60171         * elf/tst-tlsmod16b.c: Likewise.
60172         * elf/tst-tlsmod7.c: Likewise.
60173         * elf/tst-tlsmod8.c: Likewise.
60174         * elf/tst-tlsmod9.c: Likewise.
60175         * gmon/gmon.c: Likewise.
60176         * grp/fgetgrent_r.c: Likewise.
60177         * grp/putgrent.c: Likewise.
60178         * hurd/fopenport.c: Likewise.
60179         * include/libc-symbols.h: Likewise.
60180         * include/tls.h: Likewise.
60181         * intl/gettextP.h: Likewise.
60182         * intl/loadinfo.h: Likewise.
60183         * locale/global-locale.c: Likewise.
60184         * locale/localeinfo.h: Likewise.
60185         * mach/devstream.c: Likewise.
60186         * malloc/arena.c: Likewise.
60187         * malloc/set-freeres.c: Likewise.
60188         * misc/err.c: Likewise.
60189         * misc/getttyent.c: Likewise.
60190         * misc/mntent_r.c: Likewise.
60191         * posix/getopt.c: Likewise.
60192         * posix/wordexp.c: Likewise.
60193         * pwd/fgetpwent_r.c: Likewise.
60194         * resolv/Versions: Likewise.
60195         * resolv/res_hconf.c: Likewise.
60196         * shadow/fgetspent_r.c: Likewise.
60197         * shadow/putspent.c: Likewise.
60198         * stdio-common/printf_fphex.c: Likewise.
60199         * stdio-common/tmpfile.c: Likewise.
60200         * stdlib/abort.c: Likewise.
60201         * stdlib/fmtmsg.c: Likewise.
60202         * sunrpc/auth_unix.c: Likewise.
60203         * sunrpc/clnt_perr.c: Likewise.
60204         * sunrpc/clnt_tcp.c: Likewise.
60205         * sunrpc/clnt_udp.c: Likewise.
60206         * sunrpc/clnt_unix.c: Likewise.
60207         * sunrpc/openchild.c: Likewise.
60208         * sunrpc/svc_simple.c: Likewise.
60209         * sunrpc/svc_tcp.c: Likewise.
60210         * sunrpc/svc_udp.c: Likewise.
60211         * sunrpc/svc_unix.c: Likewise.
60212         * sunrpc/xdr.c: Likewise.
60213         * sunrpc/xdr_array.c: Likewise.
60214         * sunrpc/xdr_rec.c: Likewise.
60215         * sunrpc/xdr_ref.c: Likewise.
60216         * sunrpc/xdr_stdio.c: Likewise.
60218 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60220         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60222 2011-07-03  Andreas Jaeger  <aj@suse.de>
60224         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
60225         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
60226         regenerate with gen-libm-tests.pl.
60228 2010-05-12  Petr Baudis  <pasky@suse.cz>
60230         [BZ #11589]
60231         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
60232         around j0() zero points by switching to j1().
60233         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60234         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60235         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60236         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60238 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60240         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
60241         instead of 0.
60242         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
60243         instead of 0.
60244         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60245         Patch in part by Pavel Roskin <proski@gnu.org>.
60247         [BZ #13138]
60248         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
60249         realloc.
60250         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
60251         Free memory block if necessary.
60253         [BZ #12847]
60254         * libio/genops.c (INTDEF): For string streams the _lock pointer can
60255         be NULL.  Don't lock in this case.
60257 2011-09-09  Roland McGrath  <roland@hack.frob.com>
60259         * elf/elf.h (ELFOSABI_GNU): New macro.
60260         (ELFOSABI_LINUX): Define to that.
60262 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
60264         * string/strncat.c (strncat): Undef the symbol in case it has been
60265         defined in bits/string.h.
60267 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60269         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
60271         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
60272         link map.
60274 2011-08-17  Andreas Jaeger  <aj@suse.de>
60276         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
60278 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
60279             Ian Lance Taylor  <iant@google.com>
60281         * math/libm-test.inc (lround_test): New testcase.
60282         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
60284 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
60286         * Makefile: Remove support for automatic cvs check-ins.
60287         * Makerules: Likewise.
60288         * config.make.in: Likewise.
60289         * configure.in: Likewise.
60290         * intl/Makefile: Likewise.
60291         * locale/Makefile: Likewise.
60292         * po/Makefile: Likewise.
60293         * posix/Makefile: Likewise.
60294         * sysdeps/gnu/Makefile: Likewise.
60295         * sysdeps/mach/hurd/Makefile: Likewise.
60296         * sysdeps/sparc/sparc32/Makefile: Likewise.
60298         [BZ #13118]
60299         * posix/Makefile (bug-regex32-ENV): Define.
60300         Patch by John Stanley <jpsinthemix@verizon.net>.
60302         * misc/Makefile (headers): Add bits/select2.h.
60303         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
60304         * misc/bits/select2.h: New file.
60305         * include/bits/select2.h: New file.
60306         * debug/Makefile (routines): Add fdelt_chk.
60307         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
60308         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
60309         FD_ISSET.
60310         * debug/fdelt_chk.c: New file.
60312         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
60313         * wcsmbs/test-wmemcmp.c: Likewise.
60314         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
60315         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
60317 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60319         * string/Makefile (strop-tests): Add memcmp.
60320         * string/test-wmemcmp.c: New file.
60321         * string/test-memcmp.c: Add wmemcmp support.
60323 2011-09-08  Roland McGrath  <roland@hack.frob.com>
60325         [BZ #13153]
60326         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
60327         2011-07-19 change.
60329         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
60330         garbage value in a __mach_port_mod_refs call in the cases of the
60331         task-self and thread-self ports.
60333 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60335         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
60337 2011-09-08  Andreas Schwab  <schwab@redhat.com>
60339         * elf/dl-load.c (lose): Check for non-null L.
60341 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60343         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
60345         * elf/dl-libc.c (dlerror_run): Pass back error code from
60346         dl_catch_error.
60348         [BZ #13123]
60349         * elf/dl-load.c (lose): Free l_origin if it is valid.
60351         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
60352         names.
60353         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
60354         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60355         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60356         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60357         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
60358         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
60360 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60362         * sysdeps/powerpc/fpu/e_hypot.c: New file.
60363         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
60364         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
60365         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
60366         * sysdeps/powerpc/fpu/k_cosf.c: New file.
60367         * sysdeps/powerpc/fpu/k_sinf.c: New file.
60368         * sysdeps/powerpc/fpu/s_cosf.c: New file.
60369         * sysdeps/powerpc/fpu/s_sinf.c: New file.
60370         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
60371         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
60373 2011-08-15  Alan Modra  <amodra@gmail.com>
60375         [BZ #13092]
60376         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
60377         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
60378         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
60379         ppc_mcount to static-only-routines.
60380         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
60381         __mcount_internal.
60382         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
60383         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
60385 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
60387         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
60388         for finite and infinity parameters.
60390 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
60392         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
60393         and add nop instructions for throughput optimization.
60394         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60396 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
60398         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
60399         aligned copy for power7 with vector-scalar instructions.
60400         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60402 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
60404         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
60405         AVX check.
60407 2011-09-07  Andreas Schwab  <schwab@redhat.com>
60409         [BZ #13144]
60410         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
60411         last change.
60413 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60415         * sysdeps/unix/sysv/linux/x86_64/init-first.c
60416         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
60417         syscall wrapper around clock_gettime in __vdso_clock_gettime.
60418         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
60419         clock_gettime.
60421 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60423         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
60424         Forgot to demangle the pointer.
60426         * sysdeps/i386/sysdep.h: Define atom_text_section.
60427         * sysdeps/x86_64/sysdep.h: Likewise.
60428         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
60429         section with atom_text_section.
60430         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60431         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60432         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
60433         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60434         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
60436         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
60437         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
60438         already be defined.  Change to take two parameters and don't assign
60439         result to variable.  Adjust all users.
60440         Define INTERNAL_GETTIME if not already defined.
60441         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
60442         call.
60443         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
60444         HAVE_CLOCK_GETTIME_VSYSCALL.
60445         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
60447         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
60448         gettimeofday vsyscall, just use time.
60450 2011-09-06  Andreas Schwab  <schwab@redhat.com>
60452         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
60453         <errno.h>.
60455 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60457         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
60458         syscall on x86-64.
60459         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
60460         syscall.
60461         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
60462         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
60463         syscall if possible.
60465 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60467         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
60468         e_ident.  Don't pass to find_mapsXX.
60469         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
60471 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60473         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60474         strchr-sse2-no-bsf strrchr-sse2-no-bsf
60475         * sysdeps/x86_64/multiarch/strchr.S: Update.
60476         Check bit_slow_BSF bit.
60477         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60478         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
60479         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
60481 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60483         [BZ #13134]
60484         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
60485         before glibc 2.15.
60486         (tryshell): Define.
60487         (__spawni): Change last parameter to be flag.  Test
60488         SPAWN_XFLAGS_USE_PATH flag to use path or not.
60489         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
60490         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
60491         * posix/spawni.c: Likewise.
60492         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
60493         * posix/spawnp.c: Likewise.  Change normal version to use
60494         SPAWN_XFLAGS_USE_PATH.
60495         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
60496         SPAWN_XFLAGS_TRY_SHELL.
60498         [BZ #13150]
60499         * posix/glob.h: Remove gcc 1.x support.
60501         [BZ #13068]
60502         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
60504 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60506         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60507         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
60508         strrchr-sse2-bsf
60509         * sysdeps/i386/i686/multiarch/strchr.S: New file.
60510         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
60511         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
60512         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
60513         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
60514         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
60516 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60518         * sysdeps/x86_64/wcscmp.S: New file.
60520         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
60521         wcscmp-c wcscmp-sse2
60522         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
60523         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
60524         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
60525         * wcsmbs/wcscmp.c: Allow renaming.
60527 2011-09-05  David S. Miller  <davem@davemloft.net>
60529         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
60530         stack slot, rather than the struct return pointer slot.
60531         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
60532         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
60533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
60534         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
60536 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60538         * po/ja.po: Update from translation team.
60540         [BZ #13144]
60541         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
60542         kernel in 64-bit binaries.
60544 2011-09-01  David S. Miller  <davem@davemloft.net>
60546         * elf/elf.h (HWCAP_SPARC_*): Move to..
60547         * sysdeps/sparc/sysdep.h: this new file and add new values.
60548         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
60549         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
60550         _DL_HWCAP_COUNT to 24.
60551         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60552         entries.
60553         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
60554         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
60555         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
60556         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
60557         instead of magic constants.
60558         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60560 2011-08-31  David S. Miller  <davem@davemloft.net>
60562         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
60563         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
60564         Reimplement to do errno handling inline.
60565         (SYSCALL_ERROR_HANDLER): New macro.
60566         (__SYSCALL_STRING): Do not do errno handling in asm.
60567         (__CLONE_SYSCALL_STRING): Delete.
60568         (__INTERNAL_SYSCALL_STRING): Delete.
60569         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
60570         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
60571         (PSEUDO): Reimplement to do errno handling inline.
60572         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
60573         (SYSCALL_ERROR_HANDLER): New macro.
60574         (__SYSCALL_STRING): Do not do errno handling in asm.
60575         (__CLONE_SYSCALL_STRING): Delete.
60576         (__INTERNAL_SYSCALL_STRING): Delete.
60577         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
60578         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
60579         i386.
60580         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
60581         (inline_syscall*): Add 'err' argument.
60582         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
60583         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
60584         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
60585         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
60587         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
60588         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60590 2011-08-30  Andreas Schwab  <schwab@redhat.com>
60592         * elf/rtld.c (dl_main): Relocate objects in dependency order.
60594 2011-08-29  Jiri Olsa <jolsa@redhat.com>
60596         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
60597         directive.
60599 2011-08-24  David S. Miller  <davem@davemloft.net>
60601         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
60603 2011-08-24  Andreas Schwab  <schwab@redhat.com>
60605         * elf/Makefile: Add rules to build and run unload8 test.
60606         * elf/unload8.c: New file.
60607         * elf/unload8mod1.c: New file.
60608         * elf/unload8mod1x.c: New file.
60609         * elf/unload8mod2.c: New file.
60610         * elf/unload8mod3.c: New file.
60612         * elf/dl-close.c (_dl_close_worker): Reset private search list if
60613         it wasn't used.
60615 2011-08-23  David S. Miller  <davem@davemloft.net>
60617         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
60618         subtract stack bias.
60619         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
60620         %sp not %fp in calculations.
60621         (_JMPBUF_UNWINDS_ADJ): Likewise.
60623         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
60624         (aio_suspend): Call it to force an exception region around the
60625         AIO_MISC_WAIT() invocation.
60627 2011-08-23  Andreas Schwab  <schwab@redhat.com>
60629         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
60630         backslash.
60632 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
60634         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
60635         protection macro.
60636         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
60637         and <dl-machine.h>.
60638         (Elf64_FuncDesc): Remove.
60640 2011-08-22  David S. Miller  <davem@davemloft.net>
60642         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
60643         sigaltstack check, add missing cfi directives.
60644         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
60645         missing cfi directives, and sigaltstack handling.
60647 2011-08-16  Andreas Schwab  <schwab@redhat.com>
60649         [BZ #11724]
60650         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
60651         object is seen twice.
60652         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60654         * elf/Makefile (distribute): Add tst-initorder2.c.
60655         (tests): Add tst-initorder2.
60656         (modules-names): Add tst-initorder2a tst-initorder2b
60657         tst-initorder2c tst-initorder2d.  Add rules to build them.
60658         ($(objpfx)tst-initorder2.out): New rule.
60659         * elf/tst-initorder2.c: New file.
60660         * elf/tst-initorder2.exp: New file.
60662 2011-08-22  Andreas Schwab  <schwab@redhat.com>
60664         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
60666         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
60667         dependencies back to end of function.
60669         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60670         $(elfobjdir)/ld.so.
60672 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
60674         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
60675         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
60676         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
60677         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
60678         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
60679         of __vdso_gettimeofday.
60680         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
60681         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
60682         attribute_hidden.
60683         (_libc_vdso_platform_setup): Remove initialization of
60684         __vdso_gettimeofday and __vdso_time.
60686 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60688         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
60689         and fgetc_unlocked.
60690         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
60691         getc_unlocked.
60693         * elf/dl-open.c (add_to_global): Report additions to the global scope
60694         for LD_DEBUG=scopes.
60695         (dl_open_worker): Also print scope of newly loaded dependencies.
60696         (_dl_show_scope): Indicate if there is no scope.
60698         [BZ #13114]
60699         * stdio-common/Makefile (tests): Add bug24.
60700         * stdio-common/bug24.c: New file.
60702 2011-08-19  Andreas Jaeger  <aj@suse.de>
60704         [BZ #13114]
60705         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
60706         non-existant file when using close-on-exec mode.
60708 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60710         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
60711         the very first instruction.
60713         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
60714         the CFI state in the end.
60715         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
60716         inclusion of dl-trampoline.h.
60717         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
60719 2011-08-19  Andreas Schwab  <schwab@redhat.com>
60721         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
60722         expectations for long double.
60724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60725         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60727 2011-08-14  David S. Miller  <davem@davemloft.net>
60729         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60730         artificual limit depends upon the system page size.
60732 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60734         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60735         * resolv/Makefile: Define CFLAGS-libresolv.
60737 2011-08-17  Andreas Schwab  <schwab@redhat.com>
60739         * nss/makedb.c (compute_tables): Make variables used in nested
60740         function static.
60742 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60744         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60745         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60746         if buffer was too small.
60748         * elf/pldd.c (main): Attach to all threads in the process.
60749         Rewrite /proc handling to use *at functions.
60751 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
60753         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60754         specifies first scope to show.
60755         (dl_open_worker): Update callers.  Move printing scope of new
60756         object to before the relocation.
60757         * elf/rtld.c (dl_main): Update _dl_show_scope call.
60758         * sysdeps/generic/ldsodefs.h: Update declaration.
60760         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60761         string for the scope number.
60763 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
60765         * nscd/servicescache.c (cache_addserv): Make sure written is always
60766         initialized.
60768 2011-08-14  Roland McGrath  <roland@hack.frob.com>
60770         * sysdeps/i386/i486/bits/atomic.h
60771         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60772         statement expression, so as to suppress "set but not used" warning.
60773         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60775         * string/strncat.c (STRNCAT): Use prototype definition.
60777         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60778         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60779         -Iprograms here.
60780         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60781         (localedef-modules): Add localedef.
60782         (locale-modules): Add locale.
60784         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60785         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60786         to avoid a warning.
60788 2011-08-14  David S. Miller  <davem@davemloft.net>
60790         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60791         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60793 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60795         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60796         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60797         * elf/rtld.c (dl_main): Set l_name of vDSO.
60798         Call _dl_show_scope when DL_DEBUG_SCOPES.
60799         (process_dl_debug): Recognize scopes flag and also set it for all.
60800         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60801         Declare _dl_show_scope.
60803         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60804         (do_dlopen): Pass caller_dlopen to dl_open.
60805         (__libc_dlopen_mode): Initialize caller_dlopen.
60807         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60808         of libc.  Make tolower call locale-independent.  Optimize a bit by
60809         using isdigit instead of isalnum.
60810         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60812 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60814         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60815         was a dependency or dynamically loaded.
60817 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60819         * intl/l10nflist.c: Allow architecture-specific pop function.
60820         * sysdeps/x86_64/l10nflist.c: New file.
60822         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60823         classification.
60825 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60827         * include/dirent.h: Add libc_hidden_proto for scandirat and
60828         scandirat64.  Don't declare __scandirat64.
60829         * dirent/scandirat.c: Add libc_hidden_def.
60830         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60831         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60833 2011-08-10  David S. Miller  <davem@davemloft.net>
60835         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60836         enum.
60837         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60838         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60839         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60841 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60843         * Versions.def [libc]: Add GLIBC_2.15.
60844         * dirent/Makefile (routines): Add scandirat and scandirat64.
60845         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60846         GLIBC_2.15.
60847         * dirent/dirent.h: Declare scandirat and scandirat64.
60848         * dirent/scandirat.c: New file.
60849         * dirent/scandirat64.c: New file.
60850         * sysdeps/wordsize-64/scandirat.c: New file.
60851         * sysdeps/wordsize-64/scandirat64.c: New file.
60852         * dirent/opendir.c: Define opendirat.
60853         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60854         using scandirat.
60855         * dirent/scandir64.c: Adjust for scandir.c change.
60856         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60857         __scandirat64, and __scandir_cancel_handler.
60858         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60859         additional parameter and use openat instead of open (outside of ld.so).
60860         Add new __opendir as wrapper around __opendirat.
60861         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60862         here without requiring old scandirat implementation.
60864 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60866         * dirent/scandir.c (cancel_handler): Renamed to
60867         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60868         defined.  Adjust users.
60869         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60870         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60872 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60874         * string/test-string.h (IMPL): Use __STRING to expand name and then
60875         stringify it.
60877         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60878         of cleanups.
60880 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60882         * string/Makefile: Update.
60883         (strop-tests): Append strncat.
60884         * string/test-wcscmp.c: New file.
60885         New comprehensive test for wcscmp.
60886         * string/test-strcmp.c: Update.
60887         (WIDE): New define.
60889 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60891         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60892         line.
60894 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60896         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60897         encoding to ACE if AI_IDN.
60899 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60901         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60902         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60904 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60906         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60907         Fix overflow bug in strncat.
60908         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60910         * string/test-strncat.c: Update.
60911         Add new tests for checking overflow bugs.
60913 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60915         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60916         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60917         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60918         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60919         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60920         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60921         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60922         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60923         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60925         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60926         (USE_AS_STRCAT): Define.
60927         Add strcat and strncat support.
60928         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60930 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60932         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60933         __n bigger than INT_MAX+1.
60934         (__strncmp_g): Likewise.
60936 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60938         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60939         * libio/stido.h: Likewise.
60941         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60942         (AF_NFC): Define.
60943         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60944         (AF_NFC): Define.
60946         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60947         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60948         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60949         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60950         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60952         [BZ #13021]
60953         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60954         installed.
60956         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60957         typo.
60958         (_dl_x86_64_save_sse): Likewise.
60960 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60962         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60963         OSXSAVE.
60964         (_dl_x86_64_save_sse): Likewise.
60966         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60968         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60970 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60972         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60973         change.
60974         (_dl_x86_64_save_sse): Use correct AVX check.
60976 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60978         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60979         bug in strncpy/strncat.
60980         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60982 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60984         * string/tester.c (test_strcat): Add tests for different alignments
60985         of source and destination.
60986         (test_strncat): Likewise.
60988 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60990         [BZ #12852]
60991         * posix/glob.c (glob): Check passed in values before using them in
60992         expressions to avoid some overflows.
60993         (glob_in_dir): Likewise.
60995         [BZ #13007]
60996         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60997         check for AVX enablement so that we don't crash with old kernels and
60998         new hardware.
60999         * elf/tst-audit4.c: Add same checks here.
61000         * elf/tst-audit6.c: Likewise.
61002         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
61004 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
61006         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
61008 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
61010         * po/cs.po: Update from translation team.
61011         * po/bg.po: Likewise.
61013 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
61015         * misc/sys/cdefs.h: Add support for const attribute.
61016         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
61017         to gnu_dev_{major,minor,makedev} functions.
61019 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
61021         * intl/dcigettext.c (get_output_charset): Add missing bracket.
61023 2011-07-20  Andreas Schwab  <schwab@redhat.com>
61025         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
61026         strlen results.
61028 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61030         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
61031         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
61032         register in order to avoid conflicts with the soft frame pointer
61033         being held in r11 when necessary.
61034         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
61035         (INTERNAL_VSYSCALL_NCS): Likewise.
61037 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
61039         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
61040         * elf/dl-fini.c (_dl_fini): Adjust caller.
61041         * elf/dl-close.c (_dl_close_worker): Likewise.
61042         * sysdeps/generic/ldsodefs.h: Adjust declaration.
61044 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
61046         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
61047         "aux_cache->nlibs < 0".
61049         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
61050         in the reload-count case.
61052 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61054         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61055         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
61056         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
61057         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
61058         * sysdeps/x86_64/multiarch/strcat.S: New file.
61059         * sysdeps/x86_64/multiarch/strncat.S: New file.
61060         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
61061         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
61062         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
61063         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
61064         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
61065         (USE_AS_STRCAT): Define.
61066         Add strcat and strncat support.
61067         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61068         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
61069         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
61070         * string/strncat.c: Update.
61071         (USE_AS_STRNCAT): Define.
61072         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61073         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
61074         and i7.
61075         * sysdeps/x86_64/multiarch/init-arch.h
61076         (bit_Prefer_PMINUB_for_stringop): New.
61077         (index_Prefer_PMINUB_for_stringop): Likewise.
61078         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
61079         bit_Prefer_PMINUB_for_stringop.
61081 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
61083         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
61084         buffer64.
61085         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
61086         of casting of buffer.
61087         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
61088         buffer32 and buffer64.
61089         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
61090         writes instead of casting of buffer.
61091         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
61092         buffer32.
61093         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
61094         casting of buffer.
61096 2011-07-19  Andreas Schwab  <schwab@redhat.com>
61098         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
61100 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
61102         * nscd/nscd.c (termination_handler): Don't do anything for a database
61103         if it has not yet been initialized.
61105 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
61107         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61109 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
61111         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61113 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
61115         * po/nl.po: Update from translation team.
61116         * po/sv.po: Likewise.
61118 2011-07-16  Roland McGrath  <roland@hack.frob.com>
61120         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
61121         now disallowed by GCC.
61123         * configure.in (use-default-link): Default to yes if a test -shared
61124         link meets our qualifications.
61125         * configure: Regenerated.
61127         * config.make.in (output-format): New variable.
61128         * configure.in: Check for ld --print-output-format support.
61129         * configure: Regenerated.
61130         * Makerules ($(common-objpfx)format.lds)
61131         [$(output-format) != unknown]: Just use $(output-format),
61132         instead of the linker-script munging.
61134 2011-07-14  Roland McGrath  <roland@hack.frob.com>
61136         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
61137         of $(common-objpfx)shlib.lds.
61138         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
61140         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
61141         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
61143         * configure.in (-z relro check): Adjust test code to add a large
61144         writable data section after it.
61145         * configure: Regenerated.
61147 2011-07-11  Roland McGrath  <roland@hack.frob.com>
61149         * configure.in (-z relro check): Fix test code to make the variable
61150         truly const.
61151         * configure: Regenerated.
61153 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
61155         * nscd/nscd.h (struct traced_file): Define.
61156         (struct database_dyn): Remove inotify_descr, reset_res, and filename
61157         elements.  Add traced_files.
61158         (inotify_fd): Declare.
61159         (register_traced_file): Declare.
61160         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
61161         (inotify_fd): Export.
61162         (resolv_conf_descr): Remove.
61163         (nscd_init): Move inotify descriptor creation to main.
61164         Don't register files for notification here.
61165         (register_traced_file): New function.
61166         (invalidate_cache): Don't use reset_res to determine whether to call
61167         res_init, go through the list of registered files.
61168         (main_loop_poll): The inotify descriptors are now stored in the
61169         structures for the traced files.
61170         (main_loop_epoll): Likewise
61171         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
61172         to __nss_disable_nscd.
61173         * nscd/cache.c (prune_cache): There is no single inotify descriptor
61174         for a database anymore.  Check the records for all the registered
61175         files instead.
61176         * nss/Makefile (libnss_files-routines): Add files-init.
61177         (libnss_db-routines): Add db-init.
61178         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
61179         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
61180         * nss/nss_db/db-init.c: New file.
61181         * nss/nss_files/files-init.c: New file.
61182         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
61183         __nss_lookup_function.
61184         (__nss_lookup_function): Call nss_load_library.
61185         (nss_load_all_libraries): New function.
61186         (__nss_disable_nscd): Take parameter with callback function for files
61187         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
61188         used for the cached services.
61189         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
61190         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
61191         options for features to all the files in nscd.
61193         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
61195 2011-07-10  Roland McGrath  <roland@hack.frob.com>
61197         * csu/elf-init.c (__libc_csu_init): Comment typo.
61199 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
61201         * po/pl.po: Update from translation team.
61202         * po/ja.po: Likewise.
61203         * po/ru.po: Likewise.
61204         * po/ko.po: Likewise.
61205         * po/fr.po: Likewise.
61207 2011-07-09  Roland McGrath  <roland@hack.frob.com>
61209         * configure.in (.ctors/.dtors header and trailer check):
61210         Use an empirical test on a built program.
61211         * configure: Regenerated.
61213         * configure.in (-z relro check): Use an empirical test on a built DSO.
61214         Detect, but do not require, on ia64.
61215         * configure: Regenerated.
61217         * configure.in (READELF): Find it with AC_CHECK_TOOL.
61218         Update tests that use readelf to use $READELF instead.
61219         * configure: Regenerated.
61221 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
61223         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
61224         if the result is not used.
61226 2011-07-05  Andreas Jaeger  <aj@suse.de>
61228         [BZ#9696]
61229         * stdlib/tst-strtod.c: Add testcase.
61231 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
61233         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
61234         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
61235         The latter has a higher limit.  Take additional parameter to pass to
61236         the new function.
61237         (__pathconf): Pass file to __statfs_link_max.
61238         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
61239         __statfs_link_max.
61240         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
61241         __statfs_link_max.
61243         [BZ #12868]
61244         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
61245         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61246         Handle Lustre.
61247         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
61248         (__statfs_filesize_max): Likewise.
61249         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
61251 2011-07-05  Andreas Jaeger  <aj@suse.de>
61253         * resolv/res_comp.c (dn_skipname): Remove unused variable.
61255 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
61257         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
61258         `status' variable.
61259         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
61260         Likewise.
61262 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
61264         * Makefile (strop-tests): Add strncat.
61265         * string/test-strncat.c: New file.
61267 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
61269         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
61271 2011-06-21  Andreas Jaeger  <aj@suse.de>
61273         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
61274         Copy rule from iconvdata/Makefile.
61276 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
61278         [BZ #12922]
61279         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
61280         but no long options are defined, just return 'W'.
61282 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
61284         [BZ #9696]
61285         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
61287 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
61289         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
61290         netgroups to read.
61291         (innetgr): Likewise.
61293 2011-07-05  Roland McGrath  <roland@hack.frob.com>
61295         * config.make.in (install_root): Default to $(DESTDIR).
61297 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
61299         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
61301 2011-07-02  Roland McGrath  <roland@hack.frob.com>
61303         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
61305         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
61306         containing directory rather than embedding absolute directory names.
61308         * scripts/check-local-headers.sh: Rewritten using awk.
61309         Match by word, not by line.  Print error messages for matches.
61310         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
61312         * Makerules [shlib-lds-flags empty]:
61313         ($(common-objpfx)libc_pic.opts): New target.
61314         ($(common-objpfx)libc_pic.os.clean): New target.
61315         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
61317         * config.make.in (OBJCOPY): New variable.
61318         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
61319         * configure: Regenerated.
61321         * config.make.in (use-default-link): New variable.
61322         * configure.in (use_default_link): Grok --with-default-link to set it.
61323         * configure: Regenerated.
61324         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
61325         (shlib-lds, shlib-lds-flags): Define to empty.
61327         * Makerules (shlib-lds): New variable.
61328         (shlib-lds-flags): New variable.
61329         (build-shlib, build-moduile, build-module-asneeded): Use it.
61330         ($(common-objpfx)libc.so): Use $(shlib-lds).
61331         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
61332         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
61334         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
61335         DT_FLAGS/DT_FLAGS_1 with zero flags.
61337         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
61338         linker script munging.
61340 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
61342         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
61343         as 128-bit value.
61344         * crypt/sha512.c (sha512_process_block): Perform total addition using
61345         128-bit if possible.
61346         (__sha512_finish_ctx): Likewise.
61347         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
61348         as 64-bit value.
61349         * crypt/sha256.c (SWAP64): Define.
61350         (sha256_process_block): Perform total addition using 64-bit if
61351         possible.
61352         (__sha256_finish_ctx): Likewise.
61354 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
61356         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
61357         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61358         * nscd/hstcache.c (cache_addhst): Likewise.
61359         * nscd/grpcache.c (cache_addgr): Likewise.
61360         * nscd/aicache.c (addhstaiX): Likewise
61361         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
61363 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
61365         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
61366         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61367         * nscd/hstcache.c (cache_addhst): Likewise.
61368         * nscd/grpcache.c (cache_addgr): Likewise.
61369         * nscd/aicache.c (addhstaiX): Likewise
61371 2011-07-01  Andreas Schwab  <schwab@redhat.com>
61373         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
61374         domain only when needed.
61376 2011-06-30  Andreas Schwab  <schwab@redhat.com>
61378         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
61379         is always restored.
61381 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
61383         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
61384         are re-adding the entry.
61385         * nscd/servicescache.c (cache_addserv): Likewise.
61387 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
61389         * sysdeps/generic/dl-irel.h: fix protection against multiple
61390         inclusions.
61391         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
61393 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
61395         [BZ #12935]
61396         * malloc/memusage.sh: Fix quoting in message.
61397         * debug/xtrace.sh: Likewise.
61399         * configure.in: Remove support for --experimental-malloc option, make
61400         it the default.
61401         * config.make.in: Likewise.
61402         * malloc/Makefile: Likewise.
61404 2011-06-27  Andreas Schwab  <schwab@redhat.com>
61406         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
61407         two-byte characters.
61409 2011-06-27  Roland McGrath  <roland@hack.frob.com>
61411         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
61412         AC_CACHE_CHECK invocation.
61413         * configure: Regenerated.
61415         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
61417 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
61419         [BZ #12350]
61420         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
61421         bit from old_res_options.
61423         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
61425         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
61426         value type for setfct.
61428 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
61430         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61431         __gettimeofday instead of gettimeofday.
61433 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
61435         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
61437 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
61439         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
61441         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
61442         info.
61444 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61446         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61447         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61448         strcpy-sse2-unaligned strncpy-sse2-unaligned
61449         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
61450         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
61451         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
61452         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
61453         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
61454         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
61455         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
61456         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
61457         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
61458         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
61459         (STRCPY): Support SSE2 and SSSE3 versions.
61461 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
61463         [BZ #12874]
61464         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
61465         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
61466         kernels which artificially limit size of requests.
61468 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61470         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61471         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61472         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
61473         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
61474         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
61475         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
61476         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
61477         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
61478         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
61479         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
61480         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
61481         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
61482         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
61483         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
61484         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
61485         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61486         Enable unaligned load optimization for Intel Core i3, i5 and i7
61487         processors.
61488         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
61489         Define.
61490         (index_Fast_Unaligned_Load): Define.
61491         (HAS_FAST_UNALIGNED_LOAD): Define.
61493 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
61495         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
61497 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61499         [BZ #12907]
61500         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
61501         until it is clear that the information is realy needed.
61502         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
61504 2011-06-22  Andreas Schwab  <schwab@redhat.com>
61506         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
61508 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61510         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61511         /sys/devices/system/cpu/online if it is usable.
61513         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
61514         reading the information from the /proc filesystem to once a second.
61516 2011-06-21  Andreas Jaeger  <aj@suse.de>
61518         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
61519         NULL after inclusion of kernel headers.
61521 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
61523         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
61524         calls to internal_setent.
61526         [BZ #12885]
61527         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
61528         addresses using gethostbyname4_r ignore IPv4 addresses.
61530         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
61531         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
61533         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
61535 2011-06-20  David S. Miller  <davem@davemloft.net>
61537         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
61538         inclusions.
61539         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
61541         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
61542         (elf_irel): Use it.
61543         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
61544         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
61545         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
61546         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
61547         * sysdeps/x86_64/dl-irel.h: Likewise.
61549         * elf/dl-runtime.c: Use elf_ifunc_invoke.
61550         * elf/dl-sym.c: Likewise.
61552 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61554         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
61555         need to dereference resplen2.
61557 2011-06-14  Andreas Schwab  <schwab@redhat.com>
61559         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
61561 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61563         * Makeconfig: Define vardbdir and inst_vardbdir.
61564         * nss/Makefile: Add rules to install db-Makefile.
61566         * nss/nss_db/db-XXX.c: Cleanup.
61568         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
61569         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
61570         GLIBC_PRIVATE.
61571         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
61572         * nss/makedb.c: Implement -g option to specify that value strings
61573         are generated and should not be added to table iterated over for
61574         get*ent calls.
61575         * nss/nss_db/db-initgroups.c: New file.
61577         * nss/getent.c: Add support for initgroups lookups through getgrouplist
61578         interface.
61580         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
61581         (internal_getgrouplist): Adjust to name change.
61582         Update use_initgroups_entry if this is not the first call.
61583         * nss/databases.def: Add initgroups entry.
61585         * nss/makedb.c (compute_tables): Check result of multiple hash table
61586         sizes to minimize maximum chain length.
61588 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
61590         * Versions.def: Add entry for libnss_db.
61591         * shlib-versions: Likewise.
61592         * nss/Makefile: Add rules to build libnss_db.
61593         * nss/Versions: Add libnss_db information.  Organize libnss_files
61594         entries better.
61595         * nss/db-Makefile: Add gshadow support.  Change rules for the new
61596         makedb progra.  Some minor improvements to generate smaller files.
61597         * nss/nss_db/nss_db.h: Move NSS database header data structures to
61598         here from...
61599         * nss/makedb.c: ...here.
61600         Improve database format to be smaller and require less memory at
61601         runtime.
61602         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
61603         db anymore.
61604         * nss/nss_db/db-netgrp.c: Likewise.
61605         * nss/nss_db/db-open.c: Likewise.
61606         * nss/nss_files/flies-XXX.x: Adjust comments.
61607         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
61608         * nss/nss_files/files-grp.c: Likewise.
61609         * nss/nss_files/files-hosts.c: Likewise.
61610         * nss/nss_files/files-network.c: Likewise.
61611         * nss/nss_files/files-proto.c: Likewise.
61612         * nss/nss_files/files-pwd.c: Likewise.
61613         * nss/nss_files/files-rpc.c: Likewise.
61614         * nss/nss_files/files-service.c: Likewise.
61615         * nss/nss_files/files-sgrp.c: Likewise.
61616         * nss/nss_files/files-spwd.c: Likewise.
61617         * nss/nss_db/db-alias.c: Removed.
61618         * nss/nss_db/dummy-db.h: Removed.
61620 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
61622         * nss/makedb.c: Rewritten to not use database library.
61623         * nss/Makefile: Update to build new makedb program.
61625 2011-06-14  Andreas Jaeger  <aj@suse.de>
61627         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
61628         memset declaration.
61630 2011-06-10  Andreas Schwab  <schwab@redhat.com>
61632         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
61633         tmpbuf.
61635 2011-06-10  Roland McGrath  <roland@hack.frob.com>
61637         * Makerules (shlib.lds): Fail if the linker script comes out empty.
61638         * elf/Makefile ($(objpfx)ld.so): Likewise.
61640         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
61641         Don't list ld.so twice in dependencies.
61643         * posix/bug-regex31.c: Include <stdlib.h>.
61645         * nscd/hstcache.c (cache_addhst): Remove unused variable.
61647         * nis/nss_compat/compat-spwd.c
61648         (getspent_next_nss_netgr): Remove unused variable.
61649         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
61651         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
61652         nonmembers" output to use the right array.
61654         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
61656         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
61658         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
61659         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
61660         * catgets/gencat.c (read_input_file): Likewise.
61661         * locale/programs/locarchive.c (enlarge_archive): Likewise.
61663         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
61664         variable definition inside #if's controlling its use.
61666         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
61668         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
61670         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
61672         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
61673         unreachable code.
61675         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
61677         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
61678         * configure: Regenerated.
61680         * Makerules: Revert last change.
61681         * elf/Makefile: Likewise.
61683 2011-06-09  Roland McGrath  <roland@hack.frob.com>
61685         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
61686         * elf/Makefile ($(objpfx)librtld.os): Likewise.
61687         (reloc-link): Likewise.
61689 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
61691         * elf/Makefile: Add rules to build pldd.
61692         * elf/pldd.c: New file.
61693         * elf/pldd-xx.c: New file.
61695 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
61697         * version.h: Update for 2.15 development version.
61699 2011-06-07  David S. Miller  <davem@davemloft.net>
61701         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
61702         ifuncs.
61703         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
61704         elf_machine_lazy_rel): Likewise.
61705         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
61706         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
61707         elf_machine_lazy_rel): Likewise.
61708         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
61709         dl_hwcap via passed in argument.
61710         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
61711         Likewise.
61713 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61715         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
61717 2011-06-06  Roland McGrath  <roland@hack.frob.com>
61719         [BZ #12849]
61720         * manual/fdl-1.1.texi: New file, verbatim from:
61721         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
61722         * manual/lgpl-2.1.texi: New file, verbatim from:
61723         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61724         * manual/Makefile (licenses): New variable, list those new file names.
61725         (texis): Use it.
61726         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61728         * manual/fdl.texi: File removed.
61729         * manual/lesser.texi: File removed.
61730         * manual/libc.texinfo (Copying, Documentation License):
61731         Use new @include file names, put @appendix directive before @include.
61733 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
61735         [BZ #12841]
61736         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61737         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61738         (mq_open): Add __NTH.
61740 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
61742         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61743         Assume Intel Core i3/i5/i7 processor if AVX is available.
61745 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61747         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61748         typo.
61750 2011-05-31  Andreas Schwab  <schwab@redhat.com>
61752         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61753         memory.  Use alloca_account.  Fix memory leak when retrying.
61755 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61757         * version.h (RELEASE): Bump for 2.14 release.
61758         * include/features.h (__GLIBC_MINOR__): Bump to 14.
61760         * config.make.in (RANLIB): Remove entry.
61762 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
61764         * po/Makefile (po-sed-cmd): Add ksh to extensions.
61765         (libc.pot): Work around missing support for .ksh extension in xgettext.
61767         [BZ #12684]
61768         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61769         if both request failed.
61770         (send_dg): In case of server errors clear resplen or *resplen2.
61772         [BZ #12454]
61773         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61774         when there are multiple maps.
61775         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61776         (_dl_fini): Remove test here.
61778         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61780 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61782         [BZ #12350]
61783         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61784         bit from old_res_options.
61785         (gaih_inet): Likewise.
61787         [BZ #11099]
61788         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61789         as signed.
61791         * resolv/res_init.c (res_setoptions): Make the code more compact.
61793         [BZ #11558]
61794         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61795         set RES_USEVC.
61797         [BZ #11634]
61798         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61800         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61802         [BZ #11781]
61803         * malloc/malloc.h: Declare malloc hook variables as volatile.
61805         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61806         in last patch.
61808         [BZ #11799]
61809         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61810         raise in the comment.
61811         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61812         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61813         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61815 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61817         [BZ #12811]
61818         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61819         grow the buffers more if it already has to be sufficient.
61820         (build_wcs_upper_buffer): Likewise.
61821         * posix/regexec.c (check_matching): Likewise.
61822         (clean_state_log_if_needed): Likewise.
61823         (extend_buffers): Don't enlarge buffers beyond size of the input
61824         buffer.
61825         Patches mostly by Emil Wojak <emil@wojak.eu>.
61826         * posix/bug-regex32.c: New file.
61827         * posix/Makefile (tests): Add bug-regex32.
61829         * locale/findlocale.c (_nl_find_locale): Return right away if
61830         _nl_explode_name failed.
61831         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61833         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61835         * debug/xtrace.sh: Unify messages.
61836         * malloc/memusage.sh: Likewise.
61838         [BZ #12813]
61839         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61840         time symbol from vDSO.  Substitute with vsyscall if not available.
61841         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61842         __vdso_time.
61844         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61845         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61846         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61847         Add sendmmsg and internal_sendmmsg.
61848         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61849         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61850         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61852         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61853         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61854         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61856 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61858         [BZ #12813]
61859         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61860         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61861         available.
61862         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61863         __vdso_getcpu.
61865         [BZ #12814]
61866         * iconvdata/Makefile (tests): Add bug-iconv9.
61867         * iconvdata/bug-iconv9.c: New file.
61869 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61871         [BZ #12814]
61872         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61874 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61876         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61877         (struct user_regs_struct): Change intcs field back to cs.
61879 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61881         * po/ja.po: Update from translation team.
61883 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61885         [BZ #12795]
61886         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61887         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61889 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61891         * stdlib/longlong.h: Update from GCC.
61893 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61895         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61896         parameter name.
61897         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61898         Add parameter name.
61899         (__sysconf): Pass it down.
61901 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61903         [BZ #12671]
61904         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61905         some situations.
61906         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61907         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61908         add in in __libc_use_alloca calls.  Adjust callers.
61909         (glob): Use malloc in some situations.
61911         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61912         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61913         pltexit.
61915 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61917         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61918         and CLOCK_BOOTTIME_ALARM.
61920         [BZ #12782]
61921         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61922         is returned.
61924         * string/_strerror.c (__strerror_r): Print negative errors as signed
61925         numbers.
61927         [BZ #12777]
61928         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61929         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61930         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61932         * configure.in: Fix typo in redirection and correct removal of test
61933         files in two cases.
61935         [BZ #12788]
61936         * locale/setlocale.c (new_composite_name): Fix test to check for
61937         identical name of all categories.
61939         [BZ #12792]
61940         * libio/filedoalloc.c (local_isatty): New function.
61941         (_IO_file_doallocate): Use local_isatty.
61942         * stdio-common/perror.c (perror): In case a new stream is used
61943         forward the stream error.
61944         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61945         error flag.
61947 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61949         [BZ #11869]
61950         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61951         alloca.
61952         * include/alloca.h (extend_alloca_account): Define.
61954         [BZ #11857]
61955         * posix/regex.h: Fix comments with documentation of user-accessible
61956         fields after compilation and describe correct free'ing of pattern
61957         after re_compile_pattern.
61958         Patch by Reuben Thomas <rrt@sc3d.org>.
61960 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61962         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61963         and -mno-altivec to prevent the compiler from using Altivec and/or
61964         VSX instructions when the corresponding registers are not available.
61966 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61968         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61970 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61972         * libio/freopen.c (freopen): Use __dup2, not dup2.
61973         * libio/freopen64.c (freopen64): Likewise.
61975 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61977         [BZ #12775]
61978         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61979         * math/Makefile (tests): Add test-powl.
61980         (CFLAGS-test-powl.c): Define.
61981         * math/test-powl.c: New file.
61983 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61985         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61987 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61989         [BZ #11837]
61990         * iconvdata/gb18030.c: Update to GB18020-2005.
61992 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61994         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61995         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61996         Patch by Aharon Robbins <arnold@skeeve.com>.
61998         [BZ #11892]
61999         * stdlib/putenv.c (putenv): Don't always create copy of the variable
62000         on the stack.
62002         [BZ #11895]
62003         * misc/pselect.c (__pselect): Handle timeout value errors hidden
62004         through underflows.
62006         [BZ #12766]
62007         * misc/error.c (error_at_line): Ensure file_name and old_file_name
62008         point to strings before performing equality test for error_one_per_line
62009         mode.
62011         [BZ #11697]
62012         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
62014         [BZ #11820]
62015         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62016         (struct user_fpregs_struct): Avoid __uint*_t types.
62018         [BZ #6420]
62019         * malloc/mtrace.c (tr_where): Add additional parameter to point to
62020         symbol info.  Use it instead of calling _dl_addr locally.
62021         (lock_and_info): New function.
62022         (tr_freehook): Call lock_and_info and pass symbol info as additional
62023         parameter to tr_where.
62024         (tr_mallochook): Likewise.
62025         (tr_reallochook): Likewise.
62026         (tr_memalignhook): Likewise.
62028         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
62029         used and couldn't be at all thread-safe.
62031 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
62033         * libio/freopen.c (freopen): Don't close old file descriptor
62034         before the new one is opened.  Instead dup the new file descriptor
62035         to the old one after the new stream is created.
62036         * libio/freopen64.c (freopen64): Likewise.
62037         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
62038         * libio/fileops.c (_IO_new_file_close_it): Handle new
62039         _IO_FLAGS2_NOCLOSE flag.
62040         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
62041         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
62042         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
62043         _IO_FLAGS2_NOCLOSE flag.
62044         * include/unistd.h: Add hidden_proto for dup3.
62045         Define __have_dup3.
62046         * io/dup3.c: Define hidden symbol.
62047         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
62049         [BZ #7101]
62050         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
62051         when an incomplete long option is used.
62052         * posix/tst-getopt_long1.c: New file.
62053         * posix/Makefile (tests): Add tst-getopt_long1.
62055         [BZ #10138]
62056         * scripts/config.guess: Update from autoconf-2.68.
62057         * scripts/config.sub: Likewise.
62059         [BZ #10157]
62060         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
62061         tests into ...
62062         (has_cpuclock): ...this.  New function.
62063         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
62064         macro here based on has_cpuclock code.
62066         [BZ #10149]
62067         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62068         First byte (not low byte) is now always NUL.
62069         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
62071         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62072         Use non-cancelable interfaces.
62074         [BZ #9809]
62075         * locale/iso-639.def: Add entry for Sorani.
62077         [BZ #11901]
62078         * include/stdlib.h: Move include protection to the right place.
62079         Define abort_msg_s.  Declare __abort_msg with it.
62080         * stdlib/abort.c (__abort_msg): Adjust type.
62081         * assert/assert.c (__assert_fail_base): New function.  Majority
62082         of code from __assert_fail.  Allocate memory for __abort_msg with
62083         mmap.
62084         (__assert_fail): Now call __assert_fail_base.
62085         * assert/assert-perr.c: Remove bulk of implementation.  Use
62086         __assert_fail_base.
62087         * include/assert.hL Declare __assert_fail_base.
62088         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
62089         mmap.
62090         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
62092 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
62094         [BZ #11952]
62095         [BZ #12453]
62096         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
62097         until all modules are registered in the DTV.
62098         * elf/Makefile: Add rules to build and run tst-tls19.
62099         * elf/tst-tls19.c: New file.
62100         * elf/tst-tls19mod1.c: New file.
62101         * elf/tst-tls19mod2.c: New file.
62102         * elf/tst-tls19mod3.c: New file.
62103         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
62105         [BZ #12083]
62106         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
62107         correctly.
62109         [BZ #12601]
62110         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
62111         two-byte sequence errors.
62112         * iconvdata/Makefile (tests): Add bug-iconv8.
62113         * iconvdata/bug-iconv8.c: New file.
62115         [BZ #12626]
62116         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
62117         buf2 definition.
62119         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
62121         [BZ #12432]
62122         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
62123         (dummy_getcfa): New function.
62124         (init): Get _Unwind_GetCFA address, use dummy if not found.
62125         (backtrace_helper): In recursion check, also check whether CFA changes.
62126         (__backtrace): Completely initialize arg.
62128         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
62129         storing incomplete byte sequence in state object.  Avoid testing for
62130         guaranteed too small input if we know there is enough data available.
62132 2011-05-11  Andreas Schwab  <schwab@redhat.com>
62134         * Makeconfig (+link-pie): Indent.
62135         * Rules (binaries-pie): Define if $(have-fpie) and
62136         $(build-shared).
62137         (binaries-shared): Also filter out $(binaries-pie).
62138         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
62139         * nscd/Makefile (others-pie): Add nscd.
62140         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
62141         ($(objpfx)nscd): Remove command override.
62142         * login/Makefile (others-pie): Add pt_chown.
62143         ($(objpfx)pt_chown): Remove command override.
62144         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
62145         remove command overrides.
62147 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
62149         * libio/tst_putwc.c: Fix error messages.
62151         [BZ #12724]
62152         * libio/fileops.c (_IO_new_file_close_it): Always flush when
62153         currently writing and seek to current position when not.
62154         * libio/Makefile (tests): Add bug-fclose1.
62155         * libio/bug-fclose1.c: New file.
62157 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
62159         [BZ #12511]
62160         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
62161         don't set DF_1_NODELETE here.
62162         (do_lookup_x): When entering new entry test for copy relocation
62163         and if necessary set DF_1_NODELETE flag.
62164         * elf/tst-unique4.cc: New file.
62165         * elf/tst-unique4.h: New file.
62166         * elf/tst-unique4lib.cc: New file.
62167         * elf/Makefile: Add rules to build and run tst-unique4.
62168         Patch by Piotr Bury <pbury@goahead.com>.
62170 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
62172         [BZ #12052]
62173         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
62175         [BZ #12625]
62176         * misc/mntent_r.c (addmntent): Flush the stream after the output
62178         [BZ #12393]
62179         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
62180         (is_trusted_path_normalize): Skip initial colon.  Append slash
62181         to empty buffer.  Duplicate is_trusted_path code but allow
62182         constructed patch to be prefix.
62183         (is_dst): Allow $ORIGIN followed by /.
62184         (_dl_dst_substitute): Correct clearing of check_for_trusted.
62185         Correct testing of result of is_trusted_path_normalize
62186         (decompose_rpath): Fix warning.
62188 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
62190         [BZ #11257]
62191         * grp/initgroups.c (internal_getgrouplist): When we found the service
62192         list through the initgroups entry in nsswitch.conf do not always
62193         continue on a successful lookup.  Don't always use the
62194         __nss_group_database value if it is set.
62195         * nss/nsswitch.conf (initgroups): Change action for successful db
62196         lookup to continue for compatibility.
62198 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
62200         [BZ #11532]
62201         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
62202         and CP774 modules.
62203         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
62204         and CP774 modules.
62205         * iconvdata/tst-tables.sh: Likewise.
62206         * iconvdata/cp770.c: New file.
62207         * iconvdata/cp771.c: New file.
62208         * iconvdata/cp772.c: New file.
62209         * iconvdata/cp773.c: New file.
62210         * iconvdata/cp774.c: New file.
62211         * iconvdata/testdata/CP770: New file.
62212         * iconvdata/testdata/CP770..UTF8: New file.
62213         * iconvdata/testdata/CP771: New file.
62214         * iconvdata/testdata/CP771..UTF8: New file.
62215         * iconvdata/testdata/CP772: New file.
62216         * iconvdata/testdata/CP772..UTF8: New file.
62217         * iconvdata/testdata/CP773: New file.
62218         * iconvdata/testdata/CP773..UTF8: New file.
62219         * iconvdata/testdata/CP774: New file.
62220         * iconvdata/testdata/CP774..UTF8: New file.
62222         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
62223         END CHARMAP line.
62224         * iconvdata/gen-8bit-gap.sh: Likewise.
62225         * iconvdata/gen-8bit.sh: Likewise.
62227         * locale/iso-639.def: Add ary entry.
62229         [BZ #11258]
62230         * locale/C-translit.h.in: Add U20A1 transliteration.
62232         [BZ #12178]
62233         * locale/iso-639.def: Add wae entry.
62234         Patch by Kevin Bortis <bortis@translate-wae.ch>.
62236         [BZ #12545]
62237         * locale/programs/localedef.c (construct_output_path): Use ssize_t
62238         for n.
62240         [BZ #12711]
62241         * locale/C-translit.h.in: Add entry for U20B9.
62242         Patch by pravin.d.s@gmail.com.
62244 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
62246         [BZ #12713]
62247         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
62248         ENAMETOOLONG use generic getcwd.
62249         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
62250         in rtld.  Use *stat64.
62251         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
62252         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
62253         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
62254         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
62255         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
62256         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
62257         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
62258         __fstatat64 macros.
62259         * include/dirent.h: Add libc_hidden_proto for rewinddir.
62260         * dirent/rewinddir.c: Add libc_hidden_def.
62261         * sysdeps/mach/hurd/rewinddir.c: Likewise.
62262         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
62264         * include/dirent.h (__alloc_dir): Add flags parameter.
62265         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
62266         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
62267         __alloc_dir.
62268         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
62269         from fdopendir if O_CLOEXEC is already set.
62271 2011-03-15  Alan Modra  <amodra@gmail.com>
62273         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
62274         l_tls_firstbyte_offset non-zero.  Save padding offset in
62275         l_tls_firstbyte_offset for later use.
62276         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
62277         freeing static tls block.
62279 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
62281         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
62282         where #ifdef was intended.  The intent is to prevent ARG_MAX from
62283         being defined by the kernel headers.
62285 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
62287         [BZ #12734]
62288         * resolv/resolv.h: Define RES_NOTLDQUERY.
62289         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
62290         no-tld-query and set RES_NOTLDQUERY.
62291         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
62292         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
62293         modern BIND to search name as TLD unless forbidden.
62295 2011-05-07  Petr Baudis  <pasky@suse.cz>
62296             Ulrich Drepper  <drepper@gmail.com>
62298         [BZ #12393]
62299         * elf/dl-load.c (fillin_rpath): Move trusted path check...
62300         (is_trusted_path): ...to here.
62301         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
62302         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
62303         using is_trusted_path_normalize() in setuid scripts.
62305 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62307         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
62308         __BEGIN/__END_DECLS.
62310 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
62312         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
62313         NSS_STATUS_NOTFOUND if no record was found.
62315 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62317         * sunrpc/Makefile (headers): Add rpc/netdb.h.
62318         (headers-not-in-tirpc): Remove rpc/netdb.h
62319         * resolv/netdb.h: Revert last change.
62321 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62323         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
62324         circular dependency between libgcc.a and libc.a.
62326 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62328         * resolv/netdb.h: Don't include <rpc/netdb.h>.
62329         * nis/Makefile: Don't install rpcsvc/*.
62330         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
62331         instead of <rpc/types.h>.
62332         (MAXHOSTNAMELEN): Define.
62334 2011-05-03  Andreas Schwab  <schwab@redhat.com>
62336         * elf/ldconfig.c (add_dir): Don't crash on empty path.
62338 2011-04-28  Maciej Babinski  <mbabinski@google.com>
62340         [BZ #12714]
62341         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
62342         gethostbyname4_r when IPv6 results are possible.
62344 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
62346         [BZ #12723]
62347         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
62348         _PC_PIPE_BUF handling.
62350 2011-04-30  Bruno Haible  <bruno@clisp.org>
62352         [BZ #12717]
62353         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
62354         * resolv/netdb.h (getnameinfo): Change type of flags parameter
62355         to 'int'.
62356         * inet/getnameinfo.c (getnameinfo): Likewise.
62358 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
62360         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
62361         to groups setting in database lookup.
62362         * nss/nsswitch.conf: Add initgroups entry.
62364 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
62366         [BZ #12685]
62367         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
62368         mode string.
62369         Patch by Eric Blake <eblake@redhat.com>.
62371 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
62373         * sunrpc/Makefile (need-export-routines): Add svc_run.
62374         (routines): Remove svc_run.
62375         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
62376         * sunrpc/clnt_perr.c (clnt_perrno): Export.
62377         * sunrpc/svc_run.c (svc_run): Likewise.
62378         * sunrpc/svc_udp.c (svcudp_create): Likewise.
62380 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
62382         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
62383         problem in reallocation in last patch.
62385 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
62387         * sunrpc/Makefile: Move inclusion of Rules.
62389 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62391         * nss/nss_files/files-initgroups.c: New file.
62392         * nss/Makefile (libnss_files-routines): Add files-initgroups.
62393         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
62394         _nss_files_initgroups_dyn.
62396 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
62398         * elf/elf.h (R_ARM_IRELATIVE): Define.
62400 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62402         * po/ru.po: Update from translation team.
62404 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62406         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
62407         dependencies.
62409 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
62411         [BZ #12653]
62412         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
62413         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
62414         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62415         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62416         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62418 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
62420         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
62421         differing bytes.
62422         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62423         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62424         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62426 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62428         [BZ #12420]
62429         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
62430         storing it.
62431         * stdlib/bug-getcontext.c: New file.
62432         * stdlib/Makefile: Add rules to build and run bug-getcontext.
62434 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62436         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
62437         instructions into .machine "z9-109".
62438         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
62439         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
62441 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62443         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
62444         between environment variables and auxiliary vector.
62446 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
62448         * Makefile: Add rules to build linkobj/libc.so.
62449         * include/libc-symbols.h: Define libc_hidden_nolink.
62450         * include/rpc/auth.h: Mark functions which are to be hidden.
62451         * include/rpc/auth_des.h: Likewise.
62452         * include/rpc/auth_unix.h: Likewise.
62453         * include/rpc/clnt.h: Likewise.
62454         * include/rpc/des_crypt.h: Likewise.
62455         * include/rpc/key_prot.h: Likewise.
62456         * include/rpc/pmap_clnt.h: Likewise.
62457         * include/rpc/pmap_prot.h: Likewise.
62458         * include/rpc/pmap_rmt.h: Likewise.
62459         * include/rpc/rpc_msg.h: Likewise.
62460         * include/rpc/svc.h: Likewise.
62461         * include/rpc/svc_auth.h: Likewise.
62462         * include/rpc/xdr.h: Likewise.
62463         * nis/Makefile: Link all DSOs against linkobj/libc.so.
62464         * nss/Makefile: Likewise.
62465         * sunrpc/Makefile: Don't install headers.  Build library with normal
62466         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
62467         * sunrpc/auth_des.c: Hide exported symbols by default, export some
62468         for the compat linking library.  Remove use of INTDEF/INTUSE.
62469         * sunrpc/auth_none.c: Likewise.
62470         * sunrpc/auth_unix.c: Likewise.
62471         * sunrpc/authdes_prot.c: Likewise.
62472         * sunrpc/authuxprot.c: Likewise.
62473         * sunrpc/clnt_gen.c: Likewise.
62474         * sunrpc/clnt_perr.c: Likewise.
62475         * sunrpc/clnt_raw.c: Likewise.
62476         * sunrpc/clnt_simp.c: Likewise.
62477         * sunrpc/clnt_tcp.c: Likewise.
62478         * sunrpc/clnt_udp.c: Likewise.
62479         * sunrpc/clnt_unix.c: Likewise.
62480         * sunrpc/des_crypt.c: Likewise.
62481         * sunrpc/des_soft.c: Likewise.
62482         * sunrpc/get_myaddr.c: Likewise.
62483         * sunrpc/key_call.c: Likewise.
62484         * sunrpc/key_prot.c: Likewise.
62485         * sunrpc/netname.c: Likewise.
62486         * sunrpc/pm_getmaps.c: Likewise.
62487         * sunrpc/pm_getport.c: Likewise.
62488         * sunrpc/pmap_clnt.c: Likewise.
62489         * sunrpc/pmap_prot.c: Likewise.
62490         * sunrpc/pmap_prot2.c: Likewise.
62491         * sunrpc/pmap_rmt.c: Likewise.
62492         * sunrpc/publickey.c: Likewise.
62493         * sunrpc/rpc_cmsg.c: Likewise.
62494         * sunrpc/rpc_common.c: Likewise.
62495         * sunrpc/rpc_dtable.c: Likewise.
62496         * sunrpc/rpc_prot.c: Likewise.
62497         * sunrpc/rpc_thread.c: Likewise.
62498         * sunrpc/rtime.c: Likewise.
62499         * sunrpc/svc.c: Likewise.
62500         * sunrpc/svc_auth.c: Likewise.
62501         * sunrpc/svc_authux.c: Likewise.
62502         * sunrpc/svc_raw.c: Likewise.
62503         * sunrpc/svc_run.c: Likewise.
62504         * sunrpc/svc_simple.c: Likewise.
62505         * sunrpc/svc_tcp.c: Likewise.
62506         * sunrpc/svc_udp.c: Likewise.
62507         * sunrpc/svc_unix.c: Likewise.
62508         * sunrpc/svcauth_des.c: Likewise.
62509         * sunrpc/xcrypt.c: Likewise.
62510         * sunrpc/xdr.c: Likewise.
62511         * sunrpc/xdr_array.c: Likewise.
62512         * sunrpc/xdr_float.c: Likewise.
62513         * sunrpc/xdr_intXX_t.c: Likewise.
62514         * sunrpc/xdr_mem.c: Likewise.
62515         * sunrpc/xdr_rec.c: Likewise.
62516         * sunrpc/xdr_ref.c: Likewise.
62517         * sunrpc/xdr_sizeof.c: Likewise.
62518         * sunrpc/xdr_stdio.c: Likewise.
62520 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
62522         [BZ #12650]
62523         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
62524         * sysdeps/ia64/dl-tls.h: Likewise.
62525         * sysdeps/powerpc/dl-tls.h: Likewise.
62526         * sysdeps/s390/dl-tls.h: Likewise.
62527         * sysdeps/sh/dl-tls.h: Likewise.
62528         * sysdeps/sparc/dl-tls.h: Likewise.
62529         * sysdeps/x86_64/dl-tls.h: Likewise.
62530         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
62532 2011-03-14  Andreas Schwab  <schwab@redhat.com>
62534         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
62535         rpath element also skip the following colon.
62536         (expand_dynamic_string_token): Add is_path parameter and pass
62537         down to DL_DST_REQUIRED and _dl_dst_substitute.
62538         (decompose_rpath): Call expand_dynamic_string_token with
62539         non-zero is_path.  Ignore empty rpaths.
62540         (_dl_map_object_from_fd): Call expand_dynamic_string_token
62541         with zero is_path.
62543 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
62545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62546         Make cancelable.
62548 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
62550         [BZ #12655]
62551         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
62552         Patch by Filipe David Manana <fdmanana@apache.org>.
62554 2011-04-07  Andreas Schwab  <schwab@redhat.com>
62556         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
62557         Maintain aligned stack.
62558         (CHECK_RSP): Remove unused macro.
62560 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
62562         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
62563         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
62565 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
62567         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
62569         * include/features.h: Mention __USE_XOPEN2K8 in comment.
62571 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
62573         [BZ #12518]
62574         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
62575         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
62576         * sysdeps/x86_64/memmove.c: New file.
62577         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
62578         (memcpy): Renamed to ...
62579         (__new_memcpy): This.
62580         (memcpy): Provide GLIBC_2_14 memcpy.
62581         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
62582         (memcpy): Provide GLIBC_2_2_5 memcpy.
62584 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62586         [BZ #12631]
62587         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
62589 2011-03-30  Andreas Schwab  <schwab@redhat.com>
62591         * misc/syncfs.c: New file.
62592         * misc/Makefile (routines): Add syncfs.
62593         * posix/unistd.h: Declare syncfs.
62594         * sysdeps/unix/syscalls.list: Add syncfs.
62596 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62598         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
62599         open_by_handle_at.
62600         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62601         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62602         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62603         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62604         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62605         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
62606         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62608 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62610         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
62611         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62612         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
62613         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62614         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62615         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62616         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62618         * io/Makefile: Compile fallocate.c, fallocate64.c, and
62619         sync_file_range.c with -fexceptions.
62620         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
62621         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
62622         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
62623         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
62624         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
62625         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62626         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
62627         sync_file_range as cancellation point
62628         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
62629         now a wrapper around __call_sync_file_range with cancellation handling.
62630         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
62631         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
62632         function name to __call_sync_file_range.
62633         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
62634         Add call_sync_file_range.
62636 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62638         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62639         bits/timex.h.
62641 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62643         * iconv/iconv.h: Fix typo in comment.
62644         * io/fcntl.h: Likewise.
62645         * libio/stdio.h: Likewise.
62646         * posix/spawn.h: Likewise.
62647         * posix/unistd.h: Likewise.
62648         * stdlib/stdlib.h: Likewise.
62649         * time/time.h: Likewise.
62650         * wcsmbs/wchar.h: Likewise.
62652         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
62653         open_by_handle): Add.
62654         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
62655         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
62656         Augment a few comments.
62657         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62658         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62659         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62660         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62661         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62662         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
62663         open_by_handle.
62665         * io/fcntl.h (AT_EMPTY_PATH): Define.
62667 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
62669         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
62670         * sysdeps/unix/sysv/linux/bits/time.h: New file.
62671         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
62672         to...
62673         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
62674         * Versions.def: Add GLIBC_2.14.
62675         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
62676         Export.
62678 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
62680         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
62681         round counter.
62682         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62684 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62686         [BZ #12597]
62687         * string/test-strncmp.c (do_page_test): New function.
62688         (check2): Likewise.
62689         (test_main): Call check2.
62690         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
62692 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
62694         [BZ #12587]
62695         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
62696         Handle cache information in CPU leaf 4.
62697         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62699 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
62701         [BZ #12583]
62702         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
62703         character representation.
62704         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
62706 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
62708         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
62709         END(__isnan) to END(__isnanf) to match function entry point/label
62710         EALIGN(__isnanf,...).
62712 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
62714         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
62716 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
62718         [BZ #12510]
62719         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
62720         copy from the symbol referenced in the relocation to initialize the
62721         used variable.
62722         Patch by Piotr Bury <pbury@goahead.com>.
62723         * elf/Makefile: Add rules to build and tst-unique3.
62724         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62725         * elf/tst-unique3.cc: New file.
62726         * elf/tst-unique3.h: New file.
62727         * elf/tst-unique3lib.cc: New file.
62728         * elf/tst-unique3lib2.cc: New file.
62730         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62732 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
62734         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62735         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
62736         to _start.
62738 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
62740         * elf/dl-load.c (_dl_map_object): If we are looking for the first
62741         to-be-loaded object along a path to loader is ld.so.
62743 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62744             Ulrich Drepper  <drepper@gmail.com>
62746         * sysdeps/x86_64/memset.S: After aligning destination, code
62747         branches to different locations depending on the value of
62748         misalignment, when multiarch is enabled. Fix this.
62750 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62752         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62753         Set _x86_64_preferred_memory_instruction for AMD processsors.
62754         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62755         Set bit_Prefer_SSE_for_memop for AMD processors.
62757 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
62759         * libio/fmemopen.c (fmemopen): Optimize a bit.
62761 2011-03-03  Andreas Schwab  <schwab@redhat.com>
62763         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62765 2011-03-03  Roland McGrath  <roland@redhat.com>
62767         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62769 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
62771         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62772         __bzero_ultra1 instead of __memset_ultra1.
62774 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62775             Ulrich Drepper  <drepper@gmail.com>
62777         [BZ #12509]
62778         * include/link.h (struct link_map): Add l_orig_initfini.
62779         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62780         returning unsuccessfully.
62781         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62782         close of a file loaded at startup, restore the original l_initfini
62783         list.
62784         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62785         list, store the pointer.
62786         * elf/Makefile ($(objpfx)noload-mem): New rule.
62787         (noload-ENV): Define.
62788         (tests): Add $(objpfx)noload-mem.
62789         * elf/noload.c: Include <memcheck.h>.
62790         (main): Call mtrace.  Close all opened handles.
62792 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62794         [BZ #12454]
62795         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62796         dependencies are missing.
62798 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62800         Fix __if_freereq crash: Unlike the generic version which uses free,
62801         Hurd needs munmap.
62802         * sysdeps/mach/hurd/ifreq.h: New file.
62804 2011-01-27  Petr Baudis  <pasky@suse.cz>
62805             Ulrich Drepper  <drepper@gmail.com>
62807         [BZ 12445]#
62808         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62809         to extend_alloca().
62810         * stdio-common/bug23.c: New file.
62811         * stdio-common/Makefile (tests): Add bug23.
62813 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62814             Ulrich Drepper  <drepper@gmail.com>
62816         [BZ #12489]
62817         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62818         before performing relro protection.  At old place add assertion
62819         to make sure nothing changed.
62821 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62822             Glauber de Oliveira Costa  <glommer@gmail.com>
62824         * elf/elf.h: Add new ARM TLS relocs.
62826 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62829         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62830         cast from r3.
62831         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62832         'tests' variable.
62833         * sysdeps/wordsize-64/tst-writev.c: New file.
62835 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62837         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62838         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62839         insns in _dl_start to prevent a TOC reference before relocs are
62840         resolved.
62842 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62844         [BZ #12469]
62845         * Makeconfig: Remove RANLIB definition.
62846         * Makerules: Don't use RANLIB.
62847         * aclocal.m4: Remove ranlib test.
62848         * configure.in: No need to check for ranlib.
62849         * elf/rtld-Rules: Don't use RANLIB.
62851 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62853         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62854         protection macro.
62855         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62856         inclusion protection macro.
62858         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62859         SIGRTMIN and SIGRTMAX and print information in that case only when
62860         SIGRTMIN is defined.
62862 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62864         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62865         arginfo fn returning -1.
62867         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62868         and thousands string is zero terminated.
62870 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62872         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62873         sysdeps/unix/sysv/linux/bits/socket.h.
62875 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62877         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62878         (__CPU_COUNT): Remove old macros.
62879         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62880         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62881         (__CPU_ALLOC, __CPU_FREE): Add macros.
62882         (__sched_cpualloc, __sched_cpufree): Add declarations.
62884 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62886         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62887         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62888         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62889         (readdhstai): Return value of addhstaiX call.
62890         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62891         (addgrbyX): Return value returned by cache_addgr.
62892         (readdgrbyname): Return value returned by addgrbyX.
62893         (readdgrbygid): Likewise.
62894         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62895         (addpwbyX): Return value returned by cache_addpw.
62896         (readdpwbyname): Return value returned by addhstbyX.
62897         (readdpwbyuid): Likewise.
62898         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62899         (addservbyX): Return value returned by cache_addserv.
62900         (readdservbyname): Return value returned by addservbyX:
62901         (readdservbyport): Likewise.
62902         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62903         (addhstbyX): Return value returned by cache_addhst.
62904         (readdhstbyname): Return value returned by addhstbyX.
62905         (readdhstbyaddr): Likewise.
62906         (readdhstbynamev6): Likewise.
62907         (readdhstbyaddrv6): Likewise.
62908         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62909         (readdinitgroups): Return value returned by addinitgroupsX.
62910         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62911         (prune_cache): Keep track of timeout value of re-added entries.
62912         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62913         * nscd/nscd.h: Adjust prototypes of readd* functions.
62915 2011-02-04  Roland McGrath  <roland@redhat.com>
62917         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62918         (nis_stats): Likewise.
62919         * nis/nis_modify.c (nis_modify): Likewise.
62920         * nis/nis_remove.c (nis_remove): Likewise.
62921         * nis/nis_add.c (nis_add): Likewise.
62923         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62925         * posix/fnmatch_loop.c: Add some consts.
62927         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62929 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62931         [BZ #12460]
62932         * config.make.in (config-cflags-novzeroupper): Define.
62933         * configure.in: Substitute libc_cv_cc_novzeroupper.
62934         * elf/Makefile (AVX-CFLAGS): Define.
62935         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62936         (CFLAGS-tst-auditmod4a.c): Likewise.
62937         (CFLAGS-tst-auditmod4b.c): Likewise.
62938         (CFLAGS-tst-auditmod6b.c): Likewise.
62939         (CFLAGS-tst-auditmod6c.c): Likewise.
62940         (CFLAGS-tst-auditmod7b.c): Likewise.
62941         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62943 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62945         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62946         function to the callback.
62947         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62949 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62951         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62952         of errno.
62954 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62956         [BZ #11724]
62957         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62958         of constructors.
62959         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62960         of destructors.
62961         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62963         [BZ #11724]
62964         * elf/Makefile: Add rules to build and run new test.
62965         * elf/tst-initorder.c: New file.
62966         * elf/tst-initorder.exp: New file.
62967         * elf/tst-initordera1.c: New file.
62968         * elf/tst-initordera2.c: New file.
62969         * elf/tst-initordera3.c: New file.
62970         * elf/tst-initordera4.c: New file.
62971         * elf/tst-initorderb1.c: New file.
62972         * elf/tst-initorderb2.c: New file.
62973         * elf/tst-order-a1.c: New file.
62974         * elf/tst-order-a2.c: New file.
62975         * elf/tst-order-a3.c: New file.
62976         * elf/tst-order-a4.c: New file.
62977         * elf/tst-order-b1.c: New file.
62978         * elf/tst-order-b2.c: New file.
62979         * elf/tst-order-main.c: New file.
62980         New test case by George Gensure <werkt0@gmail.com>.
62982 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62984         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62985         decoding ACE if AI_CANONIDN.
62987 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62989         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62991 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62993         * version.h (RELEASE): Bump for 2.13 release.
62994         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62996         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62998         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62999         MADV_NOHUGEPAGE.
63000         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
63001         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63002         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63003         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63004         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63005         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63007         * posix/getconf.c: Update copyright year.
63008         * catgets/gencat.c: Likewise.
63009         * csu/version.c: Likewise.
63010         * debug/catchsegv.sh: Likewise.
63011         * debug/xtrace.sh: Likewise.
63012         * elf/ldconfig.c: Likewise.
63013         * elf/ldd.bash.in: Likewise.
63014         * elf/sprof.c (print_version): Likewise.
63015         * iconv/iconv_prog.c: Likewise.
63016         * iconv/iconvconfig.c: Likewise.
63017         * locale/programs/locale.c: Likewise.
63018         * locale/programs/localedef.c: Likewise.
63019         * malloc/memusage.sh: Likewise.
63020         * malloc/mtrace.pl: Likewise.
63021         * nscd/nscd.c (print_version): Likewise.
63022         * nss/getent.c: Likewise.
63024         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
63025         PF_CAIF, and PF_ALG.
63026         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63028 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
63030         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
63031         (modules-names): Use them.
63032         (ifunc-test-modules, ifunc-pie-tests): Define.
63033         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
63034         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
63035         (test-extras): Likewise.
63036         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
63037         $(compile-command.c).
63038         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
63039         (all-built-dso): Define.
63040         (check-textrel.out, check-execstack.out): Depend on it.
63042         * configure.in: Don't override --enable-multi-arch.
63044 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
63046         [BZ #6812]
63047         * nscd/hstcache.c (tryagain): Define.
63048         (cache_addhst): Return tryagain not notfound for temporary errors.
63049         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
63050         failed.
63052 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
63054         [BZ #10563]
63055         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
63056         to make the syscall.
63057         * sysdeps/unix/sysv/linux/setgroups.c: New file.
63059         [BZ #12378]
63060         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
63061         and fall back to matching as normal character if the string ends before
63062         the matching ']' is found.  This is what POSIX requires.
63063         * posix/testfnm.c: Adjust test result.
63064         * posix/globtest.sh: Adjust test result.  Add new test.
63065         * posix/tst-fnmatch.input: Likewise.
63066         * posix/tst-fnmatch2.c: Add new test.
63068 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
63070         * elf/Makefile (check-execstack): Revert last change.  Depend on
63071         check-execstack.h.
63072         (check-execstack.h): New target.
63073         (generated): Add check-execstack.h.
63074         * elf/check-execstack.c: Include "check-execstack.h".
63075         (main): Revert last change.
63076         (handle_file): Return zero if GNU_STACK is absent and
63077         DEFAULT_STACK_PERMS doesn't include PF_X.
63079 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
63081         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
63082         in child fails because the descriptor is already closed.
63083         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
63084         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
63085         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
63087         [BZ #12397]
63088         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
63089         syscall.
63091         [BZ #10484]
63092         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
63093         temporary buffer used to handle multi lookups locally.
63094         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
63096 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
63098         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
63099         loader is ld.so.
63101 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
63103         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
63104         alignment for SSE2.
63106 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
63108         [BZ #12394]
63109         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
63110         characters.  When rounding increased number of integer digits recompute
63111         number of groups.
63112         * stdio-common/tst-grouping.c: New file.
63113         * stdio-common/Makefile: Add rules to build and run tst-grouping.
63115 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
63117         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
63118         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
63120         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
63121         void.
63122         * bits/select.h: Likewise.
63124 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
63126         * po/ja.po: Update from translation team.
63128 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
63130         [BZ #11155]
63131         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
63132         implementation just like for lxstat, fxstatat, et al.
63134 2010-12-27  Jim Meyering  <meyering@redhat.com>
63136         [BZ #12348]
63137         * posix/regexec.c (build_trtable): Return failure indication upon
63138         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
63140 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
63142         [BZ #12201]
63143         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
63144         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
63145         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
63146         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
63148         [BZ #12207]
63149         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
63151         [BZ #12204]
63152         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
63153         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
63155 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
63157         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
63158         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
63159         script has SORT_BY_INIT_PRIORITY.
63160         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
63161         NO_CTORS_DTORS_SECTIONS is defined.
63162         * elf/soinit.c: Likewise.
63163         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
63164         NO_CTORS_DTORS_SECTIONS is defined.
63165         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
63166         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
63167         * sysdeps/sh/init-first.c: Likewise.
63168         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
63170 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
63172         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
63173         always use the slow path.
63175 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
63177         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
63178         similar rule which adds the sysdep directories to the header search in
63179         order to pick up the correct platform stackinfo.h.
63180         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
63181         perform test if it is, otherwise return successfully without testing.
63182         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
63183         DEFAULT_STACK_PERMS define in stackinfo.h.
63184         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
63185         defined in stackinfo.h.
63186         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
63187         DEFAULT_STACK_PERMS defined in stackinfo.h.
63188         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
63189         * sysdeps/ia64/stackinfo.h: Likewise.
63190         * sysdeps/s390/stackinfo.h: Likewise.
63191         * sysdeps/sh/stackinfo.h: Likewise.
63192         * sysdeps/sparc/stackinfo.h: Likewise.
63193         * sysdeps/x86_64/stackinfo.h: Likewise.
63194         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
63195         PF_X for powerpc64.  Retain PF_X for powerpc32.
63197 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
63199         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
63200         accurately.
63201         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
63202         GETDENTS_64BIT_ALIGNED.
63204 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
63206         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
63208 2010-12-10  Andreas Schwab  <schwab@redhat.com>
63210         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
63211         _GNU_SOURCE.
63213         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
63214         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
63215         Remove __restrict.
63216         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
63217         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
63219 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
63221         [BZ #11655]
63222         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
63223         are initialized.
63225 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
63227         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
63229 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
63231         * po/it.po: Update from translation team.
63233 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
63235         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
63236         unused codes.
63238 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
63240         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
63242 2010-11-24  Andreas Schwab  <schwab@redhat.com>
63244         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
63245         specially.
63246         (gaih_getanswer_slice): Likewise.
63248 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
63250         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
63252 2010-05-31  Petr Baudis  <pasky@suse.cz>
63254         [BZ #11149]
63255         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
63256         silently even in the chroot mode.
63258 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
63260         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
63261         last patch a bit.  Pretty printing
63263 2010-05-31  Petr Baudis <pasky@suse.cz>
63265         [BZ #10085]
63266         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
63267         initialization of skip_initgroups_dyn.
63269 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
63271         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
63272         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63274 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
63276         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
63278 2010-11-11  Andreas Schwab  <schwab@redhat.com>
63280         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
63281         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
63282         (tst-fnmatch-ENV): Set MALLOC_TRACE.
63283         ($(objpfx)tst-fnmatch-mem): New rule.
63284         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
63285         * posix/tst-fnmatch.c (main): Call mtrace.
63287 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
63289         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63290         Support Intel processor model 6 and model 0x2c.
63292 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
63294         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
63295           signed comparison.
63297 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
63299         [BZ #12205]
63300         * string/test-strncasecmp.c (check_result): New function.
63301         (do_one_test): Use it.
63302         (check1): New function.
63303         (test_main): Use it.
63304         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
63305         Support strcasecmp and strncasecmp.
63307 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
63309         [BZ #12194]
63310         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
63311         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63313 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
63315         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
63316         IFUNC support.
63317         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63318         memset-x86-64.
63319         * sysdeps/x86_64/multiarch/bzero.S: New file.
63320         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
63321         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
63322         * sysdeps/x86_64/multiarch/memset.S: New file.
63323         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
63324         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63325         Set bit_Prefer_SSE_for_memop for Intel processors.
63326         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
63327         Define.
63328         (index_Prefer_SSE_for_memop): Define.
63329         (HAS_PREFER_SSE_FOR_MEMOP): Define.
63331 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
63333         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
63334         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
63336 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
63338         [BZ #12191]
63339         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63340         (__x86_64_raw_data_cache_size_half): Likewise.
63341         (__x86_64_raw_shared_cache_size): Likewise.
63342         (__x86_64_raw_shared_cache_size_half): Likewise.
63344         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63345         (__x86_64_raw_data_cache_size_half): Likewise.
63346         (__x86_64_raw_shared_cache_size): Likewise.
63347         (__x86_64_raw_shared_cache_size_half): Likewise.
63348         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
63349         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
63350         and __x86_64_raw_shared_cache_size_half.  Round
63351         __x86_64_data_cache_size_half, __x86_64_data_cache_size
63352         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
63353         to multiple of 256 bytes.
63355 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
63357         [BZ #12167]
63358         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
63359         of inacessible symlinks.  Verify result of symlink before returning it.
63360         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
63361         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
63363 2010-10-28  Erich Ritz  <erichritz@gmail.com>
63365         * math/math.h (isinf): Fix typo in comment.
63367 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
63369         * po/da.po: Update from translation team.
63371 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
63373         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
63374         is added to the list.
63376 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63377             Ulrich Drepper  <drepper@gmail.com>
63379         * elf/dl-object.c (_dl_new_object): Don't append the new object to
63380         the global list here.  Move code to...
63381         (_dl_add_to_namespace_list): ...here.  New function.
63382         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
63383         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
63384         * elf/dl-load.c (lose): Don't remove the element from the list.
63385         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
63386         (_dl_map_object): Likewise.
63388 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
63390         [BZ #12159]
63391         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
63392         into all bytes of SSE register.
63393         Patch by Richard Li <richardpku@gmail.com>.
63395 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
63397         [BZ #12140]
63398         * malloc/malloc.c (_int_free): Fill correct number of bytes when
63399         perturbing.
63401 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
63403         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
63404         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
63405         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
63406         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
63408         submachine.
63409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
63411 2010-10-22  Andreas Schwab  <schwab@redhat.com>
63413         * include/dlfcn.h (__RTLD_SECURE): Define.
63414         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
63415         mode & __RTLD_SECURE instead.
63416         (open_path): Rename preloaded parameter to secure.
63417         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
63418         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
63419         * elf/dl-deps.c (openaux): Likewise.
63420         * elf/rtld.c (struct map_args): Remove is_preloaded.
63421         (map_doit): Don't use it.
63422         (dl_main): Likewise.
63423         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
63424         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
63426 2010-09-09  Andreas Schwab  <schwab@redhat.com>
63428         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
63429         (sysd-rules-targets): Remove duplicates.
63430         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
63431         rtld-%.$o dependency.
63433 2010-10-18  Andreas Schwab  <schwab@redhat.com>
63435         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
63436         _dl_map_object do it.
63438 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
63440         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
63441         fast fma builtins, define the macros in the C99 standard.
63442         (FP_FAST_FMAF): Likewise.
63443         (FP_FAST_FMAL): Likewise.
63444         * sysdeps/x86_64/bits/mathdef.h: Likewise.
63446         * bits/mathdef.h: Update copyright year.
63447         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63449 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
63451         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
63452         builtins, define the macros in the C99 standard.
63453         (FP_FAST_FMAF): Likewise.
63454         (FP_FAST_FMAL): Likewise.
63455         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
63456         multiply/add.
63457         (FP_FAST_FMAF): Likewise.
63459 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
63461         [BZ #3268]
63462         * math/libm-test.inc (fma_test): Some new testcases.
63463         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
63464         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
63465         y and infinite z.  Do multiplication by C already in long double.
63466         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
63467         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
63468         y and infinite z.  Do bitwise or of inexact bit into u.d.
63469         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
63470         * sysdeps/i386/fpu/s_fmaf.S: Removed.
63471         * sysdeps/i386/fpu/s_fma.S: Removed.
63472         * sysdeps/i386/fpu/s_fmal.S: Removed.
63474 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
63476         [BZ #3268]
63477         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
63478         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
63479         computation is not scheduled after fetestexcept.  Fix value
63480         of minimum denormal long double.
63482 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
63484         [BZ #3268]
63485         * math/libm-test.inc (fma_test): Add some more tests.
63486         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
63487         correctly.
63489 2010-10-15  Andreas Schwab  <schwab@redhat.com>
63491         * scripts/data/localplt-s390-linux-gnu.data: New file.
63492         * scripts/data/localplt-s390x-linux-gnu.data: New file.
63494 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
63496         [BZ #3268]
63497         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
63498         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
63499         instead of dbl-64.
63500         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
63501         inlines.
63502         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
63503         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
63504         if one of x and y is very large and the other is subnormal.
63505         * sysdeps/s390/fpu/s_fmaf.c: New file.
63506         * sysdeps/s390/fpu/s_fma.c: New file.
63507         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
63508         * sysdeps/powerpc/fpu/s_fma.S: New file.
63509         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
63510         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
63511         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
63513 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
63515         [BZ #3268]
63516         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
63517         fma tests.
63518         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
63519         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
63520         * sysdeps/i386/i686/multiarch/s_fma.c: Include
63521         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
63522         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
63523         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
63524         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
63526 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
63528         [BZ #12078]
63529         * posix/regcomp.c (parse_branch): One more memory leak plugged.
63530         * posix/bug-regex31.input: Add test case.
63532 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63534         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
63535         * posix/bug-regex31.input: New file.
63537         [BZ #12078]
63538         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
63539         (parse_sub_exp): Fix last change, use postorder.
63541         * posix/bug-regex31.c: New file.
63542         * posix/Makefile: Add rules to build and run bug-regex31.
63544         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
63546         [BZ #12078]
63547         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
63549         [BZ #12108]
63550         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
63551         to have entries in sys_siglist.
63553         [BZ #12093]
63554         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
63555         be NULL.
63557 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
63559         [BZ #3268]
63560         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
63561         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
63562         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
63563         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
63564         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63565         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
63566         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
63567         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
63568         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
63569         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
63570         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
63571         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
63572         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
63573         * math/ftestexcept.c (fetestexcept): Likewise.
63574         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
63575         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
63576         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
63577         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
63578         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
63579         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
63580         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63582 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63584         [BZ #12107]
63585         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
63586         newline.
63588 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
63590         * string/bug-strstr1.c: New file.
63591         * string/Makefile: Add rules to build and run bug-strstr1.
63593 2010-10-05  Eric Blake  <eblake@redhat.com>
63595         [BZ #12092]
63596         * string/str-two-way.h (two_way_long_needle): Always clear memory
63597         when skipping input due to the shift table.
63599 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
63601         [BZ #12005]
63602         * malloc/mcheck.c: Handle large requests.
63604         [BZ #12077]
63605         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
63606         for strncmp and strncasecmp.
63607         * string/stratcliff.c: Add tests for strcmp and strncmp.
63608         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
63610 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63612         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
63613         __set_fpscr.
63615 2010-09-30  Andreas Jaeger  <aj@suse.de>
63617         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
63618         (CGROUP_SUPER_MAGIC): Define.
63619         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63620         Handle btrfs and cgroup file systems.
63621         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63622         Likewise.
63624 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
63626         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
63627         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
63629 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63631         [BZ #12067]
63632         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
63633         trying to locate the ELF header.
63635 2010-09-27  Andreas Schwab  <schwab@redhat.com>
63637         [BZ #11611]
63638         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
63639         Mask out sign-bit copies when constructing f_fsid.
63641 2010-09-24  Petr Baudis <pasky@suse.cz>
63643         * debug/stack_chk_fail_local.c: Add missing licence exception.
63644         * debug/warning-nop.c: Likewise.
63646 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
63648         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
63649         implementing getdents64 using getdents syscall, set d_type if
63650         __ASSUME_GETDENTS32_D_TYPE.
63652 2010-09-16  Andreas Schwab  <schwab@redhat.com>
63654         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
63655         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
63657 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
63659         [BZ #12037]
63660         * posix/unistd.h: Undo change of feature selection for ftruncate from
63661         2010-01-11.
63663 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
63665         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
63666         detection.
63668 2010-09-20  Andreas Schwab  <schwab@redhat.com>
63670         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
63671         fanotify_mark.
63672         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63674 2010-09-14  Andreas Schwab  <schwab@redhat.com>
63676         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
63677         variables after CHECK_SP call.
63678         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
63680 2010-09-13  Andreas Schwab  <schwab@redhat.com>
63681             Ulrich Drepper  <drepper@redhat.com>
63683         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
63684         re-relocationg ld.so.
63685         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
63686         _dl_init_paths call.
63687         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
63688         here anymore.
63690 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
63692         * resolv/res_init.c (__res_vinit): Count the default server we added.
63694 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
63695             Ulrich Drepper  <drepper@redhat.com>
63697         [BZ #11968]
63698         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
63699         (____longjmp_chk): Use %ebx for saving value across system call.
63700         Add unwind info.
63702 2010-09-06  Andreas Schwab  <schwab@redhat.com>
63704         * manual/Makefile: Don't mix pattern rules with normal rules.
63706 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63708         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
63709         operation.
63710         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
63711         * libio/iofopncook.c (_IO_cookie_init): Likewise.
63712         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
63713         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
63714         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63715         Likewise.
63717 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
63719         [BZ #11979]
63720         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
63721         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
63723 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
63725         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63726         * sysdeps/x86_64/addmul_1.S: Likewise.
63727         * sysdeps/x86_64/lshift.S: Likewise.
63728         * sysdeps/x86_64/mul_1.S: Likewise.
63729         * sysdeps/x86_64/rshift.S: Likewise.
63730         * sysdeps/x86_64/sub_n.S: Likewise.
63731         * sysdeps/x86_64/submul_1.S: Likewise.
63733 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63735         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63736         Define __sched_param instead of SCHED_* and sched_param when
63737         <bits/sched.h> is included with __need_schedparam defined.
63738         * bits/sched.h [__need_schedparam]
63739         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63740         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63741         (__defined_schedparam): Define to 1.
63742         (__sched_param): New structure, identical to sched_param.
63743         (__need_schedparam): Undefine.
63745 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
63747         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63748         (epoll_create1): Declare.
63750         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63752 2010-08-31  Andreas Schwab  <schwab@redhat.com>
63754         [BZ #7066]
63755         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63756         shifting retval into place.
63758 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
63760         * nis/rpcsvc/nis.h: Update copyright notice.
63761         * nis/rpcsvc/nis.x: Likewise.
63762         * nis/rpcsvc/nis_callback.h: Likewise.
63763         * nis/rpcsvc/nis_callback.x: Likewise.
63764         * nis/rpcsvc/nis_object.x: Likewise.
63765         * nis/rpcsvc/nis_tags.h: Likewise.
63766         * nis/rpcsvc/yp.h: Likewise.
63767         * nis/rpcsvc/yp.x: Likewise.
63768         * nis/rpcsvc/ypupd.h: Likewise.
63769         * nis/yp_xdr.c: Likewise.
63770         * nis/ypupdate_xdr.c: Likewise.
63772         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63773         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63774         (pmap_getport): Use __libc_rpc_getport.
63775         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63776         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63777         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63779 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63782         fanotify_mark.
63784 2010-08-27  Roland McGrath  <roland@redhat.com>
63786         * sysdeps/i386/i686/multiarch/Makefile
63787         (CFLAGS-varshift.c): New variable.
63789 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63791         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63792         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63794         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63796         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63798 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63800         * sysdeps/x86_64/strlen.S: Unroll the loop.
63801         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63802         strlen-sse2 strlen-sse2-bsf.
63803         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63804         __strlen_no_bsf if bit_Slow_BSF is set.
63805         (__strlen_sse42): Removed.
63806         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63807         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63809 2010-08-25  Roland McGrath  <roland@redhat.com>
63811         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63812         * sysdeps/x86_64/multiarch/varshift.c: New file.
63813         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63814         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63815         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63816         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63818 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63820         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63821         strlen-sse2 strlen-sse2-bsf.
63822         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63823         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63824         (__strlen_sse2): Removed.
63825         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63826         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63827         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63828         bit_Slow_BSF for Atom.
63829         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63830         (index_Slow_BSF): Define.
63831         (HAS_SLOW_BSF): Define.
63833 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63835         [BZ #10851]
63836         * resolv/res_init.c (__res_vinit): When no server address at all
63837         is given default to loopback.
63839 2010-08-24  Roland McGrath  <roland@redhat.com>
63841         * configure.in: Remove config-name.h generation.
63842         * configure: Regenerated.
63843         * config-name.in: File removed.
63844         * scripts/config-uname.sh: New file.
63845         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63846         ($(objdir)config-name.h): New target.
63848         * sunrpc/rpc_parse.h: Avoid nested comment.
63850 2010-08-24  Richard Henderson  <rth@redhat.com>
63851             Ulrich Drepper  <drepper@redhat.com>
63852             H.J. Lu  <hongjiu.lu@intel.com>
63854         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63855         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63856         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63857         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63858         _mm_alignr_epi8 with _mm_loadu_si128.
63859         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63860         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63861         (__m128i_shift_right): Removed.
63862         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63863         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63864         * sysdeps/x86_64/multiarch/varshift.h: New file.
63865         * sysdeps/x86_64/multiarch/varshift.S: New file.
63867 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63869         * configure.in: Move assembler checks to before sysdep dir checking.
63871 2010-08-20  Petr Baudis  <pasky@suse.cz>
63873         * LICENSES: Sync the sunrpc license.
63875 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63877         * sunrpc/auth_des.c: Update copyright notice once again.
63878         * sunrpc/auth_none.c: Likewise.
63879         * sunrpc/auth_unix.c: Likewise.
63880         * sunrpc/authdes_prot.c: Likewise.
63881         * sunrpc/authuxprot.c: Likewise.
63882         * sunrpc/bindrsvprt.c: Likewise.
63883         * sunrpc/clnt_gen.c: Likewise.
63884         * sunrpc/clnt_perr.c: Likewise.
63885         * sunrpc/clnt_raw.c: Likewise.
63886         * sunrpc/clnt_simp.c: Likewise.
63887         * sunrpc/clnt_tcp.c: Likewise.
63888         * sunrpc/clnt_udp.c: Likewise.
63889         * sunrpc/clnt_unix.c: Likewise.
63890         * sunrpc/des_crypt.c: Likewise.
63891         * sunrpc/des_soft.c: Likewise.
63892         * sunrpc/get_myaddr.c: Likewise.
63893         * sunrpc/getrpcport.c: Likewise.
63894         * sunrpc/key_call.c: Likewise.
63895         * sunrpc/key_prot.c: Likewise.
63896         * sunrpc/openchild.c: Likewise.
63897         * sunrpc/pm_getmaps.c: Likewise.
63898         * sunrpc/pm_getport.c: Likewise.
63899         * sunrpc/pmap_clnt.c: Likewise.
63900         * sunrpc/pmap_prot.c: Likewise.
63901         * sunrpc/pmap_prot2.c: Likewise.
63902         * sunrpc/pmap_rmt.c: Likewise.
63903         * sunrpc/rpc/auth.h: Likewise.
63904         * sunrpc/rpc/auth_unix.h: Likewise.
63905         * sunrpc/rpc/clnt.h: Likewise.
63906         * sunrpc/rpc/des_crypt.h: Likewise.
63907         * sunrpc/rpc/key_prot.h: Likewise.
63908         * sunrpc/rpc/netdb.h: Likewise.
63909         * sunrpc/rpc/pmap_clnt.h: Likewise.
63910         * sunrpc/rpc/pmap_prot.h: Likewise.
63911         * sunrpc/rpc/pmap_rmt.h: Likewise.
63912         * sunrpc/rpc/rpc.h: Likewise.
63913         * sunrpc/rpc/rpc_des.h: Likewise.
63914         * sunrpc/rpc/rpc_msg.h: Likewise.
63915         * sunrpc/rpc/svc.h: Likewise.
63916         * sunrpc/rpc/svc_auth.h: Likewise.
63917         * sunrpc/rpc/types.h: Likewise.
63918         * sunrpc/rpc/xdr.h: Likewise.
63919         * sunrpc/rpc_clntout.c: Likewise.
63920         * sunrpc/rpc_cmsg.c: Likewise.
63921         * sunrpc/rpc_common.c: Likewise.
63922         * sunrpc/rpc_cout.c: Likewise.
63923         * sunrpc/rpc_dtable.c: Likewise.
63924         * sunrpc/rpc_hout.c: Likewise.
63925         * sunrpc/rpc_main.c: Likewise.
63926         * sunrpc/rpc_parse.c: Likewise.
63927         * sunrpc/rpc_parse.h: Likewise.
63928         * sunrpc/rpc_prot.c: Likewise.
63929         * sunrpc/rpc_sample.c: Likewise.
63930         * sunrpc/rpc_scan.c: Likewise.
63931         * sunrpc/rpc_scan.h: Likewise.
63932         * sunrpc/rpc_svcout.c: Likewise.
63933         * sunrpc/rpc_tblout.c: Likewise.
63934         * sunrpc/rpc_util.c: Likewise.
63935         * sunrpc/rpc_util.h: Likewise.
63936         * sunrpc/rpcinfo.c: Likewise.
63937         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63938         * sunrpc/rpcsvc/key_prot.x: Likewise.
63939         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63940         * sunrpc/rpcsvc/mount.x: Likewise.
63941         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63942         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63943         * sunrpc/rpcsvc/rex.x: Likewise.
63944         * sunrpc/rpcsvc/rstat.x: Likewise.
63945         * sunrpc/rpcsvc/rusers.x: Likewise.
63946         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63947         * sunrpc/rpcsvc/spray.x: Likewise.
63948         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63949         * sunrpc/rtime.c: Likewise.
63950         * sunrpc/svc.c: Likewise.
63951         * sunrpc/svc_auth.c: Likewise.
63952         * sunrpc/svc_authux.c: Likewise.
63953         * sunrpc/svc_raw.c: Likewise.
63954         * sunrpc/svc_run.c: Likewise.
63955         * sunrpc/svc_simple.c: Likewise.
63956         * sunrpc/svc_tcp.c: Likewise.
63957         * sunrpc/svc_udp.c: Likewise.
63958         * sunrpc/svc_unix.c: Likewise.
63959         * sunrpc/svcauth_des.c: Likewise.
63960         * sunrpc/xcrypt.c: Likewise.
63961         * sunrpc/xdr.c: Likewise.
63962         * sunrpc/xdr_array.c: Likewise.
63963         * sunrpc/xdr_float.c: Likewise.
63964         * sunrpc/xdr_mem.c: Likewise.
63965         * sunrpc/xdr_rec.c: Likewise.
63966         * sunrpc/xdr_ref.c: Likewise.
63967         * sunrpc/xdr_sizeof.c: Likewise.
63968         * sunrpc/xdr_stdio.c: Likewise.
63970         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63971         handling.
63973 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63975         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63977 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63979         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63980         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63981         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63982         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63983         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63984         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63985         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63986         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63987         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63988         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63989         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63990         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63991         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63992         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63994 2010-07-26  Anton Blanchard  <anton@samba.org>
63996         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63997         * malloc/arena.c (heap_trim): Likewise.
63999 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
64001         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
64002         here.  Not...
64003         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
64004         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
64006 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
64008         * sysdeps/i386/elf/Makefile: New file.
64010 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
64012         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
64013         from fanotify_init.
64014         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
64015         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64017 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
64019         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
64020         of strncasecmp_l.
64021         * sysdeps/multiarch/strcmp.S: Likewise.
64023 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
64025         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64026         strncase_l-nonascii.
64027         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64028         Add strncase_l-ssse3.
64029         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
64030         * sysdeps/x86_64/strcmp.S: Likewise.
64031         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
64032         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
64033         * sysdeps/x86_64/strncase.S: New file.
64034         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
64035         * sysdeps/x86_64/strncase_l.S: New file.
64036         * string/Makefile (strop-tests): Add strncasecmp.
64037         * string/test-strncasecmp.c: New file.
64039         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
64040         warning.
64042         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
64043         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
64045 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
64047         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
64049 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
64051         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
64052         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
64053         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
64055 2010-05-01  Alan Modra  <amodra@gmail.com>
64057         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
64058         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
64059         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
64060         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
64061         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
64062         tidying.  Don't tail-call __sigjmp_save for static lib.
64063         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
64064         save location.
64065         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
64066         (CALL_MCOUNT): Add eh info, and nop after bl.
64067         (TAIL_CALL_SYSCALL_ERROR): New macro.
64068         (PSEUDO_RET): Use it.
64069         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
64070         Correct save location of integer regs and cr.
64071         (_dl_profile_resolve): Correct cr save location.  Delete nops
64072         after bl when SHARED.  Reduce cfi size a little by better
64073         placement of cfi directives.
64074         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
64075         make a stack frame.  Instead use parm save area as a temp.
64076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
64077         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
64078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
64079         Don't make a stack frame for parent, use parm save area.
64080         Increase child stack frame to 112 bytes.  Don't save unused reg,
64081         and adjust reg usage.  Set up cfi on error recovery and
64082         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
64083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64084         (__makecontext): Add dummy nop after jump to exit.
64085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
64086         Use correct parm save area and cr save, reduce stack frame.
64087         Correct cfi for possible PSEUDO_RET frame setup.
64088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
64089         Branch to local label emitted by PSEUDO_RET rather than
64090         __syscall_error.
64092 2010-08-12  Andreas Schwab  <schwab@redhat.com>
64094         [BZ #11904]
64095         * locale/programs/locale.c (print_assignment): New function.
64096         (show_locale_vars): Use it.
64098 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
64100         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
64101         field.
64102         (struct statfs64): Likewise.
64103         (_STATFS_F_FLAGS): Define.
64104         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
64105         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64106         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
64107         (ST_VALID): Define locally.
64108         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
64109         __statvfs_getflags, use the provided value.
64110         * sysdeps/unix/sysv/linux/kernel-features.h: Define
64111         __ASSUME_STATFS_F_FLAGS.
64113         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
64115         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
64116         Add sys/fanotify.h.
64117         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
64118         fanotify_mask for GLIBC_2.13.
64119         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
64120         fanotify_init and fanotify_mark.
64121         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64122         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
64124         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
64125         Add prlimit.
64126         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
64127         prlimit64 for GLIBC_2.13.
64128         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
64129         prlimit64.
64130         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
64131         syscall.
64132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
64133         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64134         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
64135         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
64136         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
64137         add prlimit alias.
64138         * sysdeps/unix/sysv/linux/prlimit.c: New file.
64140         [BZ #11903]
64141         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
64142         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
64144         * nss/Makefile: Add rules to build and run tst-nss-test1.
64145         * shlib-versions: Add entry for libnss_test1.
64146         * nss/nss_test1.c: New file.
64147         * nss/tst-nss-test1.c: New file.
64149         * nss/nsswitch.c (__nss_database_custom): Define new variable.
64150         (__nss_configure_lookup): Set appropriate entry in
64151         __nss_configure_lookup to true.
64152         * nss/nsswitch.h: Define enum with indeces of databases in
64153         databases and __nss_database_custom arrays.  Declare
64154         __nss_database_custom.
64155         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
64156         to avoid using nscd when custom rules are installed.
64157         * nss/getXXbyYY_r.c: Likewise.
64158         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64160         * nss/nss_files/files-parse.c: Whitespace fixes.
64162 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
64164         [BZ #11883]
64165         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
64166         * posix/fnmatch_loop.c: Likewise.
64168 2010-07-17  Andi Kleen  <ak@linux.intel.com>
64170         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
64171         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
64172         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
64173         * Versions.def [GLIBC_2.13]: Add.
64175 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
64177         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64178         Also fail if tpwd after pwuid call is NULL.
64180 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64182         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
64183         when converting to ms.
64185 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64187         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
64188         EOPNOTSUPP errors with ENOTTY.
64189         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
64190         EOPNOTSUPP errors with ENOTTY.
64192 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
64194         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64195         Add strcasecmp_l-ssse3.
64196         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
64197         strcasecmp.
64198         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
64199         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
64200         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
64202 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
64204         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
64206         * string/Makefile (strop-tests): Add strcasecmp.
64207         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64208         strcasecmp_l-nonascii.
64209         (gen-as-const-headers): Add locale-defines.sym.
64210         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
64211         * sysdeps/x86_64/strcasecmp.S: New file.
64212         * sysdeps/x86_64/strcasecmp_l.S: New file.
64213         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
64214         * sysdeps/x86_64/locale-defines.sym: New file.
64215         * string/test-strcasecmp.c: New file.
64217         * string/test-strcasestr.c: Test both ends of the range of characters.
64218         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
64220 2010-07-29  Roland McGrath  <roland@redhat.com>
64222         [BZ #11856]
64223         * manual/locale.texi (Yes-or-No Questions): Fix example code.
64225 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
64227         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
64228         for ld.so.
64230 2010-07-27  Andreas Schwab  <schwab@redhat.com>
64232         * manual/memory.texi (Malloc Tunable Parameters): Document
64233         M_PERTURB.
64235 2010-07-26  Roland McGrath  <roland@redhat.com>
64237         [BZ #11840]
64238         * configure.in (-fgnu89-inline check): Set and substitute
64239         gnu89_inline, not libc_cv_gnu89_inline.
64240         * configure: Regenerated.
64241         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
64243 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
64245         * string/test-strnlen.c: New file.
64246         * string/Makefile (strop-tests): Add strnlen.
64247         * string/tester.c (test_strnlen): Add a few more test cases.
64248         * string/tst-strlen.c: Better error reporting.
64250         * sysdeps/x86_64/strnlen.S: New file.
64252 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
64254         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
64255         lower-latency instructions.
64257 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
64259         * string/test-strcasestr.c: New file.
64260         * string/test-strstr.c: New file.
64261         * string/Makefile (strop-tests): Add strstr and strcasestr.
64262         * string/str-two-way.h: Don't undefine MAX.
64263         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
64265 2010-07-21  Andreas Schwab  <schwab@redhat.com>
64267         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64268         strcasestr-nonascii.
64269         (CFLAGS-strcasestr-nonascii.c): Define.
64270         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
64271         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
64272         Remove unused attribute.
64274 2010-07-20  Roland McGrath  <roland@redhat.com>
64276         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
64277         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
64278         ld.so.cache was broken.  With it, there is no way to disable dsocaps
64279         like LD_HWCAP_MASK can disable hwcaps.
64281 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64283         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
64285 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
64287         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
64288         call in strcasestr.
64289         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
64290         __strcasestr_sse42_nonascii.
64291         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
64292         strcasestr-nonascii.c.
64293         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
64295 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
64297         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
64298         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
64299         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
64300         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
64302 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
64304         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
64305         fcntl.
64307 2010-07-06  Andreas Schwab  <schwab@redhat.com>
64309         [BZ #11577]
64310         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
64311         dl_signal_cerror.
64313 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
64315         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
64316         _PC_PIPE_BUF using F_GETPIPE_SZ.
64318 2010-07-05  Roland McGrath  <roland@redhat.com>
64320         * manual/arith.texi (Rounding Functions): Fix rint description
64321         implicit in round description.
64323 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
64325         * elf/Makefile: Fix linking for a few tests to make recent linker
64326         happy.
64328 2010-06-30  Andreas Schwab  <schwab@redhat.com>
64330         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64331         $(common-objpfx)libc_nonshared.a.
64333 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
64335         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
64336         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
64337         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64338         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64339         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
64340         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
64341         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64342         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
64344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
64345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
64346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
64348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
64350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
64351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
64352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
64353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
64355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
64357         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
64358         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
64359         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
64360         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
64361         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
64362         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
64363         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
64364         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
64365         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
64366         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
64367         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
64368         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
64369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
64370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
64371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
64372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
64373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
64374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
64375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
64376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
64377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
64378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
64379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
64380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
64381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
64382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
64384 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
64386         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
64387         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
64388         * string/memmove.c (memmove): Renamed to ...
64389         (MEMMOVE): ...this.  Default to memmove.
64390         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
64391         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
64392         (END_CHK): Define.
64393         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64394         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
64395         mempcpy-ssse3-back memmove-ssse3-back.
64396         * sysdeps/x86_64/multiarch/bcopy.S: New file .
64397         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
64398         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
64399         * sysdeps/x86_64/multiarch/memcpy.S: New file.
64400         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
64401         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
64402         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
64403         * sysdeps/x86_64/multiarch/memmove.c: New file.
64404         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
64405         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
64406         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
64407         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
64408         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
64409         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
64410         Define.
64411         (index_Fast_Copy_Backward): Define.
64412         (HAS_ARCH_FEATURE): Define.
64413         (HAS_FAST_REP_STRING): Define.
64414         (HAS_FAST_COPY_BACKWARD): Define.
64416 2010-06-21  Andreas Schwab  <schwab@redhat.com>
64418         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64419         Restore proper fallback handling.
64421 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
64423         [BZ #11701]
64424         * posix/group_member.c (__group_member): Correct checking loop.
64426         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
64427         OOM in getpwuid_r correctly.  Return error number when the caller
64428         should return, otherwise -1.
64429         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
64430         call returning > 0 value.
64431         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
64433 2010-06-07  Andreas Schwab  <schwab@redhat.com>
64435         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
64436         libc_nonshared.a from targets in modules-names.
64438 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
64440         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
64441         requires it.
64443 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
64445         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
64446         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
64447         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
64448         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
64450 2010-06-02  Andreas Schwab  <schwab@redhat.com>
64452         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
64454 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
64456         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
64457         and F_GETPIPE_SZ.
64458         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64459         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64460         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64461         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64462         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64463         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
64465 2010-06-14  Roland McGrath  <roland@redhat.com>
64467         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
64469 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
64471         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
64472         __REDIRECT followed by __THROW.
64473         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
64474         * posix/getopt.h (getopt): Likewise.
64476 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64478         * hurd/lookup-at.c (__file_name_lookup_at): Accept
64479         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
64480         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
64481         in AT_FLAGS.
64482         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
64483         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
64485 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
64487         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
64489 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
64491         [BZ #11640]
64492         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64493         Properly check family and model.
64495 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
64497         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
64499 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
64501         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
64503 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
64505         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
64506         symbol reference.
64508 2010-05-19  Andreas Schwab  <schwab@redhat.com>
64510         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
64511         symbol reference.
64513 2010-05-21  Andreas Schwab  <schwab@redhat.com>
64515         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
64516         and internal_recvmmsg.
64517         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
64518         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
64519         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
64520         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
64522         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
64523         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
64524         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
64526 2010-05-20  Andreas Schwab  <schwab@redhat.com>
64528         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
64530 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
64532         POWER7 optimizations.
64533         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
64534         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
64536 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
64538         * version.h: Update for 2.13 development version.
64540 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
64542         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
64543         exceptions.  Return 0.
64545 2010-05-07  Roland McGrath  <roland@redhat.com>
64547         * elf/ldconfig.c (main): Add a const.
64549 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
64551         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
64552         (args_options): Add no-idn option.
64553         (ahosts_keys_int): Add idn_flags to ai_flags.
64554         (parse_option): Handle 'i' option to clear idn_flags.
64556         * malloc/malloc.c (_int_free): Possible race in the most recently
64557         added check.  Only act on the data if no current modification
64558         happened.
64560 See ChangeLog.17 for earlier changes.